]> git.saurik.com Git - wxWidgets.git/blob - configure
remove unneeded include
[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-colourpicker use wxColourPickerCtrl class
1065 --enable-combobox use wxComboBox class
1066 --enable-comboctrl use wxComboCtrl class
1067 --enable-datepick use wxDatePickerCtrl class
1068 --enable-dirpicker use wxDirPickerCtrl class
1069 --enable-display use wxDisplay class
1070 --enable-detect_sm use code to detect X11 session manager
1071 --enable-filepicker use wxFilePickerCtrl class
1072 --enable-fontpicker use wxFontPickerCtrl class
1073 --enable-gauge use wxGauge class
1074 --enable-grid use wxGrid class
1075 --enable-dataviewctrl, use wxDataViewCtrl class
1076 --enable-hyperlink use wxHyperlinkCtrl class
1077 --enable-imaglist use wxImageList class
1078 --enable-listbook use wxListbook class
1079 --enable-listbox use wxListBox class
1080 --enable-listctrl use wxListCtrl class
1081 --enable-notebook use wxNotebook class
1082 --enable-odcombobox use wxOwnerDrawnComboBox class
1083 --enable-radiobox use wxRadioBox class
1084 --enable-radiobtn use wxRadioButton class
1085 --enable-sash use wxSashWindow class
1086 --enable-scrollbar use wxScrollBar class and scrollable windows
1087 --enable-slider use wxSlider class
1088 --enable-spinbtn use wxSpinButton class
1089 --enable-spinctrl use wxSpinCtrl class
1090 --enable-splitter use wxSplitterWindow class
1091 --enable-statbmp use wxStaticBitmap class
1092 --enable-statbox use wxStaticBox class
1093 --enable-statline use wxStaticLine class
1094 --enable-stattext use wxStaticText class
1095 --enable-statusbar use wxStatusBar class
1096 --enable-tabdialog use wxTabControl class
1097 --enable-textctrl use wxTextCtrl class
1098 --enable-togglebtn use wxToggleButton class
1099 --enable-toolbar use wxToolBar class
1100 --enable-tbarnative use native wxToolBar class
1101 --enable-treebook use wxTreebook class
1102 --enable-toolbook use wxToolbook class
1103 --enable-treectrl use wxTreeCtrl class
1104 --enable-tipwindow use wxTipWindow class
1105 --enable-popupwin use wxPopUpWindow class
1106 --enable-commondlg use all common dialogs
1107 --enable-aboutdlg use wxAboutBox
1108 --enable-choicedlg use wxChoiceDialog
1109 --enable-coldlg use wxColourDialog
1110 --enable-filedlg use wxFileDialog
1111 --enable-finddlg use wxFindReplaceDialog
1112 --enable-fontdlg use wxFontDialog
1113 --enable-dirdlg use wxDirDialog
1114 --enable-msgdlg use wxMessageDialog
1115 --enable-numberdlg use wxNumberEntryDialog
1116 --enable-splash use wxSplashScreen
1117 --enable-textdlg use wxTextDialog
1118 --enable-tipdlg use startup tips
1119 --enable-progressdlg use wxProgressDialog
1120 --enable-wizarddlg use wxWizard
1121 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1122 --enable-miniframe use wxMiniFrame class
1123 --enable-tooltips use wxToolTip class
1124 --enable-splines use spline drawing code
1125 --enable-mousewheel use mousewheel
1126 --enable-validators use wxValidator and derived classes
1127 --enable-busyinfo use wxBusyInfo
1128 --enable-joystick use wxJoystick
1129 --enable-metafiles use wxMetaFile (Win32 only)
1130 --enable-dragimage use wxDragImage
1131 --enable-accessibility enable accessibility support
1132 --enable-dccache cache temporary wxDC objects (Win32 only)
1133 --enable-palette use wxPalette class
1134 --enable-image use wxImage class
1135 --enable-gif use gif images (GIF file format)
1136 --enable-pcx use pcx images (PCX file format)
1137 --enable-iff use iff images (IFF file format)
1138 --enable-pnm use pnm images (PNM file format)
1139 --enable-xpm use xpm images (XPM file format)
1140 --enable-icocur use Windows ICO and CUR formats
1141 --enable-official_build official build of wxWidgets (win32 DLL only)
1142 --enable-vendor=VENDOR vendor name (win32 DLL only)
1143 --disable-largefile omit support for large files
1144 --disable-gtktest do not try to compile and run a test GTK+ program
1145 --disable-gtktest Do not try to compile and run a test GTK program
1146 --disable-sdltest Do not try to compile and run a test SDL program
1147 --enable-omf use OMF object format (OS/2)
1148 --disable-dependency-tracking
1149 don't use dependency tracking even if the compiler
1150 can
1151 --disable-precomp-headers
1152 don't use precompiled headers even if compiler can
1153
1154 Optional Packages:
1155 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1156 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1157 --without-subdirs don't generate makefiles for samples/demos/...
1158 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1159 --with-motif use Motif/Lesstif
1160 --with-mac use Mac OS X
1161 --with-cocoa use Cocoa
1162 --with-wine use Wine
1163 --with-msw use MS-Windows
1164 --with-pm use OS/2 Presentation Manager
1165 --with-mgl use SciTech MGL
1166 --with-directfb use DirectFB
1167 --with-microwin use MicroWindows
1168 --with-x11 use X11
1169 --with-libpng use libpng (PNG image format)
1170 --with-libjpeg use libjpeg (JPEG file format)
1171 --with-libtiff use libtiff (TIFF file format)
1172 --with-libxpm use libxpm (XPM file format)
1173 --with-libmspack use libmspack (CHM help files loading)
1174 --with-sdl use SDL for audio on Unix
1175 --with-gnomeprint use GNOME print for printing under GNOME
1176 --with-gnomevfs use GNOME VFS for associating MIME types
1177 --with-hildon use Hildon framework for Nokia 770
1178 --with-opengl use OpenGL (or Mesa)
1179 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1180 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1181 --with-regex enable support for wxRegEx class
1182 --with-zlib use zlib for LZW compression
1183 --with-odbc use the IODBC and wxODBC classes
1184 --with-expat enable XML support using expat parser
1185 --with-flavour=NAME specify a name to identify this build
1186 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1187 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1188 --with-x use the X Window System
1189 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1190 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1191 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1192 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1193 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1194
1195 Some influential environment variables:
1196 CC C compiler command
1197 CFLAGS C compiler flags
1198 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1199 nonstandard directory <lib dir>
1200 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1201 headers in a nonstandard directory <include dir>
1202 CPP C preprocessor
1203 CXX C++ compiler command
1204 CXXFLAGS C++ compiler flags
1205 CXXCPP C++ preprocessor
1206 PKG_CONFIG path to pkg-config utility
1207 DIRECTFB_CFLAGS
1208 C compiler flags for DIRECTFB, overriding pkg-config
1209 DIRECTFB_LIBS
1210 linker flags for DIRECTFB, overriding pkg-config
1211 PANGOX_CFLAGS
1212 C compiler flags for PANGOX, overriding pkg-config
1213 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1214 PANGOFT2_CFLAGS
1215 C compiler flags for PANGOFT2, overriding pkg-config
1216 PANGOFT2_LIBS
1217 linker flags for PANGOFT2, overriding pkg-config
1218 PANGOXFT_CFLAGS
1219 C compiler flags for PANGOXFT, overriding pkg-config
1220 PANGOXFT_LIBS
1221 linker flags for PANGOXFT, overriding pkg-config
1222 LIBGNOMEPRINTUI_CFLAGS
1223 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1224 LIBGNOMEPRINTUI_LIBS
1225 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1226 GNOMEVFS_CFLAGS
1227 C compiler flags for GNOMEVFS, overriding pkg-config
1228 GNOMEVFS_LIBS
1229 linker flags for GNOMEVFS, overriding pkg-config
1230 HILDON_CFLAGS
1231 C compiler flags for HILDON, overriding pkg-config
1232 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1233 CAIRO_CFLAGS
1234 C compiler flags for CAIRO, overriding pkg-config
1235 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1236 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1237 GST_LIBS linker flags for GST, overriding pkg-config
1238
1239 Use these variables to override the choices made by `configure' or to help
1240 it to find libraries and programs with nonstandard names/locations.
1241
1242 Report bugs to <wx-dev@lists.wxwidgets.org>.
1243 _ACEOF
1244 fi
1245
1246 if test "$ac_init_help" = "recursive"; then
1247 # If there are subdirs, report their specific --help.
1248 ac_popdir=`pwd`
1249 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1250 test -d $ac_dir || continue
1251 ac_builddir=.
1252
1253 if test "$ac_dir" != .; then
1254 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1255 # A "../" for each directory in $ac_dir_suffix.
1256 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1257 else
1258 ac_dir_suffix= ac_top_builddir=
1259 fi
1260
1261 case $srcdir in
1262 .) # No --srcdir option. We are building in place.
1263 ac_srcdir=.
1264 if test -z "$ac_top_builddir"; then
1265 ac_top_srcdir=.
1266 else
1267 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1268 fi ;;
1269 [\\/]* | ?:[\\/]* ) # Absolute path.
1270 ac_srcdir=$srcdir$ac_dir_suffix;
1271 ac_top_srcdir=$srcdir ;;
1272 *) # Relative path.
1273 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1274 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1275 esac
1276
1277 # Do not use `cd foo && pwd` to compute absolute paths, because
1278 # the directories may not exist.
1279 case `pwd` in
1280 .) ac_abs_builddir="$ac_dir";;
1281 *)
1282 case "$ac_dir" in
1283 .) ac_abs_builddir=`pwd`;;
1284 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1285 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1286 esac;;
1287 esac
1288 case $ac_abs_builddir in
1289 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1290 *)
1291 case ${ac_top_builddir}. in
1292 .) ac_abs_top_builddir=$ac_abs_builddir;;
1293 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1294 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1295 esac;;
1296 esac
1297 case $ac_abs_builddir in
1298 .) ac_abs_srcdir=$ac_srcdir;;
1299 *)
1300 case $ac_srcdir in
1301 .) ac_abs_srcdir=$ac_abs_builddir;;
1302 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1303 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1304 esac;;
1305 esac
1306 case $ac_abs_builddir in
1307 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1308 *)
1309 case $ac_top_srcdir in
1310 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1311 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1312 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1313 esac;;
1314 esac
1315
1316 cd $ac_dir
1317 # Check for guested configure; otherwise get Cygnus style configure.
1318 if test -f $ac_srcdir/configure.gnu; then
1319 echo
1320 $SHELL $ac_srcdir/configure.gnu --help=recursive
1321 elif test -f $ac_srcdir/configure; then
1322 echo
1323 $SHELL $ac_srcdir/configure --help=recursive
1324 elif test -f $ac_srcdir/configure.ac ||
1325 test -f $ac_srcdir/configure.in; then
1326 echo
1327 $ac_configure --help
1328 else
1329 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1330 fi
1331 cd "$ac_popdir"
1332 done
1333 fi
1334
1335 test -n "$ac_init_help" && exit 0
1336 if $ac_init_version; then
1337 cat <<\_ACEOF
1338 wxWidgets configure 2.7.1
1339 generated by GNU Autoconf 2.59
1340
1341 Copyright (C) 2003 Free Software Foundation, Inc.
1342 This configure script is free software; the Free Software Foundation
1343 gives unlimited permission to copy, distribute and modify it.
1344 _ACEOF
1345 exit 0
1346 fi
1347 exec 5>config.log
1348 cat >&5 <<_ACEOF
1349 This file contains any messages produced by compilers while
1350 running configure, to aid debugging if configure makes a mistake.
1351
1352 It was created by wxWidgets $as_me 2.7.1, which was
1353 generated by GNU Autoconf 2.59. Invocation command line was
1354
1355 $ $0 $@
1356
1357 _ACEOF
1358 {
1359 cat <<_ASUNAME
1360 ## --------- ##
1361 ## Platform. ##
1362 ## --------- ##
1363
1364 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1365 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1366 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1367 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1368 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1369
1370 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1371 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1372
1373 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1374 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1375 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1376 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1377 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1378 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1379 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1380
1381 _ASUNAME
1382
1383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1384 for as_dir in $PATH
1385 do
1386 IFS=$as_save_IFS
1387 test -z "$as_dir" && as_dir=.
1388 echo "PATH: $as_dir"
1389 done
1390
1391 } >&5
1392
1393 cat >&5 <<_ACEOF
1394
1395
1396 ## ----------- ##
1397 ## Core tests. ##
1398 ## ----------- ##
1399
1400 _ACEOF
1401
1402
1403 # Keep a trace of the command line.
1404 # Strip out --no-create and --no-recursion so they do not pile up.
1405 # Strip out --silent because we don't want to record it for future runs.
1406 # Also quote any args containing shell meta-characters.
1407 # Make two passes to allow for proper duplicate-argument suppression.
1408 ac_configure_args=
1409 ac_configure_args0=
1410 ac_configure_args1=
1411 ac_sep=
1412 ac_must_keep_next=false
1413 for ac_pass in 1 2
1414 do
1415 for ac_arg
1416 do
1417 case $ac_arg in
1418 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1419 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1420 | -silent | --silent | --silen | --sile | --sil)
1421 continue ;;
1422 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1423 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1424 esac
1425 case $ac_pass in
1426 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1427 2)
1428 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1429 if test $ac_must_keep_next = true; then
1430 ac_must_keep_next=false # Got value, back to normal.
1431 else
1432 case $ac_arg in
1433 *=* | --config-cache | -C | -disable-* | --disable-* \
1434 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1435 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1436 | -with-* | --with-* | -without-* | --without-* | --x)
1437 case "$ac_configure_args0 " in
1438 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1439 esac
1440 ;;
1441 -* ) ac_must_keep_next=true ;;
1442 esac
1443 fi
1444 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1445 # Get rid of the leading space.
1446 ac_sep=" "
1447 ;;
1448 esac
1449 done
1450 done
1451 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1452 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1453
1454 # When interrupted or exit'd, cleanup temporary files, and complete
1455 # config.log. We remove comments because anyway the quotes in there
1456 # would cause problems or look ugly.
1457 # WARNING: Be sure not to use single quotes in there, as some shells,
1458 # such as our DU 5.0 friend, will then `close' the trap.
1459 trap 'exit_status=$?
1460 # Save into config.log some information that might help in debugging.
1461 {
1462 echo
1463
1464 cat <<\_ASBOX
1465 ## ---------------- ##
1466 ## Cache variables. ##
1467 ## ---------------- ##
1468 _ASBOX
1469 echo
1470 # The following way of writing the cache mishandles newlines in values,
1471 {
1472 (set) 2>&1 |
1473 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1474 *ac_space=\ *)
1475 sed -n \
1476 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1477 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1478 ;;
1479 *)
1480 sed -n \
1481 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1482 ;;
1483 esac;
1484 }
1485 echo
1486
1487 cat <<\_ASBOX
1488 ## ----------------- ##
1489 ## Output variables. ##
1490 ## ----------------- ##
1491 _ASBOX
1492 echo
1493 for ac_var in $ac_subst_vars
1494 do
1495 eval ac_val=$`echo $ac_var`
1496 echo "$ac_var='"'"'$ac_val'"'"'"
1497 done | sort
1498 echo
1499
1500 if test -n "$ac_subst_files"; then
1501 cat <<\_ASBOX
1502 ## ------------- ##
1503 ## Output files. ##
1504 ## ------------- ##
1505 _ASBOX
1506 echo
1507 for ac_var in $ac_subst_files
1508 do
1509 eval ac_val=$`echo $ac_var`
1510 echo "$ac_var='"'"'$ac_val'"'"'"
1511 done | sort
1512 echo
1513 fi
1514
1515 if test -s confdefs.h; then
1516 cat <<\_ASBOX
1517 ## ----------- ##
1518 ## confdefs.h. ##
1519 ## ----------- ##
1520 _ASBOX
1521 echo
1522 sed "/^$/d" confdefs.h | sort
1523 echo
1524 fi
1525 test "$ac_signal" != 0 &&
1526 echo "$as_me: caught signal $ac_signal"
1527 echo "$as_me: exit $exit_status"
1528 } >&5
1529 rm -f core *.core &&
1530 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1531 exit $exit_status
1532 ' 0
1533 for ac_signal in 1 2 13 15; do
1534 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1535 done
1536 ac_signal=0
1537
1538 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1539 rm -rf conftest* confdefs.h
1540 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1541 echo >confdefs.h
1542
1543 # Predefined preprocessor variables.
1544
1545 cat >>confdefs.h <<_ACEOF
1546 #define PACKAGE_NAME "$PACKAGE_NAME"
1547 _ACEOF
1548
1549
1550 cat >>confdefs.h <<_ACEOF
1551 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1552 _ACEOF
1553
1554
1555 cat >>confdefs.h <<_ACEOF
1556 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1557 _ACEOF
1558
1559
1560 cat >>confdefs.h <<_ACEOF
1561 #define PACKAGE_STRING "$PACKAGE_STRING"
1562 _ACEOF
1563
1564
1565 cat >>confdefs.h <<_ACEOF
1566 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1567 _ACEOF
1568
1569
1570 # Let the site file select an alternate cache file if it wants to.
1571 # Prefer explicitly selected file to automatically selected ones.
1572 if test -z "$CONFIG_SITE"; then
1573 if test "x$prefix" != xNONE; then
1574 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1575 else
1576 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1577 fi
1578 fi
1579 for ac_site_file in $CONFIG_SITE; do
1580 if test -r "$ac_site_file"; then
1581 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1582 echo "$as_me: loading site script $ac_site_file" >&6;}
1583 sed 's/^/| /' "$ac_site_file" >&5
1584 . "$ac_site_file"
1585 fi
1586 done
1587
1588 if test -r "$cache_file"; then
1589 # Some versions of bash will fail to source /dev/null (special
1590 # files actually), so we avoid doing that.
1591 if test -f "$cache_file"; then
1592 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1593 echo "$as_me: loading cache $cache_file" >&6;}
1594 case $cache_file in
1595 [\\/]* | ?:[\\/]* ) . $cache_file;;
1596 *) . ./$cache_file;;
1597 esac
1598 fi
1599 else
1600 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1601 echo "$as_me: creating cache $cache_file" >&6;}
1602 >$cache_file
1603 fi
1604
1605 # Check that the precious variables saved in the cache have kept the same
1606 # value.
1607 ac_cache_corrupted=false
1608 for ac_var in `(set) 2>&1 |
1609 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1610 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1611 eval ac_new_set=\$ac_env_${ac_var}_set
1612 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1613 eval ac_new_val="\$ac_env_${ac_var}_value"
1614 case $ac_old_set,$ac_new_set in
1615 set,)
1616 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1617 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1618 ac_cache_corrupted=: ;;
1619 ,set)
1620 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1621 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1622 ac_cache_corrupted=: ;;
1623 ,);;
1624 *)
1625 if test "x$ac_old_val" != "x$ac_new_val"; then
1626 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1627 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1628 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1629 echo "$as_me: former value: $ac_old_val" >&2;}
1630 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1631 echo "$as_me: current value: $ac_new_val" >&2;}
1632 ac_cache_corrupted=:
1633 fi;;
1634 esac
1635 # Pass precious variables to config.status.
1636 if test "$ac_new_set" = set; then
1637 case $ac_new_val in
1638 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1639 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1640 *) ac_arg=$ac_var=$ac_new_val ;;
1641 esac
1642 case " $ac_configure_args " in
1643 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1644 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1645 esac
1646 fi
1647 done
1648 if $ac_cache_corrupted; then
1649 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1650 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1651 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1652 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1653 { (exit 1); exit 1; }; }
1654 fi
1655
1656 ac_ext=c
1657 ac_cpp='$CPP $CPPFLAGS'
1658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1661
1662
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 ac_aux_dir=
1692 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1693 if test -f $ac_dir/install-sh; then
1694 ac_aux_dir=$ac_dir
1695 ac_install_sh="$ac_aux_dir/install-sh -c"
1696 break
1697 elif test -f $ac_dir/install.sh; then
1698 ac_aux_dir=$ac_dir
1699 ac_install_sh="$ac_aux_dir/install.sh -c"
1700 break
1701 elif test -f $ac_dir/shtool; then
1702 ac_aux_dir=$ac_dir
1703 ac_install_sh="$ac_aux_dir/shtool install -c"
1704 break
1705 fi
1706 done
1707 if test -z "$ac_aux_dir"; then
1708 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1709 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1710 { (exit 1); exit 1; }; }
1711 fi
1712 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1713 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1714 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1715
1716 # Make sure we can run config.sub.
1717 $ac_config_sub sun4 >/dev/null 2>&1 ||
1718 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1719 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1720 { (exit 1); exit 1; }; }
1721
1722 echo "$as_me:$LINENO: checking build system type" >&5
1723 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1724 if test "${ac_cv_build+set}" = set; then
1725 echo $ECHO_N "(cached) $ECHO_C" >&6
1726 else
1727 ac_cv_build_alias=$build_alias
1728 test -z "$ac_cv_build_alias" &&
1729 ac_cv_build_alias=`$ac_config_guess`
1730 test -z "$ac_cv_build_alias" &&
1731 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1732 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1733 { (exit 1); exit 1; }; }
1734 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1735 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1736 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1737 { (exit 1); exit 1; }; }
1738
1739 fi
1740 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1741 echo "${ECHO_T}$ac_cv_build" >&6
1742 build=$ac_cv_build
1743 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1744 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1745 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1746
1747
1748 echo "$as_me:$LINENO: checking host system type" >&5
1749 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1750 if test "${ac_cv_host+set}" = set; then
1751 echo $ECHO_N "(cached) $ECHO_C" >&6
1752 else
1753 ac_cv_host_alias=$host_alias
1754 test -z "$ac_cv_host_alias" &&
1755 ac_cv_host_alias=$ac_cv_build_alias
1756 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1757 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1758 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1759 { (exit 1); exit 1; }; }
1760
1761 fi
1762 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1763 echo "${ECHO_T}$ac_cv_host" >&6
1764 host=$ac_cv_host
1765 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1766 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1767 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1768
1769
1770 echo "$as_me:$LINENO: checking target system type" >&5
1771 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1772 if test "${ac_cv_target+set}" = set; then
1773 echo $ECHO_N "(cached) $ECHO_C" >&6
1774 else
1775 ac_cv_target_alias=$target_alias
1776 test "x$ac_cv_target_alias" = "x" &&
1777 ac_cv_target_alias=$ac_cv_host_alias
1778 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1779 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1780 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1781 { (exit 1); exit 1; }; }
1782
1783 fi
1784 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1785 echo "${ECHO_T}$ac_cv_target" >&6
1786 target=$ac_cv_target
1787 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1788 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1789 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1790
1791
1792 # The aliases save the names the user supplied, while $host etc.
1793 # will get canonicalized.
1794 test -n "$target_alias" &&
1795 test "$program_prefix$program_suffix$program_transform_name" = \
1796 NONENONEs,x,x, &&
1797 program_prefix=${target_alias}-
1798
1799
1800
1801 wx_major_version_number=2
1802 wx_minor_version_number=7
1803 wx_release_number=2
1804 wx_subrelease_number=0
1805
1806 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1807 WX_VERSION=$WX_RELEASE.$wx_release_number
1808 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1809
1810 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1811
1812
1813
1814
1815 USE_UNIX=1
1816 USE_OS2=0
1817 USE_WIN32=0
1818 USE_DOS=0
1819 USE_BEOS=0
1820 USE_MAC=0
1821
1822 USE_AIX=
1823 USE_BSD= USE_DARWIN= USE_FREEBSD=
1824 USE_GNU= USE_HPUX=
1825 USE_LINUX=
1826 USE_NETBSD=
1827 USE_OPENBSD=
1828 USE_OSF= USE_SGI=
1829 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1830 USE_ULTRIX=
1831 USE_UNIXWARE=
1832
1833 USE_ALPHA=
1834
1835 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1836
1837 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1838
1839 DEFAULT_wxUSE_COCOA=0
1840 DEFAULT_wxUSE_GTK=0
1841 DEFAULT_wxUSE_MAC=0
1842 DEFAULT_wxUSE_MGL=0
1843 DEFAULT_wxUSE_MICROWIN=0
1844 DEFAULT_wxUSE_MOTIF=0
1845 DEFAULT_wxUSE_MSW=0
1846 DEFAULT_wxUSE_PM=0
1847 DEFAULT_wxUSE_X11=0
1848 DEFAULT_wxUSE_DFB=0
1849
1850 DEFAULT_DEFAULT_wxUSE_COCOA=0
1851 DEFAULT_DEFAULT_wxUSE_GTK=0
1852 DEFAULT_DEFAULT_wxUSE_MAC=0
1853 DEFAULT_DEFAULT_wxUSE_MGL=0
1854 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1855 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1856 DEFAULT_DEFAULT_wxUSE_MSW=0
1857 DEFAULT_DEFAULT_wxUSE_PM=0
1858 DEFAULT_DEFAULT_wxUSE_X11=0
1859 DEFAULT_DEFAULT_wxUSE_DFB=0
1860
1861 PROGRAM_EXT=
1862 SO_SUFFIX=so
1863 SAMPLES_RPATH_FLAG=
1864 SAMPLES_RPATH_POSTLINK=
1865
1866 DEFAULT_STD_FLAG=yes
1867
1868 case "${host}" in
1869 *-hp-hpux* )
1870 USE_HPUX=1
1871 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1872 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1873 SO_SUFFIX=sl
1874 cat >>confdefs.h <<\_ACEOF
1875 #define __HPUX__ 1
1876 _ACEOF
1877
1878
1879 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1880 ;;
1881 *-*-linux* )
1882 USE_LINUX=1
1883 cat >>confdefs.h <<\_ACEOF
1884 #define __LINUX__ 1
1885 _ACEOF
1886
1887 TMP=`uname -m`
1888 if test "x$TMP" = "xalpha"; then
1889 USE_ALPHA=1
1890 cat >>confdefs.h <<\_ACEOF
1891 #define __ALPHA__ 1
1892 _ACEOF
1893
1894 fi
1895 DEFAULT_DEFAULT_wxUSE_GTK=1
1896 ;;
1897 *-*-gnu* | *-*-k*bsd*-gnu )
1898 USE_GNU=1
1899 TMP=`uname -m`
1900 if test "x$TMP" = "xalpha"; then
1901 USE_ALPHA=1
1902 cat >>confdefs.h <<\_ACEOF
1903 #define __ALPHA__ 1
1904 _ACEOF
1905
1906 fi
1907 DEFAULT_DEFAULT_wxUSE_GTK=1
1908 ;;
1909 *-*-irix5* | *-*-irix6* )
1910 USE_SGI=1
1911 USE_SVR4=1
1912 cat >>confdefs.h <<\_ACEOF
1913 #define __SGI__ 1
1914 _ACEOF
1915
1916 cat >>confdefs.h <<\_ACEOF
1917 #define __SVR4__ 1
1918 _ACEOF
1919
1920 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1921 ;;
1922 *-*-solaris2* )
1923 USE_SUN=1
1924 USE_SOLARIS=1
1925 USE_SVR4=1
1926 cat >>confdefs.h <<\_ACEOF
1927 #define __SUN__ 1
1928 _ACEOF
1929
1930 cat >>confdefs.h <<\_ACEOF
1931 #define __SOLARIS__ 1
1932 _ACEOF
1933
1934 cat >>confdefs.h <<\_ACEOF
1935 #define __SVR4__ 1
1936 _ACEOF
1937
1938 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1939 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1940 ;;
1941 *-*-sunos4* )
1942 USE_SUN=1
1943 USE_SUNOS=1
1944 USE_BSD=1
1945 cat >>confdefs.h <<\_ACEOF
1946 #define __SUN__ 1
1947 _ACEOF
1948
1949 cat >>confdefs.h <<\_ACEOF
1950 #define __SUNOS__ 1
1951 _ACEOF
1952
1953 cat >>confdefs.h <<\_ACEOF
1954 #define __BSD__ 1
1955 _ACEOF
1956
1957 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1958 ;;
1959 *-*-freebsd*)
1960 USE_BSD=1
1961 USE_FREEBSD=1
1962 cat >>confdefs.h <<\_ACEOF
1963 #define __FREEBSD__ 1
1964 _ACEOF
1965
1966 cat >>confdefs.h <<\_ACEOF
1967 #define __BSD__ 1
1968 _ACEOF
1969
1970 DEFAULT_DEFAULT_wxUSE_GTK=1
1971 ;;
1972 *-*-openbsd*|*-*-mirbsd*)
1973 USE_BSD=1
1974 USE_OPENBSD=1
1975 cat >>confdefs.h <<\_ACEOF
1976 #define __OPENBSD__ 1
1977 _ACEOF
1978
1979 cat >>confdefs.h <<\_ACEOF
1980 #define __BSD__ 1
1981 _ACEOF
1982
1983 DEFAULT_DEFAULT_wxUSE_GTK=1
1984 ;;
1985 *-*-netbsd*)
1986 USE_BSD=1
1987 USE_NETBSD=1
1988 cat >>confdefs.h <<\_ACEOF
1989 #define __NETBSD__ 1
1990 _ACEOF
1991
1992 cat >>confdefs.h <<\_ACEOF
1993 #define __BSD__ 1
1994 _ACEOF
1995
1996 DEFAULT_DEFAULT_wxUSE_GTK=1
1997 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1998
1999 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2000 ;;
2001 *-*-osf* )
2002 USE_ALPHA=1
2003 USE_OSF=1
2004 cat >>confdefs.h <<\_ACEOF
2005 #define __ALPHA__ 1
2006 _ACEOF
2007
2008 cat >>confdefs.h <<\_ACEOF
2009 #define __OSF__ 1
2010 _ACEOF
2011
2012 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2013 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2014 ;;
2015 *-*-dgux5* )
2016 USE_ALPHA=1
2017 USE_SVR4=1
2018 cat >>confdefs.h <<\_ACEOF
2019 #define __ALPHA__ 1
2020 _ACEOF
2021
2022 cat >>confdefs.h <<\_ACEOF
2023 #define __SVR4__ 1
2024 _ACEOF
2025
2026 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2027 ;;
2028 *-*-sysv5* )
2029 USE_SYSV=1
2030 USE_SVR4=1
2031 cat >>confdefs.h <<\_ACEOF
2032 #define __SYSV__ 1
2033 _ACEOF
2034
2035 cat >>confdefs.h <<\_ACEOF
2036 #define __SVR4__ 1
2037 _ACEOF
2038
2039 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2040 ;;
2041 *-*-aix* )
2042 USE_AIX=1
2043 USE_SYSV=1
2044 USE_SVR4=1
2045 SO_SUFFIX=a
2046 cat >>confdefs.h <<\_ACEOF
2047 #define __AIX__ 1
2048 _ACEOF
2049
2050 cat >>confdefs.h <<\_ACEOF
2051 #define __SYSV__ 1
2052 _ACEOF
2053
2054 cat >>confdefs.h <<\_ACEOF
2055 #define __SVR4__ 1
2056 _ACEOF
2057
2058 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2059 ;;
2060
2061 *-*-*UnixWare*)
2062 USE_SYSV=1
2063 USE_SVR4=1
2064 USE_UNIXWARE=1
2065 cat >>confdefs.h <<\_ACEOF
2066 #define __UNIXWARE__ 1
2067 _ACEOF
2068
2069 ;;
2070
2071 *-*-cygwin* | *-*-mingw32* )
2072 SO_SUFFIX=dll
2073 PROGRAM_EXT=".exe"
2074 DEFAULT_DEFAULT_wxUSE_MSW=1
2075 ;;
2076
2077 *-pc-msdosdjgpp )
2078 USE_UNIX=0
2079 USE_DOS=1
2080 cat >>confdefs.h <<\_ACEOF
2081 #define __DOS__ 1
2082 _ACEOF
2083
2084 PROGRAM_EXT=".exe"
2085 DEFAULT_DEFAULT_wxUSE_MGL=1
2086 ;;
2087
2088 *-pc-os2_emx | *-pc-os2-emx )
2089 cat >>confdefs.h <<\_ACEOF
2090 #define __EMX__ 1
2091 _ACEOF
2092
2093 USE_OS2=1
2094 cat >>confdefs.h <<\_ACEOF
2095 #define __OS2__ 1
2096 _ACEOF
2097
2098 PROGRAM_EXT=".exe"
2099 DEFAULT_DEFAULT_wxUSE_PM=1
2100 CXX=gcc
2101 LDFLAGS="$LDFLAGS -Zcrtdll"
2102 ac_executable_extensions=".exe"
2103 export ac_executable_extensions
2104 ac_save_IFS="$IFS"
2105 IFS='\\'
2106 ac_TEMP_PATH=
2107 for ac_dir in $PATH; do
2108 IFS=$ac_save_IFS
2109 if test -z "$ac_TEMP_PATH"; then
2110 ac_TEMP_PATH="$ac_dir"
2111 else
2112 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2113 fi
2114 done
2115 export PATH="$ac_TEMP_PATH"
2116 unset ac_TEMP_PATH
2117 DEFAULT_STD_FLAG=no
2118 ;;
2119
2120 *-*-darwin* )
2121 USE_BSD=1
2122 USE_DARWIN=1
2123 SO_SUFFIX=dylib
2124 cat >>confdefs.h <<\_ACEOF
2125 #define __BSD__ 1
2126 _ACEOF
2127
2128 cat >>confdefs.h <<\_ACEOF
2129 #define __DARWIN__ 1
2130 _ACEOF
2131
2132 cat >>confdefs.h <<\_ACEOF
2133 #define TARGET_CARBON 1
2134 _ACEOF
2135
2136 DEFAULT_DEFAULT_wxUSE_MAC=1
2137 DEFAULT_STD_FLAG=no
2138 ;;
2139 powerpc-apple-macos* )
2140 USE_UNIX=0
2141 ac_cv_c_bigendian=yes
2142 SO_SUFFIX=shlib
2143 DEFAULT_DEFAULT_wxUSE_MAC=1
2144 DEFAULT_STD_FLAG=no
2145 ;;
2146
2147 *-*-beos* )
2148 USE_BEOS=1
2149 cat >>confdefs.h <<\_ACEOF
2150 #define __BEOS__ 1
2151 _ACEOF
2152
2153 ;;
2154
2155 *)
2156 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2157 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2158 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2159 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2160
2161 DEFAULT_DEFAULT_wxUSE_X11=1
2162 DEFAULT_wxUSE_SHARED=no
2163 esac
2164
2165
2166
2167
2168 wx_arg_cache_file="configarg.cache"
2169 echo "loading argument cache $wx_arg_cache_file"
2170 rm -f ${wx_arg_cache_file}.tmp
2171 touch ${wx_arg_cache_file}.tmp
2172 touch ${wx_arg_cache_file}
2173
2174
2175 DEBUG_CONFIGURE=0
2176 if test $DEBUG_CONFIGURE = 1; then
2177 DEFAULT_wxUSE_UNIVERSAL=no
2178 DEFAULT_wxUSE_STL=no
2179
2180 DEFAULT_wxUSE_NANOX=no
2181
2182 DEFAULT_wxUSE_THREADS=yes
2183
2184 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2185 DEFAULT_wxUSE_OPTIMISE=no
2186 DEFAULT_wxUSE_PROFILE=no
2187 DEFAULT_wxUSE_NO_DEPS=no
2188 DEFAULT_wxUSE_NO_RTTI=no
2189 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2190 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2191 DEFAULT_wxUSE_RPATH=yes
2192 DEFAULT_wxUSE_PERMISSIVE=no
2193 DEFAULT_wxUSE_DEBUG_FLAG=yes
2194 DEFAULT_wxUSE_DEBUG_INFO=yes
2195 DEFAULT_wxUSE_DEBUG_GDB=yes
2196 DEFAULT_wxUSE_MEM_TRACING=no
2197 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2198 DEFAULT_wxUSE_DMALLOC=no
2199 DEFAULT_wxUSE_APPLE_IEEE=no
2200
2201 DEFAULT_wxUSE_EXCEPTIONS=no
2202 DEFAULT_wxUSE_LOG=yes
2203 DEFAULT_wxUSE_LOGWINDOW=no
2204 DEFAULT_wxUSE_LOGGUI=no
2205 DEFAULT_wxUSE_LOGDIALOG=no
2206
2207 DEFAULT_wxUSE_GUI=yes
2208 DEFAULT_wxUSE_CONTROLS=no
2209
2210 DEFAULT_wxUSE_REGEX=no
2211 DEFAULT_wxUSE_XML=no
2212 DEFAULT_wxUSE_EXPAT=no
2213 DEFAULT_wxUSE_ZLIB=no
2214 DEFAULT_wxUSE_LIBPNG=no
2215 DEFAULT_wxUSE_LIBJPEG=no
2216 DEFAULT_wxUSE_LIBTIFF=no
2217 DEFAULT_wxUSE_LIBXPM=no
2218 DEFAULT_wxUSE_LIBMSPACK=no
2219 DEFAULT_wxUSE_LIBSDL=no
2220 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2221 DEFAULT_wxUSE_LIBGNOMEVFS=no
2222 DEFAULT_wxUSE_LIBHILDON=no
2223 DEFAULT_wxUSE_ODBC=no
2224 DEFAULT_wxUSE_OPENGL=no
2225
2226 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2227 DEFAULT_wxUSE_STACKWALKER=no
2228 DEFAULT_wxUSE_DEBUGREPORT=no
2229 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2230 DEFAULT_wxUSE_STD_IOSTREAM=no
2231 DEFAULT_wxUSE_STD_STRING=no
2232 DEFAULT_wxUSE_CMDLINE_PARSER=no
2233 DEFAULT_wxUSE_DATETIME=no
2234 DEFAULT_wxUSE_TIMER=no
2235 DEFAULT_wxUSE_STOPWATCH=no
2236 DEFAULT_wxUSE_FILE=no
2237 DEFAULT_wxUSE_FFILE=no
2238 DEFAULT_wxUSE_STDPATHS=no
2239 DEFAULT_wxUSE_TEXTBUFFER=no
2240 DEFAULT_wxUSE_TEXTFILE=no
2241 DEFAULT_wxUSE_SOUND=no
2242 DEFAULT_wxUSE_MEDIACTRL=no
2243 DEFAULT_wxUSE_GSTREAMER8=no
2244 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2245 DEFAULT_wxUSE_INTL=no
2246 DEFAULT_wxUSE_CONFIG=no
2247 DEFAULT_wxUSE_FONTMAP=no
2248 DEFAULT_wxUSE_STREAMS=no
2249 DEFAULT_wxUSE_SOCKETS=no
2250 DEFAULT_wxUSE_OLE=no
2251 DEFAULT_wxUSE_DATAOBJ=no
2252 DEFAULT_wxUSE_DIALUP_MANAGER=no
2253 DEFAULT_wxUSE_JOYSTICK=no
2254 DEFAULT_wxUSE_DYNLIB_CLASS=no
2255 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2256 DEFAULT_wxUSE_LONGLONG=no
2257 DEFAULT_wxUSE_GEOMETRY=no
2258
2259 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2260 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2261 DEFAULT_wxUSE_POSTSCRIPT=no
2262
2263 DEFAULT_wxUSE_CLIPBOARD=no
2264 DEFAULT_wxUSE_TOOLTIPS=no
2265 DEFAULT_wxUSE_DRAG_AND_DROP=no
2266 DEFAULT_wxUSE_DRAGIMAGE=no
2267 DEFAULT_wxUSE_SPLINES=no
2268 DEFAULT_wxUSE_MOUSEWHEEL=no
2269
2270 DEFAULT_wxUSE_MDI=no
2271 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2272 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2273 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2274
2275 DEFAULT_wxUSE_RESOURCES=no
2276 DEFAULT_wxUSE_CONSTRAINTS=no
2277 DEFAULT_wxUSE_IPC=no
2278 DEFAULT_wxUSE_HELP=no
2279 DEFAULT_wxUSE_MS_HTML_HELP=no
2280 DEFAULT_wxUSE_WXHTML_HELP=no
2281 DEFAULT_wxUSE_TREELAYOUT=no
2282 DEFAULT_wxUSE_METAFILE=no
2283 DEFAULT_wxUSE_MIMETYPE=no
2284 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2285 DEFAULT_wxUSE_PROTOCOL=no
2286 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2287 DEFAULT_wxUSE_PROTOCOL_FTP=no
2288 DEFAULT_wxUSE_PROTOCOL_FILE=no
2289 DEFAULT_wxUSE_URL=no
2290 DEFAULT_wxUSE_VARIANT=no
2291
2292 DEFAULT_wxUSE_ABOUTDLG=no
2293 DEFAULT_wxUSE_COMMONDLGS=no
2294 DEFAULT_wxUSE_CHOICEDLG=no
2295 DEFAULT_wxUSE_COLOURDLG=no
2296 DEFAULT_wxUSE_DIRDLG=no
2297 DEFAULT_wxUSE_FILEDLG=no
2298 DEFAULT_wxUSE_FINDREPLDLG=no
2299 DEFAULT_wxUSE_FONTDLG=no
2300 DEFAULT_wxUSE_MSGDLG=no
2301 DEFAULT_wxUSE_NUMBERDLG=no
2302 DEFAULT_wxUSE_TEXTDLG=no
2303 DEFAULT_wxUSE_SPLASH=no
2304 DEFAULT_wxUSE_STARTUP_TIPS=no
2305 DEFAULT_wxUSE_PROGRESSDLG=no
2306 DEFAULT_wxUSE_WIZARDDLG=no
2307
2308 DEFAULT_wxUSE_MENUS=no
2309 DEFAULT_wxUSE_MINIFRAME=no
2310 DEFAULT_wxUSE_HTML=no
2311 DEFAULT_wxUSE_RICHTEXT=no
2312 DEFAULT_wxUSE_XRC=no
2313 DEFAULT_wxUSE_AUI=no
2314 DEFAULT_wxUSE_WEBKIT=no
2315 DEFAULT_wxUSE_FILESYSTEM=no
2316 DEFAULT_wxUSE_FS_INET=no
2317 DEFAULT_wxUSE_FS_ZIP=no
2318 DEFAULT_wxUSE_FS_ARCHIVE=no
2319 DEFAULT_wxUSE_BUSYINFO=no
2320 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2321 DEFAULT_wxUSE_ZIPSTREAM=no
2322 DEFAULT_wxUSE_TARSTREAM=no
2323 DEFAULT_wxUSE_VALIDATORS=no
2324
2325 DEFAULT_wxUSE_ACCEL=no
2326 DEFAULT_wxUSE_ANIMATIONCTRL=no
2327 DEFAULT_wxUSE_BUTTON=no
2328 DEFAULT_wxUSE_BMPBUTTON=no
2329 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
2330 DEFAULT_wxUSE_CALCTRL=no
2331 DEFAULT_wxUSE_CARET=no
2332 DEFAULT_wxUSE_CHECKBOX=no
2333 DEFAULT_wxUSE_CHECKLST=no
2334 DEFAULT_wxUSE_CHOICE=no
2335 DEFAULT_wxUSE_CHOICEBOOK=no
2336 DEFAULT_wxUSE_COLOURPICKERCTRL=no
2337 DEFAULT_wxUSE_COMBOBOX=no
2338 DEFAULT_wxUSE_COMBOCTRL=no
2339 DEFAULT_wxUSE_DATEPICKCTRL=no
2340 DEFAULT_wxUSE_DISPLAY=no
2341 DEFAULT_wxUSE_DETECT_SM=no
2342 DEFAULT_wxUSE_DIRPICKERCTRL=no
2343 DEFAULT_wxUSE_FILEPICKERCTRL=no
2344 DEFAULT_wxUSE_FONTPICKERCTRL=no
2345 DEFAULT_wxUSE_GAUGE=no
2346 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2347 DEFAULT_wxUSE_GRID=no
2348 DEFAULT_wxUSE_HYPERLINKCTRL=no
2349 DEFAULT_wxUSE_DATAVIEWCTRL=no
2350 DEFAULT_wxUSE_IMAGLIST=no
2351 DEFAULT_wxUSE_LISTBOOK=no
2352 DEFAULT_wxUSE_LISTBOX=no
2353 DEFAULT_wxUSE_LISTCTRL=no
2354 DEFAULT_wxUSE_NOTEBOOK=no
2355 DEFAULT_wxUSE_ODCOMBOBOX=no
2356 DEFAULT_wxUSE_RADIOBOX=no
2357 DEFAULT_wxUSE_RADIOBTN=no
2358 DEFAULT_wxUSE_SASH=no
2359 DEFAULT_wxUSE_SCROLLBAR=no
2360 DEFAULT_wxUSE_SLIDER=no
2361 DEFAULT_wxUSE_SPINBTN=no
2362 DEFAULT_wxUSE_SPINCTRL=no
2363 DEFAULT_wxUSE_SPLITTER=no
2364 DEFAULT_wxUSE_STATBMP=no
2365 DEFAULT_wxUSE_STATBOX=no
2366 DEFAULT_wxUSE_STATLINE=no
2367 DEFAULT_wxUSE_STATTEXT=no
2368 DEFAULT_wxUSE_STATUSBAR=yes
2369 DEFAULT_wxUSE_TAB_DIALOG=no
2370 DEFAULT_wxUSE_TEXTCTRL=no
2371 DEFAULT_wxUSE_TOGGLEBTN=no
2372 DEFAULT_wxUSE_TOOLBAR=no
2373 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2374 DEFAULT_wxUSE_TREEBOOK=no
2375 DEFAULT_wxUSE_TOOLBOOK=no
2376 DEFAULT_wxUSE_TREECTRL=no
2377 DEFAULT_wxUSE_POPUPWIN=no
2378 DEFAULT_wxUSE_TIPWINDOW=no
2379
2380 DEFAULT_wxUSE_UNICODE=no
2381 DEFAULT_wxUSE_UNICODE_MSLU=no
2382 DEFAULT_wxUSE_WCSRTOMBS=no
2383
2384 DEFAULT_wxUSE_PALETTE=no
2385 DEFAULT_wxUSE_IMAGE=no
2386 DEFAULT_wxUSE_GIF=no
2387 DEFAULT_wxUSE_PCX=no
2388 DEFAULT_wxUSE_PNM=no
2389 DEFAULT_wxUSE_IFF=no
2390 DEFAULT_wxUSE_XPM=no
2391 DEFAULT_wxUSE_ICO_CUR=no
2392 DEFAULT_wxUSE_ACCESSIBILITY=no
2393
2394 DEFAULT_wxUSE_MONOLITHIC=no
2395 DEFAULT_wxUSE_PLUGINS=no
2396 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2397 else
2398 DEFAULT_wxUSE_UNIVERSAL=no
2399 DEFAULT_wxUSE_STL=no
2400
2401 DEFAULT_wxUSE_NANOX=no
2402
2403 DEFAULT_wxUSE_THREADS=yes
2404
2405 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2406 DEFAULT_wxUSE_OPTIMISE=yes
2407 DEFAULT_wxUSE_PROFILE=no
2408 DEFAULT_wxUSE_NO_DEPS=no
2409 DEFAULT_wxUSE_NO_RTTI=no
2410 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2411 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2412 DEFAULT_wxUSE_RPATH=yes
2413 DEFAULT_wxUSE_PERMISSIVE=no
2414 DEFAULT_wxUSE_DEBUG_FLAG=no
2415 DEFAULT_wxUSE_DEBUG_INFO=no
2416 DEFAULT_wxUSE_DEBUG_GDB=no
2417 DEFAULT_wxUSE_MEM_TRACING=no
2418 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2419 DEFAULT_wxUSE_DMALLOC=no
2420 DEFAULT_wxUSE_APPLE_IEEE=yes
2421
2422 DEFAULT_wxUSE_EXCEPTIONS=yes
2423 DEFAULT_wxUSE_LOG=yes
2424 DEFAULT_wxUSE_LOGWINDOW=yes
2425 DEFAULT_wxUSE_LOGGUI=yes
2426 DEFAULT_wxUSE_LOGDIALOG=yes
2427
2428 DEFAULT_wxUSE_GUI=yes
2429
2430 DEFAULT_wxUSE_REGEX=yes
2431 DEFAULT_wxUSE_XML=yes
2432 DEFAULT_wxUSE_EXPAT=yes
2433 DEFAULT_wxUSE_ZLIB=yes
2434 DEFAULT_wxUSE_LIBPNG=yes
2435 DEFAULT_wxUSE_LIBJPEG=yes
2436 DEFAULT_wxUSE_LIBTIFF=yes
2437 DEFAULT_wxUSE_LIBXPM=yes
2438 DEFAULT_wxUSE_LIBMSPACK=yes
2439 DEFAULT_wxUSE_LIBSDL=no
2440 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2441 DEFAULT_wxUSE_LIBGNOMEVFS=no
2442 DEFAULT_wxUSE_LIBHILDON=no
2443 DEFAULT_wxUSE_ODBC=no
2444 DEFAULT_wxUSE_OPENGL=no
2445
2446 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2447 DEFAULT_wxUSE_STACKWALKER=yes
2448 DEFAULT_wxUSE_DEBUGREPORT=yes
2449 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2450 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2451 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2452 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2453 DEFAULT_wxUSE_DATETIME=yes
2454 DEFAULT_wxUSE_TIMER=yes
2455 DEFAULT_wxUSE_STOPWATCH=yes
2456 DEFAULT_wxUSE_FILE=yes
2457 DEFAULT_wxUSE_FFILE=yes
2458 DEFAULT_wxUSE_STDPATHS=yes
2459 DEFAULT_wxUSE_TEXTBUFFER=yes
2460 DEFAULT_wxUSE_TEXTFILE=yes
2461 DEFAULT_wxUSE_SOUND=yes
2462 DEFAULT_wxUSE_MEDIACTRL=no
2463 DEFAULT_wxUSE_GSTREAMER8=no
2464 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
2465 DEFAULT_wxUSE_INTL=yes
2466 DEFAULT_wxUSE_CONFIG=yes
2467 DEFAULT_wxUSE_FONTMAP=yes
2468 DEFAULT_wxUSE_STREAMS=yes
2469 DEFAULT_wxUSE_SOCKETS=yes
2470 DEFAULT_wxUSE_OLE=yes
2471 DEFAULT_wxUSE_DATAOBJ=yes
2472 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2473 DEFAULT_wxUSE_JOYSTICK=yes
2474 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2475 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2476 DEFAULT_wxUSE_LONGLONG=yes
2477 DEFAULT_wxUSE_GEOMETRY=yes
2478
2479 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2480 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2481 DEFAULT_wxUSE_POSTSCRIPT=yes
2482
2483 DEFAULT_wxUSE_CLIPBOARD=yes
2484 DEFAULT_wxUSE_TOOLTIPS=yes
2485 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2486 DEFAULT_wxUSE_DRAGIMAGE=yes
2487 DEFAULT_wxUSE_SPLINES=yes
2488 DEFAULT_wxUSE_MOUSEWHEEL=yes
2489
2490 DEFAULT_wxUSE_MDI=yes
2491 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2492 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2493 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2494
2495 DEFAULT_wxUSE_RESOURCES=no
2496 DEFAULT_wxUSE_CONSTRAINTS=yes
2497 DEFAULT_wxUSE_IPC=yes
2498 DEFAULT_wxUSE_HELP=yes
2499 DEFAULT_wxUSE_MS_HTML_HELP=yes
2500 DEFAULT_wxUSE_WXHTML_HELP=yes
2501 DEFAULT_wxUSE_TREELAYOUT=yes
2502 DEFAULT_wxUSE_METAFILE=yes
2503 DEFAULT_wxUSE_MIMETYPE=yes
2504 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2505 DEFAULT_wxUSE_PROTOCOL=yes
2506 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2507 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2508 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2509 DEFAULT_wxUSE_URL=yes
2510 DEFAULT_wxUSE_VARIANT=yes
2511
2512 DEFAULT_wxUSE_ABOUTDLG=yes
2513 DEFAULT_wxUSE_COMMONDLGS=yes
2514 DEFAULT_wxUSE_CHOICEDLG=yes
2515 DEFAULT_wxUSE_COLOURDLG=yes
2516 DEFAULT_wxUSE_DIRDLG=yes
2517 DEFAULT_wxUSE_FILEDLG=yes
2518 DEFAULT_wxUSE_FINDREPLDLG=yes
2519 DEFAULT_wxUSE_FONTDLG=yes
2520 DEFAULT_wxUSE_MSGDLG=yes
2521 DEFAULT_wxUSE_NUMBERDLG=yes
2522 DEFAULT_wxUSE_TEXTDLG=yes
2523 DEFAULT_wxUSE_SPLASH=yes
2524 DEFAULT_wxUSE_STARTUP_TIPS=yes
2525 DEFAULT_wxUSE_PROGRESSDLG=yes
2526 DEFAULT_wxUSE_WIZARDDLG=yes
2527
2528 DEFAULT_wxUSE_MENUS=yes
2529 DEFAULT_wxUSE_MINIFRAME=yes
2530 DEFAULT_wxUSE_HTML=yes
2531 DEFAULT_wxUSE_RICHTEXT=yes
2532 DEFAULT_wxUSE_XRC=yes
2533 DEFAULT_wxUSE_AUI=yes
2534 DEFAULT_wxUSE_WEBKIT=yes
2535 DEFAULT_wxUSE_FILESYSTEM=yes
2536 DEFAULT_wxUSE_FS_INET=yes
2537 DEFAULT_wxUSE_FS_ZIP=yes
2538 DEFAULT_wxUSE_FS_ARCHIVE=yes
2539 DEFAULT_wxUSE_BUSYINFO=yes
2540 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2541 DEFAULT_wxUSE_ZIPSTREAM=yes
2542 DEFAULT_wxUSE_TARSTREAM=yes
2543 DEFAULT_wxUSE_VALIDATORS=yes
2544
2545 DEFAULT_wxUSE_ACCEL=yes
2546 DEFAULT_wxUSE_ANIMATIONCTRL=yes
2547 DEFAULT_wxUSE_BUTTON=yes
2548 DEFAULT_wxUSE_BMPBUTTON=yes
2549 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
2550 DEFAULT_wxUSE_CALCTRL=yes
2551 DEFAULT_wxUSE_CARET=yes
2552 DEFAULT_wxUSE_CHECKBOX=yes
2553 DEFAULT_wxUSE_CHECKLST=yes
2554 DEFAULT_wxUSE_CHOICE=yes
2555 DEFAULT_wxUSE_CHOICEBOOK=yes
2556 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
2557 DEFAULT_wxUSE_COMBOBOX=yes
2558 DEFAULT_wxUSE_COMBOCTRL=yes
2559 DEFAULT_wxUSE_DATEPICKCTRL=yes
2560 DEFAULT_wxUSE_DISPLAY=yes
2561 DEFAULT_wxUSE_DETECT_SM=yes
2562 DEFAULT_wxUSE_DIRPICKERCTRL=yes
2563 DEFAULT_wxUSE_FILEPICKERCTRL=yes
2564 DEFAULT_wxUSE_FONTPICKERCTRL=yes
2565 DEFAULT_wxUSE_GAUGE=yes
2566 DEFAULT_wxUSE_GRID=yes
2567 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2568 DEFAULT_wxUSE_HYPERLINKCTRL=yes
2569 DEFAULT_wxUSE_DATAVIEWCTRL=no
2570 DEFAULT_wxUSE_IMAGLIST=yes
2571 DEFAULT_wxUSE_LISTBOOK=yes
2572 DEFAULT_wxUSE_LISTBOX=yes
2573 DEFAULT_wxUSE_LISTCTRL=yes
2574 DEFAULT_wxUSE_NOTEBOOK=yes
2575 DEFAULT_wxUSE_ODCOMBOBOX=yes
2576 DEFAULT_wxUSE_RADIOBOX=yes
2577 DEFAULT_wxUSE_RADIOBTN=yes
2578 DEFAULT_wxUSE_SASH=yes
2579 DEFAULT_wxUSE_SCROLLBAR=yes
2580 DEFAULT_wxUSE_SLIDER=yes
2581 DEFAULT_wxUSE_SPINBTN=yes
2582 DEFAULT_wxUSE_SPINCTRL=yes
2583 DEFAULT_wxUSE_SPLITTER=yes
2584 DEFAULT_wxUSE_STATBMP=yes
2585 DEFAULT_wxUSE_STATBOX=yes
2586 DEFAULT_wxUSE_STATLINE=yes
2587 DEFAULT_wxUSE_STATTEXT=yes
2588 DEFAULT_wxUSE_STATUSBAR=yes
2589 DEFAULT_wxUSE_TAB_DIALOG=no
2590 DEFAULT_wxUSE_TEXTCTRL=yes
2591 DEFAULT_wxUSE_TOGGLEBTN=yes
2592 DEFAULT_wxUSE_TOOLBAR=yes
2593 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2594 DEFAULT_wxUSE_TREEBOOK=yes
2595 DEFAULT_wxUSE_TOOLBOOK=yes
2596 DEFAULT_wxUSE_TREECTRL=yes
2597 DEFAULT_wxUSE_POPUPWIN=yes
2598 DEFAULT_wxUSE_TIPWINDOW=yes
2599
2600 DEFAULT_wxUSE_UNICODE=no
2601 DEFAULT_wxUSE_UNICODE_MSLU=yes
2602 DEFAULT_wxUSE_WCSRTOMBS=no
2603
2604 DEFAULT_wxUSE_PALETTE=yes
2605 DEFAULT_wxUSE_IMAGE=yes
2606 DEFAULT_wxUSE_GIF=yes
2607 DEFAULT_wxUSE_PCX=yes
2608 DEFAULT_wxUSE_IFF=no
2609 DEFAULT_wxUSE_PNM=yes
2610 DEFAULT_wxUSE_XPM=yes
2611 DEFAULT_wxUSE_ICO_CUR=yes
2612 DEFAULT_wxUSE_ACCESSIBILITY=no
2613
2614 DEFAULT_wxUSE_MONOLITHIC=no
2615 DEFAULT_wxUSE_PLUGINS=no
2616 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2617
2618 DEFAULT_wxUSE_GTK2=yes
2619 fi
2620
2621
2622
2623
2624 for toolkit in `echo $ALL_TOOLKITS`; do
2625 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2626 if test "x$LINE" != "x" ; then
2627 has_toolkit_in_cache=1
2628 eval "DEFAULT_$LINE"
2629 eval "CACHE_$toolkit=1"
2630
2631 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2632 if test "x$LINE" != "x" ; then
2633 eval "DEFAULT_$LINE"
2634 fi
2635 fi
2636 done
2637
2638
2639
2640 enablestring=
2641 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2642 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2643 no_cache=0
2644 # Check whether --enable-gui or --disable-gui was given.
2645 if test "${enable_gui+set}" = set; then
2646 enableval="$enable_gui"
2647
2648 if test "$enableval" = yes; then
2649 ac_cv_use_gui='wxUSE_GUI=yes'
2650 else
2651 ac_cv_use_gui='wxUSE_GUI=no'
2652 fi
2653
2654 else
2655
2656 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2657 if test "x$LINE" != x ; then
2658 eval "DEFAULT_$LINE"
2659 else
2660 no_cache=1
2661 fi
2662
2663 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2664
2665 fi;
2666
2667 eval "$ac_cv_use_gui"
2668 if test "$no_cache" != 1; then
2669 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2670 fi
2671
2672 if test "$wxUSE_GUI" = yes; then
2673 echo "$as_me:$LINENO: result: yes" >&5
2674 echo "${ECHO_T}yes" >&6
2675 else
2676 echo "$as_me:$LINENO: result: no" >&5
2677 echo "${ECHO_T}no" >&6
2678 fi
2679
2680
2681 enablestring=
2682 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2683 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2684 no_cache=0
2685 # Check whether --enable-monolithic or --disable-monolithic was given.
2686 if test "${enable_monolithic+set}" = set; then
2687 enableval="$enable_monolithic"
2688
2689 if test "$enableval" = yes; then
2690 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2691 else
2692 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2693 fi
2694
2695 else
2696
2697 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2698 if test "x$LINE" != x ; then
2699 eval "DEFAULT_$LINE"
2700 else
2701 no_cache=1
2702 fi
2703
2704 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2705
2706 fi;
2707
2708 eval "$ac_cv_use_monolithic"
2709 if test "$no_cache" != 1; then
2710 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2711 fi
2712
2713 if test "$wxUSE_MONOLITHIC" = yes; then
2714 echo "$as_me:$LINENO: result: yes" >&5
2715 echo "${ECHO_T}yes" >&6
2716 else
2717 echo "$as_me:$LINENO: result: no" >&5
2718 echo "${ECHO_T}no" >&6
2719 fi
2720
2721
2722 enablestring=
2723 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2724 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2725 no_cache=0
2726 # Check whether --enable-plugins or --disable-plugins was given.
2727 if test "${enable_plugins+set}" = set; then
2728 enableval="$enable_plugins"
2729
2730 if test "$enableval" = yes; then
2731 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2732 else
2733 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2734 fi
2735
2736 else
2737
2738 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2739 if test "x$LINE" != x ; then
2740 eval "DEFAULT_$LINE"
2741 else
2742 no_cache=1
2743 fi
2744
2745 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2746
2747 fi;
2748
2749 eval "$ac_cv_use_plugins"
2750 if test "$no_cache" != 1; then
2751 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2752 fi
2753
2754 if test "$wxUSE_PLUGINS" = yes; then
2755 echo "$as_me:$LINENO: result: yes" >&5
2756 echo "${ECHO_T}yes" >&6
2757 else
2758 echo "$as_me:$LINENO: result: no" >&5
2759 echo "${ECHO_T}no" >&6
2760 fi
2761
2762
2763 withstring=without
2764 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2765 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2766 no_cache=0
2767
2768 # Check whether --with-subdirs or --without-subdirs was given.
2769 if test "${with_subdirs+set}" = set; then
2770 withval="$with_subdirs"
2771
2772 if test "$withval" = yes; then
2773 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2774 else
2775 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2776 fi
2777
2778 else
2779
2780 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2781 if test "x$LINE" != x ; then
2782 eval "DEFAULT_$LINE"
2783 else
2784 no_cache=1
2785 fi
2786
2787 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2788
2789 fi;
2790
2791 eval "$ac_cv_use_subdirs"
2792 if test "$no_cache" != 1; then
2793 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2794 fi
2795
2796 if test "$wxWITH_SUBDIRS" = yes; then
2797 echo "$as_me:$LINENO: result: yes" >&5
2798 echo "${ECHO_T}yes" >&6
2799 else
2800 echo "$as_me:$LINENO: result: no" >&5
2801 echo "${ECHO_T}no" >&6
2802 fi
2803
2804
2805 if test "$wxUSE_GUI" = "yes"; then
2806
2807
2808 enablestring=
2809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2810 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2811 no_cache=0
2812 # Check whether --enable-universal or --disable-universal was given.
2813 if test "${enable_universal+set}" = set; then
2814 enableval="$enable_universal"
2815
2816 if test "$enableval" = yes; then
2817 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2818 else
2819 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2820 fi
2821
2822 else
2823
2824 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2825 if test "x$LINE" != x ; then
2826 eval "DEFAULT_$LINE"
2827 else
2828 no_cache=1
2829 fi
2830
2831 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2832
2833 fi;
2834
2835 eval "$ac_cv_use_universal"
2836 if test "$no_cache" != 1; then
2837 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2838 fi
2839
2840 if test "$wxUSE_UNIVERSAL" = yes; then
2841 echo "$as_me:$LINENO: result: yes" >&5
2842 echo "${ECHO_T}yes" >&6
2843 else
2844 echo "$as_me:$LINENO: result: no" >&5
2845 echo "${ECHO_T}no" >&6
2846 fi
2847
2848
2849 # Check whether --with-gtk or --without-gtk was given.
2850 if test "${with_gtk+set}" = set; then
2851 withval="$with_gtk"
2852 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2853 fi;
2854
2855 # Check whether --with-motif or --without-motif was given.
2856 if test "${with_motif+set}" = set; then
2857 withval="$with_motif"
2858 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2859 fi;
2860
2861 # Check whether --with-mac or --without-mac was given.
2862 if test "${with_mac+set}" = set; then
2863 withval="$with_mac"
2864 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2865 fi;
2866
2867 # Check whether --with-cocoa or --without-cocoa was given.
2868 if test "${with_cocoa+set}" = set; then
2869 withval="$with_cocoa"
2870 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2871 fi;
2872
2873 # Check whether --with-wine or --without-wine was given.
2874 if test "${with_wine+set}" = set; then
2875 withval="$with_wine"
2876 wxUSE_WINE="$withval" CACHE_WINE=1
2877 fi;
2878
2879 # Check whether --with-msw or --without-msw was given.
2880 if test "${with_msw+set}" = set; then
2881 withval="$with_msw"
2882 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2883 fi;
2884
2885 # Check whether --with-pm or --without-pm was given.
2886 if test "${with_pm+set}" = set; then
2887 withval="$with_pm"
2888 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2889 fi;
2890
2891 # Check whether --with-mgl or --without-mgl was given.
2892 if test "${with_mgl+set}" = set; then
2893 withval="$with_mgl"
2894 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2895 fi;
2896
2897 # Check whether --with-directfb or --without-directfb was given.
2898 if test "${with_directfb+set}" = set; then
2899 withval="$with_directfb"
2900 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2901 fi;
2902
2903 # Check whether --with-microwin or --without-microwin was given.
2904 if test "${with_microwin+set}" = set; then
2905 withval="$with_microwin"
2906 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2907 fi;
2908
2909 # Check whether --with-x11 or --without-x11 was given.
2910 if test "${with_x11+set}" = set; then
2911 withval="$with_x11"
2912 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2913 fi;
2914
2915 enablestring=
2916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2917 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2918 no_cache=0
2919 # Check whether --enable-nanox or --disable-nanox was given.
2920 if test "${enable_nanox+set}" = set; then
2921 enableval="$enable_nanox"
2922
2923 if test "$enableval" = yes; then
2924 ac_cv_use_nanox='wxUSE_NANOX=yes'
2925 else
2926 ac_cv_use_nanox='wxUSE_NANOX=no'
2927 fi
2928
2929 else
2930
2931 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2932 if test "x$LINE" != x ; then
2933 eval "DEFAULT_$LINE"
2934 else
2935 no_cache=1
2936 fi
2937
2938 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2939
2940 fi;
2941
2942 eval "$ac_cv_use_nanox"
2943 if test "$no_cache" != 1; then
2944 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2945 fi
2946
2947 if test "$wxUSE_NANOX" = yes; then
2948 echo "$as_me:$LINENO: result: yes" >&5
2949 echo "${ECHO_T}yes" >&6
2950 else
2951 echo "$as_me:$LINENO: result: no" >&5
2952 echo "${ECHO_T}no" >&6
2953 fi
2954
2955
2956 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2957 if test "${enable_gtk2+set}" = set; then
2958 enableval="$enable_gtk2"
2959 wxUSE_GTK2="$enableval"
2960 fi;
2961
2962 enablestring=
2963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2964 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2965 no_cache=0
2966 # Check whether --enable-gpe or --disable-gpe was given.
2967 if test "${enable_gpe+set}" = set; then
2968 enableval="$enable_gpe"
2969
2970 if test "$enableval" = yes; then
2971 ac_cv_use_gpe='wxUSE_GPE=yes'
2972 else
2973 ac_cv_use_gpe='wxUSE_GPE=no'
2974 fi
2975
2976 else
2977
2978 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2979 if test "x$LINE" != x ; then
2980 eval "DEFAULT_$LINE"
2981 else
2982 no_cache=1
2983 fi
2984
2985 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2986
2987 fi;
2988
2989 eval "$ac_cv_use_gpe"
2990 if test "$no_cache" != 1; then
2991 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2992 fi
2993
2994 if test "$wxUSE_GPE" = yes; then
2995 echo "$as_me:$LINENO: result: yes" >&5
2996 echo "${ECHO_T}yes" >&6
2997 else
2998 echo "$as_me:$LINENO: result: no" >&5
2999 echo "${ECHO_T}no" >&6
3000 fi
3001
3002
3003
3004 echo "$as_me:$LINENO: checking for --with-libpng" >&5
3005 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
3006 no_cache=0
3007
3008 # Check whether --with-libpng or --without-libpng was given.
3009 if test "${with_libpng+set}" = set; then
3010 withval="$with_libpng"
3011
3012 if test "$withval" = yes; then
3013 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3014 elif test "$withval" = no; then
3015 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3016 elif test "$withval" = sys; then
3017 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3018 elif test "$withval" = builtin; then
3019 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3020 else
3021 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3022 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3023 { (exit 1); exit 1; }; }
3024 fi
3025
3026 else
3027
3028 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3029 if test "x$LINE" != x ; then
3030 eval "DEFAULT_$LINE"
3031 else
3032 no_cache=1
3033 fi
3034
3035 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3036
3037 fi;
3038
3039 eval "$ac_cv_use_libpng"
3040 if test "$no_cache" != 1; then
3041 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3042 fi
3043
3044 if test "$wxUSE_LIBPNG" = yes; then
3045 echo "$as_me:$LINENO: result: yes" >&5
3046 echo "${ECHO_T}yes" >&6
3047 elif test "$wxUSE_LIBPNG" = no; then
3048 echo "$as_me:$LINENO: result: no" >&5
3049 echo "${ECHO_T}no" >&6
3050 elif test "$wxUSE_LIBPNG" = sys; then
3051 echo "$as_me:$LINENO: result: system version" >&5
3052 echo "${ECHO_T}system version" >&6
3053 elif test "$wxUSE_LIBPNG" = builtin; then
3054 echo "$as_me:$LINENO: result: builtin version" >&5
3055 echo "${ECHO_T}builtin version" >&6
3056 else
3057 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3058 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3059 { (exit 1); exit 1; }; }
3060 fi
3061
3062
3063 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3064 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3065 no_cache=0
3066
3067 # Check whether --with-libjpeg or --without-libjpeg was given.
3068 if test "${with_libjpeg+set}" = set; then
3069 withval="$with_libjpeg"
3070
3071 if test "$withval" = yes; then
3072 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3073 elif test "$withval" = no; then
3074 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3075 elif test "$withval" = sys; then
3076 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3077 elif test "$withval" = builtin; then
3078 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3079 else
3080 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3081 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3082 { (exit 1); exit 1; }; }
3083 fi
3084
3085 else
3086
3087 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3088 if test "x$LINE" != x ; then
3089 eval "DEFAULT_$LINE"
3090 else
3091 no_cache=1
3092 fi
3093
3094 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3095
3096 fi;
3097
3098 eval "$ac_cv_use_libjpeg"
3099 if test "$no_cache" != 1; then
3100 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3101 fi
3102
3103 if test "$wxUSE_LIBJPEG" = yes; then
3104 echo "$as_me:$LINENO: result: yes" >&5
3105 echo "${ECHO_T}yes" >&6
3106 elif test "$wxUSE_LIBJPEG" = no; then
3107 echo "$as_me:$LINENO: result: no" >&5
3108 echo "${ECHO_T}no" >&6
3109 elif test "$wxUSE_LIBJPEG" = sys; then
3110 echo "$as_me:$LINENO: result: system version" >&5
3111 echo "${ECHO_T}system version" >&6
3112 elif test "$wxUSE_LIBJPEG" = builtin; then
3113 echo "$as_me:$LINENO: result: builtin version" >&5
3114 echo "${ECHO_T}builtin version" >&6
3115 else
3116 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3117 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3118 { (exit 1); exit 1; }; }
3119 fi
3120
3121
3122 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3123 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3124 no_cache=0
3125
3126 # Check whether --with-libtiff or --without-libtiff was given.
3127 if test "${with_libtiff+set}" = set; then
3128 withval="$with_libtiff"
3129
3130 if test "$withval" = yes; then
3131 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3132 elif test "$withval" = no; then
3133 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3134 elif test "$withval" = sys; then
3135 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3136 elif test "$withval" = builtin; then
3137 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3138 else
3139 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3140 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3141 { (exit 1); exit 1; }; }
3142 fi
3143
3144 else
3145
3146 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3147 if test "x$LINE" != x ; then
3148 eval "DEFAULT_$LINE"
3149 else
3150 no_cache=1
3151 fi
3152
3153 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3154
3155 fi;
3156
3157 eval "$ac_cv_use_libtiff"
3158 if test "$no_cache" != 1; then
3159 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3160 fi
3161
3162 if test "$wxUSE_LIBTIFF" = yes; then
3163 echo "$as_me:$LINENO: result: yes" >&5
3164 echo "${ECHO_T}yes" >&6
3165 elif test "$wxUSE_LIBTIFF" = no; then
3166 echo "$as_me:$LINENO: result: no" >&5
3167 echo "${ECHO_T}no" >&6
3168 elif test "$wxUSE_LIBTIFF" = sys; then
3169 echo "$as_me:$LINENO: result: system version" >&5
3170 echo "${ECHO_T}system version" >&6
3171 elif test "$wxUSE_LIBTIFF" = builtin; then
3172 echo "$as_me:$LINENO: result: builtin version" >&5
3173 echo "${ECHO_T}builtin version" >&6
3174 else
3175 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3176 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3177 { (exit 1); exit 1; }; }
3178 fi
3179
3180
3181 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3182 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3183 no_cache=0
3184
3185 # Check whether --with-libxpm or --without-libxpm was given.
3186 if test "${with_libxpm+set}" = set; then
3187 withval="$with_libxpm"
3188
3189 if test "$withval" = yes; then
3190 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3191 elif test "$withval" = no; then
3192 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3193 elif test "$withval" = sys; then
3194 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3195 elif test "$withval" = builtin; then
3196 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3197 else
3198 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3199 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3200 { (exit 1); exit 1; }; }
3201 fi
3202
3203 else
3204
3205 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3206 if test "x$LINE" != x ; then
3207 eval "DEFAULT_$LINE"
3208 else
3209 no_cache=1
3210 fi
3211
3212 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3213
3214 fi;
3215
3216 eval "$ac_cv_use_libxpm"
3217 if test "$no_cache" != 1; then
3218 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3219 fi
3220
3221 if test "$wxUSE_LIBXPM" = yes; then
3222 echo "$as_me:$LINENO: result: yes" >&5
3223 echo "${ECHO_T}yes" >&6
3224 elif test "$wxUSE_LIBXPM" = no; then
3225 echo "$as_me:$LINENO: result: no" >&5
3226 echo "${ECHO_T}no" >&6
3227 elif test "$wxUSE_LIBXPM" = sys; then
3228 echo "$as_me:$LINENO: result: system version" >&5
3229 echo "${ECHO_T}system version" >&6
3230 elif test "$wxUSE_LIBXPM" = builtin; then
3231 echo "$as_me:$LINENO: result: builtin version" >&5
3232 echo "${ECHO_T}builtin version" >&6
3233 else
3234 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3235 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3236 { (exit 1); exit 1; }; }
3237 fi
3238
3239
3240 withstring=
3241 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3242 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3243 no_cache=0
3244
3245 # Check whether --with-libmspack or --without-libmspack was given.
3246 if test "${with_libmspack+set}" = set; then
3247 withval="$with_libmspack"
3248
3249 if test "$withval" = yes; then
3250 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3251 else
3252 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3253 fi
3254
3255 else
3256
3257 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3258 if test "x$LINE" != x ; then
3259 eval "DEFAULT_$LINE"
3260 else
3261 no_cache=1
3262 fi
3263
3264 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3265
3266 fi;
3267
3268 eval "$ac_cv_use_libmspack"
3269 if test "$no_cache" != 1; then
3270 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3271 fi
3272
3273 if test "$wxUSE_LIBMSPACK" = yes; then
3274 echo "$as_me:$LINENO: result: yes" >&5
3275 echo "${ECHO_T}yes" >&6
3276 else
3277 echo "$as_me:$LINENO: result: no" >&5
3278 echo "${ECHO_T}no" >&6
3279 fi
3280
3281
3282 withstring=
3283 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3284 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3285 no_cache=0
3286
3287 # Check whether --with-sdl or --without-sdl was given.
3288 if test "${with_sdl+set}" = set; then
3289 withval="$with_sdl"
3290
3291 if test "$withval" = yes; then
3292 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3293 else
3294 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3295 fi
3296
3297 else
3298
3299 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3300 if test "x$LINE" != x ; then
3301 eval "DEFAULT_$LINE"
3302 else
3303 no_cache=1
3304 fi
3305
3306 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3307
3308 fi;
3309
3310 eval "$ac_cv_use_sdl"
3311 if test "$no_cache" != 1; then
3312 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3313 fi
3314
3315 if test "$wxUSE_LIBSDL" = yes; then
3316 echo "$as_me:$LINENO: result: yes" >&5
3317 echo "${ECHO_T}yes" >&6
3318 else
3319 echo "$as_me:$LINENO: result: no" >&5
3320 echo "${ECHO_T}no" >&6
3321 fi
3322
3323
3324 withstring=
3325 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3326 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3327 no_cache=0
3328
3329 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3330 if test "${with_gnomeprint+set}" = set; then
3331 withval="$with_gnomeprint"
3332
3333 if test "$withval" = yes; then
3334 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3335 else
3336 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3337 fi
3338
3339 else
3340
3341 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3342 if test "x$LINE" != x ; then
3343 eval "DEFAULT_$LINE"
3344 else
3345 no_cache=1
3346 fi
3347
3348 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3349
3350 fi;
3351
3352 eval "$ac_cv_use_gnomeprint"
3353 if test "$no_cache" != 1; then
3354 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3355 fi
3356
3357 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3358 echo "$as_me:$LINENO: result: yes" >&5
3359 echo "${ECHO_T}yes" >&6
3360 else
3361 echo "$as_me:$LINENO: result: no" >&5
3362 echo "${ECHO_T}no" >&6
3363 fi
3364
3365
3366 withstring=
3367 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3368 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3369 no_cache=0
3370
3371 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3372 if test "${with_gnomevfs+set}" = set; then
3373 withval="$with_gnomevfs"
3374
3375 if test "$withval" = yes; then
3376 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3377 else
3378 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3379 fi
3380
3381 else
3382
3383 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3384 if test "x$LINE" != x ; then
3385 eval "DEFAULT_$LINE"
3386 else
3387 no_cache=1
3388 fi
3389
3390 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3391
3392 fi;
3393
3394 eval "$ac_cv_use_gnomevfs"
3395 if test "$no_cache" != 1; then
3396 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3397 fi
3398
3399 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3400 echo "$as_me:$LINENO: result: yes" >&5
3401 echo "${ECHO_T}yes" >&6
3402 else
3403 echo "$as_me:$LINENO: result: no" >&5
3404 echo "${ECHO_T}no" >&6
3405 fi
3406
3407
3408 withstring=
3409 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3410 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3411 no_cache=0
3412
3413 # Check whether --with-hildon or --without-hildon was given.
3414 if test "${with_hildon+set}" = set; then
3415 withval="$with_hildon"
3416
3417 if test "$withval" = yes; then
3418 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3419 else
3420 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3421 fi
3422
3423 else
3424
3425 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3426 if test "x$LINE" != x ; then
3427 eval "DEFAULT_$LINE"
3428 else
3429 no_cache=1
3430 fi
3431
3432 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3433
3434 fi;
3435
3436 eval "$ac_cv_use_hildon"
3437 if test "$no_cache" != 1; then
3438 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3439 fi
3440
3441 if test "$wxUSE_LIBHILDON" = yes; then
3442 echo "$as_me:$LINENO: result: yes" >&5
3443 echo "${ECHO_T}yes" >&6
3444 else
3445 echo "$as_me:$LINENO: result: no" >&5
3446 echo "${ECHO_T}no" >&6
3447 fi
3448
3449
3450 withstring=
3451 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3452 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3453 no_cache=0
3454
3455 # Check whether --with-opengl or --without-opengl was given.
3456 if test "${with_opengl+set}" = set; then
3457 withval="$with_opengl"
3458
3459 if test "$withval" = yes; then
3460 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3461 else
3462 ac_cv_use_opengl='wxUSE_OPENGL=no'
3463 fi
3464
3465 else
3466
3467 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3468 if test "x$LINE" != x ; then
3469 eval "DEFAULT_$LINE"
3470 else
3471 no_cache=1
3472 fi
3473
3474 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3475
3476 fi;
3477
3478 eval "$ac_cv_use_opengl"
3479 if test "$no_cache" != 1; then
3480 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3481 fi
3482
3483 if test "$wxUSE_OPENGL" = yes; then
3484 echo "$as_me:$LINENO: result: yes" >&5
3485 echo "${ECHO_T}yes" >&6
3486 else
3487 echo "$as_me:$LINENO: result: no" >&5
3488 echo "${ECHO_T}no" >&6
3489 fi
3490
3491
3492 if test "$wxUSE_UNIVERSAL" = "yes"; then
3493
3494 # Check whether --with-themes or --without-themes was given.
3495 if test "${with_themes+set}" = set; then
3496 withval="$with_themes"
3497 wxUNIV_THEMES="$withval"
3498 fi;
3499 fi
3500
3501 fi
3502
3503
3504 withstring=
3505 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3506 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3507 no_cache=0
3508
3509 # Check whether --with-dmalloc or --without-dmalloc was given.
3510 if test "${with_dmalloc+set}" = set; then
3511 withval="$with_dmalloc"
3512
3513 if test "$withval" = yes; then
3514 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3515 else
3516 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3517 fi
3518
3519 else
3520
3521 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3522 if test "x$LINE" != x ; then
3523 eval "DEFAULT_$LINE"
3524 else
3525 no_cache=1
3526 fi
3527
3528 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3529
3530 fi;
3531
3532 eval "$ac_cv_use_dmalloc"
3533 if test "$no_cache" != 1; then
3534 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3535 fi
3536
3537 if test "$wxUSE_DMALLOC" = yes; then
3538 echo "$as_me:$LINENO: result: yes" >&5
3539 echo "${ECHO_T}yes" >&6
3540 else
3541 echo "$as_me:$LINENO: result: no" >&5
3542 echo "${ECHO_T}no" >&6
3543 fi
3544
3545
3546 echo "$as_me:$LINENO: checking for --with-regex" >&5
3547 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3548 no_cache=0
3549
3550 # Check whether --with-regex or --without-regex was given.
3551 if test "${with_regex+set}" = set; then
3552 withval="$with_regex"
3553
3554 if test "$withval" = yes; then
3555 ac_cv_use_regex='wxUSE_REGEX=yes'
3556 elif test "$withval" = no; then
3557 ac_cv_use_regex='wxUSE_REGEX=no'
3558 elif test "$withval" = sys; then
3559 ac_cv_use_regex='wxUSE_REGEX=sys'
3560 elif test "$withval" = builtin; then
3561 ac_cv_use_regex='wxUSE_REGEX=builtin'
3562 else
3563 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3564 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3565 { (exit 1); exit 1; }; }
3566 fi
3567
3568 else
3569
3570 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3571 if test "x$LINE" != x ; then
3572 eval "DEFAULT_$LINE"
3573 else
3574 no_cache=1
3575 fi
3576
3577 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3578
3579 fi;
3580
3581 eval "$ac_cv_use_regex"
3582 if test "$no_cache" != 1; then
3583 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3584 fi
3585
3586 if test "$wxUSE_REGEX" = yes; then
3587 echo "$as_me:$LINENO: result: yes" >&5
3588 echo "${ECHO_T}yes" >&6
3589 elif test "$wxUSE_REGEX" = no; then
3590 echo "$as_me:$LINENO: result: no" >&5
3591 echo "${ECHO_T}no" >&6
3592 elif test "$wxUSE_REGEX" = sys; then
3593 echo "$as_me:$LINENO: result: system version" >&5
3594 echo "${ECHO_T}system version" >&6
3595 elif test "$wxUSE_REGEX" = builtin; then
3596 echo "$as_me:$LINENO: result: builtin version" >&5
3597 echo "${ECHO_T}builtin version" >&6
3598 else
3599 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3600 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3601 { (exit 1); exit 1; }; }
3602 fi
3603
3604
3605 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3606 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3607 no_cache=0
3608
3609 # Check whether --with-zlib or --without-zlib was given.
3610 if test "${with_zlib+set}" = set; then
3611 withval="$with_zlib"
3612
3613 if test "$withval" = yes; then
3614 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3615 elif test "$withval" = no; then
3616 ac_cv_use_zlib='wxUSE_ZLIB=no'
3617 elif test "$withval" = sys; then
3618 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3619 elif test "$withval" = builtin; then
3620 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3621 else
3622 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3623 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3624 { (exit 1); exit 1; }; }
3625 fi
3626
3627 else
3628
3629 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3630 if test "x$LINE" != x ; then
3631 eval "DEFAULT_$LINE"
3632 else
3633 no_cache=1
3634 fi
3635
3636 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3637
3638 fi;
3639
3640 eval "$ac_cv_use_zlib"
3641 if test "$no_cache" != 1; then
3642 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3643 fi
3644
3645 if test "$wxUSE_ZLIB" = yes; then
3646 echo "$as_me:$LINENO: result: yes" >&5
3647 echo "${ECHO_T}yes" >&6
3648 elif test "$wxUSE_ZLIB" = no; then
3649 echo "$as_me:$LINENO: result: no" >&5
3650 echo "${ECHO_T}no" >&6
3651 elif test "$wxUSE_ZLIB" = sys; then
3652 echo "$as_me:$LINENO: result: system version" >&5
3653 echo "${ECHO_T}system version" >&6
3654 elif test "$wxUSE_ZLIB" = builtin; then
3655 echo "$as_me:$LINENO: result: builtin version" >&5
3656 echo "${ECHO_T}builtin version" >&6
3657 else
3658 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3659 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3660 { (exit 1); exit 1; }; }
3661 fi
3662
3663
3664 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3665 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3666 no_cache=0
3667
3668 # Check whether --with-odbc or --without-odbc was given.
3669 if test "${with_odbc+set}" = set; then
3670 withval="$with_odbc"
3671
3672 if test "$withval" = yes; then
3673 ac_cv_use_odbc='wxUSE_ODBC=yes'
3674 elif test "$withval" = no; then
3675 ac_cv_use_odbc='wxUSE_ODBC=no'
3676 elif test "$withval" = sys; then
3677 ac_cv_use_odbc='wxUSE_ODBC=sys'
3678 elif test "$withval" = builtin; then
3679 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3680 else
3681 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3682 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3683 { (exit 1); exit 1; }; }
3684 fi
3685
3686 else
3687
3688 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3689 if test "x$LINE" != x ; then
3690 eval "DEFAULT_$LINE"
3691 else
3692 no_cache=1
3693 fi
3694
3695 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3696
3697 fi;
3698
3699 eval "$ac_cv_use_odbc"
3700 if test "$no_cache" != 1; then
3701 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3702 fi
3703
3704 if test "$wxUSE_ODBC" = yes; then
3705 echo "$as_me:$LINENO: result: yes" >&5
3706 echo "${ECHO_T}yes" >&6
3707 elif test "$wxUSE_ODBC" = no; then
3708 echo "$as_me:$LINENO: result: no" >&5
3709 echo "${ECHO_T}no" >&6
3710 elif test "$wxUSE_ODBC" = sys; then
3711 echo "$as_me:$LINENO: result: system version" >&5
3712 echo "${ECHO_T}system version" >&6
3713 elif test "$wxUSE_ODBC" = builtin; then
3714 echo "$as_me:$LINENO: result: builtin version" >&5
3715 echo "${ECHO_T}builtin version" >&6
3716 else
3717 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3718 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3719 { (exit 1); exit 1; }; }
3720 fi
3721
3722
3723 echo "$as_me:$LINENO: checking for --with-expat" >&5
3724 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3725 no_cache=0
3726
3727 # Check whether --with-expat or --without-expat was given.
3728 if test "${with_expat+set}" = set; then
3729 withval="$with_expat"
3730
3731 if test "$withval" = yes; then
3732 ac_cv_use_expat='wxUSE_EXPAT=yes'
3733 elif test "$withval" = no; then
3734 ac_cv_use_expat='wxUSE_EXPAT=no'
3735 elif test "$withval" = sys; then
3736 ac_cv_use_expat='wxUSE_EXPAT=sys'
3737 elif test "$withval" = builtin; then
3738 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3739 else
3740 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3741 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3742 { (exit 1); exit 1; }; }
3743 fi
3744
3745 else
3746
3747 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3748 if test "x$LINE" != x ; then
3749 eval "DEFAULT_$LINE"
3750 else
3751 no_cache=1
3752 fi
3753
3754 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3755
3756 fi;
3757
3758 eval "$ac_cv_use_expat"
3759 if test "$no_cache" != 1; then
3760 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3761 fi
3762
3763 if test "$wxUSE_EXPAT" = yes; then
3764 echo "$as_me:$LINENO: result: yes" >&5
3765 echo "${ECHO_T}yes" >&6
3766 elif test "$wxUSE_EXPAT" = no; then
3767 echo "$as_me:$LINENO: result: no" >&5
3768 echo "${ECHO_T}no" >&6
3769 elif test "$wxUSE_EXPAT" = sys; then
3770 echo "$as_me:$LINENO: result: system version" >&5
3771 echo "${ECHO_T}system version" >&6
3772 elif test "$wxUSE_EXPAT" = builtin; then
3773 echo "$as_me:$LINENO: result: builtin version" >&5
3774 echo "${ECHO_T}builtin version" >&6
3775 else
3776 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3777 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3778 { (exit 1); exit 1; }; }
3779 fi
3780
3781
3782
3783
3784 enablestring=
3785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3786 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3787 no_cache=0
3788 # Check whether --enable-shared or --disable-shared was given.
3789 if test "${enable_shared+set}" = set; then
3790 enableval="$enable_shared"
3791
3792 if test "$enableval" = yes; then
3793 ac_cv_use_shared='wxUSE_SHARED=yes'
3794 else
3795 ac_cv_use_shared='wxUSE_SHARED=no'
3796 fi
3797
3798 else
3799
3800 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3801 if test "x$LINE" != x ; then
3802 eval "DEFAULT_$LINE"
3803 else
3804 no_cache=1
3805 fi
3806
3807 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3808
3809 fi;
3810
3811 eval "$ac_cv_use_shared"
3812 if test "$no_cache" != 1; then
3813 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3814 fi
3815
3816 if test "$wxUSE_SHARED" = yes; then
3817 echo "$as_me:$LINENO: result: yes" >&5
3818 echo "${ECHO_T}yes" >&6
3819 else
3820 echo "$as_me:$LINENO: result: no" >&5
3821 echo "${ECHO_T}no" >&6
3822 fi
3823
3824
3825 enablestring=
3826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3827 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3828 no_cache=0
3829 # Check whether --enable-optimise or --disable-optimise was given.
3830 if test "${enable_optimise+set}" = set; then
3831 enableval="$enable_optimise"
3832
3833 if test "$enableval" = yes; then
3834 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3835 else
3836 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3837 fi
3838
3839 else
3840
3841 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3842 if test "x$LINE" != x ; then
3843 eval "DEFAULT_$LINE"
3844 else
3845 no_cache=1
3846 fi
3847
3848 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3849
3850 fi;
3851
3852 eval "$ac_cv_use_optimise"
3853 if test "$no_cache" != 1; then
3854 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3855 fi
3856
3857 if test "$wxUSE_OPTIMISE" = yes; then
3858 echo "$as_me:$LINENO: result: yes" >&5
3859 echo "${ECHO_T}yes" >&6
3860 else
3861 echo "$as_me:$LINENO: result: no" >&5
3862 echo "${ECHO_T}no" >&6
3863 fi
3864
3865
3866 enablestring=
3867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3868 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3869 no_cache=0
3870 # Check whether --enable-debug or --disable-debug was given.
3871 if test "${enable_debug+set}" = set; then
3872 enableval="$enable_debug"
3873
3874 if test "$enableval" = yes; then
3875 ac_cv_use_debug='wxUSE_DEBUG=yes'
3876 else
3877 ac_cv_use_debug='wxUSE_DEBUG=no'
3878 fi
3879
3880 else
3881
3882 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3883 if test "x$LINE" != x ; then
3884 eval "DEFAULT_$LINE"
3885 else
3886 no_cache=1
3887 fi
3888
3889 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3890
3891 fi;
3892
3893 eval "$ac_cv_use_debug"
3894 if test "$no_cache" != 1; then
3895 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3896 fi
3897
3898 if test "$wxUSE_DEBUG" = yes; then
3899 echo "$as_me:$LINENO: result: yes" >&5
3900 echo "${ECHO_T}yes" >&6
3901 else
3902 echo "$as_me:$LINENO: result: no" >&5
3903 echo "${ECHO_T}no" >&6
3904 fi
3905
3906
3907 enablestring=
3908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3909 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3910 no_cache=0
3911 # Check whether --enable-stl or --disable-stl was given.
3912 if test "${enable_stl+set}" = set; then
3913 enableval="$enable_stl"
3914
3915 if test "$enableval" = yes; then
3916 ac_cv_use_stl='wxUSE_STL=yes'
3917 else
3918 ac_cv_use_stl='wxUSE_STL=no'
3919 fi
3920
3921 else
3922
3923 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3924 if test "x$LINE" != x ; then
3925 eval "DEFAULT_$LINE"
3926 else
3927 no_cache=1
3928 fi
3929
3930 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3931
3932 fi;
3933
3934 eval "$ac_cv_use_stl"
3935 if test "$no_cache" != 1; then
3936 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3937 fi
3938
3939 if test "$wxUSE_STL" = yes; then
3940 echo "$as_me:$LINENO: result: yes" >&5
3941 echo "${ECHO_T}yes" >&6
3942 else
3943 echo "$as_me:$LINENO: result: no" >&5
3944 echo "${ECHO_T}no" >&6
3945 fi
3946
3947 if test "$USE_OS2" = "1"; then
3948 DEFAULT_wxUSE_OMF=no
3949
3950 enablestring=
3951 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3952 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3953 no_cache=0
3954 # Check whether --enable-omf or --disable-omf was given.
3955 if test "${enable_omf+set}" = set; then
3956 enableval="$enable_omf"
3957
3958 if test "$enableval" = yes; then
3959 ac_cv_use_omf='wxUSE_OMF=yes'
3960 else
3961 ac_cv_use_omf='wxUSE_OMF=no'
3962 fi
3963
3964 else
3965
3966 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3967 if test "x$LINE" != x ; then
3968 eval "DEFAULT_$LINE"
3969 else
3970 no_cache=1
3971 fi
3972
3973 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3974
3975 fi;
3976
3977 eval "$ac_cv_use_omf"
3978 if test "$no_cache" != 1; then
3979 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3980 fi
3981
3982 if test "$wxUSE_OMF" = yes; then
3983 echo "$as_me:$LINENO: result: yes" >&5
3984 echo "${ECHO_T}yes" >&6
3985 else
3986 echo "$as_me:$LINENO: result: no" >&5
3987 echo "${ECHO_T}no" >&6
3988 fi
3989
3990 fi
3991
3992 if test "$wxUSE_DEBUG" = "yes"; then
3993 DEFAULT_wxUSE_DEBUG_FLAG=yes
3994 DEFAULT_wxUSE_DEBUG_INFO=yes
3995 BUILD=debug
3996 elif test "$wxUSE_DEBUG" = "no"; then
3997 DEFAULT_wxUSE_DEBUG_FLAG=no
3998 DEFAULT_wxUSE_DEBUG_INFO=no
3999 BUILD=release
4000 fi
4001
4002
4003 enablestring=
4004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4005 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4006 no_cache=0
4007 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4008 if test "${enable_debug_flag+set}" = set; then
4009 enableval="$enable_debug_flag"
4010
4011 if test "$enableval" = yes; then
4012 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4013 else
4014 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4015 fi
4016
4017 else
4018
4019 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4020 if test "x$LINE" != x ; then
4021 eval "DEFAULT_$LINE"
4022 else
4023 no_cache=1
4024 fi
4025
4026 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4027
4028 fi;
4029
4030 eval "$ac_cv_use_debug_flag"
4031 if test "$no_cache" != 1; then
4032 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4033 fi
4034
4035 if test "$wxUSE_DEBUG_FLAG" = yes; then
4036 echo "$as_me:$LINENO: result: yes" >&5
4037 echo "${ECHO_T}yes" >&6
4038 else
4039 echo "$as_me:$LINENO: result: no" >&5
4040 echo "${ECHO_T}no" >&6
4041 fi
4042
4043
4044 enablestring=
4045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4046 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4047 no_cache=0
4048 # Check whether --enable-debug_info or --disable-debug_info was given.
4049 if test "${enable_debug_info+set}" = set; then
4050 enableval="$enable_debug_info"
4051
4052 if test "$enableval" = yes; then
4053 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4054 else
4055 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4056 fi
4057
4058 else
4059
4060 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4061 if test "x$LINE" != x ; then
4062 eval "DEFAULT_$LINE"
4063 else
4064 no_cache=1
4065 fi
4066
4067 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4068
4069 fi;
4070
4071 eval "$ac_cv_use_debug_info"
4072 if test "$no_cache" != 1; then
4073 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4074 fi
4075
4076 if test "$wxUSE_DEBUG_INFO" = yes; then
4077 echo "$as_me:$LINENO: result: yes" >&5
4078 echo "${ECHO_T}yes" >&6
4079 else
4080 echo "$as_me:$LINENO: result: no" >&5
4081 echo "${ECHO_T}no" >&6
4082 fi
4083
4084
4085 enablestring=
4086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4087 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4088 no_cache=0
4089 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4090 if test "${enable_debug_gdb+set}" = set; then
4091 enableval="$enable_debug_gdb"
4092
4093 if test "$enableval" = yes; then
4094 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4095 else
4096 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4097 fi
4098
4099 else
4100
4101 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4102 if test "x$LINE" != x ; then
4103 eval "DEFAULT_$LINE"
4104 else
4105 no_cache=1
4106 fi
4107
4108 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4109
4110 fi;
4111
4112 eval "$ac_cv_use_debug_gdb"
4113 if test "$no_cache" != 1; then
4114 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4115 fi
4116
4117 if test "$wxUSE_DEBUG_GDB" = yes; then
4118 echo "$as_me:$LINENO: result: yes" >&5
4119 echo "${ECHO_T}yes" >&6
4120 else
4121 echo "$as_me:$LINENO: result: no" >&5
4122 echo "${ECHO_T}no" >&6
4123 fi
4124
4125
4126 enablestring=
4127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4128 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4129 no_cache=0
4130 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4131 if test "${enable_debug_cntxt+set}" = set; then
4132 enableval="$enable_debug_cntxt"
4133
4134 if test "$enableval" = yes; then
4135 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4136 else
4137 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4138 fi
4139
4140 else
4141
4142 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4143 if test "x$LINE" != x ; then
4144 eval "DEFAULT_$LINE"
4145 else
4146 no_cache=1
4147 fi
4148
4149 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4150
4151 fi;
4152
4153 eval "$ac_cv_use_debug_cntxt"
4154 if test "$no_cache" != 1; then
4155 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4156 fi
4157
4158 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4159 echo "$as_me:$LINENO: result: yes" >&5
4160 echo "${ECHO_T}yes" >&6
4161 else
4162 echo "$as_me:$LINENO: result: no" >&5
4163 echo "${ECHO_T}no" >&6
4164 fi
4165
4166
4167 enablestring=
4168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4169 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4170 no_cache=0
4171 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4172 if test "${enable_mem_tracing+set}" = set; then
4173 enableval="$enable_mem_tracing"
4174
4175 if test "$enableval" = yes; then
4176 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4177 else
4178 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4179 fi
4180
4181 else
4182
4183 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4184 if test "x$LINE" != x ; then
4185 eval "DEFAULT_$LINE"
4186 else
4187 no_cache=1
4188 fi
4189
4190 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4191
4192 fi;
4193
4194 eval "$ac_cv_use_mem_tracing"
4195 if test "$no_cache" != 1; then
4196 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4197 fi
4198
4199 if test "$wxUSE_MEM_TRACING" = yes; then
4200 echo "$as_me:$LINENO: result: yes" >&5
4201 echo "${ECHO_T}yes" >&6
4202 else
4203 echo "$as_me:$LINENO: result: no" >&5
4204 echo "${ECHO_T}no" >&6
4205 fi
4206
4207
4208 enablestring=
4209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4210 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4211 no_cache=0
4212 # Check whether --enable-profile or --disable-profile was given.
4213 if test "${enable_profile+set}" = set; then
4214 enableval="$enable_profile"
4215
4216 if test "$enableval" = yes; then
4217 ac_cv_use_profile='wxUSE_PROFILE=yes'
4218 else
4219 ac_cv_use_profile='wxUSE_PROFILE=no'
4220 fi
4221
4222 else
4223
4224 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4225 if test "x$LINE" != x ; then
4226 eval "DEFAULT_$LINE"
4227 else
4228 no_cache=1
4229 fi
4230
4231 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4232
4233 fi;
4234
4235 eval "$ac_cv_use_profile"
4236 if test "$no_cache" != 1; then
4237 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4238 fi
4239
4240 if test "$wxUSE_PROFILE" = yes; then
4241 echo "$as_me:$LINENO: result: yes" >&5
4242 echo "${ECHO_T}yes" >&6
4243 else
4244 echo "$as_me:$LINENO: result: no" >&5
4245 echo "${ECHO_T}no" >&6
4246 fi
4247
4248
4249 enablestring=
4250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4251 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4252 no_cache=0
4253 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4254 if test "${enable_no_rtti+set}" = set; then
4255 enableval="$enable_no_rtti"
4256
4257 if test "$enableval" = yes; then
4258 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4259 else
4260 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4261 fi
4262
4263 else
4264
4265 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4266 if test "x$LINE" != x ; then
4267 eval "DEFAULT_$LINE"
4268 else
4269 no_cache=1
4270 fi
4271
4272 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4273
4274 fi;
4275
4276 eval "$ac_cv_use_no_rtti"
4277 if test "$no_cache" != 1; then
4278 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4279 fi
4280
4281 if test "$wxUSE_NO_RTTI" = yes; then
4282 echo "$as_me:$LINENO: result: yes" >&5
4283 echo "${ECHO_T}yes" >&6
4284 else
4285 echo "$as_me:$LINENO: result: no" >&5
4286 echo "${ECHO_T}no" >&6
4287 fi
4288
4289
4290 enablestring=
4291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4292 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4293 no_cache=0
4294 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4295 if test "${enable_no_exceptions+set}" = set; then
4296 enableval="$enable_no_exceptions"
4297
4298 if test "$enableval" = yes; then
4299 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4300 else
4301 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4302 fi
4303
4304 else
4305
4306 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4307 if test "x$LINE" != x ; then
4308 eval "DEFAULT_$LINE"
4309 else
4310 no_cache=1
4311 fi
4312
4313 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4314
4315 fi;
4316
4317 eval "$ac_cv_use_no_exceptions"
4318 if test "$no_cache" != 1; then
4319 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4320 fi
4321
4322 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4323 echo "$as_me:$LINENO: result: yes" >&5
4324 echo "${ECHO_T}yes" >&6
4325 else
4326 echo "$as_me:$LINENO: result: no" >&5
4327 echo "${ECHO_T}no" >&6
4328 fi
4329
4330
4331 enablestring=
4332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4333 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4334 no_cache=0
4335 # Check whether --enable-permissive or --disable-permissive was given.
4336 if test "${enable_permissive+set}" = set; then
4337 enableval="$enable_permissive"
4338
4339 if test "$enableval" = yes; then
4340 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4341 else
4342 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4343 fi
4344
4345 else
4346
4347 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4348 if test "x$LINE" != x ; then
4349 eval "DEFAULT_$LINE"
4350 else
4351 no_cache=1
4352 fi
4353
4354 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4355
4356 fi;
4357
4358 eval "$ac_cv_use_permissive"
4359 if test "$no_cache" != 1; then
4360 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4361 fi
4362
4363 if test "$wxUSE_PERMISSIVE" = yes; then
4364 echo "$as_me:$LINENO: result: yes" >&5
4365 echo "${ECHO_T}yes" >&6
4366 else
4367 echo "$as_me:$LINENO: result: no" >&5
4368 echo "${ECHO_T}no" >&6
4369 fi
4370
4371
4372 enablestring=
4373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4374 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4375 no_cache=0
4376 # Check whether --enable-no_deps or --disable-no_deps was given.
4377 if test "${enable_no_deps+set}" = set; then
4378 enableval="$enable_no_deps"
4379
4380 if test "$enableval" = yes; then
4381 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4382 else
4383 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4384 fi
4385
4386 else
4387
4388 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4389 if test "x$LINE" != x ; then
4390 eval "DEFAULT_$LINE"
4391 else
4392 no_cache=1
4393 fi
4394
4395 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4396
4397 fi;
4398
4399 eval "$ac_cv_use_no_deps"
4400 if test "$no_cache" != 1; then
4401 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4402 fi
4403
4404 if test "$wxUSE_NO_DEPS" = yes; then
4405 echo "$as_me:$LINENO: result: yes" >&5
4406 echo "${ECHO_T}yes" >&6
4407 else
4408 echo "$as_me:$LINENO: result: no" >&5
4409 echo "${ECHO_T}no" >&6
4410 fi
4411
4412
4413 enablestring=
4414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4415 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4416 no_cache=0
4417 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4418 if test "${enable_universal_binary+set}" = set; then
4419 enableval="$enable_universal_binary"
4420
4421 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
4422
4423 else
4424
4425 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4426 if test "x$LINE" != x ; then
4427 eval "DEFAULT_$LINE"
4428 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4429 else
4430 no_cache=1
4431 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
4432 fi
4433
4434 fi;
4435
4436 eval "$wx_cv_use_universal_binary"
4437 if test "$no_cache" != 1; then
4438 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4439 fi
4440
4441 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4442 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4443
4444
4445
4446 enablestring=enable
4447 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4448 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4449 no_cache=0
4450 # Check whether --enable-compat24 or --disable-compat24 was given.
4451 if test "${enable_compat24+set}" = set; then
4452 enableval="$enable_compat24"
4453
4454 if test "$enableval" = yes; then
4455 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4456 else
4457 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4458 fi
4459
4460 else
4461
4462 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4463 if test "x$LINE" != x ; then
4464 eval "DEFAULT_$LINE"
4465 else
4466 no_cache=1
4467 fi
4468
4469 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4470
4471 fi;
4472
4473 eval "$ac_cv_use_compat24"
4474 if test "$no_cache" != 1; then
4475 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4476 fi
4477
4478 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4479 echo "$as_me:$LINENO: result: yes" >&5
4480 echo "${ECHO_T}yes" >&6
4481 else
4482 echo "$as_me:$LINENO: result: no" >&5
4483 echo "${ECHO_T}no" >&6
4484 fi
4485
4486
4487 enablestring=disable
4488 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4489 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4490 no_cache=0
4491 # Check whether --enable-compat26 or --disable-compat26 was given.
4492 if test "${enable_compat26+set}" = set; then
4493 enableval="$enable_compat26"
4494
4495 if test "$enableval" = yes; then
4496 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4497 else
4498 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4499 fi
4500
4501 else
4502
4503 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4504 if test "x$LINE" != x ; then
4505 eval "DEFAULT_$LINE"
4506 else
4507 no_cache=1
4508 fi
4509
4510 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4511
4512 fi;
4513
4514 eval "$ac_cv_use_compat26"
4515 if test "$no_cache" != 1; then
4516 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4517 fi
4518
4519 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4520 echo "$as_me:$LINENO: result: yes" >&5
4521 echo "${ECHO_T}yes" >&6
4522 else
4523 echo "$as_me:$LINENO: result: no" >&5
4524 echo "${ECHO_T}no" >&6
4525 fi
4526
4527
4528
4529 enablestring=
4530 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4531 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4532 no_cache=0
4533 # Check whether --enable-rpath or --disable-rpath was given.
4534 if test "${enable_rpath+set}" = set; then
4535 enableval="$enable_rpath"
4536
4537 if test "$enableval" = yes; then
4538 ac_cv_use_rpath='wxUSE_RPATH=yes'
4539 else
4540 ac_cv_use_rpath='wxUSE_RPATH=no'
4541 fi
4542
4543 else
4544
4545 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4546 if test "x$LINE" != x ; then
4547 eval "DEFAULT_$LINE"
4548 else
4549 no_cache=1
4550 fi
4551
4552 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4553
4554 fi;
4555
4556 eval "$ac_cv_use_rpath"
4557 if test "$no_cache" != 1; then
4558 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4559 fi
4560
4561 if test "$wxUSE_RPATH" = yes; then
4562 echo "$as_me:$LINENO: result: yes" >&5
4563 echo "${ECHO_T}yes" >&6
4564 else
4565 echo "$as_me:$LINENO: result: no" >&5
4566 echo "${ECHO_T}no" >&6
4567 fi
4568
4569
4570
4571
4572
4573 enablestring=
4574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4575 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4576 no_cache=0
4577 # Check whether --enable-intl or --disable-intl was given.
4578 if test "${enable_intl+set}" = set; then
4579 enableval="$enable_intl"
4580
4581 if test "$enableval" = yes; then
4582 ac_cv_use_intl='wxUSE_INTL=yes'
4583 else
4584 ac_cv_use_intl='wxUSE_INTL=no'
4585 fi
4586
4587 else
4588
4589 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4590 if test "x$LINE" != x ; then
4591 eval "DEFAULT_$LINE"
4592 else
4593 no_cache=1
4594 fi
4595
4596 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4597
4598 fi;
4599
4600 eval "$ac_cv_use_intl"
4601 if test "$no_cache" != 1; then
4602 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4603 fi
4604
4605 if test "$wxUSE_INTL" = yes; then
4606 echo "$as_me:$LINENO: result: yes" >&5
4607 echo "${ECHO_T}yes" >&6
4608 else
4609 echo "$as_me:$LINENO: result: no" >&5
4610 echo "${ECHO_T}no" >&6
4611 fi
4612
4613
4614 enablestring=
4615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4616 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4617 no_cache=0
4618 # Check whether --enable-config or --disable-config was given.
4619 if test "${enable_config+set}" = set; then
4620 enableval="$enable_config"
4621
4622 if test "$enableval" = yes; then
4623 ac_cv_use_config='wxUSE_CONFIG=yes'
4624 else
4625 ac_cv_use_config='wxUSE_CONFIG=no'
4626 fi
4627
4628 else
4629
4630 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4631 if test "x$LINE" != x ; then
4632 eval "DEFAULT_$LINE"
4633 else
4634 no_cache=1
4635 fi
4636
4637 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4638
4639 fi;
4640
4641 eval "$ac_cv_use_config"
4642 if test "$no_cache" != 1; then
4643 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4644 fi
4645
4646 if test "$wxUSE_CONFIG" = yes; then
4647 echo "$as_me:$LINENO: result: yes" >&5
4648 echo "${ECHO_T}yes" >&6
4649 else
4650 echo "$as_me:$LINENO: result: no" >&5
4651 echo "${ECHO_T}no" >&6
4652 fi
4653
4654
4655
4656 enablestring=
4657 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4658 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4659 no_cache=0
4660 # Check whether --enable-protocols or --disable-protocols was given.
4661 if test "${enable_protocols+set}" = set; then
4662 enableval="$enable_protocols"
4663
4664 if test "$enableval" = yes; then
4665 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4666 else
4667 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4668 fi
4669
4670 else
4671
4672 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4673 if test "x$LINE" != x ; then
4674 eval "DEFAULT_$LINE"
4675 else
4676 no_cache=1
4677 fi
4678
4679 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4680
4681 fi;
4682
4683 eval "$ac_cv_use_protocols"
4684 if test "$no_cache" != 1; then
4685 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4686 fi
4687
4688 if test "$wxUSE_PROTOCOL" = yes; then
4689 echo "$as_me:$LINENO: result: yes" >&5
4690 echo "${ECHO_T}yes" >&6
4691 else
4692 echo "$as_me:$LINENO: result: no" >&5
4693 echo "${ECHO_T}no" >&6
4694 fi
4695
4696
4697 enablestring=
4698 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4699 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4700 no_cache=0
4701 # Check whether --enable-ftp or --disable-ftp was given.
4702 if test "${enable_ftp+set}" = set; then
4703 enableval="$enable_ftp"
4704
4705 if test "$enableval" = yes; then
4706 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4707 else
4708 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4709 fi
4710
4711 else
4712
4713 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4714 if test "x$LINE" != x ; then
4715 eval "DEFAULT_$LINE"
4716 else
4717 no_cache=1
4718 fi
4719
4720 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4721
4722 fi;
4723
4724 eval "$ac_cv_use_ftp"
4725 if test "$no_cache" != 1; then
4726 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4727 fi
4728
4729 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4730 echo "$as_me:$LINENO: result: yes" >&5
4731 echo "${ECHO_T}yes" >&6
4732 else
4733 echo "$as_me:$LINENO: result: no" >&5
4734 echo "${ECHO_T}no" >&6
4735 fi
4736
4737
4738 enablestring=
4739 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4740 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4741 no_cache=0
4742 # Check whether --enable-http or --disable-http was given.
4743 if test "${enable_http+set}" = set; then
4744 enableval="$enable_http"
4745
4746 if test "$enableval" = yes; then
4747 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4748 else
4749 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4750 fi
4751
4752 else
4753
4754 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4755 if test "x$LINE" != x ; then
4756 eval "DEFAULT_$LINE"
4757 else
4758 no_cache=1
4759 fi
4760
4761 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4762
4763 fi;
4764
4765 eval "$ac_cv_use_http"
4766 if test "$no_cache" != 1; then
4767 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4768 fi
4769
4770 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4771 echo "$as_me:$LINENO: result: yes" >&5
4772 echo "${ECHO_T}yes" >&6
4773 else
4774 echo "$as_me:$LINENO: result: no" >&5
4775 echo "${ECHO_T}no" >&6
4776 fi
4777
4778
4779 enablestring=
4780 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4781 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4782 no_cache=0
4783 # Check whether --enable-fileproto or --disable-fileproto was given.
4784 if test "${enable_fileproto+set}" = set; then
4785 enableval="$enable_fileproto"
4786
4787 if test "$enableval" = yes; then
4788 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4789 else
4790 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4791 fi
4792
4793 else
4794
4795 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4796 if test "x$LINE" != x ; then
4797 eval "DEFAULT_$LINE"
4798 else
4799 no_cache=1
4800 fi
4801
4802 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4803
4804 fi;
4805
4806 eval "$ac_cv_use_fileproto"
4807 if test "$no_cache" != 1; then
4808 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4809 fi
4810
4811 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4812 echo "$as_me:$LINENO: result: yes" >&5
4813 echo "${ECHO_T}yes" >&6
4814 else
4815 echo "$as_me:$LINENO: result: no" >&5
4816 echo "${ECHO_T}no" >&6
4817 fi
4818
4819
4820 enablestring=
4821 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4822 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4823 no_cache=0
4824 # Check whether --enable-sockets or --disable-sockets was given.
4825 if test "${enable_sockets+set}" = set; then
4826 enableval="$enable_sockets"
4827
4828 if test "$enableval" = yes; then
4829 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4830 else
4831 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4832 fi
4833
4834 else
4835
4836 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4837 if test "x$LINE" != x ; then
4838 eval "DEFAULT_$LINE"
4839 else
4840 no_cache=1
4841 fi
4842
4843 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4844
4845 fi;
4846
4847 eval "$ac_cv_use_sockets"
4848 if test "$no_cache" != 1; then
4849 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4850 fi
4851
4852 if test "$wxUSE_SOCKETS" = yes; then
4853 echo "$as_me:$LINENO: result: yes" >&5
4854 echo "${ECHO_T}yes" >&6
4855 else
4856 echo "$as_me:$LINENO: result: no" >&5
4857 echo "${ECHO_T}no" >&6
4858 fi
4859
4860
4861 enablestring=
4862 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4863 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4864 no_cache=0
4865 # Check whether --enable-ole or --disable-ole was given.
4866 if test "${enable_ole+set}" = set; then
4867 enableval="$enable_ole"
4868
4869 if test "$enableval" = yes; then
4870 ac_cv_use_ole='wxUSE_OLE=yes'
4871 else
4872 ac_cv_use_ole='wxUSE_OLE=no'
4873 fi
4874
4875 else
4876
4877 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4878 if test "x$LINE" != x ; then
4879 eval "DEFAULT_$LINE"
4880 else
4881 no_cache=1
4882 fi
4883
4884 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4885
4886 fi;
4887
4888 eval "$ac_cv_use_ole"
4889 if test "$no_cache" != 1; then
4890 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4891 fi
4892
4893 if test "$wxUSE_OLE" = yes; then
4894 echo "$as_me:$LINENO: result: yes" >&5
4895 echo "${ECHO_T}yes" >&6
4896 else
4897 echo "$as_me:$LINENO: result: no" >&5
4898 echo "${ECHO_T}no" >&6
4899 fi
4900
4901
4902 enablestring=
4903 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4904 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4905 no_cache=0
4906 # Check whether --enable-dataobj or --disable-dataobj was given.
4907 if test "${enable_dataobj+set}" = set; then
4908 enableval="$enable_dataobj"
4909
4910 if test "$enableval" = yes; then
4911 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4912 else
4913 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4914 fi
4915
4916 else
4917
4918 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4919 if test "x$LINE" != x ; then
4920 eval "DEFAULT_$LINE"
4921 else
4922 no_cache=1
4923 fi
4924
4925 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4926
4927 fi;
4928
4929 eval "$ac_cv_use_dataobj"
4930 if test "$no_cache" != 1; then
4931 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4932 fi
4933
4934 if test "$wxUSE_DATAOBJ" = yes; then
4935 echo "$as_me:$LINENO: result: yes" >&5
4936 echo "${ECHO_T}yes" >&6
4937 else
4938 echo "$as_me:$LINENO: result: no" >&5
4939 echo "${ECHO_T}no" >&6
4940 fi
4941
4942
4943
4944 enablestring=
4945 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4946 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4947 no_cache=0
4948 # Check whether --enable-ipc or --disable-ipc was given.
4949 if test "${enable_ipc+set}" = set; then
4950 enableval="$enable_ipc"
4951
4952 if test "$enableval" = yes; then
4953 ac_cv_use_ipc='wxUSE_IPC=yes'
4954 else
4955 ac_cv_use_ipc='wxUSE_IPC=no'
4956 fi
4957
4958 else
4959
4960 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4961 if test "x$LINE" != x ; then
4962 eval "DEFAULT_$LINE"
4963 else
4964 no_cache=1
4965 fi
4966
4967 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4968
4969 fi;
4970
4971 eval "$ac_cv_use_ipc"
4972 if test "$no_cache" != 1; then
4973 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4974 fi
4975
4976 if test "$wxUSE_IPC" = yes; then
4977 echo "$as_me:$LINENO: result: yes" >&5
4978 echo "${ECHO_T}yes" >&6
4979 else
4980 echo "$as_me:$LINENO: result: no" >&5
4981 echo "${ECHO_T}no" >&6
4982 fi
4983
4984
4985
4986 enablestring=
4987 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4988 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4989 no_cache=0
4990 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4991 if test "${enable_apple_ieee+set}" = set; then
4992 enableval="$enable_apple_ieee"
4993
4994 if test "$enableval" = yes; then
4995 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4996 else
4997 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4998 fi
4999
5000 else
5001
5002 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5003 if test "x$LINE" != x ; then
5004 eval "DEFAULT_$LINE"
5005 else
5006 no_cache=1
5007 fi
5008
5009 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5010
5011 fi;
5012
5013 eval "$ac_cv_use_apple_ieee"
5014 if test "$no_cache" != 1; then
5015 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5016 fi
5017
5018 if test "$wxUSE_APPLE_IEEE" = yes; then
5019 echo "$as_me:$LINENO: result: yes" >&5
5020 echo "${ECHO_T}yes" >&6
5021 else
5022 echo "$as_me:$LINENO: result: no" >&5
5023 echo "${ECHO_T}no" >&6
5024 fi
5025
5026
5027 enablestring=
5028 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5029 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5030 no_cache=0
5031 # Check whether --enable-arcstream or --disable-arcstream was given.
5032 if test "${enable_arcstream+set}" = set; then
5033 enableval="$enable_arcstream"
5034
5035 if test "$enableval" = yes; then
5036 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5037 else
5038 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5039 fi
5040
5041 else
5042
5043 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5044 if test "x$LINE" != x ; then
5045 eval "DEFAULT_$LINE"
5046 else
5047 no_cache=1
5048 fi
5049
5050 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5051
5052 fi;
5053
5054 eval "$ac_cv_use_arcstream"
5055 if test "$no_cache" != 1; then
5056 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5057 fi
5058
5059 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5060 echo "$as_me:$LINENO: result: yes" >&5
5061 echo "${ECHO_T}yes" >&6
5062 else
5063 echo "$as_me:$LINENO: result: no" >&5
5064 echo "${ECHO_T}no" >&6
5065 fi
5066
5067
5068 enablestring=
5069 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5070 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5071 no_cache=0
5072 # Check whether --enable-backtrace or --disable-backtrace was given.
5073 if test "${enable_backtrace+set}" = set; then
5074 enableval="$enable_backtrace"
5075
5076 if test "$enableval" = yes; then
5077 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5078 else
5079 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5080 fi
5081
5082 else
5083
5084 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5085 if test "x$LINE" != x ; then
5086 eval "DEFAULT_$LINE"
5087 else
5088 no_cache=1
5089 fi
5090
5091 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5092
5093 fi;
5094
5095 eval "$ac_cv_use_backtrace"
5096 if test "$no_cache" != 1; then
5097 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5098 fi
5099
5100 if test "$wxUSE_STACKWALKER" = yes; then
5101 echo "$as_me:$LINENO: result: yes" >&5
5102 echo "${ECHO_T}yes" >&6
5103 else
5104 echo "$as_me:$LINENO: result: no" >&5
5105 echo "${ECHO_T}no" >&6
5106 fi
5107
5108
5109 enablestring=
5110 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5111 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5112 no_cache=0
5113 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5114 if test "${enable_catch_segvs+set}" = set; then
5115 enableval="$enable_catch_segvs"
5116
5117 if test "$enableval" = yes; then
5118 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5119 else
5120 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5121 fi
5122
5123 else
5124
5125 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5126 if test "x$LINE" != x ; then
5127 eval "DEFAULT_$LINE"
5128 else
5129 no_cache=1
5130 fi
5131
5132 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5133
5134 fi;
5135
5136 eval "$ac_cv_use_catch_segvs"
5137 if test "$no_cache" != 1; then
5138 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5139 fi
5140
5141 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5142 echo "$as_me:$LINENO: result: yes" >&5
5143 echo "${ECHO_T}yes" >&6
5144 else
5145 echo "$as_me:$LINENO: result: no" >&5
5146 echo "${ECHO_T}no" >&6
5147 fi
5148
5149
5150 enablestring=
5151 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5152 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5153 no_cache=0
5154 # Check whether --enable-cmdline or --disable-cmdline was given.
5155 if test "${enable_cmdline+set}" = set; then
5156 enableval="$enable_cmdline"
5157
5158 if test "$enableval" = yes; then
5159 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5160 else
5161 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5162 fi
5163
5164 else
5165
5166 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5167 if test "x$LINE" != x ; then
5168 eval "DEFAULT_$LINE"
5169 else
5170 no_cache=1
5171 fi
5172
5173 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5174
5175 fi;
5176
5177 eval "$ac_cv_use_cmdline"
5178 if test "$no_cache" != 1; then
5179 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5180 fi
5181
5182 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5183 echo "$as_me:$LINENO: result: yes" >&5
5184 echo "${ECHO_T}yes" >&6
5185 else
5186 echo "$as_me:$LINENO: result: no" >&5
5187 echo "${ECHO_T}no" >&6
5188 fi
5189
5190
5191 enablestring=
5192 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5193 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5194 no_cache=0
5195 # Check whether --enable-datetime or --disable-datetime was given.
5196 if test "${enable_datetime+set}" = set; then
5197 enableval="$enable_datetime"
5198
5199 if test "$enableval" = yes; then
5200 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5201 else
5202 ac_cv_use_datetime='wxUSE_DATETIME=no'
5203 fi
5204
5205 else
5206
5207 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5208 if test "x$LINE" != x ; then
5209 eval "DEFAULT_$LINE"
5210 else
5211 no_cache=1
5212 fi
5213
5214 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5215
5216 fi;
5217
5218 eval "$ac_cv_use_datetime"
5219 if test "$no_cache" != 1; then
5220 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5221 fi
5222
5223 if test "$wxUSE_DATETIME" = yes; then
5224 echo "$as_me:$LINENO: result: yes" >&5
5225 echo "${ECHO_T}yes" >&6
5226 else
5227 echo "$as_me:$LINENO: result: no" >&5
5228 echo "${ECHO_T}no" >&6
5229 fi
5230
5231
5232 enablestring=
5233 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5234 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5235 no_cache=0
5236 # Check whether --enable-debugreport or --disable-debugreport was given.
5237 if test "${enable_debugreport+set}" = set; then
5238 enableval="$enable_debugreport"
5239
5240 if test "$enableval" = yes; then
5241 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5242 else
5243 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5244 fi
5245
5246 else
5247
5248 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5249 if test "x$LINE" != x ; then
5250 eval "DEFAULT_$LINE"
5251 else
5252 no_cache=1
5253 fi
5254
5255 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5256
5257 fi;
5258
5259 eval "$ac_cv_use_debugreport"
5260 if test "$no_cache" != 1; then
5261 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5262 fi
5263
5264 if test "$wxUSE_DEBUGREPORT" = yes; then
5265 echo "$as_me:$LINENO: result: yes" >&5
5266 echo "${ECHO_T}yes" >&6
5267 else
5268 echo "$as_me:$LINENO: result: no" >&5
5269 echo "${ECHO_T}no" >&6
5270 fi
5271
5272
5273 enablestring=
5274 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5275 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5276 no_cache=0
5277 # Check whether --enable-dialupman or --disable-dialupman was given.
5278 if test "${enable_dialupman+set}" = set; then
5279 enableval="$enable_dialupman"
5280
5281 if test "$enableval" = yes; then
5282 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
5283 else
5284 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
5285 fi
5286
5287 else
5288
5289 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5290 if test "x$LINE" != x ; then
5291 eval "DEFAULT_$LINE"
5292 else
5293 no_cache=1
5294 fi
5295
5296 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5297
5298 fi;
5299
5300 eval "$ac_cv_use_dialupman"
5301 if test "$no_cache" != 1; then
5302 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5303 fi
5304
5305 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5306 echo "$as_me:$LINENO: result: yes" >&5
5307 echo "${ECHO_T}yes" >&6
5308 else
5309 echo "$as_me:$LINENO: result: no" >&5
5310 echo "${ECHO_T}no" >&6
5311 fi
5312
5313
5314 enablestring=
5315 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5316 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5317 no_cache=0
5318 # Check whether --enable-dynlib or --disable-dynlib was given.
5319 if test "${enable_dynlib+set}" = set; then
5320 enableval="$enable_dynlib"
5321
5322 if test "$enableval" = yes; then
5323 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5324 else
5325 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5326 fi
5327
5328 else
5329
5330 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5331 if test "x$LINE" != x ; then
5332 eval "DEFAULT_$LINE"
5333 else
5334 no_cache=1
5335 fi
5336
5337 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5338
5339 fi;
5340
5341 eval "$ac_cv_use_dynlib"
5342 if test "$no_cache" != 1; then
5343 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5344 fi
5345
5346 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5347 echo "$as_me:$LINENO: result: yes" >&5
5348 echo "${ECHO_T}yes" >&6
5349 else
5350 echo "$as_me:$LINENO: result: no" >&5
5351 echo "${ECHO_T}no" >&6
5352 fi
5353
5354
5355 enablestring=
5356 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5357 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5358 no_cache=0
5359 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5360 if test "${enable_dynamicloader+set}" = set; then
5361 enableval="$enable_dynamicloader"
5362
5363 if test "$enableval" = yes; then
5364 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5365 else
5366 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5367 fi
5368
5369 else
5370
5371 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5372 if test "x$LINE" != x ; then
5373 eval "DEFAULT_$LINE"
5374 else
5375 no_cache=1
5376 fi
5377
5378 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5379
5380 fi;
5381
5382 eval "$ac_cv_use_dynamicloader"
5383 if test "$no_cache" != 1; then
5384 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5385 fi
5386
5387 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5388 echo "$as_me:$LINENO: result: yes" >&5
5389 echo "${ECHO_T}yes" >&6
5390 else
5391 echo "$as_me:$LINENO: result: no" >&5
5392 echo "${ECHO_T}no" >&6
5393 fi
5394
5395
5396 enablestring=
5397 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5398 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5399 no_cache=0
5400 # Check whether --enable-exceptions or --disable-exceptions was given.
5401 if test "${enable_exceptions+set}" = set; then
5402 enableval="$enable_exceptions"
5403
5404 if test "$enableval" = yes; then
5405 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5406 else
5407 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5408 fi
5409
5410 else
5411
5412 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5413 if test "x$LINE" != x ; then
5414 eval "DEFAULT_$LINE"
5415 else
5416 no_cache=1
5417 fi
5418
5419 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5420
5421 fi;
5422
5423 eval "$ac_cv_use_exceptions"
5424 if test "$no_cache" != 1; then
5425 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5426 fi
5427
5428 if test "$wxUSE_EXCEPTIONS" = yes; then
5429 echo "$as_me:$LINENO: result: yes" >&5
5430 echo "${ECHO_T}yes" >&6
5431 else
5432 echo "$as_me:$LINENO: result: no" >&5
5433 echo "${ECHO_T}no" >&6
5434 fi
5435
5436
5437 enablestring=
5438 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5439 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5440 no_cache=0
5441 # Check whether --enable-ffile or --disable-ffile was given.
5442 if test "${enable_ffile+set}" = set; then
5443 enableval="$enable_ffile"
5444
5445 if test "$enableval" = yes; then
5446 ac_cv_use_ffile='wxUSE_FFILE=yes'
5447 else
5448 ac_cv_use_ffile='wxUSE_FFILE=no'
5449 fi
5450
5451 else
5452
5453 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5454 if test "x$LINE" != x ; then
5455 eval "DEFAULT_$LINE"
5456 else
5457 no_cache=1
5458 fi
5459
5460 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5461
5462 fi;
5463
5464 eval "$ac_cv_use_ffile"
5465 if test "$no_cache" != 1; then
5466 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5467 fi
5468
5469 if test "$wxUSE_FFILE" = yes; then
5470 echo "$as_me:$LINENO: result: yes" >&5
5471 echo "${ECHO_T}yes" >&6
5472 else
5473 echo "$as_me:$LINENO: result: no" >&5
5474 echo "${ECHO_T}no" >&6
5475 fi
5476
5477
5478 enablestring=
5479 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5480 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5481 no_cache=0
5482 # Check whether --enable-file or --disable-file was given.
5483 if test "${enable_file+set}" = set; then
5484 enableval="$enable_file"
5485
5486 if test "$enableval" = yes; then
5487 ac_cv_use_file='wxUSE_FILE=yes'
5488 else
5489 ac_cv_use_file='wxUSE_FILE=no'
5490 fi
5491
5492 else
5493
5494 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5495 if test "x$LINE" != x ; then
5496 eval "DEFAULT_$LINE"
5497 else
5498 no_cache=1
5499 fi
5500
5501 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5502
5503 fi;
5504
5505 eval "$ac_cv_use_file"
5506 if test "$no_cache" != 1; then
5507 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5508 fi
5509
5510 if test "$wxUSE_FILE" = yes; then
5511 echo "$as_me:$LINENO: result: yes" >&5
5512 echo "${ECHO_T}yes" >&6
5513 else
5514 echo "$as_me:$LINENO: result: no" >&5
5515 echo "${ECHO_T}no" >&6
5516 fi
5517
5518
5519 enablestring=
5520 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5521 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5522 no_cache=0
5523 # Check whether --enable-filesystem or --disable-filesystem was given.
5524 if test "${enable_filesystem+set}" = set; then
5525 enableval="$enable_filesystem"
5526
5527 if test "$enableval" = yes; then
5528 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5529 else
5530 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5531 fi
5532
5533 else
5534
5535 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5536 if test "x$LINE" != x ; then
5537 eval "DEFAULT_$LINE"
5538 else
5539 no_cache=1
5540 fi
5541
5542 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5543
5544 fi;
5545
5546 eval "$ac_cv_use_filesystem"
5547 if test "$no_cache" != 1; then
5548 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5549 fi
5550
5551 if test "$wxUSE_FILESYSTEM" = yes; then
5552 echo "$as_me:$LINENO: result: yes" >&5
5553 echo "${ECHO_T}yes" >&6
5554 else
5555 echo "$as_me:$LINENO: result: no" >&5
5556 echo "${ECHO_T}no" >&6
5557 fi
5558
5559
5560 enablestring=
5561 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5562 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5563 no_cache=0
5564 # Check whether --enable-fontmap or --disable-fontmap was given.
5565 if test "${enable_fontmap+set}" = set; then
5566 enableval="$enable_fontmap"
5567
5568 if test "$enableval" = yes; then
5569 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5570 else
5571 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5572 fi
5573
5574 else
5575
5576 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5577 if test "x$LINE" != x ; then
5578 eval "DEFAULT_$LINE"
5579 else
5580 no_cache=1
5581 fi
5582
5583 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5584
5585 fi;
5586
5587 eval "$ac_cv_use_fontmap"
5588 if test "$no_cache" != 1; then
5589 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5590 fi
5591
5592 if test "$wxUSE_FONTMAP" = yes; then
5593 echo "$as_me:$LINENO: result: yes" >&5
5594 echo "${ECHO_T}yes" >&6
5595 else
5596 echo "$as_me:$LINENO: result: no" >&5
5597 echo "${ECHO_T}no" >&6
5598 fi
5599
5600
5601 enablestring=
5602 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
5603 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6
5604 no_cache=0
5605 # Check whether --enable-fs_archive or --disable-fs_archive was given.
5606 if test "${enable_fs_archive+set}" = set; then
5607 enableval="$enable_fs_archive"
5608
5609 if test "$enableval" = yes; then
5610 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
5611 else
5612 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
5613 fi
5614
5615 else
5616
5617 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
5618 if test "x$LINE" != x ; then
5619 eval "DEFAULT_$LINE"
5620 else
5621 no_cache=1
5622 fi
5623
5624 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
5625
5626 fi;
5627
5628 eval "$ac_cv_use_fs_archive"
5629 if test "$no_cache" != 1; then
5630 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
5631 fi
5632
5633 if test "$wxUSE_FS_ARCHIVE" = yes; then
5634 echo "$as_me:$LINENO: result: yes" >&5
5635 echo "${ECHO_T}yes" >&6
5636 else
5637 echo "$as_me:$LINENO: result: no" >&5
5638 echo "${ECHO_T}no" >&6
5639 fi
5640
5641
5642 enablestring=
5643 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5644 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5645 no_cache=0
5646 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5647 if test "${enable_fs_inet+set}" = set; then
5648 enableval="$enable_fs_inet"
5649
5650 if test "$enableval" = yes; then
5651 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5652 else
5653 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5654 fi
5655
5656 else
5657
5658 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5659 if test "x$LINE" != x ; then
5660 eval "DEFAULT_$LINE"
5661 else
5662 no_cache=1
5663 fi
5664
5665 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5666
5667 fi;
5668
5669 eval "$ac_cv_use_fs_inet"
5670 if test "$no_cache" != 1; then
5671 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5672 fi
5673
5674 if test "$wxUSE_FS_INET" = yes; then
5675 echo "$as_me:$LINENO: result: yes" >&5
5676 echo "${ECHO_T}yes" >&6
5677 else
5678 echo "$as_me:$LINENO: result: no" >&5
5679 echo "${ECHO_T}no" >&6
5680 fi
5681
5682
5683 enablestring=
5684 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5685 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5686 no_cache=0
5687 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5688 if test "${enable_fs_zip+set}" = set; then
5689 enableval="$enable_fs_zip"
5690
5691 if test "$enableval" = yes; then
5692 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5693 else
5694 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5695 fi
5696
5697 else
5698
5699 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5700 if test "x$LINE" != x ; then
5701 eval "DEFAULT_$LINE"
5702 else
5703 no_cache=1
5704 fi
5705
5706 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5707
5708 fi;
5709
5710 eval "$ac_cv_use_fs_zip"
5711 if test "$no_cache" != 1; then
5712 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5713 fi
5714
5715 if test "$wxUSE_FS_ZIP" = yes; then
5716 echo "$as_me:$LINENO: result: yes" >&5
5717 echo "${ECHO_T}yes" >&6
5718 else
5719 echo "$as_me:$LINENO: result: no" >&5
5720 echo "${ECHO_T}no" >&6
5721 fi
5722
5723
5724 enablestring=
5725 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5726 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5727 no_cache=0
5728 # Check whether --enable-geometry or --disable-geometry was given.
5729 if test "${enable_geometry+set}" = set; then
5730 enableval="$enable_geometry"
5731
5732 if test "$enableval" = yes; then
5733 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5734 else
5735 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5736 fi
5737
5738 else
5739
5740 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5741 if test "x$LINE" != x ; then
5742 eval "DEFAULT_$LINE"
5743 else
5744 no_cache=1
5745 fi
5746
5747 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5748
5749 fi;
5750
5751 eval "$ac_cv_use_geometry"
5752 if test "$no_cache" != 1; then
5753 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5754 fi
5755
5756 if test "$wxUSE_GEOMETRY" = yes; then
5757 echo "$as_me:$LINENO: result: yes" >&5
5758 echo "${ECHO_T}yes" >&6
5759 else
5760 echo "$as_me:$LINENO: result: no" >&5
5761 echo "${ECHO_T}no" >&6
5762 fi
5763
5764
5765 enablestring=
5766 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5767 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5768 no_cache=0
5769 # Check whether --enable-log or --disable-log was given.
5770 if test "${enable_log+set}" = set; then
5771 enableval="$enable_log"
5772
5773 if test "$enableval" = yes; then
5774 ac_cv_use_log='wxUSE_LOG=yes'
5775 else
5776 ac_cv_use_log='wxUSE_LOG=no'
5777 fi
5778
5779 else
5780
5781 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5782 if test "x$LINE" != x ; then
5783 eval "DEFAULT_$LINE"
5784 else
5785 no_cache=1
5786 fi
5787
5788 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5789
5790 fi;
5791
5792 eval "$ac_cv_use_log"
5793 if test "$no_cache" != 1; then
5794 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5795 fi
5796
5797 if test "$wxUSE_LOG" = yes; then
5798 echo "$as_me:$LINENO: result: yes" >&5
5799 echo "${ECHO_T}yes" >&6
5800 else
5801 echo "$as_me:$LINENO: result: no" >&5
5802 echo "${ECHO_T}no" >&6
5803 fi
5804
5805
5806 enablestring=
5807 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5808 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5809 no_cache=0
5810 # Check whether --enable-longlong or --disable-longlong was given.
5811 if test "${enable_longlong+set}" = set; then
5812 enableval="$enable_longlong"
5813
5814 if test "$enableval" = yes; then
5815 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5816 else
5817 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5818 fi
5819
5820 else
5821
5822 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5823 if test "x$LINE" != x ; then
5824 eval "DEFAULT_$LINE"
5825 else
5826 no_cache=1
5827 fi
5828
5829 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5830
5831 fi;
5832
5833 eval "$ac_cv_use_longlong"
5834 if test "$no_cache" != 1; then
5835 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5836 fi
5837
5838 if test "$wxUSE_LONGLONG" = yes; then
5839 echo "$as_me:$LINENO: result: yes" >&5
5840 echo "${ECHO_T}yes" >&6
5841 else
5842 echo "$as_me:$LINENO: result: no" >&5
5843 echo "${ECHO_T}no" >&6
5844 fi
5845
5846
5847 enablestring=
5848 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5849 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5850 no_cache=0
5851 # Check whether --enable-mimetype or --disable-mimetype was given.
5852 if test "${enable_mimetype+set}" = set; then
5853 enableval="$enable_mimetype"
5854
5855 if test "$enableval" = yes; then
5856 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5857 else
5858 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5859 fi
5860
5861 else
5862
5863 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5864 if test "x$LINE" != x ; then
5865 eval "DEFAULT_$LINE"
5866 else
5867 no_cache=1
5868 fi
5869
5870 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5871
5872 fi;
5873
5874 eval "$ac_cv_use_mimetype"
5875 if test "$no_cache" != 1; then
5876 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5877 fi
5878
5879 if test "$wxUSE_MIMETYPE" = yes; then
5880 echo "$as_me:$LINENO: result: yes" >&5
5881 echo "${ECHO_T}yes" >&6
5882 else
5883 echo "$as_me:$LINENO: result: no" >&5
5884 echo "${ECHO_T}no" >&6
5885 fi
5886
5887
5888 enablestring=
5889 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5890 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5891 no_cache=0
5892 # Check whether --enable-mslu or --disable-mslu was given.
5893 if test "${enable_mslu+set}" = set; then
5894 enableval="$enable_mslu"
5895
5896 if test "$enableval" = yes; then
5897 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5898 else
5899 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5900 fi
5901
5902 else
5903
5904 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5905 if test "x$LINE" != x ; then
5906 eval "DEFAULT_$LINE"
5907 else
5908 no_cache=1
5909 fi
5910
5911 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5912
5913 fi;
5914
5915 eval "$ac_cv_use_mslu"
5916 if test "$no_cache" != 1; then
5917 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5918 fi
5919
5920 if test "$wxUSE_UNICODE_MSLU" = yes; then
5921 echo "$as_me:$LINENO: result: yes" >&5
5922 echo "${ECHO_T}yes" >&6
5923 else
5924 echo "$as_me:$LINENO: result: no" >&5
5925 echo "${ECHO_T}no" >&6
5926 fi
5927
5928
5929 enablestring=
5930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5931 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5932 no_cache=0
5933 # Check whether --enable-snglinst or --disable-snglinst was given.
5934 if test "${enable_snglinst+set}" = set; then
5935 enableval="$enable_snglinst"
5936
5937 if test "$enableval" = yes; then
5938 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5939 else
5940 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5941 fi
5942
5943 else
5944
5945 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5946 if test "x$LINE" != x ; then
5947 eval "DEFAULT_$LINE"
5948 else
5949 no_cache=1
5950 fi
5951
5952 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5953
5954 fi;
5955
5956 eval "$ac_cv_use_snglinst"
5957 if test "$no_cache" != 1; then
5958 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5959 fi
5960
5961 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5962 echo "$as_me:$LINENO: result: yes" >&5
5963 echo "${ECHO_T}yes" >&6
5964 else
5965 echo "$as_me:$LINENO: result: no" >&5
5966 echo "${ECHO_T}no" >&6
5967 fi
5968
5969
5970 enablestring=
5971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5972 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5973 no_cache=0
5974 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5975 if test "${enable_std_iostreams+set}" = set; then
5976 enableval="$enable_std_iostreams"
5977
5978 if test "$enableval" = yes; then
5979 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5980 else
5981 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5982 fi
5983
5984 else
5985
5986 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5987 if test "x$LINE" != x ; then
5988 eval "DEFAULT_$LINE"
5989 else
5990 no_cache=1
5991 fi
5992
5993 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5994
5995 fi;
5996
5997 eval "$ac_cv_use_std_iostreams"
5998 if test "$no_cache" != 1; then
5999 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6000 fi
6001
6002 if test "$wxUSE_STD_IOSTREAM" = yes; then
6003 echo "$as_me:$LINENO: result: yes" >&5
6004 echo "${ECHO_T}yes" >&6
6005 else
6006 echo "$as_me:$LINENO: result: no" >&5
6007 echo "${ECHO_T}no" >&6
6008 fi
6009
6010
6011 enablestring=
6012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6013 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
6014 no_cache=0
6015 # Check whether --enable-std_string or --disable-std_string was given.
6016 if test "${enable_std_string+set}" = set; then
6017 enableval="$enable_std_string"
6018
6019 if test "$enableval" = yes; then
6020 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6021 else
6022 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6023 fi
6024
6025 else
6026
6027 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6028 if test "x$LINE" != x ; then
6029 eval "DEFAULT_$LINE"
6030 else
6031 no_cache=1
6032 fi
6033
6034 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6035
6036 fi;
6037
6038 eval "$ac_cv_use_std_string"
6039 if test "$no_cache" != 1; then
6040 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6041 fi
6042
6043 if test "$wxUSE_STD_STRING" = yes; then
6044 echo "$as_me:$LINENO: result: yes" >&5
6045 echo "${ECHO_T}yes" >&6
6046 else
6047 echo "$as_me:$LINENO: result: no" >&5
6048 echo "${ECHO_T}no" >&6
6049 fi
6050
6051
6052 enablestring=
6053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6054 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
6055 no_cache=0
6056 # Check whether --enable-stdpaths or --disable-stdpaths was given.
6057 if test "${enable_stdpaths+set}" = set; then
6058 enableval="$enable_stdpaths"
6059
6060 if test "$enableval" = yes; then
6061 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6062 else
6063 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6064 fi
6065
6066 else
6067
6068 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6069 if test "x$LINE" != x ; then
6070 eval "DEFAULT_$LINE"
6071 else
6072 no_cache=1
6073 fi
6074
6075 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6076
6077 fi;
6078
6079 eval "$ac_cv_use_stdpaths"
6080 if test "$no_cache" != 1; then
6081 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6082 fi
6083
6084 if test "$wxUSE_STDPATHS" = yes; then
6085 echo "$as_me:$LINENO: result: yes" >&5
6086 echo "${ECHO_T}yes" >&6
6087 else
6088 echo "$as_me:$LINENO: result: no" >&5
6089 echo "${ECHO_T}no" >&6
6090 fi
6091
6092
6093 enablestring=
6094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6095 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6096 no_cache=0
6097 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6098 if test "${enable_stopwatch+set}" = set; then
6099 enableval="$enable_stopwatch"
6100
6101 if test "$enableval" = yes; then
6102 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6103 else
6104 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6105 fi
6106
6107 else
6108
6109 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6110 if test "x$LINE" != x ; then
6111 eval "DEFAULT_$LINE"
6112 else
6113 no_cache=1
6114 fi
6115
6116 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6117
6118 fi;
6119
6120 eval "$ac_cv_use_stopwatch"
6121 if test "$no_cache" != 1; then
6122 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6123 fi
6124
6125 if test "$wxUSE_STOPWATCH" = yes; then
6126 echo "$as_me:$LINENO: result: yes" >&5
6127 echo "${ECHO_T}yes" >&6
6128 else
6129 echo "$as_me:$LINENO: result: no" >&5
6130 echo "${ECHO_T}no" >&6
6131 fi
6132
6133
6134 enablestring=
6135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6136 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6137 no_cache=0
6138 # Check whether --enable-streams or --disable-streams was given.
6139 if test "${enable_streams+set}" = set; then
6140 enableval="$enable_streams"
6141
6142 if test "$enableval" = yes; then
6143 ac_cv_use_streams='wxUSE_STREAMS=yes'
6144 else
6145 ac_cv_use_streams='wxUSE_STREAMS=no'
6146 fi
6147
6148 else
6149
6150 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6151 if test "x$LINE" != x ; then
6152 eval "DEFAULT_$LINE"
6153 else
6154 no_cache=1
6155 fi
6156
6157 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6158
6159 fi;
6160
6161 eval "$ac_cv_use_streams"
6162 if test "$no_cache" != 1; then
6163 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6164 fi
6165
6166 if test "$wxUSE_STREAMS" = yes; then
6167 echo "$as_me:$LINENO: result: yes" >&5
6168 echo "${ECHO_T}yes" >&6
6169 else
6170 echo "$as_me:$LINENO: result: no" >&5
6171 echo "${ECHO_T}no" >&6
6172 fi
6173
6174
6175 enablestring=
6176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6177 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6178 no_cache=0
6179 # Check whether --enable-system_options or --disable-system_options was given.
6180 if test "${enable_system_options+set}" = set; then
6181 enableval="$enable_system_options"
6182
6183 if test "$enableval" = yes; then
6184 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6185 else
6186 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6187 fi
6188
6189 else
6190
6191 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6192 if test "x$LINE" != x ; then
6193 eval "DEFAULT_$LINE"
6194 else
6195 no_cache=1
6196 fi
6197
6198 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6199
6200 fi;
6201
6202 eval "$ac_cv_use_system_options"
6203 if test "$no_cache" != 1; then
6204 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6205 fi
6206
6207 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6208 echo "$as_me:$LINENO: result: yes" >&5
6209 echo "${ECHO_T}yes" >&6
6210 else
6211 echo "$as_me:$LINENO: result: no" >&5
6212 echo "${ECHO_T}no" >&6
6213 fi
6214
6215
6216 enablestring=
6217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6218 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6
6219 no_cache=0
6220 # Check whether --enable-tarstream or --disable-tarstream was given.
6221 if test "${enable_tarstream+set}" = set; then
6222 enableval="$enable_tarstream"
6223
6224 if test "$enableval" = yes; then
6225 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6226 else
6227 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
6228 fi
6229
6230 else
6231
6232 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6233 if test "x$LINE" != x ; then
6234 eval "DEFAULT_$LINE"
6235 else
6236 no_cache=1
6237 fi
6238
6239 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
6240
6241 fi;
6242
6243 eval "$ac_cv_use_tarstream"
6244 if test "$no_cache" != 1; then
6245 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
6246 fi
6247
6248 if test "$wxUSE_TARSTREAM" = yes; then
6249 echo "$as_me:$LINENO: result: yes" >&5
6250 echo "${ECHO_T}yes" >&6
6251 else
6252 echo "$as_me:$LINENO: result: no" >&5
6253 echo "${ECHO_T}no" >&6
6254 fi
6255
6256
6257 enablestring=
6258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6259 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6260 no_cache=0
6261 # Check whether --enable-textbuf or --disable-textbuf was given.
6262 if test "${enable_textbuf+set}" = set; then
6263 enableval="$enable_textbuf"
6264
6265 if test "$enableval" = yes; then
6266 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
6267 else
6268 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
6269 fi
6270
6271 else
6272
6273 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6274 if test "x$LINE" != x ; then
6275 eval "DEFAULT_$LINE"
6276 else
6277 no_cache=1
6278 fi
6279
6280 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6281
6282 fi;
6283
6284 eval "$ac_cv_use_textbuf"
6285 if test "$no_cache" != 1; then
6286 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6287 fi
6288
6289 if test "$wxUSE_TEXTBUFFER" = yes; then
6290 echo "$as_me:$LINENO: result: yes" >&5
6291 echo "${ECHO_T}yes" >&6
6292 else
6293 echo "$as_me:$LINENO: result: no" >&5
6294 echo "${ECHO_T}no" >&6
6295 fi
6296
6297
6298 enablestring=
6299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6300 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6301 no_cache=0
6302 # Check whether --enable-textfile or --disable-textfile was given.
6303 if test "${enable_textfile+set}" = set; then
6304 enableval="$enable_textfile"
6305
6306 if test "$enableval" = yes; then
6307 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
6308 else
6309 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
6310 fi
6311
6312 else
6313
6314 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6315 if test "x$LINE" != x ; then
6316 eval "DEFAULT_$LINE"
6317 else
6318 no_cache=1
6319 fi
6320
6321 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6322
6323 fi;
6324
6325 eval "$ac_cv_use_textfile"
6326 if test "$no_cache" != 1; then
6327 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6328 fi
6329
6330 if test "$wxUSE_TEXTFILE" = yes; then
6331 echo "$as_me:$LINENO: result: yes" >&5
6332 echo "${ECHO_T}yes" >&6
6333 else
6334 echo "$as_me:$LINENO: result: no" >&5
6335 echo "${ECHO_T}no" >&6
6336 fi
6337
6338
6339 enablestring=
6340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6341 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6342 no_cache=0
6343 # Check whether --enable-timer or --disable-timer was given.
6344 if test "${enable_timer+set}" = set; then
6345 enableval="$enable_timer"
6346
6347 if test "$enableval" = yes; then
6348 ac_cv_use_timer='wxUSE_TIMER=yes'
6349 else
6350 ac_cv_use_timer='wxUSE_TIMER=no'
6351 fi
6352
6353 else
6354
6355 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6356 if test "x$LINE" != x ; then
6357 eval "DEFAULT_$LINE"
6358 else
6359 no_cache=1
6360 fi
6361
6362 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6363
6364 fi;
6365
6366 eval "$ac_cv_use_timer"
6367 if test "$no_cache" != 1; then
6368 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6369 fi
6370
6371 if test "$wxUSE_TIMER" = yes; then
6372 echo "$as_me:$LINENO: result: yes" >&5
6373 echo "${ECHO_T}yes" >&6
6374 else
6375 echo "$as_me:$LINENO: result: no" >&5
6376 echo "${ECHO_T}no" >&6
6377 fi
6378
6379
6380 enablestring=
6381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6382 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6383 no_cache=0
6384 # Check whether --enable-unicode or --disable-unicode was given.
6385 if test "${enable_unicode+set}" = set; then
6386 enableval="$enable_unicode"
6387
6388 if test "$enableval" = yes; then
6389 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6390 else
6391 ac_cv_use_unicode='wxUSE_UNICODE=no'
6392 fi
6393
6394 else
6395
6396 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6397 if test "x$LINE" != x ; then
6398 eval "DEFAULT_$LINE"
6399 else
6400 no_cache=1
6401 fi
6402
6403 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6404
6405 fi;
6406
6407 eval "$ac_cv_use_unicode"
6408 if test "$no_cache" != 1; then
6409 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6410 fi
6411
6412 if test "$wxUSE_UNICODE" = yes; then
6413 echo "$as_me:$LINENO: result: yes" >&5
6414 echo "${ECHO_T}yes" >&6
6415 else
6416 echo "$as_me:$LINENO: result: no" >&5
6417 echo "${ECHO_T}no" >&6
6418 fi
6419
6420
6421 enablestring=
6422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6423 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6424 no_cache=0
6425 # Check whether --enable-sound or --disable-sound was given.
6426 if test "${enable_sound+set}" = set; then
6427 enableval="$enable_sound"
6428
6429 if test "$enableval" = yes; then
6430 ac_cv_use_sound='wxUSE_SOUND=yes'
6431 else
6432 ac_cv_use_sound='wxUSE_SOUND=no'
6433 fi
6434
6435 else
6436
6437 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6438 if test "x$LINE" != x ; then
6439 eval "DEFAULT_$LINE"
6440 else
6441 no_cache=1
6442 fi
6443
6444 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6445
6446 fi;
6447
6448 eval "$ac_cv_use_sound"
6449 if test "$no_cache" != 1; then
6450 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6451 fi
6452
6453 if test "$wxUSE_SOUND" = yes; then
6454 echo "$as_me:$LINENO: result: yes" >&5
6455 echo "${ECHO_T}yes" >&6
6456 else
6457 echo "$as_me:$LINENO: result: no" >&5
6458 echo "${ECHO_T}no" >&6
6459 fi
6460
6461
6462 enablestring=
6463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6464 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6465 no_cache=0
6466 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6467 if test "${enable_mediactrl+set}" = set; then
6468 enableval="$enable_mediactrl"
6469
6470 if test "$enableval" = yes; then
6471 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6472 else
6473 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6474 fi
6475
6476 else
6477
6478 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6479 if test "x$LINE" != x ; then
6480 eval "DEFAULT_$LINE"
6481 else
6482 no_cache=1
6483 fi
6484
6485 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6486
6487 fi;
6488
6489 eval "$ac_cv_use_mediactrl"
6490 if test "$no_cache" != 1; then
6491 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6492 fi
6493
6494 if test "$wxUSE_MEDIACTRL" = yes; then
6495 echo "$as_me:$LINENO: result: yes" >&5
6496 echo "${ECHO_T}yes" >&6
6497 else
6498 echo "$as_me:$LINENO: result: no" >&5
6499 echo "${ECHO_T}no" >&6
6500 fi
6501
6502
6503 enablestring=
6504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6505 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6506 no_cache=0
6507 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6508 if test "${enable_gstreamer8+set}" = set; then
6509 enableval="$enable_gstreamer8"
6510
6511 if test "$enableval" = yes; then
6512 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
6513 else
6514 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
6515 fi
6516
6517 else
6518
6519 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6520 if test "x$LINE" != x ; then
6521 eval "DEFAULT_$LINE"
6522 else
6523 no_cache=1
6524 fi
6525
6526 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6527
6528 fi;
6529
6530 eval "$ac_cv_use_gstreamer8"
6531 if test "$no_cache" != 1; then
6532 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6533 fi
6534
6535 if test "$wxUSE_GSTREAMER8" = yes; then
6536 echo "$as_me:$LINENO: result: yes" >&5
6537 echo "${ECHO_T}yes" >&6
6538 else
6539 echo "$as_me:$LINENO: result: no" >&5
6540 echo "${ECHO_T}no" >&6
6541 fi
6542
6543
6544 enablestring=
6545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6546 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6547 no_cache=0
6548 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6549 if test "${enable_printfposparam+set}" = set; then
6550 enableval="$enable_printfposparam"
6551
6552 if test "$enableval" = yes; then
6553 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
6554 else
6555 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
6556 fi
6557
6558 else
6559
6560 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6561 if test "x$LINE" != x ; then
6562 eval "DEFAULT_$LINE"
6563 else
6564 no_cache=1
6565 fi
6566
6567 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6568
6569 fi;
6570
6571 eval "$ac_cv_use_printfposparam"
6572 if test "$no_cache" != 1; then
6573 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6574 fi
6575
6576 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6577 echo "$as_me:$LINENO: result: yes" >&5
6578 echo "${ECHO_T}yes" >&6
6579 else
6580 echo "$as_me:$LINENO: result: no" >&5
6581 echo "${ECHO_T}no" >&6
6582 fi
6583
6584
6585 enablestring=
6586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6587 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6588 no_cache=0
6589 # Check whether --enable-zipstream or --disable-zipstream was given.
6590 if test "${enable_zipstream+set}" = set; then
6591 enableval="$enable_zipstream"
6592
6593 if test "$enableval" = yes; then
6594 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6595 else
6596 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6597 fi
6598
6599 else
6600
6601 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6602 if test "x$LINE" != x ; then
6603 eval "DEFAULT_$LINE"
6604 else
6605 no_cache=1
6606 fi
6607
6608 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6609
6610 fi;
6611
6612 eval "$ac_cv_use_zipstream"
6613 if test "$no_cache" != 1; then
6614 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6615 fi
6616
6617 if test "$wxUSE_ZIPSTREAM" = yes; then
6618 echo "$as_me:$LINENO: result: yes" >&5
6619 echo "${ECHO_T}yes" >&6
6620 else
6621 echo "$as_me:$LINENO: result: no" >&5
6622 echo "${ECHO_T}no" >&6
6623 fi
6624
6625
6626
6627 enablestring=
6628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6629 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6630 no_cache=0
6631 # Check whether --enable-url or --disable-url was given.
6632 if test "${enable_url+set}" = set; then
6633 enableval="$enable_url"
6634
6635 if test "$enableval" = yes; then
6636 ac_cv_use_url='wxUSE_URL=yes'
6637 else
6638 ac_cv_use_url='wxUSE_URL=no'
6639 fi
6640
6641 else
6642
6643 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6644 if test "x$LINE" != x ; then
6645 eval "DEFAULT_$LINE"
6646 else
6647 no_cache=1
6648 fi
6649
6650 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6651
6652 fi;
6653
6654 eval "$ac_cv_use_url"
6655 if test "$no_cache" != 1; then
6656 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6657 fi
6658
6659 if test "$wxUSE_URL" = yes; then
6660 echo "$as_me:$LINENO: result: yes" >&5
6661 echo "${ECHO_T}yes" >&6
6662 else
6663 echo "$as_me:$LINENO: result: no" >&5
6664 echo "${ECHO_T}no" >&6
6665 fi
6666
6667
6668 enablestring=
6669 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6670 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6671 no_cache=0
6672 # Check whether --enable-variant or --disable-variant was given.
6673 if test "${enable_variant+set}" = set; then
6674 enableval="$enable_variant"
6675
6676 if test "$enableval" = yes; then
6677 ac_cv_use_variant='wxUSE_VARIANT=yes'
6678 else
6679 ac_cv_use_variant='wxUSE_VARIANT=no'
6680 fi
6681
6682 else
6683
6684 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6685 if test "x$LINE" != x ; then
6686 eval "DEFAULT_$LINE"
6687 else
6688 no_cache=1
6689 fi
6690
6691 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6692
6693 fi;
6694
6695 eval "$ac_cv_use_variant"
6696 if test "$no_cache" != 1; then
6697 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6698 fi
6699
6700 if test "$wxUSE_VARIANT" = yes; then
6701 echo "$as_me:$LINENO: result: yes" >&5
6702 echo "${ECHO_T}yes" >&6
6703 else
6704 echo "$as_me:$LINENO: result: no" >&5
6705 echo "${ECHO_T}no" >&6
6706 fi
6707
6708
6709 enablestring=
6710 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6711 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6712 no_cache=0
6713 # Check whether --enable-protocol or --disable-protocol was given.
6714 if test "${enable_protocol+set}" = set; then
6715 enableval="$enable_protocol"
6716
6717 if test "$enableval" = yes; then
6718 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6719 else
6720 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6721 fi
6722
6723 else
6724
6725 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6726 if test "x$LINE" != x ; then
6727 eval "DEFAULT_$LINE"
6728 else
6729 no_cache=1
6730 fi
6731
6732 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6733
6734 fi;
6735
6736 eval "$ac_cv_use_protocol"
6737 if test "$no_cache" != 1; then
6738 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6739 fi
6740
6741 if test "$wxUSE_PROTOCOL" = yes; then
6742 echo "$as_me:$LINENO: result: yes" >&5
6743 echo "${ECHO_T}yes" >&6
6744 else
6745 echo "$as_me:$LINENO: result: no" >&5
6746 echo "${ECHO_T}no" >&6
6747 fi
6748
6749
6750 enablestring=
6751 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6752 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6753 no_cache=0
6754 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6755 if test "${enable_protocol_http+set}" = set; then
6756 enableval="$enable_protocol_http"
6757
6758 if test "$enableval" = yes; then
6759 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6760 else
6761 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6762 fi
6763
6764 else
6765
6766 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6767 if test "x$LINE" != x ; then
6768 eval "DEFAULT_$LINE"
6769 else
6770 no_cache=1
6771 fi
6772
6773 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6774
6775 fi;
6776
6777 eval "$ac_cv_use_protocol_http"
6778 if test "$no_cache" != 1; then
6779 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6780 fi
6781
6782 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6783 echo "$as_me:$LINENO: result: yes" >&5
6784 echo "${ECHO_T}yes" >&6
6785 else
6786 echo "$as_me:$LINENO: result: no" >&5
6787 echo "${ECHO_T}no" >&6
6788 fi
6789
6790
6791 enablestring=
6792 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6793 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6794 no_cache=0
6795 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6796 if test "${enable_protocol_ftp+set}" = set; then
6797 enableval="$enable_protocol_ftp"
6798
6799 if test "$enableval" = yes; then
6800 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6801 else
6802 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6803 fi
6804
6805 else
6806
6807 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6808 if test "x$LINE" != x ; then
6809 eval "DEFAULT_$LINE"
6810 else
6811 no_cache=1
6812 fi
6813
6814 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6815
6816 fi;
6817
6818 eval "$ac_cv_use_protocol_ftp"
6819 if test "$no_cache" != 1; then
6820 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6821 fi
6822
6823 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6824 echo "$as_me:$LINENO: result: yes" >&5
6825 echo "${ECHO_T}yes" >&6
6826 else
6827 echo "$as_me:$LINENO: result: no" >&5
6828 echo "${ECHO_T}no" >&6
6829 fi
6830
6831
6832 enablestring=
6833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6834 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6835 no_cache=0
6836 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6837 if test "${enable_protocol_file+set}" = set; then
6838 enableval="$enable_protocol_file"
6839
6840 if test "$enableval" = yes; then
6841 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6842 else
6843 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6844 fi
6845
6846 else
6847
6848 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6849 if test "x$LINE" != x ; then
6850 eval "DEFAULT_$LINE"
6851 else
6852 no_cache=1
6853 fi
6854
6855 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6856
6857 fi;
6858
6859 eval "$ac_cv_use_protocol_file"
6860 if test "$no_cache" != 1; then
6861 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6862 fi
6863
6864 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6865 echo "$as_me:$LINENO: result: yes" >&5
6866 echo "${ECHO_T}yes" >&6
6867 else
6868 echo "$as_me:$LINENO: result: no" >&5
6869 echo "${ECHO_T}no" >&6
6870 fi
6871
6872
6873
6874
6875
6876 enablestring=
6877 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6878 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6879 no_cache=0
6880 # Check whether --enable-threads or --disable-threads was given.
6881 if test "${enable_threads+set}" = set; then
6882 enableval="$enable_threads"
6883
6884 if test "$enableval" = yes; then
6885 ac_cv_use_threads='wxUSE_THREADS=yes'
6886 else
6887 ac_cv_use_threads='wxUSE_THREADS=no'
6888 fi
6889
6890 else
6891
6892 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6893 if test "x$LINE" != x ; then
6894 eval "DEFAULT_$LINE"
6895 else
6896 no_cache=1
6897 fi
6898
6899 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6900
6901 fi;
6902
6903 eval "$ac_cv_use_threads"
6904 if test "$no_cache" != 1; then
6905 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6906 fi
6907
6908 if test "$wxUSE_THREADS" = yes; then
6909 echo "$as_me:$LINENO: result: yes" >&5
6910 echo "${ECHO_T}yes" >&6
6911 else
6912 echo "$as_me:$LINENO: result: no" >&5
6913 echo "${ECHO_T}no" >&6
6914 fi
6915
6916
6917 if test "$wxUSE_GUI" = "yes"; then
6918
6919
6920
6921 enablestring=
6922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6923 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6924 no_cache=0
6925 # Check whether --enable-docview or --disable-docview was given.
6926 if test "${enable_docview+set}" = set; then
6927 enableval="$enable_docview"
6928
6929 if test "$enableval" = yes; then
6930 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6931 else
6932 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6933 fi
6934
6935 else
6936
6937 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6938 if test "x$LINE" != x ; then
6939 eval "DEFAULT_$LINE"
6940 else
6941 no_cache=1
6942 fi
6943
6944 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6945
6946 fi;
6947
6948 eval "$ac_cv_use_docview"
6949 if test "$no_cache" != 1; then
6950 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6951 fi
6952
6953 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6954 echo "$as_me:$LINENO: result: yes" >&5
6955 echo "${ECHO_T}yes" >&6
6956 else
6957 echo "$as_me:$LINENO: result: no" >&5
6958 echo "${ECHO_T}no" >&6
6959 fi
6960
6961
6962 enablestring=
6963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6964 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6965 no_cache=0
6966 # Check whether --enable-help or --disable-help was given.
6967 if test "${enable_help+set}" = set; then
6968 enableval="$enable_help"
6969
6970 if test "$enableval" = yes; then
6971 ac_cv_use_help='wxUSE_HELP=yes'
6972 else
6973 ac_cv_use_help='wxUSE_HELP=no'
6974 fi
6975
6976 else
6977
6978 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6979 if test "x$LINE" != x ; then
6980 eval "DEFAULT_$LINE"
6981 else
6982 no_cache=1
6983 fi
6984
6985 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6986
6987 fi;
6988
6989 eval "$ac_cv_use_help"
6990 if test "$no_cache" != 1; then
6991 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6992 fi
6993
6994 if test "$wxUSE_HELP" = yes; then
6995 echo "$as_me:$LINENO: result: yes" >&5
6996 echo "${ECHO_T}yes" >&6
6997 else
6998 echo "$as_me:$LINENO: result: no" >&5
6999 echo "${ECHO_T}no" >&6
7000 fi
7001
7002
7003 enablestring=
7004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7005 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
7006 no_cache=0
7007 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
7008 if test "${enable_mshtmlhelp+set}" = set; then
7009 enableval="$enable_mshtmlhelp"
7010
7011 if test "$enableval" = yes; then
7012 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7013 else
7014 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7015 fi
7016
7017 else
7018
7019 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7020 if test "x$LINE" != x ; then
7021 eval "DEFAULT_$LINE"
7022 else
7023 no_cache=1
7024 fi
7025
7026 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7027
7028 fi;
7029
7030 eval "$ac_cv_use_mshtmlhelp"
7031 if test "$no_cache" != 1; then
7032 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7033 fi
7034
7035 if test "$wxUSE_MS_HTML_HELP" = yes; then
7036 echo "$as_me:$LINENO: result: yes" >&5
7037 echo "${ECHO_T}yes" >&6
7038 else
7039 echo "$as_me:$LINENO: result: no" >&5
7040 echo "${ECHO_T}no" >&6
7041 fi
7042
7043
7044 enablestring=
7045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7046 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7047 no_cache=0
7048 # Check whether --enable-html or --disable-html was given.
7049 if test "${enable_html+set}" = set; then
7050 enableval="$enable_html"
7051
7052 if test "$enableval" = yes; then
7053 ac_cv_use_html='wxUSE_HTML=yes'
7054 else
7055 ac_cv_use_html='wxUSE_HTML=no'
7056 fi
7057
7058 else
7059
7060 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7061 if test "x$LINE" != x ; then
7062 eval "DEFAULT_$LINE"
7063 else
7064 no_cache=1
7065 fi
7066
7067 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7068
7069 fi;
7070
7071 eval "$ac_cv_use_html"
7072 if test "$no_cache" != 1; then
7073 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7074 fi
7075
7076 if test "$wxUSE_HTML" = yes; then
7077 echo "$as_me:$LINENO: result: yes" >&5
7078 echo "${ECHO_T}yes" >&6
7079 else
7080 echo "$as_me:$LINENO: result: no" >&5
7081 echo "${ECHO_T}no" >&6
7082 fi
7083
7084
7085 enablestring=
7086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7087 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
7088 no_cache=0
7089 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
7090 if test "${enable_htmlhelp+set}" = set; then
7091 enableval="$enable_htmlhelp"
7092
7093 if test "$enableval" = yes; then
7094 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7095 else
7096 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7097 fi
7098
7099 else
7100
7101 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7102 if test "x$LINE" != x ; then
7103 eval "DEFAULT_$LINE"
7104 else
7105 no_cache=1
7106 fi
7107
7108 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7109
7110 fi;
7111
7112 eval "$ac_cv_use_htmlhelp"
7113 if test "$no_cache" != 1; then
7114 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7115 fi
7116
7117 if test "$wxUSE_WXHTML_HELP" = yes; then
7118 echo "$as_me:$LINENO: result: yes" >&5
7119 echo "${ECHO_T}yes" >&6
7120 else
7121 echo "$as_me:$LINENO: result: no" >&5
7122 echo "${ECHO_T}no" >&6
7123 fi
7124
7125
7126 enablestring=
7127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7128 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7129 no_cache=0
7130 # Check whether --enable-xrc or --disable-xrc was given.
7131 if test "${enable_xrc+set}" = set; then
7132 enableval="$enable_xrc"
7133
7134 if test "$enableval" = yes; then
7135 ac_cv_use_xrc='wxUSE_XRC=yes'
7136 else
7137 ac_cv_use_xrc='wxUSE_XRC=no'
7138 fi
7139
7140 else
7141
7142 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7143 if test "x$LINE" != x ; then
7144 eval "DEFAULT_$LINE"
7145 else
7146 no_cache=1
7147 fi
7148
7149 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7150
7151 fi;
7152
7153 eval "$ac_cv_use_xrc"
7154 if test "$no_cache" != 1; then
7155 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7156 fi
7157
7158 if test "$wxUSE_XRC" = yes; then
7159 echo "$as_me:$LINENO: result: yes" >&5
7160 echo "${ECHO_T}yes" >&6
7161 else
7162 echo "$as_me:$LINENO: result: no" >&5
7163 echo "${ECHO_T}no" >&6
7164 fi
7165
7166
7167 enablestring=
7168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7169 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7170 no_cache=0
7171 # Check whether --enable-aui or --disable-aui was given.
7172 if test "${enable_aui+set}" = set; then
7173 enableval="$enable_aui"
7174
7175 if test "$enableval" = yes; then
7176 ac_cv_use_aui='wxUSE_AUI=yes'
7177 else
7178 ac_cv_use_aui='wxUSE_AUI=no'
7179 fi
7180
7181 else
7182
7183 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7184 if test "x$LINE" != x ; then
7185 eval "DEFAULT_$LINE"
7186 else
7187 no_cache=1
7188 fi
7189
7190 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7191
7192 fi;
7193
7194 eval "$ac_cv_use_aui"
7195 if test "$no_cache" != 1; then
7196 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7197 fi
7198
7199 if test "$wxUSE_AUI" = yes; then
7200 echo "$as_me:$LINENO: result: yes" >&5
7201 echo "${ECHO_T}yes" >&6
7202 else
7203 echo "$as_me:$LINENO: result: no" >&5
7204 echo "${ECHO_T}no" >&6
7205 fi
7206
7207
7208 enablestring=
7209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7210 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7211 no_cache=0
7212 # Check whether --enable-constraints or --disable-constraints was given.
7213 if test "${enable_constraints+set}" = set; then
7214 enableval="$enable_constraints"
7215
7216 if test "$enableval" = yes; then
7217 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7218 else
7219 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7220 fi
7221
7222 else
7223
7224 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7225 if test "x$LINE" != x ; then
7226 eval "DEFAULT_$LINE"
7227 else
7228 no_cache=1
7229 fi
7230
7231 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7232
7233 fi;
7234
7235 eval "$ac_cv_use_constraints"
7236 if test "$no_cache" != 1; then
7237 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7238 fi
7239
7240 if test "$wxUSE_CONSTRAINTS" = yes; then
7241 echo "$as_me:$LINENO: result: yes" >&5
7242 echo "${ECHO_T}yes" >&6
7243 else
7244 echo "$as_me:$LINENO: result: no" >&5
7245 echo "${ECHO_T}no" >&6
7246 fi
7247
7248
7249 enablestring=
7250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7251 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7252 no_cache=0
7253 # Check whether --enable-printarch or --disable-printarch was given.
7254 if test "${enable_printarch+set}" = set; then
7255 enableval="$enable_printarch"
7256
7257 if test "$enableval" = yes; then
7258 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
7259 else
7260 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
7261 fi
7262
7263 else
7264
7265 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7266 if test "x$LINE" != x ; then
7267 eval "DEFAULT_$LINE"
7268 else
7269 no_cache=1
7270 fi
7271
7272 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7273
7274 fi;
7275
7276 eval "$ac_cv_use_printarch"
7277 if test "$no_cache" != 1; then
7278 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7279 fi
7280
7281 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7282 echo "$as_me:$LINENO: result: yes" >&5
7283 echo "${ECHO_T}yes" >&6
7284 else
7285 echo "$as_me:$LINENO: result: no" >&5
7286 echo "${ECHO_T}no" >&6
7287 fi
7288
7289
7290 enablestring=
7291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7292 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7293 no_cache=0
7294 # Check whether --enable-mdi or --disable-mdi was given.
7295 if test "${enable_mdi+set}" = set; then
7296 enableval="$enable_mdi"
7297
7298 if test "$enableval" = yes; then
7299 ac_cv_use_mdi='wxUSE_MDI=yes'
7300 else
7301 ac_cv_use_mdi='wxUSE_MDI=no'
7302 fi
7303
7304 else
7305
7306 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7307 if test "x$LINE" != x ; then
7308 eval "DEFAULT_$LINE"
7309 else
7310 no_cache=1
7311 fi
7312
7313 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7314
7315 fi;
7316
7317 eval "$ac_cv_use_mdi"
7318 if test "$no_cache" != 1; then
7319 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7320 fi
7321
7322 if test "$wxUSE_MDI" = yes; then
7323 echo "$as_me:$LINENO: result: yes" >&5
7324 echo "${ECHO_T}yes" >&6
7325 else
7326 echo "$as_me:$LINENO: result: no" >&5
7327 echo "${ECHO_T}no" >&6
7328 fi
7329
7330
7331 enablestring=
7332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7333 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7334 no_cache=0
7335 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7336 if test "${enable_mdidoc+set}" = set; then
7337 enableval="$enable_mdidoc"
7338
7339 if test "$enableval" = yes; then
7340 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
7341 else
7342 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
7343 fi
7344
7345 else
7346
7347 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7348 if test "x$LINE" != x ; then
7349 eval "DEFAULT_$LINE"
7350 else
7351 no_cache=1
7352 fi
7353
7354 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7355
7356 fi;
7357
7358 eval "$ac_cv_use_mdidoc"
7359 if test "$no_cache" != 1; then
7360 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7361 fi
7362
7363 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7364 echo "$as_me:$LINENO: result: yes" >&5
7365 echo "${ECHO_T}yes" >&6
7366 else
7367 echo "$as_me:$LINENO: result: no" >&5
7368 echo "${ECHO_T}no" >&6
7369 fi
7370
7371
7372 enablestring=
7373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7374 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7375 no_cache=0
7376 # Check whether --enable-loggui or --disable-loggui was given.
7377 if test "${enable_loggui+set}" = set; then
7378 enableval="$enable_loggui"
7379
7380 if test "$enableval" = yes; then
7381 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
7382 else
7383 ac_cv_use_loggui='wxUSE_LOGGUI=no'
7384 fi
7385
7386 else
7387
7388 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7389 if test "x$LINE" != x ; then
7390 eval "DEFAULT_$LINE"
7391 else
7392 no_cache=1
7393 fi
7394
7395 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7396
7397 fi;
7398
7399 eval "$ac_cv_use_loggui"
7400 if test "$no_cache" != 1; then
7401 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7402 fi
7403
7404 if test "$wxUSE_LOGGUI" = yes; then
7405 echo "$as_me:$LINENO: result: yes" >&5
7406 echo "${ECHO_T}yes" >&6
7407 else
7408 echo "$as_me:$LINENO: result: no" >&5
7409 echo "${ECHO_T}no" >&6
7410 fi
7411
7412
7413 enablestring=
7414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7415 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7416 no_cache=0
7417 # Check whether --enable-logwin or --disable-logwin was given.
7418 if test "${enable_logwin+set}" = set; then
7419 enableval="$enable_logwin"
7420
7421 if test "$enableval" = yes; then
7422 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
7423 else
7424 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
7425 fi
7426
7427 else
7428
7429 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7430 if test "x$LINE" != x ; then
7431 eval "DEFAULT_$LINE"
7432 else
7433 no_cache=1
7434 fi
7435
7436 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7437
7438 fi;
7439
7440 eval "$ac_cv_use_logwin"
7441 if test "$no_cache" != 1; then
7442 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7443 fi
7444
7445 if test "$wxUSE_LOGWINDOW" = yes; then
7446 echo "$as_me:$LINENO: result: yes" >&5
7447 echo "${ECHO_T}yes" >&6
7448 else
7449 echo "$as_me:$LINENO: result: no" >&5
7450 echo "${ECHO_T}no" >&6
7451 fi
7452
7453
7454 enablestring=
7455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7456 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7457 no_cache=0
7458 # Check whether --enable-logdialog or --disable-logdialog was given.
7459 if test "${enable_logdialog+set}" = set; then
7460 enableval="$enable_logdialog"
7461
7462 if test "$enableval" = yes; then
7463 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
7464 else
7465 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
7466 fi
7467
7468 else
7469
7470 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7471 if test "x$LINE" != x ; then
7472 eval "DEFAULT_$LINE"
7473 else
7474 no_cache=1
7475 fi
7476
7477 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7478
7479 fi;
7480
7481 eval "$ac_cv_use_logdialog"
7482 if test "$no_cache" != 1; then
7483 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7484 fi
7485
7486 if test "$wxUSE_LOGDIALOG" = yes; then
7487 echo "$as_me:$LINENO: result: yes" >&5
7488 echo "${ECHO_T}yes" >&6
7489 else
7490 echo "$as_me:$LINENO: result: no" >&5
7491 echo "${ECHO_T}no" >&6
7492 fi
7493
7494
7495 enablestring=
7496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7497 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7498 no_cache=0
7499 # Check whether --enable-webkit or --disable-webkit was given.
7500 if test "${enable_webkit+set}" = set; then
7501 enableval="$enable_webkit"
7502
7503 if test "$enableval" = yes; then
7504 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7505 else
7506 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7507 fi
7508
7509 else
7510
7511 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7512 if test "x$LINE" != x ; then
7513 eval "DEFAULT_$LINE"
7514 else
7515 no_cache=1
7516 fi
7517
7518 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7519
7520 fi;
7521
7522 eval "$ac_cv_use_webkit"
7523 if test "$no_cache" != 1; then
7524 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7525 fi
7526
7527 if test "$wxUSE_WEBKIT" = yes; then
7528 echo "$as_me:$LINENO: result: yes" >&5
7529 echo "${ECHO_T}yes" >&6
7530 else
7531 echo "$as_me:$LINENO: result: no" >&5
7532 echo "${ECHO_T}no" >&6
7533 fi
7534
7535
7536 enablestring=
7537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7538 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7539 no_cache=0
7540 # Check whether --enable-html or --disable-html was given.
7541 if test "${enable_html+set}" = set; then
7542 enableval="$enable_html"
7543
7544 if test "$enableval" = yes; then
7545 ac_cv_use_html='wxUSE_RICHTEXT=yes'
7546 else
7547 ac_cv_use_html='wxUSE_RICHTEXT=no'
7548 fi
7549
7550 else
7551
7552 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7553 if test "x$LINE" != x ; then
7554 eval "DEFAULT_$LINE"
7555 else
7556 no_cache=1
7557 fi
7558
7559 ac_cv_use_html='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7560
7561 fi;
7562
7563 eval "$ac_cv_use_html"
7564 if test "$no_cache" != 1; then
7565 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7566 fi
7567
7568 if test "$wxUSE_RICHTEXT" = yes; then
7569 echo "$as_me:$LINENO: result: yes" >&5
7570 echo "${ECHO_T}yes" >&6
7571 else
7572 echo "$as_me:$LINENO: result: no" >&5
7573 echo "${ECHO_T}no" >&6
7574 fi
7575
7576
7577 enablestring=
7578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7579 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7580 no_cache=0
7581 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7582 if test "${enable_graphics_ctx+set}" = set; then
7583 enableval="$enable_graphics_ctx"
7584
7585 if test "$enableval" = yes; then
7586 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
7587 else
7588 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
7589 fi
7590
7591 else
7592
7593 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7594 if test "x$LINE" != x ; then
7595 eval "DEFAULT_$LINE"
7596 else
7597 no_cache=1
7598 fi
7599
7600 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7601
7602 fi;
7603
7604 eval "$ac_cv_use_graphics_ctx"
7605 if test "$no_cache" != 1; then
7606 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7607 fi
7608
7609 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7610 echo "$as_me:$LINENO: result: yes" >&5
7611 echo "${ECHO_T}yes" >&6
7612 else
7613 echo "$as_me:$LINENO: result: no" >&5
7614 echo "${ECHO_T}no" >&6
7615 fi
7616
7617
7618
7619 enablestring=
7620 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7621 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7622 no_cache=0
7623 # Check whether --enable-postscript or --disable-postscript was given.
7624 if test "${enable_postscript+set}" = set; then
7625 enableval="$enable_postscript"
7626
7627 if test "$enableval" = yes; then
7628 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7629 else
7630 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7631 fi
7632
7633 else
7634
7635 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7636 if test "x$LINE" != x ; then
7637 eval "DEFAULT_$LINE"
7638 else
7639 no_cache=1
7640 fi
7641
7642 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7643
7644 fi;
7645
7646 eval "$ac_cv_use_postscript"
7647 if test "$no_cache" != 1; then
7648 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7649 fi
7650
7651 if test "$wxUSE_POSTSCRIPT" = yes; then
7652 echo "$as_me:$LINENO: result: yes" >&5
7653 echo "${ECHO_T}yes" >&6
7654 else
7655 echo "$as_me:$LINENO: result: no" >&5
7656 echo "${ECHO_T}no" >&6
7657 fi
7658
7659
7660
7661
7662
7663 enablestring=
7664 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7665 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7666 no_cache=0
7667 # Check whether --enable-prologio or --disable-prologio was given.
7668 if test "${enable_prologio+set}" = set; then
7669 enableval="$enable_prologio"
7670
7671 if test "$enableval" = yes; then
7672 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7673 else
7674 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7675 fi
7676
7677 else
7678
7679 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7680 if test "x$LINE" != x ; then
7681 eval "DEFAULT_$LINE"
7682 else
7683 no_cache=1
7684 fi
7685
7686 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7687
7688 fi;
7689
7690 eval "$ac_cv_use_prologio"
7691 if test "$no_cache" != 1; then
7692 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7693 fi
7694
7695 if test "$wxUSE_PROLOGIO" = yes; then
7696 echo "$as_me:$LINENO: result: yes" >&5
7697 echo "${ECHO_T}yes" >&6
7698 else
7699 echo "$as_me:$LINENO: result: no" >&5
7700 echo "${ECHO_T}no" >&6
7701 fi
7702
7703
7704 enablestring=
7705 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7706 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7707 no_cache=0
7708 # Check whether --enable-resources or --disable-resources was given.
7709 if test "${enable_resources+set}" = set; then
7710 enableval="$enable_resources"
7711
7712 if test "$enableval" = yes; then
7713 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7714 else
7715 ac_cv_use_resources='wxUSE_RESOURCES=no'
7716 fi
7717
7718 else
7719
7720 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7721 if test "x$LINE" != x ; then
7722 eval "DEFAULT_$LINE"
7723 else
7724 no_cache=1
7725 fi
7726
7727 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7728
7729 fi;
7730
7731 eval "$ac_cv_use_resources"
7732 if test "$no_cache" != 1; then
7733 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7734 fi
7735
7736 if test "$wxUSE_RESOURCES" = yes; then
7737 echo "$as_me:$LINENO: result: yes" >&5
7738 echo "${ECHO_T}yes" >&6
7739 else
7740 echo "$as_me:$LINENO: result: no" >&5
7741 echo "${ECHO_T}no" >&6
7742 fi
7743
7744
7745
7746
7747 enablestring=
7748 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7749 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7750 no_cache=0
7751 # Check whether --enable-clipboard or --disable-clipboard was given.
7752 if test "${enable_clipboard+set}" = set; then
7753 enableval="$enable_clipboard"
7754
7755 if test "$enableval" = yes; then
7756 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7757 else
7758 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7759 fi
7760
7761 else
7762
7763 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7764 if test "x$LINE" != x ; then
7765 eval "DEFAULT_$LINE"
7766 else
7767 no_cache=1
7768 fi
7769
7770 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7771
7772 fi;
7773
7774 eval "$ac_cv_use_clipboard"
7775 if test "$no_cache" != 1; then
7776 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7777 fi
7778
7779 if test "$wxUSE_CLIPBOARD" = yes; then
7780 echo "$as_me:$LINENO: result: yes" >&5
7781 echo "${ECHO_T}yes" >&6
7782 else
7783 echo "$as_me:$LINENO: result: no" >&5
7784 echo "${ECHO_T}no" >&6
7785 fi
7786
7787
7788 enablestring=
7789 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7790 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7791 no_cache=0
7792 # Check whether --enable-dnd or --disable-dnd was given.
7793 if test "${enable_dnd+set}" = set; then
7794 enableval="$enable_dnd"
7795
7796 if test "$enableval" = yes; then
7797 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7798 else
7799 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7800 fi
7801
7802 else
7803
7804 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7805 if test "x$LINE" != x ; then
7806 eval "DEFAULT_$LINE"
7807 else
7808 no_cache=1
7809 fi
7810
7811 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7812
7813 fi;
7814
7815 eval "$ac_cv_use_dnd"
7816 if test "$no_cache" != 1; then
7817 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7818 fi
7819
7820 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7821 echo "$as_me:$LINENO: result: yes" >&5
7822 echo "${ECHO_T}yes" >&6
7823 else
7824 echo "$as_me:$LINENO: result: no" >&5
7825 echo "${ECHO_T}no" >&6
7826 fi
7827
7828
7829 enablestring=
7830 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7831 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7832 no_cache=0
7833 # Check whether --enable-metafile or --disable-metafile was given.
7834 if test "${enable_metafile+set}" = set; then
7835 enableval="$enable_metafile"
7836
7837 if test "$enableval" = yes; then
7838 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7839 else
7840 ac_cv_use_metafile='wxUSE_METAFILE=no'
7841 fi
7842
7843 else
7844
7845 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7846 if test "x$LINE" != x ; then
7847 eval "DEFAULT_$LINE"
7848 else
7849 no_cache=1
7850 fi
7851
7852 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7853
7854 fi;
7855
7856 eval "$ac_cv_use_metafile"
7857 if test "$no_cache" != 1; then
7858 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7859 fi
7860
7861 if test "$wxUSE_METAFILE" = yes; then
7862 echo "$as_me:$LINENO: result: yes" >&5
7863 echo "${ECHO_T}yes" >&6
7864 else
7865 echo "$as_me:$LINENO: result: no" >&5
7866 echo "${ECHO_T}no" >&6
7867 fi
7868
7869
7870
7871
7872
7873 enablestring=
7874 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7875 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7876 no_cache=0
7877 # Check whether --enable-controls or --disable-controls was given.
7878 if test "${enable_controls+set}" = set; then
7879 enableval="$enable_controls"
7880
7881 if test "$enableval" = yes; then
7882 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7883 else
7884 ac_cv_use_controls='wxUSE_CONTROLS=no'
7885 fi
7886
7887 else
7888
7889 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7890 if test "x$LINE" != x ; then
7891 eval "DEFAULT_$LINE"
7892 else
7893 no_cache=1
7894 fi
7895
7896 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7897
7898 fi;
7899
7900 eval "$ac_cv_use_controls"
7901 if test "$no_cache" != 1; then
7902 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7903 fi
7904
7905 if test "$wxUSE_CONTROLS" = yes; then
7906 echo "$as_me:$LINENO: result: yes" >&5
7907 echo "${ECHO_T}yes" >&6
7908 else
7909 echo "$as_me:$LINENO: result: no" >&5
7910 echo "${ECHO_T}no" >&6
7911 fi
7912
7913
7914 if test "$wxUSE_CONTROLS" = "yes"; then
7915 DEFAULT_wxUSE_ACCEL=yes
7916 DEFAULT_wxUSE_ANIMATIONCTRL=yes
7917 DEFAULT_wxUSE_BMPBUTTON=yes
7918 DEFAULT_wxUSE_BUTTON=yes
7919 DEFAULT_wxUSE_CALCTRL=yes
7920 DEFAULT_wxUSE_CARET=yes
7921 DEFAULT_wxUSE_COMBOBOX=yes
7922 DEFAULT_wxUSE_CHECKBOX=yes
7923 DEFAULT_wxUSE_CHECKLISTBOX=yes
7924 DEFAULT_wxUSE_CHOICE=yes
7925 DEFAULT_wxUSE_CHOICEBOOK=yes
7926 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
7927 DEFAULT_wxUSE_COMBOBOX=yes
7928 DEFAULT_wxUSE_DATEPICKCTRL=yes
7929 DEFAULT_wxUSE_DISPLAY=yes
7930 DEFAULT_wxUSE_DETECT_SM=yes
7931 DEFAULT_wxUSE_DIRPICKERCTRL=yes
7932 DEFAULT_wxUSE_FILEPICKERCTRL=yes
7933 DEFAULT_wxUSE_FONTPICKERCTRL=yes
7934 DEFAULT_wxUSE_GAUGE=yes
7935 DEFAULT_wxUSE_GRID=yes
7936 DEFAULT_wxUSE_HYPERLINKCTRL=yes
7937 DEFAULT_wxUSE_DATAVIEWCTRL=no
7938 DEFAULT_wxUSE_IMAGLIST=yes
7939 DEFAULT_wxUSE_LISTBOOK=yes
7940 DEFAULT_wxUSE_LISTBOX=yes
7941 DEFAULT_wxUSE_LISTCTRL=yes
7942 DEFAULT_wxUSE_NOTEBOOK=yes
7943 DEFAULT_wxUSE_RADIOBOX=yes
7944 DEFAULT_wxUSE_RADIOBTN=yes
7945 DEFAULT_wxUSE_SASH=yes
7946 DEFAULT_wxUSE_SCROLLBAR=yes
7947 DEFAULT_wxUSE_SLIDER=yes
7948 DEFAULT_wxUSE_SPINBTN=yes
7949 DEFAULT_wxUSE_SPINCTRL=yes
7950 DEFAULT_wxUSE_SPLITTER=yes
7951 DEFAULT_wxUSE_STATBMP=yes
7952 DEFAULT_wxUSE_STATBOX=yes
7953 DEFAULT_wxUSE_STATLINE=yes
7954 DEFAULT_wxUSE_STATUSBAR=yes
7955 DEFAULT_wxUSE_TAB_DIALOG=yes
7956 DEFAULT_wxUSE_TOGGLEBTN=yes
7957 DEFAULT_wxUSE_TOOLBAR=yes
7958 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7959 DEFAULT_wxUSE_TOOLTIPS=yes
7960 DEFAULT_wxUSE_TREEBOOK=yes
7961 DEFAULT_wxUSE_TOOLBOOK=yes
7962 DEFAULT_wxUSE_TREECTRL=yes
7963 DEFAULT_wxUSE_POPUPWIN=yes
7964 DEFAULT_wxUSE_TIPWINDOW=yes
7965 elif test "$wxUSE_CONTROLS" = "no"; then
7966 DEFAULT_wxUSE_ACCEL=no
7967 DEFAULT_wxUSE_ANIMATIONCTRL=no
7968 DEFAULT_wxUSE_BMPBUTTON=no
7969 DEFAULT_wxUSE_BUTTON=no
7970 DEFAULT_wxUSE_CALCTRL=no
7971 DEFAULT_wxUSE_CARET=no
7972 DEFAULT_wxUSE_COMBOBOX=no
7973 DEFAULT_wxUSE_CHECKBOX=no
7974 DEFAULT_wxUSE_CHECKLISTBOX=no
7975 DEFAULT_wxUSE_CHOICE=no
7976 DEFAULT_wxUSE_CHOICEBOOK=no
7977 DEFAULT_wxUSE_COLOURPICKERCTRL=no
7978 DEFAULT_wxUSE_COMBOBOX=no
7979 DEFAULT_wxUSE_DATEPICKCTRL=no
7980 DEFAULT_wxUSE_DISPLAY=no
7981 DEFAULT_wxUSE_DETECT_SM=no
7982 DEFAULT_wxUSE_DIRPICKERCTRL=no
7983 DEFAULT_wxUSE_FILEPICKERCTRL=no
7984 DEFAULT_wxUSE_FONTPICKERCTRL=no
7985 DEFAULT_wxUSE_GAUGE=no
7986 DEFAULT_wxUSE_GRID=no
7987 DEFAULT_wxUSE_HYPERLINKCTRL=no
7988 DEFAULT_wxUSE_DATAVIEWCTRL=no
7989 DEFAULT_wxUSE_IMAGLIST=no
7990 DEFAULT_wxUSE_LISTBOOK=no
7991 DEFAULT_wxUSE_LISTBOX=no
7992 DEFAULT_wxUSE_LISTCTRL=no
7993 DEFAULT_wxUSE_NOTEBOOK=no
7994 DEFAULT_wxUSE_RADIOBOX=no
7995 DEFAULT_wxUSE_RADIOBTN=no
7996 DEFAULT_wxUSE_SASH=no
7997 DEFAULT_wxUSE_SCROLLBAR=no
7998 DEFAULT_wxUSE_SLIDER=no
7999 DEFAULT_wxUSE_SPINBTN=no
8000 DEFAULT_wxUSE_SPINCTRL=no
8001 DEFAULT_wxUSE_SPLITTER=no
8002 DEFAULT_wxUSE_STATBMP=no
8003 DEFAULT_wxUSE_STATBOX=no
8004 DEFAULT_wxUSE_STATLINE=no
8005 DEFAULT_wxUSE_STATUSBAR=no
8006 DEFAULT_wxUSE_TAB_DIALOG=no
8007 DEFAULT_wxUSE_TOGGLEBTN=no
8008 DEFAULT_wxUSE_TOOLBAR=no
8009 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8010 DEFAULT_wxUSE_TOOLTIPS=no
8011 DEFAULT_wxUSE_TREEBOOK=no
8012 DEFAULT_wxUSE_TOOLBOOK=no
8013 DEFAULT_wxUSE_TREECTRL=no
8014 DEFAULT_wxUSE_POPUPWIN=no
8015 DEFAULT_wxUSE_TIPWINDOW=no
8016 fi
8017
8018
8019 enablestring=
8020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8021 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
8022 no_cache=0
8023 # Check whether --enable-accel or --disable-accel was given.
8024 if test "${enable_accel+set}" = set; then
8025 enableval="$enable_accel"
8026
8027 if test "$enableval" = yes; then
8028 ac_cv_use_accel='wxUSE_ACCEL=yes'
8029 else
8030 ac_cv_use_accel='wxUSE_ACCEL=no'
8031 fi
8032
8033 else
8034
8035 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8036 if test "x$LINE" != x ; then
8037 eval "DEFAULT_$LINE"
8038 else
8039 no_cache=1
8040 fi
8041
8042 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8043
8044 fi;
8045
8046 eval "$ac_cv_use_accel"
8047 if test "$no_cache" != 1; then
8048 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8049 fi
8050
8051 if test "$wxUSE_ACCEL" = yes; then
8052 echo "$as_me:$LINENO: result: yes" >&5
8053 echo "${ECHO_T}yes" >&6
8054 else
8055 echo "$as_me:$LINENO: result: no" >&5
8056 echo "${ECHO_T}no" >&6
8057 fi
8058
8059
8060 enablestring=
8061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8062 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
8063 no_cache=0
8064 # Check whether --enable-animatectrl or --disable-animatectrl was given.
8065 if test "${enable_animatectrl+set}" = set; then
8066 enableval="$enable_animatectrl"
8067
8068 if test "$enableval" = yes; then
8069 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8070 else
8071 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8072 fi
8073
8074 else
8075
8076 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8077 if test "x$LINE" != x ; then
8078 eval "DEFAULT_$LINE"
8079 else
8080 no_cache=1
8081 fi
8082
8083 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8084
8085 fi;
8086
8087 eval "$ac_cv_use_animatectrl"
8088 if test "$no_cache" != 1; then
8089 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8090 fi
8091
8092 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8093 echo "$as_me:$LINENO: result: yes" >&5
8094 echo "${ECHO_T}yes" >&6
8095 else
8096 echo "$as_me:$LINENO: result: no" >&5
8097 echo "${ECHO_T}no" >&6
8098 fi
8099
8100
8101 enablestring=
8102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8103 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8104 no_cache=0
8105 # Check whether --enable-button or --disable-button was given.
8106 if test "${enable_button+set}" = set; then
8107 enableval="$enable_button"
8108
8109 if test "$enableval" = yes; then
8110 ac_cv_use_button='wxUSE_BUTTON=yes'
8111 else
8112 ac_cv_use_button='wxUSE_BUTTON=no'
8113 fi
8114
8115 else
8116
8117 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8118 if test "x$LINE" != x ; then
8119 eval "DEFAULT_$LINE"
8120 else
8121 no_cache=1
8122 fi
8123
8124 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8125
8126 fi;
8127
8128 eval "$ac_cv_use_button"
8129 if test "$no_cache" != 1; then
8130 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8131 fi
8132
8133 if test "$wxUSE_BUTTON" = yes; then
8134 echo "$as_me:$LINENO: result: yes" >&5
8135 echo "${ECHO_T}yes" >&6
8136 else
8137 echo "$as_me:$LINENO: result: no" >&5
8138 echo "${ECHO_T}no" >&6
8139 fi
8140
8141
8142 enablestring=
8143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8144 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8145 no_cache=0
8146 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8147 if test "${enable_bmpbutton+set}" = set; then
8148 enableval="$enable_bmpbutton"
8149
8150 if test "$enableval" = yes; then
8151 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8152 else
8153 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8154 fi
8155
8156 else
8157
8158 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8159 if test "x$LINE" != x ; then
8160 eval "DEFAULT_$LINE"
8161 else
8162 no_cache=1
8163 fi
8164
8165 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8166
8167 fi;
8168
8169 eval "$ac_cv_use_bmpbutton"
8170 if test "$no_cache" != 1; then
8171 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8172 fi
8173
8174 if test "$wxUSE_BMPBUTTON" = yes; then
8175 echo "$as_me:$LINENO: result: yes" >&5
8176 echo "${ECHO_T}yes" >&6
8177 else
8178 echo "$as_me:$LINENO: result: no" >&5
8179 echo "${ECHO_T}no" >&6
8180 fi
8181
8182
8183 enablestring=
8184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8185 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8186 no_cache=0
8187 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8188 if test "${enable_bmpcombobox+set}" = set; then
8189 enableval="$enable_bmpcombobox"
8190
8191 if test "$enableval" = yes; then
8192 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8193 else
8194 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8195 fi
8196
8197 else
8198
8199 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8200 if test "x$LINE" != x ; then
8201 eval "DEFAULT_$LINE"
8202 else
8203 no_cache=1
8204 fi
8205
8206 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8207
8208 fi;
8209
8210 eval "$ac_cv_use_bmpcombobox"
8211 if test "$no_cache" != 1; then
8212 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8213 fi
8214
8215 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8216 echo "$as_me:$LINENO: result: yes" >&5
8217 echo "${ECHO_T}yes" >&6
8218 else
8219 echo "$as_me:$LINENO: result: no" >&5
8220 echo "${ECHO_T}no" >&6
8221 fi
8222
8223
8224 enablestring=
8225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8226 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8227 no_cache=0
8228 # Check whether --enable-calendar or --disable-calendar was given.
8229 if test "${enable_calendar+set}" = set; then
8230 enableval="$enable_calendar"
8231
8232 if test "$enableval" = yes; then
8233 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8234 else
8235 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8236 fi
8237
8238 else
8239
8240 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8241 if test "x$LINE" != x ; then
8242 eval "DEFAULT_$LINE"
8243 else
8244 no_cache=1
8245 fi
8246
8247 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8248
8249 fi;
8250
8251 eval "$ac_cv_use_calendar"
8252 if test "$no_cache" != 1; then
8253 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8254 fi
8255
8256 if test "$wxUSE_CALCTRL" = yes; then
8257 echo "$as_me:$LINENO: result: yes" >&5
8258 echo "${ECHO_T}yes" >&6
8259 else
8260 echo "$as_me:$LINENO: result: no" >&5
8261 echo "${ECHO_T}no" >&6
8262 fi
8263
8264
8265 enablestring=
8266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8267 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8268 no_cache=0
8269 # Check whether --enable-caret or --disable-caret was given.
8270 if test "${enable_caret+set}" = set; then
8271 enableval="$enable_caret"
8272
8273 if test "$enableval" = yes; then
8274 ac_cv_use_caret='wxUSE_CARET=yes'
8275 else
8276 ac_cv_use_caret='wxUSE_CARET=no'
8277 fi
8278
8279 else
8280
8281 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8282 if test "x$LINE" != x ; then
8283 eval "DEFAULT_$LINE"
8284 else
8285 no_cache=1
8286 fi
8287
8288 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8289
8290 fi;
8291
8292 eval "$ac_cv_use_caret"
8293 if test "$no_cache" != 1; then
8294 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8295 fi
8296
8297 if test "$wxUSE_CARET" = yes; then
8298 echo "$as_me:$LINENO: result: yes" >&5
8299 echo "${ECHO_T}yes" >&6
8300 else
8301 echo "$as_me:$LINENO: result: no" >&5
8302 echo "${ECHO_T}no" >&6
8303 fi
8304
8305
8306 enablestring=
8307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8308 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8309 no_cache=0
8310 # Check whether --enable-checkbox or --disable-checkbox was given.
8311 if test "${enable_checkbox+set}" = set; then
8312 enableval="$enable_checkbox"
8313
8314 if test "$enableval" = yes; then
8315 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
8316 else
8317 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
8318 fi
8319
8320 else
8321
8322 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8323 if test "x$LINE" != x ; then
8324 eval "DEFAULT_$LINE"
8325 else
8326 no_cache=1
8327 fi
8328
8329 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8330
8331 fi;
8332
8333 eval "$ac_cv_use_checkbox"
8334 if test "$no_cache" != 1; then
8335 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8336 fi
8337
8338 if test "$wxUSE_CHECKBOX" = yes; then
8339 echo "$as_me:$LINENO: result: yes" >&5
8340 echo "${ECHO_T}yes" >&6
8341 else
8342 echo "$as_me:$LINENO: result: no" >&5
8343 echo "${ECHO_T}no" >&6
8344 fi
8345
8346
8347 enablestring=
8348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8349 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8350 no_cache=0
8351 # Check whether --enable-checklst or --disable-checklst was given.
8352 if test "${enable_checklst+set}" = set; then
8353 enableval="$enable_checklst"
8354
8355 if test "$enableval" = yes; then
8356 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
8357 else
8358 ac_cv_use_checklst='wxUSE_CHECKLST=no'
8359 fi
8360
8361 else
8362
8363 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8364 if test "x$LINE" != x ; then
8365 eval "DEFAULT_$LINE"
8366 else
8367 no_cache=1
8368 fi
8369
8370 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8371
8372 fi;
8373
8374 eval "$ac_cv_use_checklst"
8375 if test "$no_cache" != 1; then
8376 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8377 fi
8378
8379 if test "$wxUSE_CHECKLST" = yes; then
8380 echo "$as_me:$LINENO: result: yes" >&5
8381 echo "${ECHO_T}yes" >&6
8382 else
8383 echo "$as_me:$LINENO: result: no" >&5
8384 echo "${ECHO_T}no" >&6
8385 fi
8386
8387
8388 enablestring=
8389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8390 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8391 no_cache=0
8392 # Check whether --enable-choice or --disable-choice was given.
8393 if test "${enable_choice+set}" = set; then
8394 enableval="$enable_choice"
8395
8396 if test "$enableval" = yes; then
8397 ac_cv_use_choice='wxUSE_CHOICE=yes'
8398 else
8399 ac_cv_use_choice='wxUSE_CHOICE=no'
8400 fi
8401
8402 else
8403
8404 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8405 if test "x$LINE" != x ; then
8406 eval "DEFAULT_$LINE"
8407 else
8408 no_cache=1
8409 fi
8410
8411 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8412
8413 fi;
8414
8415 eval "$ac_cv_use_choice"
8416 if test "$no_cache" != 1; then
8417 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8418 fi
8419
8420 if test "$wxUSE_CHOICE" = yes; then
8421 echo "$as_me:$LINENO: result: yes" >&5
8422 echo "${ECHO_T}yes" >&6
8423 else
8424 echo "$as_me:$LINENO: result: no" >&5
8425 echo "${ECHO_T}no" >&6
8426 fi
8427
8428
8429 enablestring=
8430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8431 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8432 no_cache=0
8433 # Check whether --enable-choicebook or --disable-choicebook was given.
8434 if test "${enable_choicebook+set}" = set; then
8435 enableval="$enable_choicebook"
8436
8437 if test "$enableval" = yes; then
8438 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
8439 else
8440 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
8441 fi
8442
8443 else
8444
8445 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8446 if test "x$LINE" != x ; then
8447 eval "DEFAULT_$LINE"
8448 else
8449 no_cache=1
8450 fi
8451
8452 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8453
8454 fi;
8455
8456 eval "$ac_cv_use_choicebook"
8457 if test "$no_cache" != 1; then
8458 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8459 fi
8460
8461 if test "$wxUSE_CHOICEBOOK" = yes; then
8462 echo "$as_me:$LINENO: result: yes" >&5
8463 echo "${ECHO_T}yes" >&6
8464 else
8465 echo "$as_me:$LINENO: result: no" >&5
8466 echo "${ECHO_T}no" >&6
8467 fi
8468
8469
8470 enablestring=
8471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8472 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8473 no_cache=0
8474 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8475 if test "${enable_colourpicker+set}" = set; then
8476 enableval="$enable_colourpicker"
8477
8478 if test "$enableval" = yes; then
8479 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
8480 else
8481 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
8482 fi
8483
8484 else
8485
8486 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8487 if test "x$LINE" != x ; then
8488 eval "DEFAULT_$LINE"
8489 else
8490 no_cache=1
8491 fi
8492
8493 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8494
8495 fi;
8496
8497 eval "$ac_cv_use_colourpicker"
8498 if test "$no_cache" != 1; then
8499 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8500 fi
8501
8502 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8503 echo "$as_me:$LINENO: result: yes" >&5
8504 echo "${ECHO_T}yes" >&6
8505 else
8506 echo "$as_me:$LINENO: result: no" >&5
8507 echo "${ECHO_T}no" >&6
8508 fi
8509
8510
8511 enablestring=
8512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8513 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8514 no_cache=0
8515 # Check whether --enable-combobox or --disable-combobox was given.
8516 if test "${enable_combobox+set}" = set; then
8517 enableval="$enable_combobox"
8518
8519 if test "$enableval" = yes; then
8520 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
8521 else
8522 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
8523 fi
8524
8525 else
8526
8527 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8528 if test "x$LINE" != x ; then
8529 eval "DEFAULT_$LINE"
8530 else
8531 no_cache=1
8532 fi
8533
8534 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8535
8536 fi;
8537
8538 eval "$ac_cv_use_combobox"
8539 if test "$no_cache" != 1; then
8540 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8541 fi
8542
8543 if test "$wxUSE_COMBOBOX" = yes; then
8544 echo "$as_me:$LINENO: result: yes" >&5
8545 echo "${ECHO_T}yes" >&6
8546 else
8547 echo "$as_me:$LINENO: result: no" >&5
8548 echo "${ECHO_T}no" >&6
8549 fi
8550
8551
8552 enablestring=
8553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8554 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8555 no_cache=0
8556 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8557 if test "${enable_comboctrl+set}" = set; then
8558 enableval="$enable_comboctrl"
8559
8560 if test "$enableval" = yes; then
8561 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
8562 else
8563 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
8564 fi
8565
8566 else
8567
8568 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8569 if test "x$LINE" != x ; then
8570 eval "DEFAULT_$LINE"
8571 else
8572 no_cache=1
8573 fi
8574
8575 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8576
8577 fi;
8578
8579 eval "$ac_cv_use_comboctrl"
8580 if test "$no_cache" != 1; then
8581 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8582 fi
8583
8584 if test "$wxUSE_COMBOCTRL" = yes; then
8585 echo "$as_me:$LINENO: result: yes" >&5
8586 echo "${ECHO_T}yes" >&6
8587 else
8588 echo "$as_me:$LINENO: result: no" >&5
8589 echo "${ECHO_T}no" >&6
8590 fi
8591
8592
8593 enablestring=
8594 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8595 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8596 no_cache=0
8597 # Check whether --enable-datepick or --disable-datepick was given.
8598 if test "${enable_datepick+set}" = set; then
8599 enableval="$enable_datepick"
8600
8601 if test "$enableval" = yes; then
8602 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
8603 else
8604 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
8605 fi
8606
8607 else
8608
8609 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8610 if test "x$LINE" != x ; then
8611 eval "DEFAULT_$LINE"
8612 else
8613 no_cache=1
8614 fi
8615
8616 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8617
8618 fi;
8619
8620 eval "$ac_cv_use_datepick"
8621 if test "$no_cache" != 1; then
8622 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8623 fi
8624
8625 if test "$wxUSE_DATEPICKCTRL" = yes; then
8626 echo "$as_me:$LINENO: result: yes" >&5
8627 echo "${ECHO_T}yes" >&6
8628 else
8629 echo "$as_me:$LINENO: result: no" >&5
8630 echo "${ECHO_T}no" >&6
8631 fi
8632
8633
8634 enablestring=
8635 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8636 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8637 no_cache=0
8638 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8639 if test "${enable_dirpicker+set}" = set; then
8640 enableval="$enable_dirpicker"
8641
8642 if test "$enableval" = yes; then
8643 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
8644 else
8645 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
8646 fi
8647
8648 else
8649
8650 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8651 if test "x$LINE" != x ; then
8652 eval "DEFAULT_$LINE"
8653 else
8654 no_cache=1
8655 fi
8656
8657 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8658
8659 fi;
8660
8661 eval "$ac_cv_use_dirpicker"
8662 if test "$no_cache" != 1; then
8663 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8664 fi
8665
8666 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8667 echo "$as_me:$LINENO: result: yes" >&5
8668 echo "${ECHO_T}yes" >&6
8669 else
8670 echo "$as_me:$LINENO: result: no" >&5
8671 echo "${ECHO_T}no" >&6
8672 fi
8673
8674
8675 enablestring=
8676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8677 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8678 no_cache=0
8679 # Check whether --enable-display or --disable-display was given.
8680 if test "${enable_display+set}" = set; then
8681 enableval="$enable_display"
8682
8683 if test "$enableval" = yes; then
8684 ac_cv_use_display='wxUSE_DISPLAY=yes'
8685 else
8686 ac_cv_use_display='wxUSE_DISPLAY=no'
8687 fi
8688
8689 else
8690
8691 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8692 if test "x$LINE" != x ; then
8693 eval "DEFAULT_$LINE"
8694 else
8695 no_cache=1
8696 fi
8697
8698 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8699
8700 fi;
8701
8702 eval "$ac_cv_use_display"
8703 if test "$no_cache" != 1; then
8704 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8705 fi
8706
8707 if test "$wxUSE_DISPLAY" = yes; then
8708 echo "$as_me:$LINENO: result: yes" >&5
8709 echo "${ECHO_T}yes" >&6
8710 else
8711 echo "$as_me:$LINENO: result: no" >&5
8712 echo "${ECHO_T}no" >&6
8713 fi
8714
8715
8716 enablestring=
8717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
8718 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
8719 no_cache=0
8720 # Check whether --enable-detect_sm or --disable-detect_sm was given.
8721 if test "${enable_detect_sm+set}" = set; then
8722 enableval="$enable_detect_sm"
8723
8724 if test "$enableval" = yes; then
8725 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
8726 else
8727 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
8728 fi
8729
8730 else
8731
8732 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
8733 if test "x$LINE" != x ; then
8734 eval "DEFAULT_$LINE"
8735 else
8736 no_cache=1
8737 fi
8738
8739 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
8740
8741 fi;
8742
8743 eval "$ac_cv_use_detect_sm"
8744 if test "$no_cache" != 1; then
8745 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
8746 fi
8747
8748 if test "$wxUSE_DETECT_SM" = yes; then
8749 echo "$as_me:$LINENO: result: yes" >&5
8750 echo "${ECHO_T}yes" >&6
8751 else
8752 echo "$as_me:$LINENO: result: no" >&5
8753 echo "${ECHO_T}no" >&6
8754 fi
8755
8756
8757 enablestring=
8758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8759 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8760 no_cache=0
8761 # Check whether --enable-filepicker or --disable-filepicker was given.
8762 if test "${enable_filepicker+set}" = set; then
8763 enableval="$enable_filepicker"
8764
8765 if test "$enableval" = yes; then
8766 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
8767 else
8768 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
8769 fi
8770
8771 else
8772
8773 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8774 if test "x$LINE" != x ; then
8775 eval "DEFAULT_$LINE"
8776 else
8777 no_cache=1
8778 fi
8779
8780 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8781
8782 fi;
8783
8784 eval "$ac_cv_use_filepicker"
8785 if test "$no_cache" != 1; then
8786 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8787 fi
8788
8789 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8790 echo "$as_me:$LINENO: result: yes" >&5
8791 echo "${ECHO_T}yes" >&6
8792 else
8793 echo "$as_me:$LINENO: result: no" >&5
8794 echo "${ECHO_T}no" >&6
8795 fi
8796
8797
8798 enablestring=
8799 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8800 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8801 no_cache=0
8802 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8803 if test "${enable_fontpicker+set}" = set; then
8804 enableval="$enable_fontpicker"
8805
8806 if test "$enableval" = yes; then
8807 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
8808 else
8809 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
8810 fi
8811
8812 else
8813
8814 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8815 if test "x$LINE" != x ; then
8816 eval "DEFAULT_$LINE"
8817 else
8818 no_cache=1
8819 fi
8820
8821 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8822
8823 fi;
8824
8825 eval "$ac_cv_use_fontpicker"
8826 if test "$no_cache" != 1; then
8827 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8828 fi
8829
8830 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8831 echo "$as_me:$LINENO: result: yes" >&5
8832 echo "${ECHO_T}yes" >&6
8833 else
8834 echo "$as_me:$LINENO: result: no" >&5
8835 echo "${ECHO_T}no" >&6
8836 fi
8837
8838
8839 enablestring=
8840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8841 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8842 no_cache=0
8843 # Check whether --enable-gauge or --disable-gauge was given.
8844 if test "${enable_gauge+set}" = set; then
8845 enableval="$enable_gauge"
8846
8847 if test "$enableval" = yes; then
8848 ac_cv_use_gauge='wxUSE_GAUGE=yes'
8849 else
8850 ac_cv_use_gauge='wxUSE_GAUGE=no'
8851 fi
8852
8853 else
8854
8855 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8856 if test "x$LINE" != x ; then
8857 eval "DEFAULT_$LINE"
8858 else
8859 no_cache=1
8860 fi
8861
8862 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8863
8864 fi;
8865
8866 eval "$ac_cv_use_gauge"
8867 if test "$no_cache" != 1; then
8868 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8869 fi
8870
8871 if test "$wxUSE_GAUGE" = yes; then
8872 echo "$as_me:$LINENO: result: yes" >&5
8873 echo "${ECHO_T}yes" >&6
8874 else
8875 echo "$as_me:$LINENO: result: no" >&5
8876 echo "${ECHO_T}no" >&6
8877 fi
8878
8879
8880 enablestring=
8881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8882 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8883 no_cache=0
8884 # Check whether --enable-grid or --disable-grid was given.
8885 if test "${enable_grid+set}" = set; then
8886 enableval="$enable_grid"
8887
8888 if test "$enableval" = yes; then
8889 ac_cv_use_grid='wxUSE_GRID=yes'
8890 else
8891 ac_cv_use_grid='wxUSE_GRID=no'
8892 fi
8893
8894 else
8895
8896 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8897 if test "x$LINE" != x ; then
8898 eval "DEFAULT_$LINE"
8899 else
8900 no_cache=1
8901 fi
8902
8903 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8904
8905 fi;
8906
8907 eval "$ac_cv_use_grid"
8908 if test "$no_cache" != 1; then
8909 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8910 fi
8911
8912 if test "$wxUSE_GRID" = yes; then
8913 echo "$as_me:$LINENO: result: yes" >&5
8914 echo "${ECHO_T}yes" >&6
8915 else
8916 echo "$as_me:$LINENO: result: no" >&5
8917 echo "${ECHO_T}no" >&6
8918 fi
8919
8920
8921 enablestring=
8922 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8923 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8924 no_cache=0
8925 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8926 if test "${enable_dataviewctrl+set}" = set; then
8927 enableval="$enable_dataviewctrl"
8928
8929 if test "$enableval" = yes; then
8930 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
8931 else
8932 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
8933 fi
8934
8935 else
8936
8937 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8938 if test "x$LINE" != x ; then
8939 eval "DEFAULT_$LINE"
8940 else
8941 no_cache=1
8942 fi
8943
8944 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8945
8946 fi;
8947
8948 eval "$ac_cv_use_dataviewctrl"
8949 if test "$no_cache" != 1; then
8950 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8951 fi
8952
8953 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8954 echo "$as_me:$LINENO: result: yes" >&5
8955 echo "${ECHO_T}yes" >&6
8956 else
8957 echo "$as_me:$LINENO: result: no" >&5
8958 echo "${ECHO_T}no" >&6
8959 fi
8960
8961
8962 enablestring=
8963 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
8964 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
8965 no_cache=0
8966 # Check whether --enable-hyperlink or --disable-hyperlink was given.
8967 if test "${enable_hyperlink+set}" = set; then
8968 enableval="$enable_hyperlink"
8969
8970 if test "$enableval" = yes; then
8971 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
8972 else
8973 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
8974 fi
8975
8976 else
8977
8978 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
8979 if test "x$LINE" != x ; then
8980 eval "DEFAULT_$LINE"
8981 else
8982 no_cache=1
8983 fi
8984
8985 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
8986
8987 fi;
8988
8989 eval "$ac_cv_use_hyperlink"
8990 if test "$no_cache" != 1; then
8991 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
8992 fi
8993
8994 if test "$wxUSE_HYPERLINKCTRL" = yes; then
8995 echo "$as_me:$LINENO: result: yes" >&5
8996 echo "${ECHO_T}yes" >&6
8997 else
8998 echo "$as_me:$LINENO: result: no" >&5
8999 echo "${ECHO_T}no" >&6
9000 fi
9001
9002
9003 enablestring=
9004 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9005 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
9006 no_cache=0
9007 # Check whether --enable-imaglist or --disable-imaglist was given.
9008 if test "${enable_imaglist+set}" = set; then
9009 enableval="$enable_imaglist"
9010
9011 if test "$enableval" = yes; then
9012 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9013 else
9014 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9015 fi
9016
9017 else
9018
9019 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9020 if test "x$LINE" != x ; then
9021 eval "DEFAULT_$LINE"
9022 else
9023 no_cache=1
9024 fi
9025
9026 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9027
9028 fi;
9029
9030 eval "$ac_cv_use_imaglist"
9031 if test "$no_cache" != 1; then
9032 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9033 fi
9034
9035 if test "$wxUSE_IMAGLIST" = yes; then
9036 echo "$as_me:$LINENO: result: yes" >&5
9037 echo "${ECHO_T}yes" >&6
9038 else
9039 echo "$as_me:$LINENO: result: no" >&5
9040 echo "${ECHO_T}no" >&6
9041 fi
9042
9043
9044 enablestring=
9045 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9046 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
9047 no_cache=0
9048 # Check whether --enable-listbook or --disable-listbook was given.
9049 if test "${enable_listbook+set}" = set; then
9050 enableval="$enable_listbook"
9051
9052 if test "$enableval" = yes; then
9053 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9054 else
9055 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9056 fi
9057
9058 else
9059
9060 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9061 if test "x$LINE" != x ; then
9062 eval "DEFAULT_$LINE"
9063 else
9064 no_cache=1
9065 fi
9066
9067 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9068
9069 fi;
9070
9071 eval "$ac_cv_use_listbook"
9072 if test "$no_cache" != 1; then
9073 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9074 fi
9075
9076 if test "$wxUSE_LISTBOOK" = yes; then
9077 echo "$as_me:$LINENO: result: yes" >&5
9078 echo "${ECHO_T}yes" >&6
9079 else
9080 echo "$as_me:$LINENO: result: no" >&5
9081 echo "${ECHO_T}no" >&6
9082 fi
9083
9084
9085 enablestring=
9086 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9087 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
9088 no_cache=0
9089 # Check whether --enable-listbox or --disable-listbox was given.
9090 if test "${enable_listbox+set}" = set; then
9091 enableval="$enable_listbox"
9092
9093 if test "$enableval" = yes; then
9094 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9095 else
9096 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9097 fi
9098
9099 else
9100
9101 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9102 if test "x$LINE" != x ; then
9103 eval "DEFAULT_$LINE"
9104 else
9105 no_cache=1
9106 fi
9107
9108 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9109
9110 fi;
9111
9112 eval "$ac_cv_use_listbox"
9113 if test "$no_cache" != 1; then
9114 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9115 fi
9116
9117 if test "$wxUSE_LISTBOX" = yes; then
9118 echo "$as_me:$LINENO: result: yes" >&5
9119 echo "${ECHO_T}yes" >&6
9120 else
9121 echo "$as_me:$LINENO: result: no" >&5
9122 echo "${ECHO_T}no" >&6
9123 fi
9124
9125
9126 enablestring=
9127 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9128 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
9129 no_cache=0
9130 # Check whether --enable-listctrl or --disable-listctrl was given.
9131 if test "${enable_listctrl+set}" = set; then
9132 enableval="$enable_listctrl"
9133
9134 if test "$enableval" = yes; then
9135 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9136 else
9137 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9138 fi
9139
9140 else
9141
9142 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9143 if test "x$LINE" != x ; then
9144 eval "DEFAULT_$LINE"
9145 else
9146 no_cache=1
9147 fi
9148
9149 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9150
9151 fi;
9152
9153 eval "$ac_cv_use_listctrl"
9154 if test "$no_cache" != 1; then
9155 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9156 fi
9157
9158 if test "$wxUSE_LISTCTRL" = yes; then
9159 echo "$as_me:$LINENO: result: yes" >&5
9160 echo "${ECHO_T}yes" >&6
9161 else
9162 echo "$as_me:$LINENO: result: no" >&5
9163 echo "${ECHO_T}no" >&6
9164 fi
9165
9166
9167 enablestring=
9168 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9169 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9170 no_cache=0
9171 # Check whether --enable-notebook or --disable-notebook was given.
9172 if test "${enable_notebook+set}" = set; then
9173 enableval="$enable_notebook"
9174
9175 if test "$enableval" = yes; then
9176 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9177 else
9178 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9179 fi
9180
9181 else
9182
9183 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9184 if test "x$LINE" != x ; then
9185 eval "DEFAULT_$LINE"
9186 else
9187 no_cache=1
9188 fi
9189
9190 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9191
9192 fi;
9193
9194 eval "$ac_cv_use_notebook"
9195 if test "$no_cache" != 1; then
9196 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9197 fi
9198
9199 if test "$wxUSE_NOTEBOOK" = yes; then
9200 echo "$as_me:$LINENO: result: yes" >&5
9201 echo "${ECHO_T}yes" >&6
9202 else
9203 echo "$as_me:$LINENO: result: no" >&5
9204 echo "${ECHO_T}no" >&6
9205 fi
9206
9207
9208 enablestring=
9209 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9210 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9211 no_cache=0
9212 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9213 if test "${enable_odcombobox+set}" = set; then
9214 enableval="$enable_odcombobox"
9215
9216 if test "$enableval" = yes; then
9217 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
9218 else
9219 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
9220 fi
9221
9222 else
9223
9224 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9225 if test "x$LINE" != x ; then
9226 eval "DEFAULT_$LINE"
9227 else
9228 no_cache=1
9229 fi
9230
9231 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9232
9233 fi;
9234
9235 eval "$ac_cv_use_odcombobox"
9236 if test "$no_cache" != 1; then
9237 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9238 fi
9239
9240 if test "$wxUSE_ODCOMBOBOX" = yes; then
9241 echo "$as_me:$LINENO: result: yes" >&5
9242 echo "${ECHO_T}yes" >&6
9243 else
9244 echo "$as_me:$LINENO: result: no" >&5
9245 echo "${ECHO_T}no" >&6
9246 fi
9247
9248
9249 enablestring=
9250 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9251 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9252 no_cache=0
9253 # Check whether --enable-radiobox or --disable-radiobox was given.
9254 if test "${enable_radiobox+set}" = set; then
9255 enableval="$enable_radiobox"
9256
9257 if test "$enableval" = yes; then
9258 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
9259 else
9260 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
9261 fi
9262
9263 else
9264
9265 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9266 if test "x$LINE" != x ; then
9267 eval "DEFAULT_$LINE"
9268 else
9269 no_cache=1
9270 fi
9271
9272 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9273
9274 fi;
9275
9276 eval "$ac_cv_use_radiobox"
9277 if test "$no_cache" != 1; then
9278 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9279 fi
9280
9281 if test "$wxUSE_RADIOBOX" = yes; then
9282 echo "$as_me:$LINENO: result: yes" >&5
9283 echo "${ECHO_T}yes" >&6
9284 else
9285 echo "$as_me:$LINENO: result: no" >&5
9286 echo "${ECHO_T}no" >&6
9287 fi
9288
9289
9290 enablestring=
9291 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9292 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9293 no_cache=0
9294 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9295 if test "${enable_radiobtn+set}" = set; then
9296 enableval="$enable_radiobtn"
9297
9298 if test "$enableval" = yes; then
9299 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
9300 else
9301 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
9302 fi
9303
9304 else
9305
9306 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9307 if test "x$LINE" != x ; then
9308 eval "DEFAULT_$LINE"
9309 else
9310 no_cache=1
9311 fi
9312
9313 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9314
9315 fi;
9316
9317 eval "$ac_cv_use_radiobtn"
9318 if test "$no_cache" != 1; then
9319 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9320 fi
9321
9322 if test "$wxUSE_RADIOBTN" = yes; then
9323 echo "$as_me:$LINENO: result: yes" >&5
9324 echo "${ECHO_T}yes" >&6
9325 else
9326 echo "$as_me:$LINENO: result: no" >&5
9327 echo "${ECHO_T}no" >&6
9328 fi
9329
9330
9331 enablestring=
9332 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9333 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9334 no_cache=0
9335 # Check whether --enable-sash or --disable-sash was given.
9336 if test "${enable_sash+set}" = set; then
9337 enableval="$enable_sash"
9338
9339 if test "$enableval" = yes; then
9340 ac_cv_use_sash='wxUSE_SASH=yes'
9341 else
9342 ac_cv_use_sash='wxUSE_SASH=no'
9343 fi
9344
9345 else
9346
9347 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9348 if test "x$LINE" != x ; then
9349 eval "DEFAULT_$LINE"
9350 else
9351 no_cache=1
9352 fi
9353
9354 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9355
9356 fi;
9357
9358 eval "$ac_cv_use_sash"
9359 if test "$no_cache" != 1; then
9360 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9361 fi
9362
9363 if test "$wxUSE_SASH" = yes; then
9364 echo "$as_me:$LINENO: result: yes" >&5
9365 echo "${ECHO_T}yes" >&6
9366 else
9367 echo "$as_me:$LINENO: result: no" >&5
9368 echo "${ECHO_T}no" >&6
9369 fi
9370
9371
9372 enablestring=
9373 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9374 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9375 no_cache=0
9376 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9377 if test "${enable_scrollbar+set}" = set; then
9378 enableval="$enable_scrollbar"
9379
9380 if test "$enableval" = yes; then
9381 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
9382 else
9383 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
9384 fi
9385
9386 else
9387
9388 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9389 if test "x$LINE" != x ; then
9390 eval "DEFAULT_$LINE"
9391 else
9392 no_cache=1
9393 fi
9394
9395 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9396
9397 fi;
9398
9399 eval "$ac_cv_use_scrollbar"
9400 if test "$no_cache" != 1; then
9401 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9402 fi
9403
9404 if test "$wxUSE_SCROLLBAR" = yes; then
9405 echo "$as_me:$LINENO: result: yes" >&5
9406 echo "${ECHO_T}yes" >&6
9407 else
9408 echo "$as_me:$LINENO: result: no" >&5
9409 echo "${ECHO_T}no" >&6
9410 fi
9411
9412
9413 enablestring=
9414 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9415 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9416 no_cache=0
9417 # Check whether --enable-slider or --disable-slider was given.
9418 if test "${enable_slider+set}" = set; then
9419 enableval="$enable_slider"
9420
9421 if test "$enableval" = yes; then
9422 ac_cv_use_slider='wxUSE_SLIDER=yes'
9423 else
9424 ac_cv_use_slider='wxUSE_SLIDER=no'
9425 fi
9426
9427 else
9428
9429 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9430 if test "x$LINE" != x ; then
9431 eval "DEFAULT_$LINE"
9432 else
9433 no_cache=1
9434 fi
9435
9436 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9437
9438 fi;
9439
9440 eval "$ac_cv_use_slider"
9441 if test "$no_cache" != 1; then
9442 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9443 fi
9444
9445 if test "$wxUSE_SLIDER" = yes; then
9446 echo "$as_me:$LINENO: result: yes" >&5
9447 echo "${ECHO_T}yes" >&6
9448 else
9449 echo "$as_me:$LINENO: result: no" >&5
9450 echo "${ECHO_T}no" >&6
9451 fi
9452
9453
9454 enablestring=
9455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9456 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9457 no_cache=0
9458 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9459 if test "${enable_spinbtn+set}" = set; then
9460 enableval="$enable_spinbtn"
9461
9462 if test "$enableval" = yes; then
9463 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
9464 else
9465 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
9466 fi
9467
9468 else
9469
9470 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9471 if test "x$LINE" != x ; then
9472 eval "DEFAULT_$LINE"
9473 else
9474 no_cache=1
9475 fi
9476
9477 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9478
9479 fi;
9480
9481 eval "$ac_cv_use_spinbtn"
9482 if test "$no_cache" != 1; then
9483 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9484 fi
9485
9486 if test "$wxUSE_SPINBTN" = yes; then
9487 echo "$as_me:$LINENO: result: yes" >&5
9488 echo "${ECHO_T}yes" >&6
9489 else
9490 echo "$as_me:$LINENO: result: no" >&5
9491 echo "${ECHO_T}no" >&6
9492 fi
9493
9494
9495 enablestring=
9496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9497 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9498 no_cache=0
9499 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9500 if test "${enable_spinctrl+set}" = set; then
9501 enableval="$enable_spinctrl"
9502
9503 if test "$enableval" = yes; then
9504 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
9505 else
9506 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
9507 fi
9508
9509 else
9510
9511 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9512 if test "x$LINE" != x ; then
9513 eval "DEFAULT_$LINE"
9514 else
9515 no_cache=1
9516 fi
9517
9518 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9519
9520 fi;
9521
9522 eval "$ac_cv_use_spinctrl"
9523 if test "$no_cache" != 1; then
9524 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9525 fi
9526
9527 if test "$wxUSE_SPINCTRL" = yes; then
9528 echo "$as_me:$LINENO: result: yes" >&5
9529 echo "${ECHO_T}yes" >&6
9530 else
9531 echo "$as_me:$LINENO: result: no" >&5
9532 echo "${ECHO_T}no" >&6
9533 fi
9534
9535
9536 enablestring=
9537 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9538 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9539 no_cache=0
9540 # Check whether --enable-splitter or --disable-splitter was given.
9541 if test "${enable_splitter+set}" = set; then
9542 enableval="$enable_splitter"
9543
9544 if test "$enableval" = yes; then
9545 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
9546 else
9547 ac_cv_use_splitter='wxUSE_SPLITTER=no'
9548 fi
9549
9550 else
9551
9552 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9553 if test "x$LINE" != x ; then
9554 eval "DEFAULT_$LINE"
9555 else
9556 no_cache=1
9557 fi
9558
9559 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9560
9561 fi;
9562
9563 eval "$ac_cv_use_splitter"
9564 if test "$no_cache" != 1; then
9565 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9566 fi
9567
9568 if test "$wxUSE_SPLITTER" = yes; then
9569 echo "$as_me:$LINENO: result: yes" >&5
9570 echo "${ECHO_T}yes" >&6
9571 else
9572 echo "$as_me:$LINENO: result: no" >&5
9573 echo "${ECHO_T}no" >&6
9574 fi
9575
9576
9577 enablestring=
9578 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9579 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9580 no_cache=0
9581 # Check whether --enable-statbmp or --disable-statbmp was given.
9582 if test "${enable_statbmp+set}" = set; then
9583 enableval="$enable_statbmp"
9584
9585 if test "$enableval" = yes; then
9586 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
9587 else
9588 ac_cv_use_statbmp='wxUSE_STATBMP=no'
9589 fi
9590
9591 else
9592
9593 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9594 if test "x$LINE" != x ; then
9595 eval "DEFAULT_$LINE"
9596 else
9597 no_cache=1
9598 fi
9599
9600 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9601
9602 fi;
9603
9604 eval "$ac_cv_use_statbmp"
9605 if test "$no_cache" != 1; then
9606 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9607 fi
9608
9609 if test "$wxUSE_STATBMP" = yes; then
9610 echo "$as_me:$LINENO: result: yes" >&5
9611 echo "${ECHO_T}yes" >&6
9612 else
9613 echo "$as_me:$LINENO: result: no" >&5
9614 echo "${ECHO_T}no" >&6
9615 fi
9616
9617
9618 enablestring=
9619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9620 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9621 no_cache=0
9622 # Check whether --enable-statbox or --disable-statbox was given.
9623 if test "${enable_statbox+set}" = set; then
9624 enableval="$enable_statbox"
9625
9626 if test "$enableval" = yes; then
9627 ac_cv_use_statbox='wxUSE_STATBOX=yes'
9628 else
9629 ac_cv_use_statbox='wxUSE_STATBOX=no'
9630 fi
9631
9632 else
9633
9634 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9635 if test "x$LINE" != x ; then
9636 eval "DEFAULT_$LINE"
9637 else
9638 no_cache=1
9639 fi
9640
9641 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9642
9643 fi;
9644
9645 eval "$ac_cv_use_statbox"
9646 if test "$no_cache" != 1; then
9647 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9648 fi
9649
9650 if test "$wxUSE_STATBOX" = yes; then
9651 echo "$as_me:$LINENO: result: yes" >&5
9652 echo "${ECHO_T}yes" >&6
9653 else
9654 echo "$as_me:$LINENO: result: no" >&5
9655 echo "${ECHO_T}no" >&6
9656 fi
9657
9658
9659 enablestring=
9660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9661 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9662 no_cache=0
9663 # Check whether --enable-statline or --disable-statline was given.
9664 if test "${enable_statline+set}" = set; then
9665 enableval="$enable_statline"
9666
9667 if test "$enableval" = yes; then
9668 ac_cv_use_statline='wxUSE_STATLINE=yes'
9669 else
9670 ac_cv_use_statline='wxUSE_STATLINE=no'
9671 fi
9672
9673 else
9674
9675 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9676 if test "x$LINE" != x ; then
9677 eval "DEFAULT_$LINE"
9678 else
9679 no_cache=1
9680 fi
9681
9682 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9683
9684 fi;
9685
9686 eval "$ac_cv_use_statline"
9687 if test "$no_cache" != 1; then
9688 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9689 fi
9690
9691 if test "$wxUSE_STATLINE" = yes; then
9692 echo "$as_me:$LINENO: result: yes" >&5
9693 echo "${ECHO_T}yes" >&6
9694 else
9695 echo "$as_me:$LINENO: result: no" >&5
9696 echo "${ECHO_T}no" >&6
9697 fi
9698
9699
9700 enablestring=
9701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9702 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9703 no_cache=0
9704 # Check whether --enable-stattext or --disable-stattext was given.
9705 if test "${enable_stattext+set}" = set; then
9706 enableval="$enable_stattext"
9707
9708 if test "$enableval" = yes; then
9709 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
9710 else
9711 ac_cv_use_stattext='wxUSE_STATTEXT=no'
9712 fi
9713
9714 else
9715
9716 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9717 if test "x$LINE" != x ; then
9718 eval "DEFAULT_$LINE"
9719 else
9720 no_cache=1
9721 fi
9722
9723 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9724
9725 fi;
9726
9727 eval "$ac_cv_use_stattext"
9728 if test "$no_cache" != 1; then
9729 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9730 fi
9731
9732 if test "$wxUSE_STATTEXT" = yes; then
9733 echo "$as_me:$LINENO: result: yes" >&5
9734 echo "${ECHO_T}yes" >&6
9735 else
9736 echo "$as_me:$LINENO: result: no" >&5
9737 echo "${ECHO_T}no" >&6
9738 fi
9739
9740
9741 enablestring=
9742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9743 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9744 no_cache=0
9745 # Check whether --enable-statusbar or --disable-statusbar was given.
9746 if test "${enable_statusbar+set}" = set; then
9747 enableval="$enable_statusbar"
9748
9749 if test "$enableval" = yes; then
9750 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
9751 else
9752 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
9753 fi
9754
9755 else
9756
9757 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9758 if test "x$LINE" != x ; then
9759 eval "DEFAULT_$LINE"
9760 else
9761 no_cache=1
9762 fi
9763
9764 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9765
9766 fi;
9767
9768 eval "$ac_cv_use_statusbar"
9769 if test "$no_cache" != 1; then
9770 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9771 fi
9772
9773 if test "$wxUSE_STATUSBAR" = yes; then
9774 echo "$as_me:$LINENO: result: yes" >&5
9775 echo "${ECHO_T}yes" >&6
9776 else
9777 echo "$as_me:$LINENO: result: no" >&5
9778 echo "${ECHO_T}no" >&6
9779 fi
9780
9781
9782 enablestring=
9783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9784 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9785 no_cache=0
9786 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9787 if test "${enable_tabdialog+set}" = set; then
9788 enableval="$enable_tabdialog"
9789
9790 if test "$enableval" = yes; then
9791 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
9792 else
9793 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
9794 fi
9795
9796 else
9797
9798 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9799 if test "x$LINE" != x ; then
9800 eval "DEFAULT_$LINE"
9801 else
9802 no_cache=1
9803 fi
9804
9805 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9806
9807 fi;
9808
9809 eval "$ac_cv_use_tabdialog"
9810 if test "$no_cache" != 1; then
9811 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9812 fi
9813
9814 if test "$wxUSE_TAB_DIALOG" = yes; then
9815 echo "$as_me:$LINENO: result: yes" >&5
9816 echo "${ECHO_T}yes" >&6
9817 else
9818 echo "$as_me:$LINENO: result: no" >&5
9819 echo "${ECHO_T}no" >&6
9820 fi
9821
9822
9823 enablestring=
9824 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9825 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9826 no_cache=0
9827 # Check whether --enable-textctrl or --disable-textctrl was given.
9828 if test "${enable_textctrl+set}" = set; then
9829 enableval="$enable_textctrl"
9830
9831 if test "$enableval" = yes; then
9832 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
9833 else
9834 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
9835 fi
9836
9837 else
9838
9839 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9840 if test "x$LINE" != x ; then
9841 eval "DEFAULT_$LINE"
9842 else
9843 no_cache=1
9844 fi
9845
9846 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9847
9848 fi;
9849
9850 eval "$ac_cv_use_textctrl"
9851 if test "$no_cache" != 1; then
9852 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9853 fi
9854
9855 if test "$wxUSE_TEXTCTRL" = yes; then
9856 echo "$as_me:$LINENO: result: yes" >&5
9857 echo "${ECHO_T}yes" >&6
9858 else
9859 echo "$as_me:$LINENO: result: no" >&5
9860 echo "${ECHO_T}no" >&6
9861 fi
9862
9863
9864 enablestring=
9865 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9866 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9867 no_cache=0
9868 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9869 if test "${enable_togglebtn+set}" = set; then
9870 enableval="$enable_togglebtn"
9871
9872 if test "$enableval" = yes; then
9873 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
9874 else
9875 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
9876 fi
9877
9878 else
9879
9880 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9881 if test "x$LINE" != x ; then
9882 eval "DEFAULT_$LINE"
9883 else
9884 no_cache=1
9885 fi
9886
9887 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9888
9889 fi;
9890
9891 eval "$ac_cv_use_togglebtn"
9892 if test "$no_cache" != 1; then
9893 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9894 fi
9895
9896 if test "$wxUSE_TOGGLEBTN" = yes; then
9897 echo "$as_me:$LINENO: result: yes" >&5
9898 echo "${ECHO_T}yes" >&6
9899 else
9900 echo "$as_me:$LINENO: result: no" >&5
9901 echo "${ECHO_T}no" >&6
9902 fi
9903
9904
9905 enablestring=
9906 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9907 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9908 no_cache=0
9909 # Check whether --enable-toolbar or --disable-toolbar was given.
9910 if test "${enable_toolbar+set}" = set; then
9911 enableval="$enable_toolbar"
9912
9913 if test "$enableval" = yes; then
9914 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
9915 else
9916 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
9917 fi
9918
9919 else
9920
9921 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9922 if test "x$LINE" != x ; then
9923 eval "DEFAULT_$LINE"
9924 else
9925 no_cache=1
9926 fi
9927
9928 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9929
9930 fi;
9931
9932 eval "$ac_cv_use_toolbar"
9933 if test "$no_cache" != 1; then
9934 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9935 fi
9936
9937 if test "$wxUSE_TOOLBAR" = yes; then
9938 echo "$as_me:$LINENO: result: yes" >&5
9939 echo "${ECHO_T}yes" >&6
9940 else
9941 echo "$as_me:$LINENO: result: no" >&5
9942 echo "${ECHO_T}no" >&6
9943 fi
9944
9945
9946 enablestring=
9947 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9948 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9949 no_cache=0
9950 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9951 if test "${enable_tbarnative+set}" = set; then
9952 enableval="$enable_tbarnative"
9953
9954 if test "$enableval" = yes; then
9955 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
9956 else
9957 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
9958 fi
9959
9960 else
9961
9962 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9963 if test "x$LINE" != x ; then
9964 eval "DEFAULT_$LINE"
9965 else
9966 no_cache=1
9967 fi
9968
9969 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9970
9971 fi;
9972
9973 eval "$ac_cv_use_tbarnative"
9974 if test "$no_cache" != 1; then
9975 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9976 fi
9977
9978 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9979 echo "$as_me:$LINENO: result: yes" >&5
9980 echo "${ECHO_T}yes" >&6
9981 else
9982 echo "$as_me:$LINENO: result: no" >&5
9983 echo "${ECHO_T}no" >&6
9984 fi
9985
9986
9987 enablestring=
9988 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9989 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9990 no_cache=0
9991 # Check whether --enable-treebook or --disable-treebook was given.
9992 if test "${enable_treebook+set}" = set; then
9993 enableval="$enable_treebook"
9994
9995 if test "$enableval" = yes; then
9996 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
9997 else
9998 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
9999 fi
10000
10001 else
10002
10003 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10004 if test "x$LINE" != x ; then
10005 eval "DEFAULT_$LINE"
10006 else
10007 no_cache=1
10008 fi
10009
10010 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10011
10012 fi;
10013
10014 eval "$ac_cv_use_treebook"
10015 if test "$no_cache" != 1; then
10016 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10017 fi
10018
10019 if test "$wxUSE_TREEBOOK" = yes; then
10020 echo "$as_me:$LINENO: result: yes" >&5
10021 echo "${ECHO_T}yes" >&6
10022 else
10023 echo "$as_me:$LINENO: result: no" >&5
10024 echo "${ECHO_T}no" >&6
10025 fi
10026
10027
10028 enablestring=
10029 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10030 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
10031 no_cache=0
10032 # Check whether --enable-toolbook or --disable-toolbook was given.
10033 if test "${enable_toolbook+set}" = set; then
10034 enableval="$enable_toolbook"
10035
10036 if test "$enableval" = yes; then
10037 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10038 else
10039 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10040 fi
10041
10042 else
10043
10044 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10045 if test "x$LINE" != x ; then
10046 eval "DEFAULT_$LINE"
10047 else
10048 no_cache=1
10049 fi
10050
10051 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10052
10053 fi;
10054
10055 eval "$ac_cv_use_toolbook"
10056 if test "$no_cache" != 1; then
10057 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10058 fi
10059
10060 if test "$wxUSE_TOOLBOOK" = yes; then
10061 echo "$as_me:$LINENO: result: yes" >&5
10062 echo "${ECHO_T}yes" >&6
10063 else
10064 echo "$as_me:$LINENO: result: no" >&5
10065 echo "${ECHO_T}no" >&6
10066 fi
10067
10068
10069 enablestring=
10070 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10071 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
10072 no_cache=0
10073 # Check whether --enable-treectrl or --disable-treectrl was given.
10074 if test "${enable_treectrl+set}" = set; then
10075 enableval="$enable_treectrl"
10076
10077 if test "$enableval" = yes; then
10078 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10079 else
10080 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10081 fi
10082
10083 else
10084
10085 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10086 if test "x$LINE" != x ; then
10087 eval "DEFAULT_$LINE"
10088 else
10089 no_cache=1
10090 fi
10091
10092 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10093
10094 fi;
10095
10096 eval "$ac_cv_use_treectrl"
10097 if test "$no_cache" != 1; then
10098 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10099 fi
10100
10101 if test "$wxUSE_TREECTRL" = yes; then
10102 echo "$as_me:$LINENO: result: yes" >&5
10103 echo "${ECHO_T}yes" >&6
10104 else
10105 echo "$as_me:$LINENO: result: no" >&5
10106 echo "${ECHO_T}no" >&6
10107 fi
10108
10109
10110 enablestring=
10111 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10112 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
10113 no_cache=0
10114 # Check whether --enable-tipwindow or --disable-tipwindow was given.
10115 if test "${enable_tipwindow+set}" = set; then
10116 enableval="$enable_tipwindow"
10117
10118 if test "$enableval" = yes; then
10119 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10120 else
10121 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10122 fi
10123
10124 else
10125
10126 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10127 if test "x$LINE" != x ; then
10128 eval "DEFAULT_$LINE"
10129 else
10130 no_cache=1
10131 fi
10132
10133 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10134
10135 fi;
10136
10137 eval "$ac_cv_use_tipwindow"
10138 if test "$no_cache" != 1; then
10139 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10140 fi
10141
10142 if test "$wxUSE_TIPWINDOW" = yes; then
10143 echo "$as_me:$LINENO: result: yes" >&5
10144 echo "${ECHO_T}yes" >&6
10145 else
10146 echo "$as_me:$LINENO: result: no" >&5
10147 echo "${ECHO_T}no" >&6
10148 fi
10149
10150
10151 enablestring=
10152 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10153 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10154 no_cache=0
10155 # Check whether --enable-popupwin or --disable-popupwin was given.
10156 if test "${enable_popupwin+set}" = set; then
10157 enableval="$enable_popupwin"
10158
10159 if test "$enableval" = yes; then
10160 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
10161 else
10162 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
10163 fi
10164
10165 else
10166
10167 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10168 if test "x$LINE" != x ; then
10169 eval "DEFAULT_$LINE"
10170 else
10171 no_cache=1
10172 fi
10173
10174 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10175
10176 fi;
10177
10178 eval "$ac_cv_use_popupwin"
10179 if test "$no_cache" != 1; then
10180 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10181 fi
10182
10183 if test "$wxUSE_POPUPWIN" = yes; then
10184 echo "$as_me:$LINENO: result: yes" >&5
10185 echo "${ECHO_T}yes" >&6
10186 else
10187 echo "$as_me:$LINENO: result: no" >&5
10188 echo "${ECHO_T}no" >&6
10189 fi
10190
10191
10192
10193
10194 enablestring=
10195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10196 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10197 no_cache=0
10198 # Check whether --enable-commondlg or --disable-commondlg was given.
10199 if test "${enable_commondlg+set}" = set; then
10200 enableval="$enable_commondlg"
10201
10202 if test "$enableval" = yes; then
10203 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
10204 else
10205 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
10206 fi
10207
10208 else
10209
10210 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10211 if test "x$LINE" != x ; then
10212 eval "DEFAULT_$LINE"
10213 else
10214 no_cache=1
10215 fi
10216
10217 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10218
10219 fi;
10220
10221 eval "$ac_cv_use_commondlg"
10222 if test "$no_cache" != 1; then
10223 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10224 fi
10225
10226 if test "$wxUSE_COMMONDLGS" = yes; then
10227 echo "$as_me:$LINENO: result: yes" >&5
10228 echo "${ECHO_T}yes" >&6
10229 else
10230 echo "$as_me:$LINENO: result: no" >&5
10231 echo "${ECHO_T}no" >&6
10232 fi
10233
10234
10235 enablestring=
10236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10237 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10238 no_cache=0
10239 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10240 if test "${enable_aboutdlg+set}" = set; then
10241 enableval="$enable_aboutdlg"
10242
10243 if test "$enableval" = yes; then
10244 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
10245 else
10246 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
10247 fi
10248
10249 else
10250
10251 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10252 if test "x$LINE" != x ; then
10253 eval "DEFAULT_$LINE"
10254 else
10255 no_cache=1
10256 fi
10257
10258 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10259
10260 fi;
10261
10262 eval "$ac_cv_use_aboutdlg"
10263 if test "$no_cache" != 1; then
10264 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10265 fi
10266
10267 if test "$wxUSE_ABOUTDLG" = yes; then
10268 echo "$as_me:$LINENO: result: yes" >&5
10269 echo "${ECHO_T}yes" >&6
10270 else
10271 echo "$as_me:$LINENO: result: no" >&5
10272 echo "${ECHO_T}no" >&6
10273 fi
10274
10275
10276 enablestring=
10277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10278 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10279 no_cache=0
10280 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10281 if test "${enable_choicedlg+set}" = set; then
10282 enableval="$enable_choicedlg"
10283
10284 if test "$enableval" = yes; then
10285 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
10286 else
10287 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
10288 fi
10289
10290 else
10291
10292 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10293 if test "x$LINE" != x ; then
10294 eval "DEFAULT_$LINE"
10295 else
10296 no_cache=1
10297 fi
10298
10299 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10300
10301 fi;
10302
10303 eval "$ac_cv_use_choicedlg"
10304 if test "$no_cache" != 1; then
10305 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10306 fi
10307
10308 if test "$wxUSE_CHOICEDLG" = yes; then
10309 echo "$as_me:$LINENO: result: yes" >&5
10310 echo "${ECHO_T}yes" >&6
10311 else
10312 echo "$as_me:$LINENO: result: no" >&5
10313 echo "${ECHO_T}no" >&6
10314 fi
10315
10316
10317 enablestring=
10318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10319 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10320 no_cache=0
10321 # Check whether --enable-coldlg or --disable-coldlg was given.
10322 if test "${enable_coldlg+set}" = set; then
10323 enableval="$enable_coldlg"
10324
10325 if test "$enableval" = yes; then
10326 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
10327 else
10328 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
10329 fi
10330
10331 else
10332
10333 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10334 if test "x$LINE" != x ; then
10335 eval "DEFAULT_$LINE"
10336 else
10337 no_cache=1
10338 fi
10339
10340 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10341
10342 fi;
10343
10344 eval "$ac_cv_use_coldlg"
10345 if test "$no_cache" != 1; then
10346 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10347 fi
10348
10349 if test "$wxUSE_COLOURDLG" = yes; then
10350 echo "$as_me:$LINENO: result: yes" >&5
10351 echo "${ECHO_T}yes" >&6
10352 else
10353 echo "$as_me:$LINENO: result: no" >&5
10354 echo "${ECHO_T}no" >&6
10355 fi
10356
10357
10358 enablestring=
10359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10360 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10361 no_cache=0
10362 # Check whether --enable-filedlg or --disable-filedlg was given.
10363 if test "${enable_filedlg+set}" = set; then
10364 enableval="$enable_filedlg"
10365
10366 if test "$enableval" = yes; then
10367 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
10368 else
10369 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
10370 fi
10371
10372 else
10373
10374 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10375 if test "x$LINE" != x ; then
10376 eval "DEFAULT_$LINE"
10377 else
10378 no_cache=1
10379 fi
10380
10381 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10382
10383 fi;
10384
10385 eval "$ac_cv_use_filedlg"
10386 if test "$no_cache" != 1; then
10387 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10388 fi
10389
10390 if test "$wxUSE_FILEDLG" = yes; then
10391 echo "$as_me:$LINENO: result: yes" >&5
10392 echo "${ECHO_T}yes" >&6
10393 else
10394 echo "$as_me:$LINENO: result: no" >&5
10395 echo "${ECHO_T}no" >&6
10396 fi
10397
10398
10399 enablestring=
10400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10401 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10402 no_cache=0
10403 # Check whether --enable-finddlg or --disable-finddlg was given.
10404 if test "${enable_finddlg+set}" = set; then
10405 enableval="$enable_finddlg"
10406
10407 if test "$enableval" = yes; then
10408 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
10409 else
10410 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
10411 fi
10412
10413 else
10414
10415 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10416 if test "x$LINE" != x ; then
10417 eval "DEFAULT_$LINE"
10418 else
10419 no_cache=1
10420 fi
10421
10422 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10423
10424 fi;
10425
10426 eval "$ac_cv_use_finddlg"
10427 if test "$no_cache" != 1; then
10428 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10429 fi
10430
10431 if test "$wxUSE_FINDREPLDLG" = yes; then
10432 echo "$as_me:$LINENO: result: yes" >&5
10433 echo "${ECHO_T}yes" >&6
10434 else
10435 echo "$as_me:$LINENO: result: no" >&5
10436 echo "${ECHO_T}no" >&6
10437 fi
10438
10439
10440 enablestring=
10441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10442 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10443 no_cache=0
10444 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10445 if test "${enable_fontdlg+set}" = set; then
10446 enableval="$enable_fontdlg"
10447
10448 if test "$enableval" = yes; then
10449 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
10450 else
10451 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
10452 fi
10453
10454 else
10455
10456 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10457 if test "x$LINE" != x ; then
10458 eval "DEFAULT_$LINE"
10459 else
10460 no_cache=1
10461 fi
10462
10463 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10464
10465 fi;
10466
10467 eval "$ac_cv_use_fontdlg"
10468 if test "$no_cache" != 1; then
10469 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10470 fi
10471
10472 if test "$wxUSE_FONTDLG" = yes; then
10473 echo "$as_me:$LINENO: result: yes" >&5
10474 echo "${ECHO_T}yes" >&6
10475 else
10476 echo "$as_me:$LINENO: result: no" >&5
10477 echo "${ECHO_T}no" >&6
10478 fi
10479
10480
10481 enablestring=
10482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10483 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10484 no_cache=0
10485 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10486 if test "${enable_dirdlg+set}" = set; then
10487 enableval="$enable_dirdlg"
10488
10489 if test "$enableval" = yes; then
10490 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
10491 else
10492 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
10493 fi
10494
10495 else
10496
10497 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10498 if test "x$LINE" != x ; then
10499 eval "DEFAULT_$LINE"
10500 else
10501 no_cache=1
10502 fi
10503
10504 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10505
10506 fi;
10507
10508 eval "$ac_cv_use_dirdlg"
10509 if test "$no_cache" != 1; then
10510 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10511 fi
10512
10513 if test "$wxUSE_DIRDLG" = yes; then
10514 echo "$as_me:$LINENO: result: yes" >&5
10515 echo "${ECHO_T}yes" >&6
10516 else
10517 echo "$as_me:$LINENO: result: no" >&5
10518 echo "${ECHO_T}no" >&6
10519 fi
10520
10521
10522 enablestring=
10523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10524 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10525 no_cache=0
10526 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10527 if test "${enable_msgdlg+set}" = set; then
10528 enableval="$enable_msgdlg"
10529
10530 if test "$enableval" = yes; then
10531 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
10532 else
10533 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
10534 fi
10535
10536 else
10537
10538 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10539 if test "x$LINE" != x ; then
10540 eval "DEFAULT_$LINE"
10541 else
10542 no_cache=1
10543 fi
10544
10545 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10546
10547 fi;
10548
10549 eval "$ac_cv_use_msgdlg"
10550 if test "$no_cache" != 1; then
10551 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10552 fi
10553
10554 if test "$wxUSE_MSGDLG" = yes; then
10555 echo "$as_me:$LINENO: result: yes" >&5
10556 echo "${ECHO_T}yes" >&6
10557 else
10558 echo "$as_me:$LINENO: result: no" >&5
10559 echo "${ECHO_T}no" >&6
10560 fi
10561
10562
10563 enablestring=
10564 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10565 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10566 no_cache=0
10567 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10568 if test "${enable_numberdlg+set}" = set; then
10569 enableval="$enable_numberdlg"
10570
10571 if test "$enableval" = yes; then
10572 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
10573 else
10574 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
10575 fi
10576
10577 else
10578
10579 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10580 if test "x$LINE" != x ; then
10581 eval "DEFAULT_$LINE"
10582 else
10583 no_cache=1
10584 fi
10585
10586 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10587
10588 fi;
10589
10590 eval "$ac_cv_use_numberdlg"
10591 if test "$no_cache" != 1; then
10592 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10593 fi
10594
10595 if test "$wxUSE_NUMBERDLG" = yes; then
10596 echo "$as_me:$LINENO: result: yes" >&5
10597 echo "${ECHO_T}yes" >&6
10598 else
10599 echo "$as_me:$LINENO: result: no" >&5
10600 echo "${ECHO_T}no" >&6
10601 fi
10602
10603
10604 enablestring=
10605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10606 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10607 no_cache=0
10608 # Check whether --enable-splash or --disable-splash was given.
10609 if test "${enable_splash+set}" = set; then
10610 enableval="$enable_splash"
10611
10612 if test "$enableval" = yes; then
10613 ac_cv_use_splash='wxUSE_SPLASH=yes'
10614 else
10615 ac_cv_use_splash='wxUSE_SPLASH=no'
10616 fi
10617
10618 else
10619
10620 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10621 if test "x$LINE" != x ; then
10622 eval "DEFAULT_$LINE"
10623 else
10624 no_cache=1
10625 fi
10626
10627 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10628
10629 fi;
10630
10631 eval "$ac_cv_use_splash"
10632 if test "$no_cache" != 1; then
10633 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10634 fi
10635
10636 if test "$wxUSE_SPLASH" = yes; then
10637 echo "$as_me:$LINENO: result: yes" >&5
10638 echo "${ECHO_T}yes" >&6
10639 else
10640 echo "$as_me:$LINENO: result: no" >&5
10641 echo "${ECHO_T}no" >&6
10642 fi
10643
10644
10645 enablestring=
10646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10647 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10648 no_cache=0
10649 # Check whether --enable-textdlg or --disable-textdlg was given.
10650 if test "${enable_textdlg+set}" = set; then
10651 enableval="$enable_textdlg"
10652
10653 if test "$enableval" = yes; then
10654 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
10655 else
10656 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
10657 fi
10658
10659 else
10660
10661 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10662 if test "x$LINE" != x ; then
10663 eval "DEFAULT_$LINE"
10664 else
10665 no_cache=1
10666 fi
10667
10668 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10669
10670 fi;
10671
10672 eval "$ac_cv_use_textdlg"
10673 if test "$no_cache" != 1; then
10674 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10675 fi
10676
10677 if test "$wxUSE_TEXTDLG" = yes; then
10678 echo "$as_me:$LINENO: result: yes" >&5
10679 echo "${ECHO_T}yes" >&6
10680 else
10681 echo "$as_me:$LINENO: result: no" >&5
10682 echo "${ECHO_T}no" >&6
10683 fi
10684
10685
10686 enablestring=
10687 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10688 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10689 no_cache=0
10690 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10691 if test "${enable_tipdlg+set}" = set; then
10692 enableval="$enable_tipdlg"
10693
10694 if test "$enableval" = yes; then
10695 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
10696 else
10697 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
10698 fi
10699
10700 else
10701
10702 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10703 if test "x$LINE" != x ; then
10704 eval "DEFAULT_$LINE"
10705 else
10706 no_cache=1
10707 fi
10708
10709 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10710
10711 fi;
10712
10713 eval "$ac_cv_use_tipdlg"
10714 if test "$no_cache" != 1; then
10715 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10716 fi
10717
10718 if test "$wxUSE_STARTUP_TIPS" = yes; then
10719 echo "$as_me:$LINENO: result: yes" >&5
10720 echo "${ECHO_T}yes" >&6
10721 else
10722 echo "$as_me:$LINENO: result: no" >&5
10723 echo "${ECHO_T}no" >&6
10724 fi
10725
10726
10727 enablestring=
10728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10729 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10730 no_cache=0
10731 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10732 if test "${enable_progressdlg+set}" = set; then
10733 enableval="$enable_progressdlg"
10734
10735 if test "$enableval" = yes; then
10736 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
10737 else
10738 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
10739 fi
10740
10741 else
10742
10743 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10744 if test "x$LINE" != x ; then
10745 eval "DEFAULT_$LINE"
10746 else
10747 no_cache=1
10748 fi
10749
10750 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10751
10752 fi;
10753
10754 eval "$ac_cv_use_progressdlg"
10755 if test "$no_cache" != 1; then
10756 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10757 fi
10758
10759 if test "$wxUSE_PROGRESSDLG" = yes; then
10760 echo "$as_me:$LINENO: result: yes" >&5
10761 echo "${ECHO_T}yes" >&6
10762 else
10763 echo "$as_me:$LINENO: result: no" >&5
10764 echo "${ECHO_T}no" >&6
10765 fi
10766
10767
10768 enablestring=
10769 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10770 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10771 no_cache=0
10772 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10773 if test "${enable_wizarddlg+set}" = set; then
10774 enableval="$enable_wizarddlg"
10775
10776 if test "$enableval" = yes; then
10777 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
10778 else
10779 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
10780 fi
10781
10782 else
10783
10784 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10785 if test "x$LINE" != x ; then
10786 eval "DEFAULT_$LINE"
10787 else
10788 no_cache=1
10789 fi
10790
10791 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10792
10793 fi;
10794
10795 eval "$ac_cv_use_wizarddlg"
10796 if test "$no_cache" != 1; then
10797 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10798 fi
10799
10800 if test "$wxUSE_WIZARDDLG" = yes; then
10801 echo "$as_me:$LINENO: result: yes" >&5
10802 echo "${ECHO_T}yes" >&6
10803 else
10804 echo "$as_me:$LINENO: result: no" >&5
10805 echo "${ECHO_T}no" >&6
10806 fi
10807
10808
10809
10810
10811 enablestring=
10812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10813 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10814 no_cache=0
10815 # Check whether --enable-menus or --disable-menus was given.
10816 if test "${enable_menus+set}" = set; then
10817 enableval="$enable_menus"
10818
10819 if test "$enableval" = yes; then
10820 ac_cv_use_menus='wxUSE_MENUS=yes'
10821 else
10822 ac_cv_use_menus='wxUSE_MENUS=no'
10823 fi
10824
10825 else
10826
10827 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10828 if test "x$LINE" != x ; then
10829 eval "DEFAULT_$LINE"
10830 else
10831 no_cache=1
10832 fi
10833
10834 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10835
10836 fi;
10837
10838 eval "$ac_cv_use_menus"
10839 if test "$no_cache" != 1; then
10840 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10841 fi
10842
10843 if test "$wxUSE_MENUS" = yes; then
10844 echo "$as_me:$LINENO: result: yes" >&5
10845 echo "${ECHO_T}yes" >&6
10846 else
10847 echo "$as_me:$LINENO: result: no" >&5
10848 echo "${ECHO_T}no" >&6
10849 fi
10850
10851
10852 enablestring=
10853 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10854 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10855 no_cache=0
10856 # Check whether --enable-miniframe or --disable-miniframe was given.
10857 if test "${enable_miniframe+set}" = set; then
10858 enableval="$enable_miniframe"
10859
10860 if test "$enableval" = yes; then
10861 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
10862 else
10863 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
10864 fi
10865
10866 else
10867
10868 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10869 if test "x$LINE" != x ; then
10870 eval "DEFAULT_$LINE"
10871 else
10872 no_cache=1
10873 fi
10874
10875 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10876
10877 fi;
10878
10879 eval "$ac_cv_use_miniframe"
10880 if test "$no_cache" != 1; then
10881 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10882 fi
10883
10884 if test "$wxUSE_MINIFRAME" = yes; then
10885 echo "$as_me:$LINENO: result: yes" >&5
10886 echo "${ECHO_T}yes" >&6
10887 else
10888 echo "$as_me:$LINENO: result: no" >&5
10889 echo "${ECHO_T}no" >&6
10890 fi
10891
10892
10893 enablestring=
10894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10895 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10896 no_cache=0
10897 # Check whether --enable-tooltips or --disable-tooltips was given.
10898 if test "${enable_tooltips+set}" = set; then
10899 enableval="$enable_tooltips"
10900
10901 if test "$enableval" = yes; then
10902 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
10903 else
10904 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
10905 fi
10906
10907 else
10908
10909 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10910 if test "x$LINE" != x ; then
10911 eval "DEFAULT_$LINE"
10912 else
10913 no_cache=1
10914 fi
10915
10916 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10917
10918 fi;
10919
10920 eval "$ac_cv_use_tooltips"
10921 if test "$no_cache" != 1; then
10922 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10923 fi
10924
10925 if test "$wxUSE_TOOLTIPS" = yes; then
10926 echo "$as_me:$LINENO: result: yes" >&5
10927 echo "${ECHO_T}yes" >&6
10928 else
10929 echo "$as_me:$LINENO: result: no" >&5
10930 echo "${ECHO_T}no" >&6
10931 fi
10932
10933
10934 enablestring=
10935 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10936 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10937 no_cache=0
10938 # Check whether --enable-splines or --disable-splines was given.
10939 if test "${enable_splines+set}" = set; then
10940 enableval="$enable_splines"
10941
10942 if test "$enableval" = yes; then
10943 ac_cv_use_splines='wxUSE_SPLINES=yes'
10944 else
10945 ac_cv_use_splines='wxUSE_SPLINES=no'
10946 fi
10947
10948 else
10949
10950 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10951 if test "x$LINE" != x ; then
10952 eval "DEFAULT_$LINE"
10953 else
10954 no_cache=1
10955 fi
10956
10957 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10958
10959 fi;
10960
10961 eval "$ac_cv_use_splines"
10962 if test "$no_cache" != 1; then
10963 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10964 fi
10965
10966 if test "$wxUSE_SPLINES" = yes; then
10967 echo "$as_me:$LINENO: result: yes" >&5
10968 echo "${ECHO_T}yes" >&6
10969 else
10970 echo "$as_me:$LINENO: result: no" >&5
10971 echo "${ECHO_T}no" >&6
10972 fi
10973
10974
10975 enablestring=
10976 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10977 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10978 no_cache=0
10979 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10980 if test "${enable_mousewheel+set}" = set; then
10981 enableval="$enable_mousewheel"
10982
10983 if test "$enableval" = yes; then
10984 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
10985 else
10986 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
10987 fi
10988
10989 else
10990
10991 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10992 if test "x$LINE" != x ; then
10993 eval "DEFAULT_$LINE"
10994 else
10995 no_cache=1
10996 fi
10997
10998 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10999
11000 fi;
11001
11002 eval "$ac_cv_use_mousewheel"
11003 if test "$no_cache" != 1; then
11004 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11005 fi
11006
11007 if test "$wxUSE_MOUSEWHEEL" = yes; then
11008 echo "$as_me:$LINENO: result: yes" >&5
11009 echo "${ECHO_T}yes" >&6
11010 else
11011 echo "$as_me:$LINENO: result: no" >&5
11012 echo "${ECHO_T}no" >&6
11013 fi
11014
11015
11016 enablestring=
11017 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11018 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
11019 no_cache=0
11020 # Check whether --enable-validators or --disable-validators was given.
11021 if test "${enable_validators+set}" = set; then
11022 enableval="$enable_validators"
11023
11024 if test "$enableval" = yes; then
11025 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11026 else
11027 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11028 fi
11029
11030 else
11031
11032 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11033 if test "x$LINE" != x ; then
11034 eval "DEFAULT_$LINE"
11035 else
11036 no_cache=1
11037 fi
11038
11039 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11040
11041 fi;
11042
11043 eval "$ac_cv_use_validators"
11044 if test "$no_cache" != 1; then
11045 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11046 fi
11047
11048 if test "$wxUSE_VALIDATORS" = yes; then
11049 echo "$as_me:$LINENO: result: yes" >&5
11050 echo "${ECHO_T}yes" >&6
11051 else
11052 echo "$as_me:$LINENO: result: no" >&5
11053 echo "${ECHO_T}no" >&6
11054 fi
11055
11056
11057 enablestring=
11058 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11059 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
11060 no_cache=0
11061 # Check whether --enable-busyinfo or --disable-busyinfo was given.
11062 if test "${enable_busyinfo+set}" = set; then
11063 enableval="$enable_busyinfo"
11064
11065 if test "$enableval" = yes; then
11066 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11067 else
11068 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11069 fi
11070
11071 else
11072
11073 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11074 if test "x$LINE" != x ; then
11075 eval "DEFAULT_$LINE"
11076 else
11077 no_cache=1
11078 fi
11079
11080 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11081
11082 fi;
11083
11084 eval "$ac_cv_use_busyinfo"
11085 if test "$no_cache" != 1; then
11086 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11087 fi
11088
11089 if test "$wxUSE_BUSYINFO" = yes; then
11090 echo "$as_me:$LINENO: result: yes" >&5
11091 echo "${ECHO_T}yes" >&6
11092 else
11093 echo "$as_me:$LINENO: result: no" >&5
11094 echo "${ECHO_T}no" >&6
11095 fi
11096
11097
11098 enablestring=
11099 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11100 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
11101 no_cache=0
11102 # Check whether --enable-joystick or --disable-joystick was given.
11103 if test "${enable_joystick+set}" = set; then
11104 enableval="$enable_joystick"
11105
11106 if test "$enableval" = yes; then
11107 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11108 else
11109 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11110 fi
11111
11112 else
11113
11114 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11115 if test "x$LINE" != x ; then
11116 eval "DEFAULT_$LINE"
11117 else
11118 no_cache=1
11119 fi
11120
11121 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11122
11123 fi;
11124
11125 eval "$ac_cv_use_joystick"
11126 if test "$no_cache" != 1; then
11127 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11128 fi
11129
11130 if test "$wxUSE_JOYSTICK" = yes; then
11131 echo "$as_me:$LINENO: result: yes" >&5
11132 echo "${ECHO_T}yes" >&6
11133 else
11134 echo "$as_me:$LINENO: result: no" >&5
11135 echo "${ECHO_T}no" >&6
11136 fi
11137
11138
11139 enablestring=
11140 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11141 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
11142 no_cache=0
11143 # Check whether --enable-metafile or --disable-metafile was given.
11144 if test "${enable_metafile+set}" = set; then
11145 enableval="$enable_metafile"
11146
11147 if test "$enableval" = yes; then
11148 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11149 else
11150 ac_cv_use_metafile='wxUSE_METAFILE=no'
11151 fi
11152
11153 else
11154
11155 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11156 if test "x$LINE" != x ; then
11157 eval "DEFAULT_$LINE"
11158 else
11159 no_cache=1
11160 fi
11161
11162 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11163
11164 fi;
11165
11166 eval "$ac_cv_use_metafile"
11167 if test "$no_cache" != 1; then
11168 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11169 fi
11170
11171 if test "$wxUSE_METAFILE" = yes; then
11172 echo "$as_me:$LINENO: result: yes" >&5
11173 echo "${ECHO_T}yes" >&6
11174 else
11175 echo "$as_me:$LINENO: result: no" >&5
11176 echo "${ECHO_T}no" >&6
11177 fi
11178
11179
11180 enablestring=
11181 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11182 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11183 no_cache=0
11184 # Check whether --enable-dragimage or --disable-dragimage was given.
11185 if test "${enable_dragimage+set}" = set; then
11186 enableval="$enable_dragimage"
11187
11188 if test "$enableval" = yes; then
11189 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
11190 else
11191 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
11192 fi
11193
11194 else
11195
11196 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11197 if test "x$LINE" != x ; then
11198 eval "DEFAULT_$LINE"
11199 else
11200 no_cache=1
11201 fi
11202
11203 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11204
11205 fi;
11206
11207 eval "$ac_cv_use_dragimage"
11208 if test "$no_cache" != 1; then
11209 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11210 fi
11211
11212 if test "$wxUSE_DRAGIMAGE" = yes; then
11213 echo "$as_me:$LINENO: result: yes" >&5
11214 echo "${ECHO_T}yes" >&6
11215 else
11216 echo "$as_me:$LINENO: result: no" >&5
11217 echo "${ECHO_T}no" >&6
11218 fi
11219
11220
11221 enablestring=
11222 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11223 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11224 no_cache=0
11225 # Check whether --enable-accessibility or --disable-accessibility was given.
11226 if test "${enable_accessibility+set}" = set; then
11227 enableval="$enable_accessibility"
11228
11229 if test "$enableval" = yes; then
11230 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
11231 else
11232 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
11233 fi
11234
11235 else
11236
11237 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11238 if test "x$LINE" != x ; then
11239 eval "DEFAULT_$LINE"
11240 else
11241 no_cache=1
11242 fi
11243
11244 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11245
11246 fi;
11247
11248 eval "$ac_cv_use_accessibility"
11249 if test "$no_cache" != 1; then
11250 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11251 fi
11252
11253 if test "$wxUSE_ACCESSIBILITY" = yes; then
11254 echo "$as_me:$LINENO: result: yes" >&5
11255 echo "${ECHO_T}yes" >&6
11256 else
11257 echo "$as_me:$LINENO: result: no" >&5
11258 echo "${ECHO_T}no" >&6
11259 fi
11260
11261
11262 if test "$wxUSE_MSW" = "1"; then
11263
11264 enablestring=
11265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11266 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11267 no_cache=0
11268 # Check whether --enable-dccache or --disable-dccache was given.
11269 if test "${enable_dccache+set}" = set; then
11270 enableval="$enable_dccache"
11271
11272 if test "$enableval" = yes; then
11273 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
11274 else
11275 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
11276 fi
11277
11278 else
11279
11280 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11281 if test "x$LINE" != x ; then
11282 eval "DEFAULT_$LINE"
11283 else
11284 no_cache=1
11285 fi
11286
11287 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11288
11289 fi;
11290
11291 eval "$ac_cv_use_dccache"
11292 if test "$no_cache" != 1; then
11293 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11294 fi
11295
11296 if test "$wxUSE_DC_CACHEING" = yes; then
11297 echo "$as_me:$LINENO: result: yes" >&5
11298 echo "${ECHO_T}yes" >&6
11299 else
11300 echo "$as_me:$LINENO: result: no" >&5
11301 echo "${ECHO_T}no" >&6
11302 fi
11303
11304 fi
11305
11306
11307
11308 enablestring=
11309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11310 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11311 no_cache=0
11312 # Check whether --enable-palette or --disable-palette was given.
11313 if test "${enable_palette+set}" = set; then
11314 enableval="$enable_palette"
11315
11316 if test "$enableval" = yes; then
11317 ac_cv_use_palette='wxUSE_PALETTE=yes'
11318 else
11319 ac_cv_use_palette='wxUSE_PALETTE=no'
11320 fi
11321
11322 else
11323
11324 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11325 if test "x$LINE" != x ; then
11326 eval "DEFAULT_$LINE"
11327 else
11328 no_cache=1
11329 fi
11330
11331 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11332
11333 fi;
11334
11335 eval "$ac_cv_use_palette"
11336 if test "$no_cache" != 1; then
11337 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11338 fi
11339
11340 if test "$wxUSE_PALETTE" = yes; then
11341 echo "$as_me:$LINENO: result: yes" >&5
11342 echo "${ECHO_T}yes" >&6
11343 else
11344 echo "$as_me:$LINENO: result: no" >&5
11345 echo "${ECHO_T}no" >&6
11346 fi
11347
11348
11349 enablestring=
11350 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11351 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11352 no_cache=0
11353 # Check whether --enable-image or --disable-image was given.
11354 if test "${enable_image+set}" = set; then
11355 enableval="$enable_image"
11356
11357 if test "$enableval" = yes; then
11358 ac_cv_use_image='wxUSE_IMAGE=yes'
11359 else
11360 ac_cv_use_image='wxUSE_IMAGE=no'
11361 fi
11362
11363 else
11364
11365 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11366 if test "x$LINE" != x ; then
11367 eval "DEFAULT_$LINE"
11368 else
11369 no_cache=1
11370 fi
11371
11372 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11373
11374 fi;
11375
11376 eval "$ac_cv_use_image"
11377 if test "$no_cache" != 1; then
11378 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11379 fi
11380
11381 if test "$wxUSE_IMAGE" = yes; then
11382 echo "$as_me:$LINENO: result: yes" >&5
11383 echo "${ECHO_T}yes" >&6
11384 else
11385 echo "$as_me:$LINENO: result: no" >&5
11386 echo "${ECHO_T}no" >&6
11387 fi
11388
11389
11390 enablestring=
11391 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11392 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11393 no_cache=0
11394 # Check whether --enable-gif or --disable-gif was given.
11395 if test "${enable_gif+set}" = set; then
11396 enableval="$enable_gif"
11397
11398 if test "$enableval" = yes; then
11399 ac_cv_use_gif='wxUSE_GIF=yes'
11400 else
11401 ac_cv_use_gif='wxUSE_GIF=no'
11402 fi
11403
11404 else
11405
11406 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11407 if test "x$LINE" != x ; then
11408 eval "DEFAULT_$LINE"
11409 else
11410 no_cache=1
11411 fi
11412
11413 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11414
11415 fi;
11416
11417 eval "$ac_cv_use_gif"
11418 if test "$no_cache" != 1; then
11419 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11420 fi
11421
11422 if test "$wxUSE_GIF" = yes; then
11423 echo "$as_me:$LINENO: result: yes" >&5
11424 echo "${ECHO_T}yes" >&6
11425 else
11426 echo "$as_me:$LINENO: result: no" >&5
11427 echo "${ECHO_T}no" >&6
11428 fi
11429
11430
11431 enablestring=
11432 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11433 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11434 no_cache=0
11435 # Check whether --enable-pcx or --disable-pcx was given.
11436 if test "${enable_pcx+set}" = set; then
11437 enableval="$enable_pcx"
11438
11439 if test "$enableval" = yes; then
11440 ac_cv_use_pcx='wxUSE_PCX=yes'
11441 else
11442 ac_cv_use_pcx='wxUSE_PCX=no'
11443 fi
11444
11445 else
11446
11447 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11448 if test "x$LINE" != x ; then
11449 eval "DEFAULT_$LINE"
11450 else
11451 no_cache=1
11452 fi
11453
11454 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11455
11456 fi;
11457
11458 eval "$ac_cv_use_pcx"
11459 if test "$no_cache" != 1; then
11460 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11461 fi
11462
11463 if test "$wxUSE_PCX" = yes; then
11464 echo "$as_me:$LINENO: result: yes" >&5
11465 echo "${ECHO_T}yes" >&6
11466 else
11467 echo "$as_me:$LINENO: result: no" >&5
11468 echo "${ECHO_T}no" >&6
11469 fi
11470
11471
11472 enablestring=
11473 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11474 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11475 no_cache=0
11476 # Check whether --enable-iff or --disable-iff was given.
11477 if test "${enable_iff+set}" = set; then
11478 enableval="$enable_iff"
11479
11480 if test "$enableval" = yes; then
11481 ac_cv_use_iff='wxUSE_IFF=yes'
11482 else
11483 ac_cv_use_iff='wxUSE_IFF=no'
11484 fi
11485
11486 else
11487
11488 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11489 if test "x$LINE" != x ; then
11490 eval "DEFAULT_$LINE"
11491 else
11492 no_cache=1
11493 fi
11494
11495 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11496
11497 fi;
11498
11499 eval "$ac_cv_use_iff"
11500 if test "$no_cache" != 1; then
11501 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11502 fi
11503
11504 if test "$wxUSE_IFF" = yes; then
11505 echo "$as_me:$LINENO: result: yes" >&5
11506 echo "${ECHO_T}yes" >&6
11507 else
11508 echo "$as_me:$LINENO: result: no" >&5
11509 echo "${ECHO_T}no" >&6
11510 fi
11511
11512
11513 enablestring=
11514 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11515 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11516 no_cache=0
11517 # Check whether --enable-pnm or --disable-pnm was given.
11518 if test "${enable_pnm+set}" = set; then
11519 enableval="$enable_pnm"
11520
11521 if test "$enableval" = yes; then
11522 ac_cv_use_pnm='wxUSE_PNM=yes'
11523 else
11524 ac_cv_use_pnm='wxUSE_PNM=no'
11525 fi
11526
11527 else
11528
11529 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11530 if test "x$LINE" != x ; then
11531 eval "DEFAULT_$LINE"
11532 else
11533 no_cache=1
11534 fi
11535
11536 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11537
11538 fi;
11539
11540 eval "$ac_cv_use_pnm"
11541 if test "$no_cache" != 1; then
11542 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11543 fi
11544
11545 if test "$wxUSE_PNM" = yes; then
11546 echo "$as_me:$LINENO: result: yes" >&5
11547 echo "${ECHO_T}yes" >&6
11548 else
11549 echo "$as_me:$LINENO: result: no" >&5
11550 echo "${ECHO_T}no" >&6
11551 fi
11552
11553
11554 enablestring=
11555 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11556 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11557 no_cache=0
11558 # Check whether --enable-xpm or --disable-xpm was given.
11559 if test "${enable_xpm+set}" = set; then
11560 enableval="$enable_xpm"
11561
11562 if test "$enableval" = yes; then
11563 ac_cv_use_xpm='wxUSE_XPM=yes'
11564 else
11565 ac_cv_use_xpm='wxUSE_XPM=no'
11566 fi
11567
11568 else
11569
11570 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11571 if test "x$LINE" != x ; then
11572 eval "DEFAULT_$LINE"
11573 else
11574 no_cache=1
11575 fi
11576
11577 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11578
11579 fi;
11580
11581 eval "$ac_cv_use_xpm"
11582 if test "$no_cache" != 1; then
11583 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11584 fi
11585
11586 if test "$wxUSE_XPM" = yes; then
11587 echo "$as_me:$LINENO: result: yes" >&5
11588 echo "${ECHO_T}yes" >&6
11589 else
11590 echo "$as_me:$LINENO: result: no" >&5
11591 echo "${ECHO_T}no" >&6
11592 fi
11593
11594
11595 enablestring=
11596 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11597 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11598 no_cache=0
11599 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11600 if test "${enable_ico_cur+set}" = set; then
11601 enableval="$enable_ico_cur"
11602
11603 if test "$enableval" = yes; then
11604 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
11605 else
11606 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
11607 fi
11608
11609 else
11610
11611 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11612 if test "x$LINE" != x ; then
11613 eval "DEFAULT_$LINE"
11614 else
11615 no_cache=1
11616 fi
11617
11618 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11619
11620 fi;
11621
11622 eval "$ac_cv_use_ico_cur"
11623 if test "$no_cache" != 1; then
11624 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11625 fi
11626
11627 if test "$wxUSE_ICO_CUR" = yes; then
11628 echo "$as_me:$LINENO: result: yes" >&5
11629 echo "${ECHO_T}yes" >&6
11630 else
11631 echo "$as_me:$LINENO: result: no" >&5
11632 echo "${ECHO_T}no" >&6
11633 fi
11634
11635
11636 fi
11637
11638
11639
11640 # Check whether --with-flavour or --without-flavour was given.
11641 if test "${with_flavour+set}" = set; then
11642 withval="$with_flavour"
11643 WX_FLAVOUR="$withval"
11644 fi;
11645
11646
11647
11648 enablestring=
11649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11650 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11651 no_cache=0
11652 # Check whether --enable-official_build or --disable-official_build was given.
11653 if test "${enable_official_build+set}" = set; then
11654 enableval="$enable_official_build"
11655
11656 if test "$enableval" = yes; then
11657 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
11658 else
11659 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
11660 fi
11661
11662 else
11663
11664 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11665 if test "x$LINE" != x ; then
11666 eval "DEFAULT_$LINE"
11667 else
11668 no_cache=1
11669 fi
11670
11671 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11672
11673 fi;
11674
11675 eval "$ac_cv_use_official_build"
11676 if test "$no_cache" != 1; then
11677 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11678 fi
11679
11680 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11681 echo "$as_me:$LINENO: result: yes" >&5
11682 echo "${ECHO_T}yes" >&6
11683 else
11684 echo "$as_me:$LINENO: result: no" >&5
11685 echo "${ECHO_T}no" >&6
11686 fi
11687
11688 # Check whether --enable-vendor or --disable-vendor was given.
11689 if test "${enable_vendor+set}" = set; then
11690 enableval="$enable_vendor"
11691 VENDOR="$enableval"
11692 fi;
11693 if test "x$VENDOR" = "x"; then
11694 VENDOR="custom"
11695 fi
11696
11697
11698
11699
11700 echo "saving argument cache $wx_arg_cache_file"
11701 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
11702
11703
11704
11705 echo "$as_me:$LINENO: checking for toolkit" >&5
11706 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11707
11708 # In Wine, we need to default to MSW, not GTK or MOTIF
11709 if test "$wxUSE_WINE" = "yes"; then
11710 DEFAULT_DEFAULT_wxUSE_GTK=0
11711 DEFAULT_DEFAULT_wxUSE_MOTIF=0
11712 DEFAULT_DEFAULT_wxUSE_MSW=1
11713 wxUSE_SHARED=no
11714 fi
11715
11716
11717 if test "$wxUSE_GUI" = "yes"; then
11718
11719 if test "$USE_BEOS" = 1; then
11720 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11721 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11722 { (exit 1); exit 1; }; }
11723 fi
11724
11725 if test "$TOOLKIT_GIVEN" = 1; then
11726 for toolkit in `echo $ALL_TOOLKITS`; do
11727 var=wxUSE_$toolkit
11728 eval "value=\$${var}"
11729 if test "x$value" = "xno"; then
11730 eval "$var=0"
11731 elif test "x$value" != "x"; then
11732 eval "$var=1"
11733 fi
11734
11735 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11736 eval "wx${toolkit}_VERSION=$value"
11737 fi
11738 done
11739 else
11740 for toolkit in `echo $ALL_TOOLKITS`; do
11741 if test "$has_toolkit_in_cache" != 1; then
11742 var=DEFAULT_DEFAULT_wxUSE_$toolkit
11743 else
11744 var=DEFAULT_wxUSE_$toolkit
11745
11746 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11747 if test "x$version" != "x"; then
11748 eval "wx${toolkit}_VERSION=$version"
11749 fi
11750 fi
11751 eval "wxUSE_$toolkit=\$${var}"
11752 done
11753 fi
11754
11755 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11756 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11757 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11758
11759 case "${host}" in
11760 *-pc-os2_emx | *-pc-os2-emx )
11761 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11762 esac
11763
11764 case "$NUM_TOOLKITS" in
11765 1)
11766 ;;
11767 0)
11768 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11769 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11770 { (exit 1); exit 1; }; }
11771 ;;
11772 *)
11773 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11774 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11775 { (exit 1); exit 1; }; }
11776 esac
11777
11778 # to be removed when --disable-gtk2 isn't needed
11779 if test "x$wxUSE_GTK2" = "xyes"; then
11780 wxGTK_VERSION=2
11781 elif test "x$wxUSE_GTK2" = "xno"; then
11782 wxGTK_VERSION=1
11783 fi
11784
11785 for toolkit in `echo $ALL_TOOLKITS`; do
11786 var=wxUSE_$toolkit
11787 eval "value=\$${var}"
11788 if test "x$value" != x; then
11789 cache_var=CACHE_$toolkit
11790 eval "cache=\$${cache_var}"
11791 if test "$cache" = 1; then
11792 echo "$var=$value" >> ${wx_arg_cache_file}
11793 eval "version=\$wx${toolkit}_VERSION"
11794 if test "x$version" != "x"; then
11795 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11796 fi
11797 fi
11798 if test "$value" = 1; then
11799 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11800 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11801 echo "${ECHO_T}$toolkit_echo" >&6
11802 fi
11803 fi
11804 done
11805 else
11806 if test "x$host_alias" != "x"; then
11807 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11808 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11809 else
11810 echo "$as_me:$LINENO: result: base only" >&5
11811 echo "${ECHO_T}base only" >&6
11812 fi
11813 fi
11814
11815 wants_win32=0
11816 doesnt_want_win32=0
11817 case "${host}" in
11818 *-*-cygwin*)
11819 if test "$wxUSE_MSW" = 1 ; then
11820 wants_win32=1
11821 BAKEFILE_FORCE_PLATFORM=win32
11822 else
11823 doesnt_want_win32=1
11824 fi
11825 ;;
11826 *-*-mingw*)
11827 wants_win32=1
11828 ;;
11829 esac
11830
11831 if test "$wxUSE_WINE" = "yes"; then
11832 wants_win32=1
11833 CC=winegcc
11834 CXX=wineg++
11835 LDFLAGS_GUI="-mwindows"
11836 fi
11837
11838 if test "$wants_win32" = 1 ; then
11839 USE_UNIX=0
11840 USE_WIN32=1
11841 cat >>confdefs.h <<\_ACEOF
11842 #define __WIN32__ 1
11843 _ACEOF
11844
11845 cat >>confdefs.h <<\_ACEOF
11846 #define __WIN95__ 1
11847 _ACEOF
11848
11849 cat >>confdefs.h <<\_ACEOF
11850 #define __WINDOWS__ 1
11851 _ACEOF
11852
11853 cat >>confdefs.h <<\_ACEOF
11854 #define __GNUWIN32__ 1
11855 _ACEOF
11856
11857 cat >>confdefs.h <<\_ACEOF
11858 #define STRICT 1
11859 _ACEOF
11860
11861 cat >>confdefs.h <<\_ACEOF
11862 #define WINVER 0x0400
11863 _ACEOF
11864
11865 fi
11866 if test "$doesnt_want_win32" = 1 ; then
11867 USE_UNIX=1
11868 USE_WIN32=0
11869 fi
11870
11871 if test "$USE_UNIX" = 1 ; then
11872 wxUSE_UNIX=yes
11873 cat >>confdefs.h <<\_ACEOF
11874 #define __UNIX__ 1
11875 _ACEOF
11876
11877 fi
11878
11879
11880 cat >confcache <<\_ACEOF
11881 # This file is a shell script that caches the results of configure
11882 # tests run on this system so they can be shared between configure
11883 # scripts and configure runs, see configure's option --config-cache.
11884 # It is not useful on other systems. If it contains results you don't
11885 # want to keep, you may remove or edit it.
11886 #
11887 # config.status only pays attention to the cache file if you give it
11888 # the --recheck option to rerun configure.
11889 #
11890 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11891 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11892 # following values.
11893
11894 _ACEOF
11895
11896 # The following way of writing the cache mishandles newlines in values,
11897 # but we know of no workaround that is simple, portable, and efficient.
11898 # So, don't put newlines in cache variables' values.
11899 # Ultrix sh set writes to stderr and can't be redirected directly,
11900 # and sets the high bit in the cache file unless we assign to the vars.
11901 {
11902 (set) 2>&1 |
11903 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11904 *ac_space=\ *)
11905 # `set' does not quote correctly, so add quotes (double-quote
11906 # substitution turns \\\\ into \\, and sed turns \\ into \).
11907 sed -n \
11908 "s/'/'\\\\''/g;
11909 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11910 ;;
11911 *)
11912 # `set' quotes correctly as required by POSIX, so do not add quotes.
11913 sed -n \
11914 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11915 ;;
11916 esac;
11917 } |
11918 sed '
11919 t clear
11920 : clear
11921 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11922 t end
11923 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11924 : end' >>confcache
11925 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11926 if test -w $cache_file; then
11927 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11928 cat confcache >$cache_file
11929 else
11930 echo "not updating unwritable cache $cache_file"
11931 fi
11932 fi
11933 rm -f confcache
11934
11935 CFLAGS=${CFLAGS:=}
11936
11937
11938
11939 ac_ext=c
11940 ac_cpp='$CPP $CPPFLAGS'
11941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11944 if test -n "$ac_tool_prefix"; then
11945 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11946 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11947 echo "$as_me:$LINENO: checking for $ac_word" >&5
11948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11949 if test "${ac_cv_prog_CC+set}" = set; then
11950 echo $ECHO_N "(cached) $ECHO_C" >&6
11951 else
11952 if test -n "$CC"; then
11953 ac_cv_prog_CC="$CC" # Let the user override the test.
11954 else
11955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11956 for as_dir in $PATH
11957 do
11958 IFS=$as_save_IFS
11959 test -z "$as_dir" && as_dir=.
11960 for ac_exec_ext in '' $ac_executable_extensions; do
11961 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11962 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11964 break 2
11965 fi
11966 done
11967 done
11968
11969 fi
11970 fi
11971 CC=$ac_cv_prog_CC
11972 if test -n "$CC"; then
11973 echo "$as_me:$LINENO: result: $CC" >&5
11974 echo "${ECHO_T}$CC" >&6
11975 else
11976 echo "$as_me:$LINENO: result: no" >&5
11977 echo "${ECHO_T}no" >&6
11978 fi
11979
11980 fi
11981 if test -z "$ac_cv_prog_CC"; then
11982 ac_ct_CC=$CC
11983 # Extract the first word of "gcc", so it can be a program name with args.
11984 set dummy gcc; ac_word=$2
11985 echo "$as_me:$LINENO: checking for $ac_word" >&5
11986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11987 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11988 echo $ECHO_N "(cached) $ECHO_C" >&6
11989 else
11990 if test -n "$ac_ct_CC"; then
11991 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11992 else
11993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11994 for as_dir in $PATH
11995 do
11996 IFS=$as_save_IFS
11997 test -z "$as_dir" && as_dir=.
11998 for ac_exec_ext in '' $ac_executable_extensions; do
11999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12000 ac_cv_prog_ac_ct_CC="gcc"
12001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12002 break 2
12003 fi
12004 done
12005 done
12006
12007 fi
12008 fi
12009 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12010 if test -n "$ac_ct_CC"; then
12011 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12012 echo "${ECHO_T}$ac_ct_CC" >&6
12013 else
12014 echo "$as_me:$LINENO: result: no" >&5
12015 echo "${ECHO_T}no" >&6
12016 fi
12017
12018 CC=$ac_ct_CC
12019 else
12020 CC="$ac_cv_prog_CC"
12021 fi
12022
12023 if test -z "$CC"; then
12024 if test -n "$ac_tool_prefix"; then
12025 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12026 set dummy ${ac_tool_prefix}cc; ac_word=$2
12027 echo "$as_me:$LINENO: checking for $ac_word" >&5
12028 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12029 if test "${ac_cv_prog_CC+set}" = set; then
12030 echo $ECHO_N "(cached) $ECHO_C" >&6
12031 else
12032 if test -n "$CC"; then
12033 ac_cv_prog_CC="$CC" # Let the user override the test.
12034 else
12035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12036 for as_dir in $PATH
12037 do
12038 IFS=$as_save_IFS
12039 test -z "$as_dir" && as_dir=.
12040 for ac_exec_ext in '' $ac_executable_extensions; do
12041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12042 ac_cv_prog_CC="${ac_tool_prefix}cc"
12043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12044 break 2
12045 fi
12046 done
12047 done
12048
12049 fi
12050 fi
12051 CC=$ac_cv_prog_CC
12052 if test -n "$CC"; then
12053 echo "$as_me:$LINENO: result: $CC" >&5
12054 echo "${ECHO_T}$CC" >&6
12055 else
12056 echo "$as_me:$LINENO: result: no" >&5
12057 echo "${ECHO_T}no" >&6
12058 fi
12059
12060 fi
12061 if test -z "$ac_cv_prog_CC"; then
12062 ac_ct_CC=$CC
12063 # Extract the first word of "cc", so it can be a program name with args.
12064 set dummy cc; ac_word=$2
12065 echo "$as_me:$LINENO: checking for $ac_word" >&5
12066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12067 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12068 echo $ECHO_N "(cached) $ECHO_C" >&6
12069 else
12070 if test -n "$ac_ct_CC"; then
12071 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12072 else
12073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12074 for as_dir in $PATH
12075 do
12076 IFS=$as_save_IFS
12077 test -z "$as_dir" && as_dir=.
12078 for ac_exec_ext in '' $ac_executable_extensions; do
12079 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12080 ac_cv_prog_ac_ct_CC="cc"
12081 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12082 break 2
12083 fi
12084 done
12085 done
12086
12087 fi
12088 fi
12089 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12090 if test -n "$ac_ct_CC"; then
12091 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12092 echo "${ECHO_T}$ac_ct_CC" >&6
12093 else
12094 echo "$as_me:$LINENO: result: no" >&5
12095 echo "${ECHO_T}no" >&6
12096 fi
12097
12098 CC=$ac_ct_CC
12099 else
12100 CC="$ac_cv_prog_CC"
12101 fi
12102
12103 fi
12104 if test -z "$CC"; then
12105 # Extract the first word of "cc", so it can be a program name with args.
12106 set dummy cc; ac_word=$2
12107 echo "$as_me:$LINENO: checking for $ac_word" >&5
12108 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12109 if test "${ac_cv_prog_CC+set}" = set; then
12110 echo $ECHO_N "(cached) $ECHO_C" >&6
12111 else
12112 if test -n "$CC"; then
12113 ac_cv_prog_CC="$CC" # Let the user override the test.
12114 else
12115 ac_prog_rejected=no
12116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12117 for as_dir in $PATH
12118 do
12119 IFS=$as_save_IFS
12120 test -z "$as_dir" && as_dir=.
12121 for ac_exec_ext in '' $ac_executable_extensions; do
12122 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12123 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12124 ac_prog_rejected=yes
12125 continue
12126 fi
12127 ac_cv_prog_CC="cc"
12128 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12129 break 2
12130 fi
12131 done
12132 done
12133
12134 if test $ac_prog_rejected = yes; then
12135 # We found a bogon in the path, so make sure we never use it.
12136 set dummy $ac_cv_prog_CC
12137 shift
12138 if test $# != 0; then
12139 # We chose a different compiler from the bogus one.
12140 # However, it has the same basename, so the bogon will be chosen
12141 # first if we set CC to just the basename; use the full file name.
12142 shift
12143 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12144 fi
12145 fi
12146 fi
12147 fi
12148 CC=$ac_cv_prog_CC
12149 if test -n "$CC"; then
12150 echo "$as_me:$LINENO: result: $CC" >&5
12151 echo "${ECHO_T}$CC" >&6
12152 else
12153 echo "$as_me:$LINENO: result: no" >&5
12154 echo "${ECHO_T}no" >&6
12155 fi
12156
12157 fi
12158 if test -z "$CC"; then
12159 if test -n "$ac_tool_prefix"; then
12160 for ac_prog in cl
12161 do
12162 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12163 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12164 echo "$as_me:$LINENO: checking for $ac_word" >&5
12165 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12166 if test "${ac_cv_prog_CC+set}" = set; then
12167 echo $ECHO_N "(cached) $ECHO_C" >&6
12168 else
12169 if test -n "$CC"; then
12170 ac_cv_prog_CC="$CC" # Let the user override the test.
12171 else
12172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12173 for as_dir in $PATH
12174 do
12175 IFS=$as_save_IFS
12176 test -z "$as_dir" && as_dir=.
12177 for ac_exec_ext in '' $ac_executable_extensions; do
12178 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12179 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12180 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12181 break 2
12182 fi
12183 done
12184 done
12185
12186 fi
12187 fi
12188 CC=$ac_cv_prog_CC
12189 if test -n "$CC"; then
12190 echo "$as_me:$LINENO: result: $CC" >&5
12191 echo "${ECHO_T}$CC" >&6
12192 else
12193 echo "$as_me:$LINENO: result: no" >&5
12194 echo "${ECHO_T}no" >&6
12195 fi
12196
12197 test -n "$CC" && break
12198 done
12199 fi
12200 if test -z "$CC"; then
12201 ac_ct_CC=$CC
12202 for ac_prog in cl
12203 do
12204 # Extract the first word of "$ac_prog", so it can be a program name with args.
12205 set dummy $ac_prog; ac_word=$2
12206 echo "$as_me:$LINENO: checking for $ac_word" >&5
12207 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12208 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12209 echo $ECHO_N "(cached) $ECHO_C" >&6
12210 else
12211 if test -n "$ac_ct_CC"; then
12212 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12213 else
12214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12215 for as_dir in $PATH
12216 do
12217 IFS=$as_save_IFS
12218 test -z "$as_dir" && as_dir=.
12219 for ac_exec_ext in '' $ac_executable_extensions; do
12220 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12221 ac_cv_prog_ac_ct_CC="$ac_prog"
12222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12223 break 2
12224 fi
12225 done
12226 done
12227
12228 fi
12229 fi
12230 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12231 if test -n "$ac_ct_CC"; then
12232 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12233 echo "${ECHO_T}$ac_ct_CC" >&6
12234 else
12235 echo "$as_me:$LINENO: result: no" >&5
12236 echo "${ECHO_T}no" >&6
12237 fi
12238
12239 test -n "$ac_ct_CC" && break
12240 done
12241
12242 CC=$ac_ct_CC
12243 fi
12244
12245 fi
12246
12247
12248 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12249 See \`config.log' for more details." >&5
12250 echo "$as_me: error: no acceptable C compiler found in \$PATH
12251 See \`config.log' for more details." >&2;}
12252 { (exit 1); exit 1; }; }
12253
12254 # Provide some information about the compiler.
12255 echo "$as_me:$LINENO:" \
12256 "checking for C compiler version" >&5
12257 ac_compiler=`set X $ac_compile; echo $2`
12258 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12259 (eval $ac_compiler --version </dev/null >&5) 2>&5
12260 ac_status=$?
12261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12262 (exit $ac_status); }
12263 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12264 (eval $ac_compiler -v </dev/null >&5) 2>&5
12265 ac_status=$?
12266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12267 (exit $ac_status); }
12268 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12269 (eval $ac_compiler -V </dev/null >&5) 2>&5
12270 ac_status=$?
12271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12272 (exit $ac_status); }
12273
12274 cat >conftest.$ac_ext <<_ACEOF
12275 /* confdefs.h. */
12276 _ACEOF
12277 cat confdefs.h >>conftest.$ac_ext
12278 cat >>conftest.$ac_ext <<_ACEOF
12279 /* end confdefs.h. */
12280
12281 int
12282 main ()
12283 {
12284
12285 ;
12286 return 0;
12287 }
12288 _ACEOF
12289 ac_clean_files_save=$ac_clean_files
12290 ac_clean_files="$ac_clean_files a.out a.exe b.out"
12291 # Try to create an executable without -o first, disregard a.out.
12292 # It will help us diagnose broken compilers, and finding out an intuition
12293 # of exeext.
12294 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12295 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12296 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12297 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12298 (eval $ac_link_default) 2>&5
12299 ac_status=$?
12300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12301 (exit $ac_status); }; then
12302 # Find the output, starting from the most likely. This scheme is
12303 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12304 # resort.
12305
12306 # Be careful to initialize this variable, since it used to be cached.
12307 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12308 ac_cv_exeext=
12309 # b.out is created by i960 compilers.
12310 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
12311 do
12312 test -f "$ac_file" || continue
12313 case $ac_file in
12314 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
12315 ;;
12316 conftest.$ac_ext )
12317 # This is the source file.
12318 ;;
12319 [ab].out )
12320 # We found the default executable, but exeext='' is most
12321 # certainly right.
12322 break;;
12323 *.* )
12324 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12325 # FIXME: I believe we export ac_cv_exeext for Libtool,
12326 # but it would be cool to find out if it's true. Does anybody
12327 # maintain Libtool? --akim.
12328 export ac_cv_exeext
12329 break;;
12330 * )
12331 break;;
12332 esac
12333 done
12334 else
12335 echo "$as_me: failed program was:" >&5
12336 sed 's/^/| /' conftest.$ac_ext >&5
12337
12338 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12339 See \`config.log' for more details." >&5
12340 echo "$as_me: error: C compiler cannot create executables
12341 See \`config.log' for more details." >&2;}
12342 { (exit 77); exit 77; }; }
12343 fi
12344
12345 ac_exeext=$ac_cv_exeext
12346 echo "$as_me:$LINENO: result: $ac_file" >&5
12347 echo "${ECHO_T}$ac_file" >&6
12348
12349 # Check the compiler produces executables we can run. If not, either
12350 # the compiler is broken, or we cross compile.
12351 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12352 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12353 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12354 # If not cross compiling, check that we can run a simple program.
12355 if test "$cross_compiling" != yes; then
12356 if { ac_try='./$ac_file'
12357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12358 (eval $ac_try) 2>&5
12359 ac_status=$?
12360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12361 (exit $ac_status); }; }; then
12362 cross_compiling=no
12363 else
12364 if test "$cross_compiling" = maybe; then
12365 cross_compiling=yes
12366 else
12367 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12368 If you meant to cross compile, use \`--host'.
12369 See \`config.log' for more details." >&5
12370 echo "$as_me: error: cannot run C compiled programs.
12371 If you meant to cross compile, use \`--host'.
12372 See \`config.log' for more details." >&2;}
12373 { (exit 1); exit 1; }; }
12374 fi
12375 fi
12376 fi
12377 echo "$as_me:$LINENO: result: yes" >&5
12378 echo "${ECHO_T}yes" >&6
12379
12380 rm -f a.out a.exe conftest$ac_cv_exeext b.out
12381 ac_clean_files=$ac_clean_files_save
12382 # Check the compiler produces executables we can run. If not, either
12383 # the compiler is broken, or we cross compile.
12384 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12385 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12386 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12387 echo "${ECHO_T}$cross_compiling" >&6
12388
12389 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12390 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12391 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12392 (eval $ac_link) 2>&5
12393 ac_status=$?
12394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12395 (exit $ac_status); }; then
12396 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12397 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12398 # work properly (i.e., refer to `conftest.exe'), while it won't with
12399 # `rm'.
12400 for ac_file in conftest.exe conftest conftest.*; do
12401 test -f "$ac_file" || continue
12402 case $ac_file in
12403 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
12404 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12405 export ac_cv_exeext
12406 break;;
12407 * ) break;;
12408 esac
12409 done
12410 else
12411 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12412 See \`config.log' for more details." >&5
12413 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12414 See \`config.log' for more details." >&2;}
12415 { (exit 1); exit 1; }; }
12416 fi
12417
12418 rm -f conftest$ac_cv_exeext
12419 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12420 echo "${ECHO_T}$ac_cv_exeext" >&6
12421
12422 rm -f conftest.$ac_ext
12423 EXEEXT=$ac_cv_exeext
12424 ac_exeext=$EXEEXT
12425 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12426 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12427 if test "${ac_cv_objext+set}" = set; then
12428 echo $ECHO_N "(cached) $ECHO_C" >&6
12429 else
12430 cat >conftest.$ac_ext <<_ACEOF
12431 /* confdefs.h. */
12432 _ACEOF
12433 cat confdefs.h >>conftest.$ac_ext
12434 cat >>conftest.$ac_ext <<_ACEOF
12435 /* end confdefs.h. */
12436
12437 int
12438 main ()
12439 {
12440
12441 ;
12442 return 0;
12443 }
12444 _ACEOF
12445 rm -f conftest.o conftest.obj
12446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12447 (eval $ac_compile) 2>&5
12448 ac_status=$?
12449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12450 (exit $ac_status); }; then
12451 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12452 case $ac_file in
12453 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12454 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12455 break;;
12456 esac
12457 done
12458 else
12459 echo "$as_me: failed program was:" >&5
12460 sed 's/^/| /' conftest.$ac_ext >&5
12461
12462 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12463 See \`config.log' for more details." >&5
12464 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12465 See \`config.log' for more details." >&2;}
12466 { (exit 1); exit 1; }; }
12467 fi
12468
12469 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12470 fi
12471 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12472 echo "${ECHO_T}$ac_cv_objext" >&6
12473 OBJEXT=$ac_cv_objext
12474 ac_objext=$OBJEXT
12475 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12476 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12477 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12478 echo $ECHO_N "(cached) $ECHO_C" >&6
12479 else
12480 cat >conftest.$ac_ext <<_ACEOF
12481 /* confdefs.h. */
12482 _ACEOF
12483 cat confdefs.h >>conftest.$ac_ext
12484 cat >>conftest.$ac_ext <<_ACEOF
12485 /* end confdefs.h. */
12486
12487 int
12488 main ()
12489 {
12490 #ifndef __GNUC__
12491 choke me
12492 #endif
12493
12494 ;
12495 return 0;
12496 }
12497 _ACEOF
12498 rm -f conftest.$ac_objext
12499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12500 (eval $ac_compile) 2>conftest.er1
12501 ac_status=$?
12502 grep -v '^ *+' conftest.er1 >conftest.err
12503 rm -f conftest.er1
12504 cat conftest.err >&5
12505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12506 (exit $ac_status); } &&
12507 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12509 (eval $ac_try) 2>&5
12510 ac_status=$?
12511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12512 (exit $ac_status); }; } &&
12513 { ac_try='test -s conftest.$ac_objext'
12514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12515 (eval $ac_try) 2>&5
12516 ac_status=$?
12517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12518 (exit $ac_status); }; }; then
12519 ac_compiler_gnu=yes
12520 else
12521 echo "$as_me: failed program was:" >&5
12522 sed 's/^/| /' conftest.$ac_ext >&5
12523
12524 ac_compiler_gnu=no
12525 fi
12526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12527 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12528
12529 fi
12530 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12531 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12532 GCC=`test $ac_compiler_gnu = yes && echo yes`
12533 ac_test_CFLAGS=${CFLAGS+set}
12534 ac_save_CFLAGS=$CFLAGS
12535 CFLAGS="-g"
12536 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12537 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12538 if test "${ac_cv_prog_cc_g+set}" = set; then
12539 echo $ECHO_N "(cached) $ECHO_C" >&6
12540 else
12541 cat >conftest.$ac_ext <<_ACEOF
12542 /* confdefs.h. */
12543 _ACEOF
12544 cat confdefs.h >>conftest.$ac_ext
12545 cat >>conftest.$ac_ext <<_ACEOF
12546 /* end confdefs.h. */
12547
12548 int
12549 main ()
12550 {
12551
12552 ;
12553 return 0;
12554 }
12555 _ACEOF
12556 rm -f conftest.$ac_objext
12557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12558 (eval $ac_compile) 2>conftest.er1
12559 ac_status=$?
12560 grep -v '^ *+' conftest.er1 >conftest.err
12561 rm -f conftest.er1
12562 cat conftest.err >&5
12563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12564 (exit $ac_status); } &&
12565 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12567 (eval $ac_try) 2>&5
12568 ac_status=$?
12569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12570 (exit $ac_status); }; } &&
12571 { ac_try='test -s conftest.$ac_objext'
12572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12573 (eval $ac_try) 2>&5
12574 ac_status=$?
12575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12576 (exit $ac_status); }; }; then
12577 ac_cv_prog_cc_g=yes
12578 else
12579 echo "$as_me: failed program was:" >&5
12580 sed 's/^/| /' conftest.$ac_ext >&5
12581
12582 ac_cv_prog_cc_g=no
12583 fi
12584 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12585 fi
12586 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12587 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12588 if test "$ac_test_CFLAGS" = set; then
12589 CFLAGS=$ac_save_CFLAGS
12590 elif test $ac_cv_prog_cc_g = yes; then
12591 if test "$GCC" = yes; then
12592 CFLAGS="-g -O2"
12593 else
12594 CFLAGS="-g"
12595 fi
12596 else
12597 if test "$GCC" = yes; then
12598 CFLAGS="-O2"
12599 else
12600 CFLAGS=
12601 fi
12602 fi
12603 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12604 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12605 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12606 echo $ECHO_N "(cached) $ECHO_C" >&6
12607 else
12608 ac_cv_prog_cc_stdc=no
12609 ac_save_CC=$CC
12610 cat >conftest.$ac_ext <<_ACEOF
12611 /* confdefs.h. */
12612 _ACEOF
12613 cat confdefs.h >>conftest.$ac_ext
12614 cat >>conftest.$ac_ext <<_ACEOF
12615 /* end confdefs.h. */
12616 #include <stdarg.h>
12617 #include <stdio.h>
12618 #include <sys/types.h>
12619 #include <sys/stat.h>
12620 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12621 struct buf { int x; };
12622 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12623 static char *e (p, i)
12624 char **p;
12625 int i;
12626 {
12627 return p[i];
12628 }
12629 static char *f (char * (*g) (char **, int), char **p, ...)
12630 {
12631 char *s;
12632 va_list v;
12633 va_start (v,p);
12634 s = g (p, va_arg (v,int));
12635 va_end (v);
12636 return s;
12637 }
12638
12639 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12640 function prototypes and stuff, but not '\xHH' hex character constants.
12641 These don't provoke an error unfortunately, instead are silently treated
12642 as 'x'. The following induces an error, until -std1 is added to get
12643 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12644 array size at least. It's necessary to write '\x00'==0 to get something
12645 that's true only with -std1. */
12646 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12647
12648 int test (int i, double x);
12649 struct s1 {int (*f) (int a);};
12650 struct s2 {int (*f) (double a);};
12651 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12652 int argc;
12653 char **argv;
12654 int
12655 main ()
12656 {
12657 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12658 ;
12659 return 0;
12660 }
12661 _ACEOF
12662 # Don't try gcc -ansi; that turns off useful extensions and
12663 # breaks some systems' header files.
12664 # AIX -qlanglvl=ansi
12665 # Ultrix and OSF/1 -std1
12666 # HP-UX 10.20 and later -Ae
12667 # HP-UX older versions -Aa -D_HPUX_SOURCE
12668 # SVR4 -Xc -D__EXTENSIONS__
12669 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12670 do
12671 CC="$ac_save_CC $ac_arg"
12672 rm -f conftest.$ac_objext
12673 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12674 (eval $ac_compile) 2>conftest.er1
12675 ac_status=$?
12676 grep -v '^ *+' conftest.er1 >conftest.err
12677 rm -f conftest.er1
12678 cat conftest.err >&5
12679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12680 (exit $ac_status); } &&
12681 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12683 (eval $ac_try) 2>&5
12684 ac_status=$?
12685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12686 (exit $ac_status); }; } &&
12687 { ac_try='test -s conftest.$ac_objext'
12688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12689 (eval $ac_try) 2>&5
12690 ac_status=$?
12691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12692 (exit $ac_status); }; }; then
12693 ac_cv_prog_cc_stdc=$ac_arg
12694 break
12695 else
12696 echo "$as_me: failed program was:" >&5
12697 sed 's/^/| /' conftest.$ac_ext >&5
12698
12699 fi
12700 rm -f conftest.err conftest.$ac_objext
12701 done
12702 rm -f conftest.$ac_ext conftest.$ac_objext
12703 CC=$ac_save_CC
12704
12705 fi
12706
12707 case "x$ac_cv_prog_cc_stdc" in
12708 x|xno)
12709 echo "$as_me:$LINENO: result: none needed" >&5
12710 echo "${ECHO_T}none needed" >&6 ;;
12711 *)
12712 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12713 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12714 CC="$CC $ac_cv_prog_cc_stdc" ;;
12715 esac
12716
12717 # Some people use a C++ compiler to compile C. Since we use `exit',
12718 # in C++ we need to declare it. In case someone uses the same compiler
12719 # for both compiling C and C++ we need to have the C++ compiler decide
12720 # the declaration of exit, since it's the most demanding environment.
12721 cat >conftest.$ac_ext <<_ACEOF
12722 #ifndef __cplusplus
12723 choke me
12724 #endif
12725 _ACEOF
12726 rm -f conftest.$ac_objext
12727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12728 (eval $ac_compile) 2>conftest.er1
12729 ac_status=$?
12730 grep -v '^ *+' conftest.er1 >conftest.err
12731 rm -f conftest.er1
12732 cat conftest.err >&5
12733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12734 (exit $ac_status); } &&
12735 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12737 (eval $ac_try) 2>&5
12738 ac_status=$?
12739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12740 (exit $ac_status); }; } &&
12741 { ac_try='test -s conftest.$ac_objext'
12742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12743 (eval $ac_try) 2>&5
12744 ac_status=$?
12745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12746 (exit $ac_status); }; }; then
12747 for ac_declaration in \
12748 '' \
12749 'extern "C" void std::exit (int) throw (); using std::exit;' \
12750 'extern "C" void std::exit (int); using std::exit;' \
12751 'extern "C" void exit (int) throw ();' \
12752 'extern "C" void exit (int);' \
12753 'void exit (int);'
12754 do
12755 cat >conftest.$ac_ext <<_ACEOF
12756 /* confdefs.h. */
12757 _ACEOF
12758 cat confdefs.h >>conftest.$ac_ext
12759 cat >>conftest.$ac_ext <<_ACEOF
12760 /* end confdefs.h. */
12761 $ac_declaration
12762 #include <stdlib.h>
12763 int
12764 main ()
12765 {
12766 exit (42);
12767 ;
12768 return 0;
12769 }
12770 _ACEOF
12771 rm -f conftest.$ac_objext
12772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12773 (eval $ac_compile) 2>conftest.er1
12774 ac_status=$?
12775 grep -v '^ *+' conftest.er1 >conftest.err
12776 rm -f conftest.er1
12777 cat conftest.err >&5
12778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12779 (exit $ac_status); } &&
12780 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12782 (eval $ac_try) 2>&5
12783 ac_status=$?
12784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12785 (exit $ac_status); }; } &&
12786 { ac_try='test -s conftest.$ac_objext'
12787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12788 (eval $ac_try) 2>&5
12789 ac_status=$?
12790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12791 (exit $ac_status); }; }; then
12792 :
12793 else
12794 echo "$as_me: failed program was:" >&5
12795 sed 's/^/| /' conftest.$ac_ext >&5
12796
12797 continue
12798 fi
12799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12800 cat >conftest.$ac_ext <<_ACEOF
12801 /* confdefs.h. */
12802 _ACEOF
12803 cat confdefs.h >>conftest.$ac_ext
12804 cat >>conftest.$ac_ext <<_ACEOF
12805 /* end confdefs.h. */
12806 $ac_declaration
12807 int
12808 main ()
12809 {
12810 exit (42);
12811 ;
12812 return 0;
12813 }
12814 _ACEOF
12815 rm -f conftest.$ac_objext
12816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12817 (eval $ac_compile) 2>conftest.er1
12818 ac_status=$?
12819 grep -v '^ *+' conftest.er1 >conftest.err
12820 rm -f conftest.er1
12821 cat conftest.err >&5
12822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12823 (exit $ac_status); } &&
12824 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12826 (eval $ac_try) 2>&5
12827 ac_status=$?
12828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12829 (exit $ac_status); }; } &&
12830 { ac_try='test -s conftest.$ac_objext'
12831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12832 (eval $ac_try) 2>&5
12833 ac_status=$?
12834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12835 (exit $ac_status); }; }; then
12836 break
12837 else
12838 echo "$as_me: failed program was:" >&5
12839 sed 's/^/| /' conftest.$ac_ext >&5
12840
12841 fi
12842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12843 done
12844 rm -f conftest*
12845 if test -n "$ac_declaration"; then
12846 echo '#ifdef __cplusplus' >>confdefs.h
12847 echo $ac_declaration >>confdefs.h
12848 echo '#endif' >>confdefs.h
12849 fi
12850
12851 else
12852 echo "$as_me: failed program was:" >&5
12853 sed 's/^/| /' conftest.$ac_ext >&5
12854
12855 fi
12856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12857 ac_ext=c
12858 ac_cpp='$CPP $CPPFLAGS'
12859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12862
12863
12864
12865 ac_ext=c
12866 ac_cpp='$CPP $CPPFLAGS'
12867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12870
12871 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12872 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12873 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12874 echo $ECHO_N "(cached) $ECHO_C" >&6
12875 else
12876 cat >conftest.$ac_ext <<_ACEOF
12877 /* confdefs.h. */
12878 _ACEOF
12879 cat confdefs.h >>conftest.$ac_ext
12880 cat >>conftest.$ac_ext <<_ACEOF
12881 /* end confdefs.h. */
12882
12883 int
12884 main ()
12885 {
12886
12887 #ifndef __INTEL_COMPILER
12888 choke me
12889 #endif
12890
12891 ;
12892 return 0;
12893 }
12894 _ACEOF
12895 rm -f conftest.$ac_objext
12896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12897 (eval $ac_compile) 2>conftest.er1
12898 ac_status=$?
12899 grep -v '^ *+' conftest.er1 >conftest.err
12900 rm -f conftest.er1
12901 cat conftest.err >&5
12902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12903 (exit $ac_status); } &&
12904 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12906 (eval $ac_try) 2>&5
12907 ac_status=$?
12908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12909 (exit $ac_status); }; } &&
12910 { ac_try='test -s conftest.$ac_objext'
12911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12912 (eval $ac_try) 2>&5
12913 ac_status=$?
12914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12915 (exit $ac_status); }; }; then
12916 bakefile_cv_c_compiler___INTEL_COMPILER=yes
12917 else
12918 echo "$as_me: failed program was:" >&5
12919 sed 's/^/| /' conftest.$ac_ext >&5
12920
12921 bakefile_cv_c_compiler___INTEL_COMPILER=no
12922
12923 fi
12924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12925
12926
12927 fi
12928 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12929 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12930 ac_ext=c
12931 ac_cpp='$CPP $CPPFLAGS'
12932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12935
12936 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12937 :; INTELCC=yes
12938 else
12939 :;
12940 fi
12941
12942
12943 if test "x$GCC" != "xyes"; then
12944 if test "xCC" = "xC"; then
12945 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12946 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12947 if test "${bakefile_cv_c_exto+set}" = set; then
12948 echo $ECHO_N "(cached) $ECHO_C" >&6
12949 else
12950 cat >conftest.$ac_ext <<_ACEOF
12951 /* confdefs.h. */
12952 _ACEOF
12953 cat confdefs.h >>conftest.$ac_ext
12954 cat >>conftest.$ac_ext <<_ACEOF
12955 /* end confdefs.h. */
12956
12957 int
12958 main ()
12959 {
12960
12961 ;
12962 return 0;
12963 }
12964 _ACEOF
12965 rm -f conftest.$ac_objext conftest.$ac_ext.o
12966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12967 (eval $ac_compile) 2>&5
12968 ac_status=$?
12969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12970 (exit $ac_status); }; then
12971 for ac_file in `(ls conftest.* 2>/dev/null)`; do
12972 case $ac_file in
12973 conftest.$ac_ext.o)
12974 bakefile_cv_c_exto="-ext o"
12975 ;;
12976 *)
12977 ;;
12978 esac
12979 done
12980 else
12981 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12982 See \`config.log' for more details." >&5
12983 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12984 See \`config.log' for more details." >&2;}
12985 { (exit 1); exit 1; }; }
12986
12987 fi
12988
12989 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
12990
12991 fi
12992 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12993 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12994 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12995 if test "c" = "c"; then
12996 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
12997 fi
12998 if test "c" = "cxx"; then
12999 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13000 fi
13001 fi
13002
13003 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13004 unset ac_cv_prog_cc_g
13005 ac_test_CFLAGS=${CFLAGS+set}
13006 ac_save_CFLAGS=$CFLAGS
13007 CFLAGS="-g"
13008 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13009 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13010 if test "${ac_cv_prog_cc_g+set}" = set; then
13011 echo $ECHO_N "(cached) $ECHO_C" >&6
13012 else
13013 cat >conftest.$ac_ext <<_ACEOF
13014 /* confdefs.h. */
13015 _ACEOF
13016 cat confdefs.h >>conftest.$ac_ext
13017 cat >>conftest.$ac_ext <<_ACEOF
13018 /* end confdefs.h. */
13019
13020 int
13021 main ()
13022 {
13023
13024 ;
13025 return 0;
13026 }
13027 _ACEOF
13028 rm -f conftest.$ac_objext
13029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13030 (eval $ac_compile) 2>conftest.er1
13031 ac_status=$?
13032 grep -v '^ *+' conftest.er1 >conftest.err
13033 rm -f conftest.er1
13034 cat conftest.err >&5
13035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13036 (exit $ac_status); } &&
13037 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13039 (eval $ac_try) 2>&5
13040 ac_status=$?
13041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13042 (exit $ac_status); }; } &&
13043 { ac_try='test -s conftest.$ac_objext'
13044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13045 (eval $ac_try) 2>&5
13046 ac_status=$?
13047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13048 (exit $ac_status); }; }; then
13049 ac_cv_prog_cc_g=yes
13050 else
13051 echo "$as_me: failed program was:" >&5
13052 sed 's/^/| /' conftest.$ac_ext >&5
13053
13054 ac_cv_prog_cc_g=no
13055 fi
13056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13057 fi
13058 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13059 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13060 if test "$ac_test_CFLAGS" = set; then
13061 CFLAGS=$ac_save_CFLAGS
13062 elif test $ac_cv_prog_cc_g = yes; then
13063 if test "$GCC" = yes; then
13064 CFLAGS="-g -O2"
13065 else
13066 CFLAGS="-g"
13067 fi
13068 else
13069 if test "$GCC" = yes; then
13070 CFLAGS="-O2"
13071 else
13072 CFLAGS=
13073 fi
13074 fi
13075 fi
13076 fi
13077
13078 case `uname -s` in
13079 AIX*)
13080 ac_ext=c
13081 ac_cpp='$CPP $CPPFLAGS'
13082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13085
13086 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13087 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13088 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13089 echo $ECHO_N "(cached) $ECHO_C" >&6
13090 else
13091 cat >conftest.$ac_ext <<_ACEOF
13092 /* confdefs.h. */
13093 _ACEOF
13094 cat confdefs.h >>conftest.$ac_ext
13095 cat >>conftest.$ac_ext <<_ACEOF
13096 /* end confdefs.h. */
13097
13098 int
13099 main ()
13100 {
13101 #ifndef __xlC__
13102 choke me
13103 #endif
13104
13105 ;
13106 return 0;
13107 }
13108 _ACEOF
13109 rm -f conftest.$ac_objext
13110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13111 (eval $ac_compile) 2>conftest.er1
13112 ac_status=$?
13113 grep -v '^ *+' conftest.er1 >conftest.err
13114 rm -f conftest.er1
13115 cat conftest.err >&5
13116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13117 (exit $ac_status); } &&
13118 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13120 (eval $ac_try) 2>&5
13121 ac_status=$?
13122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13123 (exit $ac_status); }; } &&
13124 { ac_try='test -s conftest.$ac_objext'
13125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13126 (eval $ac_try) 2>&5
13127 ac_status=$?
13128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13129 (exit $ac_status); }; }; then
13130 bakefile_compiler_xlc=yes
13131 else
13132 echo "$as_me: failed program was:" >&5
13133 sed 's/^/| /' conftest.$ac_ext >&5
13134
13135 bakefile_compiler_xlc=no
13136 fi
13137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13138 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13139
13140 fi
13141 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13142 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13143
13144 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13145 ac_ext=c
13146 ac_cpp='$CPP $CPPFLAGS'
13147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13150
13151
13152 ;;
13153
13154 Darwin)
13155 ac_ext=c
13156 ac_cpp='$CPP $CPPFLAGS'
13157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13160
13161 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13162 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13163 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13164 echo $ECHO_N "(cached) $ECHO_C" >&6
13165 else
13166 cat >conftest.$ac_ext <<_ACEOF
13167 /* confdefs.h. */
13168 _ACEOF
13169 cat confdefs.h >>conftest.$ac_ext
13170 cat >>conftest.$ac_ext <<_ACEOF
13171 /* end confdefs.h. */
13172
13173 int
13174 main ()
13175 {
13176 #ifndef __MWERKS__
13177 choke me
13178 #endif
13179
13180 ;
13181 return 0;
13182 }
13183 _ACEOF
13184 rm -f conftest.$ac_objext
13185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13186 (eval $ac_compile) 2>conftest.er1
13187 ac_status=$?
13188 grep -v '^ *+' conftest.er1 >conftest.err
13189 rm -f conftest.er1
13190 cat conftest.err >&5
13191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13192 (exit $ac_status); } &&
13193 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13195 (eval $ac_try) 2>&5
13196 ac_status=$?
13197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13198 (exit $ac_status); }; } &&
13199 { ac_try='test -s conftest.$ac_objext'
13200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13201 (eval $ac_try) 2>&5
13202 ac_status=$?
13203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13204 (exit $ac_status); }; }; then
13205 bakefile_compiler_mwerks=yes
13206 else
13207 echo "$as_me: failed program was:" >&5
13208 sed 's/^/| /' conftest.$ac_ext >&5
13209
13210 bakefile_compiler_mwerks=no
13211 fi
13212 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13213 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
13214
13215 fi
13216 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13217 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13218
13219 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13220 ac_ext=c
13221 ac_cpp='$CPP $CPPFLAGS'
13222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13225
13226
13227 ac_ext=c
13228 ac_cpp='$CPP $CPPFLAGS'
13229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13232
13233 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13234 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13235 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13236 echo $ECHO_N "(cached) $ECHO_C" >&6
13237 else
13238 cat >conftest.$ac_ext <<_ACEOF
13239 /* confdefs.h. */
13240 _ACEOF
13241 cat confdefs.h >>conftest.$ac_ext
13242 cat >>conftest.$ac_ext <<_ACEOF
13243 /* end confdefs.h. */
13244
13245 int
13246 main ()
13247 {
13248 #ifndef __xlC__
13249 choke me
13250 #endif
13251
13252 ;
13253 return 0;
13254 }
13255 _ACEOF
13256 rm -f conftest.$ac_objext
13257 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13258 (eval $ac_compile) 2>conftest.er1
13259 ac_status=$?
13260 grep -v '^ *+' conftest.er1 >conftest.err
13261 rm -f conftest.er1
13262 cat conftest.err >&5
13263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13264 (exit $ac_status); } &&
13265 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13267 (eval $ac_try) 2>&5
13268 ac_status=$?
13269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13270 (exit $ac_status); }; } &&
13271 { ac_try='test -s conftest.$ac_objext'
13272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13273 (eval $ac_try) 2>&5
13274 ac_status=$?
13275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13276 (exit $ac_status); }; }; then
13277 bakefile_compiler_xlc=yes
13278 else
13279 echo "$as_me: failed program was:" >&5
13280 sed 's/^/| /' conftest.$ac_ext >&5
13281
13282 bakefile_compiler_xlc=no
13283 fi
13284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13285 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13286
13287 fi
13288 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13289 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13290
13291 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13292 ac_ext=c
13293 ac_cpp='$CPP $CPPFLAGS'
13294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13297
13298
13299 ;;
13300
13301 IRIX*)
13302
13303
13304 ac_ext=c
13305 ac_cpp='$CPP $CPPFLAGS'
13306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13309
13310 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13311 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13312 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13313 echo $ECHO_N "(cached) $ECHO_C" >&6
13314 else
13315 cat >conftest.$ac_ext <<_ACEOF
13316 /* confdefs.h. */
13317 _ACEOF
13318 cat confdefs.h >>conftest.$ac_ext
13319 cat >>conftest.$ac_ext <<_ACEOF
13320 /* end confdefs.h. */
13321
13322 int
13323 main ()
13324 {
13325
13326 #ifndef _SGI_COMPILER_VERSION
13327 choke me
13328 #endif
13329
13330 ;
13331 return 0;
13332 }
13333 _ACEOF
13334 rm -f conftest.$ac_objext
13335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13336 (eval $ac_compile) 2>conftest.er1
13337 ac_status=$?
13338 grep -v '^ *+' conftest.er1 >conftest.err
13339 rm -f conftest.er1
13340 cat conftest.err >&5
13341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13342 (exit $ac_status); } &&
13343 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13345 (eval $ac_try) 2>&5
13346 ac_status=$?
13347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13348 (exit $ac_status); }; } &&
13349 { ac_try='test -s conftest.$ac_objext'
13350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13351 (eval $ac_try) 2>&5
13352 ac_status=$?
13353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13354 (exit $ac_status); }; }; then
13355 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
13356 else
13357 echo "$as_me: failed program was:" >&5
13358 sed 's/^/| /' conftest.$ac_ext >&5
13359
13360 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
13361
13362 fi
13363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13364
13365
13366 fi
13367 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13368 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13369 ac_ext=c
13370 ac_cpp='$CPP $CPPFLAGS'
13371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13374
13375 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13376 :; SGICC=yes
13377 else
13378 :;
13379 fi
13380
13381
13382 ;;
13383
13384 HP-UX*)
13385
13386
13387 ac_ext=c
13388 ac_cpp='$CPP $CPPFLAGS'
13389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13392
13393 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13394 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13395 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13396 echo $ECHO_N "(cached) $ECHO_C" >&6
13397 else
13398 cat >conftest.$ac_ext <<_ACEOF
13399 /* confdefs.h. */
13400 _ACEOF
13401 cat confdefs.h >>conftest.$ac_ext
13402 cat >>conftest.$ac_ext <<_ACEOF
13403 /* end confdefs.h. */
13404
13405 int
13406 main ()
13407 {
13408
13409 #ifndef __HP_cc
13410 choke me
13411 #endif
13412
13413 ;
13414 return 0;
13415 }
13416 _ACEOF
13417 rm -f conftest.$ac_objext
13418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13419 (eval $ac_compile) 2>conftest.er1
13420 ac_status=$?
13421 grep -v '^ *+' conftest.er1 >conftest.err
13422 rm -f conftest.er1
13423 cat conftest.err >&5
13424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13425 (exit $ac_status); } &&
13426 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13428 (eval $ac_try) 2>&5
13429 ac_status=$?
13430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13431 (exit $ac_status); }; } &&
13432 { ac_try='test -s conftest.$ac_objext'
13433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13434 (eval $ac_try) 2>&5
13435 ac_status=$?
13436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13437 (exit $ac_status); }; }; then
13438 bakefile_cv_c_compiler___HP_cc=yes
13439 else
13440 echo "$as_me: failed program was:" >&5
13441 sed 's/^/| /' conftest.$ac_ext >&5
13442
13443 bakefile_cv_c_compiler___HP_cc=no
13444
13445 fi
13446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13447
13448
13449 fi
13450 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13451 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13452 ac_ext=c
13453 ac_cpp='$CPP $CPPFLAGS'
13454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13457
13458 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13459 :; HPCC=yes
13460 else
13461 :;
13462 fi
13463
13464
13465 ;;
13466
13467 OSF1)
13468
13469
13470 ac_ext=c
13471 ac_cpp='$CPP $CPPFLAGS'
13472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13475
13476 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13477 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13478 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13479 echo $ECHO_N "(cached) $ECHO_C" >&6
13480 else
13481 cat >conftest.$ac_ext <<_ACEOF
13482 /* confdefs.h. */
13483 _ACEOF
13484 cat confdefs.h >>conftest.$ac_ext
13485 cat >>conftest.$ac_ext <<_ACEOF
13486 /* end confdefs.h. */
13487
13488 int
13489 main ()
13490 {
13491
13492 #ifndef __DECC
13493 choke me
13494 #endif
13495
13496 ;
13497 return 0;
13498 }
13499 _ACEOF
13500 rm -f conftest.$ac_objext
13501 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13502 (eval $ac_compile) 2>conftest.er1
13503 ac_status=$?
13504 grep -v '^ *+' conftest.er1 >conftest.err
13505 rm -f conftest.er1
13506 cat conftest.err >&5
13507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13508 (exit $ac_status); } &&
13509 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13511 (eval $ac_try) 2>&5
13512 ac_status=$?
13513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13514 (exit $ac_status); }; } &&
13515 { ac_try='test -s conftest.$ac_objext'
13516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13517 (eval $ac_try) 2>&5
13518 ac_status=$?
13519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13520 (exit $ac_status); }; }; then
13521 bakefile_cv_c_compiler___DECC=yes
13522 else
13523 echo "$as_me: failed program was:" >&5
13524 sed 's/^/| /' conftest.$ac_ext >&5
13525
13526 bakefile_cv_c_compiler___DECC=no
13527
13528 fi
13529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13530
13531
13532 fi
13533 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13534 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13535 ac_ext=c
13536 ac_cpp='$CPP $CPPFLAGS'
13537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13540
13541 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13542 :; COMPAQCC=yes
13543 else
13544 :;
13545 fi
13546
13547
13548 ;;
13549
13550 SunOS)
13551
13552
13553 ac_ext=c
13554 ac_cpp='$CPP $CPPFLAGS'
13555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13558
13559 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13560 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13561 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13562 echo $ECHO_N "(cached) $ECHO_C" >&6
13563 else
13564 cat >conftest.$ac_ext <<_ACEOF
13565 /* confdefs.h. */
13566 _ACEOF
13567 cat confdefs.h >>conftest.$ac_ext
13568 cat >>conftest.$ac_ext <<_ACEOF
13569 /* end confdefs.h. */
13570
13571 int
13572 main ()
13573 {
13574
13575 #ifndef __SUNPRO_C
13576 choke me
13577 #endif
13578
13579 ;
13580 return 0;
13581 }
13582 _ACEOF
13583 rm -f conftest.$ac_objext
13584 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13585 (eval $ac_compile) 2>conftest.er1
13586 ac_status=$?
13587 grep -v '^ *+' conftest.er1 >conftest.err
13588 rm -f conftest.er1
13589 cat conftest.err >&5
13590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13591 (exit $ac_status); } &&
13592 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13594 (eval $ac_try) 2>&5
13595 ac_status=$?
13596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13597 (exit $ac_status); }; } &&
13598 { ac_try='test -s conftest.$ac_objext'
13599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13600 (eval $ac_try) 2>&5
13601 ac_status=$?
13602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13603 (exit $ac_status); }; }; then
13604 bakefile_cv_c_compiler___SUNPRO_C=yes
13605 else
13606 echo "$as_me: failed program was:" >&5
13607 sed 's/^/| /' conftest.$ac_ext >&5
13608
13609 bakefile_cv_c_compiler___SUNPRO_C=no
13610
13611 fi
13612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13613
13614
13615 fi
13616 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13617 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13618 ac_ext=c
13619 ac_cpp='$CPP $CPPFLAGS'
13620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13623
13624 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13625 :; SUNCC=yes
13626 else
13627 :;
13628 fi
13629
13630
13631 ;;
13632 esac
13633 fi
13634
13635
13636
13637 ac_ext=c
13638 ac_cpp='$CPP $CPPFLAGS'
13639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13642 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13643 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13644 # On Suns, sometimes $CPP names a directory.
13645 if test -n "$CPP" && test -d "$CPP"; then
13646 CPP=
13647 fi
13648 if test -z "$CPP"; then
13649 if test "${ac_cv_prog_CPP+set}" = set; then
13650 echo $ECHO_N "(cached) $ECHO_C" >&6
13651 else
13652 # Double quotes because CPP needs to be expanded
13653 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13654 do
13655 ac_preproc_ok=false
13656 for ac_c_preproc_warn_flag in '' yes
13657 do
13658 # Use a header file that comes with gcc, so configuring glibc
13659 # with a fresh cross-compiler works.
13660 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13661 # <limits.h> exists even on freestanding compilers.
13662 # On the NeXT, cc -E runs the code through the compiler's parser,
13663 # not just through cpp. "Syntax error" is here to catch this case.
13664 cat >conftest.$ac_ext <<_ACEOF
13665 /* confdefs.h. */
13666 _ACEOF
13667 cat confdefs.h >>conftest.$ac_ext
13668 cat >>conftest.$ac_ext <<_ACEOF
13669 /* end confdefs.h. */
13670 #ifdef __STDC__
13671 # include <limits.h>
13672 #else
13673 # include <assert.h>
13674 #endif
13675 Syntax error
13676 _ACEOF
13677 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13678 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13679 ac_status=$?
13680 grep -v '^ *+' conftest.er1 >conftest.err
13681 rm -f conftest.er1
13682 cat conftest.err >&5
13683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13684 (exit $ac_status); } >/dev/null; then
13685 if test -s conftest.err; then
13686 ac_cpp_err=$ac_c_preproc_warn_flag
13687 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13688 else
13689 ac_cpp_err=
13690 fi
13691 else
13692 ac_cpp_err=yes
13693 fi
13694 if test -z "$ac_cpp_err"; then
13695 :
13696 else
13697 echo "$as_me: failed program was:" >&5
13698 sed 's/^/| /' conftest.$ac_ext >&5
13699
13700 # Broken: fails on valid input.
13701 continue
13702 fi
13703 rm -f conftest.err conftest.$ac_ext
13704
13705 # OK, works on sane cases. Now check whether non-existent headers
13706 # can be detected and how.
13707 cat >conftest.$ac_ext <<_ACEOF
13708 /* confdefs.h. */
13709 _ACEOF
13710 cat confdefs.h >>conftest.$ac_ext
13711 cat >>conftest.$ac_ext <<_ACEOF
13712 /* end confdefs.h. */
13713 #include <ac_nonexistent.h>
13714 _ACEOF
13715 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13716 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13717 ac_status=$?
13718 grep -v '^ *+' conftest.er1 >conftest.err
13719 rm -f conftest.er1
13720 cat conftest.err >&5
13721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13722 (exit $ac_status); } >/dev/null; then
13723 if test -s conftest.err; then
13724 ac_cpp_err=$ac_c_preproc_warn_flag
13725 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13726 else
13727 ac_cpp_err=
13728 fi
13729 else
13730 ac_cpp_err=yes
13731 fi
13732 if test -z "$ac_cpp_err"; then
13733 # Broken: success on invalid input.
13734 continue
13735 else
13736 echo "$as_me: failed program was:" >&5
13737 sed 's/^/| /' conftest.$ac_ext >&5
13738
13739 # Passes both tests.
13740 ac_preproc_ok=:
13741 break
13742 fi
13743 rm -f conftest.err conftest.$ac_ext
13744
13745 done
13746 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13747 rm -f conftest.err conftest.$ac_ext
13748 if $ac_preproc_ok; then
13749 break
13750 fi
13751
13752 done
13753 ac_cv_prog_CPP=$CPP
13754
13755 fi
13756 CPP=$ac_cv_prog_CPP
13757 else
13758 ac_cv_prog_CPP=$CPP
13759 fi
13760 echo "$as_me:$LINENO: result: $CPP" >&5
13761 echo "${ECHO_T}$CPP" >&6
13762 ac_preproc_ok=false
13763 for ac_c_preproc_warn_flag in '' yes
13764 do
13765 # Use a header file that comes with gcc, so configuring glibc
13766 # with a fresh cross-compiler works.
13767 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13768 # <limits.h> exists even on freestanding compilers.
13769 # On the NeXT, cc -E runs the code through the compiler's parser,
13770 # not just through cpp. "Syntax error" is here to catch this case.
13771 cat >conftest.$ac_ext <<_ACEOF
13772 /* confdefs.h. */
13773 _ACEOF
13774 cat confdefs.h >>conftest.$ac_ext
13775 cat >>conftest.$ac_ext <<_ACEOF
13776 /* end confdefs.h. */
13777 #ifdef __STDC__
13778 # include <limits.h>
13779 #else
13780 # include <assert.h>
13781 #endif
13782 Syntax error
13783 _ACEOF
13784 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13785 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13786 ac_status=$?
13787 grep -v '^ *+' conftest.er1 >conftest.err
13788 rm -f conftest.er1
13789 cat conftest.err >&5
13790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13791 (exit $ac_status); } >/dev/null; then
13792 if test -s conftest.err; then
13793 ac_cpp_err=$ac_c_preproc_warn_flag
13794 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13795 else
13796 ac_cpp_err=
13797 fi
13798 else
13799 ac_cpp_err=yes
13800 fi
13801 if test -z "$ac_cpp_err"; then
13802 :
13803 else
13804 echo "$as_me: failed program was:" >&5
13805 sed 's/^/| /' conftest.$ac_ext >&5
13806
13807 # Broken: fails on valid input.
13808 continue
13809 fi
13810 rm -f conftest.err conftest.$ac_ext
13811
13812 # OK, works on sane cases. Now check whether non-existent headers
13813 # can be detected and how.
13814 cat >conftest.$ac_ext <<_ACEOF
13815 /* confdefs.h. */
13816 _ACEOF
13817 cat confdefs.h >>conftest.$ac_ext
13818 cat >>conftest.$ac_ext <<_ACEOF
13819 /* end confdefs.h. */
13820 #include <ac_nonexistent.h>
13821 _ACEOF
13822 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13823 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13824 ac_status=$?
13825 grep -v '^ *+' conftest.er1 >conftest.err
13826 rm -f conftest.er1
13827 cat conftest.err >&5
13828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13829 (exit $ac_status); } >/dev/null; then
13830 if test -s conftest.err; then
13831 ac_cpp_err=$ac_c_preproc_warn_flag
13832 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13833 else
13834 ac_cpp_err=
13835 fi
13836 else
13837 ac_cpp_err=yes
13838 fi
13839 if test -z "$ac_cpp_err"; then
13840 # Broken: success on invalid input.
13841 continue
13842 else
13843 echo "$as_me: failed program was:" >&5
13844 sed 's/^/| /' conftest.$ac_ext >&5
13845
13846 # Passes both tests.
13847 ac_preproc_ok=:
13848 break
13849 fi
13850 rm -f conftest.err conftest.$ac_ext
13851
13852 done
13853 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13854 rm -f conftest.err conftest.$ac_ext
13855 if $ac_preproc_ok; then
13856 :
13857 else
13858 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13859 See \`config.log' for more details." >&5
13860 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13861 See \`config.log' for more details." >&2;}
13862 { (exit 1); exit 1; }; }
13863 fi
13864
13865 ac_ext=c
13866 ac_cpp='$CPP $CPPFLAGS'
13867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13870
13871
13872 echo "$as_me:$LINENO: checking for egrep" >&5
13873 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13874 if test "${ac_cv_prog_egrep+set}" = set; then
13875 echo $ECHO_N "(cached) $ECHO_C" >&6
13876 else
13877 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13878 then ac_cv_prog_egrep='grep -E'
13879 else ac_cv_prog_egrep='egrep'
13880 fi
13881 fi
13882 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13883 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13884 EGREP=$ac_cv_prog_egrep
13885
13886
13887 if test $ac_cv_c_compiler_gnu = yes; then
13888 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13889 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13890 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13891 echo $ECHO_N "(cached) $ECHO_C" >&6
13892 else
13893 ac_pattern="Autoconf.*'x'"
13894 cat >conftest.$ac_ext <<_ACEOF
13895 /* confdefs.h. */
13896 _ACEOF
13897 cat confdefs.h >>conftest.$ac_ext
13898 cat >>conftest.$ac_ext <<_ACEOF
13899 /* end confdefs.h. */
13900 #include <sgtty.h>
13901 Autoconf TIOCGETP
13902 _ACEOF
13903 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13904 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13905 ac_cv_prog_gcc_traditional=yes
13906 else
13907 ac_cv_prog_gcc_traditional=no
13908 fi
13909 rm -f conftest*
13910
13911
13912 if test $ac_cv_prog_gcc_traditional = no; then
13913 cat >conftest.$ac_ext <<_ACEOF
13914 /* confdefs.h. */
13915 _ACEOF
13916 cat confdefs.h >>conftest.$ac_ext
13917 cat >>conftest.$ac_ext <<_ACEOF
13918 /* end confdefs.h. */
13919 #include <termio.h>
13920 Autoconf TCGETA
13921 _ACEOF
13922 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13923 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13924 ac_cv_prog_gcc_traditional=yes
13925 fi
13926 rm -f conftest*
13927
13928 fi
13929 fi
13930 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13931 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13932 if test $ac_cv_prog_gcc_traditional = yes; then
13933 CC="$CC -traditional"
13934 fi
13935 fi
13936
13937
13938 ac_ext=cc
13939 ac_cpp='$CXXCPP $CPPFLAGS'
13940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13943
13944
13945 CXXFLAGS=${CXXFLAGS:=}
13946
13947
13948
13949 ac_ext=cc
13950 ac_cpp='$CXXCPP $CPPFLAGS'
13951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13954 if test -n "$ac_tool_prefix"; then
13955 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13956 do
13957 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13958 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13959 echo "$as_me:$LINENO: checking for $ac_word" >&5
13960 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13961 if test "${ac_cv_prog_CXX+set}" = set; then
13962 echo $ECHO_N "(cached) $ECHO_C" >&6
13963 else
13964 if test -n "$CXX"; then
13965 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13966 else
13967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13968 for as_dir in $PATH
13969 do
13970 IFS=$as_save_IFS
13971 test -z "$as_dir" && as_dir=.
13972 for ac_exec_ext in '' $ac_executable_extensions; do
13973 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13974 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13975 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13976 break 2
13977 fi
13978 done
13979 done
13980
13981 fi
13982 fi
13983 CXX=$ac_cv_prog_CXX
13984 if test -n "$CXX"; then
13985 echo "$as_me:$LINENO: result: $CXX" >&5
13986 echo "${ECHO_T}$CXX" >&6
13987 else
13988 echo "$as_me:$LINENO: result: no" >&5
13989 echo "${ECHO_T}no" >&6
13990 fi
13991
13992 test -n "$CXX" && break
13993 done
13994 fi
13995 if test -z "$CXX"; then
13996 ac_ct_CXX=$CXX
13997 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13998 do
13999 # Extract the first word of "$ac_prog", so it can be a program name with args.
14000 set dummy $ac_prog; ac_word=$2
14001 echo "$as_me:$LINENO: checking for $ac_word" >&5
14002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14003 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
14004 echo $ECHO_N "(cached) $ECHO_C" >&6
14005 else
14006 if test -n "$ac_ct_CXX"; then
14007 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
14008 else
14009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14010 for as_dir in $PATH
14011 do
14012 IFS=$as_save_IFS
14013 test -z "$as_dir" && as_dir=.
14014 for ac_exec_ext in '' $ac_executable_extensions; do
14015 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14016 ac_cv_prog_ac_ct_CXX="$ac_prog"
14017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14018 break 2
14019 fi
14020 done
14021 done
14022
14023 fi
14024 fi
14025 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
14026 if test -n "$ac_ct_CXX"; then
14027 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
14028 echo "${ECHO_T}$ac_ct_CXX" >&6
14029 else
14030 echo "$as_me:$LINENO: result: no" >&5
14031 echo "${ECHO_T}no" >&6
14032 fi
14033
14034 test -n "$ac_ct_CXX" && break
14035 done
14036 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
14037
14038 CXX=$ac_ct_CXX
14039 fi
14040
14041
14042 # Provide some information about the compiler.
14043 echo "$as_me:$LINENO:" \
14044 "checking for C++ compiler version" >&5
14045 ac_compiler=`set X $ac_compile; echo $2`
14046 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
14047 (eval $ac_compiler --version </dev/null >&5) 2>&5
14048 ac_status=$?
14049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14050 (exit $ac_status); }
14051 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
14052 (eval $ac_compiler -v </dev/null >&5) 2>&5
14053 ac_status=$?
14054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14055 (exit $ac_status); }
14056 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
14057 (eval $ac_compiler -V </dev/null >&5) 2>&5
14058 ac_status=$?
14059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14060 (exit $ac_status); }
14061
14062 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
14063 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
14064 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
14065 echo $ECHO_N "(cached) $ECHO_C" >&6
14066 else
14067 cat >conftest.$ac_ext <<_ACEOF
14068 /* confdefs.h. */
14069 _ACEOF
14070 cat confdefs.h >>conftest.$ac_ext
14071 cat >>conftest.$ac_ext <<_ACEOF
14072 /* end confdefs.h. */
14073
14074 int
14075 main ()
14076 {
14077 #ifndef __GNUC__
14078 choke me
14079 #endif
14080
14081 ;
14082 return 0;
14083 }
14084 _ACEOF
14085 rm -f conftest.$ac_objext
14086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14087 (eval $ac_compile) 2>conftest.er1
14088 ac_status=$?
14089 grep -v '^ *+' conftest.er1 >conftest.err
14090 rm -f conftest.er1
14091 cat conftest.err >&5
14092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14093 (exit $ac_status); } &&
14094 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14096 (eval $ac_try) 2>&5
14097 ac_status=$?
14098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14099 (exit $ac_status); }; } &&
14100 { ac_try='test -s conftest.$ac_objext'
14101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14102 (eval $ac_try) 2>&5
14103 ac_status=$?
14104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14105 (exit $ac_status); }; }; then
14106 ac_compiler_gnu=yes
14107 else
14108 echo "$as_me: failed program was:" >&5
14109 sed 's/^/| /' conftest.$ac_ext >&5
14110
14111 ac_compiler_gnu=no
14112 fi
14113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14114 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14115
14116 fi
14117 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
14118 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
14119 GXX=`test $ac_compiler_gnu = yes && echo yes`
14120 ac_test_CXXFLAGS=${CXXFLAGS+set}
14121 ac_save_CXXFLAGS=$CXXFLAGS
14122 CXXFLAGS="-g"
14123 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
14124 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
14125 if test "${ac_cv_prog_cxx_g+set}" = set; then
14126 echo $ECHO_N "(cached) $ECHO_C" >&6
14127 else
14128 cat >conftest.$ac_ext <<_ACEOF
14129 /* confdefs.h. */
14130 _ACEOF
14131 cat confdefs.h >>conftest.$ac_ext
14132 cat >>conftest.$ac_ext <<_ACEOF
14133 /* end confdefs.h. */
14134
14135 int
14136 main ()
14137 {
14138
14139 ;
14140 return 0;
14141 }
14142 _ACEOF
14143 rm -f conftest.$ac_objext
14144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14145 (eval $ac_compile) 2>conftest.er1
14146 ac_status=$?
14147 grep -v '^ *+' conftest.er1 >conftest.err
14148 rm -f conftest.er1
14149 cat conftest.err >&5
14150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14151 (exit $ac_status); } &&
14152 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14154 (eval $ac_try) 2>&5
14155 ac_status=$?
14156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14157 (exit $ac_status); }; } &&
14158 { ac_try='test -s conftest.$ac_objext'
14159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14160 (eval $ac_try) 2>&5
14161 ac_status=$?
14162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14163 (exit $ac_status); }; }; then
14164 ac_cv_prog_cxx_g=yes
14165 else
14166 echo "$as_me: failed program was:" >&5
14167 sed 's/^/| /' conftest.$ac_ext >&5
14168
14169 ac_cv_prog_cxx_g=no
14170 fi
14171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14172 fi
14173 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14174 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14175 if test "$ac_test_CXXFLAGS" = set; then
14176 CXXFLAGS=$ac_save_CXXFLAGS
14177 elif test $ac_cv_prog_cxx_g = yes; then
14178 if test "$GXX" = yes; then
14179 CXXFLAGS="-g -O2"
14180 else
14181 CXXFLAGS="-g"
14182 fi
14183 else
14184 if test "$GXX" = yes; then
14185 CXXFLAGS="-O2"
14186 else
14187 CXXFLAGS=
14188 fi
14189 fi
14190 for ac_declaration in \
14191 '' \
14192 'extern "C" void std::exit (int) throw (); using std::exit;' \
14193 'extern "C" void std::exit (int); using std::exit;' \
14194 'extern "C" void exit (int) throw ();' \
14195 'extern "C" void exit (int);' \
14196 'void exit (int);'
14197 do
14198 cat >conftest.$ac_ext <<_ACEOF
14199 /* confdefs.h. */
14200 _ACEOF
14201 cat confdefs.h >>conftest.$ac_ext
14202 cat >>conftest.$ac_ext <<_ACEOF
14203 /* end confdefs.h. */
14204 $ac_declaration
14205 #include <stdlib.h>
14206 int
14207 main ()
14208 {
14209 exit (42);
14210 ;
14211 return 0;
14212 }
14213 _ACEOF
14214 rm -f conftest.$ac_objext
14215 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14216 (eval $ac_compile) 2>conftest.er1
14217 ac_status=$?
14218 grep -v '^ *+' conftest.er1 >conftest.err
14219 rm -f conftest.er1
14220 cat conftest.err >&5
14221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14222 (exit $ac_status); } &&
14223 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14225 (eval $ac_try) 2>&5
14226 ac_status=$?
14227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14228 (exit $ac_status); }; } &&
14229 { ac_try='test -s conftest.$ac_objext'
14230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14231 (eval $ac_try) 2>&5
14232 ac_status=$?
14233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14234 (exit $ac_status); }; }; then
14235 :
14236 else
14237 echo "$as_me: failed program was:" >&5
14238 sed 's/^/| /' conftest.$ac_ext >&5
14239
14240 continue
14241 fi
14242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14243 cat >conftest.$ac_ext <<_ACEOF
14244 /* confdefs.h. */
14245 _ACEOF
14246 cat confdefs.h >>conftest.$ac_ext
14247 cat >>conftest.$ac_ext <<_ACEOF
14248 /* end confdefs.h. */
14249 $ac_declaration
14250 int
14251 main ()
14252 {
14253 exit (42);
14254 ;
14255 return 0;
14256 }
14257 _ACEOF
14258 rm -f conftest.$ac_objext
14259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14260 (eval $ac_compile) 2>conftest.er1
14261 ac_status=$?
14262 grep -v '^ *+' conftest.er1 >conftest.err
14263 rm -f conftest.er1
14264 cat conftest.err >&5
14265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14266 (exit $ac_status); } &&
14267 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14269 (eval $ac_try) 2>&5
14270 ac_status=$?
14271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14272 (exit $ac_status); }; } &&
14273 { ac_try='test -s conftest.$ac_objext'
14274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14275 (eval $ac_try) 2>&5
14276 ac_status=$?
14277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14278 (exit $ac_status); }; }; then
14279 break
14280 else
14281 echo "$as_me: failed program was:" >&5
14282 sed 's/^/| /' conftest.$ac_ext >&5
14283
14284 fi
14285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14286 done
14287 rm -f conftest*
14288 if test -n "$ac_declaration"; then
14289 echo '#ifdef __cplusplus' >>confdefs.h
14290 echo $ac_declaration >>confdefs.h
14291 echo '#endif' >>confdefs.h
14292 fi
14293
14294 ac_ext=cc
14295 ac_cpp='$CXXCPP $CPPFLAGS'
14296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14299
14300
14301
14302 ac_ext=cc
14303 ac_cpp='$CXXCPP $CPPFLAGS'
14304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14307
14308 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14309 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14310 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14311 echo $ECHO_N "(cached) $ECHO_C" >&6
14312 else
14313 cat >conftest.$ac_ext <<_ACEOF
14314 /* confdefs.h. */
14315 _ACEOF
14316 cat confdefs.h >>conftest.$ac_ext
14317 cat >>conftest.$ac_ext <<_ACEOF
14318 /* end confdefs.h. */
14319
14320 int
14321 main ()
14322 {
14323
14324 #ifndef __INTEL_COMPILER
14325 choke me
14326 #endif
14327
14328 ;
14329 return 0;
14330 }
14331 _ACEOF
14332 rm -f conftest.$ac_objext
14333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14334 (eval $ac_compile) 2>conftest.er1
14335 ac_status=$?
14336 grep -v '^ *+' conftest.er1 >conftest.err
14337 rm -f conftest.er1
14338 cat conftest.err >&5
14339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14340 (exit $ac_status); } &&
14341 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14343 (eval $ac_try) 2>&5
14344 ac_status=$?
14345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14346 (exit $ac_status); }; } &&
14347 { ac_try='test -s conftest.$ac_objext'
14348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14349 (eval $ac_try) 2>&5
14350 ac_status=$?
14351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14352 (exit $ac_status); }; }; then
14353 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
14354 else
14355 echo "$as_me: failed program was:" >&5
14356 sed 's/^/| /' conftest.$ac_ext >&5
14357
14358 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
14359
14360 fi
14361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14362
14363
14364 fi
14365 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14366 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14367 ac_ext=cc
14368 ac_cpp='$CXXCPP $CPPFLAGS'
14369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14372
14373 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14374 :; INTELCXX=yes
14375 else
14376 :;
14377 fi
14378
14379
14380 if test "x$GCXX" != "xyes"; then
14381 if test "xCXX" = "xC"; then
14382 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14383 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14384 if test "${bakefile_cv_cxx_exto+set}" = set; then
14385 echo $ECHO_N "(cached) $ECHO_C" >&6
14386 else
14387 cat >conftest.$ac_ext <<_ACEOF
14388 /* confdefs.h. */
14389 _ACEOF
14390 cat confdefs.h >>conftest.$ac_ext
14391 cat >>conftest.$ac_ext <<_ACEOF
14392 /* end confdefs.h. */
14393
14394 int
14395 main ()
14396 {
14397
14398 ;
14399 return 0;
14400 }
14401 _ACEOF
14402 rm -f conftest.$ac_objext conftest.$ac_ext.o
14403 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14404 (eval $ac_compile) 2>&5
14405 ac_status=$?
14406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14407 (exit $ac_status); }; then
14408 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14409 case $ac_file in
14410 conftest.$ac_ext.o)
14411 bakefile_cv_cxx_exto="-ext o"
14412 ;;
14413 *)
14414 ;;
14415 esac
14416 done
14417 else
14418 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14419 See \`config.log' for more details." >&5
14420 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14421 See \`config.log' for more details." >&2;}
14422 { (exit 1); exit 1; }; }
14423
14424 fi
14425
14426 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14427
14428 fi
14429 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14430 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14431 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14432 if test "cxx" = "c"; then
14433 CFLAGS="$bakefile_cv_cxx_exto $CFLAGS"
14434 fi
14435 if test "cxx" = "cxx"; then
14436 CXXFLAGS="$bakefile_cv_cxx_exto $CXXFLAGS"
14437 fi
14438 fi
14439
14440 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14441 unset ac_cv_prog_cc_g
14442 ac_test_CFLAGS=${CFLAGS+set}
14443 ac_save_CFLAGS=$CFLAGS
14444 CFLAGS="-g"
14445 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14446 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14447 if test "${ac_cv_prog_cc_g+set}" = set; then
14448 echo $ECHO_N "(cached) $ECHO_C" >&6
14449 else
14450 cat >conftest.$ac_ext <<_ACEOF
14451 /* confdefs.h. */
14452 _ACEOF
14453 cat confdefs.h >>conftest.$ac_ext
14454 cat >>conftest.$ac_ext <<_ACEOF
14455 /* end confdefs.h. */
14456
14457 int
14458 main ()
14459 {
14460
14461 ;
14462 return 0;
14463 }
14464 _ACEOF
14465 rm -f conftest.$ac_objext
14466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14467 (eval $ac_compile) 2>conftest.er1
14468 ac_status=$?
14469 grep -v '^ *+' conftest.er1 >conftest.err
14470 rm -f conftest.er1
14471 cat conftest.err >&5
14472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14473 (exit $ac_status); } &&
14474 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14476 (eval $ac_try) 2>&5
14477 ac_status=$?
14478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14479 (exit $ac_status); }; } &&
14480 { ac_try='test -s conftest.$ac_objext'
14481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14482 (eval $ac_try) 2>&5
14483 ac_status=$?
14484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14485 (exit $ac_status); }; }; then
14486 ac_cv_prog_cc_g=yes
14487 else
14488 echo "$as_me: failed program was:" >&5
14489 sed 's/^/| /' conftest.$ac_ext >&5
14490
14491 ac_cv_prog_cc_g=no
14492 fi
14493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14494 fi
14495 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14496 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14497 if test "$ac_test_CFLAGS" = set; then
14498 CFLAGS=$ac_save_CFLAGS
14499 elif test $ac_cv_prog_cc_g = yes; then
14500 if test "$GCC" = yes; then
14501 CFLAGS="-g -O2"
14502 else
14503 CFLAGS="-g"
14504 fi
14505 else
14506 if test "$GCC" = yes; then
14507 CFLAGS="-O2"
14508 else
14509 CFLAGS=
14510 fi
14511 fi
14512 fi
14513 fi
14514
14515 case `uname -s` in
14516 AIX*)
14517 ac_ext=cc
14518 ac_cpp='$CXXCPP $CPPFLAGS'
14519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14522
14523 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14524 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14525 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14526 echo $ECHO_N "(cached) $ECHO_C" >&6
14527 else
14528 cat >conftest.$ac_ext <<_ACEOF
14529 /* confdefs.h. */
14530 _ACEOF
14531 cat confdefs.h >>conftest.$ac_ext
14532 cat >>conftest.$ac_ext <<_ACEOF
14533 /* end confdefs.h. */
14534
14535 int
14536 main ()
14537 {
14538 #ifndef __xlC__
14539 choke me
14540 #endif
14541
14542 ;
14543 return 0;
14544 }
14545 _ACEOF
14546 rm -f conftest.$ac_objext
14547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14548 (eval $ac_compile) 2>conftest.er1
14549 ac_status=$?
14550 grep -v '^ *+' conftest.er1 >conftest.err
14551 rm -f conftest.er1
14552 cat conftest.err >&5
14553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14554 (exit $ac_status); } &&
14555 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14557 (eval $ac_try) 2>&5
14558 ac_status=$?
14559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14560 (exit $ac_status); }; } &&
14561 { ac_try='test -s conftest.$ac_objext'
14562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14563 (eval $ac_try) 2>&5
14564 ac_status=$?
14565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14566 (exit $ac_status); }; }; then
14567 bakefile_compiler_xlc=yes
14568 else
14569 echo "$as_me: failed program was:" >&5
14570 sed 's/^/| /' conftest.$ac_ext >&5
14571
14572 bakefile_compiler_xlc=no
14573 fi
14574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14575 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14576
14577 fi
14578 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14579 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14580
14581 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14582 ac_ext=cc
14583 ac_cpp='$CXXCPP $CPPFLAGS'
14584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14587
14588
14589 ;;
14590
14591 Darwin)
14592 ac_ext=cc
14593 ac_cpp='$CXXCPP $CPPFLAGS'
14594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14597
14598 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14599 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14600 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14601 echo $ECHO_N "(cached) $ECHO_C" >&6
14602 else
14603 cat >conftest.$ac_ext <<_ACEOF
14604 /* confdefs.h. */
14605 _ACEOF
14606 cat confdefs.h >>conftest.$ac_ext
14607 cat >>conftest.$ac_ext <<_ACEOF
14608 /* end confdefs.h. */
14609
14610 int
14611 main ()
14612 {
14613 #ifndef __MWERKS__
14614 choke me
14615 #endif
14616
14617 ;
14618 return 0;
14619 }
14620 _ACEOF
14621 rm -f conftest.$ac_objext
14622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14623 (eval $ac_compile) 2>conftest.er1
14624 ac_status=$?
14625 grep -v '^ *+' conftest.er1 >conftest.err
14626 rm -f conftest.er1
14627 cat conftest.err >&5
14628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14629 (exit $ac_status); } &&
14630 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14632 (eval $ac_try) 2>&5
14633 ac_status=$?
14634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14635 (exit $ac_status); }; } &&
14636 { ac_try='test -s conftest.$ac_objext'
14637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14638 (eval $ac_try) 2>&5
14639 ac_status=$?
14640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14641 (exit $ac_status); }; }; then
14642 bakefile_compiler_mwerks=yes
14643 else
14644 echo "$as_me: failed program was:" >&5
14645 sed 's/^/| /' conftest.$ac_ext >&5
14646
14647 bakefile_compiler_mwerks=no
14648 fi
14649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14650 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
14651
14652 fi
14653 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14654 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14655
14656 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14657 ac_ext=cc
14658 ac_cpp='$CXXCPP $CPPFLAGS'
14659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14662
14663
14664 ac_ext=cc
14665 ac_cpp='$CXXCPP $CPPFLAGS'
14666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14669
14670 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14671 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14672 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14673 echo $ECHO_N "(cached) $ECHO_C" >&6
14674 else
14675 cat >conftest.$ac_ext <<_ACEOF
14676 /* confdefs.h. */
14677 _ACEOF
14678 cat confdefs.h >>conftest.$ac_ext
14679 cat >>conftest.$ac_ext <<_ACEOF
14680 /* end confdefs.h. */
14681
14682 int
14683 main ()
14684 {
14685 #ifndef __xlC__
14686 choke me
14687 #endif
14688
14689 ;
14690 return 0;
14691 }
14692 _ACEOF
14693 rm -f conftest.$ac_objext
14694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14695 (eval $ac_compile) 2>conftest.er1
14696 ac_status=$?
14697 grep -v '^ *+' conftest.er1 >conftest.err
14698 rm -f conftest.er1
14699 cat conftest.err >&5
14700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14701 (exit $ac_status); } &&
14702 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14704 (eval $ac_try) 2>&5
14705 ac_status=$?
14706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14707 (exit $ac_status); }; } &&
14708 { ac_try='test -s conftest.$ac_objext'
14709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14710 (eval $ac_try) 2>&5
14711 ac_status=$?
14712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14713 (exit $ac_status); }; }; then
14714 bakefile_compiler_xlc=yes
14715 else
14716 echo "$as_me: failed program was:" >&5
14717 sed 's/^/| /' conftest.$ac_ext >&5
14718
14719 bakefile_compiler_xlc=no
14720 fi
14721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14722 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14723
14724 fi
14725 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14726 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14727
14728 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14729 ac_ext=cc
14730 ac_cpp='$CXXCPP $CPPFLAGS'
14731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14734
14735
14736 ;;
14737
14738 IRIX*)
14739
14740
14741 ac_ext=cc
14742 ac_cpp='$CXXCPP $CPPFLAGS'
14743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14746
14747 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14748 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14749 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14750 echo $ECHO_N "(cached) $ECHO_C" >&6
14751 else
14752 cat >conftest.$ac_ext <<_ACEOF
14753 /* confdefs.h. */
14754 _ACEOF
14755 cat confdefs.h >>conftest.$ac_ext
14756 cat >>conftest.$ac_ext <<_ACEOF
14757 /* end confdefs.h. */
14758
14759 int
14760 main ()
14761 {
14762
14763 #ifndef _SGI_COMPILER_VERSION
14764 choke me
14765 #endif
14766
14767 ;
14768 return 0;
14769 }
14770 _ACEOF
14771 rm -f conftest.$ac_objext
14772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14773 (eval $ac_compile) 2>conftest.er1
14774 ac_status=$?
14775 grep -v '^ *+' conftest.er1 >conftest.err
14776 rm -f conftest.er1
14777 cat conftest.err >&5
14778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14779 (exit $ac_status); } &&
14780 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14782 (eval $ac_try) 2>&5
14783 ac_status=$?
14784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14785 (exit $ac_status); }; } &&
14786 { ac_try='test -s conftest.$ac_objext'
14787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14788 (eval $ac_try) 2>&5
14789 ac_status=$?
14790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14791 (exit $ac_status); }; }; then
14792 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
14793 else
14794 echo "$as_me: failed program was:" >&5
14795 sed 's/^/| /' conftest.$ac_ext >&5
14796
14797 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
14798
14799 fi
14800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14801
14802
14803 fi
14804 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14805 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14806 ac_ext=cc
14807 ac_cpp='$CXXCPP $CPPFLAGS'
14808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14811
14812 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14813 :; SGICXX=yes
14814 else
14815 :;
14816 fi
14817
14818
14819 ;;
14820
14821 HP-UX*)
14822
14823
14824 ac_ext=cc
14825 ac_cpp='$CXXCPP $CPPFLAGS'
14826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14829
14830 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14831 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14832 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14833 echo $ECHO_N "(cached) $ECHO_C" >&6
14834 else
14835 cat >conftest.$ac_ext <<_ACEOF
14836 /* confdefs.h. */
14837 _ACEOF
14838 cat confdefs.h >>conftest.$ac_ext
14839 cat >>conftest.$ac_ext <<_ACEOF
14840 /* end confdefs.h. */
14841
14842 int
14843 main ()
14844 {
14845
14846 #ifndef __HP_aCC
14847 choke me
14848 #endif
14849
14850 ;
14851 return 0;
14852 }
14853 _ACEOF
14854 rm -f conftest.$ac_objext
14855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14856 (eval $ac_compile) 2>conftest.er1
14857 ac_status=$?
14858 grep -v '^ *+' conftest.er1 >conftest.err
14859 rm -f conftest.er1
14860 cat conftest.err >&5
14861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14862 (exit $ac_status); } &&
14863 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14865 (eval $ac_try) 2>&5
14866 ac_status=$?
14867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14868 (exit $ac_status); }; } &&
14869 { ac_try='test -s conftest.$ac_objext'
14870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14871 (eval $ac_try) 2>&5
14872 ac_status=$?
14873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14874 (exit $ac_status); }; }; then
14875 bakefile_cv_cxx_compiler___HP_aCC=yes
14876 else
14877 echo "$as_me: failed program was:" >&5
14878 sed 's/^/| /' conftest.$ac_ext >&5
14879
14880 bakefile_cv_cxx_compiler___HP_aCC=no
14881
14882 fi
14883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14884
14885
14886 fi
14887 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14888 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14889 ac_ext=cc
14890 ac_cpp='$CXXCPP $CPPFLAGS'
14891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14894
14895 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14896 :; HPCXX=yes
14897 else
14898 :;
14899 fi
14900
14901
14902 ;;
14903
14904 OSF1)
14905
14906
14907 ac_ext=cc
14908 ac_cpp='$CXXCPP $CPPFLAGS'
14909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14912
14913 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14914 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14915 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14916 echo $ECHO_N "(cached) $ECHO_C" >&6
14917 else
14918 cat >conftest.$ac_ext <<_ACEOF
14919 /* confdefs.h. */
14920 _ACEOF
14921 cat confdefs.h >>conftest.$ac_ext
14922 cat >>conftest.$ac_ext <<_ACEOF
14923 /* end confdefs.h. */
14924
14925 int
14926 main ()
14927 {
14928
14929 #ifndef __DECCXX
14930 choke me
14931 #endif
14932
14933 ;
14934 return 0;
14935 }
14936 _ACEOF
14937 rm -f conftest.$ac_objext
14938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14939 (eval $ac_compile) 2>conftest.er1
14940 ac_status=$?
14941 grep -v '^ *+' conftest.er1 >conftest.err
14942 rm -f conftest.er1
14943 cat conftest.err >&5
14944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14945 (exit $ac_status); } &&
14946 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14948 (eval $ac_try) 2>&5
14949 ac_status=$?
14950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14951 (exit $ac_status); }; } &&
14952 { ac_try='test -s conftest.$ac_objext'
14953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14954 (eval $ac_try) 2>&5
14955 ac_status=$?
14956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14957 (exit $ac_status); }; }; then
14958 bakefile_cv_cxx_compiler___DECCXX=yes
14959 else
14960 echo "$as_me: failed program was:" >&5
14961 sed 's/^/| /' conftest.$ac_ext >&5
14962
14963 bakefile_cv_cxx_compiler___DECCXX=no
14964
14965 fi
14966 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14967
14968
14969 fi
14970 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14971 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14972 ac_ext=cc
14973 ac_cpp='$CXXCPP $CPPFLAGS'
14974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14977
14978 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14979 :; COMPAQCXX=yes
14980 else
14981 :;
14982 fi
14983
14984
14985 ;;
14986
14987 SunOS)
14988
14989
14990 ac_ext=cc
14991 ac_cpp='$CXXCPP $CPPFLAGS'
14992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14995
14996 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14997 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14998 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14999 echo $ECHO_N "(cached) $ECHO_C" >&6
15000 else
15001 cat >conftest.$ac_ext <<_ACEOF
15002 /* confdefs.h. */
15003 _ACEOF
15004 cat confdefs.h >>conftest.$ac_ext
15005 cat >>conftest.$ac_ext <<_ACEOF
15006 /* end confdefs.h. */
15007
15008 int
15009 main ()
15010 {
15011
15012 #ifndef __SUNPRO_CC
15013 choke me
15014 #endif
15015
15016 ;
15017 return 0;
15018 }
15019 _ACEOF
15020 rm -f conftest.$ac_objext
15021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15022 (eval $ac_compile) 2>conftest.er1
15023 ac_status=$?
15024 grep -v '^ *+' conftest.er1 >conftest.err
15025 rm -f conftest.er1
15026 cat conftest.err >&5
15027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15028 (exit $ac_status); } &&
15029 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15031 (eval $ac_try) 2>&5
15032 ac_status=$?
15033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15034 (exit $ac_status); }; } &&
15035 { ac_try='test -s conftest.$ac_objext'
15036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15037 (eval $ac_try) 2>&5
15038 ac_status=$?
15039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15040 (exit $ac_status); }; }; then
15041 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
15042 else
15043 echo "$as_me: failed program was:" >&5
15044 sed 's/^/| /' conftest.$ac_ext >&5
15045
15046 bakefile_cv_cxx_compiler___SUNPRO_CC=no
15047
15048 fi
15049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15050
15051
15052 fi
15053 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
15054 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
15055 ac_ext=cc
15056 ac_cpp='$CXXCPP $CPPFLAGS'
15057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15060
15061 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
15062 :; SUNCXX=yes
15063 else
15064 :;
15065 fi
15066
15067
15068 ;;
15069 esac
15070 fi
15071
15072
15073
15074 if test -n "$ac_tool_prefix"; then
15075 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15076 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
15077 echo "$as_me:$LINENO: checking for $ac_word" >&5
15078 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15079 if test "${ac_cv_prog_RANLIB+set}" = set; then
15080 echo $ECHO_N "(cached) $ECHO_C" >&6
15081 else
15082 if test -n "$RANLIB"; then
15083 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
15084 else
15085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15086 for as_dir in $PATH
15087 do
15088 IFS=$as_save_IFS
15089 test -z "$as_dir" && as_dir=.
15090 for ac_exec_ext in '' $ac_executable_extensions; do
15091 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15092 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
15093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15094 break 2
15095 fi
15096 done
15097 done
15098
15099 fi
15100 fi
15101 RANLIB=$ac_cv_prog_RANLIB
15102 if test -n "$RANLIB"; then
15103 echo "$as_me:$LINENO: result: $RANLIB" >&5
15104 echo "${ECHO_T}$RANLIB" >&6
15105 else
15106 echo "$as_me:$LINENO: result: no" >&5
15107 echo "${ECHO_T}no" >&6
15108 fi
15109
15110 fi
15111 if test -z "$ac_cv_prog_RANLIB"; then
15112 ac_ct_RANLIB=$RANLIB
15113 # Extract the first word of "ranlib", so it can be a program name with args.
15114 set dummy ranlib; ac_word=$2
15115 echo "$as_me:$LINENO: checking for $ac_word" >&5
15116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15117 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15118 echo $ECHO_N "(cached) $ECHO_C" >&6
15119 else
15120 if test -n "$ac_ct_RANLIB"; then
15121 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
15122 else
15123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15124 for as_dir in $PATH
15125 do
15126 IFS=$as_save_IFS
15127 test -z "$as_dir" && as_dir=.
15128 for ac_exec_ext in '' $ac_executable_extensions; do
15129 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15130 ac_cv_prog_ac_ct_RANLIB="ranlib"
15131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15132 break 2
15133 fi
15134 done
15135 done
15136
15137 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
15138 fi
15139 fi
15140 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
15141 if test -n "$ac_ct_RANLIB"; then
15142 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15143 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15144 else
15145 echo "$as_me:$LINENO: result: no" >&5
15146 echo "${ECHO_T}no" >&6
15147 fi
15148
15149 RANLIB=$ac_ct_RANLIB
15150 else
15151 RANLIB="$ac_cv_prog_RANLIB"
15152 fi
15153
15154
15155 if test -n "$ac_tool_prefix"; then
15156 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15157 set dummy ${ac_tool_prefix}ar; ac_word=$2
15158 echo "$as_me:$LINENO: checking for $ac_word" >&5
15159 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15160 if test "${ac_cv_prog_AR+set}" = set; then
15161 echo $ECHO_N "(cached) $ECHO_C" >&6
15162 else
15163 if test -n "$AR"; then
15164 ac_cv_prog_AR="$AR" # Let the user override the test.
15165 else
15166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15167 for as_dir in $PATH
15168 do
15169 IFS=$as_save_IFS
15170 test -z "$as_dir" && as_dir=.
15171 for ac_exec_ext in '' $ac_executable_extensions; do
15172 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15173 ac_cv_prog_AR="${ac_tool_prefix}ar"
15174 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15175 break 2
15176 fi
15177 done
15178 done
15179
15180 fi
15181 fi
15182 AR=$ac_cv_prog_AR
15183 if test -n "$AR"; then
15184 echo "$as_me:$LINENO: result: $AR" >&5
15185 echo "${ECHO_T}$AR" >&6
15186 else
15187 echo "$as_me:$LINENO: result: no" >&5
15188 echo "${ECHO_T}no" >&6
15189 fi
15190
15191 fi
15192 if test -z "$ac_cv_prog_AR"; then
15193 ac_ct_AR=$AR
15194 # Extract the first word of "ar", so it can be a program name with args.
15195 set dummy ar; ac_word=$2
15196 echo "$as_me:$LINENO: checking for $ac_word" >&5
15197 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15198 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15199 echo $ECHO_N "(cached) $ECHO_C" >&6
15200 else
15201 if test -n "$ac_ct_AR"; then
15202 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
15203 else
15204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15205 for as_dir in $PATH
15206 do
15207 IFS=$as_save_IFS
15208 test -z "$as_dir" && as_dir=.
15209 for ac_exec_ext in '' $ac_executable_extensions; do
15210 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15211 ac_cv_prog_ac_ct_AR="ar"
15212 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15213 break 2
15214 fi
15215 done
15216 done
15217
15218 fi
15219 fi
15220 ac_ct_AR=$ac_cv_prog_ac_ct_AR
15221 if test -n "$ac_ct_AR"; then
15222 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15223 echo "${ECHO_T}$ac_ct_AR" >&6
15224 else
15225 echo "$as_me:$LINENO: result: no" >&5
15226 echo "${ECHO_T}no" >&6
15227 fi
15228
15229 AR=$ac_ct_AR
15230 else
15231 AR="$ac_cv_prog_AR"
15232 fi
15233
15234 if test "x$AR" = "x" ; then
15235 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15236 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15237 { (exit 1); exit 1; }; }
15238 fi
15239
15240 # Find a good install program. We prefer a C program (faster),
15241 # so one script is as good as another. But avoid the broken or
15242 # incompatible versions:
15243 # SysV /etc/install, /usr/sbin/install
15244 # SunOS /usr/etc/install
15245 # IRIX /sbin/install
15246 # AIX /bin/install
15247 # AmigaOS /C/install, which installs bootblocks on floppy discs
15248 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15249 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15250 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15251 # OS/2's system install, which has a completely different semantic
15252 # ./install, which can be erroneously created by make from ./install.sh.
15253 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15254 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15255 if test -z "$INSTALL"; then
15256 if test "${ac_cv_path_install+set}" = set; then
15257 echo $ECHO_N "(cached) $ECHO_C" >&6
15258 else
15259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15260 for as_dir in $PATH
15261 do
15262 IFS=$as_save_IFS
15263 test -z "$as_dir" && as_dir=.
15264 # Account for people who put trailing slashes in PATH elements.
15265 case $as_dir/ in
15266 ./ | .// | /cC/* | \
15267 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
15268 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
15269 /usr/ucb/* ) ;;
15270 *)
15271 # OSF1 and SCO ODT 3.0 have their own names for install.
15272 # Don't use installbsd from OSF since it installs stuff as root
15273 # by default.
15274 for ac_prog in ginstall scoinst install; do
15275 for ac_exec_ext in '' $ac_executable_extensions; do
15276 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15277 if test $ac_prog = install &&
15278 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15279 # AIX install. It has an incompatible calling convention.
15280 :
15281 elif test $ac_prog = install &&
15282 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15283 # program-specific install script used by HP pwplus--don't use.
15284 :
15285 else
15286 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
15287 break 3
15288 fi
15289 fi
15290 done
15291 done
15292 ;;
15293 esac
15294 done
15295
15296
15297 fi
15298 if test "${ac_cv_path_install+set}" = set; then
15299 INSTALL=$ac_cv_path_install
15300 else
15301 # As a last resort, use the slow shell script. We don't cache a
15302 # path for INSTALL within a source directory, because that will
15303 # break other packages using the cache if that directory is
15304 # removed, or if the path is relative.
15305 INSTALL=$ac_install_sh
15306 fi
15307 fi
15308 echo "$as_me:$LINENO: result: $INSTALL" >&5
15309 echo "${ECHO_T}$INSTALL" >&6
15310
15311 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15312 # It thinks the first close brace ends the variable substitution.
15313 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
15314
15315 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
15316
15317 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
15318
15319
15320 case ${INSTALL} in
15321 /* ) # Absolute
15322 ;;
15323 ?:* ) # Drive letter, considered as absolute.
15324 ;;
15325 *)
15326 INSTALL=`pwd`/${INSTALL} ;;
15327 esac
15328
15329
15330 case "${host}" in
15331
15332 *-*-darwin* )
15333 INSTALL_PROGRAM="cp -fp"
15334 INSTALL_DATA="cp -fp"
15335 ;;
15336 *)
15337 ;;
15338 esac
15339
15340 if test -n "$ac_tool_prefix"; then
15341 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15342 set dummy ${ac_tool_prefix}strip; ac_word=$2
15343 echo "$as_me:$LINENO: checking for $ac_word" >&5
15344 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15345 if test "${ac_cv_prog_STRIP+set}" = set; then
15346 echo $ECHO_N "(cached) $ECHO_C" >&6
15347 else
15348 if test -n "$STRIP"; then
15349 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
15350 else
15351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15352 for as_dir in $PATH
15353 do
15354 IFS=$as_save_IFS
15355 test -z "$as_dir" && as_dir=.
15356 for ac_exec_ext in '' $ac_executable_extensions; do
15357 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15358 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
15359 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15360 break 2
15361 fi
15362 done
15363 done
15364
15365 fi
15366 fi
15367 STRIP=$ac_cv_prog_STRIP
15368 if test -n "$STRIP"; then
15369 echo "$as_me:$LINENO: result: $STRIP" >&5
15370 echo "${ECHO_T}$STRIP" >&6
15371 else
15372 echo "$as_me:$LINENO: result: no" >&5
15373 echo "${ECHO_T}no" >&6
15374 fi
15375
15376 fi
15377 if test -z "$ac_cv_prog_STRIP"; then
15378 ac_ct_STRIP=$STRIP
15379 # Extract the first word of "strip", so it can be a program name with args.
15380 set dummy strip; ac_word=$2
15381 echo "$as_me:$LINENO: checking for $ac_word" >&5
15382 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15383 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15384 echo $ECHO_N "(cached) $ECHO_C" >&6
15385 else
15386 if test -n "$ac_ct_STRIP"; then
15387 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
15388 else
15389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15390 for as_dir in $PATH
15391 do
15392 IFS=$as_save_IFS
15393 test -z "$as_dir" && as_dir=.
15394 for ac_exec_ext in '' $ac_executable_extensions; do
15395 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15396 ac_cv_prog_ac_ct_STRIP="strip"
15397 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15398 break 2
15399 fi
15400 done
15401 done
15402
15403 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
15404 fi
15405 fi
15406 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
15407 if test -n "$ac_ct_STRIP"; then
15408 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15409 echo "${ECHO_T}$ac_ct_STRIP" >&6
15410 else
15411 echo "$as_me:$LINENO: result: no" >&5
15412 echo "${ECHO_T}no" >&6
15413 fi
15414
15415 STRIP=$ac_ct_STRIP
15416 else
15417 STRIP="$ac_cv_prog_STRIP"
15418 fi
15419
15420
15421 if test "$wxUSE_WINE" = "yes"; then
15422 if test -n "$ac_tool_prefix"; then
15423 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15424 set dummy ${ac_tool_prefix}wrc; ac_word=$2
15425 echo "$as_me:$LINENO: checking for $ac_word" >&5
15426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15427 if test "${ac_cv_prog_WINDRES+set}" = set; then
15428 echo $ECHO_N "(cached) $ECHO_C" >&6
15429 else
15430 if test -n "$WINDRES"; then
15431 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15432 else
15433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15434 for as_dir in $PATH
15435 do
15436 IFS=$as_save_IFS
15437 test -z "$as_dir" && as_dir=.
15438 for ac_exec_ext in '' $ac_executable_extensions; do
15439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15440 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
15441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15442 break 2
15443 fi
15444 done
15445 done
15446
15447 fi
15448 fi
15449 WINDRES=$ac_cv_prog_WINDRES
15450 if test -n "$WINDRES"; then
15451 echo "$as_me:$LINENO: result: $WINDRES" >&5
15452 echo "${ECHO_T}$WINDRES" >&6
15453 else
15454 echo "$as_me:$LINENO: result: no" >&5
15455 echo "${ECHO_T}no" >&6
15456 fi
15457
15458 fi
15459 if test -z "$ac_cv_prog_WINDRES"; then
15460 ac_ct_WINDRES=$WINDRES
15461 # Extract the first word of "wrc", so it can be a program name with args.
15462 set dummy wrc; ac_word=$2
15463 echo "$as_me:$LINENO: checking for $ac_word" >&5
15464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15465 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15466 echo $ECHO_N "(cached) $ECHO_C" >&6
15467 else
15468 if test -n "$ac_ct_WINDRES"; then
15469 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15470 else
15471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15472 for as_dir in $PATH
15473 do
15474 IFS=$as_save_IFS
15475 test -z "$as_dir" && as_dir=.
15476 for ac_exec_ext in '' $ac_executable_extensions; do
15477 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15478 ac_cv_prog_ac_ct_WINDRES="wrc"
15479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15480 break 2
15481 fi
15482 done
15483 done
15484
15485 fi
15486 fi
15487 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15488 if test -n "$ac_ct_WINDRES"; then
15489 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15490 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15491 else
15492 echo "$as_me:$LINENO: result: no" >&5
15493 echo "${ECHO_T}no" >&6
15494 fi
15495
15496 WINDRES=$ac_ct_WINDRES
15497 else
15498 WINDRES="$ac_cv_prog_WINDRES"
15499 fi
15500
15501 RESCOMP="$WINDRES"
15502 else
15503 case "${host}" in
15504 *-*-cygwin* | *-*-mingw32* )
15505 if test -n "$ac_tool_prefix"; then
15506 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15507 set dummy ${ac_tool_prefix}windres; ac_word=$2
15508 echo "$as_me:$LINENO: checking for $ac_word" >&5
15509 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15510 if test "${ac_cv_prog_WINDRES+set}" = set; then
15511 echo $ECHO_N "(cached) $ECHO_C" >&6
15512 else
15513 if test -n "$WINDRES"; then
15514 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15515 else
15516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15517 for as_dir in $PATH
15518 do
15519 IFS=$as_save_IFS
15520 test -z "$as_dir" && as_dir=.
15521 for ac_exec_ext in '' $ac_executable_extensions; do
15522 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15523 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
15524 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15525 break 2
15526 fi
15527 done
15528 done
15529
15530 fi
15531 fi
15532 WINDRES=$ac_cv_prog_WINDRES
15533 if test -n "$WINDRES"; then
15534 echo "$as_me:$LINENO: result: $WINDRES" >&5
15535 echo "${ECHO_T}$WINDRES" >&6
15536 else
15537 echo "$as_me:$LINENO: result: no" >&5
15538 echo "${ECHO_T}no" >&6
15539 fi
15540
15541 fi
15542 if test -z "$ac_cv_prog_WINDRES"; then
15543 ac_ct_WINDRES=$WINDRES
15544 # Extract the first word of "windres", so it can be a program name with args.
15545 set dummy windres; ac_word=$2
15546 echo "$as_me:$LINENO: checking for $ac_word" >&5
15547 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15548 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15549 echo $ECHO_N "(cached) $ECHO_C" >&6
15550 else
15551 if test -n "$ac_ct_WINDRES"; then
15552 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15553 else
15554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15555 for as_dir in $PATH
15556 do
15557 IFS=$as_save_IFS
15558 test -z "$as_dir" && as_dir=.
15559 for ac_exec_ext in '' $ac_executable_extensions; do
15560 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15561 ac_cv_prog_ac_ct_WINDRES="windres"
15562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15563 break 2
15564 fi
15565 done
15566 done
15567
15568 fi
15569 fi
15570 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15571 if test -n "$ac_ct_WINDRES"; then
15572 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15573 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15574 else
15575 echo "$as_me:$LINENO: result: no" >&5
15576 echo "${ECHO_T}no" >&6
15577 fi
15578
15579 WINDRES=$ac_ct_WINDRES
15580 else
15581 WINDRES="$ac_cv_prog_WINDRES"
15582 fi
15583
15584 RESCOMP="$WINDRES"
15585 if test -n "$ac_tool_prefix"; then
15586 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15587 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15588 echo "$as_me:$LINENO: checking for $ac_word" >&5
15589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15590 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15591 echo $ECHO_N "(cached) $ECHO_C" >&6
15592 else
15593 if test -n "$DLLTOOL"; then
15594 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15595 else
15596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15597 for as_dir in $PATH
15598 do
15599 IFS=$as_save_IFS
15600 test -z "$as_dir" && as_dir=.
15601 for ac_exec_ext in '' $ac_executable_extensions; do
15602 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15603 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15605 break 2
15606 fi
15607 done
15608 done
15609
15610 fi
15611 fi
15612 DLLTOOL=$ac_cv_prog_DLLTOOL
15613 if test -n "$DLLTOOL"; then
15614 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15615 echo "${ECHO_T}$DLLTOOL" >&6
15616 else
15617 echo "$as_me:$LINENO: result: no" >&5
15618 echo "${ECHO_T}no" >&6
15619 fi
15620
15621 fi
15622 if test -z "$ac_cv_prog_DLLTOOL"; then
15623 ac_ct_DLLTOOL=$DLLTOOL
15624 # Extract the first word of "dlltool", so it can be a program name with args.
15625 set dummy dlltool; ac_word=$2
15626 echo "$as_me:$LINENO: checking for $ac_word" >&5
15627 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15628 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15629 echo $ECHO_N "(cached) $ECHO_C" >&6
15630 else
15631 if test -n "$ac_ct_DLLTOOL"; then
15632 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15633 else
15634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15635 for as_dir in $PATH
15636 do
15637 IFS=$as_save_IFS
15638 test -z "$as_dir" && as_dir=.
15639 for ac_exec_ext in '' $ac_executable_extensions; do
15640 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15641 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15642 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15643 break 2
15644 fi
15645 done
15646 done
15647
15648 fi
15649 fi
15650 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15651 if test -n "$ac_ct_DLLTOOL"; then
15652 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15653 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15654 else
15655 echo "$as_me:$LINENO: result: no" >&5
15656 echo "${ECHO_T}no" >&6
15657 fi
15658
15659 DLLTOOL=$ac_ct_DLLTOOL
15660 else
15661 DLLTOOL="$ac_cv_prog_DLLTOOL"
15662 fi
15663
15664 ;;
15665 esac
15666 fi
15667
15668 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15669 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15670 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15671 echo $ECHO_N "(cached) $ECHO_C" >&6
15672 else
15673
15674 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
15675 egrep -s GNU > /dev/null); then
15676 wx_cv_prog_makeisgnu="yes"
15677 else
15678 wx_cv_prog_makeisgnu="no"
15679 fi
15680
15681 fi
15682 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15683 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15684
15685 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15686 IF_GNU_MAKE=""
15687 else
15688 IF_GNU_MAKE="#"
15689 fi
15690
15691
15692
15693 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15694 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15695 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15696 if test "${wx_cv_prog_makevpath+set}" = set; then
15697 echo $ECHO_N "(cached) $ECHO_C" >&6
15698 else
15699
15700 cat - << EOF > confMake
15701 check : file
15702 cp \$? \$@
15703 cp \$? final_file
15704 EOF
15705
15706 if test ! -d sub ; then
15707 mkdir sub
15708 fi
15709 echo dummy > sub/file
15710 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
15711 RESULT=$?
15712 rm -f sub/file check final_file confMake
15713 rmdir sub
15714 if test "$RESULT" = 0; then
15715 wx_cv_prog_makevpath="yes"
15716 else
15717 wx_cv_prog_makevpath="no"
15718 fi
15719
15720 fi
15721 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15722 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15723
15724 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15725 { { echo "$as_me:$LINENO: error:
15726 You need a make-utility that is able to use the variable
15727 VPATH correctly.
15728 If your version of make does not support VPATH correctly,
15729 please install GNU-make (possibly as gmake), and start
15730 configure with the following command:
15731 export MAKE=gmake; ./configure for sh-type shells
15732 setenv MAKE gmake; ./configure for csh-type shells
15733 Also please do remember to use gmake in this case every time
15734 you are trying to compile.
15735 " >&5
15736 echo "$as_me: error:
15737 You need a make-utility that is able to use the variable
15738 VPATH correctly.
15739 If your version of make does not support VPATH correctly,
15740 please install GNU-make (possibly as gmake), and start
15741 configure with the following command:
15742 export MAKE=gmake; ./configure for sh-type shells
15743 setenv MAKE gmake; ./configure for csh-type shells
15744 Also please do remember to use gmake in this case every time
15745 you are trying to compile.
15746 " >&2;}
15747 { (exit 1); exit 1; }; }
15748 fi fi
15749 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15750 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15751 LN_S=$as_ln_s
15752 if test "$LN_S" = "ln -s"; then
15753 echo "$as_me:$LINENO: result: yes" >&5
15754 echo "${ECHO_T}yes" >&6
15755 else
15756 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15757 echo "${ECHO_T}no, using $LN_S" >&6
15758 fi
15759
15760
15761
15762
15763 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15764 CXXFLAGS="-qunique $CXXFLAGS"
15765 fi
15766
15767 case "${host}" in
15768 powerpc-*-darwin* )
15769 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15770 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15771 cat >conftest.$ac_ext <<_ACEOF
15772 /* confdefs.h. */
15773 _ACEOF
15774 cat confdefs.h >>conftest.$ac_ext
15775 cat >>conftest.$ac_ext <<_ACEOF
15776 /* end confdefs.h. */
15777
15778 int
15779 main ()
15780 {
15781 #ifndef __POWERPC__
15782 choke me for lack of PowerPC
15783 #endif
15784
15785 ;
15786 return 0;
15787 }
15788 _ACEOF
15789 rm -f conftest.$ac_objext
15790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15791 (eval $ac_compile) 2>conftest.er1
15792 ac_status=$?
15793 grep -v '^ *+' conftest.er1 >conftest.err
15794 rm -f conftest.er1
15795 cat conftest.err >&5
15796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15797 (exit $ac_status); } &&
15798 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15800 (eval $ac_try) 2>&5
15801 ac_status=$?
15802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15803 (exit $ac_status); }; } &&
15804 { ac_try='test -s conftest.$ac_objext'
15805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15806 (eval $ac_try) 2>&5
15807 ac_status=$?
15808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15809 (exit $ac_status); }; }; then
15810 echo "$as_me:$LINENO: result: yes" >&5
15811 echo "${ECHO_T}yes" >&6
15812 else
15813 echo "$as_me: failed program was:" >&5
15814 sed 's/^/| /' conftest.$ac_ext >&5
15815
15816 echo "$as_me:$LINENO: result: no" >&5
15817 echo "${ECHO_T}no" >&6
15818 cat >>confdefs.h <<\_ACEOF
15819 #define __POWERPC__ 1
15820 _ACEOF
15821
15822
15823 fi
15824 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15825 ;;
15826 esac
15827
15828 case "${host}" in
15829 *-*-darwin* )
15830 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15831 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15832 cat >conftest.$ac_ext <<_ACEOF
15833 /* confdefs.h. */
15834 _ACEOF
15835 cat confdefs.h >>conftest.$ac_ext
15836 cat >>conftest.$ac_ext <<_ACEOF
15837 /* end confdefs.h. */
15838 #include <CoreFoundation/CFBase.h>
15839
15840 int
15841 main ()
15842 {
15843
15844 ;
15845 return 0;
15846 }
15847 _ACEOF
15848 rm -f conftest.$ac_objext
15849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15850 (eval $ac_compile) 2>conftest.er1
15851 ac_status=$?
15852 grep -v '^ *+' conftest.er1 >conftest.err
15853 rm -f conftest.er1
15854 cat conftest.err >&5
15855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15856 (exit $ac_status); } &&
15857 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15859 (eval $ac_try) 2>&5
15860 ac_status=$?
15861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15862 (exit $ac_status); }; } &&
15863 { ac_try='test -s conftest.$ac_objext'
15864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15865 (eval $ac_try) 2>&5
15866 ac_status=$?
15867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15868 (exit $ac_status); }; }; then
15869 echo "$as_me:$LINENO: result: yes" >&5
15870 echo "${ECHO_T}yes" >&6
15871 else
15872 echo "$as_me: failed program was:" >&5
15873 sed 's/^/| /' conftest.$ac_ext >&5
15874
15875 echo "$as_me:$LINENO: result: no" >&5
15876 echo "${ECHO_T}no" >&6
15877 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15878 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15879 cat >conftest.$ac_ext <<_ACEOF
15880 /* confdefs.h. */
15881 _ACEOF
15882 cat confdefs.h >>conftest.$ac_ext
15883 cat >>conftest.$ac_ext <<_ACEOF
15884 /* end confdefs.h. */
15885 #define __CF_USE_FRAMEWORK_INCLUDES__
15886 #include <CoreFoundation/CFBase.h>
15887
15888 int
15889 main ()
15890 {
15891
15892 ;
15893 return 0;
15894 }
15895 _ACEOF
15896 rm -f conftest.$ac_objext
15897 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15898 (eval $ac_compile) 2>conftest.er1
15899 ac_status=$?
15900 grep -v '^ *+' conftest.er1 >conftest.err
15901 rm -f conftest.er1
15902 cat conftest.err >&5
15903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15904 (exit $ac_status); } &&
15905 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15907 (eval $ac_try) 2>&5
15908 ac_status=$?
15909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15910 (exit $ac_status); }; } &&
15911 { ac_try='test -s conftest.$ac_objext'
15912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15913 (eval $ac_try) 2>&5
15914 ac_status=$?
15915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15916 (exit $ac_status); }; }; then
15917 echo "$as_me:$LINENO: result: yes" >&5
15918 echo "${ECHO_T}yes" >&6
15919 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15920 else
15921 echo "$as_me: failed program was:" >&5
15922 sed 's/^/| /' conftest.$ac_ext >&5
15923
15924 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15925 See \`config.log' for more details." >&5
15926 echo "$as_me: error: no. CoreFoundation not available.
15927 See \`config.log' for more details." >&2;}
15928 { (exit 1); exit 1; }; }
15929
15930 fi
15931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15932
15933
15934 fi
15935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15936 ;;
15937 esac
15938
15939 case "${host}" in
15940 *-pc-os2_emx | *-pc-os2-emx )
15941 ac_ext=c
15942 ac_cpp='$CPP $CPPFLAGS'
15943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15946
15947 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15948 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15949 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15950 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15951 echo $ECHO_N "(cached) $ECHO_C" >&6
15952 else
15953 ac_check_lib_save_LIBS=$LIBS
15954 LIBS="-lcExt $LIBS"
15955 cat >conftest.$ac_ext <<_ACEOF
15956 /* confdefs.h. */
15957 _ACEOF
15958 cat confdefs.h >>conftest.$ac_ext
15959 cat >>conftest.$ac_ext <<_ACEOF
15960 /* end confdefs.h. */
15961
15962 /* Override any gcc2 internal prototype to avoid an error. */
15963 #ifdef __cplusplus
15964 extern "C"
15965 #endif
15966 /* We use char because int might match the return type of a gcc2
15967 builtin and then its argument prototype would still apply. */
15968 char drand48 ();
15969 int
15970 main ()
15971 {
15972 drand48 ();
15973 ;
15974 return 0;
15975 }
15976 _ACEOF
15977 rm -f conftest.$ac_objext conftest$ac_exeext
15978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15979 (eval $ac_link) 2>conftest.er1
15980 ac_status=$?
15981 grep -v '^ *+' conftest.er1 >conftest.err
15982 rm -f conftest.er1
15983 cat conftest.err >&5
15984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15985 (exit $ac_status); } &&
15986 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15988 (eval $ac_try) 2>&5
15989 ac_status=$?
15990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15991 (exit $ac_status); }; } &&
15992 { ac_try='test -s conftest$ac_exeext'
15993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15994 (eval $ac_try) 2>&5
15995 ac_status=$?
15996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15997 (exit $ac_status); }; }; then
15998 ac_cv_lib_cExt_drand48=yes
15999 else
16000 echo "$as_me: failed program was:" >&5
16001 sed 's/^/| /' conftest.$ac_ext >&5
16002
16003 ac_cv_lib_cExt_drand48=no
16004 fi
16005 rm -f conftest.err conftest.$ac_objext \
16006 conftest$ac_exeext conftest.$ac_ext
16007 LIBS=$ac_check_lib_save_LIBS
16008 fi
16009 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
16010 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
16011 if test $ac_cv_lib_cExt_drand48 = yes; then
16012 LIBS="$LIBS -lcExt"
16013 fi
16014
16015 else
16016 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
16017 fi
16018 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
16019 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
16020 if test "${wx_cv_gccversion+set}" = set; then
16021 echo $ECHO_N "(cached) $ECHO_C" >&6
16022 else
16023
16024 if test "$cross_compiling" = yes; then
16025 wx_cv_gccversion="EMX2"
16026
16027 else
16028 cat >conftest.$ac_ext <<_ACEOF
16029 /* confdefs.h. */
16030 _ACEOF
16031 cat confdefs.h >>conftest.$ac_ext
16032 cat >>conftest.$ac_ext <<_ACEOF
16033 /* end confdefs.h. */
16034
16035 #include <stdio.h>
16036
16037 int main()
16038 {
16039 FILE *f=fopen("conftestval", "w");
16040 if (!f) exit(1);
16041 fprintf(f,
16042 #if (__GNUC__ < 3)
16043 "EMX2"
16044 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
16045 "EMX3"
16046 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
16047 "Innotek5"
16048 #else
16049 "Innotek6"
16050 #endif
16051 );
16052 exit(0);
16053 }
16054
16055 _ACEOF
16056 rm -f conftest$ac_exeext
16057 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16058 (eval $ac_link) 2>&5
16059 ac_status=$?
16060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16061 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16063 (eval $ac_try) 2>&5
16064 ac_status=$?
16065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16066 (exit $ac_status); }; }; then
16067 wx_cv_gccversion=`cat conftestval`
16068 else
16069 echo "$as_me: program exited with status $ac_status" >&5
16070 echo "$as_me: failed program was:" >&5
16071 sed 's/^/| /' conftest.$ac_ext >&5
16072
16073 ( exit $ac_status )
16074 wx_cv_gccversion="EMX2"
16075 fi
16076 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16077 fi
16078
16079 fi
16080 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
16081 echo "${ECHO_T}$wx_cv_gccversion" >&6
16082 ac_ext=cc
16083 ac_cpp='$CXXCPP $CPPFLAGS'
16084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16087
16088 if test "$wx_cv_gccversion" = "EMX2"; then
16089 LIBS="$LIBS -lstdcpp"
16090 LDFLAGS="$LDFLAGS -Zsysv-signals"
16091 else
16092 if test "$wx_cv_gccversion" = "EMX3"; then
16093 LIBS="$LIBS -lstdcxx -lgcc"
16094 LDFLAGS="$LDFLAGS -Zsysv-signals"
16095 else
16096 LIBS="$LIBS -lstdc++"
16097 fi
16098 fi
16099 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
16100 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
16101 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
16102 wxUSE_OMF=yes
16103 enable_omf=yes
16104 fi
16105 ;;
16106 *)
16107
16108 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
16109 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
16110 if test "${ac_cv_string_strcasecmp+set}" = set; then
16111 echo $ECHO_N "(cached) $ECHO_C" >&6
16112 else
16113
16114 cat >conftest.$ac_ext <<_ACEOF
16115 /* confdefs.h. */
16116 _ACEOF
16117 cat confdefs.h >>conftest.$ac_ext
16118 cat >>conftest.$ac_ext <<_ACEOF
16119 /* end confdefs.h. */
16120
16121 #include <string.h>
16122
16123 int
16124 main ()
16125 {
16126
16127 strcasecmp("foo", "bar");
16128
16129 ;
16130 return 0;
16131 }
16132 _ACEOF
16133 rm -f conftest.$ac_objext conftest$ac_exeext
16134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16135 (eval $ac_link) 2>conftest.er1
16136 ac_status=$?
16137 grep -v '^ *+' conftest.er1 >conftest.err
16138 rm -f conftest.er1
16139 cat conftest.err >&5
16140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16141 (exit $ac_status); } &&
16142 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16144 (eval $ac_try) 2>&5
16145 ac_status=$?
16146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16147 (exit $ac_status); }; } &&
16148 { ac_try='test -s conftest$ac_exeext'
16149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16150 (eval $ac_try) 2>&5
16151 ac_status=$?
16152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16153 (exit $ac_status); }; }; then
16154 ac_cv_string_strcasecmp=yes
16155 else
16156 echo "$as_me: failed program was:" >&5
16157 sed 's/^/| /' conftest.$ac_ext >&5
16158
16159 ac_cv_string_strcasecmp=no
16160
16161 fi
16162 rm -f conftest.err conftest.$ac_objext \
16163 conftest$ac_exeext conftest.$ac_ext
16164
16165 fi
16166 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16167 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16168
16169 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
16170 cat >>confdefs.h <<\_ACEOF
16171 #define HAVE_STRCASECMP_IN_STRING_H 1
16172 _ACEOF
16173
16174 else
16175 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16176 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16177 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16178 echo $ECHO_N "(cached) $ECHO_C" >&6
16179 else
16180
16181 cat >conftest.$ac_ext <<_ACEOF
16182 /* confdefs.h. */
16183 _ACEOF
16184 cat confdefs.h >>conftest.$ac_ext
16185 cat >>conftest.$ac_ext <<_ACEOF
16186 /* end confdefs.h. */
16187
16188 #include <strings.h>
16189
16190 int
16191 main ()
16192 {
16193
16194 strcasecmp("foo", "bar");
16195
16196 ;
16197 return 0;
16198 }
16199 _ACEOF
16200 rm -f conftest.$ac_objext conftest$ac_exeext
16201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16202 (eval $ac_link) 2>conftest.er1
16203 ac_status=$?
16204 grep -v '^ *+' conftest.er1 >conftest.err
16205 rm -f conftest.er1
16206 cat conftest.err >&5
16207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16208 (exit $ac_status); } &&
16209 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16211 (eval $ac_try) 2>&5
16212 ac_status=$?
16213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16214 (exit $ac_status); }; } &&
16215 { ac_try='test -s conftest$ac_exeext'
16216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16217 (eval $ac_try) 2>&5
16218 ac_status=$?
16219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16220 (exit $ac_status); }; }; then
16221 ac_cv_strings_strcasecmp=yes
16222 else
16223 echo "$as_me: failed program was:" >&5
16224 sed 's/^/| /' conftest.$ac_ext >&5
16225
16226 ac_cv_strings_strcasecmp=no
16227
16228 fi
16229 rm -f conftest.err conftest.$ac_objext \
16230 conftest$ac_exeext conftest.$ac_ext
16231
16232 fi
16233 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16234 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16235
16236 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
16237 cat >>confdefs.h <<\_ACEOF
16238 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16239 _ACEOF
16240
16241 else
16242 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16243 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16244 { (exit 1); exit 1; }; }
16245 fi
16246 fi
16247
16248 ;;
16249 esac
16250
16251
16252 ac_ext=cc
16253 ac_cpp='$CXXCPP $CPPFLAGS'
16254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16257 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16258 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16259 if test -z "$CXXCPP"; then
16260 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16261 echo $ECHO_N "(cached) $ECHO_C" >&6
16262 else
16263 # Double quotes because CXXCPP needs to be expanded
16264 for CXXCPP in "$CXX -E" "/lib/cpp"
16265 do
16266 ac_preproc_ok=false
16267 for ac_cxx_preproc_warn_flag in '' yes
16268 do
16269 # Use a header file that comes with gcc, so configuring glibc
16270 # with a fresh cross-compiler works.
16271 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16272 # <limits.h> exists even on freestanding compilers.
16273 # On the NeXT, cc -E runs the code through the compiler's parser,
16274 # not just through cpp. "Syntax error" is here to catch this case.
16275 cat >conftest.$ac_ext <<_ACEOF
16276 /* confdefs.h. */
16277 _ACEOF
16278 cat confdefs.h >>conftest.$ac_ext
16279 cat >>conftest.$ac_ext <<_ACEOF
16280 /* end confdefs.h. */
16281 #ifdef __STDC__
16282 # include <limits.h>
16283 #else
16284 # include <assert.h>
16285 #endif
16286 Syntax error
16287 _ACEOF
16288 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16289 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16290 ac_status=$?
16291 grep -v '^ *+' conftest.er1 >conftest.err
16292 rm -f conftest.er1
16293 cat conftest.err >&5
16294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16295 (exit $ac_status); } >/dev/null; then
16296 if test -s conftest.err; then
16297 ac_cpp_err=$ac_cxx_preproc_warn_flag
16298 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16299 else
16300 ac_cpp_err=
16301 fi
16302 else
16303 ac_cpp_err=yes
16304 fi
16305 if test -z "$ac_cpp_err"; then
16306 :
16307 else
16308 echo "$as_me: failed program was:" >&5
16309 sed 's/^/| /' conftest.$ac_ext >&5
16310
16311 # Broken: fails on valid input.
16312 continue
16313 fi
16314 rm -f conftest.err conftest.$ac_ext
16315
16316 # OK, works on sane cases. Now check whether non-existent headers
16317 # can be detected and how.
16318 cat >conftest.$ac_ext <<_ACEOF
16319 /* confdefs.h. */
16320 _ACEOF
16321 cat confdefs.h >>conftest.$ac_ext
16322 cat >>conftest.$ac_ext <<_ACEOF
16323 /* end confdefs.h. */
16324 #include <ac_nonexistent.h>
16325 _ACEOF
16326 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16327 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16328 ac_status=$?
16329 grep -v '^ *+' conftest.er1 >conftest.err
16330 rm -f conftest.er1
16331 cat conftest.err >&5
16332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16333 (exit $ac_status); } >/dev/null; then
16334 if test -s conftest.err; then
16335 ac_cpp_err=$ac_cxx_preproc_warn_flag
16336 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16337 else
16338 ac_cpp_err=
16339 fi
16340 else
16341 ac_cpp_err=yes
16342 fi
16343 if test -z "$ac_cpp_err"; then
16344 # Broken: success on invalid input.
16345 continue
16346 else
16347 echo "$as_me: failed program was:" >&5
16348 sed 's/^/| /' conftest.$ac_ext >&5
16349
16350 # Passes both tests.
16351 ac_preproc_ok=:
16352 break
16353 fi
16354 rm -f conftest.err conftest.$ac_ext
16355
16356 done
16357 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16358 rm -f conftest.err conftest.$ac_ext
16359 if $ac_preproc_ok; then
16360 break
16361 fi
16362
16363 done
16364 ac_cv_prog_CXXCPP=$CXXCPP
16365
16366 fi
16367 CXXCPP=$ac_cv_prog_CXXCPP
16368 else
16369 ac_cv_prog_CXXCPP=$CXXCPP
16370 fi
16371 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16372 echo "${ECHO_T}$CXXCPP" >&6
16373 ac_preproc_ok=false
16374 for ac_cxx_preproc_warn_flag in '' yes
16375 do
16376 # Use a header file that comes with gcc, so configuring glibc
16377 # with a fresh cross-compiler works.
16378 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16379 # <limits.h> exists even on freestanding compilers.
16380 # On the NeXT, cc -E runs the code through the compiler's parser,
16381 # not just through cpp. "Syntax error" is here to catch this case.
16382 cat >conftest.$ac_ext <<_ACEOF
16383 /* confdefs.h. */
16384 _ACEOF
16385 cat confdefs.h >>conftest.$ac_ext
16386 cat >>conftest.$ac_ext <<_ACEOF
16387 /* end confdefs.h. */
16388 #ifdef __STDC__
16389 # include <limits.h>
16390 #else
16391 # include <assert.h>
16392 #endif
16393 Syntax error
16394 _ACEOF
16395 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16396 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16397 ac_status=$?
16398 grep -v '^ *+' conftest.er1 >conftest.err
16399 rm -f conftest.er1
16400 cat conftest.err >&5
16401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16402 (exit $ac_status); } >/dev/null; then
16403 if test -s conftest.err; then
16404 ac_cpp_err=$ac_cxx_preproc_warn_flag
16405 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16406 else
16407 ac_cpp_err=
16408 fi
16409 else
16410 ac_cpp_err=yes
16411 fi
16412 if test -z "$ac_cpp_err"; then
16413 :
16414 else
16415 echo "$as_me: failed program was:" >&5
16416 sed 's/^/| /' conftest.$ac_ext >&5
16417
16418 # Broken: fails on valid input.
16419 continue
16420 fi
16421 rm -f conftest.err conftest.$ac_ext
16422
16423 # OK, works on sane cases. Now check whether non-existent headers
16424 # can be detected and how.
16425 cat >conftest.$ac_ext <<_ACEOF
16426 /* confdefs.h. */
16427 _ACEOF
16428 cat confdefs.h >>conftest.$ac_ext
16429 cat >>conftest.$ac_ext <<_ACEOF
16430 /* end confdefs.h. */
16431 #include <ac_nonexistent.h>
16432 _ACEOF
16433 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16434 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16435 ac_status=$?
16436 grep -v '^ *+' conftest.er1 >conftest.err
16437 rm -f conftest.er1
16438 cat conftest.err >&5
16439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16440 (exit $ac_status); } >/dev/null; then
16441 if test -s conftest.err; then
16442 ac_cpp_err=$ac_cxx_preproc_warn_flag
16443 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16444 else
16445 ac_cpp_err=
16446 fi
16447 else
16448 ac_cpp_err=yes
16449 fi
16450 if test -z "$ac_cpp_err"; then
16451 # Broken: success on invalid input.
16452 continue
16453 else
16454 echo "$as_me: failed program was:" >&5
16455 sed 's/^/| /' conftest.$ac_ext >&5
16456
16457 # Passes both tests.
16458 ac_preproc_ok=:
16459 break
16460 fi
16461 rm -f conftest.err conftest.$ac_ext
16462
16463 done
16464 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16465 rm -f conftest.err conftest.$ac_ext
16466 if $ac_preproc_ok; then
16467 :
16468 else
16469 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16470 See \`config.log' for more details." >&5
16471 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16472 See \`config.log' for more details." >&2;}
16473 { (exit 1); exit 1; }; }
16474 fi
16475
16476 ac_ext=cc
16477 ac_cpp='$CXXCPP $CPPFLAGS'
16478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16481
16482
16483 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16484 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16485 if test "${ac_cv_header_stdc+set}" = set; then
16486 echo $ECHO_N "(cached) $ECHO_C" >&6
16487 else
16488 cat >conftest.$ac_ext <<_ACEOF
16489 /* confdefs.h. */
16490 _ACEOF
16491 cat confdefs.h >>conftest.$ac_ext
16492 cat >>conftest.$ac_ext <<_ACEOF
16493 /* end confdefs.h. */
16494 #include <stdlib.h>
16495 #include <stdarg.h>
16496 #include <string.h>
16497 #include <float.h>
16498
16499 int
16500 main ()
16501 {
16502
16503 ;
16504 return 0;
16505 }
16506 _ACEOF
16507 rm -f conftest.$ac_objext
16508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16509 (eval $ac_compile) 2>conftest.er1
16510 ac_status=$?
16511 grep -v '^ *+' conftest.er1 >conftest.err
16512 rm -f conftest.er1
16513 cat conftest.err >&5
16514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16515 (exit $ac_status); } &&
16516 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16518 (eval $ac_try) 2>&5
16519 ac_status=$?
16520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16521 (exit $ac_status); }; } &&
16522 { ac_try='test -s conftest.$ac_objext'
16523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16524 (eval $ac_try) 2>&5
16525 ac_status=$?
16526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16527 (exit $ac_status); }; }; then
16528 ac_cv_header_stdc=yes
16529 else
16530 echo "$as_me: failed program was:" >&5
16531 sed 's/^/| /' conftest.$ac_ext >&5
16532
16533 ac_cv_header_stdc=no
16534 fi
16535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16536
16537 if test $ac_cv_header_stdc = yes; then
16538 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16539 cat >conftest.$ac_ext <<_ACEOF
16540 /* confdefs.h. */
16541 _ACEOF
16542 cat confdefs.h >>conftest.$ac_ext
16543 cat >>conftest.$ac_ext <<_ACEOF
16544 /* end confdefs.h. */
16545 #include <string.h>
16546
16547 _ACEOF
16548 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16549 $EGREP "memchr" >/dev/null 2>&1; then
16550 :
16551 else
16552 ac_cv_header_stdc=no
16553 fi
16554 rm -f conftest*
16555
16556 fi
16557
16558 if test $ac_cv_header_stdc = yes; then
16559 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16560 cat >conftest.$ac_ext <<_ACEOF
16561 /* confdefs.h. */
16562 _ACEOF
16563 cat confdefs.h >>conftest.$ac_ext
16564 cat >>conftest.$ac_ext <<_ACEOF
16565 /* end confdefs.h. */
16566 #include <stdlib.h>
16567
16568 _ACEOF
16569 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16570 $EGREP "free" >/dev/null 2>&1; then
16571 :
16572 else
16573 ac_cv_header_stdc=no
16574 fi
16575 rm -f conftest*
16576
16577 fi
16578
16579 if test $ac_cv_header_stdc = yes; then
16580 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16581 if test "$cross_compiling" = yes; then
16582 :
16583 else
16584 cat >conftest.$ac_ext <<_ACEOF
16585 /* confdefs.h. */
16586 _ACEOF
16587 cat confdefs.h >>conftest.$ac_ext
16588 cat >>conftest.$ac_ext <<_ACEOF
16589 /* end confdefs.h. */
16590 #include <ctype.h>
16591 #if ((' ' & 0x0FF) == 0x020)
16592 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16593 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16594 #else
16595 # define ISLOWER(c) \
16596 (('a' <= (c) && (c) <= 'i') \
16597 || ('j' <= (c) && (c) <= 'r') \
16598 || ('s' <= (c) && (c) <= 'z'))
16599 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16600 #endif
16601
16602 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16603 int
16604 main ()
16605 {
16606 int i;
16607 for (i = 0; i < 256; i++)
16608 if (XOR (islower (i), ISLOWER (i))
16609 || toupper (i) != TOUPPER (i))
16610 exit(2);
16611 exit (0);
16612 }
16613 _ACEOF
16614 rm -f conftest$ac_exeext
16615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16616 (eval $ac_link) 2>&5
16617 ac_status=$?
16618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16619 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16621 (eval $ac_try) 2>&5
16622 ac_status=$?
16623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16624 (exit $ac_status); }; }; then
16625 :
16626 else
16627 echo "$as_me: program exited with status $ac_status" >&5
16628 echo "$as_me: failed program was:" >&5
16629 sed 's/^/| /' conftest.$ac_ext >&5
16630
16631 ( exit $ac_status )
16632 ac_cv_header_stdc=no
16633 fi
16634 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16635 fi
16636 fi
16637 fi
16638 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16639 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16640 if test $ac_cv_header_stdc = yes; then
16641
16642 cat >>confdefs.h <<\_ACEOF
16643 #define STDC_HEADERS 1
16644 _ACEOF
16645
16646 fi
16647
16648 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16649
16650
16651
16652
16653
16654
16655
16656
16657
16658 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
16659 inttypes.h stdint.h unistd.h
16660 do
16661 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16662 echo "$as_me:$LINENO: checking for $ac_header" >&5
16663 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16664 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16665 echo $ECHO_N "(cached) $ECHO_C" >&6
16666 else
16667 cat >conftest.$ac_ext <<_ACEOF
16668 /* confdefs.h. */
16669 _ACEOF
16670 cat confdefs.h >>conftest.$ac_ext
16671 cat >>conftest.$ac_ext <<_ACEOF
16672 /* end confdefs.h. */
16673 $ac_includes_default
16674
16675 #include <$ac_header>
16676 _ACEOF
16677 rm -f conftest.$ac_objext
16678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16679 (eval $ac_compile) 2>conftest.er1
16680 ac_status=$?
16681 grep -v '^ *+' conftest.er1 >conftest.err
16682 rm -f conftest.er1
16683 cat conftest.err >&5
16684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16685 (exit $ac_status); } &&
16686 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16688 (eval $ac_try) 2>&5
16689 ac_status=$?
16690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16691 (exit $ac_status); }; } &&
16692 { ac_try='test -s conftest.$ac_objext'
16693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16694 (eval $ac_try) 2>&5
16695 ac_status=$?
16696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16697 (exit $ac_status); }; }; then
16698 eval "$as_ac_Header=yes"
16699 else
16700 echo "$as_me: failed program was:" >&5
16701 sed 's/^/| /' conftest.$ac_ext >&5
16702
16703 eval "$as_ac_Header=no"
16704 fi
16705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16706 fi
16707 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16708 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16709 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16710 cat >>confdefs.h <<_ACEOF
16711 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16712 _ACEOF
16713
16714 fi
16715
16716 done
16717
16718
16719
16720 for ac_header in stdlib.h
16721 do
16722 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16723 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16724 echo "$as_me:$LINENO: checking for $ac_header" >&5
16725 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16726 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16727 echo $ECHO_N "(cached) $ECHO_C" >&6
16728 fi
16729 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16730 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16731 else
16732 # Is the header compilable?
16733 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16734 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16735 cat >conftest.$ac_ext <<_ACEOF
16736 /* confdefs.h. */
16737 _ACEOF
16738 cat confdefs.h >>conftest.$ac_ext
16739 cat >>conftest.$ac_ext <<_ACEOF
16740 /* end confdefs.h. */
16741 $ac_includes_default
16742 #include <$ac_header>
16743 _ACEOF
16744 rm -f conftest.$ac_objext
16745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16746 (eval $ac_compile) 2>conftest.er1
16747 ac_status=$?
16748 grep -v '^ *+' conftest.er1 >conftest.err
16749 rm -f conftest.er1
16750 cat conftest.err >&5
16751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16752 (exit $ac_status); } &&
16753 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16755 (eval $ac_try) 2>&5
16756 ac_status=$?
16757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16758 (exit $ac_status); }; } &&
16759 { ac_try='test -s conftest.$ac_objext'
16760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16761 (eval $ac_try) 2>&5
16762 ac_status=$?
16763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16764 (exit $ac_status); }; }; then
16765 ac_header_compiler=yes
16766 else
16767 echo "$as_me: failed program was:" >&5
16768 sed 's/^/| /' conftest.$ac_ext >&5
16769
16770 ac_header_compiler=no
16771 fi
16772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16773 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16774 echo "${ECHO_T}$ac_header_compiler" >&6
16775
16776 # Is the header present?
16777 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16778 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16779 cat >conftest.$ac_ext <<_ACEOF
16780 /* confdefs.h. */
16781 _ACEOF
16782 cat confdefs.h >>conftest.$ac_ext
16783 cat >>conftest.$ac_ext <<_ACEOF
16784 /* end confdefs.h. */
16785 #include <$ac_header>
16786 _ACEOF
16787 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16788 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16789 ac_status=$?
16790 grep -v '^ *+' conftest.er1 >conftest.err
16791 rm -f conftest.er1
16792 cat conftest.err >&5
16793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16794 (exit $ac_status); } >/dev/null; then
16795 if test -s conftest.err; then
16796 ac_cpp_err=$ac_cxx_preproc_warn_flag
16797 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16798 else
16799 ac_cpp_err=
16800 fi
16801 else
16802 ac_cpp_err=yes
16803 fi
16804 if test -z "$ac_cpp_err"; then
16805 ac_header_preproc=yes
16806 else
16807 echo "$as_me: failed program was:" >&5
16808 sed 's/^/| /' conftest.$ac_ext >&5
16809
16810 ac_header_preproc=no
16811 fi
16812 rm -f conftest.err conftest.$ac_ext
16813 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16814 echo "${ECHO_T}$ac_header_preproc" >&6
16815
16816 # So? What about this header?
16817 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16818 yes:no: )
16819 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16820 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16821 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16822 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16823 ac_header_preproc=yes
16824 ;;
16825 no:yes:* )
16826 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16827 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16828 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16829 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16830 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16831 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16832 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16833 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16834 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16835 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16836 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16837 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16838 (
16839 cat <<\_ASBOX
16840 ## ----------------------------------------- ##
16841 ## Report this to wx-dev@lists.wxwidgets.org ##
16842 ## ----------------------------------------- ##
16843 _ASBOX
16844 ) |
16845 sed "s/^/$as_me: WARNING: /" >&2
16846 ;;
16847 esac
16848 echo "$as_me:$LINENO: checking for $ac_header" >&5
16849 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16850 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16851 echo $ECHO_N "(cached) $ECHO_C" >&6
16852 else
16853 eval "$as_ac_Header=\$ac_header_preproc"
16854 fi
16855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16856 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16857
16858 fi
16859 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16860 cat >>confdefs.h <<_ACEOF
16861 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16862 _ACEOF
16863
16864 fi
16865
16866 done
16867
16868
16869 for ac_header in malloc.h
16870 do
16871 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16872 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16873 echo "$as_me:$LINENO: checking for $ac_header" >&5
16874 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16875 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16876 echo $ECHO_N "(cached) $ECHO_C" >&6
16877 fi
16878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16879 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16880 else
16881 # Is the header compilable?
16882 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16883 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16884 cat >conftest.$ac_ext <<_ACEOF
16885 /* confdefs.h. */
16886 _ACEOF
16887 cat confdefs.h >>conftest.$ac_ext
16888 cat >>conftest.$ac_ext <<_ACEOF
16889 /* end confdefs.h. */
16890 $ac_includes_default
16891 #include <$ac_header>
16892 _ACEOF
16893 rm -f conftest.$ac_objext
16894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16895 (eval $ac_compile) 2>conftest.er1
16896 ac_status=$?
16897 grep -v '^ *+' conftest.er1 >conftest.err
16898 rm -f conftest.er1
16899 cat conftest.err >&5
16900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16901 (exit $ac_status); } &&
16902 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16904 (eval $ac_try) 2>&5
16905 ac_status=$?
16906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16907 (exit $ac_status); }; } &&
16908 { ac_try='test -s conftest.$ac_objext'
16909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16910 (eval $ac_try) 2>&5
16911 ac_status=$?
16912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16913 (exit $ac_status); }; }; then
16914 ac_header_compiler=yes
16915 else
16916 echo "$as_me: failed program was:" >&5
16917 sed 's/^/| /' conftest.$ac_ext >&5
16918
16919 ac_header_compiler=no
16920 fi
16921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16922 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16923 echo "${ECHO_T}$ac_header_compiler" >&6
16924
16925 # Is the header present?
16926 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16927 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16928 cat >conftest.$ac_ext <<_ACEOF
16929 /* confdefs.h. */
16930 _ACEOF
16931 cat confdefs.h >>conftest.$ac_ext
16932 cat >>conftest.$ac_ext <<_ACEOF
16933 /* end confdefs.h. */
16934 #include <$ac_header>
16935 _ACEOF
16936 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16937 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16938 ac_status=$?
16939 grep -v '^ *+' conftest.er1 >conftest.err
16940 rm -f conftest.er1
16941 cat conftest.err >&5
16942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16943 (exit $ac_status); } >/dev/null; then
16944 if test -s conftest.err; then
16945 ac_cpp_err=$ac_cxx_preproc_warn_flag
16946 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16947 else
16948 ac_cpp_err=
16949 fi
16950 else
16951 ac_cpp_err=yes
16952 fi
16953 if test -z "$ac_cpp_err"; then
16954 ac_header_preproc=yes
16955 else
16956 echo "$as_me: failed program was:" >&5
16957 sed 's/^/| /' conftest.$ac_ext >&5
16958
16959 ac_header_preproc=no
16960 fi
16961 rm -f conftest.err conftest.$ac_ext
16962 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16963 echo "${ECHO_T}$ac_header_preproc" >&6
16964
16965 # So? What about this header?
16966 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16967 yes:no: )
16968 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16969 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16970 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16971 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16972 ac_header_preproc=yes
16973 ;;
16974 no:yes:* )
16975 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16976 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16977 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16978 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16979 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16980 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16981 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16982 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16983 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16984 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16985 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16986 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16987 (
16988 cat <<\_ASBOX
16989 ## ----------------------------------------- ##
16990 ## Report this to wx-dev@lists.wxwidgets.org ##
16991 ## ----------------------------------------- ##
16992 _ASBOX
16993 ) |
16994 sed "s/^/$as_me: WARNING: /" >&2
16995 ;;
16996 esac
16997 echo "$as_me:$LINENO: checking for $ac_header" >&5
16998 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16999 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17000 echo $ECHO_N "(cached) $ECHO_C" >&6
17001 else
17002 eval "$as_ac_Header=\$ac_header_preproc"
17003 fi
17004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17005 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17006
17007 fi
17008 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17009 cat >>confdefs.h <<_ACEOF
17010 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17011 _ACEOF
17012
17013 fi
17014
17015 done
17016
17017
17018 for ac_header in unistd.h
17019 do
17020 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17021 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17022 echo "$as_me:$LINENO: checking for $ac_header" >&5
17023 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17025 echo $ECHO_N "(cached) $ECHO_C" >&6
17026 fi
17027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17028 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17029 else
17030 # Is the header compilable?
17031 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17032 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17033 cat >conftest.$ac_ext <<_ACEOF
17034 /* confdefs.h. */
17035 _ACEOF
17036 cat confdefs.h >>conftest.$ac_ext
17037 cat >>conftest.$ac_ext <<_ACEOF
17038 /* end confdefs.h. */
17039 $ac_includes_default
17040 #include <$ac_header>
17041 _ACEOF
17042 rm -f conftest.$ac_objext
17043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17044 (eval $ac_compile) 2>conftest.er1
17045 ac_status=$?
17046 grep -v '^ *+' conftest.er1 >conftest.err
17047 rm -f conftest.er1
17048 cat conftest.err >&5
17049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17050 (exit $ac_status); } &&
17051 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17053 (eval $ac_try) 2>&5
17054 ac_status=$?
17055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17056 (exit $ac_status); }; } &&
17057 { ac_try='test -s conftest.$ac_objext'
17058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17059 (eval $ac_try) 2>&5
17060 ac_status=$?
17061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17062 (exit $ac_status); }; }; then
17063 ac_header_compiler=yes
17064 else
17065 echo "$as_me: failed program was:" >&5
17066 sed 's/^/| /' conftest.$ac_ext >&5
17067
17068 ac_header_compiler=no
17069 fi
17070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17071 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17072 echo "${ECHO_T}$ac_header_compiler" >&6
17073
17074 # Is the header present?
17075 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17076 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17077 cat >conftest.$ac_ext <<_ACEOF
17078 /* confdefs.h. */
17079 _ACEOF
17080 cat confdefs.h >>conftest.$ac_ext
17081 cat >>conftest.$ac_ext <<_ACEOF
17082 /* end confdefs.h. */
17083 #include <$ac_header>
17084 _ACEOF
17085 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17086 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17087 ac_status=$?
17088 grep -v '^ *+' conftest.er1 >conftest.err
17089 rm -f conftest.er1
17090 cat conftest.err >&5
17091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17092 (exit $ac_status); } >/dev/null; then
17093 if test -s conftest.err; then
17094 ac_cpp_err=$ac_cxx_preproc_warn_flag
17095 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17096 else
17097 ac_cpp_err=
17098 fi
17099 else
17100 ac_cpp_err=yes
17101 fi
17102 if test -z "$ac_cpp_err"; then
17103 ac_header_preproc=yes
17104 else
17105 echo "$as_me: failed program was:" >&5
17106 sed 's/^/| /' conftest.$ac_ext >&5
17107
17108 ac_header_preproc=no
17109 fi
17110 rm -f conftest.err conftest.$ac_ext
17111 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17112 echo "${ECHO_T}$ac_header_preproc" >&6
17113
17114 # So? What about this header?
17115 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17116 yes:no: )
17117 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17118 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17119 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17120 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17121 ac_header_preproc=yes
17122 ;;
17123 no:yes:* )
17124 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17125 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17126 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17127 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17128 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17129 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17130 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17131 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17132 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17133 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17134 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17135 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17136 (
17137 cat <<\_ASBOX
17138 ## ----------------------------------------- ##
17139 ## Report this to wx-dev@lists.wxwidgets.org ##
17140 ## ----------------------------------------- ##
17141 _ASBOX
17142 ) |
17143 sed "s/^/$as_me: WARNING: /" >&2
17144 ;;
17145 esac
17146 echo "$as_me:$LINENO: checking for $ac_header" >&5
17147 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17148 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17149 echo $ECHO_N "(cached) $ECHO_C" >&6
17150 else
17151 eval "$as_ac_Header=\$ac_header_preproc"
17152 fi
17153 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17154 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17155
17156 fi
17157 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17158 cat >>confdefs.h <<_ACEOF
17159 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17160 _ACEOF
17161
17162 fi
17163
17164 done
17165
17166
17167 for ac_header in wchar.h
17168 do
17169 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17171 echo "$as_me:$LINENO: checking for $ac_header" >&5
17172 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17173 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17174 echo $ECHO_N "(cached) $ECHO_C" >&6
17175 fi
17176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17177 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17178 else
17179 # Is the header compilable?
17180 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17181 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17182 cat >conftest.$ac_ext <<_ACEOF
17183 /* confdefs.h. */
17184 _ACEOF
17185 cat confdefs.h >>conftest.$ac_ext
17186 cat >>conftest.$ac_ext <<_ACEOF
17187 /* end confdefs.h. */
17188 $ac_includes_default
17189 #include <$ac_header>
17190 _ACEOF
17191 rm -f conftest.$ac_objext
17192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17193 (eval $ac_compile) 2>conftest.er1
17194 ac_status=$?
17195 grep -v '^ *+' conftest.er1 >conftest.err
17196 rm -f conftest.er1
17197 cat conftest.err >&5
17198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17199 (exit $ac_status); } &&
17200 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17202 (eval $ac_try) 2>&5
17203 ac_status=$?
17204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17205 (exit $ac_status); }; } &&
17206 { ac_try='test -s conftest.$ac_objext'
17207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17208 (eval $ac_try) 2>&5
17209 ac_status=$?
17210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17211 (exit $ac_status); }; }; then
17212 ac_header_compiler=yes
17213 else
17214 echo "$as_me: failed program was:" >&5
17215 sed 's/^/| /' conftest.$ac_ext >&5
17216
17217 ac_header_compiler=no
17218 fi
17219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17220 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17221 echo "${ECHO_T}$ac_header_compiler" >&6
17222
17223 # Is the header present?
17224 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17225 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17226 cat >conftest.$ac_ext <<_ACEOF
17227 /* confdefs.h. */
17228 _ACEOF
17229 cat confdefs.h >>conftest.$ac_ext
17230 cat >>conftest.$ac_ext <<_ACEOF
17231 /* end confdefs.h. */
17232 #include <$ac_header>
17233 _ACEOF
17234 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17235 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17236 ac_status=$?
17237 grep -v '^ *+' conftest.er1 >conftest.err
17238 rm -f conftest.er1
17239 cat conftest.err >&5
17240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17241 (exit $ac_status); } >/dev/null; then
17242 if test -s conftest.err; then
17243 ac_cpp_err=$ac_cxx_preproc_warn_flag
17244 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17245 else
17246 ac_cpp_err=
17247 fi
17248 else
17249 ac_cpp_err=yes
17250 fi
17251 if test -z "$ac_cpp_err"; then
17252 ac_header_preproc=yes
17253 else
17254 echo "$as_me: failed program was:" >&5
17255 sed 's/^/| /' conftest.$ac_ext >&5
17256
17257 ac_header_preproc=no
17258 fi
17259 rm -f conftest.err conftest.$ac_ext
17260 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17261 echo "${ECHO_T}$ac_header_preproc" >&6
17262
17263 # So? What about this header?
17264 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17265 yes:no: )
17266 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17267 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17268 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17269 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17270 ac_header_preproc=yes
17271 ;;
17272 no:yes:* )
17273 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17274 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17275 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17276 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17277 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17278 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17279 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17280 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17281 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17282 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17283 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17284 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17285 (
17286 cat <<\_ASBOX
17287 ## ----------------------------------------- ##
17288 ## Report this to wx-dev@lists.wxwidgets.org ##
17289 ## ----------------------------------------- ##
17290 _ASBOX
17291 ) |
17292 sed "s/^/$as_me: WARNING: /" >&2
17293 ;;
17294 esac
17295 echo "$as_me:$LINENO: checking for $ac_header" >&5
17296 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17297 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17298 echo $ECHO_N "(cached) $ECHO_C" >&6
17299 else
17300 eval "$as_ac_Header=\$ac_header_preproc"
17301 fi
17302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17303 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17304
17305 fi
17306 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17307 cat >>confdefs.h <<_ACEOF
17308 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17309 _ACEOF
17310
17311 fi
17312
17313 done
17314
17315
17316 if test "$ac_cv_header_wchar_h" != "yes"; then
17317
17318 for ac_header in wcstr.h
17319 do
17320 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17321 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17322 echo "$as_me:$LINENO: checking for $ac_header" >&5
17323 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17324 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17325 echo $ECHO_N "(cached) $ECHO_C" >&6
17326 fi
17327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17328 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17329 else
17330 # Is the header compilable?
17331 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17332 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17333 cat >conftest.$ac_ext <<_ACEOF
17334 /* confdefs.h. */
17335 _ACEOF
17336 cat confdefs.h >>conftest.$ac_ext
17337 cat >>conftest.$ac_ext <<_ACEOF
17338 /* end confdefs.h. */
17339 $ac_includes_default
17340 #include <$ac_header>
17341 _ACEOF
17342 rm -f conftest.$ac_objext
17343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17344 (eval $ac_compile) 2>conftest.er1
17345 ac_status=$?
17346 grep -v '^ *+' conftest.er1 >conftest.err
17347 rm -f conftest.er1
17348 cat conftest.err >&5
17349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17350 (exit $ac_status); } &&
17351 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17353 (eval $ac_try) 2>&5
17354 ac_status=$?
17355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17356 (exit $ac_status); }; } &&
17357 { ac_try='test -s conftest.$ac_objext'
17358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17359 (eval $ac_try) 2>&5
17360 ac_status=$?
17361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17362 (exit $ac_status); }; }; then
17363 ac_header_compiler=yes
17364 else
17365 echo "$as_me: failed program was:" >&5
17366 sed 's/^/| /' conftest.$ac_ext >&5
17367
17368 ac_header_compiler=no
17369 fi
17370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17371 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17372 echo "${ECHO_T}$ac_header_compiler" >&6
17373
17374 # Is the header present?
17375 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17376 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17377 cat >conftest.$ac_ext <<_ACEOF
17378 /* confdefs.h. */
17379 _ACEOF
17380 cat confdefs.h >>conftest.$ac_ext
17381 cat >>conftest.$ac_ext <<_ACEOF
17382 /* end confdefs.h. */
17383 #include <$ac_header>
17384 _ACEOF
17385 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17386 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17387 ac_status=$?
17388 grep -v '^ *+' conftest.er1 >conftest.err
17389 rm -f conftest.er1
17390 cat conftest.err >&5
17391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17392 (exit $ac_status); } >/dev/null; then
17393 if test -s conftest.err; then
17394 ac_cpp_err=$ac_cxx_preproc_warn_flag
17395 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17396 else
17397 ac_cpp_err=
17398 fi
17399 else
17400 ac_cpp_err=yes
17401 fi
17402 if test -z "$ac_cpp_err"; then
17403 ac_header_preproc=yes
17404 else
17405 echo "$as_me: failed program was:" >&5
17406 sed 's/^/| /' conftest.$ac_ext >&5
17407
17408 ac_header_preproc=no
17409 fi
17410 rm -f conftest.err conftest.$ac_ext
17411 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17412 echo "${ECHO_T}$ac_header_preproc" >&6
17413
17414 # So? What about this header?
17415 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17416 yes:no: )
17417 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17418 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17419 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17420 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17421 ac_header_preproc=yes
17422 ;;
17423 no:yes:* )
17424 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17425 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17426 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17427 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17428 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17429 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17430 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17431 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17432 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17433 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17434 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17435 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17436 (
17437 cat <<\_ASBOX
17438 ## ----------------------------------------- ##
17439 ## Report this to wx-dev@lists.wxwidgets.org ##
17440 ## ----------------------------------------- ##
17441 _ASBOX
17442 ) |
17443 sed "s/^/$as_me: WARNING: /" >&2
17444 ;;
17445 esac
17446 echo "$as_me:$LINENO: checking for $ac_header" >&5
17447 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17448 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17449 echo $ECHO_N "(cached) $ECHO_C" >&6
17450 else
17451 eval "$as_ac_Header=\$ac_header_preproc"
17452 fi
17453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17454 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17455
17456 fi
17457 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17458 cat >>confdefs.h <<_ACEOF
17459 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17460 _ACEOF
17461
17462 fi
17463
17464 done
17465
17466 fi
17467
17468
17469 for ac_header in fnmatch.h
17470 do
17471 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17472 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17473 echo "$as_me:$LINENO: checking for $ac_header" >&5
17474 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17475 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17476 echo $ECHO_N "(cached) $ECHO_C" >&6
17477 fi
17478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17479 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17480 else
17481 # Is the header compilable?
17482 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17483 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17484 cat >conftest.$ac_ext <<_ACEOF
17485 /* confdefs.h. */
17486 _ACEOF
17487 cat confdefs.h >>conftest.$ac_ext
17488 cat >>conftest.$ac_ext <<_ACEOF
17489 /* end confdefs.h. */
17490 $ac_includes_default
17491 #include <$ac_header>
17492 _ACEOF
17493 rm -f conftest.$ac_objext
17494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17495 (eval $ac_compile) 2>conftest.er1
17496 ac_status=$?
17497 grep -v '^ *+' conftest.er1 >conftest.err
17498 rm -f conftest.er1
17499 cat conftest.err >&5
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); } &&
17502 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17504 (eval $ac_try) 2>&5
17505 ac_status=$?
17506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17507 (exit $ac_status); }; } &&
17508 { ac_try='test -s conftest.$ac_objext'
17509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17510 (eval $ac_try) 2>&5
17511 ac_status=$?
17512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17513 (exit $ac_status); }; }; then
17514 ac_header_compiler=yes
17515 else
17516 echo "$as_me: failed program was:" >&5
17517 sed 's/^/| /' conftest.$ac_ext >&5
17518
17519 ac_header_compiler=no
17520 fi
17521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17522 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17523 echo "${ECHO_T}$ac_header_compiler" >&6
17524
17525 # Is the header present?
17526 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17527 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17528 cat >conftest.$ac_ext <<_ACEOF
17529 /* confdefs.h. */
17530 _ACEOF
17531 cat confdefs.h >>conftest.$ac_ext
17532 cat >>conftest.$ac_ext <<_ACEOF
17533 /* end confdefs.h. */
17534 #include <$ac_header>
17535 _ACEOF
17536 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17537 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17538 ac_status=$?
17539 grep -v '^ *+' conftest.er1 >conftest.err
17540 rm -f conftest.er1
17541 cat conftest.err >&5
17542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17543 (exit $ac_status); } >/dev/null; then
17544 if test -s conftest.err; then
17545 ac_cpp_err=$ac_cxx_preproc_warn_flag
17546 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17547 else
17548 ac_cpp_err=
17549 fi
17550 else
17551 ac_cpp_err=yes
17552 fi
17553 if test -z "$ac_cpp_err"; then
17554 ac_header_preproc=yes
17555 else
17556 echo "$as_me: failed program was:" >&5
17557 sed 's/^/| /' conftest.$ac_ext >&5
17558
17559 ac_header_preproc=no
17560 fi
17561 rm -f conftest.err conftest.$ac_ext
17562 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17563 echo "${ECHO_T}$ac_header_preproc" >&6
17564
17565 # So? What about this header?
17566 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17567 yes:no: )
17568 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17569 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17570 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17571 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17572 ac_header_preproc=yes
17573 ;;
17574 no:yes:* )
17575 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17576 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17577 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17578 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17579 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17580 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17581 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17582 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17583 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17584 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17585 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17586 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17587 (
17588 cat <<\_ASBOX
17589 ## ----------------------------------------- ##
17590 ## Report this to wx-dev@lists.wxwidgets.org ##
17591 ## ----------------------------------------- ##
17592 _ASBOX
17593 ) |
17594 sed "s/^/$as_me: WARNING: /" >&2
17595 ;;
17596 esac
17597 echo "$as_me:$LINENO: checking for $ac_header" >&5
17598 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17599 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17600 echo $ECHO_N "(cached) $ECHO_C" >&6
17601 else
17602 eval "$as_ac_Header=\$ac_header_preproc"
17603 fi
17604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17605 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17606
17607 fi
17608 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17609 cat >>confdefs.h <<_ACEOF
17610 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17611 _ACEOF
17612
17613 fi
17614
17615 done
17616
17617
17618
17619 for ac_header in langinfo.h
17620 do
17621 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17622 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17623 echo "$as_me:$LINENO: checking for $ac_header" >&5
17624 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17625 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17626 echo $ECHO_N "(cached) $ECHO_C" >&6
17627 fi
17628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17629 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17630 else
17631 # Is the header compilable?
17632 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17633 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17634 cat >conftest.$ac_ext <<_ACEOF
17635 /* confdefs.h. */
17636 _ACEOF
17637 cat confdefs.h >>conftest.$ac_ext
17638 cat >>conftest.$ac_ext <<_ACEOF
17639 /* end confdefs.h. */
17640 $ac_includes_default
17641 #include <$ac_header>
17642 _ACEOF
17643 rm -f conftest.$ac_objext
17644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17645 (eval $ac_compile) 2>conftest.er1
17646 ac_status=$?
17647 grep -v '^ *+' conftest.er1 >conftest.err
17648 rm -f conftest.er1
17649 cat conftest.err >&5
17650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17651 (exit $ac_status); } &&
17652 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17654 (eval $ac_try) 2>&5
17655 ac_status=$?
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); }; } &&
17658 { ac_try='test -s conftest.$ac_objext'
17659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17660 (eval $ac_try) 2>&5
17661 ac_status=$?
17662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17663 (exit $ac_status); }; }; then
17664 ac_header_compiler=yes
17665 else
17666 echo "$as_me: failed program was:" >&5
17667 sed 's/^/| /' conftest.$ac_ext >&5
17668
17669 ac_header_compiler=no
17670 fi
17671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17672 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17673 echo "${ECHO_T}$ac_header_compiler" >&6
17674
17675 # Is the header present?
17676 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17677 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17678 cat >conftest.$ac_ext <<_ACEOF
17679 /* confdefs.h. */
17680 _ACEOF
17681 cat confdefs.h >>conftest.$ac_ext
17682 cat >>conftest.$ac_ext <<_ACEOF
17683 /* end confdefs.h. */
17684 #include <$ac_header>
17685 _ACEOF
17686 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17687 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17688 ac_status=$?
17689 grep -v '^ *+' conftest.er1 >conftest.err
17690 rm -f conftest.er1
17691 cat conftest.err >&5
17692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17693 (exit $ac_status); } >/dev/null; then
17694 if test -s conftest.err; then
17695 ac_cpp_err=$ac_cxx_preproc_warn_flag
17696 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17697 else
17698 ac_cpp_err=
17699 fi
17700 else
17701 ac_cpp_err=yes
17702 fi
17703 if test -z "$ac_cpp_err"; then
17704 ac_header_preproc=yes
17705 else
17706 echo "$as_me: failed program was:" >&5
17707 sed 's/^/| /' conftest.$ac_ext >&5
17708
17709 ac_header_preproc=no
17710 fi
17711 rm -f conftest.err conftest.$ac_ext
17712 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17713 echo "${ECHO_T}$ac_header_preproc" >&6
17714
17715 # So? What about this header?
17716 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17717 yes:no: )
17718 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17719 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17720 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17721 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17722 ac_header_preproc=yes
17723 ;;
17724 no:yes:* )
17725 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17726 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17727 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17728 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17729 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17730 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17731 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17732 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17733 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17734 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17735 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17736 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17737 (
17738 cat <<\_ASBOX
17739 ## ----------------------------------------- ##
17740 ## Report this to wx-dev@lists.wxwidgets.org ##
17741 ## ----------------------------------------- ##
17742 _ASBOX
17743 ) |
17744 sed "s/^/$as_me: WARNING: /" >&2
17745 ;;
17746 esac
17747 echo "$as_me:$LINENO: checking for $ac_header" >&5
17748 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17749 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17750 echo $ECHO_N "(cached) $ECHO_C" >&6
17751 else
17752 eval "$as_ac_Header=\$ac_header_preproc"
17753 fi
17754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17755 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17756
17757 fi
17758 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17759 cat >>confdefs.h <<_ACEOF
17760 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17761 _ACEOF
17762
17763 fi
17764
17765 done
17766
17767
17768 case "${host}" in
17769 *-pc-os2_emx | *-pc-os2-emx )
17770 if test $ac_cv_header_langinfo_h = "yes" \
17771 -a \( "$wx_cv_gccversion" = "EMX2" \
17772 -o "$wx_cv_gccversion" = "EMX3" \
17773 -o "$wx_cv_gccversion" = "Innotek5" \); then
17774 LIBS="$LIBS -lintl"
17775 fi
17776 ;;
17777 esac
17778
17779 if test "$USE_UNIX" = 1 ; then
17780
17781 for ac_header in sys/select.h
17782 do
17783 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17784 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17785 echo "$as_me:$LINENO: checking for $ac_header" >&5
17786 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17787 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17788 echo $ECHO_N "(cached) $ECHO_C" >&6
17789 fi
17790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17791 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17792 else
17793 # Is the header compilable?
17794 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17795 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17796 cat >conftest.$ac_ext <<_ACEOF
17797 /* confdefs.h. */
17798 _ACEOF
17799 cat confdefs.h >>conftest.$ac_ext
17800 cat >>conftest.$ac_ext <<_ACEOF
17801 /* end confdefs.h. */
17802 $ac_includes_default
17803 #include <$ac_header>
17804 _ACEOF
17805 rm -f conftest.$ac_objext
17806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17807 (eval $ac_compile) 2>conftest.er1
17808 ac_status=$?
17809 grep -v '^ *+' conftest.er1 >conftest.err
17810 rm -f conftest.er1
17811 cat conftest.err >&5
17812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17813 (exit $ac_status); } &&
17814 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17816 (eval $ac_try) 2>&5
17817 ac_status=$?
17818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17819 (exit $ac_status); }; } &&
17820 { ac_try='test -s conftest.$ac_objext'
17821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17822 (eval $ac_try) 2>&5
17823 ac_status=$?
17824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17825 (exit $ac_status); }; }; then
17826 ac_header_compiler=yes
17827 else
17828 echo "$as_me: failed program was:" >&5
17829 sed 's/^/| /' conftest.$ac_ext >&5
17830
17831 ac_header_compiler=no
17832 fi
17833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17834 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17835 echo "${ECHO_T}$ac_header_compiler" >&6
17836
17837 # Is the header present?
17838 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17839 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17840 cat >conftest.$ac_ext <<_ACEOF
17841 /* confdefs.h. */
17842 _ACEOF
17843 cat confdefs.h >>conftest.$ac_ext
17844 cat >>conftest.$ac_ext <<_ACEOF
17845 /* end confdefs.h. */
17846 #include <$ac_header>
17847 _ACEOF
17848 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17849 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17850 ac_status=$?
17851 grep -v '^ *+' conftest.er1 >conftest.err
17852 rm -f conftest.er1
17853 cat conftest.err >&5
17854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17855 (exit $ac_status); } >/dev/null; then
17856 if test -s conftest.err; then
17857 ac_cpp_err=$ac_cxx_preproc_warn_flag
17858 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17859 else
17860 ac_cpp_err=
17861 fi
17862 else
17863 ac_cpp_err=yes
17864 fi
17865 if test -z "$ac_cpp_err"; then
17866 ac_header_preproc=yes
17867 else
17868 echo "$as_me: failed program was:" >&5
17869 sed 's/^/| /' conftest.$ac_ext >&5
17870
17871 ac_header_preproc=no
17872 fi
17873 rm -f conftest.err conftest.$ac_ext
17874 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17875 echo "${ECHO_T}$ac_header_preproc" >&6
17876
17877 # So? What about this header?
17878 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17879 yes:no: )
17880 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17881 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17882 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17883 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17884 ac_header_preproc=yes
17885 ;;
17886 no:yes:* )
17887 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17888 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17889 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17890 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17891 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17892 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17893 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17894 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17895 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17896 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17897 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17898 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17899 (
17900 cat <<\_ASBOX
17901 ## ----------------------------------------- ##
17902 ## Report this to wx-dev@lists.wxwidgets.org ##
17903 ## ----------------------------------------- ##
17904 _ASBOX
17905 ) |
17906 sed "s/^/$as_me: WARNING: /" >&2
17907 ;;
17908 esac
17909 echo "$as_me:$LINENO: checking for $ac_header" >&5
17910 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17912 echo $ECHO_N "(cached) $ECHO_C" >&6
17913 else
17914 eval "$as_ac_Header=\$ac_header_preproc"
17915 fi
17916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17917 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17918
17919 fi
17920 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17921 cat >>confdefs.h <<_ACEOF
17922 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17923 _ACEOF
17924
17925 fi
17926
17927 done
17928
17929 fi
17930
17931
17932 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17933 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17934 if test "${ac_cv_c_const+set}" = set; then
17935 echo $ECHO_N "(cached) $ECHO_C" >&6
17936 else
17937 cat >conftest.$ac_ext <<_ACEOF
17938 /* confdefs.h. */
17939 _ACEOF
17940 cat confdefs.h >>conftest.$ac_ext
17941 cat >>conftest.$ac_ext <<_ACEOF
17942 /* end confdefs.h. */
17943
17944 int
17945 main ()
17946 {
17947 /* FIXME: Include the comments suggested by Paul. */
17948 #ifndef __cplusplus
17949 /* Ultrix mips cc rejects this. */
17950 typedef int charset[2];
17951 const charset x;
17952 /* SunOS 4.1.1 cc rejects this. */
17953 char const *const *ccp;
17954 char **p;
17955 /* NEC SVR4.0.2 mips cc rejects this. */
17956 struct point {int x, y;};
17957 static struct point const zero = {0,0};
17958 /* AIX XL C 1.02.0.0 rejects this.
17959 It does not let you subtract one const X* pointer from another in
17960 an arm of an if-expression whose if-part is not a constant
17961 expression */
17962 const char *g = "string";
17963 ccp = &g + (g ? g-g : 0);
17964 /* HPUX 7.0 cc rejects these. */
17965 ++ccp;
17966 p = (char**) ccp;
17967 ccp = (char const *const *) p;
17968 { /* SCO 3.2v4 cc rejects this. */
17969 char *t;
17970 char const *s = 0 ? (char *) 0 : (char const *) 0;
17971
17972 *t++ = 0;
17973 }
17974 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17975 int x[] = {25, 17};
17976 const int *foo = &x[0];
17977 ++foo;
17978 }
17979 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17980 typedef const int *iptr;
17981 iptr p = 0;
17982 ++p;
17983 }
17984 { /* AIX XL C 1.02.0.0 rejects this saying
17985 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17986 struct s { int j; const int *ap[3]; };
17987 struct s *b; b->j = 5;
17988 }
17989 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17990 const int foo = 10;
17991 }
17992 #endif
17993
17994 ;
17995 return 0;
17996 }
17997 _ACEOF
17998 rm -f conftest.$ac_objext
17999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18000 (eval $ac_compile) 2>conftest.er1
18001 ac_status=$?
18002 grep -v '^ *+' conftest.er1 >conftest.err
18003 rm -f conftest.er1
18004 cat conftest.err >&5
18005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18006 (exit $ac_status); } &&
18007 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18009 (eval $ac_try) 2>&5
18010 ac_status=$?
18011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18012 (exit $ac_status); }; } &&
18013 { ac_try='test -s conftest.$ac_objext'
18014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18015 (eval $ac_try) 2>&5
18016 ac_status=$?
18017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18018 (exit $ac_status); }; }; then
18019 ac_cv_c_const=yes
18020 else
18021 echo "$as_me: failed program was:" >&5
18022 sed 's/^/| /' conftest.$ac_ext >&5
18023
18024 ac_cv_c_const=no
18025 fi
18026 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18027 fi
18028 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18029 echo "${ECHO_T}$ac_cv_c_const" >&6
18030 if test $ac_cv_c_const = no; then
18031
18032 cat >>confdefs.h <<\_ACEOF
18033 #define const
18034 _ACEOF
18035
18036 fi
18037
18038 echo "$as_me:$LINENO: checking for inline" >&5
18039 echo $ECHO_N "checking for inline... $ECHO_C" >&6
18040 if test "${ac_cv_c_inline+set}" = set; then
18041 echo $ECHO_N "(cached) $ECHO_C" >&6
18042 else
18043 ac_cv_c_inline=no
18044 for ac_kw in inline __inline__ __inline; do
18045 cat >conftest.$ac_ext <<_ACEOF
18046 /* confdefs.h. */
18047 _ACEOF
18048 cat confdefs.h >>conftest.$ac_ext
18049 cat >>conftest.$ac_ext <<_ACEOF
18050 /* end confdefs.h. */
18051 #ifndef __cplusplus
18052 typedef int foo_t;
18053 static $ac_kw foo_t static_foo () {return 0; }
18054 $ac_kw foo_t foo () {return 0; }
18055 #endif
18056
18057 _ACEOF
18058 rm -f conftest.$ac_objext
18059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18060 (eval $ac_compile) 2>conftest.er1
18061 ac_status=$?
18062 grep -v '^ *+' conftest.er1 >conftest.err
18063 rm -f conftest.er1
18064 cat conftest.err >&5
18065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18066 (exit $ac_status); } &&
18067 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18069 (eval $ac_try) 2>&5
18070 ac_status=$?
18071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18072 (exit $ac_status); }; } &&
18073 { ac_try='test -s conftest.$ac_objext'
18074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18075 (eval $ac_try) 2>&5
18076 ac_status=$?
18077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18078 (exit $ac_status); }; }; then
18079 ac_cv_c_inline=$ac_kw; break
18080 else
18081 echo "$as_me: failed program was:" >&5
18082 sed 's/^/| /' conftest.$ac_ext >&5
18083
18084 fi
18085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18086 done
18087
18088 fi
18089 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18090 echo "${ECHO_T}$ac_cv_c_inline" >&6
18091
18092
18093 case $ac_cv_c_inline in
18094 inline | yes) ;;
18095 *)
18096 case $ac_cv_c_inline in
18097 no) ac_val=;;
18098 *) ac_val=$ac_cv_c_inline;;
18099 esac
18100 cat >>confdefs.h <<_ACEOF
18101 #ifndef __cplusplus
18102 #define inline $ac_val
18103 #endif
18104 _ACEOF
18105 ;;
18106 esac
18107
18108
18109 echo "$as_me:$LINENO: checking for char" >&5
18110 echo $ECHO_N "checking for char... $ECHO_C" >&6
18111 if test "${ac_cv_type_char+set}" = set; then
18112 echo $ECHO_N "(cached) $ECHO_C" >&6
18113 else
18114 cat >conftest.$ac_ext <<_ACEOF
18115 /* confdefs.h. */
18116 _ACEOF
18117 cat confdefs.h >>conftest.$ac_ext
18118 cat >>conftest.$ac_ext <<_ACEOF
18119 /* end confdefs.h. */
18120 $ac_includes_default
18121 int
18122 main ()
18123 {
18124 if ((char *) 0)
18125 return 0;
18126 if (sizeof (char))
18127 return 0;
18128 ;
18129 return 0;
18130 }
18131 _ACEOF
18132 rm -f conftest.$ac_objext
18133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18134 (eval $ac_compile) 2>conftest.er1
18135 ac_status=$?
18136 grep -v '^ *+' conftest.er1 >conftest.err
18137 rm -f conftest.er1
18138 cat conftest.err >&5
18139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18140 (exit $ac_status); } &&
18141 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18143 (eval $ac_try) 2>&5
18144 ac_status=$?
18145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18146 (exit $ac_status); }; } &&
18147 { ac_try='test -s conftest.$ac_objext'
18148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18149 (eval $ac_try) 2>&5
18150 ac_status=$?
18151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18152 (exit $ac_status); }; }; then
18153 ac_cv_type_char=yes
18154 else
18155 echo "$as_me: failed program was:" >&5
18156 sed 's/^/| /' conftest.$ac_ext >&5
18157
18158 ac_cv_type_char=no
18159 fi
18160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18161 fi
18162 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18163 echo "${ECHO_T}$ac_cv_type_char" >&6
18164
18165 echo "$as_me:$LINENO: checking size of char" >&5
18166 echo $ECHO_N "checking size of char... $ECHO_C" >&6
18167 if test "${ac_cv_sizeof_char+set}" = set; then
18168 echo $ECHO_N "(cached) $ECHO_C" >&6
18169 else
18170 if test "$ac_cv_type_char" = yes; then
18171 # The cast to unsigned long works around a bug in the HP C Compiler
18172 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18173 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18174 # This bug is HP SR number 8606223364.
18175 if test "$cross_compiling" = yes; then
18176 # Depending upon the size, compute the lo and hi bounds.
18177 cat >conftest.$ac_ext <<_ACEOF
18178 /* confdefs.h. */
18179 _ACEOF
18180 cat confdefs.h >>conftest.$ac_ext
18181 cat >>conftest.$ac_ext <<_ACEOF
18182 /* end confdefs.h. */
18183 $ac_includes_default
18184 int
18185 main ()
18186 {
18187 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
18188 test_array [0] = 0
18189
18190 ;
18191 return 0;
18192 }
18193 _ACEOF
18194 rm -f conftest.$ac_objext
18195 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18196 (eval $ac_compile) 2>conftest.er1
18197 ac_status=$?
18198 grep -v '^ *+' conftest.er1 >conftest.err
18199 rm -f conftest.er1
18200 cat conftest.err >&5
18201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18202 (exit $ac_status); } &&
18203 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18205 (eval $ac_try) 2>&5
18206 ac_status=$?
18207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18208 (exit $ac_status); }; } &&
18209 { ac_try='test -s conftest.$ac_objext'
18210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18211 (eval $ac_try) 2>&5
18212 ac_status=$?
18213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18214 (exit $ac_status); }; }; then
18215 ac_lo=0 ac_mid=0
18216 while :; do
18217 cat >conftest.$ac_ext <<_ACEOF
18218 /* confdefs.h. */
18219 _ACEOF
18220 cat confdefs.h >>conftest.$ac_ext
18221 cat >>conftest.$ac_ext <<_ACEOF
18222 /* end confdefs.h. */
18223 $ac_includes_default
18224 int
18225 main ()
18226 {
18227 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18228 test_array [0] = 0
18229
18230 ;
18231 return 0;
18232 }
18233 _ACEOF
18234 rm -f conftest.$ac_objext
18235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18236 (eval $ac_compile) 2>conftest.er1
18237 ac_status=$?
18238 grep -v '^ *+' conftest.er1 >conftest.err
18239 rm -f conftest.er1
18240 cat conftest.err >&5
18241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18242 (exit $ac_status); } &&
18243 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18245 (eval $ac_try) 2>&5
18246 ac_status=$?
18247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18248 (exit $ac_status); }; } &&
18249 { ac_try='test -s conftest.$ac_objext'
18250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18251 (eval $ac_try) 2>&5
18252 ac_status=$?
18253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18254 (exit $ac_status); }; }; then
18255 ac_hi=$ac_mid; break
18256 else
18257 echo "$as_me: failed program was:" >&5
18258 sed 's/^/| /' conftest.$ac_ext >&5
18259
18260 ac_lo=`expr $ac_mid + 1`
18261 if test $ac_lo -le $ac_mid; then
18262 ac_lo= ac_hi=
18263 break
18264 fi
18265 ac_mid=`expr 2 '*' $ac_mid + 1`
18266 fi
18267 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18268 done
18269 else
18270 echo "$as_me: failed program was:" >&5
18271 sed 's/^/| /' conftest.$ac_ext >&5
18272
18273 cat >conftest.$ac_ext <<_ACEOF
18274 /* confdefs.h. */
18275 _ACEOF
18276 cat confdefs.h >>conftest.$ac_ext
18277 cat >>conftest.$ac_ext <<_ACEOF
18278 /* end confdefs.h. */
18279 $ac_includes_default
18280 int
18281 main ()
18282 {
18283 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18284 test_array [0] = 0
18285
18286 ;
18287 return 0;
18288 }
18289 _ACEOF
18290 rm -f conftest.$ac_objext
18291 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18292 (eval $ac_compile) 2>conftest.er1
18293 ac_status=$?
18294 grep -v '^ *+' conftest.er1 >conftest.err
18295 rm -f conftest.er1
18296 cat conftest.err >&5
18297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18298 (exit $ac_status); } &&
18299 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
18305 { ac_try='test -s conftest.$ac_objext'
18306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18307 (eval $ac_try) 2>&5
18308 ac_status=$?
18309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18310 (exit $ac_status); }; }; then
18311 ac_hi=-1 ac_mid=-1
18312 while :; do
18313 cat >conftest.$ac_ext <<_ACEOF
18314 /* confdefs.h. */
18315 _ACEOF
18316 cat confdefs.h >>conftest.$ac_ext
18317 cat >>conftest.$ac_ext <<_ACEOF
18318 /* end confdefs.h. */
18319 $ac_includes_default
18320 int
18321 main ()
18322 {
18323 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18324 test_array [0] = 0
18325
18326 ;
18327 return 0;
18328 }
18329 _ACEOF
18330 rm -f conftest.$ac_objext
18331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18332 (eval $ac_compile) 2>conftest.er1
18333 ac_status=$?
18334 grep -v '^ *+' conftest.er1 >conftest.err
18335 rm -f conftest.er1
18336 cat conftest.err >&5
18337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18338 (exit $ac_status); } &&
18339 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18341 (eval $ac_try) 2>&5
18342 ac_status=$?
18343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18344 (exit $ac_status); }; } &&
18345 { ac_try='test -s conftest.$ac_objext'
18346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18347 (eval $ac_try) 2>&5
18348 ac_status=$?
18349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18350 (exit $ac_status); }; }; then
18351 ac_lo=$ac_mid; break
18352 else
18353 echo "$as_me: failed program was:" >&5
18354 sed 's/^/| /' conftest.$ac_ext >&5
18355
18356 ac_hi=`expr '(' $ac_mid ')' - 1`
18357 if test $ac_mid -le $ac_hi; then
18358 ac_lo= ac_hi=
18359 break
18360 fi
18361 ac_mid=`expr 2 '*' $ac_mid`
18362 fi
18363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18364 done
18365 else
18366 echo "$as_me: failed program was:" >&5
18367 sed 's/^/| /' conftest.$ac_ext >&5
18368
18369 ac_lo= ac_hi=
18370 fi
18371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18372 fi
18373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18374 # Binary search between lo and hi bounds.
18375 while test "x$ac_lo" != "x$ac_hi"; do
18376 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18377 cat >conftest.$ac_ext <<_ACEOF
18378 /* confdefs.h. */
18379 _ACEOF
18380 cat confdefs.h >>conftest.$ac_ext
18381 cat >>conftest.$ac_ext <<_ACEOF
18382 /* end confdefs.h. */
18383 $ac_includes_default
18384 int
18385 main ()
18386 {
18387 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18388 test_array [0] = 0
18389
18390 ;
18391 return 0;
18392 }
18393 _ACEOF
18394 rm -f conftest.$ac_objext
18395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18396 (eval $ac_compile) 2>conftest.er1
18397 ac_status=$?
18398 grep -v '^ *+' conftest.er1 >conftest.err
18399 rm -f conftest.er1
18400 cat conftest.err >&5
18401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18402 (exit $ac_status); } &&
18403 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18405 (eval $ac_try) 2>&5
18406 ac_status=$?
18407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18408 (exit $ac_status); }; } &&
18409 { ac_try='test -s conftest.$ac_objext'
18410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18411 (eval $ac_try) 2>&5
18412 ac_status=$?
18413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18414 (exit $ac_status); }; }; then
18415 ac_hi=$ac_mid
18416 else
18417 echo "$as_me: failed program was:" >&5
18418 sed 's/^/| /' conftest.$ac_ext >&5
18419
18420 ac_lo=`expr '(' $ac_mid ')' + 1`
18421 fi
18422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18423 done
18424 case $ac_lo in
18425 ?*) ac_cv_sizeof_char=$ac_lo;;
18426 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18427 See \`config.log' for more details." >&5
18428 echo "$as_me: error: cannot compute sizeof (char), 77
18429 See \`config.log' for more details." >&2;}
18430 { (exit 1); exit 1; }; } ;;
18431 esac
18432 else
18433 if test "$cross_compiling" = yes; then
18434 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18435 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18436 { (exit 1); exit 1; }; }
18437 else
18438 cat >conftest.$ac_ext <<_ACEOF
18439 /* confdefs.h. */
18440 _ACEOF
18441 cat confdefs.h >>conftest.$ac_ext
18442 cat >>conftest.$ac_ext <<_ACEOF
18443 /* end confdefs.h. */
18444 $ac_includes_default
18445 long longval () { return (long) (sizeof (char)); }
18446 unsigned long ulongval () { return (long) (sizeof (char)); }
18447 #include <stdio.h>
18448 #include <stdlib.h>
18449 int
18450 main ()
18451 {
18452
18453 FILE *f = fopen ("conftest.val", "w");
18454 if (! f)
18455 exit (1);
18456 if (((long) (sizeof (char))) < 0)
18457 {
18458 long i = longval ();
18459 if (i != ((long) (sizeof (char))))
18460 exit (1);
18461 fprintf (f, "%ld\n", i);
18462 }
18463 else
18464 {
18465 unsigned long i = ulongval ();
18466 if (i != ((long) (sizeof (char))))
18467 exit (1);
18468 fprintf (f, "%lu\n", i);
18469 }
18470 exit (ferror (f) || fclose (f) != 0);
18471
18472 ;
18473 return 0;
18474 }
18475 _ACEOF
18476 rm -f conftest$ac_exeext
18477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18478 (eval $ac_link) 2>&5
18479 ac_status=$?
18480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18481 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18483 (eval $ac_try) 2>&5
18484 ac_status=$?
18485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18486 (exit $ac_status); }; }; then
18487 ac_cv_sizeof_char=`cat conftest.val`
18488 else
18489 echo "$as_me: program exited with status $ac_status" >&5
18490 echo "$as_me: failed program was:" >&5
18491 sed 's/^/| /' conftest.$ac_ext >&5
18492
18493 ( exit $ac_status )
18494 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18495 See \`config.log' for more details." >&5
18496 echo "$as_me: error: cannot compute sizeof (char), 77
18497 See \`config.log' for more details." >&2;}
18498 { (exit 1); exit 1; }; }
18499 fi
18500 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18501 fi
18502 fi
18503 rm -f conftest.val
18504 else
18505 ac_cv_sizeof_char=0
18506 fi
18507 fi
18508 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18509 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18510 cat >>confdefs.h <<_ACEOF
18511 #define SIZEOF_CHAR $ac_cv_sizeof_char
18512 _ACEOF
18513
18514
18515 echo "$as_me:$LINENO: checking for short" >&5
18516 echo $ECHO_N "checking for short... $ECHO_C" >&6
18517 if test "${ac_cv_type_short+set}" = set; then
18518 echo $ECHO_N "(cached) $ECHO_C" >&6
18519 else
18520 cat >conftest.$ac_ext <<_ACEOF
18521 /* confdefs.h. */
18522 _ACEOF
18523 cat confdefs.h >>conftest.$ac_ext
18524 cat >>conftest.$ac_ext <<_ACEOF
18525 /* end confdefs.h. */
18526 $ac_includes_default
18527 int
18528 main ()
18529 {
18530 if ((short *) 0)
18531 return 0;
18532 if (sizeof (short))
18533 return 0;
18534 ;
18535 return 0;
18536 }
18537 _ACEOF
18538 rm -f conftest.$ac_objext
18539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18540 (eval $ac_compile) 2>conftest.er1
18541 ac_status=$?
18542 grep -v '^ *+' conftest.er1 >conftest.err
18543 rm -f conftest.er1
18544 cat conftest.err >&5
18545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18546 (exit $ac_status); } &&
18547 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18549 (eval $ac_try) 2>&5
18550 ac_status=$?
18551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18552 (exit $ac_status); }; } &&
18553 { ac_try='test -s conftest.$ac_objext'
18554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18555 (eval $ac_try) 2>&5
18556 ac_status=$?
18557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18558 (exit $ac_status); }; }; then
18559 ac_cv_type_short=yes
18560 else
18561 echo "$as_me: failed program was:" >&5
18562 sed 's/^/| /' conftest.$ac_ext >&5
18563
18564 ac_cv_type_short=no
18565 fi
18566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18567 fi
18568 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18569 echo "${ECHO_T}$ac_cv_type_short" >&6
18570
18571 echo "$as_me:$LINENO: checking size of short" >&5
18572 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18573 if test "${ac_cv_sizeof_short+set}" = set; then
18574 echo $ECHO_N "(cached) $ECHO_C" >&6
18575 else
18576 if test "$ac_cv_type_short" = yes; then
18577 # The cast to unsigned long works around a bug in the HP C Compiler
18578 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18579 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18580 # This bug is HP SR number 8606223364.
18581 if test "$cross_compiling" = yes; then
18582 # Depending upon the size, compute the lo and hi bounds.
18583 cat >conftest.$ac_ext <<_ACEOF
18584 /* confdefs.h. */
18585 _ACEOF
18586 cat confdefs.h >>conftest.$ac_ext
18587 cat >>conftest.$ac_ext <<_ACEOF
18588 /* end confdefs.h. */
18589 $ac_includes_default
18590 int
18591 main ()
18592 {
18593 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18594 test_array [0] = 0
18595
18596 ;
18597 return 0;
18598 }
18599 _ACEOF
18600 rm -f conftest.$ac_objext
18601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18602 (eval $ac_compile) 2>conftest.er1
18603 ac_status=$?
18604 grep -v '^ *+' conftest.er1 >conftest.err
18605 rm -f conftest.er1
18606 cat conftest.err >&5
18607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18608 (exit $ac_status); } &&
18609 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18611 (eval $ac_try) 2>&5
18612 ac_status=$?
18613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18614 (exit $ac_status); }; } &&
18615 { ac_try='test -s conftest.$ac_objext'
18616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18617 (eval $ac_try) 2>&5
18618 ac_status=$?
18619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18620 (exit $ac_status); }; }; then
18621 ac_lo=0 ac_mid=0
18622 while :; do
18623 cat >conftest.$ac_ext <<_ACEOF
18624 /* confdefs.h. */
18625 _ACEOF
18626 cat confdefs.h >>conftest.$ac_ext
18627 cat >>conftest.$ac_ext <<_ACEOF
18628 /* end confdefs.h. */
18629 $ac_includes_default
18630 int
18631 main ()
18632 {
18633 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18634 test_array [0] = 0
18635
18636 ;
18637 return 0;
18638 }
18639 _ACEOF
18640 rm -f conftest.$ac_objext
18641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18642 (eval $ac_compile) 2>conftest.er1
18643 ac_status=$?
18644 grep -v '^ *+' conftest.er1 >conftest.err
18645 rm -f conftest.er1
18646 cat conftest.err >&5
18647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18648 (exit $ac_status); } &&
18649 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18651 (eval $ac_try) 2>&5
18652 ac_status=$?
18653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18654 (exit $ac_status); }; } &&
18655 { ac_try='test -s conftest.$ac_objext'
18656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18657 (eval $ac_try) 2>&5
18658 ac_status=$?
18659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18660 (exit $ac_status); }; }; then
18661 ac_hi=$ac_mid; break
18662 else
18663 echo "$as_me: failed program was:" >&5
18664 sed 's/^/| /' conftest.$ac_ext >&5
18665
18666 ac_lo=`expr $ac_mid + 1`
18667 if test $ac_lo -le $ac_mid; then
18668 ac_lo= ac_hi=
18669 break
18670 fi
18671 ac_mid=`expr 2 '*' $ac_mid + 1`
18672 fi
18673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18674 done
18675 else
18676 echo "$as_me: failed program was:" >&5
18677 sed 's/^/| /' conftest.$ac_ext >&5
18678
18679 cat >conftest.$ac_ext <<_ACEOF
18680 /* confdefs.h. */
18681 _ACEOF
18682 cat confdefs.h >>conftest.$ac_ext
18683 cat >>conftest.$ac_ext <<_ACEOF
18684 /* end confdefs.h. */
18685 $ac_includes_default
18686 int
18687 main ()
18688 {
18689 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18690 test_array [0] = 0
18691
18692 ;
18693 return 0;
18694 }
18695 _ACEOF
18696 rm -f conftest.$ac_objext
18697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18698 (eval $ac_compile) 2>conftest.er1
18699 ac_status=$?
18700 grep -v '^ *+' conftest.er1 >conftest.err
18701 rm -f conftest.er1
18702 cat conftest.err >&5
18703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18704 (exit $ac_status); } &&
18705 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
18711 { ac_try='test -s conftest.$ac_objext'
18712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18713 (eval $ac_try) 2>&5
18714 ac_status=$?
18715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18716 (exit $ac_status); }; }; then
18717 ac_hi=-1 ac_mid=-1
18718 while :; do
18719 cat >conftest.$ac_ext <<_ACEOF
18720 /* confdefs.h. */
18721 _ACEOF
18722 cat confdefs.h >>conftest.$ac_ext
18723 cat >>conftest.$ac_ext <<_ACEOF
18724 /* end confdefs.h. */
18725 $ac_includes_default
18726 int
18727 main ()
18728 {
18729 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18730 test_array [0] = 0
18731
18732 ;
18733 return 0;
18734 }
18735 _ACEOF
18736 rm -f conftest.$ac_objext
18737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18738 (eval $ac_compile) 2>conftest.er1
18739 ac_status=$?
18740 grep -v '^ *+' conftest.er1 >conftest.err
18741 rm -f conftest.er1
18742 cat conftest.err >&5
18743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18744 (exit $ac_status); } &&
18745 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18747 (eval $ac_try) 2>&5
18748 ac_status=$?
18749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18750 (exit $ac_status); }; } &&
18751 { ac_try='test -s conftest.$ac_objext'
18752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18753 (eval $ac_try) 2>&5
18754 ac_status=$?
18755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18756 (exit $ac_status); }; }; then
18757 ac_lo=$ac_mid; break
18758 else
18759 echo "$as_me: failed program was:" >&5
18760 sed 's/^/| /' conftest.$ac_ext >&5
18761
18762 ac_hi=`expr '(' $ac_mid ')' - 1`
18763 if test $ac_mid -le $ac_hi; then
18764 ac_lo= ac_hi=
18765 break
18766 fi
18767 ac_mid=`expr 2 '*' $ac_mid`
18768 fi
18769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18770 done
18771 else
18772 echo "$as_me: failed program was:" >&5
18773 sed 's/^/| /' conftest.$ac_ext >&5
18774
18775 ac_lo= ac_hi=
18776 fi
18777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18778 fi
18779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18780 # Binary search between lo and hi bounds.
18781 while test "x$ac_lo" != "x$ac_hi"; do
18782 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18783 cat >conftest.$ac_ext <<_ACEOF
18784 /* confdefs.h. */
18785 _ACEOF
18786 cat confdefs.h >>conftest.$ac_ext
18787 cat >>conftest.$ac_ext <<_ACEOF
18788 /* end confdefs.h. */
18789 $ac_includes_default
18790 int
18791 main ()
18792 {
18793 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18794 test_array [0] = 0
18795
18796 ;
18797 return 0;
18798 }
18799 _ACEOF
18800 rm -f conftest.$ac_objext
18801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18802 (eval $ac_compile) 2>conftest.er1
18803 ac_status=$?
18804 grep -v '^ *+' conftest.er1 >conftest.err
18805 rm -f conftest.er1
18806 cat conftest.err >&5
18807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18808 (exit $ac_status); } &&
18809 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18811 (eval $ac_try) 2>&5
18812 ac_status=$?
18813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18814 (exit $ac_status); }; } &&
18815 { ac_try='test -s conftest.$ac_objext'
18816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18817 (eval $ac_try) 2>&5
18818 ac_status=$?
18819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18820 (exit $ac_status); }; }; then
18821 ac_hi=$ac_mid
18822 else
18823 echo "$as_me: failed program was:" >&5
18824 sed 's/^/| /' conftest.$ac_ext >&5
18825
18826 ac_lo=`expr '(' $ac_mid ')' + 1`
18827 fi
18828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18829 done
18830 case $ac_lo in
18831 ?*) ac_cv_sizeof_short=$ac_lo;;
18832 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18833 See \`config.log' for more details." >&5
18834 echo "$as_me: error: cannot compute sizeof (short), 77
18835 See \`config.log' for more details." >&2;}
18836 { (exit 1); exit 1; }; } ;;
18837 esac
18838 else
18839 if test "$cross_compiling" = yes; then
18840 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18841 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18842 { (exit 1); exit 1; }; }
18843 else
18844 cat >conftest.$ac_ext <<_ACEOF
18845 /* confdefs.h. */
18846 _ACEOF
18847 cat confdefs.h >>conftest.$ac_ext
18848 cat >>conftest.$ac_ext <<_ACEOF
18849 /* end confdefs.h. */
18850 $ac_includes_default
18851 long longval () { return (long) (sizeof (short)); }
18852 unsigned long ulongval () { return (long) (sizeof (short)); }
18853 #include <stdio.h>
18854 #include <stdlib.h>
18855 int
18856 main ()
18857 {
18858
18859 FILE *f = fopen ("conftest.val", "w");
18860 if (! f)
18861 exit (1);
18862 if (((long) (sizeof (short))) < 0)
18863 {
18864 long i = longval ();
18865 if (i != ((long) (sizeof (short))))
18866 exit (1);
18867 fprintf (f, "%ld\n", i);
18868 }
18869 else
18870 {
18871 unsigned long i = ulongval ();
18872 if (i != ((long) (sizeof (short))))
18873 exit (1);
18874 fprintf (f, "%lu\n", i);
18875 }
18876 exit (ferror (f) || fclose (f) != 0);
18877
18878 ;
18879 return 0;
18880 }
18881 _ACEOF
18882 rm -f conftest$ac_exeext
18883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18884 (eval $ac_link) 2>&5
18885 ac_status=$?
18886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18887 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18889 (eval $ac_try) 2>&5
18890 ac_status=$?
18891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18892 (exit $ac_status); }; }; then
18893 ac_cv_sizeof_short=`cat conftest.val`
18894 else
18895 echo "$as_me: program exited with status $ac_status" >&5
18896 echo "$as_me: failed program was:" >&5
18897 sed 's/^/| /' conftest.$ac_ext >&5
18898
18899 ( exit $ac_status )
18900 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18901 See \`config.log' for more details." >&5
18902 echo "$as_me: error: cannot compute sizeof (short), 77
18903 See \`config.log' for more details." >&2;}
18904 { (exit 1); exit 1; }; }
18905 fi
18906 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18907 fi
18908 fi
18909 rm -f conftest.val
18910 else
18911 ac_cv_sizeof_short=0
18912 fi
18913 fi
18914 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18915 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18916 cat >>confdefs.h <<_ACEOF
18917 #define SIZEOF_SHORT $ac_cv_sizeof_short
18918 _ACEOF
18919
18920
18921 echo "$as_me:$LINENO: checking for void *" >&5
18922 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18923 if test "${ac_cv_type_void_p+set}" = set; then
18924 echo $ECHO_N "(cached) $ECHO_C" >&6
18925 else
18926 cat >conftest.$ac_ext <<_ACEOF
18927 /* confdefs.h. */
18928 _ACEOF
18929 cat confdefs.h >>conftest.$ac_ext
18930 cat >>conftest.$ac_ext <<_ACEOF
18931 /* end confdefs.h. */
18932 $ac_includes_default
18933 int
18934 main ()
18935 {
18936 if ((void * *) 0)
18937 return 0;
18938 if (sizeof (void *))
18939 return 0;
18940 ;
18941 return 0;
18942 }
18943 _ACEOF
18944 rm -f conftest.$ac_objext
18945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18946 (eval $ac_compile) 2>conftest.er1
18947 ac_status=$?
18948 grep -v '^ *+' conftest.er1 >conftest.err
18949 rm -f conftest.er1
18950 cat conftest.err >&5
18951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18952 (exit $ac_status); } &&
18953 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18955 (eval $ac_try) 2>&5
18956 ac_status=$?
18957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18958 (exit $ac_status); }; } &&
18959 { ac_try='test -s conftest.$ac_objext'
18960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18961 (eval $ac_try) 2>&5
18962 ac_status=$?
18963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18964 (exit $ac_status); }; }; then
18965 ac_cv_type_void_p=yes
18966 else
18967 echo "$as_me: failed program was:" >&5
18968 sed 's/^/| /' conftest.$ac_ext >&5
18969
18970 ac_cv_type_void_p=no
18971 fi
18972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18973 fi
18974 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18975 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18976
18977 echo "$as_me:$LINENO: checking size of void *" >&5
18978 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18979 if test "${ac_cv_sizeof_void_p+set}" = set; then
18980 echo $ECHO_N "(cached) $ECHO_C" >&6
18981 else
18982 if test "$ac_cv_type_void_p" = yes; then
18983 # The cast to unsigned long works around a bug in the HP C Compiler
18984 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18985 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18986 # This bug is HP SR number 8606223364.
18987 if test "$cross_compiling" = yes; then
18988 # Depending upon the size, compute the lo and hi bounds.
18989 cat >conftest.$ac_ext <<_ACEOF
18990 /* confdefs.h. */
18991 _ACEOF
18992 cat confdefs.h >>conftest.$ac_ext
18993 cat >>conftest.$ac_ext <<_ACEOF
18994 /* end confdefs.h. */
18995 $ac_includes_default
18996 int
18997 main ()
18998 {
18999 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
19000 test_array [0] = 0
19001
19002 ;
19003 return 0;
19004 }
19005 _ACEOF
19006 rm -f conftest.$ac_objext
19007 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19008 (eval $ac_compile) 2>conftest.er1
19009 ac_status=$?
19010 grep -v '^ *+' conftest.er1 >conftest.err
19011 rm -f conftest.er1
19012 cat conftest.err >&5
19013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19014 (exit $ac_status); } &&
19015 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19017 (eval $ac_try) 2>&5
19018 ac_status=$?
19019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19020 (exit $ac_status); }; } &&
19021 { ac_try='test -s conftest.$ac_objext'
19022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19023 (eval $ac_try) 2>&5
19024 ac_status=$?
19025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19026 (exit $ac_status); }; }; then
19027 ac_lo=0 ac_mid=0
19028 while :; do
19029 cat >conftest.$ac_ext <<_ACEOF
19030 /* confdefs.h. */
19031 _ACEOF
19032 cat confdefs.h >>conftest.$ac_ext
19033 cat >>conftest.$ac_ext <<_ACEOF
19034 /* end confdefs.h. */
19035 $ac_includes_default
19036 int
19037 main ()
19038 {
19039 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19040 test_array [0] = 0
19041
19042 ;
19043 return 0;
19044 }
19045 _ACEOF
19046 rm -f conftest.$ac_objext
19047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19048 (eval $ac_compile) 2>conftest.er1
19049 ac_status=$?
19050 grep -v '^ *+' conftest.er1 >conftest.err
19051 rm -f conftest.er1
19052 cat conftest.err >&5
19053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19054 (exit $ac_status); } &&
19055 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19057 (eval $ac_try) 2>&5
19058 ac_status=$?
19059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19060 (exit $ac_status); }; } &&
19061 { ac_try='test -s conftest.$ac_objext'
19062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19063 (eval $ac_try) 2>&5
19064 ac_status=$?
19065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19066 (exit $ac_status); }; }; then
19067 ac_hi=$ac_mid; break
19068 else
19069 echo "$as_me: failed program was:" >&5
19070 sed 's/^/| /' conftest.$ac_ext >&5
19071
19072 ac_lo=`expr $ac_mid + 1`
19073 if test $ac_lo -le $ac_mid; then
19074 ac_lo= ac_hi=
19075 break
19076 fi
19077 ac_mid=`expr 2 '*' $ac_mid + 1`
19078 fi
19079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19080 done
19081 else
19082 echo "$as_me: failed program was:" >&5
19083 sed 's/^/| /' conftest.$ac_ext >&5
19084
19085 cat >conftest.$ac_ext <<_ACEOF
19086 /* confdefs.h. */
19087 _ACEOF
19088 cat confdefs.h >>conftest.$ac_ext
19089 cat >>conftest.$ac_ext <<_ACEOF
19090 /* end confdefs.h. */
19091 $ac_includes_default
19092 int
19093 main ()
19094 {
19095 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
19096 test_array [0] = 0
19097
19098 ;
19099 return 0;
19100 }
19101 _ACEOF
19102 rm -f conftest.$ac_objext
19103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19104 (eval $ac_compile) 2>conftest.er1
19105 ac_status=$?
19106 grep -v '^ *+' conftest.er1 >conftest.err
19107 rm -f conftest.er1
19108 cat conftest.err >&5
19109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19110 (exit $ac_status); } &&
19111 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
19117 { ac_try='test -s conftest.$ac_objext'
19118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19119 (eval $ac_try) 2>&5
19120 ac_status=$?
19121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19122 (exit $ac_status); }; }; then
19123 ac_hi=-1 ac_mid=-1
19124 while :; do
19125 cat >conftest.$ac_ext <<_ACEOF
19126 /* confdefs.h. */
19127 _ACEOF
19128 cat confdefs.h >>conftest.$ac_ext
19129 cat >>conftest.$ac_ext <<_ACEOF
19130 /* end confdefs.h. */
19131 $ac_includes_default
19132 int
19133 main ()
19134 {
19135 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
19136 test_array [0] = 0
19137
19138 ;
19139 return 0;
19140 }
19141 _ACEOF
19142 rm -f conftest.$ac_objext
19143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19144 (eval $ac_compile) 2>conftest.er1
19145 ac_status=$?
19146 grep -v '^ *+' conftest.er1 >conftest.err
19147 rm -f conftest.er1
19148 cat conftest.err >&5
19149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19150 (exit $ac_status); } &&
19151 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19153 (eval $ac_try) 2>&5
19154 ac_status=$?
19155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19156 (exit $ac_status); }; } &&
19157 { ac_try='test -s conftest.$ac_objext'
19158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19159 (eval $ac_try) 2>&5
19160 ac_status=$?
19161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19162 (exit $ac_status); }; }; then
19163 ac_lo=$ac_mid; break
19164 else
19165 echo "$as_me: failed program was:" >&5
19166 sed 's/^/| /' conftest.$ac_ext >&5
19167
19168 ac_hi=`expr '(' $ac_mid ')' - 1`
19169 if test $ac_mid -le $ac_hi; then
19170 ac_lo= ac_hi=
19171 break
19172 fi
19173 ac_mid=`expr 2 '*' $ac_mid`
19174 fi
19175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19176 done
19177 else
19178 echo "$as_me: failed program was:" >&5
19179 sed 's/^/| /' conftest.$ac_ext >&5
19180
19181 ac_lo= ac_hi=
19182 fi
19183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19184 fi
19185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19186 # Binary search between lo and hi bounds.
19187 while test "x$ac_lo" != "x$ac_hi"; do
19188 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19189 cat >conftest.$ac_ext <<_ACEOF
19190 /* confdefs.h. */
19191 _ACEOF
19192 cat confdefs.h >>conftest.$ac_ext
19193 cat >>conftest.$ac_ext <<_ACEOF
19194 /* end confdefs.h. */
19195 $ac_includes_default
19196 int
19197 main ()
19198 {
19199 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19200 test_array [0] = 0
19201
19202 ;
19203 return 0;
19204 }
19205 _ACEOF
19206 rm -f conftest.$ac_objext
19207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19208 (eval $ac_compile) 2>conftest.er1
19209 ac_status=$?
19210 grep -v '^ *+' conftest.er1 >conftest.err
19211 rm -f conftest.er1
19212 cat conftest.err >&5
19213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19214 (exit $ac_status); } &&
19215 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19217 (eval $ac_try) 2>&5
19218 ac_status=$?
19219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19220 (exit $ac_status); }; } &&
19221 { ac_try='test -s conftest.$ac_objext'
19222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19223 (eval $ac_try) 2>&5
19224 ac_status=$?
19225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19226 (exit $ac_status); }; }; then
19227 ac_hi=$ac_mid
19228 else
19229 echo "$as_me: failed program was:" >&5
19230 sed 's/^/| /' conftest.$ac_ext >&5
19231
19232 ac_lo=`expr '(' $ac_mid ')' + 1`
19233 fi
19234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19235 done
19236 case $ac_lo in
19237 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19238 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19239 See \`config.log' for more details." >&5
19240 echo "$as_me: error: cannot compute sizeof (void *), 77
19241 See \`config.log' for more details." >&2;}
19242 { (exit 1); exit 1; }; } ;;
19243 esac
19244 else
19245 if test "$cross_compiling" = yes; then
19246 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19247 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19248 { (exit 1); exit 1; }; }
19249 else
19250 cat >conftest.$ac_ext <<_ACEOF
19251 /* confdefs.h. */
19252 _ACEOF
19253 cat confdefs.h >>conftest.$ac_ext
19254 cat >>conftest.$ac_ext <<_ACEOF
19255 /* end confdefs.h. */
19256 $ac_includes_default
19257 long longval () { return (long) (sizeof (void *)); }
19258 unsigned long ulongval () { return (long) (sizeof (void *)); }
19259 #include <stdio.h>
19260 #include <stdlib.h>
19261 int
19262 main ()
19263 {
19264
19265 FILE *f = fopen ("conftest.val", "w");
19266 if (! f)
19267 exit (1);
19268 if (((long) (sizeof (void *))) < 0)
19269 {
19270 long i = longval ();
19271 if (i != ((long) (sizeof (void *))))
19272 exit (1);
19273 fprintf (f, "%ld\n", i);
19274 }
19275 else
19276 {
19277 unsigned long i = ulongval ();
19278 if (i != ((long) (sizeof (void *))))
19279 exit (1);
19280 fprintf (f, "%lu\n", i);
19281 }
19282 exit (ferror (f) || fclose (f) != 0);
19283
19284 ;
19285 return 0;
19286 }
19287 _ACEOF
19288 rm -f conftest$ac_exeext
19289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19290 (eval $ac_link) 2>&5
19291 ac_status=$?
19292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19293 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19295 (eval $ac_try) 2>&5
19296 ac_status=$?
19297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19298 (exit $ac_status); }; }; then
19299 ac_cv_sizeof_void_p=`cat conftest.val`
19300 else
19301 echo "$as_me: program exited with status $ac_status" >&5
19302 echo "$as_me: failed program was:" >&5
19303 sed 's/^/| /' conftest.$ac_ext >&5
19304
19305 ( exit $ac_status )
19306 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19307 See \`config.log' for more details." >&5
19308 echo "$as_me: error: cannot compute sizeof (void *), 77
19309 See \`config.log' for more details." >&2;}
19310 { (exit 1); exit 1; }; }
19311 fi
19312 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19313 fi
19314 fi
19315 rm -f conftest.val
19316 else
19317 ac_cv_sizeof_void_p=0
19318 fi
19319 fi
19320 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19321 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
19322 cat >>confdefs.h <<_ACEOF
19323 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19324 _ACEOF
19325
19326
19327 echo "$as_me:$LINENO: checking for int" >&5
19328 echo $ECHO_N "checking for int... $ECHO_C" >&6
19329 if test "${ac_cv_type_int+set}" = set; then
19330 echo $ECHO_N "(cached) $ECHO_C" >&6
19331 else
19332 cat >conftest.$ac_ext <<_ACEOF
19333 /* confdefs.h. */
19334 _ACEOF
19335 cat confdefs.h >>conftest.$ac_ext
19336 cat >>conftest.$ac_ext <<_ACEOF
19337 /* end confdefs.h. */
19338 $ac_includes_default
19339 int
19340 main ()
19341 {
19342 if ((int *) 0)
19343 return 0;
19344 if (sizeof (int))
19345 return 0;
19346 ;
19347 return 0;
19348 }
19349 _ACEOF
19350 rm -f conftest.$ac_objext
19351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19352 (eval $ac_compile) 2>conftest.er1
19353 ac_status=$?
19354 grep -v '^ *+' conftest.er1 >conftest.err
19355 rm -f conftest.er1
19356 cat conftest.err >&5
19357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19358 (exit $ac_status); } &&
19359 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19361 (eval $ac_try) 2>&5
19362 ac_status=$?
19363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19364 (exit $ac_status); }; } &&
19365 { ac_try='test -s conftest.$ac_objext'
19366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19367 (eval $ac_try) 2>&5
19368 ac_status=$?
19369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19370 (exit $ac_status); }; }; then
19371 ac_cv_type_int=yes
19372 else
19373 echo "$as_me: failed program was:" >&5
19374 sed 's/^/| /' conftest.$ac_ext >&5
19375
19376 ac_cv_type_int=no
19377 fi
19378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19379 fi
19380 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19381 echo "${ECHO_T}$ac_cv_type_int" >&6
19382
19383 echo "$as_me:$LINENO: checking size of int" >&5
19384 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19385 if test "${ac_cv_sizeof_int+set}" = set; then
19386 echo $ECHO_N "(cached) $ECHO_C" >&6
19387 else
19388 if test "$ac_cv_type_int" = yes; then
19389 # The cast to unsigned long works around a bug in the HP C Compiler
19390 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19391 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19392 # This bug is HP SR number 8606223364.
19393 if test "$cross_compiling" = yes; then
19394 # Depending upon the size, compute the lo and hi bounds.
19395 cat >conftest.$ac_ext <<_ACEOF
19396 /* confdefs.h. */
19397 _ACEOF
19398 cat confdefs.h >>conftest.$ac_ext
19399 cat >>conftest.$ac_ext <<_ACEOF
19400 /* end confdefs.h. */
19401 $ac_includes_default
19402 int
19403 main ()
19404 {
19405 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19406 test_array [0] = 0
19407
19408 ;
19409 return 0;
19410 }
19411 _ACEOF
19412 rm -f conftest.$ac_objext
19413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19414 (eval $ac_compile) 2>conftest.er1
19415 ac_status=$?
19416 grep -v '^ *+' conftest.er1 >conftest.err
19417 rm -f conftest.er1
19418 cat conftest.err >&5
19419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19420 (exit $ac_status); } &&
19421 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19423 (eval $ac_try) 2>&5
19424 ac_status=$?
19425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19426 (exit $ac_status); }; } &&
19427 { ac_try='test -s conftest.$ac_objext'
19428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19429 (eval $ac_try) 2>&5
19430 ac_status=$?
19431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19432 (exit $ac_status); }; }; then
19433 ac_lo=0 ac_mid=0
19434 while :; do
19435 cat >conftest.$ac_ext <<_ACEOF
19436 /* confdefs.h. */
19437 _ACEOF
19438 cat confdefs.h >>conftest.$ac_ext
19439 cat >>conftest.$ac_ext <<_ACEOF
19440 /* end confdefs.h. */
19441 $ac_includes_default
19442 int
19443 main ()
19444 {
19445 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19446 test_array [0] = 0
19447
19448 ;
19449 return 0;
19450 }
19451 _ACEOF
19452 rm -f conftest.$ac_objext
19453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19454 (eval $ac_compile) 2>conftest.er1
19455 ac_status=$?
19456 grep -v '^ *+' conftest.er1 >conftest.err
19457 rm -f conftest.er1
19458 cat conftest.err >&5
19459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19460 (exit $ac_status); } &&
19461 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19463 (eval $ac_try) 2>&5
19464 ac_status=$?
19465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19466 (exit $ac_status); }; } &&
19467 { ac_try='test -s conftest.$ac_objext'
19468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19469 (eval $ac_try) 2>&5
19470 ac_status=$?
19471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19472 (exit $ac_status); }; }; then
19473 ac_hi=$ac_mid; break
19474 else
19475 echo "$as_me: failed program was:" >&5
19476 sed 's/^/| /' conftest.$ac_ext >&5
19477
19478 ac_lo=`expr $ac_mid + 1`
19479 if test $ac_lo -le $ac_mid; then
19480 ac_lo= ac_hi=
19481 break
19482 fi
19483 ac_mid=`expr 2 '*' $ac_mid + 1`
19484 fi
19485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19486 done
19487 else
19488 echo "$as_me: failed program was:" >&5
19489 sed 's/^/| /' conftest.$ac_ext >&5
19490
19491 cat >conftest.$ac_ext <<_ACEOF
19492 /* confdefs.h. */
19493 _ACEOF
19494 cat confdefs.h >>conftest.$ac_ext
19495 cat >>conftest.$ac_ext <<_ACEOF
19496 /* end confdefs.h. */
19497 $ac_includes_default
19498 int
19499 main ()
19500 {
19501 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19502 test_array [0] = 0
19503
19504 ;
19505 return 0;
19506 }
19507 _ACEOF
19508 rm -f conftest.$ac_objext
19509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19510 (eval $ac_compile) 2>conftest.er1
19511 ac_status=$?
19512 grep -v '^ *+' conftest.er1 >conftest.err
19513 rm -f conftest.er1
19514 cat conftest.err >&5
19515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19516 (exit $ac_status); } &&
19517 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
19523 { ac_try='test -s conftest.$ac_objext'
19524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19525 (eval $ac_try) 2>&5
19526 ac_status=$?
19527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19528 (exit $ac_status); }; }; then
19529 ac_hi=-1 ac_mid=-1
19530 while :; do
19531 cat >conftest.$ac_ext <<_ACEOF
19532 /* confdefs.h. */
19533 _ACEOF
19534 cat confdefs.h >>conftest.$ac_ext
19535 cat >>conftest.$ac_ext <<_ACEOF
19536 /* end confdefs.h. */
19537 $ac_includes_default
19538 int
19539 main ()
19540 {
19541 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19542 test_array [0] = 0
19543
19544 ;
19545 return 0;
19546 }
19547 _ACEOF
19548 rm -f conftest.$ac_objext
19549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19550 (eval $ac_compile) 2>conftest.er1
19551 ac_status=$?
19552 grep -v '^ *+' conftest.er1 >conftest.err
19553 rm -f conftest.er1
19554 cat conftest.err >&5
19555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19556 (exit $ac_status); } &&
19557 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19559 (eval $ac_try) 2>&5
19560 ac_status=$?
19561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19562 (exit $ac_status); }; } &&
19563 { ac_try='test -s conftest.$ac_objext'
19564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19565 (eval $ac_try) 2>&5
19566 ac_status=$?
19567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19568 (exit $ac_status); }; }; then
19569 ac_lo=$ac_mid; break
19570 else
19571 echo "$as_me: failed program was:" >&5
19572 sed 's/^/| /' conftest.$ac_ext >&5
19573
19574 ac_hi=`expr '(' $ac_mid ')' - 1`
19575 if test $ac_mid -le $ac_hi; then
19576 ac_lo= ac_hi=
19577 break
19578 fi
19579 ac_mid=`expr 2 '*' $ac_mid`
19580 fi
19581 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19582 done
19583 else
19584 echo "$as_me: failed program was:" >&5
19585 sed 's/^/| /' conftest.$ac_ext >&5
19586
19587 ac_lo= ac_hi=
19588 fi
19589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19590 fi
19591 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19592 # Binary search between lo and hi bounds.
19593 while test "x$ac_lo" != "x$ac_hi"; do
19594 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19595 cat >conftest.$ac_ext <<_ACEOF
19596 /* confdefs.h. */
19597 _ACEOF
19598 cat confdefs.h >>conftest.$ac_ext
19599 cat >>conftest.$ac_ext <<_ACEOF
19600 /* end confdefs.h. */
19601 $ac_includes_default
19602 int
19603 main ()
19604 {
19605 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19606 test_array [0] = 0
19607
19608 ;
19609 return 0;
19610 }
19611 _ACEOF
19612 rm -f conftest.$ac_objext
19613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19614 (eval $ac_compile) 2>conftest.er1
19615 ac_status=$?
19616 grep -v '^ *+' conftest.er1 >conftest.err
19617 rm -f conftest.er1
19618 cat conftest.err >&5
19619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19620 (exit $ac_status); } &&
19621 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19623 (eval $ac_try) 2>&5
19624 ac_status=$?
19625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19626 (exit $ac_status); }; } &&
19627 { ac_try='test -s conftest.$ac_objext'
19628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19629 (eval $ac_try) 2>&5
19630 ac_status=$?
19631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19632 (exit $ac_status); }; }; then
19633 ac_hi=$ac_mid
19634 else
19635 echo "$as_me: failed program was:" >&5
19636 sed 's/^/| /' conftest.$ac_ext >&5
19637
19638 ac_lo=`expr '(' $ac_mid ')' + 1`
19639 fi
19640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19641 done
19642 case $ac_lo in
19643 ?*) ac_cv_sizeof_int=$ac_lo;;
19644 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19645 See \`config.log' for more details." >&5
19646 echo "$as_me: error: cannot compute sizeof (int), 77
19647 See \`config.log' for more details." >&2;}
19648 { (exit 1); exit 1; }; } ;;
19649 esac
19650 else
19651 if test "$cross_compiling" = yes; then
19652 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19653 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19654 { (exit 1); exit 1; }; }
19655 else
19656 cat >conftest.$ac_ext <<_ACEOF
19657 /* confdefs.h. */
19658 _ACEOF
19659 cat confdefs.h >>conftest.$ac_ext
19660 cat >>conftest.$ac_ext <<_ACEOF
19661 /* end confdefs.h. */
19662 $ac_includes_default
19663 long longval () { return (long) (sizeof (int)); }
19664 unsigned long ulongval () { return (long) (sizeof (int)); }
19665 #include <stdio.h>
19666 #include <stdlib.h>
19667 int
19668 main ()
19669 {
19670
19671 FILE *f = fopen ("conftest.val", "w");
19672 if (! f)
19673 exit (1);
19674 if (((long) (sizeof (int))) < 0)
19675 {
19676 long i = longval ();
19677 if (i != ((long) (sizeof (int))))
19678 exit (1);
19679 fprintf (f, "%ld\n", i);
19680 }
19681 else
19682 {
19683 unsigned long i = ulongval ();
19684 if (i != ((long) (sizeof (int))))
19685 exit (1);
19686 fprintf (f, "%lu\n", i);
19687 }
19688 exit (ferror (f) || fclose (f) != 0);
19689
19690 ;
19691 return 0;
19692 }
19693 _ACEOF
19694 rm -f conftest$ac_exeext
19695 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19696 (eval $ac_link) 2>&5
19697 ac_status=$?
19698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19699 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19701 (eval $ac_try) 2>&5
19702 ac_status=$?
19703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19704 (exit $ac_status); }; }; then
19705 ac_cv_sizeof_int=`cat conftest.val`
19706 else
19707 echo "$as_me: program exited with status $ac_status" >&5
19708 echo "$as_me: failed program was:" >&5
19709 sed 's/^/| /' conftest.$ac_ext >&5
19710
19711 ( exit $ac_status )
19712 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19713 See \`config.log' for more details." >&5
19714 echo "$as_me: error: cannot compute sizeof (int), 77
19715 See \`config.log' for more details." >&2;}
19716 { (exit 1); exit 1; }; }
19717 fi
19718 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19719 fi
19720 fi
19721 rm -f conftest.val
19722 else
19723 ac_cv_sizeof_int=0
19724 fi
19725 fi
19726 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19727 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19728 cat >>confdefs.h <<_ACEOF
19729 #define SIZEOF_INT $ac_cv_sizeof_int
19730 _ACEOF
19731
19732
19733 echo "$as_me:$LINENO: checking for long" >&5
19734 echo $ECHO_N "checking for long... $ECHO_C" >&6
19735 if test "${ac_cv_type_long+set}" = set; then
19736 echo $ECHO_N "(cached) $ECHO_C" >&6
19737 else
19738 cat >conftest.$ac_ext <<_ACEOF
19739 /* confdefs.h. */
19740 _ACEOF
19741 cat confdefs.h >>conftest.$ac_ext
19742 cat >>conftest.$ac_ext <<_ACEOF
19743 /* end confdefs.h. */
19744 $ac_includes_default
19745 int
19746 main ()
19747 {
19748 if ((long *) 0)
19749 return 0;
19750 if (sizeof (long))
19751 return 0;
19752 ;
19753 return 0;
19754 }
19755 _ACEOF
19756 rm -f conftest.$ac_objext
19757 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19758 (eval $ac_compile) 2>conftest.er1
19759 ac_status=$?
19760 grep -v '^ *+' conftest.er1 >conftest.err
19761 rm -f conftest.er1
19762 cat conftest.err >&5
19763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19764 (exit $ac_status); } &&
19765 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19767 (eval $ac_try) 2>&5
19768 ac_status=$?
19769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19770 (exit $ac_status); }; } &&
19771 { ac_try='test -s conftest.$ac_objext'
19772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19773 (eval $ac_try) 2>&5
19774 ac_status=$?
19775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19776 (exit $ac_status); }; }; then
19777 ac_cv_type_long=yes
19778 else
19779 echo "$as_me: failed program was:" >&5
19780 sed 's/^/| /' conftest.$ac_ext >&5
19781
19782 ac_cv_type_long=no
19783 fi
19784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19785 fi
19786 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19787 echo "${ECHO_T}$ac_cv_type_long" >&6
19788
19789 echo "$as_me:$LINENO: checking size of long" >&5
19790 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19791 if test "${ac_cv_sizeof_long+set}" = set; then
19792 echo $ECHO_N "(cached) $ECHO_C" >&6
19793 else
19794 if test "$ac_cv_type_long" = yes; then
19795 # The cast to unsigned long works around a bug in the HP C Compiler
19796 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19797 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19798 # This bug is HP SR number 8606223364.
19799 if test "$cross_compiling" = yes; then
19800 # Depending upon the size, compute the lo and hi bounds.
19801 cat >conftest.$ac_ext <<_ACEOF
19802 /* confdefs.h. */
19803 _ACEOF
19804 cat confdefs.h >>conftest.$ac_ext
19805 cat >>conftest.$ac_ext <<_ACEOF
19806 /* end confdefs.h. */
19807 $ac_includes_default
19808 int
19809 main ()
19810 {
19811 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19812 test_array [0] = 0
19813
19814 ;
19815 return 0;
19816 }
19817 _ACEOF
19818 rm -f conftest.$ac_objext
19819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19820 (eval $ac_compile) 2>conftest.er1
19821 ac_status=$?
19822 grep -v '^ *+' conftest.er1 >conftest.err
19823 rm -f conftest.er1
19824 cat conftest.err >&5
19825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19826 (exit $ac_status); } &&
19827 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19829 (eval $ac_try) 2>&5
19830 ac_status=$?
19831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19832 (exit $ac_status); }; } &&
19833 { ac_try='test -s conftest.$ac_objext'
19834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19835 (eval $ac_try) 2>&5
19836 ac_status=$?
19837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19838 (exit $ac_status); }; }; then
19839 ac_lo=0 ac_mid=0
19840 while :; do
19841 cat >conftest.$ac_ext <<_ACEOF
19842 /* confdefs.h. */
19843 _ACEOF
19844 cat confdefs.h >>conftest.$ac_ext
19845 cat >>conftest.$ac_ext <<_ACEOF
19846 /* end confdefs.h. */
19847 $ac_includes_default
19848 int
19849 main ()
19850 {
19851 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19852 test_array [0] = 0
19853
19854 ;
19855 return 0;
19856 }
19857 _ACEOF
19858 rm -f conftest.$ac_objext
19859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19860 (eval $ac_compile) 2>conftest.er1
19861 ac_status=$?
19862 grep -v '^ *+' conftest.er1 >conftest.err
19863 rm -f conftest.er1
19864 cat conftest.err >&5
19865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19866 (exit $ac_status); } &&
19867 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19869 (eval $ac_try) 2>&5
19870 ac_status=$?
19871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19872 (exit $ac_status); }; } &&
19873 { ac_try='test -s conftest.$ac_objext'
19874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19875 (eval $ac_try) 2>&5
19876 ac_status=$?
19877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19878 (exit $ac_status); }; }; then
19879 ac_hi=$ac_mid; break
19880 else
19881 echo "$as_me: failed program was:" >&5
19882 sed 's/^/| /' conftest.$ac_ext >&5
19883
19884 ac_lo=`expr $ac_mid + 1`
19885 if test $ac_lo -le $ac_mid; then
19886 ac_lo= ac_hi=
19887 break
19888 fi
19889 ac_mid=`expr 2 '*' $ac_mid + 1`
19890 fi
19891 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19892 done
19893 else
19894 echo "$as_me: failed program was:" >&5
19895 sed 's/^/| /' conftest.$ac_ext >&5
19896
19897 cat >conftest.$ac_ext <<_ACEOF
19898 /* confdefs.h. */
19899 _ACEOF
19900 cat confdefs.h >>conftest.$ac_ext
19901 cat >>conftest.$ac_ext <<_ACEOF
19902 /* end confdefs.h. */
19903 $ac_includes_default
19904 int
19905 main ()
19906 {
19907 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19908 test_array [0] = 0
19909
19910 ;
19911 return 0;
19912 }
19913 _ACEOF
19914 rm -f conftest.$ac_objext
19915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19916 (eval $ac_compile) 2>conftest.er1
19917 ac_status=$?
19918 grep -v '^ *+' conftest.er1 >conftest.err
19919 rm -f conftest.er1
19920 cat conftest.err >&5
19921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922 (exit $ac_status); } &&
19923 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
19929 { ac_try='test -s conftest.$ac_objext'
19930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19931 (eval $ac_try) 2>&5
19932 ac_status=$?
19933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19934 (exit $ac_status); }; }; then
19935 ac_hi=-1 ac_mid=-1
19936 while :; do
19937 cat >conftest.$ac_ext <<_ACEOF
19938 /* confdefs.h. */
19939 _ACEOF
19940 cat confdefs.h >>conftest.$ac_ext
19941 cat >>conftest.$ac_ext <<_ACEOF
19942 /* end confdefs.h. */
19943 $ac_includes_default
19944 int
19945 main ()
19946 {
19947 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19948 test_array [0] = 0
19949
19950 ;
19951 return 0;
19952 }
19953 _ACEOF
19954 rm -f conftest.$ac_objext
19955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19956 (eval $ac_compile) 2>conftest.er1
19957 ac_status=$?
19958 grep -v '^ *+' conftest.er1 >conftest.err
19959 rm -f conftest.er1
19960 cat conftest.err >&5
19961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19962 (exit $ac_status); } &&
19963 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19965 (eval $ac_try) 2>&5
19966 ac_status=$?
19967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19968 (exit $ac_status); }; } &&
19969 { ac_try='test -s conftest.$ac_objext'
19970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19971 (eval $ac_try) 2>&5
19972 ac_status=$?
19973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19974 (exit $ac_status); }; }; then
19975 ac_lo=$ac_mid; break
19976 else
19977 echo "$as_me: failed program was:" >&5
19978 sed 's/^/| /' conftest.$ac_ext >&5
19979
19980 ac_hi=`expr '(' $ac_mid ')' - 1`
19981 if test $ac_mid -le $ac_hi; then
19982 ac_lo= ac_hi=
19983 break
19984 fi
19985 ac_mid=`expr 2 '*' $ac_mid`
19986 fi
19987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19988 done
19989 else
19990 echo "$as_me: failed program was:" >&5
19991 sed 's/^/| /' conftest.$ac_ext >&5
19992
19993 ac_lo= ac_hi=
19994 fi
19995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19996 fi
19997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19998 # Binary search between lo and hi bounds.
19999 while test "x$ac_lo" != "x$ac_hi"; do
20000 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20001 cat >conftest.$ac_ext <<_ACEOF
20002 /* confdefs.h. */
20003 _ACEOF
20004 cat confdefs.h >>conftest.$ac_ext
20005 cat >>conftest.$ac_ext <<_ACEOF
20006 /* end confdefs.h. */
20007 $ac_includes_default
20008 int
20009 main ()
20010 {
20011 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
20012 test_array [0] = 0
20013
20014 ;
20015 return 0;
20016 }
20017 _ACEOF
20018 rm -f conftest.$ac_objext
20019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20020 (eval $ac_compile) 2>conftest.er1
20021 ac_status=$?
20022 grep -v '^ *+' conftest.er1 >conftest.err
20023 rm -f conftest.er1
20024 cat conftest.err >&5
20025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20026 (exit $ac_status); } &&
20027 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20029 (eval $ac_try) 2>&5
20030 ac_status=$?
20031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20032 (exit $ac_status); }; } &&
20033 { ac_try='test -s conftest.$ac_objext'
20034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20035 (eval $ac_try) 2>&5
20036 ac_status=$?
20037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20038 (exit $ac_status); }; }; then
20039 ac_hi=$ac_mid
20040 else
20041 echo "$as_me: failed program was:" >&5
20042 sed 's/^/| /' conftest.$ac_ext >&5
20043
20044 ac_lo=`expr '(' $ac_mid ')' + 1`
20045 fi
20046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20047 done
20048 case $ac_lo in
20049 ?*) ac_cv_sizeof_long=$ac_lo;;
20050 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20051 See \`config.log' for more details." >&5
20052 echo "$as_me: error: cannot compute sizeof (long), 77
20053 See \`config.log' for more details." >&2;}
20054 { (exit 1); exit 1; }; } ;;
20055 esac
20056 else
20057 if test "$cross_compiling" = yes; then
20058 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20059 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20060 { (exit 1); exit 1; }; }
20061 else
20062 cat >conftest.$ac_ext <<_ACEOF
20063 /* confdefs.h. */
20064 _ACEOF
20065 cat confdefs.h >>conftest.$ac_ext
20066 cat >>conftest.$ac_ext <<_ACEOF
20067 /* end confdefs.h. */
20068 $ac_includes_default
20069 long longval () { return (long) (sizeof (long)); }
20070 unsigned long ulongval () { return (long) (sizeof (long)); }
20071 #include <stdio.h>
20072 #include <stdlib.h>
20073 int
20074 main ()
20075 {
20076
20077 FILE *f = fopen ("conftest.val", "w");
20078 if (! f)
20079 exit (1);
20080 if (((long) (sizeof (long))) < 0)
20081 {
20082 long i = longval ();
20083 if (i != ((long) (sizeof (long))))
20084 exit (1);
20085 fprintf (f, "%ld\n", i);
20086 }
20087 else
20088 {
20089 unsigned long i = ulongval ();
20090 if (i != ((long) (sizeof (long))))
20091 exit (1);
20092 fprintf (f, "%lu\n", i);
20093 }
20094 exit (ferror (f) || fclose (f) != 0);
20095
20096 ;
20097 return 0;
20098 }
20099 _ACEOF
20100 rm -f conftest$ac_exeext
20101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20102 (eval $ac_link) 2>&5
20103 ac_status=$?
20104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20105 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20107 (eval $ac_try) 2>&5
20108 ac_status=$?
20109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20110 (exit $ac_status); }; }; then
20111 ac_cv_sizeof_long=`cat conftest.val`
20112 else
20113 echo "$as_me: program exited with status $ac_status" >&5
20114 echo "$as_me: failed program was:" >&5
20115 sed 's/^/| /' conftest.$ac_ext >&5
20116
20117 ( exit $ac_status )
20118 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20119 See \`config.log' for more details." >&5
20120 echo "$as_me: error: cannot compute sizeof (long), 77
20121 See \`config.log' for more details." >&2;}
20122 { (exit 1); exit 1; }; }
20123 fi
20124 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20125 fi
20126 fi
20127 rm -f conftest.val
20128 else
20129 ac_cv_sizeof_long=0
20130 fi
20131 fi
20132 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20133 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
20134 cat >>confdefs.h <<_ACEOF
20135 #define SIZEOF_LONG $ac_cv_sizeof_long
20136 _ACEOF
20137
20138
20139 echo "$as_me:$LINENO: checking for size_t" >&5
20140 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20141 if test "${ac_cv_type_size_t+set}" = set; then
20142 echo $ECHO_N "(cached) $ECHO_C" >&6
20143 else
20144 cat >conftest.$ac_ext <<_ACEOF
20145 /* confdefs.h. */
20146 _ACEOF
20147 cat confdefs.h >>conftest.$ac_ext
20148 cat >>conftest.$ac_ext <<_ACEOF
20149 /* end confdefs.h. */
20150 $ac_includes_default
20151 int
20152 main ()
20153 {
20154 if ((size_t *) 0)
20155 return 0;
20156 if (sizeof (size_t))
20157 return 0;
20158 ;
20159 return 0;
20160 }
20161 _ACEOF
20162 rm -f conftest.$ac_objext
20163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20164 (eval $ac_compile) 2>conftest.er1
20165 ac_status=$?
20166 grep -v '^ *+' conftest.er1 >conftest.err
20167 rm -f conftest.er1
20168 cat conftest.err >&5
20169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20170 (exit $ac_status); } &&
20171 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20173 (eval $ac_try) 2>&5
20174 ac_status=$?
20175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20176 (exit $ac_status); }; } &&
20177 { ac_try='test -s conftest.$ac_objext'
20178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20179 (eval $ac_try) 2>&5
20180 ac_status=$?
20181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20182 (exit $ac_status); }; }; then
20183 ac_cv_type_size_t=yes
20184 else
20185 echo "$as_me: failed program was:" >&5
20186 sed 's/^/| /' conftest.$ac_ext >&5
20187
20188 ac_cv_type_size_t=no
20189 fi
20190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20191 fi
20192 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20193 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20194
20195 echo "$as_me:$LINENO: checking size of size_t" >&5
20196 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
20197 if test "${ac_cv_sizeof_size_t+set}" = set; then
20198 echo $ECHO_N "(cached) $ECHO_C" >&6
20199 else
20200 if test "$ac_cv_type_size_t" = yes; then
20201 # The cast to unsigned long works around a bug in the HP C Compiler
20202 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20203 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20204 # This bug is HP SR number 8606223364.
20205 if test "$cross_compiling" = yes; then
20206 # Depending upon the size, compute the lo and hi bounds.
20207 cat >conftest.$ac_ext <<_ACEOF
20208 /* confdefs.h. */
20209 _ACEOF
20210 cat confdefs.h >>conftest.$ac_ext
20211 cat >>conftest.$ac_ext <<_ACEOF
20212 /* end confdefs.h. */
20213 $ac_includes_default
20214 int
20215 main ()
20216 {
20217 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
20218 test_array [0] = 0
20219
20220 ;
20221 return 0;
20222 }
20223 _ACEOF
20224 rm -f conftest.$ac_objext
20225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20226 (eval $ac_compile) 2>conftest.er1
20227 ac_status=$?
20228 grep -v '^ *+' conftest.er1 >conftest.err
20229 rm -f conftest.er1
20230 cat conftest.err >&5
20231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20232 (exit $ac_status); } &&
20233 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20235 (eval $ac_try) 2>&5
20236 ac_status=$?
20237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20238 (exit $ac_status); }; } &&
20239 { ac_try='test -s conftest.$ac_objext'
20240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20241 (eval $ac_try) 2>&5
20242 ac_status=$?
20243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20244 (exit $ac_status); }; }; then
20245 ac_lo=0 ac_mid=0
20246 while :; do
20247 cat >conftest.$ac_ext <<_ACEOF
20248 /* confdefs.h. */
20249 _ACEOF
20250 cat confdefs.h >>conftest.$ac_ext
20251 cat >>conftest.$ac_ext <<_ACEOF
20252 /* end confdefs.h. */
20253 $ac_includes_default
20254 int
20255 main ()
20256 {
20257 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20258 test_array [0] = 0
20259
20260 ;
20261 return 0;
20262 }
20263 _ACEOF
20264 rm -f conftest.$ac_objext
20265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20266 (eval $ac_compile) 2>conftest.er1
20267 ac_status=$?
20268 grep -v '^ *+' conftest.er1 >conftest.err
20269 rm -f conftest.er1
20270 cat conftest.err >&5
20271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20272 (exit $ac_status); } &&
20273 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20275 (eval $ac_try) 2>&5
20276 ac_status=$?
20277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20278 (exit $ac_status); }; } &&
20279 { ac_try='test -s conftest.$ac_objext'
20280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20281 (eval $ac_try) 2>&5
20282 ac_status=$?
20283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20284 (exit $ac_status); }; }; then
20285 ac_hi=$ac_mid; break
20286 else
20287 echo "$as_me: failed program was:" >&5
20288 sed 's/^/| /' conftest.$ac_ext >&5
20289
20290 ac_lo=`expr $ac_mid + 1`
20291 if test $ac_lo -le $ac_mid; then
20292 ac_lo= ac_hi=
20293 break
20294 fi
20295 ac_mid=`expr 2 '*' $ac_mid + 1`
20296 fi
20297 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20298 done
20299 else
20300 echo "$as_me: failed program was:" >&5
20301 sed 's/^/| /' conftest.$ac_ext >&5
20302
20303 cat >conftest.$ac_ext <<_ACEOF
20304 /* confdefs.h. */
20305 _ACEOF
20306 cat confdefs.h >>conftest.$ac_ext
20307 cat >>conftest.$ac_ext <<_ACEOF
20308 /* end confdefs.h. */
20309 $ac_includes_default
20310 int
20311 main ()
20312 {
20313 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
20314 test_array [0] = 0
20315
20316 ;
20317 return 0;
20318 }
20319 _ACEOF
20320 rm -f conftest.$ac_objext
20321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20322 (eval $ac_compile) 2>conftest.er1
20323 ac_status=$?
20324 grep -v '^ *+' conftest.er1 >conftest.err
20325 rm -f conftest.er1
20326 cat conftest.err >&5
20327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20328 (exit $ac_status); } &&
20329 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
20335 { ac_try='test -s conftest.$ac_objext'
20336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20337 (eval $ac_try) 2>&5
20338 ac_status=$?
20339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20340 (exit $ac_status); }; }; then
20341 ac_hi=-1 ac_mid=-1
20342 while :; do
20343 cat >conftest.$ac_ext <<_ACEOF
20344 /* confdefs.h. */
20345 _ACEOF
20346 cat confdefs.h >>conftest.$ac_ext
20347 cat >>conftest.$ac_ext <<_ACEOF
20348 /* end confdefs.h. */
20349 $ac_includes_default
20350 int
20351 main ()
20352 {
20353 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20354 test_array [0] = 0
20355
20356 ;
20357 return 0;
20358 }
20359 _ACEOF
20360 rm -f conftest.$ac_objext
20361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20362 (eval $ac_compile) 2>conftest.er1
20363 ac_status=$?
20364 grep -v '^ *+' conftest.er1 >conftest.err
20365 rm -f conftest.er1
20366 cat conftest.err >&5
20367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20368 (exit $ac_status); } &&
20369 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20371 (eval $ac_try) 2>&5
20372 ac_status=$?
20373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20374 (exit $ac_status); }; } &&
20375 { ac_try='test -s conftest.$ac_objext'
20376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20377 (eval $ac_try) 2>&5
20378 ac_status=$?
20379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20380 (exit $ac_status); }; }; then
20381 ac_lo=$ac_mid; break
20382 else
20383 echo "$as_me: failed program was:" >&5
20384 sed 's/^/| /' conftest.$ac_ext >&5
20385
20386 ac_hi=`expr '(' $ac_mid ')' - 1`
20387 if test $ac_mid -le $ac_hi; then
20388 ac_lo= ac_hi=
20389 break
20390 fi
20391 ac_mid=`expr 2 '*' $ac_mid`
20392 fi
20393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20394 done
20395 else
20396 echo "$as_me: failed program was:" >&5
20397 sed 's/^/| /' conftest.$ac_ext >&5
20398
20399 ac_lo= ac_hi=
20400 fi
20401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20402 fi
20403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20404 # Binary search between lo and hi bounds.
20405 while test "x$ac_lo" != "x$ac_hi"; do
20406 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20407 cat >conftest.$ac_ext <<_ACEOF
20408 /* confdefs.h. */
20409 _ACEOF
20410 cat confdefs.h >>conftest.$ac_ext
20411 cat >>conftest.$ac_ext <<_ACEOF
20412 /* end confdefs.h. */
20413 $ac_includes_default
20414 int
20415 main ()
20416 {
20417 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20418 test_array [0] = 0
20419
20420 ;
20421 return 0;
20422 }
20423 _ACEOF
20424 rm -f conftest.$ac_objext
20425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20426 (eval $ac_compile) 2>conftest.er1
20427 ac_status=$?
20428 grep -v '^ *+' conftest.er1 >conftest.err
20429 rm -f conftest.er1
20430 cat conftest.err >&5
20431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20432 (exit $ac_status); } &&
20433 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20435 (eval $ac_try) 2>&5
20436 ac_status=$?
20437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20438 (exit $ac_status); }; } &&
20439 { ac_try='test -s conftest.$ac_objext'
20440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20441 (eval $ac_try) 2>&5
20442 ac_status=$?
20443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20444 (exit $ac_status); }; }; then
20445 ac_hi=$ac_mid
20446 else
20447 echo "$as_me: failed program was:" >&5
20448 sed 's/^/| /' conftest.$ac_ext >&5
20449
20450 ac_lo=`expr '(' $ac_mid ')' + 1`
20451 fi
20452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20453 done
20454 case $ac_lo in
20455 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20456 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20457 See \`config.log' for more details." >&5
20458 echo "$as_me: error: cannot compute sizeof (size_t), 77
20459 See \`config.log' for more details." >&2;}
20460 { (exit 1); exit 1; }; } ;;
20461 esac
20462 else
20463 if test "$cross_compiling" = yes; then
20464 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20465 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20466 { (exit 1); exit 1; }; }
20467 else
20468 cat >conftest.$ac_ext <<_ACEOF
20469 /* confdefs.h. */
20470 _ACEOF
20471 cat confdefs.h >>conftest.$ac_ext
20472 cat >>conftest.$ac_ext <<_ACEOF
20473 /* end confdefs.h. */
20474 $ac_includes_default
20475 long longval () { return (long) (sizeof (size_t)); }
20476 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20477 #include <stdio.h>
20478 #include <stdlib.h>
20479 int
20480 main ()
20481 {
20482
20483 FILE *f = fopen ("conftest.val", "w");
20484 if (! f)
20485 exit (1);
20486 if (((long) (sizeof (size_t))) < 0)
20487 {
20488 long i = longval ();
20489 if (i != ((long) (sizeof (size_t))))
20490 exit (1);
20491 fprintf (f, "%ld\n", i);
20492 }
20493 else
20494 {
20495 unsigned long i = ulongval ();
20496 if (i != ((long) (sizeof (size_t))))
20497 exit (1);
20498 fprintf (f, "%lu\n", i);
20499 }
20500 exit (ferror (f) || fclose (f) != 0);
20501
20502 ;
20503 return 0;
20504 }
20505 _ACEOF
20506 rm -f conftest$ac_exeext
20507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20508 (eval $ac_link) 2>&5
20509 ac_status=$?
20510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20511 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20513 (eval $ac_try) 2>&5
20514 ac_status=$?
20515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20516 (exit $ac_status); }; }; then
20517 ac_cv_sizeof_size_t=`cat conftest.val`
20518 else
20519 echo "$as_me: program exited with status $ac_status" >&5
20520 echo "$as_me: failed program was:" >&5
20521 sed 's/^/| /' conftest.$ac_ext >&5
20522
20523 ( exit $ac_status )
20524 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20525 See \`config.log' for more details." >&5
20526 echo "$as_me: error: cannot compute sizeof (size_t), 77
20527 See \`config.log' for more details." >&2;}
20528 { (exit 1); exit 1; }; }
20529 fi
20530 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20531 fi
20532 fi
20533 rm -f conftest.val
20534 else
20535 ac_cv_sizeof_size_t=0
20536 fi
20537 fi
20538 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20539 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20540 cat >>confdefs.h <<_ACEOF
20541 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20542 _ACEOF
20543
20544
20545
20546 case "${host}" in
20547 arm-*-linux* )
20548 echo "$as_me:$LINENO: checking for long long" >&5
20549 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20550 if test "${ac_cv_type_long_long+set}" = set; then
20551 echo $ECHO_N "(cached) $ECHO_C" >&6
20552 else
20553 cat >conftest.$ac_ext <<_ACEOF
20554 /* confdefs.h. */
20555 _ACEOF
20556 cat confdefs.h >>conftest.$ac_ext
20557 cat >>conftest.$ac_ext <<_ACEOF
20558 /* end confdefs.h. */
20559 $ac_includes_default
20560 int
20561 main ()
20562 {
20563 if ((long long *) 0)
20564 return 0;
20565 if (sizeof (long long))
20566 return 0;
20567 ;
20568 return 0;
20569 }
20570 _ACEOF
20571 rm -f conftest.$ac_objext
20572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20573 (eval $ac_compile) 2>conftest.er1
20574 ac_status=$?
20575 grep -v '^ *+' conftest.er1 >conftest.err
20576 rm -f conftest.er1
20577 cat conftest.err >&5
20578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20579 (exit $ac_status); } &&
20580 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20582 (eval $ac_try) 2>&5
20583 ac_status=$?
20584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20585 (exit $ac_status); }; } &&
20586 { ac_try='test -s conftest.$ac_objext'
20587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20588 (eval $ac_try) 2>&5
20589 ac_status=$?
20590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20591 (exit $ac_status); }; }; then
20592 ac_cv_type_long_long=yes
20593 else
20594 echo "$as_me: failed program was:" >&5
20595 sed 's/^/| /' conftest.$ac_ext >&5
20596
20597 ac_cv_type_long_long=no
20598 fi
20599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20600 fi
20601 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20602 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20603
20604 echo "$as_me:$LINENO: checking size of long long" >&5
20605 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20606 if test "${ac_cv_sizeof_long_long+set}" = set; then
20607 echo $ECHO_N "(cached) $ECHO_C" >&6
20608 else
20609 if test "$ac_cv_type_long_long" = yes; then
20610 # The cast to unsigned long works around a bug in the HP C Compiler
20611 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20612 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20613 # This bug is HP SR number 8606223364.
20614 if test "$cross_compiling" = yes; then
20615 # Depending upon the size, compute the lo and hi bounds.
20616 cat >conftest.$ac_ext <<_ACEOF
20617 /* confdefs.h. */
20618 _ACEOF
20619 cat confdefs.h >>conftest.$ac_ext
20620 cat >>conftest.$ac_ext <<_ACEOF
20621 /* end confdefs.h. */
20622 $ac_includes_default
20623 int
20624 main ()
20625 {
20626 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20627 test_array [0] = 0
20628
20629 ;
20630 return 0;
20631 }
20632 _ACEOF
20633 rm -f conftest.$ac_objext
20634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20635 (eval $ac_compile) 2>conftest.er1
20636 ac_status=$?
20637 grep -v '^ *+' conftest.er1 >conftest.err
20638 rm -f conftest.er1
20639 cat conftest.err >&5
20640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20641 (exit $ac_status); } &&
20642 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20644 (eval $ac_try) 2>&5
20645 ac_status=$?
20646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20647 (exit $ac_status); }; } &&
20648 { ac_try='test -s conftest.$ac_objext'
20649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20650 (eval $ac_try) 2>&5
20651 ac_status=$?
20652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20653 (exit $ac_status); }; }; then
20654 ac_lo=0 ac_mid=0
20655 while :; do
20656 cat >conftest.$ac_ext <<_ACEOF
20657 /* confdefs.h. */
20658 _ACEOF
20659 cat confdefs.h >>conftest.$ac_ext
20660 cat >>conftest.$ac_ext <<_ACEOF
20661 /* end confdefs.h. */
20662 $ac_includes_default
20663 int
20664 main ()
20665 {
20666 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20667 test_array [0] = 0
20668
20669 ;
20670 return 0;
20671 }
20672 _ACEOF
20673 rm -f conftest.$ac_objext
20674 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20675 (eval $ac_compile) 2>conftest.er1
20676 ac_status=$?
20677 grep -v '^ *+' conftest.er1 >conftest.err
20678 rm -f conftest.er1
20679 cat conftest.err >&5
20680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20681 (exit $ac_status); } &&
20682 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20684 (eval $ac_try) 2>&5
20685 ac_status=$?
20686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20687 (exit $ac_status); }; } &&
20688 { ac_try='test -s conftest.$ac_objext'
20689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20690 (eval $ac_try) 2>&5
20691 ac_status=$?
20692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20693 (exit $ac_status); }; }; then
20694 ac_hi=$ac_mid; break
20695 else
20696 echo "$as_me: failed program was:" >&5
20697 sed 's/^/| /' conftest.$ac_ext >&5
20698
20699 ac_lo=`expr $ac_mid + 1`
20700 if test $ac_lo -le $ac_mid; then
20701 ac_lo= ac_hi=
20702 break
20703 fi
20704 ac_mid=`expr 2 '*' $ac_mid + 1`
20705 fi
20706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20707 done
20708 else
20709 echo "$as_me: failed program was:" >&5
20710 sed 's/^/| /' conftest.$ac_ext >&5
20711
20712 cat >conftest.$ac_ext <<_ACEOF
20713 /* confdefs.h. */
20714 _ACEOF
20715 cat confdefs.h >>conftest.$ac_ext
20716 cat >>conftest.$ac_ext <<_ACEOF
20717 /* end confdefs.h. */
20718 $ac_includes_default
20719 int
20720 main ()
20721 {
20722 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20723 test_array [0] = 0
20724
20725 ;
20726 return 0;
20727 }
20728 _ACEOF
20729 rm -f conftest.$ac_objext
20730 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20731 (eval $ac_compile) 2>conftest.er1
20732 ac_status=$?
20733 grep -v '^ *+' conftest.er1 >conftest.err
20734 rm -f conftest.er1
20735 cat conftest.err >&5
20736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20737 (exit $ac_status); } &&
20738 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
20744 { ac_try='test -s conftest.$ac_objext'
20745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20746 (eval $ac_try) 2>&5
20747 ac_status=$?
20748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20749 (exit $ac_status); }; }; then
20750 ac_hi=-1 ac_mid=-1
20751 while :; do
20752 cat >conftest.$ac_ext <<_ACEOF
20753 /* confdefs.h. */
20754 _ACEOF
20755 cat confdefs.h >>conftest.$ac_ext
20756 cat >>conftest.$ac_ext <<_ACEOF
20757 /* end confdefs.h. */
20758 $ac_includes_default
20759 int
20760 main ()
20761 {
20762 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20763 test_array [0] = 0
20764
20765 ;
20766 return 0;
20767 }
20768 _ACEOF
20769 rm -f conftest.$ac_objext
20770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20771 (eval $ac_compile) 2>conftest.er1
20772 ac_status=$?
20773 grep -v '^ *+' conftest.er1 >conftest.err
20774 rm -f conftest.er1
20775 cat conftest.err >&5
20776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20777 (exit $ac_status); } &&
20778 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20780 (eval $ac_try) 2>&5
20781 ac_status=$?
20782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20783 (exit $ac_status); }; } &&
20784 { ac_try='test -s conftest.$ac_objext'
20785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20786 (eval $ac_try) 2>&5
20787 ac_status=$?
20788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20789 (exit $ac_status); }; }; then
20790 ac_lo=$ac_mid; break
20791 else
20792 echo "$as_me: failed program was:" >&5
20793 sed 's/^/| /' conftest.$ac_ext >&5
20794
20795 ac_hi=`expr '(' $ac_mid ')' - 1`
20796 if test $ac_mid -le $ac_hi; then
20797 ac_lo= ac_hi=
20798 break
20799 fi
20800 ac_mid=`expr 2 '*' $ac_mid`
20801 fi
20802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20803 done
20804 else
20805 echo "$as_me: failed program was:" >&5
20806 sed 's/^/| /' conftest.$ac_ext >&5
20807
20808 ac_lo= ac_hi=
20809 fi
20810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20811 fi
20812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20813 # Binary search between lo and hi bounds.
20814 while test "x$ac_lo" != "x$ac_hi"; do
20815 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20816 cat >conftest.$ac_ext <<_ACEOF
20817 /* confdefs.h. */
20818 _ACEOF
20819 cat confdefs.h >>conftest.$ac_ext
20820 cat >>conftest.$ac_ext <<_ACEOF
20821 /* end confdefs.h. */
20822 $ac_includes_default
20823 int
20824 main ()
20825 {
20826 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20827 test_array [0] = 0
20828
20829 ;
20830 return 0;
20831 }
20832 _ACEOF
20833 rm -f conftest.$ac_objext
20834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20835 (eval $ac_compile) 2>conftest.er1
20836 ac_status=$?
20837 grep -v '^ *+' conftest.er1 >conftest.err
20838 rm -f conftest.er1
20839 cat conftest.err >&5
20840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20841 (exit $ac_status); } &&
20842 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20844 (eval $ac_try) 2>&5
20845 ac_status=$?
20846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20847 (exit $ac_status); }; } &&
20848 { ac_try='test -s conftest.$ac_objext'
20849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20850 (eval $ac_try) 2>&5
20851 ac_status=$?
20852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20853 (exit $ac_status); }; }; then
20854 ac_hi=$ac_mid
20855 else
20856 echo "$as_me: failed program was:" >&5
20857 sed 's/^/| /' conftest.$ac_ext >&5
20858
20859 ac_lo=`expr '(' $ac_mid ')' + 1`
20860 fi
20861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20862 done
20863 case $ac_lo in
20864 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20865 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20866 See \`config.log' for more details." >&5
20867 echo "$as_me: error: cannot compute sizeof (long long), 77
20868 See \`config.log' for more details." >&2;}
20869 { (exit 1); exit 1; }; } ;;
20870 esac
20871 else
20872 if test "$cross_compiling" = yes; then
20873 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20874 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20875 { (exit 1); exit 1; }; }
20876 else
20877 cat >conftest.$ac_ext <<_ACEOF
20878 /* confdefs.h. */
20879 _ACEOF
20880 cat confdefs.h >>conftest.$ac_ext
20881 cat >>conftest.$ac_ext <<_ACEOF
20882 /* end confdefs.h. */
20883 $ac_includes_default
20884 long longval () { return (long) (sizeof (long long)); }
20885 unsigned long ulongval () { return (long) (sizeof (long long)); }
20886 #include <stdio.h>
20887 #include <stdlib.h>
20888 int
20889 main ()
20890 {
20891
20892 FILE *f = fopen ("conftest.val", "w");
20893 if (! f)
20894 exit (1);
20895 if (((long) (sizeof (long long))) < 0)
20896 {
20897 long i = longval ();
20898 if (i != ((long) (sizeof (long long))))
20899 exit (1);
20900 fprintf (f, "%ld\n", i);
20901 }
20902 else
20903 {
20904 unsigned long i = ulongval ();
20905 if (i != ((long) (sizeof (long long))))
20906 exit (1);
20907 fprintf (f, "%lu\n", i);
20908 }
20909 exit (ferror (f) || fclose (f) != 0);
20910
20911 ;
20912 return 0;
20913 }
20914 _ACEOF
20915 rm -f conftest$ac_exeext
20916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20917 (eval $ac_link) 2>&5
20918 ac_status=$?
20919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20920 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20922 (eval $ac_try) 2>&5
20923 ac_status=$?
20924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20925 (exit $ac_status); }; }; then
20926 ac_cv_sizeof_long_long=`cat conftest.val`
20927 else
20928 echo "$as_me: program exited with status $ac_status" >&5
20929 echo "$as_me: failed program was:" >&5
20930 sed 's/^/| /' conftest.$ac_ext >&5
20931
20932 ( exit $ac_status )
20933 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20934 See \`config.log' for more details." >&5
20935 echo "$as_me: error: cannot compute sizeof (long long), 77
20936 See \`config.log' for more details." >&2;}
20937 { (exit 1); exit 1; }; }
20938 fi
20939 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20940 fi
20941 fi
20942 rm -f conftest.val
20943 else
20944 ac_cv_sizeof_long_long=0
20945 fi
20946 fi
20947 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20948 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20949 cat >>confdefs.h <<_ACEOF
20950 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20951 _ACEOF
20952
20953
20954 ;;
20955 *-hp-hpux* )
20956 echo "$as_me:$LINENO: checking for long long" >&5
20957 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20958 if test "${ac_cv_type_long_long+set}" = set; then
20959 echo $ECHO_N "(cached) $ECHO_C" >&6
20960 else
20961 cat >conftest.$ac_ext <<_ACEOF
20962 /* confdefs.h. */
20963 _ACEOF
20964 cat confdefs.h >>conftest.$ac_ext
20965 cat >>conftest.$ac_ext <<_ACEOF
20966 /* end confdefs.h. */
20967 $ac_includes_default
20968 int
20969 main ()
20970 {
20971 if ((long long *) 0)
20972 return 0;
20973 if (sizeof (long long))
20974 return 0;
20975 ;
20976 return 0;
20977 }
20978 _ACEOF
20979 rm -f conftest.$ac_objext
20980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20981 (eval $ac_compile) 2>conftest.er1
20982 ac_status=$?
20983 grep -v '^ *+' conftest.er1 >conftest.err
20984 rm -f conftest.er1
20985 cat conftest.err >&5
20986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20987 (exit $ac_status); } &&
20988 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20990 (eval $ac_try) 2>&5
20991 ac_status=$?
20992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20993 (exit $ac_status); }; } &&
20994 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
21000 ac_cv_type_long_long=yes
21001 else
21002 echo "$as_me: failed program was:" >&5
21003 sed 's/^/| /' conftest.$ac_ext >&5
21004
21005 ac_cv_type_long_long=no
21006 fi
21007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21008 fi
21009 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21010 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21011
21012 echo "$as_me:$LINENO: checking size of long long" >&5
21013 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21014 if test "${ac_cv_sizeof_long_long+set}" = set; then
21015 echo $ECHO_N "(cached) $ECHO_C" >&6
21016 else
21017 if test "$ac_cv_type_long_long" = yes; then
21018 # The cast to unsigned long works around a bug in the HP C Compiler
21019 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21020 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21021 # This bug is HP SR number 8606223364.
21022 if test "$cross_compiling" = yes; then
21023 # Depending upon the size, compute the lo and hi bounds.
21024 cat >conftest.$ac_ext <<_ACEOF
21025 /* confdefs.h. */
21026 _ACEOF
21027 cat confdefs.h >>conftest.$ac_ext
21028 cat >>conftest.$ac_ext <<_ACEOF
21029 /* end confdefs.h. */
21030 $ac_includes_default
21031 int
21032 main ()
21033 {
21034 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21035 test_array [0] = 0
21036
21037 ;
21038 return 0;
21039 }
21040 _ACEOF
21041 rm -f conftest.$ac_objext
21042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21043 (eval $ac_compile) 2>conftest.er1
21044 ac_status=$?
21045 grep -v '^ *+' conftest.er1 >conftest.err
21046 rm -f conftest.er1
21047 cat conftest.err >&5
21048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21049 (exit $ac_status); } &&
21050 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21052 (eval $ac_try) 2>&5
21053 ac_status=$?
21054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21055 (exit $ac_status); }; } &&
21056 { ac_try='test -s conftest.$ac_objext'
21057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21058 (eval $ac_try) 2>&5
21059 ac_status=$?
21060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21061 (exit $ac_status); }; }; then
21062 ac_lo=0 ac_mid=0
21063 while :; do
21064 cat >conftest.$ac_ext <<_ACEOF
21065 /* confdefs.h. */
21066 _ACEOF
21067 cat confdefs.h >>conftest.$ac_ext
21068 cat >>conftest.$ac_ext <<_ACEOF
21069 /* end confdefs.h. */
21070 $ac_includes_default
21071 int
21072 main ()
21073 {
21074 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21075 test_array [0] = 0
21076
21077 ;
21078 return 0;
21079 }
21080 _ACEOF
21081 rm -f conftest.$ac_objext
21082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21083 (eval $ac_compile) 2>conftest.er1
21084 ac_status=$?
21085 grep -v '^ *+' conftest.er1 >conftest.err
21086 rm -f conftest.er1
21087 cat conftest.err >&5
21088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21089 (exit $ac_status); } &&
21090 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21092 (eval $ac_try) 2>&5
21093 ac_status=$?
21094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21095 (exit $ac_status); }; } &&
21096 { ac_try='test -s conftest.$ac_objext'
21097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21098 (eval $ac_try) 2>&5
21099 ac_status=$?
21100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21101 (exit $ac_status); }; }; then
21102 ac_hi=$ac_mid; break
21103 else
21104 echo "$as_me: failed program was:" >&5
21105 sed 's/^/| /' conftest.$ac_ext >&5
21106
21107 ac_lo=`expr $ac_mid + 1`
21108 if test $ac_lo -le $ac_mid; then
21109 ac_lo= ac_hi=
21110 break
21111 fi
21112 ac_mid=`expr 2 '*' $ac_mid + 1`
21113 fi
21114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21115 done
21116 else
21117 echo "$as_me: failed program was:" >&5
21118 sed 's/^/| /' conftest.$ac_ext >&5
21119
21120 cat >conftest.$ac_ext <<_ACEOF
21121 /* confdefs.h. */
21122 _ACEOF
21123 cat confdefs.h >>conftest.$ac_ext
21124 cat >>conftest.$ac_ext <<_ACEOF
21125 /* end confdefs.h. */
21126 $ac_includes_default
21127 int
21128 main ()
21129 {
21130 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21131 test_array [0] = 0
21132
21133 ;
21134 return 0;
21135 }
21136 _ACEOF
21137 rm -f conftest.$ac_objext
21138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21139 (eval $ac_compile) 2>conftest.er1
21140 ac_status=$?
21141 grep -v '^ *+' conftest.er1 >conftest.err
21142 rm -f conftest.er1
21143 cat conftest.err >&5
21144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21145 (exit $ac_status); } &&
21146 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
21152 { ac_try='test -s conftest.$ac_objext'
21153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21154 (eval $ac_try) 2>&5
21155 ac_status=$?
21156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21157 (exit $ac_status); }; }; then
21158 ac_hi=-1 ac_mid=-1
21159 while :; do
21160 cat >conftest.$ac_ext <<_ACEOF
21161 /* confdefs.h. */
21162 _ACEOF
21163 cat confdefs.h >>conftest.$ac_ext
21164 cat >>conftest.$ac_ext <<_ACEOF
21165 /* end confdefs.h. */
21166 $ac_includes_default
21167 int
21168 main ()
21169 {
21170 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21171 test_array [0] = 0
21172
21173 ;
21174 return 0;
21175 }
21176 _ACEOF
21177 rm -f conftest.$ac_objext
21178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21179 (eval $ac_compile) 2>conftest.er1
21180 ac_status=$?
21181 grep -v '^ *+' conftest.er1 >conftest.err
21182 rm -f conftest.er1
21183 cat conftest.err >&5
21184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21185 (exit $ac_status); } &&
21186 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21188 (eval $ac_try) 2>&5
21189 ac_status=$?
21190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21191 (exit $ac_status); }; } &&
21192 { ac_try='test -s conftest.$ac_objext'
21193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21194 (eval $ac_try) 2>&5
21195 ac_status=$?
21196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21197 (exit $ac_status); }; }; then
21198 ac_lo=$ac_mid; break
21199 else
21200 echo "$as_me: failed program was:" >&5
21201 sed 's/^/| /' conftest.$ac_ext >&5
21202
21203 ac_hi=`expr '(' $ac_mid ')' - 1`
21204 if test $ac_mid -le $ac_hi; then
21205 ac_lo= ac_hi=
21206 break
21207 fi
21208 ac_mid=`expr 2 '*' $ac_mid`
21209 fi
21210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21211 done
21212 else
21213 echo "$as_me: failed program was:" >&5
21214 sed 's/^/| /' conftest.$ac_ext >&5
21215
21216 ac_lo= ac_hi=
21217 fi
21218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21219 fi
21220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21221 # Binary search between lo and hi bounds.
21222 while test "x$ac_lo" != "x$ac_hi"; do
21223 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21224 cat >conftest.$ac_ext <<_ACEOF
21225 /* confdefs.h. */
21226 _ACEOF
21227 cat confdefs.h >>conftest.$ac_ext
21228 cat >>conftest.$ac_ext <<_ACEOF
21229 /* end confdefs.h. */
21230 $ac_includes_default
21231 int
21232 main ()
21233 {
21234 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21235 test_array [0] = 0
21236
21237 ;
21238 return 0;
21239 }
21240 _ACEOF
21241 rm -f conftest.$ac_objext
21242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21243 (eval $ac_compile) 2>conftest.er1
21244 ac_status=$?
21245 grep -v '^ *+' conftest.er1 >conftest.err
21246 rm -f conftest.er1
21247 cat conftest.err >&5
21248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21249 (exit $ac_status); } &&
21250 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21252 (eval $ac_try) 2>&5
21253 ac_status=$?
21254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21255 (exit $ac_status); }; } &&
21256 { ac_try='test -s conftest.$ac_objext'
21257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21258 (eval $ac_try) 2>&5
21259 ac_status=$?
21260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21261 (exit $ac_status); }; }; then
21262 ac_hi=$ac_mid
21263 else
21264 echo "$as_me: failed program was:" >&5
21265 sed 's/^/| /' conftest.$ac_ext >&5
21266
21267 ac_lo=`expr '(' $ac_mid ')' + 1`
21268 fi
21269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21270 done
21271 case $ac_lo in
21272 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21273 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21274 See \`config.log' for more details." >&5
21275 echo "$as_me: error: cannot compute sizeof (long long), 77
21276 See \`config.log' for more details." >&2;}
21277 { (exit 1); exit 1; }; } ;;
21278 esac
21279 else
21280 if test "$cross_compiling" = yes; then
21281 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21282 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21283 { (exit 1); exit 1; }; }
21284 else
21285 cat >conftest.$ac_ext <<_ACEOF
21286 /* confdefs.h. */
21287 _ACEOF
21288 cat confdefs.h >>conftest.$ac_ext
21289 cat >>conftest.$ac_ext <<_ACEOF
21290 /* end confdefs.h. */
21291 $ac_includes_default
21292 long longval () { return (long) (sizeof (long long)); }
21293 unsigned long ulongval () { return (long) (sizeof (long long)); }
21294 #include <stdio.h>
21295 #include <stdlib.h>
21296 int
21297 main ()
21298 {
21299
21300 FILE *f = fopen ("conftest.val", "w");
21301 if (! f)
21302 exit (1);
21303 if (((long) (sizeof (long long))) < 0)
21304 {
21305 long i = longval ();
21306 if (i != ((long) (sizeof (long long))))
21307 exit (1);
21308 fprintf (f, "%ld\n", i);
21309 }
21310 else
21311 {
21312 unsigned long i = ulongval ();
21313 if (i != ((long) (sizeof (long long))))
21314 exit (1);
21315 fprintf (f, "%lu\n", i);
21316 }
21317 exit (ferror (f) || fclose (f) != 0);
21318
21319 ;
21320 return 0;
21321 }
21322 _ACEOF
21323 rm -f conftest$ac_exeext
21324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21325 (eval $ac_link) 2>&5
21326 ac_status=$?
21327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21328 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21330 (eval $ac_try) 2>&5
21331 ac_status=$?
21332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21333 (exit $ac_status); }; }; then
21334 ac_cv_sizeof_long_long=`cat conftest.val`
21335 else
21336 echo "$as_me: program exited with status $ac_status" >&5
21337 echo "$as_me: failed program was:" >&5
21338 sed 's/^/| /' conftest.$ac_ext >&5
21339
21340 ( exit $ac_status )
21341 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21342 See \`config.log' for more details." >&5
21343 echo "$as_me: error: cannot compute sizeof (long long), 77
21344 See \`config.log' for more details." >&2;}
21345 { (exit 1); exit 1; }; }
21346 fi
21347 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21348 fi
21349 fi
21350 rm -f conftest.val
21351 else
21352 ac_cv_sizeof_long_long=0
21353 fi
21354 fi
21355 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21356 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21357 cat >>confdefs.h <<_ACEOF
21358 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21359 _ACEOF
21360
21361
21362 if test "$ac_cv_sizeof_long_long" != "0"; then
21363 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21364 fi
21365 ;;
21366 * )
21367 echo "$as_me:$LINENO: checking for long long" >&5
21368 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21369 if test "${ac_cv_type_long_long+set}" = set; then
21370 echo $ECHO_N "(cached) $ECHO_C" >&6
21371 else
21372 cat >conftest.$ac_ext <<_ACEOF
21373 /* confdefs.h. */
21374 _ACEOF
21375 cat confdefs.h >>conftest.$ac_ext
21376 cat >>conftest.$ac_ext <<_ACEOF
21377 /* end confdefs.h. */
21378 $ac_includes_default
21379 int
21380 main ()
21381 {
21382 if ((long long *) 0)
21383 return 0;
21384 if (sizeof (long long))
21385 return 0;
21386 ;
21387 return 0;
21388 }
21389 _ACEOF
21390 rm -f conftest.$ac_objext
21391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21392 (eval $ac_compile) 2>conftest.er1
21393 ac_status=$?
21394 grep -v '^ *+' conftest.er1 >conftest.err
21395 rm -f conftest.er1
21396 cat conftest.err >&5
21397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21398 (exit $ac_status); } &&
21399 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21401 (eval $ac_try) 2>&5
21402 ac_status=$?
21403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21404 (exit $ac_status); }; } &&
21405 { ac_try='test -s conftest.$ac_objext'
21406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21407 (eval $ac_try) 2>&5
21408 ac_status=$?
21409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21410 (exit $ac_status); }; }; then
21411 ac_cv_type_long_long=yes
21412 else
21413 echo "$as_me: failed program was:" >&5
21414 sed 's/^/| /' conftest.$ac_ext >&5
21415
21416 ac_cv_type_long_long=no
21417 fi
21418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21419 fi
21420 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21421 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21422
21423 echo "$as_me:$LINENO: checking size of long long" >&5
21424 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21425 if test "${ac_cv_sizeof_long_long+set}" = set; then
21426 echo $ECHO_N "(cached) $ECHO_C" >&6
21427 else
21428 if test "$ac_cv_type_long_long" = yes; then
21429 # The cast to unsigned long works around a bug in the HP C Compiler
21430 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21431 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21432 # This bug is HP SR number 8606223364.
21433 if test "$cross_compiling" = yes; then
21434 # Depending upon the size, compute the lo and hi bounds.
21435 cat >conftest.$ac_ext <<_ACEOF
21436 /* confdefs.h. */
21437 _ACEOF
21438 cat confdefs.h >>conftest.$ac_ext
21439 cat >>conftest.$ac_ext <<_ACEOF
21440 /* end confdefs.h. */
21441 $ac_includes_default
21442 int
21443 main ()
21444 {
21445 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21446 test_array [0] = 0
21447
21448 ;
21449 return 0;
21450 }
21451 _ACEOF
21452 rm -f conftest.$ac_objext
21453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21454 (eval $ac_compile) 2>conftest.er1
21455 ac_status=$?
21456 grep -v '^ *+' conftest.er1 >conftest.err
21457 rm -f conftest.er1
21458 cat conftest.err >&5
21459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21460 (exit $ac_status); } &&
21461 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21463 (eval $ac_try) 2>&5
21464 ac_status=$?
21465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21466 (exit $ac_status); }; } &&
21467 { ac_try='test -s conftest.$ac_objext'
21468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21469 (eval $ac_try) 2>&5
21470 ac_status=$?
21471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21472 (exit $ac_status); }; }; then
21473 ac_lo=0 ac_mid=0
21474 while :; do
21475 cat >conftest.$ac_ext <<_ACEOF
21476 /* confdefs.h. */
21477 _ACEOF
21478 cat confdefs.h >>conftest.$ac_ext
21479 cat >>conftest.$ac_ext <<_ACEOF
21480 /* end confdefs.h. */
21481 $ac_includes_default
21482 int
21483 main ()
21484 {
21485 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21486 test_array [0] = 0
21487
21488 ;
21489 return 0;
21490 }
21491 _ACEOF
21492 rm -f conftest.$ac_objext
21493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21494 (eval $ac_compile) 2>conftest.er1
21495 ac_status=$?
21496 grep -v '^ *+' conftest.er1 >conftest.err
21497 rm -f conftest.er1
21498 cat conftest.err >&5
21499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21500 (exit $ac_status); } &&
21501 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21503 (eval $ac_try) 2>&5
21504 ac_status=$?
21505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21506 (exit $ac_status); }; } &&
21507 { ac_try='test -s conftest.$ac_objext'
21508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21509 (eval $ac_try) 2>&5
21510 ac_status=$?
21511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21512 (exit $ac_status); }; }; then
21513 ac_hi=$ac_mid; break
21514 else
21515 echo "$as_me: failed program was:" >&5
21516 sed 's/^/| /' conftest.$ac_ext >&5
21517
21518 ac_lo=`expr $ac_mid + 1`
21519 if test $ac_lo -le $ac_mid; then
21520 ac_lo= ac_hi=
21521 break
21522 fi
21523 ac_mid=`expr 2 '*' $ac_mid + 1`
21524 fi
21525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21526 done
21527 else
21528 echo "$as_me: failed program was:" >&5
21529 sed 's/^/| /' conftest.$ac_ext >&5
21530
21531 cat >conftest.$ac_ext <<_ACEOF
21532 /* confdefs.h. */
21533 _ACEOF
21534 cat confdefs.h >>conftest.$ac_ext
21535 cat >>conftest.$ac_ext <<_ACEOF
21536 /* end confdefs.h. */
21537 $ac_includes_default
21538 int
21539 main ()
21540 {
21541 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21542 test_array [0] = 0
21543
21544 ;
21545 return 0;
21546 }
21547 _ACEOF
21548 rm -f conftest.$ac_objext
21549 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21550 (eval $ac_compile) 2>conftest.er1
21551 ac_status=$?
21552 grep -v '^ *+' conftest.er1 >conftest.err
21553 rm -f conftest.er1
21554 cat conftest.err >&5
21555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21556 (exit $ac_status); } &&
21557 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
21563 { ac_try='test -s conftest.$ac_objext'
21564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21565 (eval $ac_try) 2>&5
21566 ac_status=$?
21567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21568 (exit $ac_status); }; }; then
21569 ac_hi=-1 ac_mid=-1
21570 while :; do
21571 cat >conftest.$ac_ext <<_ACEOF
21572 /* confdefs.h. */
21573 _ACEOF
21574 cat confdefs.h >>conftest.$ac_ext
21575 cat >>conftest.$ac_ext <<_ACEOF
21576 /* end confdefs.h. */
21577 $ac_includes_default
21578 int
21579 main ()
21580 {
21581 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21582 test_array [0] = 0
21583
21584 ;
21585 return 0;
21586 }
21587 _ACEOF
21588 rm -f conftest.$ac_objext
21589 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21590 (eval $ac_compile) 2>conftest.er1
21591 ac_status=$?
21592 grep -v '^ *+' conftest.er1 >conftest.err
21593 rm -f conftest.er1
21594 cat conftest.err >&5
21595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21596 (exit $ac_status); } &&
21597 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21599 (eval $ac_try) 2>&5
21600 ac_status=$?
21601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21602 (exit $ac_status); }; } &&
21603 { ac_try='test -s conftest.$ac_objext'
21604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21605 (eval $ac_try) 2>&5
21606 ac_status=$?
21607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21608 (exit $ac_status); }; }; then
21609 ac_lo=$ac_mid; break
21610 else
21611 echo "$as_me: failed program was:" >&5
21612 sed 's/^/| /' conftest.$ac_ext >&5
21613
21614 ac_hi=`expr '(' $ac_mid ')' - 1`
21615 if test $ac_mid -le $ac_hi; then
21616 ac_lo= ac_hi=
21617 break
21618 fi
21619 ac_mid=`expr 2 '*' $ac_mid`
21620 fi
21621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21622 done
21623 else
21624 echo "$as_me: failed program was:" >&5
21625 sed 's/^/| /' conftest.$ac_ext >&5
21626
21627 ac_lo= ac_hi=
21628 fi
21629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21630 fi
21631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21632 # Binary search between lo and hi bounds.
21633 while test "x$ac_lo" != "x$ac_hi"; do
21634 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21635 cat >conftest.$ac_ext <<_ACEOF
21636 /* confdefs.h. */
21637 _ACEOF
21638 cat confdefs.h >>conftest.$ac_ext
21639 cat >>conftest.$ac_ext <<_ACEOF
21640 /* end confdefs.h. */
21641 $ac_includes_default
21642 int
21643 main ()
21644 {
21645 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21646 test_array [0] = 0
21647
21648 ;
21649 return 0;
21650 }
21651 _ACEOF
21652 rm -f conftest.$ac_objext
21653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21654 (eval $ac_compile) 2>conftest.er1
21655 ac_status=$?
21656 grep -v '^ *+' conftest.er1 >conftest.err
21657 rm -f conftest.er1
21658 cat conftest.err >&5
21659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21660 (exit $ac_status); } &&
21661 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21663 (eval $ac_try) 2>&5
21664 ac_status=$?
21665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21666 (exit $ac_status); }; } &&
21667 { ac_try='test -s conftest.$ac_objext'
21668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21669 (eval $ac_try) 2>&5
21670 ac_status=$?
21671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21672 (exit $ac_status); }; }; then
21673 ac_hi=$ac_mid
21674 else
21675 echo "$as_me: failed program was:" >&5
21676 sed 's/^/| /' conftest.$ac_ext >&5
21677
21678 ac_lo=`expr '(' $ac_mid ')' + 1`
21679 fi
21680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21681 done
21682 case $ac_lo in
21683 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21684 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21685 See \`config.log' for more details." >&5
21686 echo "$as_me: error: cannot compute sizeof (long long), 77
21687 See \`config.log' for more details." >&2;}
21688 { (exit 1); exit 1; }; } ;;
21689 esac
21690 else
21691 if test "$cross_compiling" = yes; then
21692 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21693 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21694 { (exit 1); exit 1; }; }
21695 else
21696 cat >conftest.$ac_ext <<_ACEOF
21697 /* confdefs.h. */
21698 _ACEOF
21699 cat confdefs.h >>conftest.$ac_ext
21700 cat >>conftest.$ac_ext <<_ACEOF
21701 /* end confdefs.h. */
21702 $ac_includes_default
21703 long longval () { return (long) (sizeof (long long)); }
21704 unsigned long ulongval () { return (long) (sizeof (long long)); }
21705 #include <stdio.h>
21706 #include <stdlib.h>
21707 int
21708 main ()
21709 {
21710
21711 FILE *f = fopen ("conftest.val", "w");
21712 if (! f)
21713 exit (1);
21714 if (((long) (sizeof (long long))) < 0)
21715 {
21716 long i = longval ();
21717 if (i != ((long) (sizeof (long long))))
21718 exit (1);
21719 fprintf (f, "%ld\n", i);
21720 }
21721 else
21722 {
21723 unsigned long i = ulongval ();
21724 if (i != ((long) (sizeof (long long))))
21725 exit (1);
21726 fprintf (f, "%lu\n", i);
21727 }
21728 exit (ferror (f) || fclose (f) != 0);
21729
21730 ;
21731 return 0;
21732 }
21733 _ACEOF
21734 rm -f conftest$ac_exeext
21735 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21736 (eval $ac_link) 2>&5
21737 ac_status=$?
21738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21739 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21741 (eval $ac_try) 2>&5
21742 ac_status=$?
21743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21744 (exit $ac_status); }; }; then
21745 ac_cv_sizeof_long_long=`cat conftest.val`
21746 else
21747 echo "$as_me: program exited with status $ac_status" >&5
21748 echo "$as_me: failed program was:" >&5
21749 sed 's/^/| /' conftest.$ac_ext >&5
21750
21751 ( exit $ac_status )
21752 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21753 See \`config.log' for more details." >&5
21754 echo "$as_me: error: cannot compute sizeof (long long), 77
21755 See \`config.log' for more details." >&2;}
21756 { (exit 1); exit 1; }; }
21757 fi
21758 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21759 fi
21760 fi
21761 rm -f conftest.val
21762 else
21763 ac_cv_sizeof_long_long=0
21764 fi
21765 fi
21766 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21767 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21768 cat >>confdefs.h <<_ACEOF
21769 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21770 _ACEOF
21771
21772
21773 esac
21774
21775 echo "$as_me:$LINENO: checking for wchar_t" >&5
21776 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21777 if test "${ac_cv_type_wchar_t+set}" = set; then
21778 echo $ECHO_N "(cached) $ECHO_C" >&6
21779 else
21780 cat >conftest.$ac_ext <<_ACEOF
21781 /* confdefs.h. */
21782 _ACEOF
21783 cat confdefs.h >>conftest.$ac_ext
21784 cat >>conftest.$ac_ext <<_ACEOF
21785 /* end confdefs.h. */
21786
21787 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21788 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21789 # error "fake wchar_t"
21790 #endif
21791 #ifdef HAVE_WCHAR_H
21792 # ifdef __CYGWIN__
21793 # include <stddef.h>
21794 # endif
21795 # include <wchar.h>
21796 #endif
21797 #ifdef HAVE_STDLIB_H
21798 # include <stdlib.h>
21799 #endif
21800 #include <stdio.h>
21801
21802
21803
21804 int
21805 main ()
21806 {
21807 if ((wchar_t *) 0)
21808 return 0;
21809 if (sizeof (wchar_t))
21810 return 0;
21811 ;
21812 return 0;
21813 }
21814 _ACEOF
21815 rm -f conftest.$ac_objext
21816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21817 (eval $ac_compile) 2>conftest.er1
21818 ac_status=$?
21819 grep -v '^ *+' conftest.er1 >conftest.err
21820 rm -f conftest.er1
21821 cat conftest.err >&5
21822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21823 (exit $ac_status); } &&
21824 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21826 (eval $ac_try) 2>&5
21827 ac_status=$?
21828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21829 (exit $ac_status); }; } &&
21830 { ac_try='test -s conftest.$ac_objext'
21831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21832 (eval $ac_try) 2>&5
21833 ac_status=$?
21834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21835 (exit $ac_status); }; }; then
21836 ac_cv_type_wchar_t=yes
21837 else
21838 echo "$as_me: failed program was:" >&5
21839 sed 's/^/| /' conftest.$ac_ext >&5
21840
21841 ac_cv_type_wchar_t=no
21842 fi
21843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21844 fi
21845 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21846 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21847
21848 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21849 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21850 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21851 echo $ECHO_N "(cached) $ECHO_C" >&6
21852 else
21853 if test "$ac_cv_type_wchar_t" = yes; then
21854 # The cast to unsigned long works around a bug in the HP C Compiler
21855 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21856 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21857 # This bug is HP SR number 8606223364.
21858 if test "$cross_compiling" = yes; then
21859 # Depending upon the size, compute the lo and hi bounds.
21860 cat >conftest.$ac_ext <<_ACEOF
21861 /* confdefs.h. */
21862 _ACEOF
21863 cat confdefs.h >>conftest.$ac_ext
21864 cat >>conftest.$ac_ext <<_ACEOF
21865 /* end confdefs.h. */
21866
21867 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21868 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21869 # error "fake wchar_t"
21870 #endif
21871 #ifdef HAVE_WCHAR_H
21872 # ifdef __CYGWIN__
21873 # include <stddef.h>
21874 # endif
21875 # include <wchar.h>
21876 #endif
21877 #ifdef HAVE_STDLIB_H
21878 # include <stdlib.h>
21879 #endif
21880 #include <stdio.h>
21881
21882
21883
21884 int
21885 main ()
21886 {
21887 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21888 test_array [0] = 0
21889
21890 ;
21891 return 0;
21892 }
21893 _ACEOF
21894 rm -f conftest.$ac_objext
21895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21896 (eval $ac_compile) 2>conftest.er1
21897 ac_status=$?
21898 grep -v '^ *+' conftest.er1 >conftest.err
21899 rm -f conftest.er1
21900 cat conftest.err >&5
21901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21902 (exit $ac_status); } &&
21903 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21905 (eval $ac_try) 2>&5
21906 ac_status=$?
21907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21908 (exit $ac_status); }; } &&
21909 { ac_try='test -s conftest.$ac_objext'
21910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21911 (eval $ac_try) 2>&5
21912 ac_status=$?
21913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21914 (exit $ac_status); }; }; then
21915 ac_lo=0 ac_mid=0
21916 while :; do
21917 cat >conftest.$ac_ext <<_ACEOF
21918 /* confdefs.h. */
21919 _ACEOF
21920 cat confdefs.h >>conftest.$ac_ext
21921 cat >>conftest.$ac_ext <<_ACEOF
21922 /* end confdefs.h. */
21923
21924 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21925 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21926 # error "fake wchar_t"
21927 #endif
21928 #ifdef HAVE_WCHAR_H
21929 # ifdef __CYGWIN__
21930 # include <stddef.h>
21931 # endif
21932 # include <wchar.h>
21933 #endif
21934 #ifdef HAVE_STDLIB_H
21935 # include <stdlib.h>
21936 #endif
21937 #include <stdio.h>
21938
21939
21940
21941 int
21942 main ()
21943 {
21944 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21945 test_array [0] = 0
21946
21947 ;
21948 return 0;
21949 }
21950 _ACEOF
21951 rm -f conftest.$ac_objext
21952 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21953 (eval $ac_compile) 2>conftest.er1
21954 ac_status=$?
21955 grep -v '^ *+' conftest.er1 >conftest.err
21956 rm -f conftest.er1
21957 cat conftest.err >&5
21958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21959 (exit $ac_status); } &&
21960 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21962 (eval $ac_try) 2>&5
21963 ac_status=$?
21964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21965 (exit $ac_status); }; } &&
21966 { ac_try='test -s conftest.$ac_objext'
21967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21968 (eval $ac_try) 2>&5
21969 ac_status=$?
21970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21971 (exit $ac_status); }; }; then
21972 ac_hi=$ac_mid; break
21973 else
21974 echo "$as_me: failed program was:" >&5
21975 sed 's/^/| /' conftest.$ac_ext >&5
21976
21977 ac_lo=`expr $ac_mid + 1`
21978 if test $ac_lo -le $ac_mid; then
21979 ac_lo= ac_hi=
21980 break
21981 fi
21982 ac_mid=`expr 2 '*' $ac_mid + 1`
21983 fi
21984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21985 done
21986 else
21987 echo "$as_me: failed program was:" >&5
21988 sed 's/^/| /' conftest.$ac_ext >&5
21989
21990 cat >conftest.$ac_ext <<_ACEOF
21991 /* confdefs.h. */
21992 _ACEOF
21993 cat confdefs.h >>conftest.$ac_ext
21994 cat >>conftest.$ac_ext <<_ACEOF
21995 /* end confdefs.h. */
21996
21997 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21998 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21999 # error "fake wchar_t"
22000 #endif
22001 #ifdef HAVE_WCHAR_H
22002 # ifdef __CYGWIN__
22003 # include <stddef.h>
22004 # endif
22005 # include <wchar.h>
22006 #endif
22007 #ifdef HAVE_STDLIB_H
22008 # include <stdlib.h>
22009 #endif
22010 #include <stdio.h>
22011
22012
22013
22014 int
22015 main ()
22016 {
22017 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
22018 test_array [0] = 0
22019
22020 ;
22021 return 0;
22022 }
22023 _ACEOF
22024 rm -f conftest.$ac_objext
22025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22026 (eval $ac_compile) 2>conftest.er1
22027 ac_status=$?
22028 grep -v '^ *+' conftest.er1 >conftest.err
22029 rm -f conftest.er1
22030 cat conftest.err >&5
22031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22032 (exit $ac_status); } &&
22033 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22035 (eval $ac_try) 2>&5
22036 ac_status=$?
22037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22038 (exit $ac_status); }; } &&
22039 { ac_try='test -s conftest.$ac_objext'
22040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22041 (eval $ac_try) 2>&5
22042 ac_status=$?
22043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22044 (exit $ac_status); }; }; then
22045 ac_hi=-1 ac_mid=-1
22046 while :; do
22047 cat >conftest.$ac_ext <<_ACEOF
22048 /* confdefs.h. */
22049 _ACEOF
22050 cat confdefs.h >>conftest.$ac_ext
22051 cat >>conftest.$ac_ext <<_ACEOF
22052 /* end confdefs.h. */
22053
22054 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22055 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22056 # error "fake wchar_t"
22057 #endif
22058 #ifdef HAVE_WCHAR_H
22059 # ifdef __CYGWIN__
22060 # include <stddef.h>
22061 # endif
22062 # include <wchar.h>
22063 #endif
22064 #ifdef HAVE_STDLIB_H
22065 # include <stdlib.h>
22066 #endif
22067 #include <stdio.h>
22068
22069
22070
22071 int
22072 main ()
22073 {
22074 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
22075 test_array [0] = 0
22076
22077 ;
22078 return 0;
22079 }
22080 _ACEOF
22081 rm -f conftest.$ac_objext
22082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22083 (eval $ac_compile) 2>conftest.er1
22084 ac_status=$?
22085 grep -v '^ *+' conftest.er1 >conftest.err
22086 rm -f conftest.er1
22087 cat conftest.err >&5
22088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22089 (exit $ac_status); } &&
22090 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22092 (eval $ac_try) 2>&5
22093 ac_status=$?
22094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22095 (exit $ac_status); }; } &&
22096 { ac_try='test -s conftest.$ac_objext'
22097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22098 (eval $ac_try) 2>&5
22099 ac_status=$?
22100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22101 (exit $ac_status); }; }; then
22102 ac_lo=$ac_mid; break
22103 else
22104 echo "$as_me: failed program was:" >&5
22105 sed 's/^/| /' conftest.$ac_ext >&5
22106
22107 ac_hi=`expr '(' $ac_mid ')' - 1`
22108 if test $ac_mid -le $ac_hi; then
22109 ac_lo= ac_hi=
22110 break
22111 fi
22112 ac_mid=`expr 2 '*' $ac_mid`
22113 fi
22114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22115 done
22116 else
22117 echo "$as_me: failed program was:" >&5
22118 sed 's/^/| /' conftest.$ac_ext >&5
22119
22120 ac_lo= ac_hi=
22121 fi
22122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22123 fi
22124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22125 # Binary search between lo and hi bounds.
22126 while test "x$ac_lo" != "x$ac_hi"; do
22127 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22128 cat >conftest.$ac_ext <<_ACEOF
22129 /* confdefs.h. */
22130 _ACEOF
22131 cat confdefs.h >>conftest.$ac_ext
22132 cat >>conftest.$ac_ext <<_ACEOF
22133 /* end confdefs.h. */
22134
22135 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22136 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22137 # error "fake wchar_t"
22138 #endif
22139 #ifdef HAVE_WCHAR_H
22140 # ifdef __CYGWIN__
22141 # include <stddef.h>
22142 # endif
22143 # include <wchar.h>
22144 #endif
22145 #ifdef HAVE_STDLIB_H
22146 # include <stdlib.h>
22147 #endif
22148 #include <stdio.h>
22149
22150
22151
22152 int
22153 main ()
22154 {
22155 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
22156 test_array [0] = 0
22157
22158 ;
22159 return 0;
22160 }
22161 _ACEOF
22162 rm -f conftest.$ac_objext
22163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22164 (eval $ac_compile) 2>conftest.er1
22165 ac_status=$?
22166 grep -v '^ *+' conftest.er1 >conftest.err
22167 rm -f conftest.er1
22168 cat conftest.err >&5
22169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22170 (exit $ac_status); } &&
22171 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22173 (eval $ac_try) 2>&5
22174 ac_status=$?
22175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22176 (exit $ac_status); }; } &&
22177 { ac_try='test -s conftest.$ac_objext'
22178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22179 (eval $ac_try) 2>&5
22180 ac_status=$?
22181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22182 (exit $ac_status); }; }; then
22183 ac_hi=$ac_mid
22184 else
22185 echo "$as_me: failed program was:" >&5
22186 sed 's/^/| /' conftest.$ac_ext >&5
22187
22188 ac_lo=`expr '(' $ac_mid ')' + 1`
22189 fi
22190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22191 done
22192 case $ac_lo in
22193 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22194 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22195 See \`config.log' for more details." >&5
22196 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22197 See \`config.log' for more details." >&2;}
22198 { (exit 1); exit 1; }; } ;;
22199 esac
22200 else
22201 if test "$cross_compiling" = yes; then
22202 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22203 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22204 { (exit 1); exit 1; }; }
22205 else
22206 cat >conftest.$ac_ext <<_ACEOF
22207 /* confdefs.h. */
22208 _ACEOF
22209 cat confdefs.h >>conftest.$ac_ext
22210 cat >>conftest.$ac_ext <<_ACEOF
22211 /* end confdefs.h. */
22212
22213 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22214 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22215 # error "fake wchar_t"
22216 #endif
22217 #ifdef HAVE_WCHAR_H
22218 # ifdef __CYGWIN__
22219 # include <stddef.h>
22220 # endif
22221 # include <wchar.h>
22222 #endif
22223 #ifdef HAVE_STDLIB_H
22224 # include <stdlib.h>
22225 #endif
22226 #include <stdio.h>
22227
22228
22229
22230 long longval () { return (long) (sizeof (wchar_t)); }
22231 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
22232 #include <stdio.h>
22233 #include <stdlib.h>
22234 int
22235 main ()
22236 {
22237
22238 FILE *f = fopen ("conftest.val", "w");
22239 if (! f)
22240 exit (1);
22241 if (((long) (sizeof (wchar_t))) < 0)
22242 {
22243 long i = longval ();
22244 if (i != ((long) (sizeof (wchar_t))))
22245 exit (1);
22246 fprintf (f, "%ld\n", i);
22247 }
22248 else
22249 {
22250 unsigned long i = ulongval ();
22251 if (i != ((long) (sizeof (wchar_t))))
22252 exit (1);
22253 fprintf (f, "%lu\n", i);
22254 }
22255 exit (ferror (f) || fclose (f) != 0);
22256
22257 ;
22258 return 0;
22259 }
22260 _ACEOF
22261 rm -f conftest$ac_exeext
22262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22263 (eval $ac_link) 2>&5
22264 ac_status=$?
22265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22266 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22268 (eval $ac_try) 2>&5
22269 ac_status=$?
22270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22271 (exit $ac_status); }; }; then
22272 ac_cv_sizeof_wchar_t=`cat conftest.val`
22273 else
22274 echo "$as_me: program exited with status $ac_status" >&5
22275 echo "$as_me: failed program was:" >&5
22276 sed 's/^/| /' conftest.$ac_ext >&5
22277
22278 ( exit $ac_status )
22279 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22280 See \`config.log' for more details." >&5
22281 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22282 See \`config.log' for more details." >&2;}
22283 { (exit 1); exit 1; }; }
22284 fi
22285 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22286 fi
22287 fi
22288 rm -f conftest.val
22289 else
22290 ac_cv_sizeof_wchar_t=0
22291 fi
22292 fi
22293 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22294 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
22295 cat >>confdefs.h <<_ACEOF
22296 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22297 _ACEOF
22298
22299
22300 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22301 wxUSE_WCHAR_T=yes
22302 else
22303 wxUSE_WCHAR_T=no
22304 fi
22305
22306 echo "$as_me:$LINENO: checking for va_copy" >&5
22307 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
22308 if test "${wx_cv_func_va_copy+set}" = set; then
22309 echo $ECHO_N "(cached) $ECHO_C" >&6
22310 else
22311
22312 cat >conftest.$ac_ext <<_ACEOF
22313
22314 #include <stdarg.h>
22315 void foo(char *f, ...)
22316 {
22317 va_list ap1, ap2;
22318 va_start(ap1, f);
22319 va_copy(ap2, ap1);
22320 va_end(ap2);
22321 va_end(ap1);
22322 }
22323 int main()
22324 {
22325 foo("hi", 17);
22326 return 0;
22327 }
22328 _ACEOF
22329 rm -f conftest.$ac_objext conftest$ac_exeext
22330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22331 (eval $ac_link) 2>conftest.er1
22332 ac_status=$?
22333 grep -v '^ *+' conftest.er1 >conftest.err
22334 rm -f conftest.er1
22335 cat conftest.err >&5
22336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22337 (exit $ac_status); } &&
22338 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22340 (eval $ac_try) 2>&5
22341 ac_status=$?
22342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22343 (exit $ac_status); }; } &&
22344 { ac_try='test -s conftest$ac_exeext'
22345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22346 (eval $ac_try) 2>&5
22347 ac_status=$?
22348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22349 (exit $ac_status); }; }; then
22350 wx_cv_func_va_copy=yes
22351 else
22352 echo "$as_me: failed program was:" >&5
22353 sed 's/^/| /' conftest.$ac_ext >&5
22354
22355 wx_cv_func_va_copy=no
22356
22357 fi
22358 rm -f conftest.err conftest.$ac_objext \
22359 conftest$ac_exeext conftest.$ac_ext
22360
22361
22362 fi
22363 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22364 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22365
22366 if test $wx_cv_func_va_copy = "yes"; then
22367 cat >>confdefs.h <<\_ACEOF
22368 #define HAVE_VA_COPY 1
22369 _ACEOF
22370
22371 else
22372 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22373 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22374 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22375 echo $ECHO_N "(cached) $ECHO_C" >&6
22376 else
22377
22378 if test "$cross_compiling" = yes; then
22379 wx_cv_type_va_list_lvalue=yes
22380
22381 else
22382 cat >conftest.$ac_ext <<_ACEOF
22383
22384 #include <stdarg.h>
22385 int foo(char *f, ...)
22386 {
22387 va_list ap1, ap2;
22388 va_start(ap1, f);
22389 ap2 = ap1;
22390 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22391 return 1;
22392 va_end(ap2);
22393 va_end(ap1);
22394 return 0;
22395 }
22396 int main()
22397 {
22398 return foo("hi", 17);
22399 }
22400 _ACEOF
22401 rm -f conftest$ac_exeext
22402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22403 (eval $ac_link) 2>&5
22404 ac_status=$?
22405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22406 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22408 (eval $ac_try) 2>&5
22409 ac_status=$?
22410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22411 (exit $ac_status); }; }; then
22412 wx_cv_type_va_list_lvalue=yes
22413 else
22414 echo "$as_me: program exited with status $ac_status" >&5
22415 echo "$as_me: failed program was:" >&5
22416 sed 's/^/| /' conftest.$ac_ext >&5
22417
22418 ( exit $ac_status )
22419 wx_cv_type_va_list_lvalue=no
22420 fi
22421 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22422 fi
22423
22424
22425 fi
22426 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22427 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22428
22429 if test $wx_cv_type_va_list_lvalue != "yes"; then
22430 cat >>confdefs.h <<\_ACEOF
22431 #define VA_LIST_IS_ARRAY 1
22432 _ACEOF
22433
22434 fi
22435 fi
22436
22437 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22438 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
22439 if test "${wx_cv_have_variadic_macros+set}" = set; then
22440 echo $ECHO_N "(cached) $ECHO_C" >&6
22441 else
22442
22443 cat >conftest.$ac_ext <<_ACEOF
22444 /* confdefs.h. */
22445 _ACEOF
22446 cat confdefs.h >>conftest.$ac_ext
22447 cat >>conftest.$ac_ext <<_ACEOF
22448 /* end confdefs.h. */
22449
22450 #include <stdio.h>
22451 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22452
22453 int
22454 main ()
22455 {
22456
22457 test("%s %d %p", "test", 1, 0);
22458
22459
22460 ;
22461 return 0;
22462 }
22463 _ACEOF
22464 rm -f conftest.$ac_objext
22465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22466 (eval $ac_compile) 2>conftest.er1
22467 ac_status=$?
22468 grep -v '^ *+' conftest.er1 >conftest.err
22469 rm -f conftest.er1
22470 cat conftest.err >&5
22471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22472 (exit $ac_status); } &&
22473 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22475 (eval $ac_try) 2>&5
22476 ac_status=$?
22477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22478 (exit $ac_status); }; } &&
22479 { ac_try='test -s conftest.$ac_objext'
22480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22481 (eval $ac_try) 2>&5
22482 ac_status=$?
22483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22484 (exit $ac_status); }; }; then
22485 wx_cv_have_variadic_macros=yes
22486 else
22487 echo "$as_me: failed program was:" >&5
22488 sed 's/^/| /' conftest.$ac_ext >&5
22489
22490 wx_cv_have_variadic_macros=no
22491
22492 fi
22493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22494
22495
22496 fi
22497 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22498 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
22499
22500 if test $wx_cv_have_variadic_macros = "yes"; then
22501 cat >>confdefs.h <<\_ACEOF
22502 #define HAVE_VARIADIC_MACROS 1
22503 _ACEOF
22504
22505 fi
22506
22507 # Check whether --enable-largefile or --disable-largefile was given.
22508 if test "${enable_largefile+set}" = set; then
22509 enableval="$enable_largefile"
22510
22511 fi;
22512 if test "$enable_largefile" != no; then
22513 wx_largefile=no
22514
22515 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22516 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22517 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22518 echo $ECHO_N "(cached) $ECHO_C" >&6
22519 else
22520
22521 cat >conftest.$ac_ext <<_ACEOF
22522 /* confdefs.h. */
22523 _ACEOF
22524 cat confdefs.h >>conftest.$ac_ext
22525 cat >>conftest.$ac_ext <<_ACEOF
22526 /* end confdefs.h. */
22527 #define _FILE_OFFSET_BITS 64
22528 #include <sys/types.h>
22529 int
22530 main ()
22531 {
22532 typedef struct {
22533 unsigned int field: sizeof(off_t) == 8;
22534 } wxlf;
22535
22536 ;
22537 return 0;
22538 }
22539 _ACEOF
22540 rm -f conftest.$ac_objext
22541 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22542 (eval $ac_compile) 2>conftest.er1
22543 ac_status=$?
22544 grep -v '^ *+' conftest.er1 >conftest.err
22545 rm -f conftest.er1
22546 cat conftest.err >&5
22547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22548 (exit $ac_status); } &&
22549 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22551 (eval $ac_try) 2>&5
22552 ac_status=$?
22553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22554 (exit $ac_status); }; } &&
22555 { ac_try='test -s conftest.$ac_objext'
22556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22557 (eval $ac_try) 2>&5
22558 ac_status=$?
22559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22560 (exit $ac_status); }; }; then
22561 ac_cv_sys_file_offset_bits=64
22562 else
22563 echo "$as_me: failed program was:" >&5
22564 sed 's/^/| /' conftest.$ac_ext >&5
22565
22566 ac_cv_sys_file_offset_bits=no
22567 fi
22568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22569
22570
22571 fi
22572 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22573 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22574
22575 if test "$ac_cv_sys_file_offset_bits" != no; then
22576 wx_largefile=yes
22577 cat >>confdefs.h <<_ACEOF
22578 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22579 _ACEOF
22580
22581 fi
22582
22583 if test "x$wx_largefile" != "xyes"; then
22584
22585 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22586 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22587 if test "${ac_cv_sys_large_files+set}" = set; then
22588 echo $ECHO_N "(cached) $ECHO_C" >&6
22589 else
22590
22591 cat >conftest.$ac_ext <<_ACEOF
22592 /* confdefs.h. */
22593 _ACEOF
22594 cat confdefs.h >>conftest.$ac_ext
22595 cat >>conftest.$ac_ext <<_ACEOF
22596 /* end confdefs.h. */
22597 #define _LARGE_FILES 1
22598 #include <sys/types.h>
22599 int
22600 main ()
22601 {
22602 typedef struct {
22603 unsigned int field: sizeof(off_t) == 8;
22604 } wxlf;
22605
22606 ;
22607 return 0;
22608 }
22609 _ACEOF
22610 rm -f conftest.$ac_objext
22611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22612 (eval $ac_compile) 2>conftest.er1
22613 ac_status=$?
22614 grep -v '^ *+' conftest.er1 >conftest.err
22615 rm -f conftest.er1
22616 cat conftest.err >&5
22617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22618 (exit $ac_status); } &&
22619 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22621 (eval $ac_try) 2>&5
22622 ac_status=$?
22623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22624 (exit $ac_status); }; } &&
22625 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
22631 ac_cv_sys_large_files=1
22632 else
22633 echo "$as_me: failed program was:" >&5
22634 sed 's/^/| /' conftest.$ac_ext >&5
22635
22636 ac_cv_sys_large_files=no
22637 fi
22638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22639
22640
22641 fi
22642 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22643 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22644
22645 if test "$ac_cv_sys_large_files" != no; then
22646 wx_largefile=yes
22647 cat >>confdefs.h <<_ACEOF
22648 #define _LARGE_FILES $ac_cv_sys_large_files
22649 _ACEOF
22650
22651 fi
22652
22653 fi
22654
22655 echo "$as_me:$LINENO: checking if large file support is available" >&5
22656 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22657 if test "x$wx_largefile" = "xyes"; then
22658 cat >>confdefs.h <<\_ACEOF
22659 #define HAVE_LARGEFILE_SUPPORT 1
22660 _ACEOF
22661
22662 fi
22663 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22664 echo "${ECHO_T}$wx_largefile" >&6
22665 fi
22666
22667
22668 if test "x$wx_largefile" = "xyes"; then
22669 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22670 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22671
22672 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22673 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22674 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22675 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22676 echo $ECHO_N "(cached) $ECHO_C" >&6
22677 else
22678
22679 cat >conftest.$ac_ext <<_ACEOF
22680 /* confdefs.h. */
22681 _ACEOF
22682 cat confdefs.h >>conftest.$ac_ext
22683 cat >>conftest.$ac_ext <<_ACEOF
22684 /* end confdefs.h. */
22685
22686 int
22687 main ()
22688 {
22689
22690 #ifndef __STDC_EXT__
22691 choke me
22692 #endif
22693
22694 ;
22695 return 0;
22696 }
22697 _ACEOF
22698 rm -f conftest.$ac_objext
22699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22700 (eval $ac_compile) 2>conftest.er1
22701 ac_status=$?
22702 grep -v '^ *+' conftest.er1 >conftest.err
22703 rm -f conftest.er1
22704 cat conftest.err >&5
22705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22706 (exit $ac_status); } &&
22707 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
22713 { ac_try='test -s conftest.$ac_objext'
22714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22715 (eval $ac_try) 2>&5
22716 ac_status=$?
22717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22718 (exit $ac_status); }; }; then
22719 wx_cv_STDC_EXT_required=no
22720 else
22721 echo "$as_me: failed program was:" >&5
22722 sed 's/^/| /' conftest.$ac_ext >&5
22723
22724 wx_cv_STDC_EXT_required=yes
22725
22726 fi
22727 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22728
22729
22730 fi
22731 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22732 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22733 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22734 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22735 fi
22736 fi
22737 else
22738 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22739 fi
22740 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22741 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22742 if test "${ac_cv_sys_largefile_source+set}" = set; then
22743 echo $ECHO_N "(cached) $ECHO_C" >&6
22744 else
22745 while :; do
22746 ac_cv_sys_largefile_source=no
22747 cat >conftest.$ac_ext <<_ACEOF
22748 /* confdefs.h. */
22749 _ACEOF
22750 cat confdefs.h >>conftest.$ac_ext
22751 cat >>conftest.$ac_ext <<_ACEOF
22752 /* end confdefs.h. */
22753 #include <stdio.h>
22754 int
22755 main ()
22756 {
22757 return !fseeko;
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 break
22784 else
22785 echo "$as_me: failed program was:" >&5
22786 sed 's/^/| /' conftest.$ac_ext >&5
22787
22788 fi
22789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22790 cat >conftest.$ac_ext <<_ACEOF
22791 /* confdefs.h. */
22792 _ACEOF
22793 cat confdefs.h >>conftest.$ac_ext
22794 cat >>conftest.$ac_ext <<_ACEOF
22795 /* end confdefs.h. */
22796 #define _LARGEFILE_SOURCE 1
22797 #include <stdio.h>
22798 int
22799 main ()
22800 {
22801 return !fseeko;
22802 ;
22803 return 0;
22804 }
22805 _ACEOF
22806 rm -f conftest.$ac_objext
22807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22808 (eval $ac_compile) 2>conftest.er1
22809 ac_status=$?
22810 grep -v '^ *+' conftest.er1 >conftest.err
22811 rm -f conftest.er1
22812 cat conftest.err >&5
22813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22814 (exit $ac_status); } &&
22815 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22817 (eval $ac_try) 2>&5
22818 ac_status=$?
22819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22820 (exit $ac_status); }; } &&
22821 { ac_try='test -s conftest.$ac_objext'
22822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22823 (eval $ac_try) 2>&5
22824 ac_status=$?
22825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22826 (exit $ac_status); }; }; then
22827 ac_cv_sys_largefile_source=1; break
22828 else
22829 echo "$as_me: failed program was:" >&5
22830 sed 's/^/| /' conftest.$ac_ext >&5
22831
22832 fi
22833 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22834 break
22835 done
22836 fi
22837 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22838 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22839 if test "$ac_cv_sys_largefile_source" != no; then
22840
22841 cat >>confdefs.h <<_ACEOF
22842 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22843 _ACEOF
22844
22845 fi
22846 rm -f conftest*
22847
22848 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22849 # in glibc 2.1.3, but that breaks too many other things.
22850 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22851 echo "$as_me:$LINENO: checking for fseeko" >&5
22852 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22853 if test "${ac_cv_func_fseeko+set}" = set; then
22854 echo $ECHO_N "(cached) $ECHO_C" >&6
22855 else
22856 cat >conftest.$ac_ext <<_ACEOF
22857 /* confdefs.h. */
22858 _ACEOF
22859 cat confdefs.h >>conftest.$ac_ext
22860 cat >>conftest.$ac_ext <<_ACEOF
22861 /* end confdefs.h. */
22862 #include <stdio.h>
22863 int
22864 main ()
22865 {
22866 return fseeko && fseeko (stdin, 0, 0);
22867 ;
22868 return 0;
22869 }
22870 _ACEOF
22871 rm -f conftest.$ac_objext conftest$ac_exeext
22872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22873 (eval $ac_link) 2>conftest.er1
22874 ac_status=$?
22875 grep -v '^ *+' conftest.er1 >conftest.err
22876 rm -f conftest.er1
22877 cat conftest.err >&5
22878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22879 (exit $ac_status); } &&
22880 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22882 (eval $ac_try) 2>&5
22883 ac_status=$?
22884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22885 (exit $ac_status); }; } &&
22886 { ac_try='test -s conftest$ac_exeext'
22887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22888 (eval $ac_try) 2>&5
22889 ac_status=$?
22890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22891 (exit $ac_status); }; }; then
22892 ac_cv_func_fseeko=yes
22893 else
22894 echo "$as_me: failed program was:" >&5
22895 sed 's/^/| /' conftest.$ac_ext >&5
22896
22897 ac_cv_func_fseeko=no
22898 fi
22899 rm -f conftest.err conftest.$ac_objext \
22900 conftest$ac_exeext conftest.$ac_ext
22901 fi
22902 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22903 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22904 if test $ac_cv_func_fseeko = yes; then
22905
22906 cat >>confdefs.h <<\_ACEOF
22907 #define HAVE_FSEEKO 1
22908 _ACEOF
22909
22910 fi
22911
22912 if test "$ac_cv_sys_largefile_source" != no; then
22913 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22914 fi
22915 fi
22916
22917 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22918 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22919 if test "${ac_cv_c_bigendian+set}" = set; then
22920 echo $ECHO_N "(cached) $ECHO_C" >&6
22921 else
22922 ac_cv_c_bigendian=unknown
22923 # See if sys/param.h defines the BYTE_ORDER macro.
22924 cat >conftest.$ac_ext <<_ACEOF
22925 /* confdefs.h. */
22926 _ACEOF
22927 cat confdefs.h >>conftest.$ac_ext
22928 cat >>conftest.$ac_ext <<_ACEOF
22929 /* end confdefs.h. */
22930 #include <sys/types.h>
22931 #include <sys/param.h>
22932 int
22933 main ()
22934 {
22935
22936 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22937 bogus endian macros
22938 #endif
22939 ;
22940 return 0;
22941 }
22942 _ACEOF
22943 rm -f conftest.$ac_objext
22944 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22945 (eval $ac_compile) 2>conftest.er1
22946 ac_status=$?
22947 grep -v '^ *+' conftest.er1 >conftest.err
22948 rm -f conftest.er1
22949 cat conftest.err >&5
22950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22951 (exit $ac_status); } &&
22952 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22954 (eval $ac_try) 2>&5
22955 ac_status=$?
22956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22957 (exit $ac_status); }; } &&
22958 { ac_try='test -s conftest.$ac_objext'
22959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22960 (eval $ac_try) 2>&5
22961 ac_status=$?
22962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22963 (exit $ac_status); }; }; then
22964 # It does; now see whether it defined to BIG_ENDIAN or not.
22965 cat >conftest.$ac_ext <<_ACEOF
22966 /* confdefs.h. */
22967 _ACEOF
22968 cat confdefs.h >>conftest.$ac_ext
22969 cat >>conftest.$ac_ext <<_ACEOF
22970 /* end confdefs.h. */
22971 #include <sys/types.h>
22972 #include <sys/param.h>
22973 int
22974 main ()
22975 {
22976
22977 #if BYTE_ORDER != BIG_ENDIAN
22978 not big endian
22979 #endif
22980 ;
22981 return 0;
22982 }
22983 _ACEOF
22984 rm -f conftest.$ac_objext
22985 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22986 (eval $ac_compile) 2>conftest.er1
22987 ac_status=$?
22988 grep -v '^ *+' conftest.er1 >conftest.err
22989 rm -f conftest.er1
22990 cat conftest.err >&5
22991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22992 (exit $ac_status); } &&
22993 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22995 (eval $ac_try) 2>&5
22996 ac_status=$?
22997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22998 (exit $ac_status); }; } &&
22999 { ac_try='test -s conftest.$ac_objext'
23000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23001 (eval $ac_try) 2>&5
23002 ac_status=$?
23003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23004 (exit $ac_status); }; }; then
23005 ac_cv_c_bigendian=yes
23006 else
23007 echo "$as_me: failed program was:" >&5
23008 sed 's/^/| /' conftest.$ac_ext >&5
23009
23010 ac_cv_c_bigendian=no
23011 fi
23012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23013 else
23014 echo "$as_me: failed program was:" >&5
23015 sed 's/^/| /' conftest.$ac_ext >&5
23016
23017 fi
23018 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23019 if test $ac_cv_c_bigendian = unknown; then
23020 if test "$cross_compiling" = yes; then
23021 ac_cv_c_bigendian=unknown
23022 else
23023 cat >conftest.$ac_ext <<_ACEOF
23024 /* confdefs.h. */
23025 _ACEOF
23026 cat confdefs.h >>conftest.$ac_ext
23027 cat >>conftest.$ac_ext <<_ACEOF
23028 /* end confdefs.h. */
23029 main () {
23030 /* Are we little or big endian? From Harbison&Steele. */
23031 union
23032 {
23033 long l;
23034 char c[sizeof (long)];
23035 } u;
23036 u.l = 1;
23037 exit (u.c[sizeof (long) - 1] == 1);
23038 }
23039 _ACEOF
23040 rm -f conftest$ac_exeext
23041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23042 (eval $ac_link) 2>&5
23043 ac_status=$?
23044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23045 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23047 (eval $ac_try) 2>&5
23048 ac_status=$?
23049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23050 (exit $ac_status); }; }; then
23051 ac_cv_c_bigendian=no
23052 else
23053 echo "$as_me: program exited with status $ac_status" >&5
23054 echo "$as_me: failed program was:" >&5
23055 sed 's/^/| /' conftest.$ac_ext >&5
23056
23057 ( exit $ac_status )
23058 ac_cv_c_bigendian=yes
23059 fi
23060 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23061 fi
23062 fi
23063 fi
23064 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23065 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
23066 if test $ac_cv_c_bigendian = unknown; then
23067 { 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
23068 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;}
23069 fi
23070 if test $ac_cv_c_bigendian = yes; then
23071 cat >>confdefs.h <<\_ACEOF
23072 #define WORDS_BIGENDIAN 1
23073 _ACEOF
23074
23075 fi
23076
23077
23078
23079
23080
23081 ac_ext=cc
23082 ac_cpp='$CXXCPP $CPPFLAGS'
23083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23086
23087
23088
23089 for ac_header in iostream
23090 do
23091 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23093 echo "$as_me:$LINENO: checking for $ac_header" >&5
23094 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23095 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23096 echo $ECHO_N "(cached) $ECHO_C" >&6
23097 fi
23098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23099 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23100 else
23101 # Is the header compilable?
23102 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23103 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23104 cat >conftest.$ac_ext <<_ACEOF
23105 /* confdefs.h. */
23106 _ACEOF
23107 cat confdefs.h >>conftest.$ac_ext
23108 cat >>conftest.$ac_ext <<_ACEOF
23109 /* end confdefs.h. */
23110 $ac_includes_default
23111 #include <$ac_header>
23112 _ACEOF
23113 rm -f conftest.$ac_objext
23114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23115 (eval $ac_compile) 2>conftest.er1
23116 ac_status=$?
23117 grep -v '^ *+' conftest.er1 >conftest.err
23118 rm -f conftest.er1
23119 cat conftest.err >&5
23120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23121 (exit $ac_status); } &&
23122 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23124 (eval $ac_try) 2>&5
23125 ac_status=$?
23126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23127 (exit $ac_status); }; } &&
23128 { ac_try='test -s conftest.$ac_objext'
23129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23130 (eval $ac_try) 2>&5
23131 ac_status=$?
23132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23133 (exit $ac_status); }; }; then
23134 ac_header_compiler=yes
23135 else
23136 echo "$as_me: failed program was:" >&5
23137 sed 's/^/| /' conftest.$ac_ext >&5
23138
23139 ac_header_compiler=no
23140 fi
23141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23142 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23143 echo "${ECHO_T}$ac_header_compiler" >&6
23144
23145 # Is the header present?
23146 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23147 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23148 cat >conftest.$ac_ext <<_ACEOF
23149 /* confdefs.h. */
23150 _ACEOF
23151 cat confdefs.h >>conftest.$ac_ext
23152 cat >>conftest.$ac_ext <<_ACEOF
23153 /* end confdefs.h. */
23154 #include <$ac_header>
23155 _ACEOF
23156 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23157 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23158 ac_status=$?
23159 grep -v '^ *+' conftest.er1 >conftest.err
23160 rm -f conftest.er1
23161 cat conftest.err >&5
23162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23163 (exit $ac_status); } >/dev/null; then
23164 if test -s conftest.err; then
23165 ac_cpp_err=$ac_cxx_preproc_warn_flag
23166 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23167 else
23168 ac_cpp_err=
23169 fi
23170 else
23171 ac_cpp_err=yes
23172 fi
23173 if test -z "$ac_cpp_err"; then
23174 ac_header_preproc=yes
23175 else
23176 echo "$as_me: failed program was:" >&5
23177 sed 's/^/| /' conftest.$ac_ext >&5
23178
23179 ac_header_preproc=no
23180 fi
23181 rm -f conftest.err conftest.$ac_ext
23182 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23183 echo "${ECHO_T}$ac_header_preproc" >&6
23184
23185 # So? What about this header?
23186 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23187 yes:no: )
23188 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23189 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23190 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23191 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23192 ac_header_preproc=yes
23193 ;;
23194 no:yes:* )
23195 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23196 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23197 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23198 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23199 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23200 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23201 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23202 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23203 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23204 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23205 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23206 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23207 (
23208 cat <<\_ASBOX
23209 ## ----------------------------------------- ##
23210 ## Report this to wx-dev@lists.wxwidgets.org ##
23211 ## ----------------------------------------- ##
23212 _ASBOX
23213 ) |
23214 sed "s/^/$as_me: WARNING: /" >&2
23215 ;;
23216 esac
23217 echo "$as_me:$LINENO: checking for $ac_header" >&5
23218 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23219 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23220 echo $ECHO_N "(cached) $ECHO_C" >&6
23221 else
23222 eval "$as_ac_Header=\$ac_header_preproc"
23223 fi
23224 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23225 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23226
23227 fi
23228 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23229 cat >>confdefs.h <<_ACEOF
23230 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23231 _ACEOF
23232
23233 fi
23234
23235 done
23236
23237
23238 if test "$ac_cv_header_iostream" = "yes" ; then
23239 :
23240 else
23241 cat >>confdefs.h <<\_ACEOF
23242 #define wxUSE_IOSTREAMH 1
23243 _ACEOF
23244
23245 fi
23246
23247 ac_ext=cc
23248 ac_cpp='$CXXCPP $CPPFLAGS'
23249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23252
23253
23254
23255
23256 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23257 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
23258 if test "${wx_cv_cpp_bool+set}" = set; then
23259 echo $ECHO_N "(cached) $ECHO_C" >&6
23260 else
23261
23262
23263
23264 ac_ext=cc
23265 ac_cpp='$CXXCPP $CPPFLAGS'
23266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23269
23270
23271 cat >conftest.$ac_ext <<_ACEOF
23272 /* confdefs.h. */
23273 _ACEOF
23274 cat confdefs.h >>conftest.$ac_ext
23275 cat >>conftest.$ac_ext <<_ACEOF
23276 /* end confdefs.h. */
23277
23278
23279 int
23280 main ()
23281 {
23282
23283 bool b = true;
23284
23285 return 0;
23286
23287 ;
23288 return 0;
23289 }
23290 _ACEOF
23291 rm -f conftest.$ac_objext
23292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23293 (eval $ac_compile) 2>conftest.er1
23294 ac_status=$?
23295 grep -v '^ *+' conftest.er1 >conftest.err
23296 rm -f conftest.er1
23297 cat conftest.err >&5
23298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23299 (exit $ac_status); } &&
23300 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23302 (eval $ac_try) 2>&5
23303 ac_status=$?
23304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23305 (exit $ac_status); }; } &&
23306 { ac_try='test -s conftest.$ac_objext'
23307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23308 (eval $ac_try) 2>&5
23309 ac_status=$?
23310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23311 (exit $ac_status); }; }; then
23312
23313 wx_cv_cpp_bool=yes
23314
23315 else
23316 echo "$as_me: failed program was:" >&5
23317 sed 's/^/| /' conftest.$ac_ext >&5
23318
23319
23320 wx_cv_cpp_bool=no
23321
23322
23323 fi
23324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23325
23326 ac_ext=cc
23327 ac_cpp='$CXXCPP $CPPFLAGS'
23328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23331
23332
23333 fi
23334 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23335 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
23336
23337 if test "$wx_cv_cpp_bool" = "yes"; then
23338 cat >>confdefs.h <<\_ACEOF
23339 #define HAVE_BOOL 1
23340 _ACEOF
23341
23342 fi
23343
23344
23345
23346 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23347 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
23348 if test "${wx_cv_explicit+set}" = set; then
23349 echo $ECHO_N "(cached) $ECHO_C" >&6
23350 else
23351
23352
23353
23354 ac_ext=cc
23355 ac_cpp='$CXXCPP $CPPFLAGS'
23356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23359
23360
23361 cat >conftest.$ac_ext <<_ACEOF
23362 /* confdefs.h. */
23363 _ACEOF
23364 cat confdefs.h >>conftest.$ac_ext
23365 cat >>conftest.$ac_ext <<_ACEOF
23366 /* end confdefs.h. */
23367
23368 class Foo { public: explicit Foo(int) {} };
23369
23370 int
23371 main ()
23372 {
23373
23374 return 0;
23375
23376 ;
23377 return 0;
23378 }
23379 _ACEOF
23380 rm -f conftest.$ac_objext
23381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23382 (eval $ac_compile) 2>conftest.er1
23383 ac_status=$?
23384 grep -v '^ *+' conftest.er1 >conftest.err
23385 rm -f conftest.er1
23386 cat conftest.err >&5
23387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23388 (exit $ac_status); } &&
23389 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23391 (eval $ac_try) 2>&5
23392 ac_status=$?
23393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23394 (exit $ac_status); }; } &&
23395 { ac_try='test -s conftest.$ac_objext'
23396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23397 (eval $ac_try) 2>&5
23398 ac_status=$?
23399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23400 (exit $ac_status); }; }; then
23401
23402 cat >conftest.$ac_ext <<_ACEOF
23403 /* confdefs.h. */
23404 _ACEOF
23405 cat confdefs.h >>conftest.$ac_ext
23406 cat >>conftest.$ac_ext <<_ACEOF
23407 /* end confdefs.h. */
23408
23409 class Foo { public: explicit Foo(int) {} };
23410 static void TakeFoo(const Foo& foo) { }
23411
23412 int
23413 main ()
23414 {
23415
23416 TakeFoo(17);
23417 return 0;
23418
23419 ;
23420 return 0;
23421 }
23422 _ACEOF
23423 rm -f conftest.$ac_objext
23424 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23425 (eval $ac_compile) 2>conftest.er1
23426 ac_status=$?
23427 grep -v '^ *+' conftest.er1 >conftest.err
23428 rm -f conftest.er1
23429 cat conftest.err >&5
23430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23431 (exit $ac_status); } &&
23432 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23434 (eval $ac_try) 2>&5
23435 ac_status=$?
23436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23437 (exit $ac_status); }; } &&
23438 { ac_try='test -s conftest.$ac_objext'
23439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23440 (eval $ac_try) 2>&5
23441 ac_status=$?
23442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23443 (exit $ac_status); }; }; then
23444 wx_cv_explicit=no
23445 else
23446 echo "$as_me: failed program was:" >&5
23447 sed 's/^/| /' conftest.$ac_ext >&5
23448
23449 wx_cv_explicit=yes
23450
23451 fi
23452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23453
23454 else
23455 echo "$as_me: failed program was:" >&5
23456 sed 's/^/| /' conftest.$ac_ext >&5
23457
23458 wx_cv_explicit=no
23459
23460 fi
23461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23462
23463 ac_ext=cc
23464 ac_cpp='$CXXCPP $CPPFLAGS'
23465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23468
23469
23470 fi
23471 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23472 echo "${ECHO_T}$wx_cv_explicit" >&6
23473
23474 if test "$wx_cv_explicit" = "yes"; then
23475 cat >>confdefs.h <<\_ACEOF
23476 #define HAVE_EXPLICIT 1
23477 _ACEOF
23478
23479 fi
23480
23481
23482 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23483 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23484 if test "${ac_cv_cxx_const_cast+set}" = set; then
23485 echo $ECHO_N "(cached) $ECHO_C" >&6
23486 else
23487
23488
23489 ac_ext=cc
23490 ac_cpp='$CXXCPP $CPPFLAGS'
23491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23494
23495 cat >conftest.$ac_ext <<_ACEOF
23496 /* confdefs.h. */
23497 _ACEOF
23498 cat confdefs.h >>conftest.$ac_ext
23499 cat >>conftest.$ac_ext <<_ACEOF
23500 /* end confdefs.h. */
23501
23502 int
23503 main ()
23504 {
23505 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23506 ;
23507 return 0;
23508 }
23509 _ACEOF
23510 rm -f conftest.$ac_objext
23511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23512 (eval $ac_compile) 2>conftest.er1
23513 ac_status=$?
23514 grep -v '^ *+' conftest.er1 >conftest.err
23515 rm -f conftest.er1
23516 cat conftest.err >&5
23517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23518 (exit $ac_status); } &&
23519 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23521 (eval $ac_try) 2>&5
23522 ac_status=$?
23523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23524 (exit $ac_status); }; } &&
23525 { ac_try='test -s conftest.$ac_objext'
23526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23527 (eval $ac_try) 2>&5
23528 ac_status=$?
23529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23530 (exit $ac_status); }; }; then
23531 ac_cv_cxx_const_cast=yes
23532 else
23533 echo "$as_me: failed program was:" >&5
23534 sed 's/^/| /' conftest.$ac_ext >&5
23535
23536 ac_cv_cxx_const_cast=no
23537 fi
23538 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23539 ac_ext=cc
23540 ac_cpp='$CXXCPP $CPPFLAGS'
23541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23544
23545
23546 fi
23547 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23548 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23549 if test "$ac_cv_cxx_const_cast" = yes; then
23550
23551 cat >>confdefs.h <<\_ACEOF
23552 #define HAVE_CONST_CAST
23553 _ACEOF
23554
23555 fi
23556
23557 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23558 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23559 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23560 echo $ECHO_N "(cached) $ECHO_C" >&6
23561 else
23562
23563
23564 ac_ext=cc
23565 ac_cpp='$CXXCPP $CPPFLAGS'
23566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23569
23570 cat >conftest.$ac_ext <<_ACEOF
23571 /* confdefs.h. */
23572 _ACEOF
23573 cat confdefs.h >>conftest.$ac_ext
23574 cat >>conftest.$ac_ext <<_ACEOF
23575 /* end confdefs.h. */
23576 #include <typeinfo>
23577 class Base { public : Base () {} virtual void f () = 0;};
23578 class Derived : public Base { public : Derived () {} virtual void f () {} };
23579 class Unrelated { public : Unrelated () {} };
23580 int g (Unrelated&) { return 0; }
23581 int
23582 main ()
23583 {
23584
23585 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23586 ;
23587 return 0;
23588 }
23589 _ACEOF
23590 rm -f conftest.$ac_objext
23591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23592 (eval $ac_compile) 2>conftest.er1
23593 ac_status=$?
23594 grep -v '^ *+' conftest.er1 >conftest.err
23595 rm -f conftest.er1
23596 cat conftest.err >&5
23597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23598 (exit $ac_status); } &&
23599 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23601 (eval $ac_try) 2>&5
23602 ac_status=$?
23603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23604 (exit $ac_status); }; } &&
23605 { ac_try='test -s conftest.$ac_objext'
23606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23607 (eval $ac_try) 2>&5
23608 ac_status=$?
23609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23610 (exit $ac_status); }; }; then
23611 ac_cv_cxx_reinterpret_cast=yes
23612 else
23613 echo "$as_me: failed program was:" >&5
23614 sed 's/^/| /' conftest.$ac_ext >&5
23615
23616 ac_cv_cxx_reinterpret_cast=no
23617 fi
23618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23619 ac_ext=cc
23620 ac_cpp='$CXXCPP $CPPFLAGS'
23621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23624
23625
23626 fi
23627 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23628 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23629 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23630
23631 cat >>confdefs.h <<\_ACEOF
23632 #define HAVE_REINTERPRET_CAST
23633 _ACEOF
23634
23635 fi
23636
23637 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23638 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23639 if test "${ac_cv_cxx_static_cast+set}" = set; then
23640 echo $ECHO_N "(cached) $ECHO_C" >&6
23641 else
23642
23643
23644 ac_ext=cc
23645 ac_cpp='$CXXCPP $CPPFLAGS'
23646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23649
23650 cat >conftest.$ac_ext <<_ACEOF
23651 /* confdefs.h. */
23652 _ACEOF
23653 cat confdefs.h >>conftest.$ac_ext
23654 cat >>conftest.$ac_ext <<_ACEOF
23655 /* end confdefs.h. */
23656 #include <typeinfo>
23657 class Base { public : Base () {} virtual void f () = 0; };
23658 class Derived : public Base { public : Derived () {} virtual void f () {} };
23659 int g (Derived&) { return 0; }
23660 int
23661 main ()
23662 {
23663
23664 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23665 ;
23666 return 0;
23667 }
23668 _ACEOF
23669 rm -f conftest.$ac_objext
23670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23671 (eval $ac_compile) 2>conftest.er1
23672 ac_status=$?
23673 grep -v '^ *+' conftest.er1 >conftest.err
23674 rm -f conftest.er1
23675 cat conftest.err >&5
23676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23677 (exit $ac_status); } &&
23678 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23680 (eval $ac_try) 2>&5
23681 ac_status=$?
23682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23683 (exit $ac_status); }; } &&
23684 { ac_try='test -s conftest.$ac_objext'
23685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23686 (eval $ac_try) 2>&5
23687 ac_status=$?
23688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23689 (exit $ac_status); }; }; then
23690 ac_cv_cxx_static_cast=yes
23691 else
23692 echo "$as_me: failed program was:" >&5
23693 sed 's/^/| /' conftest.$ac_ext >&5
23694
23695 ac_cv_cxx_static_cast=no
23696 fi
23697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23698 ac_ext=cc
23699 ac_cpp='$CXXCPP $CPPFLAGS'
23700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23703
23704
23705 fi
23706 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23707 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23708 if test "$ac_cv_cxx_static_cast" = yes; then
23709
23710 cat >>confdefs.h <<\_ACEOF
23711 #define HAVE_STATIC_CAST
23712 _ACEOF
23713
23714 fi
23715
23716
23717 if test "x$SUNCXX" = xyes; then
23718 CXXFLAGS="-features=tmplife $CXXFLAGS"
23719 fi
23720
23721 if test "x$SUNCC" = xyes; then
23722 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23723 fi
23724
23725 if test "x$SGICC" = "xyes"; then
23726 CFLAGS="-woff 3970 $CFLAGS"
23727 fi
23728 if test "x$SGICXX" = "xyes"; then
23729 CXXFLAGS="-woff 3970 $CXXFLAGS"
23730 fi
23731
23732 if test "x$HPCC" = "xyes"; then
23733 CFLAGS="+W 2011,2450 $CFLAGS"
23734 fi
23735 if test "x$HPCXX" = "xyes"; then
23736 CXXFLAGS="+W 2340 $CXXFLAGS"
23737 fi
23738
23739 if test "x$COMPAQCXX" = "xyes"; then
23740 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23741 fi
23742
23743 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23744 if test "$wxUSE_UNICODE" = "yes"; then
23745 std_string="std::wstring"
23746 char_type="wchar_t"
23747 else
23748 std_string="std::string"
23749 char_type="char"
23750 fi
23751
23752 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23753 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23754 cat >conftest.$ac_ext <<_ACEOF
23755 /* confdefs.h. */
23756 _ACEOF
23757 cat confdefs.h >>conftest.$ac_ext
23758 cat >>conftest.$ac_ext <<_ACEOF
23759 /* end confdefs.h. */
23760 #include <string>
23761 int
23762 main ()
23763 {
23764 $std_string foo;
23765 ;
23766 return 0;
23767 }
23768 _ACEOF
23769 rm -f conftest.$ac_objext
23770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23771 (eval $ac_compile) 2>conftest.er1
23772 ac_status=$?
23773 grep -v '^ *+' conftest.er1 >conftest.err
23774 rm -f conftest.er1
23775 cat conftest.err >&5
23776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23777 (exit $ac_status); } &&
23778 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23780 (eval $ac_try) 2>&5
23781 ac_status=$?
23782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23783 (exit $ac_status); }; } &&
23784 { ac_try='test -s conftest.$ac_objext'
23785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23786 (eval $ac_try) 2>&5
23787 ac_status=$?
23788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23789 (exit $ac_status); }; }; then
23790 echo "$as_me:$LINENO: result: yes" >&5
23791 echo "${ECHO_T}yes" >&6
23792 cat >>confdefs.h <<\_ACEOF
23793 #define HAVE_STD_WSTRING 1
23794 _ACEOF
23795
23796 else
23797 echo "$as_me: failed program was:" >&5
23798 sed 's/^/| /' conftest.$ac_ext >&5
23799
23800 echo "$as_me:$LINENO: result: no" >&5
23801 echo "${ECHO_T}no" >&6
23802 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23803 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23804 cat >conftest.$ac_ext <<_ACEOF
23805 /* confdefs.h. */
23806 _ACEOF
23807 cat confdefs.h >>conftest.$ac_ext
23808 cat >>conftest.$ac_ext <<_ACEOF
23809 /* end confdefs.h. */
23810
23811 #ifdef HAVE_WCHAR_H
23812 # ifdef __CYGWIN__
23813 # include <stddef.h>
23814 # endif
23815 # include <wchar.h>
23816 #endif
23817 #ifdef HAVE_STDLIB_H
23818 # include <stdlib.h>
23819 #endif
23820 #include <stdio.h>
23821 #include <string>
23822
23823 int
23824 main ()
23825 {
23826 std::basic_string<$char_type> foo;
23827 const $char_type* dummy = foo.c_str();
23828 ;
23829 return 0;
23830 }
23831 _ACEOF
23832 rm -f conftest.$ac_objext
23833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23834 (eval $ac_compile) 2>conftest.er1
23835 ac_status=$?
23836 grep -v '^ *+' conftest.er1 >conftest.err
23837 rm -f conftest.er1
23838 cat conftest.err >&5
23839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23840 (exit $ac_status); } &&
23841 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23843 (eval $ac_try) 2>&5
23844 ac_status=$?
23845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23846 (exit $ac_status); }; } &&
23847 { ac_try='test -s conftest.$ac_objext'
23848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23849 (eval $ac_try) 2>&5
23850 ac_status=$?
23851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23852 (exit $ac_status); }; }; then
23853 echo "$as_me:$LINENO: result: yes" >&5
23854 echo "${ECHO_T}yes" >&6
23855 else
23856 echo "$as_me: failed program was:" >&5
23857 sed 's/^/| /' conftest.$ac_ext >&5
23858
23859 echo "$as_me:$LINENO: result: no" >&5
23860 echo "${ECHO_T}no" >&6
23861 if test "$wxUSE_STL" = "yes"; then
23862 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23863 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23864 { (exit 1); exit 1; }; }
23865 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23866 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23867 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23868 { (exit 1); exit 1; }; }
23869 else
23870 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23871 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23872 wxUSE_STD_STRING=no
23873 fi
23874
23875
23876 fi
23877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23878
23879 fi
23880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23881 fi
23882
23883 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23884 echo "$as_me:$LINENO: checking for std::istream" >&5
23885 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23886 if test "${ac_cv_type_std__istream+set}" = set; then
23887 echo $ECHO_N "(cached) $ECHO_C" >&6
23888 else
23889 cat >conftest.$ac_ext <<_ACEOF
23890 /* confdefs.h. */
23891 _ACEOF
23892 cat confdefs.h >>conftest.$ac_ext
23893 cat >>conftest.$ac_ext <<_ACEOF
23894 /* end confdefs.h. */
23895 #include <iostream>
23896
23897 int
23898 main ()
23899 {
23900 if ((std::istream *) 0)
23901 return 0;
23902 if (sizeof (std::istream))
23903 return 0;
23904 ;
23905 return 0;
23906 }
23907 _ACEOF
23908 rm -f conftest.$ac_objext
23909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23910 (eval $ac_compile) 2>conftest.er1
23911 ac_status=$?
23912 grep -v '^ *+' conftest.er1 >conftest.err
23913 rm -f conftest.er1
23914 cat conftest.err >&5
23915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23916 (exit $ac_status); } &&
23917 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23919 (eval $ac_try) 2>&5
23920 ac_status=$?
23921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23922 (exit $ac_status); }; } &&
23923 { ac_try='test -s conftest.$ac_objext'
23924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23925 (eval $ac_try) 2>&5
23926 ac_status=$?
23927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23928 (exit $ac_status); }; }; then
23929 ac_cv_type_std__istream=yes
23930 else
23931 echo "$as_me: failed program was:" >&5
23932 sed 's/^/| /' conftest.$ac_ext >&5
23933
23934 ac_cv_type_std__istream=no
23935 fi
23936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23937 fi
23938 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23939 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23940 if test $ac_cv_type_std__istream = yes; then
23941
23942 cat >>confdefs.h <<_ACEOF
23943 #define HAVE_STD__ISTREAM 1
23944 _ACEOF
23945
23946
23947 else
23948 wxUSE_STD_IOSTREAM=no
23949 fi
23950 echo "$as_me:$LINENO: checking for std::ostream" >&5
23951 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23952 if test "${ac_cv_type_std__ostream+set}" = set; then
23953 echo $ECHO_N "(cached) $ECHO_C" >&6
23954 else
23955 cat >conftest.$ac_ext <<_ACEOF
23956 /* confdefs.h. */
23957 _ACEOF
23958 cat confdefs.h >>conftest.$ac_ext
23959 cat >>conftest.$ac_ext <<_ACEOF
23960 /* end confdefs.h. */
23961 #include <iostream>
23962
23963 int
23964 main ()
23965 {
23966 if ((std::ostream *) 0)
23967 return 0;
23968 if (sizeof (std::ostream))
23969 return 0;
23970 ;
23971 return 0;
23972 }
23973 _ACEOF
23974 rm -f conftest.$ac_objext
23975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23976 (eval $ac_compile) 2>conftest.er1
23977 ac_status=$?
23978 grep -v '^ *+' conftest.er1 >conftest.err
23979 rm -f conftest.er1
23980 cat conftest.err >&5
23981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23982 (exit $ac_status); } &&
23983 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23985 (eval $ac_try) 2>&5
23986 ac_status=$?
23987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23988 (exit $ac_status); }; } &&
23989 { ac_try='test -s conftest.$ac_objext'
23990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23991 (eval $ac_try) 2>&5
23992 ac_status=$?
23993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23994 (exit $ac_status); }; }; then
23995 ac_cv_type_std__ostream=yes
23996 else
23997 echo "$as_me: failed program was:" >&5
23998 sed 's/^/| /' conftest.$ac_ext >&5
23999
24000 ac_cv_type_std__ostream=no
24001 fi
24002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24003 fi
24004 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24005 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
24006 if test $ac_cv_type_std__ostream = yes; then
24007
24008 cat >>confdefs.h <<_ACEOF
24009 #define HAVE_STD__OSTREAM 1
24010 _ACEOF
24011
24012
24013 else
24014 wxUSE_STD_IOSTREAM=no
24015 fi
24016
24017
24018 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24019 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
24020 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24021 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24022 { (exit 1); exit 1; }; }
24023 else
24024 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24025 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24026 fi
24027 fi
24028 fi
24029
24030 if test "$wxUSE_STL" = "yes"; then
24031 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24032 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
24033 cat >conftest.$ac_ext <<_ACEOF
24034 /* confdefs.h. */
24035 _ACEOF
24036 cat confdefs.h >>conftest.$ac_ext
24037 cat >>conftest.$ac_ext <<_ACEOF
24038 /* end confdefs.h. */
24039 #include <string>
24040 #include <functional>
24041 #include <algorithm>
24042 #include <vector>
24043 #include <list>
24044 int
24045 main ()
24046 {
24047 std::vector<int> moo;
24048 std::list<int> foo;
24049 std::vector<int>::iterator it =
24050 std::find_if(moo.begin(), moo.end(),
24051 std::bind2nd(std::less<int>(), 3));
24052 ;
24053 return 0;
24054 }
24055 _ACEOF
24056 rm -f conftest.$ac_objext
24057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24058 (eval $ac_compile) 2>conftest.er1
24059 ac_status=$?
24060 grep -v '^ *+' conftest.er1 >conftest.err
24061 rm -f conftest.er1
24062 cat conftest.err >&5
24063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24064 (exit $ac_status); } &&
24065 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24067 (eval $ac_try) 2>&5
24068 ac_status=$?
24069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24070 (exit $ac_status); }; } &&
24071 { ac_try='test -s conftest.$ac_objext'
24072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24073 (eval $ac_try) 2>&5
24074 ac_status=$?
24075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24076 (exit $ac_status); }; }; then
24077 echo "$as_me:$LINENO: result: yes" >&5
24078 echo "${ECHO_T}yes" >&6
24079 else
24080 echo "$as_me: failed program was:" >&5
24081 sed 's/^/| /' conftest.$ac_ext >&5
24082
24083 echo "$as_me:$LINENO: result: no" >&5
24084 echo "${ECHO_T}no" >&6
24085 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
24086 echo "$as_me: error: Basic STL functionality missing" >&2;}
24087 { (exit 1); exit 1; }; }
24088 fi
24089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24090
24091 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24092 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
24093 cat >conftest.$ac_ext <<_ACEOF
24094 /* confdefs.h. */
24095 _ACEOF
24096 cat confdefs.h >>conftest.$ac_ext
24097 cat >>conftest.$ac_ext <<_ACEOF
24098 /* end confdefs.h. */
24099 #include <string>
24100 int
24101 main ()
24102 {
24103 std::string foo, bar;
24104 foo.compare(bar);
24105 foo.compare(1, 1, bar);
24106 foo.compare(1, 1, bar, 1, 1);
24107 foo.compare("");
24108 foo.compare(1, 1, "");
24109 foo.compare(1, 1, "", 2);
24110 ;
24111 return 0;
24112 }
24113 _ACEOF
24114 rm -f conftest.$ac_objext
24115 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24116 (eval $ac_compile) 2>conftest.er1
24117 ac_status=$?
24118 grep -v '^ *+' conftest.er1 >conftest.err
24119 rm -f conftest.er1
24120 cat conftest.err >&5
24121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24122 (exit $ac_status); } &&
24123 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24125 (eval $ac_try) 2>&5
24126 ac_status=$?
24127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24128 (exit $ac_status); }; } &&
24129 { ac_try='test -s conftest.$ac_objext'
24130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24131 (eval $ac_try) 2>&5
24132 ac_status=$?
24133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24134 (exit $ac_status); }; }; then
24135 echo "$as_me:$LINENO: result: yes" >&5
24136 echo "${ECHO_T}yes" >&6
24137 cat >>confdefs.h <<\_ACEOF
24138 #define HAVE_STD_STRING_COMPARE 1
24139 _ACEOF
24140
24141 else
24142 echo "$as_me: failed program was:" >&5
24143 sed 's/^/| /' conftest.$ac_ext >&5
24144
24145 echo "$as_me:$LINENO: result: no" >&5
24146 echo "${ECHO_T}no" >&6
24147 fi
24148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24149
24150 if test "${ac_cv_header_hash_map+set}" = set; then
24151 echo "$as_me:$LINENO: checking for hash_map" >&5
24152 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24153 if test "${ac_cv_header_hash_map+set}" = set; then
24154 echo $ECHO_N "(cached) $ECHO_C" >&6
24155 fi
24156 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24157 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24158 else
24159 # Is the header compilable?
24160 echo "$as_me:$LINENO: checking hash_map usability" >&5
24161 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
24162 cat >conftest.$ac_ext <<_ACEOF
24163 /* confdefs.h. */
24164 _ACEOF
24165 cat confdefs.h >>conftest.$ac_ext
24166 cat >>conftest.$ac_ext <<_ACEOF
24167 /* end confdefs.h. */
24168 $ac_includes_default
24169 #include <hash_map>
24170 _ACEOF
24171 rm -f conftest.$ac_objext
24172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24173 (eval $ac_compile) 2>conftest.er1
24174 ac_status=$?
24175 grep -v '^ *+' conftest.er1 >conftest.err
24176 rm -f conftest.er1
24177 cat conftest.err >&5
24178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24179 (exit $ac_status); } &&
24180 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24182 (eval $ac_try) 2>&5
24183 ac_status=$?
24184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24185 (exit $ac_status); }; } &&
24186 { ac_try='test -s conftest.$ac_objext'
24187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24188 (eval $ac_try) 2>&5
24189 ac_status=$?
24190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24191 (exit $ac_status); }; }; then
24192 ac_header_compiler=yes
24193 else
24194 echo "$as_me: failed program was:" >&5
24195 sed 's/^/| /' conftest.$ac_ext >&5
24196
24197 ac_header_compiler=no
24198 fi
24199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24200 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24201 echo "${ECHO_T}$ac_header_compiler" >&6
24202
24203 # Is the header present?
24204 echo "$as_me:$LINENO: checking hash_map presence" >&5
24205 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
24206 cat >conftest.$ac_ext <<_ACEOF
24207 /* confdefs.h. */
24208 _ACEOF
24209 cat confdefs.h >>conftest.$ac_ext
24210 cat >>conftest.$ac_ext <<_ACEOF
24211 /* end confdefs.h. */
24212 #include <hash_map>
24213 _ACEOF
24214 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24215 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24216 ac_status=$?
24217 grep -v '^ *+' conftest.er1 >conftest.err
24218 rm -f conftest.er1
24219 cat conftest.err >&5
24220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24221 (exit $ac_status); } >/dev/null; then
24222 if test -s conftest.err; then
24223 ac_cpp_err=$ac_cxx_preproc_warn_flag
24224 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24225 else
24226 ac_cpp_err=
24227 fi
24228 else
24229 ac_cpp_err=yes
24230 fi
24231 if test -z "$ac_cpp_err"; then
24232 ac_header_preproc=yes
24233 else
24234 echo "$as_me: failed program was:" >&5
24235 sed 's/^/| /' conftest.$ac_ext >&5
24236
24237 ac_header_preproc=no
24238 fi
24239 rm -f conftest.err conftest.$ac_ext
24240 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24241 echo "${ECHO_T}$ac_header_preproc" >&6
24242
24243 # So? What about this header?
24244 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24245 yes:no: )
24246 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24247 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24248 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
24249 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
24250 ac_header_preproc=yes
24251 ;;
24252 no:yes:* )
24253 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
24254 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
24255 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
24256 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
24257 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
24258 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
24259 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
24260 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24261 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
24262 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
24263 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
24264 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
24265 (
24266 cat <<\_ASBOX
24267 ## ----------------------------------------- ##
24268 ## Report this to wx-dev@lists.wxwidgets.org ##
24269 ## ----------------------------------------- ##
24270 _ASBOX
24271 ) |
24272 sed "s/^/$as_me: WARNING: /" >&2
24273 ;;
24274 esac
24275 echo "$as_me:$LINENO: checking for hash_map" >&5
24276 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24277 if test "${ac_cv_header_hash_map+set}" = set; then
24278 echo $ECHO_N "(cached) $ECHO_C" >&6
24279 else
24280 ac_cv_header_hash_map=$ac_header_preproc
24281 fi
24282 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24283 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24284
24285 fi
24286 if test $ac_cv_header_hash_map = yes; then
24287 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24288 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24289 cat >conftest.$ac_ext <<_ACEOF
24290 /* confdefs.h. */
24291 _ACEOF
24292 cat confdefs.h >>conftest.$ac_ext
24293 cat >>conftest.$ac_ext <<_ACEOF
24294 /* end confdefs.h. */
24295 #include <hash_map>
24296 #include <hash_set>
24297 int
24298 main ()
24299 {
24300 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24301 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24302 ;
24303 return 0;
24304 }
24305 _ACEOF
24306 rm -f conftest.$ac_objext
24307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24308 (eval $ac_compile) 2>conftest.er1
24309 ac_status=$?
24310 grep -v '^ *+' conftest.er1 >conftest.err
24311 rm -f conftest.er1
24312 cat conftest.err >&5
24313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24314 (exit $ac_status); } &&
24315 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24317 (eval $ac_try) 2>&5
24318 ac_status=$?
24319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24320 (exit $ac_status); }; } &&
24321 { ac_try='test -s conftest.$ac_objext'
24322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24323 (eval $ac_try) 2>&5
24324 ac_status=$?
24325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24326 (exit $ac_status); }; }; then
24327 echo "$as_me:$LINENO: result: yes" >&5
24328 echo "${ECHO_T}yes" >&6
24329 cat >>confdefs.h <<\_ACEOF
24330 #define HAVE_HASH_MAP 1
24331 _ACEOF
24332
24333 cat >>confdefs.h <<\_ACEOF
24334 #define HAVE_STD_HASH_MAP 1
24335 _ACEOF
24336
24337 else
24338 echo "$as_me: failed program was:" >&5
24339 sed 's/^/| /' conftest.$ac_ext >&5
24340
24341 echo "$as_me:$LINENO: result: no" >&5
24342 echo "${ECHO_T}no" >&6
24343 fi
24344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24345
24346 fi
24347
24348
24349
24350 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24351 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24352 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24353 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24354 echo $ECHO_N "(cached) $ECHO_C" >&6
24355 fi
24356 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24357 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24358 else
24359 # Is the header compilable?
24360 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24361 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
24362 cat >conftest.$ac_ext <<_ACEOF
24363 /* confdefs.h. */
24364 _ACEOF
24365 cat confdefs.h >>conftest.$ac_ext
24366 cat >>conftest.$ac_ext <<_ACEOF
24367 /* end confdefs.h. */
24368 $ac_includes_default
24369 #include <ext/hash_map>
24370 _ACEOF
24371 rm -f conftest.$ac_objext
24372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24373 (eval $ac_compile) 2>conftest.er1
24374 ac_status=$?
24375 grep -v '^ *+' conftest.er1 >conftest.err
24376 rm -f conftest.er1
24377 cat conftest.err >&5
24378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24379 (exit $ac_status); } &&
24380 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24382 (eval $ac_try) 2>&5
24383 ac_status=$?
24384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24385 (exit $ac_status); }; } &&
24386 { ac_try='test -s conftest.$ac_objext'
24387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24388 (eval $ac_try) 2>&5
24389 ac_status=$?
24390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24391 (exit $ac_status); }; }; then
24392 ac_header_compiler=yes
24393 else
24394 echo "$as_me: failed program was:" >&5
24395 sed 's/^/| /' conftest.$ac_ext >&5
24396
24397 ac_header_compiler=no
24398 fi
24399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24400 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24401 echo "${ECHO_T}$ac_header_compiler" >&6
24402
24403 # Is the header present?
24404 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24405 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
24406 cat >conftest.$ac_ext <<_ACEOF
24407 /* confdefs.h. */
24408 _ACEOF
24409 cat confdefs.h >>conftest.$ac_ext
24410 cat >>conftest.$ac_ext <<_ACEOF
24411 /* end confdefs.h. */
24412 #include <ext/hash_map>
24413 _ACEOF
24414 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24415 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24416 ac_status=$?
24417 grep -v '^ *+' conftest.er1 >conftest.err
24418 rm -f conftest.er1
24419 cat conftest.err >&5
24420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24421 (exit $ac_status); } >/dev/null; then
24422 if test -s conftest.err; then
24423 ac_cpp_err=$ac_cxx_preproc_warn_flag
24424 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24425 else
24426 ac_cpp_err=
24427 fi
24428 else
24429 ac_cpp_err=yes
24430 fi
24431 if test -z "$ac_cpp_err"; then
24432 ac_header_preproc=yes
24433 else
24434 echo "$as_me: failed program was:" >&5
24435 sed 's/^/| /' conftest.$ac_ext >&5
24436
24437 ac_header_preproc=no
24438 fi
24439 rm -f conftest.err conftest.$ac_ext
24440 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24441 echo "${ECHO_T}$ac_header_preproc" >&6
24442
24443 # So? What about this header?
24444 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24445 yes:no: )
24446 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24447 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24448 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24449 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24450 ac_header_preproc=yes
24451 ;;
24452 no:yes:* )
24453 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24454 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24455 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24456 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24457 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24458 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24459 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24460 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24461 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24462 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24463 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24464 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24465 (
24466 cat <<\_ASBOX
24467 ## ----------------------------------------- ##
24468 ## Report this to wx-dev@lists.wxwidgets.org ##
24469 ## ----------------------------------------- ##
24470 _ASBOX
24471 ) |
24472 sed "s/^/$as_me: WARNING: /" >&2
24473 ;;
24474 esac
24475 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24476 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24477 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24478 echo $ECHO_N "(cached) $ECHO_C" >&6
24479 else
24480 ac_cv_header_ext_hash_map=$ac_header_preproc
24481 fi
24482 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24483 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24484
24485 fi
24486 if test $ac_cv_header_ext_hash_map = yes; then
24487 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24488 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24489 cat >conftest.$ac_ext <<_ACEOF
24490 /* confdefs.h. */
24491 _ACEOF
24492 cat confdefs.h >>conftest.$ac_ext
24493 cat >>conftest.$ac_ext <<_ACEOF
24494 /* end confdefs.h. */
24495 #include <ext/hash_map>
24496 #include <ext/hash_set>
24497 int
24498 main ()
24499 {
24500 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24501 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24502 ;
24503 return 0;
24504 }
24505 _ACEOF
24506 rm -f conftest.$ac_objext
24507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24508 (eval $ac_compile) 2>conftest.er1
24509 ac_status=$?
24510 grep -v '^ *+' conftest.er1 >conftest.err
24511 rm -f conftest.er1
24512 cat conftest.err >&5
24513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24514 (exit $ac_status); } &&
24515 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24517 (eval $ac_try) 2>&5
24518 ac_status=$?
24519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24520 (exit $ac_status); }; } &&
24521 { ac_try='test -s conftest.$ac_objext'
24522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24523 (eval $ac_try) 2>&5
24524 ac_status=$?
24525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24526 (exit $ac_status); }; }; then
24527 echo "$as_me:$LINENO: result: yes" >&5
24528 echo "${ECHO_T}yes" >&6
24529 cat >>confdefs.h <<\_ACEOF
24530 #define HAVE_EXT_HASH_MAP 1
24531 _ACEOF
24532
24533 cat >>confdefs.h <<\_ACEOF
24534 #define HAVE_GNU_CXX_HASH_MAP 1
24535 _ACEOF
24536
24537 else
24538 echo "$as_me: failed program was:" >&5
24539 sed 's/^/| /' conftest.$ac_ext >&5
24540
24541 echo "$as_me:$LINENO: result: no" >&5
24542 echo "${ECHO_T}no" >&6
24543 fi
24544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24545
24546 fi
24547
24548
24549 fi
24550
24551
24552 SEARCH_INCLUDE="\
24553 /usr/local/include \
24554 \
24555 /usr/Motif-2.1/include \
24556 /usr/Motif-1.2/include \
24557 /usr/include/Motif1.2 \
24558 \
24559 /usr/dt/include \
24560 /usr/openwin/include \
24561 \
24562 /usr/include/Xm \
24563 \
24564 /usr/X11R6/include \
24565 /usr/X11R6.4/include \
24566 /usr/X11R5/include \
24567 /usr/X11R4/include \
24568 \
24569 /usr/include/X11R6 \
24570 /usr/include/X11R5 \
24571 /usr/include/X11R4 \
24572 \
24573 /usr/local/X11R6/include \
24574 /usr/local/X11R5/include \
24575 /usr/local/X11R4/include \
24576 \
24577 /usr/local/include/X11R6 \
24578 /usr/local/include/X11R5 \
24579 /usr/local/include/X11R4 \
24580 \
24581 /usr/X11/include \
24582 /usr/include/X11 \
24583 /usr/local/X11/include \
24584 /usr/local/include/X11 \
24585 \
24586 /usr/XFree86/include/X11 \
24587 /usr/pkg/include \
24588 \
24589 /usr/openwin/share/include"
24590
24591 echo "$as_me:$LINENO: checking for libraries directory" >&5
24592 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24593
24594 case "${host}" in
24595 *-*-irix6* )
24596 if test "${wx_cv_std_libpath+set}" = set; then
24597 echo $ECHO_N "(cached) $ECHO_C" >&6
24598 else
24599
24600 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24601 for e in a so sl dylib dll.a; do
24602 libc="$d/libc.$e"
24603 if test -f $libc; then
24604 save_LIBS="$LIBS"
24605 LIBS="$libc"
24606 cat >conftest.$ac_ext <<_ACEOF
24607 int main() { return 0; }
24608 _ACEOF
24609 rm -f conftest.$ac_objext conftest$ac_exeext
24610 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24611 (eval $ac_link) 2>conftest.er1
24612 ac_status=$?
24613 grep -v '^ *+' conftest.er1 >conftest.err
24614 rm -f conftest.er1
24615 cat conftest.err >&5
24616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24617 (exit $ac_status); } &&
24618 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24620 (eval $ac_try) 2>&5
24621 ac_status=$?
24622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24623 (exit $ac_status); }; } &&
24624 { ac_try='test -s conftest$ac_exeext'
24625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24626 (eval $ac_try) 2>&5
24627 ac_status=$?
24628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24629 (exit $ac_status); }; }; then
24630 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24631 else
24632 echo "$as_me: failed program was:" >&5
24633 sed 's/^/| /' conftest.$ac_ext >&5
24634
24635 fi
24636 rm -f conftest.err conftest.$ac_objext \
24637 conftest$ac_exeext conftest.$ac_ext
24638 LIBS="$save_LIBS"
24639 if test "x$wx_cv_std_libpath" != "x"; then
24640 break 2
24641 fi
24642 fi
24643 done
24644 done
24645 if test "x$wx_cv_std_libpath" = "x"; then
24646 wx_cv_std_libpath="lib"
24647 fi
24648
24649
24650 fi
24651
24652 ;;
24653
24654 *-*-solaris2* )
24655 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24656 wx_cv_std_libpath="lib/64"
24657 else
24658 wx_cv_std_libpath="lib"
24659 fi
24660 ;;
24661
24662 *-*-linux* )
24663 if test "$ac_cv_sizeof_void_p" = 8 -a \
24664 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24665 wx_cv_std_libpath="lib64"
24666 else
24667 wx_cv_std_libpath="lib"
24668 fi
24669 ;;
24670
24671 *)
24672 wx_cv_std_libpath="lib";
24673 ;;
24674 esac
24675
24676 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24677 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24678
24679 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24680
24681 if test "$build" != "$host" -a "$GCC" = yes; then
24682 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24683 cross_root=`dirname $cross_root`
24684 cross_root=`dirname $cross_root`
24685
24686 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24687 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24688 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24689
24690 if test -z "$PKG_CONFIG_PATH"; then
24691 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24692 export PKG_CONFIG_PATH
24693 fi
24694
24695 if test -z "$x_includes" -o "$x_includes" = NONE; then
24696
24697 ac_find_includes=
24698 for ac_dir in $SEARCH_INCLUDE /usr/include;
24699 do
24700 if test -f "$ac_dir/X11/Intrinsic.h"; then
24701 ac_find_includes=$ac_dir
24702 break
24703 fi
24704 done
24705
24706 x_includes=$ac_find_includes
24707 fi
24708 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24709
24710 ac_find_libraries=
24711 for ac_dir in $SEARCH_LIB;
24712 do
24713 for ac_extension in a so sl dylib dll.a; do
24714 if test -f "$ac_dir/libXt.$ac_extension"; then
24715 ac_find_libraries=$ac_dir
24716 break 2
24717 fi
24718 done
24719 done
24720
24721 x_libraries=$ac_find_libraries
24722 fi
24723 fi
24724 fi
24725
24726
24727 cat >confcache <<\_ACEOF
24728 # This file is a shell script that caches the results of configure
24729 # tests run on this system so they can be shared between configure
24730 # scripts and configure runs, see configure's option --config-cache.
24731 # It is not useful on other systems. If it contains results you don't
24732 # want to keep, you may remove or edit it.
24733 #
24734 # config.status only pays attention to the cache file if you give it
24735 # the --recheck option to rerun configure.
24736 #
24737 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24738 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24739 # following values.
24740
24741 _ACEOF
24742
24743 # The following way of writing the cache mishandles newlines in values,
24744 # but we know of no workaround that is simple, portable, and efficient.
24745 # So, don't put newlines in cache variables' values.
24746 # Ultrix sh set writes to stderr and can't be redirected directly,
24747 # and sets the high bit in the cache file unless we assign to the vars.
24748 {
24749 (set) 2>&1 |
24750 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24751 *ac_space=\ *)
24752 # `set' does not quote correctly, so add quotes (double-quote
24753 # substitution turns \\\\ into \\, and sed turns \\ into \).
24754 sed -n \
24755 "s/'/'\\\\''/g;
24756 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24757 ;;
24758 *)
24759 # `set' quotes correctly as required by POSIX, so do not add quotes.
24760 sed -n \
24761 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24762 ;;
24763 esac;
24764 } |
24765 sed '
24766 t clear
24767 : clear
24768 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24769 t end
24770 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24771 : end' >>confcache
24772 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24773 if test -w $cache_file; then
24774 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24775 cat confcache >$cache_file
24776 else
24777 echo "not updating unwritable cache $cache_file"
24778 fi
24779 fi
24780 rm -f confcache
24781
24782 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24783 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24784 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24785 if test "${wx_cv_lib_glibc21+set}" = set; then
24786 echo $ECHO_N "(cached) $ECHO_C" >&6
24787 else
24788
24789 cat >conftest.$ac_ext <<_ACEOF
24790 /* confdefs.h. */
24791 _ACEOF
24792 cat confdefs.h >>conftest.$ac_ext
24793 cat >>conftest.$ac_ext <<_ACEOF
24794 /* end confdefs.h. */
24795 #include <features.h>
24796 int
24797 main ()
24798 {
24799
24800 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24801 not glibc 2.1
24802 #endif
24803
24804 ;
24805 return 0;
24806 }
24807 _ACEOF
24808 rm -f conftest.$ac_objext
24809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24810 (eval $ac_compile) 2>conftest.er1
24811 ac_status=$?
24812 grep -v '^ *+' conftest.er1 >conftest.err
24813 rm -f conftest.er1
24814 cat conftest.err >&5
24815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24816 (exit $ac_status); } &&
24817 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24819 (eval $ac_try) 2>&5
24820 ac_status=$?
24821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24822 (exit $ac_status); }; } &&
24823 { ac_try='test -s conftest.$ac_objext'
24824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24825 (eval $ac_try) 2>&5
24826 ac_status=$?
24827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24828 (exit $ac_status); }; }; then
24829
24830 wx_cv_lib_glibc21=yes
24831
24832 else
24833 echo "$as_me: failed program was:" >&5
24834 sed 's/^/| /' conftest.$ac_ext >&5
24835
24836
24837 wx_cv_lib_glibc21=no
24838
24839
24840 fi
24841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24842
24843 fi
24844 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24845 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24846 if test "$wx_cv_lib_glibc21" = "yes"; then
24847 cat >>confdefs.h <<\_ACEOF
24848 #define wxHAVE_GLIBC2 1
24849 _ACEOF
24850
24851 fi
24852 fi
24853
24854 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24855 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24856 cat >>confdefs.h <<\_ACEOF
24857 #define _GNU_SOURCE 1
24858 _ACEOF
24859
24860 fi
24861 fi
24862
24863 have_cos=0
24864 have_floor=0
24865
24866 for ac_func in cos
24867 do
24868 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24869 echo "$as_me:$LINENO: checking for $ac_func" >&5
24870 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24871 if eval "test \"\${$as_ac_var+set}\" = set"; then
24872 echo $ECHO_N "(cached) $ECHO_C" >&6
24873 else
24874 cat >conftest.$ac_ext <<_ACEOF
24875 /* confdefs.h. */
24876 _ACEOF
24877 cat confdefs.h >>conftest.$ac_ext
24878 cat >>conftest.$ac_ext <<_ACEOF
24879 /* end confdefs.h. */
24880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24882 #define $ac_func innocuous_$ac_func
24883
24884 /* System header to define __stub macros and hopefully few prototypes,
24885 which can conflict with char $ac_func (); below.
24886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24887 <limits.h> exists even on freestanding compilers. */
24888
24889 #ifdef __STDC__
24890 # include <limits.h>
24891 #else
24892 # include <assert.h>
24893 #endif
24894
24895 #undef $ac_func
24896
24897 /* Override any gcc2 internal prototype to avoid an error. */
24898 #ifdef __cplusplus
24899 extern "C"
24900 {
24901 #endif
24902 /* We use char because int might match the return type of a gcc2
24903 builtin and then its argument prototype would still apply. */
24904 char $ac_func ();
24905 /* The GNU C library defines this for functions which it implements
24906 to always fail with ENOSYS. Some functions are actually named
24907 something starting with __ and the normal name is an alias. */
24908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24909 choke me
24910 #else
24911 char (*f) () = $ac_func;
24912 #endif
24913 #ifdef __cplusplus
24914 }
24915 #endif
24916
24917 int
24918 main ()
24919 {
24920 return f != $ac_func;
24921 ;
24922 return 0;
24923 }
24924 _ACEOF
24925 rm -f conftest.$ac_objext conftest$ac_exeext
24926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24927 (eval $ac_link) 2>conftest.er1
24928 ac_status=$?
24929 grep -v '^ *+' conftest.er1 >conftest.err
24930 rm -f conftest.er1
24931 cat conftest.err >&5
24932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24933 (exit $ac_status); } &&
24934 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24936 (eval $ac_try) 2>&5
24937 ac_status=$?
24938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24939 (exit $ac_status); }; } &&
24940 { ac_try='test -s conftest$ac_exeext'
24941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24942 (eval $ac_try) 2>&5
24943 ac_status=$?
24944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24945 (exit $ac_status); }; }; then
24946 eval "$as_ac_var=yes"
24947 else
24948 echo "$as_me: failed program was:" >&5
24949 sed 's/^/| /' conftest.$ac_ext >&5
24950
24951 eval "$as_ac_var=no"
24952 fi
24953 rm -f conftest.err conftest.$ac_objext \
24954 conftest$ac_exeext conftest.$ac_ext
24955 fi
24956 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24957 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24958 if test `eval echo '${'$as_ac_var'}'` = yes; then
24959 cat >>confdefs.h <<_ACEOF
24960 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24961 _ACEOF
24962 have_cos=1
24963 fi
24964 done
24965
24966
24967 for ac_func in floor
24968 do
24969 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24970 echo "$as_me:$LINENO: checking for $ac_func" >&5
24971 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24972 if eval "test \"\${$as_ac_var+set}\" = set"; then
24973 echo $ECHO_N "(cached) $ECHO_C" >&6
24974 else
24975 cat >conftest.$ac_ext <<_ACEOF
24976 /* confdefs.h. */
24977 _ACEOF
24978 cat confdefs.h >>conftest.$ac_ext
24979 cat >>conftest.$ac_ext <<_ACEOF
24980 /* end confdefs.h. */
24981 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24982 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24983 #define $ac_func innocuous_$ac_func
24984
24985 /* System header to define __stub macros and hopefully few prototypes,
24986 which can conflict with char $ac_func (); below.
24987 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24988 <limits.h> exists even on freestanding compilers. */
24989
24990 #ifdef __STDC__
24991 # include <limits.h>
24992 #else
24993 # include <assert.h>
24994 #endif
24995
24996 #undef $ac_func
24997
24998 /* Override any gcc2 internal prototype to avoid an error. */
24999 #ifdef __cplusplus
25000 extern "C"
25001 {
25002 #endif
25003 /* We use char because int might match the return type of a gcc2
25004 builtin and then its argument prototype would still apply. */
25005 char $ac_func ();
25006 /* The GNU C library defines this for functions which it implements
25007 to always fail with ENOSYS. Some functions are actually named
25008 something starting with __ and the normal name is an alias. */
25009 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25010 choke me
25011 #else
25012 char (*f) () = $ac_func;
25013 #endif
25014 #ifdef __cplusplus
25015 }
25016 #endif
25017
25018 int
25019 main ()
25020 {
25021 return f != $ac_func;
25022 ;
25023 return 0;
25024 }
25025 _ACEOF
25026 rm -f conftest.$ac_objext conftest$ac_exeext
25027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25028 (eval $ac_link) 2>conftest.er1
25029 ac_status=$?
25030 grep -v '^ *+' conftest.er1 >conftest.err
25031 rm -f conftest.er1
25032 cat conftest.err >&5
25033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25034 (exit $ac_status); } &&
25035 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25037 (eval $ac_try) 2>&5
25038 ac_status=$?
25039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25040 (exit $ac_status); }; } &&
25041 { ac_try='test -s conftest$ac_exeext'
25042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25043 (eval $ac_try) 2>&5
25044 ac_status=$?
25045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25046 (exit $ac_status); }; }; then
25047 eval "$as_ac_var=yes"
25048 else
25049 echo "$as_me: failed program was:" >&5
25050 sed 's/^/| /' conftest.$ac_ext >&5
25051
25052 eval "$as_ac_var=no"
25053 fi
25054 rm -f conftest.err conftest.$ac_objext \
25055 conftest$ac_exeext conftest.$ac_ext
25056 fi
25057 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25058 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25059 if test `eval echo '${'$as_ac_var'}'` = yes; then
25060 cat >>confdefs.h <<_ACEOF
25061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25062 _ACEOF
25063 have_floor=1
25064 fi
25065 done
25066
25067 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25068 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
25069 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25070 echo "$as_me:$LINENO: result: yes" >&5
25071 echo "${ECHO_T}yes" >&6
25072 else
25073 echo "$as_me:$LINENO: result: no" >&5
25074 echo "${ECHO_T}no" >&6
25075 LIBS="$LIBS -lm"
25076 # use different functions to avoid configure caching
25077 have_sin=0
25078 have_ceil=0
25079
25080 for ac_func in sin
25081 do
25082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25083 echo "$as_me:$LINENO: checking for $ac_func" >&5
25084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25085 if eval "test \"\${$as_ac_var+set}\" = set"; then
25086 echo $ECHO_N "(cached) $ECHO_C" >&6
25087 else
25088 cat >conftest.$ac_ext <<_ACEOF
25089 /* confdefs.h. */
25090 _ACEOF
25091 cat confdefs.h >>conftest.$ac_ext
25092 cat >>conftest.$ac_ext <<_ACEOF
25093 /* end confdefs.h. */
25094 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25095 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25096 #define $ac_func innocuous_$ac_func
25097
25098 /* System header to define __stub macros and hopefully few prototypes,
25099 which can conflict with char $ac_func (); below.
25100 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25101 <limits.h> exists even on freestanding compilers. */
25102
25103 #ifdef __STDC__
25104 # include <limits.h>
25105 #else
25106 # include <assert.h>
25107 #endif
25108
25109 #undef $ac_func
25110
25111 /* Override any gcc2 internal prototype to avoid an error. */
25112 #ifdef __cplusplus
25113 extern "C"
25114 {
25115 #endif
25116 /* We use char because int might match the return type of a gcc2
25117 builtin and then its argument prototype would still apply. */
25118 char $ac_func ();
25119 /* The GNU C library defines this for functions which it implements
25120 to always fail with ENOSYS. Some functions are actually named
25121 something starting with __ and the normal name is an alias. */
25122 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25123 choke me
25124 #else
25125 char (*f) () = $ac_func;
25126 #endif
25127 #ifdef __cplusplus
25128 }
25129 #endif
25130
25131 int
25132 main ()
25133 {
25134 return f != $ac_func;
25135 ;
25136 return 0;
25137 }
25138 _ACEOF
25139 rm -f conftest.$ac_objext conftest$ac_exeext
25140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25141 (eval $ac_link) 2>conftest.er1
25142 ac_status=$?
25143 grep -v '^ *+' conftest.er1 >conftest.err
25144 rm -f conftest.er1
25145 cat conftest.err >&5
25146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25147 (exit $ac_status); } &&
25148 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25150 (eval $ac_try) 2>&5
25151 ac_status=$?
25152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25153 (exit $ac_status); }; } &&
25154 { ac_try='test -s conftest$ac_exeext'
25155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25156 (eval $ac_try) 2>&5
25157 ac_status=$?
25158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25159 (exit $ac_status); }; }; then
25160 eval "$as_ac_var=yes"
25161 else
25162 echo "$as_me: failed program was:" >&5
25163 sed 's/^/| /' conftest.$ac_ext >&5
25164
25165 eval "$as_ac_var=no"
25166 fi
25167 rm -f conftest.err conftest.$ac_objext \
25168 conftest$ac_exeext conftest.$ac_ext
25169 fi
25170 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25171 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25172 if test `eval echo '${'$as_ac_var'}'` = yes; then
25173 cat >>confdefs.h <<_ACEOF
25174 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25175 _ACEOF
25176 have_sin=1
25177 fi
25178 done
25179
25180
25181 for ac_func in ceil
25182 do
25183 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25184 echo "$as_me:$LINENO: checking for $ac_func" >&5
25185 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25186 if eval "test \"\${$as_ac_var+set}\" = set"; then
25187 echo $ECHO_N "(cached) $ECHO_C" >&6
25188 else
25189 cat >conftest.$ac_ext <<_ACEOF
25190 /* confdefs.h. */
25191 _ACEOF
25192 cat confdefs.h >>conftest.$ac_ext
25193 cat >>conftest.$ac_ext <<_ACEOF
25194 /* end confdefs.h. */
25195 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25196 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25197 #define $ac_func innocuous_$ac_func
25198
25199 /* System header to define __stub macros and hopefully few prototypes,
25200 which can conflict with char $ac_func (); below.
25201 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25202 <limits.h> exists even on freestanding compilers. */
25203
25204 #ifdef __STDC__
25205 # include <limits.h>
25206 #else
25207 # include <assert.h>
25208 #endif
25209
25210 #undef $ac_func
25211
25212 /* Override any gcc2 internal prototype to avoid an error. */
25213 #ifdef __cplusplus
25214 extern "C"
25215 {
25216 #endif
25217 /* We use char because int might match the return type of a gcc2
25218 builtin and then its argument prototype would still apply. */
25219 char $ac_func ();
25220 /* The GNU C library defines this for functions which it implements
25221 to always fail with ENOSYS. Some functions are actually named
25222 something starting with __ and the normal name is an alias. */
25223 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25224 choke me
25225 #else
25226 char (*f) () = $ac_func;
25227 #endif
25228 #ifdef __cplusplus
25229 }
25230 #endif
25231
25232 int
25233 main ()
25234 {
25235 return f != $ac_func;
25236 ;
25237 return 0;
25238 }
25239 _ACEOF
25240 rm -f conftest.$ac_objext conftest$ac_exeext
25241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25242 (eval $ac_link) 2>conftest.er1
25243 ac_status=$?
25244 grep -v '^ *+' conftest.er1 >conftest.err
25245 rm -f conftest.er1
25246 cat conftest.err >&5
25247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25248 (exit $ac_status); } &&
25249 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25251 (eval $ac_try) 2>&5
25252 ac_status=$?
25253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25254 (exit $ac_status); }; } &&
25255 { ac_try='test -s conftest$ac_exeext'
25256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25257 (eval $ac_try) 2>&5
25258 ac_status=$?
25259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25260 (exit $ac_status); }; }; then
25261 eval "$as_ac_var=yes"
25262 else
25263 echo "$as_me: failed program was:" >&5
25264 sed 's/^/| /' conftest.$ac_ext >&5
25265
25266 eval "$as_ac_var=no"
25267 fi
25268 rm -f conftest.err conftest.$ac_objext \
25269 conftest$ac_exeext conftest.$ac_ext
25270 fi
25271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25272 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25273 if test `eval echo '${'$as_ac_var'}'` = yes; then
25274 cat >>confdefs.h <<_ACEOF
25275 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25276 _ACEOF
25277 have_ceil=1
25278 fi
25279 done
25280
25281 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25282 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
25283 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25284 echo "$as_me:$LINENO: result: yes" >&5
25285 echo "${ECHO_T}yes" >&6
25286 else
25287 echo "$as_me:$LINENO: result: no" >&5
25288 echo "${ECHO_T}no" >&6
25289 # not sure we should warn the user, crash, etc.
25290 fi
25291 fi
25292
25293 if test "wxUSE_UNICODE" = "yes"; then
25294
25295 for ac_func in wcstoull
25296 do
25297 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25298 echo "$as_me:$LINENO: checking for $ac_func" >&5
25299 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25300 if eval "test \"\${$as_ac_var+set}\" = set"; then
25301 echo $ECHO_N "(cached) $ECHO_C" >&6
25302 else
25303 cat >conftest.$ac_ext <<_ACEOF
25304 /* confdefs.h. */
25305 _ACEOF
25306 cat confdefs.h >>conftest.$ac_ext
25307 cat >>conftest.$ac_ext <<_ACEOF
25308 /* end confdefs.h. */
25309 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25310 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25311 #define $ac_func innocuous_$ac_func
25312
25313 /* System header to define __stub macros and hopefully few prototypes,
25314 which can conflict with char $ac_func (); below.
25315 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25316 <limits.h> exists even on freestanding compilers. */
25317
25318 #ifdef __STDC__
25319 # include <limits.h>
25320 #else
25321 # include <assert.h>
25322 #endif
25323
25324 #undef $ac_func
25325
25326 /* Override any gcc2 internal prototype to avoid an error. */
25327 #ifdef __cplusplus
25328 extern "C"
25329 {
25330 #endif
25331 /* We use char because int might match the return type of a gcc2
25332 builtin and then its argument prototype would still apply. */
25333 char $ac_func ();
25334 /* The GNU C library defines this for functions which it implements
25335 to always fail with ENOSYS. Some functions are actually named
25336 something starting with __ and the normal name is an alias. */
25337 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25338 choke me
25339 #else
25340 char (*f) () = $ac_func;
25341 #endif
25342 #ifdef __cplusplus
25343 }
25344 #endif
25345
25346 int
25347 main ()
25348 {
25349 return f != $ac_func;
25350 ;
25351 return 0;
25352 }
25353 _ACEOF
25354 rm -f conftest.$ac_objext conftest$ac_exeext
25355 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25356 (eval $ac_link) 2>conftest.er1
25357 ac_status=$?
25358 grep -v '^ *+' conftest.er1 >conftest.err
25359 rm -f conftest.er1
25360 cat conftest.err >&5
25361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25362 (exit $ac_status); } &&
25363 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25365 (eval $ac_try) 2>&5
25366 ac_status=$?
25367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25368 (exit $ac_status); }; } &&
25369 { ac_try='test -s conftest$ac_exeext'
25370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25371 (eval $ac_try) 2>&5
25372 ac_status=$?
25373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25374 (exit $ac_status); }; }; then
25375 eval "$as_ac_var=yes"
25376 else
25377 echo "$as_me: failed program was:" >&5
25378 sed 's/^/| /' conftest.$ac_ext >&5
25379
25380 eval "$as_ac_var=no"
25381 fi
25382 rm -f conftest.err conftest.$ac_objext \
25383 conftest$ac_exeext conftest.$ac_ext
25384 fi
25385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25387 if test `eval echo '${'$as_ac_var'}'` = yes; then
25388 cat >>confdefs.h <<_ACEOF
25389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25390 _ACEOF
25391
25392 fi
25393 done
25394
25395 else
25396
25397 for ac_func in strtoull
25398 do
25399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25400 echo "$as_me:$LINENO: checking for $ac_func" >&5
25401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25402 if eval "test \"\${$as_ac_var+set}\" = set"; then
25403 echo $ECHO_N "(cached) $ECHO_C" >&6
25404 else
25405 cat >conftest.$ac_ext <<_ACEOF
25406 /* confdefs.h. */
25407 _ACEOF
25408 cat confdefs.h >>conftest.$ac_ext
25409 cat >>conftest.$ac_ext <<_ACEOF
25410 /* end confdefs.h. */
25411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25413 #define $ac_func innocuous_$ac_func
25414
25415 /* System header to define __stub macros and hopefully few prototypes,
25416 which can conflict with char $ac_func (); below.
25417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25418 <limits.h> exists even on freestanding compilers. */
25419
25420 #ifdef __STDC__
25421 # include <limits.h>
25422 #else
25423 # include <assert.h>
25424 #endif
25425
25426 #undef $ac_func
25427
25428 /* Override any gcc2 internal prototype to avoid an error. */
25429 #ifdef __cplusplus
25430 extern "C"
25431 {
25432 #endif
25433 /* We use char because int might match the return type of a gcc2
25434 builtin and then its argument prototype would still apply. */
25435 char $ac_func ();
25436 /* The GNU C library defines this for functions which it implements
25437 to always fail with ENOSYS. Some functions are actually named
25438 something starting with __ and the normal name is an alias. */
25439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25440 choke me
25441 #else
25442 char (*f) () = $ac_func;
25443 #endif
25444 #ifdef __cplusplus
25445 }
25446 #endif
25447
25448 int
25449 main ()
25450 {
25451 return f != $ac_func;
25452 ;
25453 return 0;
25454 }
25455 _ACEOF
25456 rm -f conftest.$ac_objext conftest$ac_exeext
25457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25458 (eval $ac_link) 2>conftest.er1
25459 ac_status=$?
25460 grep -v '^ *+' conftest.er1 >conftest.err
25461 rm -f conftest.er1
25462 cat conftest.err >&5
25463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25464 (exit $ac_status); } &&
25465 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25467 (eval $ac_try) 2>&5
25468 ac_status=$?
25469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25470 (exit $ac_status); }; } &&
25471 { ac_try='test -s conftest$ac_exeext'
25472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25473 (eval $ac_try) 2>&5
25474 ac_status=$?
25475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25476 (exit $ac_status); }; }; then
25477 eval "$as_ac_var=yes"
25478 else
25479 echo "$as_me: failed program was:" >&5
25480 sed 's/^/| /' conftest.$ac_ext >&5
25481
25482 eval "$as_ac_var=no"
25483 fi
25484 rm -f conftest.err conftest.$ac_objext \
25485 conftest$ac_exeext conftest.$ac_ext
25486 fi
25487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25489 if test `eval echo '${'$as_ac_var'}'` = yes; then
25490 cat >>confdefs.h <<_ACEOF
25491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25492 _ACEOF
25493
25494 fi
25495 done
25496
25497 fi
25498
25499
25500
25501 if test "$wxUSE_REGEX" != "no"; then
25502 cat >>confdefs.h <<\_ACEOF
25503 #define wxUSE_REGEX 1
25504 _ACEOF
25505
25506
25507 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25508 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25509 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25510 wxUSE_REGEX=builtin
25511 fi
25512
25513 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25514 if test "${ac_cv_header_regex_h+set}" = set; then
25515 echo "$as_me:$LINENO: checking for regex.h" >&5
25516 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25517 if test "${ac_cv_header_regex_h+set}" = set; then
25518 echo $ECHO_N "(cached) $ECHO_C" >&6
25519 fi
25520 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25521 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25522 else
25523 # Is the header compilable?
25524 echo "$as_me:$LINENO: checking regex.h usability" >&5
25525 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25526 cat >conftest.$ac_ext <<_ACEOF
25527 /* confdefs.h. */
25528 _ACEOF
25529 cat confdefs.h >>conftest.$ac_ext
25530 cat >>conftest.$ac_ext <<_ACEOF
25531 /* end confdefs.h. */
25532 $ac_includes_default
25533 #include <regex.h>
25534 _ACEOF
25535 rm -f conftest.$ac_objext
25536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25537 (eval $ac_compile) 2>conftest.er1
25538 ac_status=$?
25539 grep -v '^ *+' conftest.er1 >conftest.err
25540 rm -f conftest.er1
25541 cat conftest.err >&5
25542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25543 (exit $ac_status); } &&
25544 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25546 (eval $ac_try) 2>&5
25547 ac_status=$?
25548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25549 (exit $ac_status); }; } &&
25550 { ac_try='test -s conftest.$ac_objext'
25551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25552 (eval $ac_try) 2>&5
25553 ac_status=$?
25554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25555 (exit $ac_status); }; }; then
25556 ac_header_compiler=yes
25557 else
25558 echo "$as_me: failed program was:" >&5
25559 sed 's/^/| /' conftest.$ac_ext >&5
25560
25561 ac_header_compiler=no
25562 fi
25563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25564 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25565 echo "${ECHO_T}$ac_header_compiler" >&6
25566
25567 # Is the header present?
25568 echo "$as_me:$LINENO: checking regex.h presence" >&5
25569 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25570 cat >conftest.$ac_ext <<_ACEOF
25571 /* confdefs.h. */
25572 _ACEOF
25573 cat confdefs.h >>conftest.$ac_ext
25574 cat >>conftest.$ac_ext <<_ACEOF
25575 /* end confdefs.h. */
25576 #include <regex.h>
25577 _ACEOF
25578 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25579 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25580 ac_status=$?
25581 grep -v '^ *+' conftest.er1 >conftest.err
25582 rm -f conftest.er1
25583 cat conftest.err >&5
25584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25585 (exit $ac_status); } >/dev/null; then
25586 if test -s conftest.err; then
25587 ac_cpp_err=$ac_cxx_preproc_warn_flag
25588 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25589 else
25590 ac_cpp_err=
25591 fi
25592 else
25593 ac_cpp_err=yes
25594 fi
25595 if test -z "$ac_cpp_err"; then
25596 ac_header_preproc=yes
25597 else
25598 echo "$as_me: failed program was:" >&5
25599 sed 's/^/| /' conftest.$ac_ext >&5
25600
25601 ac_header_preproc=no
25602 fi
25603 rm -f conftest.err conftest.$ac_ext
25604 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25605 echo "${ECHO_T}$ac_header_preproc" >&6
25606
25607 # So? What about this header?
25608 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25609 yes:no: )
25610 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25611 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25612 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25613 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25614 ac_header_preproc=yes
25615 ;;
25616 no:yes:* )
25617 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25618 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25619 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25620 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25621 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25622 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25623 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25624 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25625 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25626 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25627 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25628 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25629 (
25630 cat <<\_ASBOX
25631 ## ----------------------------------------- ##
25632 ## Report this to wx-dev@lists.wxwidgets.org ##
25633 ## ----------------------------------------- ##
25634 _ASBOX
25635 ) |
25636 sed "s/^/$as_me: WARNING: /" >&2
25637 ;;
25638 esac
25639 echo "$as_me:$LINENO: checking for regex.h" >&5
25640 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25641 if test "${ac_cv_header_regex_h+set}" = set; then
25642 echo $ECHO_N "(cached) $ECHO_C" >&6
25643 else
25644 ac_cv_header_regex_h=$ac_header_preproc
25645 fi
25646 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25647 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25648
25649 fi
25650 if test $ac_cv_header_regex_h = yes; then
25651
25652
25653 for ac_func in regcomp re_search
25654 do
25655 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25656 echo "$as_me:$LINENO: checking for $ac_func" >&5
25657 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25658 if eval "test \"\${$as_ac_var+set}\" = set"; then
25659 echo $ECHO_N "(cached) $ECHO_C" >&6
25660 else
25661 cat >conftest.$ac_ext <<_ACEOF
25662 /* confdefs.h. */
25663 _ACEOF
25664 cat confdefs.h >>conftest.$ac_ext
25665 cat >>conftest.$ac_ext <<_ACEOF
25666 /* end confdefs.h. */
25667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25669 #define $ac_func innocuous_$ac_func
25670
25671 /* System header to define __stub macros and hopefully few prototypes,
25672 which can conflict with char $ac_func (); below.
25673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25674 <limits.h> exists even on freestanding compilers. */
25675
25676 #ifdef __STDC__
25677 # include <limits.h>
25678 #else
25679 # include <assert.h>
25680 #endif
25681
25682 #undef $ac_func
25683
25684 /* Override any gcc2 internal prototype to avoid an error. */
25685 #ifdef __cplusplus
25686 extern "C"
25687 {
25688 #endif
25689 /* We use char because int might match the return type of a gcc2
25690 builtin and then its argument prototype would still apply. */
25691 char $ac_func ();
25692 /* The GNU C library defines this for functions which it implements
25693 to always fail with ENOSYS. Some functions are actually named
25694 something starting with __ and the normal name is an alias. */
25695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25696 choke me
25697 #else
25698 char (*f) () = $ac_func;
25699 #endif
25700 #ifdef __cplusplus
25701 }
25702 #endif
25703
25704 int
25705 main ()
25706 {
25707 return f != $ac_func;
25708 ;
25709 return 0;
25710 }
25711 _ACEOF
25712 rm -f conftest.$ac_objext conftest$ac_exeext
25713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25714 (eval $ac_link) 2>conftest.er1
25715 ac_status=$?
25716 grep -v '^ *+' conftest.er1 >conftest.err
25717 rm -f conftest.er1
25718 cat conftest.err >&5
25719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25720 (exit $ac_status); } &&
25721 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25723 (eval $ac_try) 2>&5
25724 ac_status=$?
25725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25726 (exit $ac_status); }; } &&
25727 { ac_try='test -s conftest$ac_exeext'
25728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25729 (eval $ac_try) 2>&5
25730 ac_status=$?
25731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25732 (exit $ac_status); }; }; then
25733 eval "$as_ac_var=yes"
25734 else
25735 echo "$as_me: failed program was:" >&5
25736 sed 's/^/| /' conftest.$ac_ext >&5
25737
25738 eval "$as_ac_var=no"
25739 fi
25740 rm -f conftest.err conftest.$ac_objext \
25741 conftest$ac_exeext conftest.$ac_ext
25742 fi
25743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25745 if test `eval echo '${'$as_ac_var'}'` = yes; then
25746 cat >>confdefs.h <<_ACEOF
25747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25748 _ACEOF
25749
25750 fi
25751 done
25752
25753 fi
25754
25755
25756
25757 if test "x$ac_cv_func_regcomp" != "xyes"; then
25758 if test "$wxUSE_REGEX" = "sys" ; then
25759 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25760 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25761 { (exit 1); exit 1; }; }
25762 else
25763 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25764 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25765 wxUSE_REGEX=builtin
25766 fi
25767 else
25768 wxUSE_REGEX=sys
25769 cat >>confdefs.h <<\_ACEOF
25770 #define WX_NO_REGEX_ADVANCED 1
25771 _ACEOF
25772
25773 fi
25774 fi
25775 fi
25776
25777
25778 ZLIB_LINK=
25779 if test "$wxUSE_ZLIB" != "no" ; then
25780 cat >>confdefs.h <<\_ACEOF
25781 #define wxUSE_ZLIB 1
25782 _ACEOF
25783
25784
25785 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25786 if test "$USE_DARWIN" = 1; then
25787 system_zlib_h_ok="yes"
25788 else
25789 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25790 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25791 if test "${ac_cv_header_zlib_h+set}" = set; then
25792 echo $ECHO_N "(cached) $ECHO_C" >&6
25793 else
25794 if test "$cross_compiling" = yes; then
25795 unset ac_cv_header_zlib_h
25796
25797 else
25798 cat >conftest.$ac_ext <<_ACEOF
25799 /* confdefs.h. */
25800 _ACEOF
25801 cat confdefs.h >>conftest.$ac_ext
25802 cat >>conftest.$ac_ext <<_ACEOF
25803 /* end confdefs.h. */
25804
25805 #include <zlib.h>
25806 #include <stdio.h>
25807
25808 int main()
25809 {
25810 FILE *f=fopen("conftestval", "w");
25811 if (!f) exit(1);
25812 fprintf(f, "%s",
25813 ZLIB_VERSION[0] == '1' &&
25814 (ZLIB_VERSION[2] > '1' ||
25815 (ZLIB_VERSION[2] == '1' &&
25816 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25817 exit(0);
25818 }
25819
25820 _ACEOF
25821 rm -f conftest$ac_exeext
25822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25823 (eval $ac_link) 2>&5
25824 ac_status=$?
25825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25826 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25828 (eval $ac_try) 2>&5
25829 ac_status=$?
25830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25831 (exit $ac_status); }; }; then
25832 ac_cv_header_zlib_h=`cat conftestval`
25833 else
25834 echo "$as_me: program exited with status $ac_status" >&5
25835 echo "$as_me: failed program was:" >&5
25836 sed 's/^/| /' conftest.$ac_ext >&5
25837
25838 ( exit $ac_status )
25839 ac_cv_header_zlib_h=no
25840 fi
25841 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25842 fi
25843
25844 fi
25845 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25846 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25847 if test "${ac_cv_header_zlib_h+set}" = set; then
25848 echo "$as_me:$LINENO: checking for zlib.h" >&5
25849 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25850 if test "${ac_cv_header_zlib_h+set}" = set; then
25851 echo $ECHO_N "(cached) $ECHO_C" >&6
25852 fi
25853 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25854 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25855 else
25856 # Is the header compilable?
25857 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25858 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25859 cat >conftest.$ac_ext <<_ACEOF
25860 /* confdefs.h. */
25861 _ACEOF
25862 cat confdefs.h >>conftest.$ac_ext
25863 cat >>conftest.$ac_ext <<_ACEOF
25864 /* end confdefs.h. */
25865 $ac_includes_default
25866 #include <zlib.h>
25867 _ACEOF
25868 rm -f conftest.$ac_objext
25869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25870 (eval $ac_compile) 2>conftest.er1
25871 ac_status=$?
25872 grep -v '^ *+' conftest.er1 >conftest.err
25873 rm -f conftest.er1
25874 cat conftest.err >&5
25875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25876 (exit $ac_status); } &&
25877 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25879 (eval $ac_try) 2>&5
25880 ac_status=$?
25881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25882 (exit $ac_status); }; } &&
25883 { ac_try='test -s conftest.$ac_objext'
25884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25885 (eval $ac_try) 2>&5
25886 ac_status=$?
25887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25888 (exit $ac_status); }; }; then
25889 ac_header_compiler=yes
25890 else
25891 echo "$as_me: failed program was:" >&5
25892 sed 's/^/| /' conftest.$ac_ext >&5
25893
25894 ac_header_compiler=no
25895 fi
25896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25897 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25898 echo "${ECHO_T}$ac_header_compiler" >&6
25899
25900 # Is the header present?
25901 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25902 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25903 cat >conftest.$ac_ext <<_ACEOF
25904 /* confdefs.h. */
25905 _ACEOF
25906 cat confdefs.h >>conftest.$ac_ext
25907 cat >>conftest.$ac_ext <<_ACEOF
25908 /* end confdefs.h. */
25909 #include <zlib.h>
25910 _ACEOF
25911 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25912 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25913 ac_status=$?
25914 grep -v '^ *+' conftest.er1 >conftest.err
25915 rm -f conftest.er1
25916 cat conftest.err >&5
25917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25918 (exit $ac_status); } >/dev/null; then
25919 if test -s conftest.err; then
25920 ac_cpp_err=$ac_cxx_preproc_warn_flag
25921 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25922 else
25923 ac_cpp_err=
25924 fi
25925 else
25926 ac_cpp_err=yes
25927 fi
25928 if test -z "$ac_cpp_err"; then
25929 ac_header_preproc=yes
25930 else
25931 echo "$as_me: failed program was:" >&5
25932 sed 's/^/| /' conftest.$ac_ext >&5
25933
25934 ac_header_preproc=no
25935 fi
25936 rm -f conftest.err conftest.$ac_ext
25937 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25938 echo "${ECHO_T}$ac_header_preproc" >&6
25939
25940 # So? What about this header?
25941 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25942 yes:no: )
25943 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25944 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25945 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25946 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25947 ac_header_preproc=yes
25948 ;;
25949 no:yes:* )
25950 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25951 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25952 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25953 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25954 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25955 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25956 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25957 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25958 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25959 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25960 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25961 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25962 (
25963 cat <<\_ASBOX
25964 ## ----------------------------------------- ##
25965 ## Report this to wx-dev@lists.wxwidgets.org ##
25966 ## ----------------------------------------- ##
25967 _ASBOX
25968 ) |
25969 sed "s/^/$as_me: WARNING: /" >&2
25970 ;;
25971 esac
25972 echo "$as_me:$LINENO: checking for zlib.h" >&5
25973 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25974 if test "${ac_cv_header_zlib_h+set}" = set; then
25975 echo $ECHO_N "(cached) $ECHO_C" >&6
25976 else
25977 ac_cv_header_zlib_h=$ac_header_preproc
25978 fi
25979 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25980 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25981
25982 fi
25983
25984
25985
25986 system_zlib_h_ok=$ac_cv_header_zlib_h
25987 fi
25988
25989 if test "$system_zlib_h_ok" = "yes"; then
25990 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25991 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25992 if test "${ac_cv_lib_z_deflate+set}" = set; then
25993 echo $ECHO_N "(cached) $ECHO_C" >&6
25994 else
25995 ac_check_lib_save_LIBS=$LIBS
25996 LIBS="-lz $LIBS"
25997 cat >conftest.$ac_ext <<_ACEOF
25998 /* confdefs.h. */
25999 _ACEOF
26000 cat confdefs.h >>conftest.$ac_ext
26001 cat >>conftest.$ac_ext <<_ACEOF
26002 /* end confdefs.h. */
26003
26004 /* Override any gcc2 internal prototype to avoid an error. */
26005 #ifdef __cplusplus
26006 extern "C"
26007 #endif
26008 /* We use char because int might match the return type of a gcc2
26009 builtin and then its argument prototype would still apply. */
26010 char deflate ();
26011 int
26012 main ()
26013 {
26014 deflate ();
26015 ;
26016 return 0;
26017 }
26018 _ACEOF
26019 rm -f conftest.$ac_objext conftest$ac_exeext
26020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26021 (eval $ac_link) 2>conftest.er1
26022 ac_status=$?
26023 grep -v '^ *+' conftest.er1 >conftest.err
26024 rm -f conftest.er1
26025 cat conftest.err >&5
26026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26027 (exit $ac_status); } &&
26028 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26030 (eval $ac_try) 2>&5
26031 ac_status=$?
26032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26033 (exit $ac_status); }; } &&
26034 { ac_try='test -s conftest$ac_exeext'
26035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26036 (eval $ac_try) 2>&5
26037 ac_status=$?
26038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26039 (exit $ac_status); }; }; then
26040 ac_cv_lib_z_deflate=yes
26041 else
26042 echo "$as_me: failed program was:" >&5
26043 sed 's/^/| /' conftest.$ac_ext >&5
26044
26045 ac_cv_lib_z_deflate=no
26046 fi
26047 rm -f conftest.err conftest.$ac_objext \
26048 conftest$ac_exeext conftest.$ac_ext
26049 LIBS=$ac_check_lib_save_LIBS
26050 fi
26051 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26052 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
26053 if test $ac_cv_lib_z_deflate = yes; then
26054 ZLIB_LINK=" -lz"
26055 fi
26056
26057 fi
26058
26059 if test "x$ZLIB_LINK" = "x" ; then
26060 if test "$wxUSE_ZLIB" = "sys" ; then
26061 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26062 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26063 { (exit 1); exit 1; }; }
26064 else
26065 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26066 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26067 wxUSE_ZLIB=builtin
26068 fi
26069 else
26070 wxUSE_ZLIB=sys
26071 fi
26072 fi
26073 fi
26074
26075
26076 PNG_LINK=
26077 if test "$wxUSE_LIBPNG" != "no" ; then
26078 cat >>confdefs.h <<\_ACEOF
26079 #define wxUSE_LIBPNG 1
26080 _ACEOF
26081
26082
26083 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26084 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26085 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26086 wxUSE_LIBPNG=sys
26087 fi
26088
26089 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26090 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26091 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26092 wxUSE_LIBPNG=builtin
26093 fi
26094
26095 if test "$wxUSE_MGL" != 1 ; then
26096 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26097 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26098 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
26099 if test "${ac_cv_header_png_h+set}" = set; then
26100 echo $ECHO_N "(cached) $ECHO_C" >&6
26101 else
26102 if test "$cross_compiling" = yes; then
26103 unset ac_cv_header_png_h
26104
26105 else
26106 cat >conftest.$ac_ext <<_ACEOF
26107 /* confdefs.h. */
26108 _ACEOF
26109 cat confdefs.h >>conftest.$ac_ext
26110 cat >>conftest.$ac_ext <<_ACEOF
26111 /* end confdefs.h. */
26112
26113 #include <png.h>
26114 #include <stdio.h>
26115
26116 int main()
26117 {
26118 FILE *f=fopen("conftestval", "w");
26119 if (!f) exit(1);
26120 fprintf(f, "%s",
26121 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26122 exit(0);
26123 }
26124
26125 _ACEOF
26126 rm -f conftest$ac_exeext
26127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26128 (eval $ac_link) 2>&5
26129 ac_status=$?
26130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26131 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26133 (eval $ac_try) 2>&5
26134 ac_status=$?
26135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26136 (exit $ac_status); }; }; then
26137 ac_cv_header_png_h=`cat conftestval`
26138 else
26139 echo "$as_me: program exited with status $ac_status" >&5
26140 echo "$as_me: failed program was:" >&5
26141 sed 's/^/| /' conftest.$ac_ext >&5
26142
26143 ( exit $ac_status )
26144 ac_cv_header_png_h=no
26145 fi
26146 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26147 fi
26148
26149 fi
26150 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26151 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26152 if test "${ac_cv_header_png_h+set}" = set; then
26153 echo "$as_me:$LINENO: checking for png.h" >&5
26154 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
26155 if test "${ac_cv_header_png_h+set}" = set; then
26156 echo $ECHO_N "(cached) $ECHO_C" >&6
26157 fi
26158 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26159 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26160 else
26161 # Is the header compilable?
26162 echo "$as_me:$LINENO: checking png.h usability" >&5
26163 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
26164 cat >conftest.$ac_ext <<_ACEOF
26165 /* confdefs.h. */
26166 _ACEOF
26167 cat confdefs.h >>conftest.$ac_ext
26168 cat >>conftest.$ac_ext <<_ACEOF
26169 /* end confdefs.h. */
26170 $ac_includes_default
26171 #include <png.h>
26172 _ACEOF
26173 rm -f conftest.$ac_objext
26174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26175 (eval $ac_compile) 2>conftest.er1
26176 ac_status=$?
26177 grep -v '^ *+' conftest.er1 >conftest.err
26178 rm -f conftest.er1
26179 cat conftest.err >&5
26180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26181 (exit $ac_status); } &&
26182 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26184 (eval $ac_try) 2>&5
26185 ac_status=$?
26186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26187 (exit $ac_status); }; } &&
26188 { ac_try='test -s conftest.$ac_objext'
26189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26190 (eval $ac_try) 2>&5
26191 ac_status=$?
26192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26193 (exit $ac_status); }; }; then
26194 ac_header_compiler=yes
26195 else
26196 echo "$as_me: failed program was:" >&5
26197 sed 's/^/| /' conftest.$ac_ext >&5
26198
26199 ac_header_compiler=no
26200 fi
26201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26202 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26203 echo "${ECHO_T}$ac_header_compiler" >&6
26204
26205 # Is the header present?
26206 echo "$as_me:$LINENO: checking png.h presence" >&5
26207 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
26208 cat >conftest.$ac_ext <<_ACEOF
26209 /* confdefs.h. */
26210 _ACEOF
26211 cat confdefs.h >>conftest.$ac_ext
26212 cat >>conftest.$ac_ext <<_ACEOF
26213 /* end confdefs.h. */
26214 #include <png.h>
26215 _ACEOF
26216 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26217 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26218 ac_status=$?
26219 grep -v '^ *+' conftest.er1 >conftest.err
26220 rm -f conftest.er1
26221 cat conftest.err >&5
26222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26223 (exit $ac_status); } >/dev/null; then
26224 if test -s conftest.err; then
26225 ac_cpp_err=$ac_cxx_preproc_warn_flag
26226 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26227 else
26228 ac_cpp_err=
26229 fi
26230 else
26231 ac_cpp_err=yes
26232 fi
26233 if test -z "$ac_cpp_err"; then
26234 ac_header_preproc=yes
26235 else
26236 echo "$as_me: failed program was:" >&5
26237 sed 's/^/| /' conftest.$ac_ext >&5
26238
26239 ac_header_preproc=no
26240 fi
26241 rm -f conftest.err conftest.$ac_ext
26242 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26243 echo "${ECHO_T}$ac_header_preproc" >&6
26244
26245 # So? What about this header?
26246 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26247 yes:no: )
26248 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
26249 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26250 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
26251 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
26252 ac_header_preproc=yes
26253 ;;
26254 no:yes:* )
26255 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
26256 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
26257 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
26258 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
26259 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
26260 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
26261 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
26262 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
26263 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
26264 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
26265 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
26266 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
26267 (
26268 cat <<\_ASBOX
26269 ## ----------------------------------------- ##
26270 ## Report this to wx-dev@lists.wxwidgets.org ##
26271 ## ----------------------------------------- ##
26272 _ASBOX
26273 ) |
26274 sed "s/^/$as_me: WARNING: /" >&2
26275 ;;
26276 esac
26277 echo "$as_me:$LINENO: checking for png.h" >&5
26278 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
26279 if test "${ac_cv_header_png_h+set}" = set; then
26280 echo $ECHO_N "(cached) $ECHO_C" >&6
26281 else
26282 ac_cv_header_png_h=$ac_header_preproc
26283 fi
26284 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26285 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26286
26287 fi
26288
26289
26290
26291 if test "$ac_cv_header_png_h" = "yes"; then
26292 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26293 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
26294 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26295 echo $ECHO_N "(cached) $ECHO_C" >&6
26296 else
26297 ac_check_lib_save_LIBS=$LIBS
26298 LIBS="-lpng -lz -lm $LIBS"
26299 cat >conftest.$ac_ext <<_ACEOF
26300 /* confdefs.h. */
26301 _ACEOF
26302 cat confdefs.h >>conftest.$ac_ext
26303 cat >>conftest.$ac_ext <<_ACEOF
26304 /* end confdefs.h. */
26305
26306 /* Override any gcc2 internal prototype to avoid an error. */
26307 #ifdef __cplusplus
26308 extern "C"
26309 #endif
26310 /* We use char because int might match the return type of a gcc2
26311 builtin and then its argument prototype would still apply. */
26312 char png_check_sig ();
26313 int
26314 main ()
26315 {
26316 png_check_sig ();
26317 ;
26318 return 0;
26319 }
26320 _ACEOF
26321 rm -f conftest.$ac_objext conftest$ac_exeext
26322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26323 (eval $ac_link) 2>conftest.er1
26324 ac_status=$?
26325 grep -v '^ *+' conftest.er1 >conftest.err
26326 rm -f conftest.er1
26327 cat conftest.err >&5
26328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26329 (exit $ac_status); } &&
26330 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26332 (eval $ac_try) 2>&5
26333 ac_status=$?
26334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26335 (exit $ac_status); }; } &&
26336 { ac_try='test -s conftest$ac_exeext'
26337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26338 (eval $ac_try) 2>&5
26339 ac_status=$?
26340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26341 (exit $ac_status); }; }; then
26342 ac_cv_lib_png_png_check_sig=yes
26343 else
26344 echo "$as_me: failed program was:" >&5
26345 sed 's/^/| /' conftest.$ac_ext >&5
26346
26347 ac_cv_lib_png_png_check_sig=no
26348 fi
26349 rm -f conftest.err conftest.$ac_objext \
26350 conftest$ac_exeext conftest.$ac_ext
26351 LIBS=$ac_check_lib_save_LIBS
26352 fi
26353 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26354 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
26355 if test $ac_cv_lib_png_png_check_sig = yes; then
26356 PNG_LINK=" -lpng -lz"
26357 fi
26358
26359 fi
26360
26361 if test "x$PNG_LINK" = "x" ; then
26362 if test "$wxUSE_LIBPNG" = "sys" ; then
26363 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26364 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26365 { (exit 1); exit 1; }; }
26366 else
26367 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26368 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26369 wxUSE_LIBPNG=builtin
26370 fi
26371 else
26372 wxUSE_LIBPNG=sys
26373 fi
26374 fi
26375 fi
26376
26377 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
26378 fi
26379
26380
26381 JPEG_LINK=
26382 if test "$wxUSE_LIBJPEG" != "no" ; then
26383 cat >>confdefs.h <<\_ACEOF
26384 #define wxUSE_LIBJPEG 1
26385 _ACEOF
26386
26387
26388 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26389 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26390 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26391 wxUSE_LIBJPEG=sys
26392 fi
26393
26394 if test "$wxUSE_MGL" != 1 ; then
26395 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26396 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26397 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
26398 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26399 echo $ECHO_N "(cached) $ECHO_C" >&6
26400 else
26401 cat >conftest.$ac_ext <<_ACEOF
26402 /* confdefs.h. */
26403 _ACEOF
26404 cat confdefs.h >>conftest.$ac_ext
26405 cat >>conftest.$ac_ext <<_ACEOF
26406 /* end confdefs.h. */
26407
26408 #undef HAVE_STDLIB_H
26409 #include <stdio.h>
26410 #include <jpeglib.h>
26411
26412 int
26413 main ()
26414 {
26415
26416
26417 ;
26418 return 0;
26419 }
26420 _ACEOF
26421 rm -f conftest.$ac_objext
26422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26423 (eval $ac_compile) 2>conftest.er1
26424 ac_status=$?
26425 grep -v '^ *+' conftest.er1 >conftest.err
26426 rm -f conftest.er1
26427 cat conftest.err >&5
26428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26429 (exit $ac_status); } &&
26430 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26432 (eval $ac_try) 2>&5
26433 ac_status=$?
26434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26435 (exit $ac_status); }; } &&
26436 { ac_try='test -s conftest.$ac_objext'
26437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26438 (eval $ac_try) 2>&5
26439 ac_status=$?
26440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26441 (exit $ac_status); }; }; then
26442 ac_cv_header_jpeglib_h=yes
26443 else
26444 echo "$as_me: failed program was:" >&5
26445 sed 's/^/| /' conftest.$ac_ext >&5
26446
26447 ac_cv_header_jpeglib_h=no
26448
26449 fi
26450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26451
26452 fi
26453
26454 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26455 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
26456
26457 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26458 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26459 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
26460 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26461 echo $ECHO_N "(cached) $ECHO_C" >&6
26462 else
26463 ac_check_lib_save_LIBS=$LIBS
26464 LIBS="-ljpeg $LIBS"
26465 cat >conftest.$ac_ext <<_ACEOF
26466 /* confdefs.h. */
26467 _ACEOF
26468 cat confdefs.h >>conftest.$ac_ext
26469 cat >>conftest.$ac_ext <<_ACEOF
26470 /* end confdefs.h. */
26471
26472 /* Override any gcc2 internal prototype to avoid an error. */
26473 #ifdef __cplusplus
26474 extern "C"
26475 #endif
26476 /* We use char because int might match the return type of a gcc2
26477 builtin and then its argument prototype would still apply. */
26478 char jpeg_read_header ();
26479 int
26480 main ()
26481 {
26482 jpeg_read_header ();
26483 ;
26484 return 0;
26485 }
26486 _ACEOF
26487 rm -f conftest.$ac_objext conftest$ac_exeext
26488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26489 (eval $ac_link) 2>conftest.er1
26490 ac_status=$?
26491 grep -v '^ *+' conftest.er1 >conftest.err
26492 rm -f conftest.er1
26493 cat conftest.err >&5
26494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26495 (exit $ac_status); } &&
26496 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26498 (eval $ac_try) 2>&5
26499 ac_status=$?
26500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26501 (exit $ac_status); }; } &&
26502 { ac_try='test -s conftest$ac_exeext'
26503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26504 (eval $ac_try) 2>&5
26505 ac_status=$?
26506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26507 (exit $ac_status); }; }; then
26508 ac_cv_lib_jpeg_jpeg_read_header=yes
26509 else
26510 echo "$as_me: failed program was:" >&5
26511 sed 's/^/| /' conftest.$ac_ext >&5
26512
26513 ac_cv_lib_jpeg_jpeg_read_header=no
26514 fi
26515 rm -f conftest.err conftest.$ac_objext \
26516 conftest$ac_exeext conftest.$ac_ext
26517 LIBS=$ac_check_lib_save_LIBS
26518 fi
26519 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26520 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26521 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26522 JPEG_LINK=" -ljpeg"
26523 fi
26524
26525 fi
26526
26527 if test "x$JPEG_LINK" = "x" ; then
26528 if test "$wxUSE_LIBJPEG" = "sys" ; then
26529 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26530 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26531 { (exit 1); exit 1; }; }
26532 else
26533 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26534 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26535 wxUSE_LIBJPEG=builtin
26536 fi
26537 else
26538 wxUSE_LIBJPEG=sys
26539 fi
26540 fi
26541 fi
26542 fi
26543
26544
26545 TIFF_LINK=
26546 TIFF_PREREQ_LINKS=-lm
26547 if test "$wxUSE_LIBTIFF" != "no" ; then
26548 cat >>confdefs.h <<\_ACEOF
26549 #define wxUSE_LIBTIFF 1
26550 _ACEOF
26551
26552
26553 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26554 if test "$wxUSE_LIBJPEG" = "sys"; then
26555 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26556 fi
26557 if test "$wxUSE_ZLIB" = "sys"; then
26558 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26559 fi
26560 if test "${ac_cv_header_tiffio_h+set}" = set; then
26561 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26562 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26563 if test "${ac_cv_header_tiffio_h+set}" = set; then
26564 echo $ECHO_N "(cached) $ECHO_C" >&6
26565 fi
26566 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26567 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26568 else
26569 # Is the header compilable?
26570 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26571 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26572 cat >conftest.$ac_ext <<_ACEOF
26573 /* confdefs.h. */
26574 _ACEOF
26575 cat confdefs.h >>conftest.$ac_ext
26576 cat >>conftest.$ac_ext <<_ACEOF
26577 /* end confdefs.h. */
26578 $ac_includes_default
26579 #include <tiffio.h>
26580 _ACEOF
26581 rm -f conftest.$ac_objext
26582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26583 (eval $ac_compile) 2>conftest.er1
26584 ac_status=$?
26585 grep -v '^ *+' conftest.er1 >conftest.err
26586 rm -f conftest.er1
26587 cat conftest.err >&5
26588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26589 (exit $ac_status); } &&
26590 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26592 (eval $ac_try) 2>&5
26593 ac_status=$?
26594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26595 (exit $ac_status); }; } &&
26596 { ac_try='test -s conftest.$ac_objext'
26597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26598 (eval $ac_try) 2>&5
26599 ac_status=$?
26600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26601 (exit $ac_status); }; }; then
26602 ac_header_compiler=yes
26603 else
26604 echo "$as_me: failed program was:" >&5
26605 sed 's/^/| /' conftest.$ac_ext >&5
26606
26607 ac_header_compiler=no
26608 fi
26609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26610 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26611 echo "${ECHO_T}$ac_header_compiler" >&6
26612
26613 # Is the header present?
26614 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26615 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26616 cat >conftest.$ac_ext <<_ACEOF
26617 /* confdefs.h. */
26618 _ACEOF
26619 cat confdefs.h >>conftest.$ac_ext
26620 cat >>conftest.$ac_ext <<_ACEOF
26621 /* end confdefs.h. */
26622 #include <tiffio.h>
26623 _ACEOF
26624 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26625 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26626 ac_status=$?
26627 grep -v '^ *+' conftest.er1 >conftest.err
26628 rm -f conftest.er1
26629 cat conftest.err >&5
26630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26631 (exit $ac_status); } >/dev/null; then
26632 if test -s conftest.err; then
26633 ac_cpp_err=$ac_cxx_preproc_warn_flag
26634 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26635 else
26636 ac_cpp_err=
26637 fi
26638 else
26639 ac_cpp_err=yes
26640 fi
26641 if test -z "$ac_cpp_err"; then
26642 ac_header_preproc=yes
26643 else
26644 echo "$as_me: failed program was:" >&5
26645 sed 's/^/| /' conftest.$ac_ext >&5
26646
26647 ac_header_preproc=no
26648 fi
26649 rm -f conftest.err conftest.$ac_ext
26650 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26651 echo "${ECHO_T}$ac_header_preproc" >&6
26652
26653 # So? What about this header?
26654 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26655 yes:no: )
26656 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26657 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26658 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26659 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26660 ac_header_preproc=yes
26661 ;;
26662 no:yes:* )
26663 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26664 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26665 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26666 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26667 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26668 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26669 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26670 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26671 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26672 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26673 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26674 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26675 (
26676 cat <<\_ASBOX
26677 ## ----------------------------------------- ##
26678 ## Report this to wx-dev@lists.wxwidgets.org ##
26679 ## ----------------------------------------- ##
26680 _ASBOX
26681 ) |
26682 sed "s/^/$as_me: WARNING: /" >&2
26683 ;;
26684 esac
26685 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26686 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26687 if test "${ac_cv_header_tiffio_h+set}" = set; then
26688 echo $ECHO_N "(cached) $ECHO_C" >&6
26689 else
26690 ac_cv_header_tiffio_h=$ac_header_preproc
26691 fi
26692 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26693 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26694
26695 fi
26696 if test $ac_cv_header_tiffio_h = yes; then
26697
26698 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26699 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26700 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26701 echo $ECHO_N "(cached) $ECHO_C" >&6
26702 else
26703 ac_check_lib_save_LIBS=$LIBS
26704 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26705 cat >conftest.$ac_ext <<_ACEOF
26706 /* confdefs.h. */
26707 _ACEOF
26708 cat confdefs.h >>conftest.$ac_ext
26709 cat >>conftest.$ac_ext <<_ACEOF
26710 /* end confdefs.h. */
26711
26712 /* Override any gcc2 internal prototype to avoid an error. */
26713 #ifdef __cplusplus
26714 extern "C"
26715 #endif
26716 /* We use char because int might match the return type of a gcc2
26717 builtin and then its argument prototype would still apply. */
26718 char TIFFError ();
26719 int
26720 main ()
26721 {
26722 TIFFError ();
26723 ;
26724 return 0;
26725 }
26726 _ACEOF
26727 rm -f conftest.$ac_objext conftest$ac_exeext
26728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26729 (eval $ac_link) 2>conftest.er1
26730 ac_status=$?
26731 grep -v '^ *+' conftest.er1 >conftest.err
26732 rm -f conftest.er1
26733 cat conftest.err >&5
26734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26735 (exit $ac_status); } &&
26736 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26738 (eval $ac_try) 2>&5
26739 ac_status=$?
26740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26741 (exit $ac_status); }; } &&
26742 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
26748 ac_cv_lib_tiff_TIFFError=yes
26749 else
26750 echo "$as_me: failed program was:" >&5
26751 sed 's/^/| /' conftest.$ac_ext >&5
26752
26753 ac_cv_lib_tiff_TIFFError=no
26754 fi
26755 rm -f conftest.err conftest.$ac_objext \
26756 conftest$ac_exeext conftest.$ac_ext
26757 LIBS=$ac_check_lib_save_LIBS
26758 fi
26759 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26760 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26761 if test $ac_cv_lib_tiff_TIFFError = yes; then
26762 TIFF_LINK=" -ltiff"
26763 fi
26764
26765
26766
26767 fi
26768
26769
26770
26771 if test "x$TIFF_LINK" = "x" ; then
26772 if test "$wxUSE_LIBTIFF" = "sys" ; then
26773 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26774 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26775 { (exit 1); exit 1; }; }
26776 else
26777 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26778 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26779 wxUSE_LIBTIFF=builtin
26780 fi
26781 else
26782 wxUSE_LIBTIFF=sys
26783 fi
26784 fi
26785 fi
26786
26787
26788 if test "$wxUSE_WCHAR_T" != "yes"; then
26789 if test "$wxUSE_EXPAT" != "no"; then
26790 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26791 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26792 wxUSE_EXPAT=no
26793 fi
26794 if test "$wxUSE_XML" != "no"; then
26795 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26796 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26797 wxUSE_XML=no
26798 fi
26799 fi
26800
26801 if test "$wxUSE_EXPAT" != "no"; then
26802 wxUSE_XML=yes
26803 cat >>confdefs.h <<\_ACEOF
26804 #define wxUSE_EXPAT 1
26805 _ACEOF
26806
26807 cat >>confdefs.h <<\_ACEOF
26808 #define wxUSE_XML 1
26809 _ACEOF
26810
26811
26812 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26813 if test "${ac_cv_header_expat_h+set}" = set; then
26814 echo "$as_me:$LINENO: checking for expat.h" >&5
26815 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26816 if test "${ac_cv_header_expat_h+set}" = set; then
26817 echo $ECHO_N "(cached) $ECHO_C" >&6
26818 fi
26819 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26820 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26821 else
26822 # Is the header compilable?
26823 echo "$as_me:$LINENO: checking expat.h usability" >&5
26824 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26825 cat >conftest.$ac_ext <<_ACEOF
26826 /* confdefs.h. */
26827 _ACEOF
26828 cat confdefs.h >>conftest.$ac_ext
26829 cat >>conftest.$ac_ext <<_ACEOF
26830 /* end confdefs.h. */
26831 $ac_includes_default
26832 #include <expat.h>
26833 _ACEOF
26834 rm -f conftest.$ac_objext
26835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26836 (eval $ac_compile) 2>conftest.er1
26837 ac_status=$?
26838 grep -v '^ *+' conftest.er1 >conftest.err
26839 rm -f conftest.er1
26840 cat conftest.err >&5
26841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26842 (exit $ac_status); } &&
26843 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26845 (eval $ac_try) 2>&5
26846 ac_status=$?
26847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26848 (exit $ac_status); }; } &&
26849 { ac_try='test -s conftest.$ac_objext'
26850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26851 (eval $ac_try) 2>&5
26852 ac_status=$?
26853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26854 (exit $ac_status); }; }; then
26855 ac_header_compiler=yes
26856 else
26857 echo "$as_me: failed program was:" >&5
26858 sed 's/^/| /' conftest.$ac_ext >&5
26859
26860 ac_header_compiler=no
26861 fi
26862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26863 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26864 echo "${ECHO_T}$ac_header_compiler" >&6
26865
26866 # Is the header present?
26867 echo "$as_me:$LINENO: checking expat.h presence" >&5
26868 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26869 cat >conftest.$ac_ext <<_ACEOF
26870 /* confdefs.h. */
26871 _ACEOF
26872 cat confdefs.h >>conftest.$ac_ext
26873 cat >>conftest.$ac_ext <<_ACEOF
26874 /* end confdefs.h. */
26875 #include <expat.h>
26876 _ACEOF
26877 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26878 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26879 ac_status=$?
26880 grep -v '^ *+' conftest.er1 >conftest.err
26881 rm -f conftest.er1
26882 cat conftest.err >&5
26883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26884 (exit $ac_status); } >/dev/null; then
26885 if test -s conftest.err; then
26886 ac_cpp_err=$ac_cxx_preproc_warn_flag
26887 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26888 else
26889 ac_cpp_err=
26890 fi
26891 else
26892 ac_cpp_err=yes
26893 fi
26894 if test -z "$ac_cpp_err"; then
26895 ac_header_preproc=yes
26896 else
26897 echo "$as_me: failed program was:" >&5
26898 sed 's/^/| /' conftest.$ac_ext >&5
26899
26900 ac_header_preproc=no
26901 fi
26902 rm -f conftest.err conftest.$ac_ext
26903 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26904 echo "${ECHO_T}$ac_header_preproc" >&6
26905
26906 # So? What about this header?
26907 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26908 yes:no: )
26909 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26910 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26911 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26912 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26913 ac_header_preproc=yes
26914 ;;
26915 no:yes:* )
26916 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26917 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26918 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26919 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26920 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26921 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26922 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26923 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26924 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26925 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26926 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26927 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26928 (
26929 cat <<\_ASBOX
26930 ## ----------------------------------------- ##
26931 ## Report this to wx-dev@lists.wxwidgets.org ##
26932 ## ----------------------------------------- ##
26933 _ASBOX
26934 ) |
26935 sed "s/^/$as_me: WARNING: /" >&2
26936 ;;
26937 esac
26938 echo "$as_me:$LINENO: checking for expat.h" >&5
26939 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26940 if test "${ac_cv_header_expat_h+set}" = set; then
26941 echo $ECHO_N "(cached) $ECHO_C" >&6
26942 else
26943 ac_cv_header_expat_h=$ac_header_preproc
26944 fi
26945 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26946 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26947
26948 fi
26949 if test $ac_cv_header_expat_h = yes; then
26950 found_expat_h=1
26951 fi
26952
26953
26954 if test "x$found_expat_h" = "x1"; then
26955 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26956 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26957 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26958 echo $ECHO_N "(cached) $ECHO_C" >&6
26959 else
26960
26961 cat >conftest.$ac_ext <<_ACEOF
26962 /* confdefs.h. */
26963 _ACEOF
26964 cat confdefs.h >>conftest.$ac_ext
26965 cat >>conftest.$ac_ext <<_ACEOF
26966 /* end confdefs.h. */
26967 #include <expat.h>
26968 int
26969 main ()
26970 {
26971
26972 ;
26973 return 0;
26974 }
26975 _ACEOF
26976 rm -f conftest.$ac_objext
26977 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26978 (eval $ac_compile) 2>conftest.er1
26979 ac_status=$?
26980 grep -v '^ *+' conftest.er1 >conftest.err
26981 rm -f conftest.er1
26982 cat conftest.err >&5
26983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26984 (exit $ac_status); } &&
26985 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26987 (eval $ac_try) 2>&5
26988 ac_status=$?
26989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26990 (exit $ac_status); }; } &&
26991 { ac_try='test -s conftest.$ac_objext'
26992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26993 (eval $ac_try) 2>&5
26994 ac_status=$?
26995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26996 (exit $ac_status); }; }; then
26997 wx_cv_expat_is_not_broken=yes
26998 else
26999 echo "$as_me: failed program was:" >&5
27000 sed 's/^/| /' conftest.$ac_ext >&5
27001
27002 wx_cv_expat_is_not_broken=no
27003
27004 fi
27005 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27006
27007
27008 fi
27009 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27010 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
27011 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27012 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27013 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
27014 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27015 echo $ECHO_N "(cached) $ECHO_C" >&6
27016 else
27017 ac_check_lib_save_LIBS=$LIBS
27018 LIBS="-lexpat $LIBS"
27019 cat >conftest.$ac_ext <<_ACEOF
27020 /* confdefs.h. */
27021 _ACEOF
27022 cat confdefs.h >>conftest.$ac_ext
27023 cat >>conftest.$ac_ext <<_ACEOF
27024 /* end confdefs.h. */
27025
27026 /* Override any gcc2 internal prototype to avoid an error. */
27027 #ifdef __cplusplus
27028 extern "C"
27029 #endif
27030 /* We use char because int might match the return type of a gcc2
27031 builtin and then its argument prototype would still apply. */
27032 char XML_ParserCreate ();
27033 int
27034 main ()
27035 {
27036 XML_ParserCreate ();
27037 ;
27038 return 0;
27039 }
27040 _ACEOF
27041 rm -f conftest.$ac_objext conftest$ac_exeext
27042 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27043 (eval $ac_link) 2>conftest.er1
27044 ac_status=$?
27045 grep -v '^ *+' conftest.er1 >conftest.err
27046 rm -f conftest.er1
27047 cat conftest.err >&5
27048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27049 (exit $ac_status); } &&
27050 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27052 (eval $ac_try) 2>&5
27053 ac_status=$?
27054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27055 (exit $ac_status); }; } &&
27056 { ac_try='test -s conftest$ac_exeext'
27057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27058 (eval $ac_try) 2>&5
27059 ac_status=$?
27060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27061 (exit $ac_status); }; }; then
27062 ac_cv_lib_expat_XML_ParserCreate=yes
27063 else
27064 echo "$as_me: failed program was:" >&5
27065 sed 's/^/| /' conftest.$ac_ext >&5
27066
27067 ac_cv_lib_expat_XML_ParserCreate=no
27068 fi
27069 rm -f conftest.err conftest.$ac_objext \
27070 conftest$ac_exeext conftest.$ac_ext
27071 LIBS=$ac_check_lib_save_LIBS
27072 fi
27073 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27074 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
27075 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27076 EXPAT_LINK=" -lexpat"
27077 fi
27078
27079 fi
27080 fi
27081 if test "x$EXPAT_LINK" = "x" ; then
27082 if test "$wxUSE_EXPAT" = "sys" ; then
27083 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27084 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27085 { (exit 1); exit 1; }; }
27086 else
27087 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27088 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27089 wxUSE_EXPAT=builtin
27090 fi
27091 else
27092 wxUSE_EXPAT=sys
27093 fi
27094 fi
27095 if test "$wxUSE_EXPAT" = "builtin" ; then
27096
27097
27098 subdirs="$subdirs src/expat"
27099
27100 fi
27101 fi
27102
27103
27104
27105 if test "$wxUSE_LIBMSPACK" != "no"; then
27106 if test "${ac_cv_header_mspack_h+set}" = set; then
27107 echo "$as_me:$LINENO: checking for mspack.h" >&5
27108 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27109 if test "${ac_cv_header_mspack_h+set}" = set; then
27110 echo $ECHO_N "(cached) $ECHO_C" >&6
27111 fi
27112 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27113 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27114 else
27115 # Is the header compilable?
27116 echo "$as_me:$LINENO: checking mspack.h usability" >&5
27117 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
27118 cat >conftest.$ac_ext <<_ACEOF
27119 /* confdefs.h. */
27120 _ACEOF
27121 cat confdefs.h >>conftest.$ac_ext
27122 cat >>conftest.$ac_ext <<_ACEOF
27123 /* end confdefs.h. */
27124 $ac_includes_default
27125 #include <mspack.h>
27126 _ACEOF
27127 rm -f conftest.$ac_objext
27128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27129 (eval $ac_compile) 2>conftest.er1
27130 ac_status=$?
27131 grep -v '^ *+' conftest.er1 >conftest.err
27132 rm -f conftest.er1
27133 cat conftest.err >&5
27134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27135 (exit $ac_status); } &&
27136 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27138 (eval $ac_try) 2>&5
27139 ac_status=$?
27140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27141 (exit $ac_status); }; } &&
27142 { ac_try='test -s conftest.$ac_objext'
27143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27144 (eval $ac_try) 2>&5
27145 ac_status=$?
27146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27147 (exit $ac_status); }; }; then
27148 ac_header_compiler=yes
27149 else
27150 echo "$as_me: failed program was:" >&5
27151 sed 's/^/| /' conftest.$ac_ext >&5
27152
27153 ac_header_compiler=no
27154 fi
27155 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27156 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27157 echo "${ECHO_T}$ac_header_compiler" >&6
27158
27159 # Is the header present?
27160 echo "$as_me:$LINENO: checking mspack.h presence" >&5
27161 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
27162 cat >conftest.$ac_ext <<_ACEOF
27163 /* confdefs.h. */
27164 _ACEOF
27165 cat confdefs.h >>conftest.$ac_ext
27166 cat >>conftest.$ac_ext <<_ACEOF
27167 /* end confdefs.h. */
27168 #include <mspack.h>
27169 _ACEOF
27170 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27171 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27172 ac_status=$?
27173 grep -v '^ *+' conftest.er1 >conftest.err
27174 rm -f conftest.er1
27175 cat conftest.err >&5
27176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27177 (exit $ac_status); } >/dev/null; then
27178 if test -s conftest.err; then
27179 ac_cpp_err=$ac_cxx_preproc_warn_flag
27180 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27181 else
27182 ac_cpp_err=
27183 fi
27184 else
27185 ac_cpp_err=yes
27186 fi
27187 if test -z "$ac_cpp_err"; then
27188 ac_header_preproc=yes
27189 else
27190 echo "$as_me: failed program was:" >&5
27191 sed 's/^/| /' conftest.$ac_ext >&5
27192
27193 ac_header_preproc=no
27194 fi
27195 rm -f conftest.err conftest.$ac_ext
27196 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27197 echo "${ECHO_T}$ac_header_preproc" >&6
27198
27199 # So? What about this header?
27200 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27201 yes:no: )
27202 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
27203 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27204 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
27205 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
27206 ac_header_preproc=yes
27207 ;;
27208 no:yes:* )
27209 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
27210 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
27211 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
27212 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
27213 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
27214 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
27215 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
27216 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
27217 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
27218 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
27219 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
27220 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
27221 (
27222 cat <<\_ASBOX
27223 ## ----------------------------------------- ##
27224 ## Report this to wx-dev@lists.wxwidgets.org ##
27225 ## ----------------------------------------- ##
27226 _ASBOX
27227 ) |
27228 sed "s/^/$as_me: WARNING: /" >&2
27229 ;;
27230 esac
27231 echo "$as_me:$LINENO: checking for mspack.h" >&5
27232 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27233 if test "${ac_cv_header_mspack_h+set}" = set; then
27234 echo $ECHO_N "(cached) $ECHO_C" >&6
27235 else
27236 ac_cv_header_mspack_h=$ac_header_preproc
27237 fi
27238 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27239 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27240
27241 fi
27242 if test $ac_cv_header_mspack_h = yes; then
27243 found_mspack_h=1
27244 fi
27245
27246
27247 if test "x$found_mspack_h" = "x1"; then
27248 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27249 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
27250 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27251 echo $ECHO_N "(cached) $ECHO_C" >&6
27252 else
27253 ac_check_lib_save_LIBS=$LIBS
27254 LIBS="-lmspack $LIBS"
27255 cat >conftest.$ac_ext <<_ACEOF
27256 /* confdefs.h. */
27257 _ACEOF
27258 cat confdefs.h >>conftest.$ac_ext
27259 cat >>conftest.$ac_ext <<_ACEOF
27260 /* end confdefs.h. */
27261
27262 /* Override any gcc2 internal prototype to avoid an error. */
27263 #ifdef __cplusplus
27264 extern "C"
27265 #endif
27266 /* We use char because int might match the return type of a gcc2
27267 builtin and then its argument prototype would still apply. */
27268 char mspack_create_chm_decompressor ();
27269 int
27270 main ()
27271 {
27272 mspack_create_chm_decompressor ();
27273 ;
27274 return 0;
27275 }
27276 _ACEOF
27277 rm -f conftest.$ac_objext conftest$ac_exeext
27278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27279 (eval $ac_link) 2>conftest.er1
27280 ac_status=$?
27281 grep -v '^ *+' conftest.er1 >conftest.err
27282 rm -f conftest.er1
27283 cat conftest.err >&5
27284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27285 (exit $ac_status); } &&
27286 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27288 (eval $ac_try) 2>&5
27289 ac_status=$?
27290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27291 (exit $ac_status); }; } &&
27292 { ac_try='test -s conftest$ac_exeext'
27293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27294 (eval $ac_try) 2>&5
27295 ac_status=$?
27296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27297 (exit $ac_status); }; }; then
27298 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27299 else
27300 echo "$as_me: failed program was:" >&5
27301 sed 's/^/| /' conftest.$ac_ext >&5
27302
27303 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27304 fi
27305 rm -f conftest.err conftest.$ac_objext \
27306 conftest$ac_exeext conftest.$ac_ext
27307 LIBS=$ac_check_lib_save_LIBS
27308 fi
27309 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27310 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
27311 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27312 MSPACK_LINK=" -lmspack"
27313 fi
27314
27315 fi
27316 if test "x$MSPACK_LINK" = "x" ; then
27317 wxUSE_LIBMSPACK=no
27318 fi
27319 fi
27320
27321 if test "$wxUSE_LIBMSPACK" != "no"; then
27322 cat >>confdefs.h <<\_ACEOF
27323 #define wxUSE_LIBMSPACK 1
27324 _ACEOF
27325
27326 fi
27327
27328
27329
27330 AFMINSTALL=
27331 WIN32INSTALL=
27332
27333 TOOLKIT=
27334 TOOLKIT_INCLUDE=
27335 WIDGET_SET=
27336
27337 if test "$USE_WIN32" = 1 ; then
27338
27339 for ac_header in w32api.h
27340 do
27341 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27342 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27343 echo "$as_me:$LINENO: checking for $ac_header" >&5
27344 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27345 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27346 echo $ECHO_N "(cached) $ECHO_C" >&6
27347 fi
27348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27349 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27350 else
27351 # Is the header compilable?
27352 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27353 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27354 cat >conftest.$ac_ext <<_ACEOF
27355 /* confdefs.h. */
27356 _ACEOF
27357 cat confdefs.h >>conftest.$ac_ext
27358 cat >>conftest.$ac_ext <<_ACEOF
27359 /* end confdefs.h. */
27360 $ac_includes_default
27361 #include <$ac_header>
27362 _ACEOF
27363 rm -f conftest.$ac_objext
27364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27365 (eval $ac_compile) 2>conftest.er1
27366 ac_status=$?
27367 grep -v '^ *+' conftest.er1 >conftest.err
27368 rm -f conftest.er1
27369 cat conftest.err >&5
27370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27371 (exit $ac_status); } &&
27372 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27374 (eval $ac_try) 2>&5
27375 ac_status=$?
27376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27377 (exit $ac_status); }; } &&
27378 { ac_try='test -s conftest.$ac_objext'
27379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27380 (eval $ac_try) 2>&5
27381 ac_status=$?
27382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27383 (exit $ac_status); }; }; then
27384 ac_header_compiler=yes
27385 else
27386 echo "$as_me: failed program was:" >&5
27387 sed 's/^/| /' conftest.$ac_ext >&5
27388
27389 ac_header_compiler=no
27390 fi
27391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27392 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27393 echo "${ECHO_T}$ac_header_compiler" >&6
27394
27395 # Is the header present?
27396 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27397 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27398 cat >conftest.$ac_ext <<_ACEOF
27399 /* confdefs.h. */
27400 _ACEOF
27401 cat confdefs.h >>conftest.$ac_ext
27402 cat >>conftest.$ac_ext <<_ACEOF
27403 /* end confdefs.h. */
27404 #include <$ac_header>
27405 _ACEOF
27406 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27407 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27408 ac_status=$?
27409 grep -v '^ *+' conftest.er1 >conftest.err
27410 rm -f conftest.er1
27411 cat conftest.err >&5
27412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27413 (exit $ac_status); } >/dev/null; then
27414 if test -s conftest.err; then
27415 ac_cpp_err=$ac_cxx_preproc_warn_flag
27416 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27417 else
27418 ac_cpp_err=
27419 fi
27420 else
27421 ac_cpp_err=yes
27422 fi
27423 if test -z "$ac_cpp_err"; then
27424 ac_header_preproc=yes
27425 else
27426 echo "$as_me: failed program was:" >&5
27427 sed 's/^/| /' conftest.$ac_ext >&5
27428
27429 ac_header_preproc=no
27430 fi
27431 rm -f conftest.err conftest.$ac_ext
27432 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27433 echo "${ECHO_T}$ac_header_preproc" >&6
27434
27435 # So? What about this header?
27436 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27437 yes:no: )
27438 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27439 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27440 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27441 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27442 ac_header_preproc=yes
27443 ;;
27444 no:yes:* )
27445 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27446 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27447 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27448 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27449 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27450 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27451 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27452 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27453 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27454 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27455 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27456 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27457 (
27458 cat <<\_ASBOX
27459 ## ----------------------------------------- ##
27460 ## Report this to wx-dev@lists.wxwidgets.org ##
27461 ## ----------------------------------------- ##
27462 _ASBOX
27463 ) |
27464 sed "s/^/$as_me: WARNING: /" >&2
27465 ;;
27466 esac
27467 echo "$as_me:$LINENO: checking for $ac_header" >&5
27468 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27469 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27470 echo $ECHO_N "(cached) $ECHO_C" >&6
27471 else
27472 eval "$as_ac_Header=\$ac_header_preproc"
27473 fi
27474 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27475 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27476
27477 fi
27478 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27479 cat >>confdefs.h <<_ACEOF
27480 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27481 _ACEOF
27482
27483 fi
27484
27485 done
27486
27487 if test "${ac_cv_header_windows_h+set}" = set; then
27488 echo "$as_me:$LINENO: checking for windows.h" >&5
27489 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27490 if test "${ac_cv_header_windows_h+set}" = set; then
27491 echo $ECHO_N "(cached) $ECHO_C" >&6
27492 fi
27493 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27494 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27495 else
27496 # Is the header compilable?
27497 echo "$as_me:$LINENO: checking windows.h usability" >&5
27498 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27499 cat >conftest.$ac_ext <<_ACEOF
27500 /* confdefs.h. */
27501 _ACEOF
27502 cat confdefs.h >>conftest.$ac_ext
27503 cat >>conftest.$ac_ext <<_ACEOF
27504 /* end confdefs.h. */
27505 $ac_includes_default
27506 #include <windows.h>
27507 _ACEOF
27508 rm -f conftest.$ac_objext
27509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27510 (eval $ac_compile) 2>conftest.er1
27511 ac_status=$?
27512 grep -v '^ *+' conftest.er1 >conftest.err
27513 rm -f conftest.er1
27514 cat conftest.err >&5
27515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27516 (exit $ac_status); } &&
27517 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27519 (eval $ac_try) 2>&5
27520 ac_status=$?
27521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27522 (exit $ac_status); }; } &&
27523 { ac_try='test -s conftest.$ac_objext'
27524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27525 (eval $ac_try) 2>&5
27526 ac_status=$?
27527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27528 (exit $ac_status); }; }; then
27529 ac_header_compiler=yes
27530 else
27531 echo "$as_me: failed program was:" >&5
27532 sed 's/^/| /' conftest.$ac_ext >&5
27533
27534 ac_header_compiler=no
27535 fi
27536 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27537 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27538 echo "${ECHO_T}$ac_header_compiler" >&6
27539
27540 # Is the header present?
27541 echo "$as_me:$LINENO: checking windows.h presence" >&5
27542 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27543 cat >conftest.$ac_ext <<_ACEOF
27544 /* confdefs.h. */
27545 _ACEOF
27546 cat confdefs.h >>conftest.$ac_ext
27547 cat >>conftest.$ac_ext <<_ACEOF
27548 /* end confdefs.h. */
27549 #include <windows.h>
27550 _ACEOF
27551 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27552 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27553 ac_status=$?
27554 grep -v '^ *+' conftest.er1 >conftest.err
27555 rm -f conftest.er1
27556 cat conftest.err >&5
27557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27558 (exit $ac_status); } >/dev/null; then
27559 if test -s conftest.err; then
27560 ac_cpp_err=$ac_cxx_preproc_warn_flag
27561 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27562 else
27563 ac_cpp_err=
27564 fi
27565 else
27566 ac_cpp_err=yes
27567 fi
27568 if test -z "$ac_cpp_err"; then
27569 ac_header_preproc=yes
27570 else
27571 echo "$as_me: failed program was:" >&5
27572 sed 's/^/| /' conftest.$ac_ext >&5
27573
27574 ac_header_preproc=no
27575 fi
27576 rm -f conftest.err conftest.$ac_ext
27577 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27578 echo "${ECHO_T}$ac_header_preproc" >&6
27579
27580 # So? What about this header?
27581 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27582 yes:no: )
27583 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27584 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27585 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27586 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27587 ac_header_preproc=yes
27588 ;;
27589 no:yes:* )
27590 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27591 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27592 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27593 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27594 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27595 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27596 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27597 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27598 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27599 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27600 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27601 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27602 (
27603 cat <<\_ASBOX
27604 ## ----------------------------------------- ##
27605 ## Report this to wx-dev@lists.wxwidgets.org ##
27606 ## ----------------------------------------- ##
27607 _ASBOX
27608 ) |
27609 sed "s/^/$as_me: WARNING: /" >&2
27610 ;;
27611 esac
27612 echo "$as_me:$LINENO: checking for windows.h" >&5
27613 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27614 if test "${ac_cv_header_windows_h+set}" = set; then
27615 echo $ECHO_N "(cached) $ECHO_C" >&6
27616 else
27617 ac_cv_header_windows_h=$ac_header_preproc
27618 fi
27619 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27620 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27621
27622 fi
27623 if test $ac_cv_header_windows_h = yes; then
27624 :
27625 else
27626
27627 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27628 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27629 { (exit 1); exit 1; }; }
27630
27631 fi
27632
27633
27634
27635 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27636
27637 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27638 LIBS="$LIBS -loleacc"
27639 fi
27640
27641 case "${host}" in
27642 *-*-cygwin* )
27643 LIBS="$LIBS -lkernel32 -luser32"
27644 esac
27645
27646 if test "$wxUSE_ODBC" = "sys" ; then
27647 wxUSE_ODBC = "yes"
27648 fi
27649 if test "$wxUSE_ODBC" = "yes" ; then
27650 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27651 cat >>confdefs.h <<\_ACEOF
27652 #define wxUSE_ODBC 1
27653 _ACEOF
27654
27655 fi
27656
27657 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27658 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27659
27660 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27661
27662 WIN32INSTALL=win32install
27663
27664 echo "$as_me:$LINENO: checking for boolean" >&5
27665 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27666 if test "${ac_cv_type_boolean+set}" = set; then
27667 echo $ECHO_N "(cached) $ECHO_C" >&6
27668 else
27669 cat >conftest.$ac_ext <<_ACEOF
27670 /* confdefs.h. */
27671 _ACEOF
27672 cat confdefs.h >>conftest.$ac_ext
27673 cat >>conftest.$ac_ext <<_ACEOF
27674 /* end confdefs.h. */
27675 #include <windows.h>
27676
27677 int
27678 main ()
27679 {
27680 if ((boolean *) 0)
27681 return 0;
27682 if (sizeof (boolean))
27683 return 0;
27684 ;
27685 return 0;
27686 }
27687 _ACEOF
27688 rm -f conftest.$ac_objext
27689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27690 (eval $ac_compile) 2>conftest.er1
27691 ac_status=$?
27692 grep -v '^ *+' conftest.er1 >conftest.err
27693 rm -f conftest.er1
27694 cat conftest.err >&5
27695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27696 (exit $ac_status); } &&
27697 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27699 (eval $ac_try) 2>&5
27700 ac_status=$?
27701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27702 (exit $ac_status); }; } &&
27703 { ac_try='test -s conftest.$ac_objext'
27704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27705 (eval $ac_try) 2>&5
27706 ac_status=$?
27707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27708 (exit $ac_status); }; }; then
27709 ac_cv_type_boolean=yes
27710 else
27711 echo "$as_me: failed program was:" >&5
27712 sed 's/^/| /' conftest.$ac_ext >&5
27713
27714 ac_cv_type_boolean=no
27715 fi
27716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27717 fi
27718 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27719 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27720 if test $ac_cv_type_boolean = yes; then
27721
27722 cat >>confdefs.h <<_ACEOF
27723 #define HAVE_BOOLEAN 1
27724 _ACEOF
27725
27726
27727 fi
27728
27729
27730
27731 for ac_header in pbt.h
27732 do
27733 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27734 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27735 echo "$as_me:$LINENO: checking for $ac_header" >&5
27736 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27737 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27738 echo $ECHO_N "(cached) $ECHO_C" >&6
27739 fi
27740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27741 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27742 else
27743 # Is the header compilable?
27744 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27745 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27746 cat >conftest.$ac_ext <<_ACEOF
27747 /* confdefs.h. */
27748 _ACEOF
27749 cat confdefs.h >>conftest.$ac_ext
27750 cat >>conftest.$ac_ext <<_ACEOF
27751 /* end confdefs.h. */
27752 $ac_includes_default
27753 #include <$ac_header>
27754 _ACEOF
27755 rm -f conftest.$ac_objext
27756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27757 (eval $ac_compile) 2>conftest.er1
27758 ac_status=$?
27759 grep -v '^ *+' conftest.er1 >conftest.err
27760 rm -f conftest.er1
27761 cat conftest.err >&5
27762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27763 (exit $ac_status); } &&
27764 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27766 (eval $ac_try) 2>&5
27767 ac_status=$?
27768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27769 (exit $ac_status); }; } &&
27770 { ac_try='test -s conftest.$ac_objext'
27771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27772 (eval $ac_try) 2>&5
27773 ac_status=$?
27774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27775 (exit $ac_status); }; }; then
27776 ac_header_compiler=yes
27777 else
27778 echo "$as_me: failed program was:" >&5
27779 sed 's/^/| /' conftest.$ac_ext >&5
27780
27781 ac_header_compiler=no
27782 fi
27783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27784 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27785 echo "${ECHO_T}$ac_header_compiler" >&6
27786
27787 # Is the header present?
27788 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27789 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27790 cat >conftest.$ac_ext <<_ACEOF
27791 /* confdefs.h. */
27792 _ACEOF
27793 cat confdefs.h >>conftest.$ac_ext
27794 cat >>conftest.$ac_ext <<_ACEOF
27795 /* end confdefs.h. */
27796 #include <$ac_header>
27797 _ACEOF
27798 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27799 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27800 ac_status=$?
27801 grep -v '^ *+' conftest.er1 >conftest.err
27802 rm -f conftest.er1
27803 cat conftest.err >&5
27804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27805 (exit $ac_status); } >/dev/null; then
27806 if test -s conftest.err; then
27807 ac_cpp_err=$ac_cxx_preproc_warn_flag
27808 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27809 else
27810 ac_cpp_err=
27811 fi
27812 else
27813 ac_cpp_err=yes
27814 fi
27815 if test -z "$ac_cpp_err"; then
27816 ac_header_preproc=yes
27817 else
27818 echo "$as_me: failed program was:" >&5
27819 sed 's/^/| /' conftest.$ac_ext >&5
27820
27821 ac_header_preproc=no
27822 fi
27823 rm -f conftest.err conftest.$ac_ext
27824 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27825 echo "${ECHO_T}$ac_header_preproc" >&6
27826
27827 # So? What about this header?
27828 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27829 yes:no: )
27830 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27831 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27832 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27833 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27834 ac_header_preproc=yes
27835 ;;
27836 no:yes:* )
27837 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27838 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27839 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27840 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27841 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27842 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27843 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27844 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27845 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27846 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27847 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27848 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27849 (
27850 cat <<\_ASBOX
27851 ## ----------------------------------------- ##
27852 ## Report this to wx-dev@lists.wxwidgets.org ##
27853 ## ----------------------------------------- ##
27854 _ASBOX
27855 ) |
27856 sed "s/^/$as_me: WARNING: /" >&2
27857 ;;
27858 esac
27859 echo "$as_me:$LINENO: checking for $ac_header" >&5
27860 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27861 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27862 echo $ECHO_N "(cached) $ECHO_C" >&6
27863 else
27864 eval "$as_ac_Header=\$ac_header_preproc"
27865 fi
27866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27867 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27868
27869 fi
27870 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27871 cat >>confdefs.h <<_ACEOF
27872 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27873 _ACEOF
27874
27875 else
27876 cat >>confdefs.h <<\_ACEOF
27877 #define NEED_PBT_H 1
27878 _ACEOF
27879
27880 fi
27881
27882 done
27883
27884 fi
27885
27886 if test "$wxUSE_GUI" = "yes"; then
27887 USE_GUI=1
27888
27889 GUI_TK_LIBRARY=
27890
27891 WXGTK12=
27892 WXGTK127=
27893 WXGTK20=
27894 WXGPE=
27895
27896 if test "$wxUSE_COCOA" = 1 ; then
27897 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27898 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27899 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27900 wxUSE_PRINTING_ARCHITECTURE=no
27901 fi
27902 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27903 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27904 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27905 wxUSE_DRAG_AND_DROP=no
27906 fi
27907 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27908 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27909 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27910 wxUSE_DRAGIMAGE=no
27911 fi
27912 fi
27913
27914 if test "$wxUSE_MSW" = 1 ; then
27915 TOOLKIT=MSW
27916 GUIDIST=MSW_DIST
27917
27918 case "${host}" in
27919 *-*-mingw32* )
27920 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27921 esac
27922 fi
27923
27924 if test "$wxUSE_GTK" = 1; then
27925 ac_ext=c
27926 ac_cpp='$CPP $CPPFLAGS'
27927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27930
27931
27932 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27933 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27934
27935 gtk_version_cached=1
27936 if test "${wx_cv_lib_gtk+set}" = set; then
27937 echo $ECHO_N "(cached) $ECHO_C" >&6
27938 else
27939
27940 gtk_version_cached=0
27941 echo "$as_me:$LINENO: result: " >&5
27942 echo "${ECHO_T}" >&6
27943
27944 GTK_MODULES=
27945 if test "$wxUSE_THREADS" = "yes"; then
27946 GTK_MODULES=gthread
27947 fi
27948
27949 wx_cv_lib_gtk=
27950 if test "x$wxGTK_VERSION" != "x1"
27951 then
27952 case "${host}" in
27953 *-*-solaris2* )
27954 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27955 enable_gtktest=no
27956 fi
27957 esac
27958
27959 # Check whether --enable-gtktest or --disable-gtktest was given.
27960 if test "${enable_gtktest+set}" = set; then
27961 enableval="$enable_gtktest"
27962
27963 else
27964 enable_gtktest=yes
27965 fi;
27966
27967 pkg_config_args=gtk+-2.0
27968 for module in . $GTK_MODULES
27969 do
27970 case "$module" in
27971 gthread)
27972 pkg_config_args="$pkg_config_args gthread-2.0"
27973 ;;
27974 esac
27975 done
27976
27977 no_gtk=""
27978
27979 # Extract the first word of "pkg-config", so it can be a program name with args.
27980 set dummy pkg-config; ac_word=$2
27981 echo "$as_me:$LINENO: checking for $ac_word" >&5
27982 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27983 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27984 echo $ECHO_N "(cached) $ECHO_C" >&6
27985 else
27986 case $PKG_CONFIG in
27987 [\\/]* | ?:[\\/]*)
27988 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27989 ;;
27990 *)
27991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27992 for as_dir in $PATH
27993 do
27994 IFS=$as_save_IFS
27995 test -z "$as_dir" && as_dir=.
27996 for ac_exec_ext in '' $ac_executable_extensions; do
27997 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27998 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27999 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28000 break 2
28001 fi
28002 done
28003 done
28004
28005 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28006 ;;
28007 esac
28008 fi
28009 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28010
28011 if test -n "$PKG_CONFIG"; then
28012 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28013 echo "${ECHO_T}$PKG_CONFIG" >&6
28014 else
28015 echo "$as_me:$LINENO: result: no" >&5
28016 echo "${ECHO_T}no" >&6
28017 fi
28018
28019
28020 if test x$PKG_CONFIG != xno ; then
28021 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28022 :
28023 else
28024 echo "*** pkg-config too old; version 0.7 or better required."
28025 no_gtk=yes
28026 PKG_CONFIG=no
28027 fi
28028 else
28029 no_gtk=yes
28030 fi
28031
28032 min_gtk_version=2.0.0
28033 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28034 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
28035
28036 if test x$PKG_CONFIG != xno ; then
28037 ## don't try to run the test against uninstalled libtool libs
28038 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28039 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28040 enable_gtktest=no
28041 fi
28042
28043 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28044 :
28045 else
28046 no_gtk=yes
28047 fi
28048 fi
28049
28050 if test x"$no_gtk" = x ; then
28051 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28052 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28053 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28054 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28055 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28056 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28057 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28058 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28059 if test "x$enable_gtktest" = "xyes" ; then
28060 ac_save_CFLAGS="$CFLAGS"
28061 ac_save_LIBS="$LIBS"
28062 CFLAGS="$CFLAGS $GTK_CFLAGS"
28063 LIBS="$GTK_LIBS $LIBS"
28064 rm -f conf.gtktest
28065 if test "$cross_compiling" = yes; then
28066 echo $ac_n "cross compiling; assumed OK... $ac_c"
28067 else
28068 cat >conftest.$ac_ext <<_ACEOF
28069 /* confdefs.h. */
28070 _ACEOF
28071 cat confdefs.h >>conftest.$ac_ext
28072 cat >>conftest.$ac_ext <<_ACEOF
28073 /* end confdefs.h. */
28074
28075 #include <gtk/gtk.h>
28076 #include <stdio.h>
28077 #include <stdlib.h>
28078
28079 int
28080 main ()
28081 {
28082 int major, minor, micro;
28083 char *tmp_version;
28084
28085 system ("touch conf.gtktest");
28086
28087 /* HP/UX 9 (%@#!) writes to sscanf strings */
28088 tmp_version = g_strdup("$min_gtk_version");
28089 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28090 printf("%s, bad version string\n", "$min_gtk_version");
28091 exit(1);
28092 }
28093
28094 if ((gtk_major_version != $gtk_config_major_version) ||
28095 (gtk_minor_version != $gtk_config_minor_version) ||
28096 (gtk_micro_version != $gtk_config_micro_version))
28097 {
28098 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28099 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28100 gtk_major_version, gtk_minor_version, gtk_micro_version);
28101 printf ("*** was found! If pkg-config was correct, then it is best\n");
28102 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28103 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28104 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28105 printf("*** required on your system.\n");
28106 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28107 printf("*** to point to the correct configuration files\n");
28108 }
28109 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28110 (gtk_minor_version != GTK_MINOR_VERSION) ||
28111 (gtk_micro_version != GTK_MICRO_VERSION))
28112 {
28113 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28114 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28115 printf("*** library (version %d.%d.%d)\n",
28116 gtk_major_version, gtk_minor_version, gtk_micro_version);
28117 }
28118 else
28119 {
28120 if ((gtk_major_version > major) ||
28121 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28122 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28123 {
28124 return 0;
28125 }
28126 else
28127 {
28128 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28129 gtk_major_version, gtk_minor_version, gtk_micro_version);
28130 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28131 major, minor, micro);
28132 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28133 printf("***\n");
28134 printf("*** If you have already installed a sufficiently new version, this error\n");
28135 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28136 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28137 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28138 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28139 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28140 printf("*** so that the correct libraries are found at run-time))\n");
28141 }
28142 }
28143 return 1;
28144 }
28145
28146 _ACEOF
28147 rm -f conftest$ac_exeext
28148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28149 (eval $ac_link) 2>&5
28150 ac_status=$?
28151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28152 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28154 (eval $ac_try) 2>&5
28155 ac_status=$?
28156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28157 (exit $ac_status); }; }; then
28158 :
28159 else
28160 echo "$as_me: program exited with status $ac_status" >&5
28161 echo "$as_me: failed program was:" >&5
28162 sed 's/^/| /' conftest.$ac_ext >&5
28163
28164 ( exit $ac_status )
28165 no_gtk=yes
28166 fi
28167 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28168 fi
28169 CFLAGS="$ac_save_CFLAGS"
28170 LIBS="$ac_save_LIBS"
28171 fi
28172 fi
28173 if test "x$no_gtk" = x ; then
28174 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28175 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
28176 wx_cv_lib_gtk=2.0
28177 else
28178 echo "$as_me:$LINENO: result: no" >&5
28179 echo "${ECHO_T}no" >&6
28180 if test "$PKG_CONFIG" = "no" ; then
28181 echo "*** A new enough version of pkg-config was not found."
28182 echo "*** See http://pkgconfig.sourceforge.net"
28183 else
28184 if test -f conf.gtktest ; then
28185 :
28186 else
28187 echo "*** Could not run GTK+ test program, checking why..."
28188 ac_save_CFLAGS="$CFLAGS"
28189 ac_save_LIBS="$LIBS"
28190 CFLAGS="$CFLAGS $GTK_CFLAGS"
28191 LIBS="$LIBS $GTK_LIBS"
28192 cat >conftest.$ac_ext <<_ACEOF
28193 /* confdefs.h. */
28194 _ACEOF
28195 cat confdefs.h >>conftest.$ac_ext
28196 cat >>conftest.$ac_ext <<_ACEOF
28197 /* end confdefs.h. */
28198
28199 #include <gtk/gtk.h>
28200 #include <stdio.h>
28201
28202 int
28203 main ()
28204 {
28205 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28206 ;
28207 return 0;
28208 }
28209 _ACEOF
28210 rm -f conftest.$ac_objext conftest$ac_exeext
28211 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28212 (eval $ac_link) 2>conftest.er1
28213 ac_status=$?
28214 grep -v '^ *+' conftest.er1 >conftest.err
28215 rm -f conftest.er1
28216 cat conftest.err >&5
28217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28218 (exit $ac_status); } &&
28219 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28221 (eval $ac_try) 2>&5
28222 ac_status=$?
28223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28224 (exit $ac_status); }; } &&
28225 { ac_try='test -s conftest$ac_exeext'
28226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28227 (eval $ac_try) 2>&5
28228 ac_status=$?
28229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28230 (exit $ac_status); }; }; then
28231 echo "*** The test program compiled, but did not run. This usually means"
28232 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28233 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28234 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28235 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28236 echo "*** is required on your system"
28237 echo "***"
28238 echo "*** If you have an old version installed, it is best to remove it, although"
28239 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28240 else
28241 echo "$as_me: failed program was:" >&5
28242 sed 's/^/| /' conftest.$ac_ext >&5
28243
28244 echo "*** The test program failed to compile or link. See the file config.log for the"
28245 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28246 fi
28247 rm -f conftest.err conftest.$ac_objext \
28248 conftest$ac_exeext conftest.$ac_ext
28249 CFLAGS="$ac_save_CFLAGS"
28250 LIBS="$ac_save_LIBS"
28251 fi
28252 fi
28253 GTK_CFLAGS=""
28254 GTK_LIBS=""
28255 :
28256 fi
28257
28258
28259 rm -f conf.gtktest
28260
28261
28262 case "${host}" in
28263 *-*-solaris2* )
28264 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28265 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
28266 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
28267 fi
28268 if test "$wxUSE_SHARED" != "yes"; then
28269 GTK_LIBS="$GTK_LIBS -lX11"
28270 fi
28271 esac
28272 fi
28273
28274 if test -z "$wx_cv_lib_gtk"; then
28275 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28276
28277 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28278 if test "${with_gtk_prefix+set}" = set; then
28279 withval="$with_gtk_prefix"
28280 gtk_config_prefix="$withval"
28281 else
28282 gtk_config_prefix=""
28283 fi;
28284
28285 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28286 if test "${with_gtk_exec_prefix+set}" = set; then
28287 withval="$with_gtk_exec_prefix"
28288 gtk_config_exec_prefix="$withval"
28289 else
28290 gtk_config_exec_prefix=""
28291 fi;
28292 # Check whether --enable-gtktest or --disable-gtktest was given.
28293 if test "${enable_gtktest+set}" = set; then
28294 enableval="$enable_gtktest"
28295
28296 else
28297 enable_gtktest=yes
28298 fi;
28299
28300 for module in . $GTK_MODULES
28301 do
28302 case "$module" in
28303 gthread)
28304 gtk_config_args="$gtk_config_args gthread"
28305 ;;
28306 esac
28307 done
28308
28309 if test x$gtk_config_exec_prefix != x ; then
28310 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28311 if test x${GTK_CONFIG+set} != xset ; then
28312 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28313 fi
28314 fi
28315 if test x$gtk_config_prefix != x ; then
28316 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28317 if test x${GTK_CONFIG+set} != xset ; then
28318 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28319 fi
28320 fi
28321
28322 # Extract the first word of "gtk-config", so it can be a program name with args.
28323 set dummy gtk-config; ac_word=$2
28324 echo "$as_me:$LINENO: checking for $ac_word" >&5
28325 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28326 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28327 echo $ECHO_N "(cached) $ECHO_C" >&6
28328 else
28329 case $GTK_CONFIG in
28330 [\\/]* | ?:[\\/]*)
28331 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28332 ;;
28333 *)
28334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28335 for as_dir in $PATH
28336 do
28337 IFS=$as_save_IFS
28338 test -z "$as_dir" && as_dir=.
28339 for ac_exec_ext in '' $ac_executable_extensions; do
28340 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28341 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28343 break 2
28344 fi
28345 done
28346 done
28347
28348 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28349 ;;
28350 esac
28351 fi
28352 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28353
28354 if test -n "$GTK_CONFIG"; then
28355 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28356 echo "${ECHO_T}$GTK_CONFIG" >&6
28357 else
28358 echo "$as_me:$LINENO: result: no" >&5
28359 echo "${ECHO_T}no" >&6
28360 fi
28361
28362 min_gtk_version=1.2.7
28363 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28364 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28365 no_gtk=""
28366 if test "$GTK_CONFIG" = "no" ; then
28367 no_gtk=yes
28368 else
28369 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28370 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28371 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28372 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28373 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28374 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28375 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28376 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28377 if test "x$enable_gtktest" = "xyes" ; then
28378 ac_save_CFLAGS="$CFLAGS"
28379 ac_save_LIBS="$LIBS"
28380 CFLAGS="$CFLAGS $GTK_CFLAGS"
28381 LIBS="$GTK_LIBS $LIBS"
28382 rm -f conf.gtktest
28383 if test "$cross_compiling" = yes; then
28384 echo $ac_n "cross compiling; assumed OK... $ac_c"
28385 else
28386 cat >conftest.$ac_ext <<_ACEOF
28387 /* confdefs.h. */
28388 _ACEOF
28389 cat confdefs.h >>conftest.$ac_ext
28390 cat >>conftest.$ac_ext <<_ACEOF
28391 /* end confdefs.h. */
28392
28393 #include <gtk/gtk.h>
28394 #include <stdio.h>
28395 #include <stdlib.h>
28396
28397 int
28398 main ()
28399 {
28400 int major, minor, micro;
28401 char *tmp_version;
28402
28403 system ("touch conf.gtktest");
28404
28405 /* HP/UX 9 (%@#!) writes to sscanf strings */
28406 tmp_version = g_strdup("$min_gtk_version");
28407 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28408 printf("%s, bad version string\n", "$min_gtk_version");
28409 exit(1);
28410 }
28411
28412 if ((gtk_major_version != $gtk_config_major_version) ||
28413 (gtk_minor_version != $gtk_config_minor_version) ||
28414 (gtk_micro_version != $gtk_config_micro_version))
28415 {
28416 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28417 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28418 gtk_major_version, gtk_minor_version, gtk_micro_version);
28419 printf ("*** was found! If gtk-config was correct, then it is best\n");
28420 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28421 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28422 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28423 printf("*** required on your system.\n");
28424 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28425 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28426 printf("*** before re-running configure\n");
28427 }
28428 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28429 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28430 (gtk_minor_version != GTK_MINOR_VERSION) ||
28431 (gtk_micro_version != GTK_MICRO_VERSION))
28432 {
28433 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28434 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28435 printf("*** library (version %d.%d.%d)\n",
28436 gtk_major_version, gtk_minor_version, gtk_micro_version);
28437 }
28438 #endif /* defined (GTK_MAJOR_VERSION) ... */
28439 else
28440 {
28441 if ((gtk_major_version > major) ||
28442 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28443 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28444 {
28445 return 0;
28446 }
28447 else
28448 {
28449 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28450 gtk_major_version, gtk_minor_version, gtk_micro_version);
28451 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28452 major, minor, micro);
28453 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28454 printf("***\n");
28455 printf("*** If you have already installed a sufficiently new version, this error\n");
28456 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28457 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28458 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28459 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28460 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28461 printf("*** so that the correct libraries are found at run-time))\n");
28462 }
28463 }
28464 return 1;
28465 }
28466
28467 _ACEOF
28468 rm -f conftest$ac_exeext
28469 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28470 (eval $ac_link) 2>&5
28471 ac_status=$?
28472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28473 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28475 (eval $ac_try) 2>&5
28476 ac_status=$?
28477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28478 (exit $ac_status); }; }; then
28479 :
28480 else
28481 echo "$as_me: program exited with status $ac_status" >&5
28482 echo "$as_me: failed program was:" >&5
28483 sed 's/^/| /' conftest.$ac_ext >&5
28484
28485 ( exit $ac_status )
28486 no_gtk=yes
28487 fi
28488 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28489 fi
28490 CFLAGS="$ac_save_CFLAGS"
28491 LIBS="$ac_save_LIBS"
28492 fi
28493 fi
28494 if test "x$no_gtk" = x ; then
28495 echo "$as_me:$LINENO: result: yes" >&5
28496 echo "${ECHO_T}yes" >&6
28497 wx_cv_lib_gtk=1.2.7
28498 else
28499 echo "$as_me:$LINENO: result: no" >&5
28500 echo "${ECHO_T}no" >&6
28501 if test "$GTK_CONFIG" = "no" ; then
28502 echo "*** The gtk-config script installed by GTK could not be found"
28503 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28504 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28505 echo "*** full path to gtk-config."
28506 else
28507 if test -f conf.gtktest ; then
28508 :
28509 else
28510 echo "*** Could not run GTK test program, checking why..."
28511 CFLAGS="$CFLAGS $GTK_CFLAGS"
28512 LIBS="$LIBS $GTK_LIBS"
28513 cat >conftest.$ac_ext <<_ACEOF
28514 /* confdefs.h. */
28515 _ACEOF
28516 cat confdefs.h >>conftest.$ac_ext
28517 cat >>conftest.$ac_ext <<_ACEOF
28518 /* end confdefs.h. */
28519
28520 #include <gtk/gtk.h>
28521 #include <stdio.h>
28522
28523 int
28524 main ()
28525 {
28526 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28527 ;
28528 return 0;
28529 }
28530 _ACEOF
28531 rm -f conftest.$ac_objext conftest$ac_exeext
28532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28533 (eval $ac_link) 2>conftest.er1
28534 ac_status=$?
28535 grep -v '^ *+' conftest.er1 >conftest.err
28536 rm -f conftest.er1
28537 cat conftest.err >&5
28538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28539 (exit $ac_status); } &&
28540 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28542 (eval $ac_try) 2>&5
28543 ac_status=$?
28544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28545 (exit $ac_status); }; } &&
28546 { ac_try='test -s conftest$ac_exeext'
28547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28548 (eval $ac_try) 2>&5
28549 ac_status=$?
28550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28551 (exit $ac_status); }; }; then
28552 echo "*** The test program compiled, but did not run. This usually means"
28553 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28554 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28555 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28556 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28557 echo "*** is required on your system"
28558 echo "***"
28559 echo "*** If you have an old version installed, it is best to remove it, although"
28560 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28561 echo "***"
28562 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28563 echo "*** came with the system with the command"
28564 echo "***"
28565 echo "*** rpm --erase --nodeps gtk gtk-devel"
28566 else
28567 echo "$as_me: failed program was:" >&5
28568 sed 's/^/| /' conftest.$ac_ext >&5
28569
28570 echo "*** The test program failed to compile or link. See the file config.log for the"
28571 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28572 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28573 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28574 fi
28575 rm -f conftest.err conftest.$ac_objext \
28576 conftest$ac_exeext conftest.$ac_ext
28577 CFLAGS="$ac_save_CFLAGS"
28578 LIBS="$ac_save_LIBS"
28579 fi
28580 fi
28581 GTK_CFLAGS=""
28582 GTK_LIBS=""
28583 :
28584 fi
28585
28586
28587 rm -f conf.gtktest
28588
28589
28590 if test -z "$wx_cv_lib_gtk"; then
28591
28592 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28593 if test "${with_gtk_prefix+set}" = set; then
28594 withval="$with_gtk_prefix"
28595 gtk_config_prefix="$withval"
28596 else
28597 gtk_config_prefix=""
28598 fi;
28599
28600 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28601 if test "${with_gtk_exec_prefix+set}" = set; then
28602 withval="$with_gtk_exec_prefix"
28603 gtk_config_exec_prefix="$withval"
28604 else
28605 gtk_config_exec_prefix=""
28606 fi;
28607 # Check whether --enable-gtktest or --disable-gtktest was given.
28608 if test "${enable_gtktest+set}" = set; then
28609 enableval="$enable_gtktest"
28610
28611 else
28612 enable_gtktest=yes
28613 fi;
28614
28615 for module in . $GTK_MODULES
28616 do
28617 case "$module" in
28618 gthread)
28619 gtk_config_args="$gtk_config_args gthread"
28620 ;;
28621 esac
28622 done
28623
28624 if test x$gtk_config_exec_prefix != x ; then
28625 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28626 if test x${GTK_CONFIG+set} != xset ; then
28627 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28628 fi
28629 fi
28630 if test x$gtk_config_prefix != x ; then
28631 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28632 if test x${GTK_CONFIG+set} != xset ; then
28633 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28634 fi
28635 fi
28636
28637 # Extract the first word of "gtk-config", so it can be a program name with args.
28638 set dummy gtk-config; ac_word=$2
28639 echo "$as_me:$LINENO: checking for $ac_word" >&5
28640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28641 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28642 echo $ECHO_N "(cached) $ECHO_C" >&6
28643 else
28644 case $GTK_CONFIG in
28645 [\\/]* | ?:[\\/]*)
28646 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28647 ;;
28648 *)
28649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28650 for as_dir in $PATH
28651 do
28652 IFS=$as_save_IFS
28653 test -z "$as_dir" && as_dir=.
28654 for ac_exec_ext in '' $ac_executable_extensions; do
28655 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28656 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28657 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28658 break 2
28659 fi
28660 done
28661 done
28662
28663 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28664 ;;
28665 esac
28666 fi
28667 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28668
28669 if test -n "$GTK_CONFIG"; then
28670 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28671 echo "${ECHO_T}$GTK_CONFIG" >&6
28672 else
28673 echo "$as_me:$LINENO: result: no" >&5
28674 echo "${ECHO_T}no" >&6
28675 fi
28676
28677 min_gtk_version=1.2.3
28678 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28679 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28680 no_gtk=""
28681 if test "$GTK_CONFIG" = "no" ; then
28682 no_gtk=yes
28683 else
28684 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28685 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28686 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28687 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28688 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28689 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28690 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28691 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28692 if test "x$enable_gtktest" = "xyes" ; then
28693 ac_save_CFLAGS="$CFLAGS"
28694 ac_save_LIBS="$LIBS"
28695 CFLAGS="$CFLAGS $GTK_CFLAGS"
28696 LIBS="$GTK_LIBS $LIBS"
28697 rm -f conf.gtktest
28698 if test "$cross_compiling" = yes; then
28699 echo $ac_n "cross compiling; assumed OK... $ac_c"
28700 else
28701 cat >conftest.$ac_ext <<_ACEOF
28702 /* confdefs.h. */
28703 _ACEOF
28704 cat confdefs.h >>conftest.$ac_ext
28705 cat >>conftest.$ac_ext <<_ACEOF
28706 /* end confdefs.h. */
28707
28708 #include <gtk/gtk.h>
28709 #include <stdio.h>
28710 #include <stdlib.h>
28711
28712 int
28713 main ()
28714 {
28715 int major, minor, micro;
28716 char *tmp_version;
28717
28718 system ("touch conf.gtktest");
28719
28720 /* HP/UX 9 (%@#!) writes to sscanf strings */
28721 tmp_version = g_strdup("$min_gtk_version");
28722 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28723 printf("%s, bad version string\n", "$min_gtk_version");
28724 exit(1);
28725 }
28726
28727 if ((gtk_major_version != $gtk_config_major_version) ||
28728 (gtk_minor_version != $gtk_config_minor_version) ||
28729 (gtk_micro_version != $gtk_config_micro_version))
28730 {
28731 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28732 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28733 gtk_major_version, gtk_minor_version, gtk_micro_version);
28734 printf ("*** was found! If gtk-config was correct, then it is best\n");
28735 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28736 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28737 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28738 printf("*** required on your system.\n");
28739 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28740 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28741 printf("*** before re-running configure\n");
28742 }
28743 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28744 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28745 (gtk_minor_version != GTK_MINOR_VERSION) ||
28746 (gtk_micro_version != GTK_MICRO_VERSION))
28747 {
28748 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28749 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28750 printf("*** library (version %d.%d.%d)\n",
28751 gtk_major_version, gtk_minor_version, gtk_micro_version);
28752 }
28753 #endif /* defined (GTK_MAJOR_VERSION) ... */
28754 else
28755 {
28756 if ((gtk_major_version > major) ||
28757 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28758 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28759 {
28760 return 0;
28761 }
28762 else
28763 {
28764 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28765 gtk_major_version, gtk_minor_version, gtk_micro_version);
28766 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28767 major, minor, micro);
28768 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28769 printf("***\n");
28770 printf("*** If you have already installed a sufficiently new version, this error\n");
28771 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28772 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28773 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28774 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28775 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28776 printf("*** so that the correct libraries are found at run-time))\n");
28777 }
28778 }
28779 return 1;
28780 }
28781
28782 _ACEOF
28783 rm -f conftest$ac_exeext
28784 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28785 (eval $ac_link) 2>&5
28786 ac_status=$?
28787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28788 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28790 (eval $ac_try) 2>&5
28791 ac_status=$?
28792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28793 (exit $ac_status); }; }; then
28794 :
28795 else
28796 echo "$as_me: program exited with status $ac_status" >&5
28797 echo "$as_me: failed program was:" >&5
28798 sed 's/^/| /' conftest.$ac_ext >&5
28799
28800 ( exit $ac_status )
28801 no_gtk=yes
28802 fi
28803 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28804 fi
28805 CFLAGS="$ac_save_CFLAGS"
28806 LIBS="$ac_save_LIBS"
28807 fi
28808 fi
28809 if test "x$no_gtk" = x ; then
28810 echo "$as_me:$LINENO: result: yes" >&5
28811 echo "${ECHO_T}yes" >&6
28812 wx_cv_lib_gtk=1.2.3
28813 else
28814 echo "$as_me:$LINENO: result: no" >&5
28815 echo "${ECHO_T}no" >&6
28816 if test "$GTK_CONFIG" = "no" ; then
28817 echo "*** The gtk-config script installed by GTK could not be found"
28818 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28819 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28820 echo "*** full path to gtk-config."
28821 else
28822 if test -f conf.gtktest ; then
28823 :
28824 else
28825 echo "*** Could not run GTK test program, checking why..."
28826 CFLAGS="$CFLAGS $GTK_CFLAGS"
28827 LIBS="$LIBS $GTK_LIBS"
28828 cat >conftest.$ac_ext <<_ACEOF
28829 /* confdefs.h. */
28830 _ACEOF
28831 cat confdefs.h >>conftest.$ac_ext
28832 cat >>conftest.$ac_ext <<_ACEOF
28833 /* end confdefs.h. */
28834
28835 #include <gtk/gtk.h>
28836 #include <stdio.h>
28837
28838 int
28839 main ()
28840 {
28841 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28842 ;
28843 return 0;
28844 }
28845 _ACEOF
28846 rm -f conftest.$ac_objext conftest$ac_exeext
28847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28848 (eval $ac_link) 2>conftest.er1
28849 ac_status=$?
28850 grep -v '^ *+' conftest.er1 >conftest.err
28851 rm -f conftest.er1
28852 cat conftest.err >&5
28853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28854 (exit $ac_status); } &&
28855 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28857 (eval $ac_try) 2>&5
28858 ac_status=$?
28859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28860 (exit $ac_status); }; } &&
28861 { ac_try='test -s conftest$ac_exeext'
28862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28863 (eval $ac_try) 2>&5
28864 ac_status=$?
28865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28866 (exit $ac_status); }; }; then
28867 echo "*** The test program compiled, but did not run. This usually means"
28868 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28869 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28870 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28871 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28872 echo "*** is required on your system"
28873 echo "***"
28874 echo "*** If you have an old version installed, it is best to remove it, although"
28875 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28876 echo "***"
28877 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28878 echo "*** came with the system with the command"
28879 echo "***"
28880 echo "*** rpm --erase --nodeps gtk gtk-devel"
28881 else
28882 echo "$as_me: failed program was:" >&5
28883 sed 's/^/| /' conftest.$ac_ext >&5
28884
28885 echo "*** The test program failed to compile or link. See the file config.log for the"
28886 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28887 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28888 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28889 fi
28890 rm -f conftest.err conftest.$ac_objext \
28891 conftest$ac_exeext conftest.$ac_ext
28892 CFLAGS="$ac_save_CFLAGS"
28893 LIBS="$ac_save_LIBS"
28894 fi
28895 fi
28896 GTK_CFLAGS=""
28897 GTK_LIBS=""
28898 :
28899 fi
28900
28901
28902 rm -f conf.gtktest
28903
28904 fi
28905 fi
28906 fi
28907
28908 if test -z "$wx_cv_lib_gtk"; then
28909 wx_cv_lib_gtk=none
28910 else
28911 wx_cv_cflags_gtk=$GTK_CFLAGS
28912 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28913 fi
28914
28915
28916 fi
28917
28918
28919 if test "$gtk_version_cached" = 1; then
28920 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28921 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28922 fi
28923
28924 case "$wx_cv_lib_gtk" in
28925 2.0) WXGTK20=1
28926 TOOLKIT_VERSION=2
28927 ;;
28928 1.2.7) WXGTK127=1
28929 WXGTK12=1
28930 ;;
28931 1.2.3) WXGTK12=1
28932 ;;
28933 *) { { echo "$as_me:$LINENO: error:
28934 The development files for GTK+ were not found. For GTK+ 2, please
28935 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28936 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28937 and that the version is 1.2.3 or above. Also check that the
28938 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28939 --libs' are in the LD_LIBRARY_PATH or equivalent.
28940 " >&5
28941 echo "$as_me: error:
28942 The development files for GTK+ were not found. For GTK+ 2, please
28943 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28944 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28945 and that the version is 1.2.3 or above. Also check that the
28946 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28947 --libs' are in the LD_LIBRARY_PATH or equivalent.
28948 " >&2;}
28949 { (exit 1); exit 1; }; }
28950 ;;
28951 esac
28952
28953 if test "$WXGTK20" = 1; then
28954 save_CFLAGS="$CFLAGS"
28955 save_LIBS="$LIBS"
28956 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28957 LIBS="$LIBS $wx_cv_libs_gtk"
28958
28959 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28960 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
28961 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28962 echo $ECHO_N "(cached) $ECHO_C" >&6
28963 else
28964 cat >conftest.$ac_ext <<_ACEOF
28965 /* confdefs.h. */
28966 _ACEOF
28967 cat confdefs.h >>conftest.$ac_ext
28968 cat >>conftest.$ac_ext <<_ACEOF
28969 /* end confdefs.h. */
28970 #include <gtk/gtk.h>
28971
28972 int
28973 main ()
28974 {
28975 #ifndef gtk_icon_size_lookup
28976 char *p = (char *) gtk_icon_size_lookup;
28977 #endif
28978
28979 ;
28980 return 0;
28981 }
28982 _ACEOF
28983 rm -f conftest.$ac_objext
28984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28985 (eval $ac_compile) 2>conftest.er1
28986 ac_status=$?
28987 grep -v '^ *+' conftest.er1 >conftest.err
28988 rm -f conftest.er1
28989 cat conftest.err >&5
28990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28991 (exit $ac_status); } &&
28992 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28994 (eval $ac_try) 2>&5
28995 ac_status=$?
28996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28997 (exit $ac_status); }; } &&
28998 { ac_try='test -s conftest.$ac_objext'
28999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29000 (eval $ac_try) 2>&5
29001 ac_status=$?
29002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29003 (exit $ac_status); }; }; then
29004 ac_cv_have_decl_gtk_icon_size_lookup=yes
29005 else
29006 echo "$as_me: failed program was:" >&5
29007 sed 's/^/| /' conftest.$ac_ext >&5
29008
29009 ac_cv_have_decl_gtk_icon_size_lookup=no
29010 fi
29011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29012 fi
29013 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
29014 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
29015 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
29016
29017 cat >>confdefs.h <<_ACEOF
29018 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
29019 _ACEOF
29020
29021
29022 else
29023 cat >>confdefs.h <<_ACEOF
29024 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
29025 _ACEOF
29026
29027 cat >>confdefs.h <<\_ACEOF
29028 #define NEED_GTK_ICON_SIZE_LOOKUP 1
29029 _ACEOF
29030
29031 fi
29032
29033
29034
29035 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29036 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
29037 cat >conftest.$ac_ext <<_ACEOF
29038 /* confdefs.h. */
29039 _ACEOF
29040 cat confdefs.h >>conftest.$ac_ext
29041 cat >>conftest.$ac_ext <<_ACEOF
29042 /* end confdefs.h. */
29043
29044 #include <gtk/gtk.h>
29045
29046 int
29047 main ()
29048 {
29049
29050 #if !GTK_CHECK_VERSION(2,6,0)
29051 Not GTK+ 2.6
29052 #endif
29053
29054 ;
29055 return 0;
29056 }
29057 _ACEOF
29058 rm -f conftest.$ac_objext
29059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29060 (eval $ac_compile) 2>conftest.er1
29061 ac_status=$?
29062 grep -v '^ *+' conftest.er1 >conftest.err
29063 rm -f conftest.er1
29064 cat conftest.err >&5
29065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29066 (exit $ac_status); } &&
29067 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29069 (eval $ac_try) 2>&5
29070 ac_status=$?
29071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29072 (exit $ac_status); }; } &&
29073 { ac_try='test -s conftest.$ac_objext'
29074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29075 (eval $ac_try) 2>&5
29076 ac_status=$?
29077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29078 (exit $ac_status); }; }; then
29079
29080 cat >>confdefs.h <<\_ACEOF
29081 #define __WXGTK26__ 1
29082 _ACEOF
29083
29084 cat >>confdefs.h <<\_ACEOF
29085 #define __WXGTK24__ 1
29086 _ACEOF
29087
29088 echo "$as_me:$LINENO: result: yes" >&5
29089 echo "${ECHO_T}yes" >&6
29090 ac_wxgtk26=1
29091
29092 else
29093 echo "$as_me: failed program was:" >&5
29094 sed 's/^/| /' conftest.$ac_ext >&5
29095
29096
29097 echo "$as_me:$LINENO: result: no" >&5
29098 echo "${ECHO_T}no" >&6
29099 ac_wxgtk26=0
29100
29101 fi
29102 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29103
29104 if test "$ac_wxgtk26" = 0; then
29105 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
29106 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
29107 cat >conftest.$ac_ext <<_ACEOF
29108 /* confdefs.h. */
29109 _ACEOF
29110 cat confdefs.h >>conftest.$ac_ext
29111 cat >>conftest.$ac_ext <<_ACEOF
29112 /* end confdefs.h. */
29113
29114 #include <gtk/gtk.h>
29115
29116 int
29117 main ()
29118 {
29119
29120 #if !GTK_CHECK_VERSION(2,4,0)
29121 Not GTK+ 2.4
29122 #endif
29123
29124 ;
29125 return 0;
29126 }
29127 _ACEOF
29128 rm -f conftest.$ac_objext
29129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29130 (eval $ac_compile) 2>conftest.er1
29131 ac_status=$?
29132 grep -v '^ *+' conftest.er1 >conftest.err
29133 rm -f conftest.er1
29134 cat conftest.err >&5
29135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29136 (exit $ac_status); } &&
29137 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29139 (eval $ac_try) 2>&5
29140 ac_status=$?
29141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29142 (exit $ac_status); }; } &&
29143 { ac_try='test -s conftest.$ac_objext'
29144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29145 (eval $ac_try) 2>&5
29146 ac_status=$?
29147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29148 (exit $ac_status); }; }; then
29149
29150 cat >>confdefs.h <<\_ACEOF
29151 #define __WXGTK24__ 1
29152 _ACEOF
29153
29154 echo "$as_me:$LINENO: result: yes" >&5
29155 echo "${ECHO_T}yes" >&6
29156
29157 else
29158 echo "$as_me: failed program was:" >&5
29159 sed 's/^/| /' conftest.$ac_ext >&5
29160
29161
29162 echo "$as_me:$LINENO: result: no" >&5
29163 echo "${ECHO_T}no" >&6
29164
29165 fi
29166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29167 fi
29168
29169 CFLAGS="$save_CFLAGS"
29170 LIBS="$save_LIBS"
29171 else
29172 if test "$wxUSE_UNICODE" = "yes"; then
29173 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29174 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29175 wxUSE_UNICODE=no
29176 fi
29177
29178 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29179 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
29180 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29181 echo $ECHO_N "(cached) $ECHO_C" >&6
29182 else
29183 ac_check_lib_save_LIBS=$LIBS
29184 LIBS="-lgdk $LIBS"
29185 cat >conftest.$ac_ext <<_ACEOF
29186 /* confdefs.h. */
29187 _ACEOF
29188 cat confdefs.h >>conftest.$ac_ext
29189 cat >>conftest.$ac_ext <<_ACEOF
29190 /* end confdefs.h. */
29191
29192 /* Override any gcc2 internal prototype to avoid an error. */
29193 #ifdef __cplusplus
29194 extern "C"
29195 #endif
29196 /* We use char because int might match the return type of a gcc2
29197 builtin and then its argument prototype would still apply. */
29198 char gdk_im_open ();
29199 int
29200 main ()
29201 {
29202 gdk_im_open ();
29203 ;
29204 return 0;
29205 }
29206 _ACEOF
29207 rm -f conftest.$ac_objext conftest$ac_exeext
29208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29209 (eval $ac_link) 2>conftest.er1
29210 ac_status=$?
29211 grep -v '^ *+' conftest.er1 >conftest.err
29212 rm -f conftest.er1
29213 cat conftest.err >&5
29214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29215 (exit $ac_status); } &&
29216 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29218 (eval $ac_try) 2>&5
29219 ac_status=$?
29220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29221 (exit $ac_status); }; } &&
29222 { ac_try='test -s conftest$ac_exeext'
29223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29224 (eval $ac_try) 2>&5
29225 ac_status=$?
29226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29227 (exit $ac_status); }; }; then
29228 ac_cv_lib_gdk_gdk_im_open=yes
29229 else
29230 echo "$as_me: failed program was:" >&5
29231 sed 's/^/| /' conftest.$ac_ext >&5
29232
29233 ac_cv_lib_gdk_gdk_im_open=no
29234 fi
29235 rm -f conftest.err conftest.$ac_objext \
29236 conftest$ac_exeext conftest.$ac_ext
29237 LIBS=$ac_check_lib_save_LIBS
29238 fi
29239 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29240 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
29241 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29242 cat >>confdefs.h <<\_ACEOF
29243 #define HAVE_XIM 1
29244 _ACEOF
29245
29246 fi
29247
29248 fi
29249
29250 ac_ext=cc
29251 ac_cpp='$CXXCPP $CPPFLAGS'
29252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29255
29256
29257 if test "$USE_DARWIN" != 1; then
29258
29259 for ac_func in poll
29260 do
29261 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29262 echo "$as_me:$LINENO: checking for $ac_func" >&5
29263 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29264 if eval "test \"\${$as_ac_var+set}\" = set"; then
29265 echo $ECHO_N "(cached) $ECHO_C" >&6
29266 else
29267 cat >conftest.$ac_ext <<_ACEOF
29268 /* confdefs.h. */
29269 _ACEOF
29270 cat confdefs.h >>conftest.$ac_ext
29271 cat >>conftest.$ac_ext <<_ACEOF
29272 /* end confdefs.h. */
29273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29275 #define $ac_func innocuous_$ac_func
29276
29277 /* System header to define __stub macros and hopefully few prototypes,
29278 which can conflict with char $ac_func (); below.
29279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29280 <limits.h> exists even on freestanding compilers. */
29281
29282 #ifdef __STDC__
29283 # include <limits.h>
29284 #else
29285 # include <assert.h>
29286 #endif
29287
29288 #undef $ac_func
29289
29290 /* Override any gcc2 internal prototype to avoid an error. */
29291 #ifdef __cplusplus
29292 extern "C"
29293 {
29294 #endif
29295 /* We use char because int might match the return type of a gcc2
29296 builtin and then its argument prototype would still apply. */
29297 char $ac_func ();
29298 /* The GNU C library defines this for functions which it implements
29299 to always fail with ENOSYS. Some functions are actually named
29300 something starting with __ and the normal name is an alias. */
29301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29302 choke me
29303 #else
29304 char (*f) () = $ac_func;
29305 #endif
29306 #ifdef __cplusplus
29307 }
29308 #endif
29309
29310 int
29311 main ()
29312 {
29313 return f != $ac_func;
29314 ;
29315 return 0;
29316 }
29317 _ACEOF
29318 rm -f conftest.$ac_objext conftest$ac_exeext
29319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29320 (eval $ac_link) 2>conftest.er1
29321 ac_status=$?
29322 grep -v '^ *+' conftest.er1 >conftest.err
29323 rm -f conftest.er1
29324 cat conftest.err >&5
29325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29326 (exit $ac_status); } &&
29327 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29329 (eval $ac_try) 2>&5
29330 ac_status=$?
29331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29332 (exit $ac_status); }; } &&
29333 { ac_try='test -s conftest$ac_exeext'
29334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29335 (eval $ac_try) 2>&5
29336 ac_status=$?
29337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29338 (exit $ac_status); }; }; then
29339 eval "$as_ac_var=yes"
29340 else
29341 echo "$as_me: failed program was:" >&5
29342 sed 's/^/| /' conftest.$ac_ext >&5
29343
29344 eval "$as_ac_var=no"
29345 fi
29346 rm -f conftest.err conftest.$ac_objext \
29347 conftest$ac_exeext conftest.$ac_ext
29348 fi
29349 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29350 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29351 if test `eval echo '${'$as_ac_var'}'` = yes; then
29352 cat >>confdefs.h <<_ACEOF
29353 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29354 _ACEOF
29355
29356 fi
29357 done
29358
29359 fi
29360
29361 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29362 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29363
29364 AFMINSTALL=afminstall
29365 TOOLKIT=GTK
29366 GUIDIST=GTK_DIST
29367
29368 if test "$wxUSE_GPE" = "yes"; then
29369 echo "$as_me:$LINENO: checking for gpewidget library" >&5
29370 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
29371
29372 ac_find_libraries=
29373 for ac_dir in $SEARCH_LIB;
29374 do
29375 for ac_extension in a so sl dylib dll.a; do
29376 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29377 ac_find_libraries=$ac_dir
29378 break 2
29379 fi
29380 done
29381 done
29382
29383 if test "$ac_find_libraries" != "" ; then
29384
29385 if test "$ac_find_libraries" = "default location"; then
29386 ac_path_to_link=""
29387 else
29388 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29389 result=$?
29390 if test $result = 0; then
29391 ac_path_to_link=""
29392 else
29393 ac_path_to_link=" -L$ac_find_libraries"
29394 fi
29395 fi
29396
29397 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29398 WXGPE=1
29399 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29400 echo "${ECHO_T}found in $ac_find_libraries" >&6
29401 else
29402 echo "$as_me:$LINENO: result: not found" >&5
29403 echo "${ECHO_T}not found" >&6
29404 fi
29405
29406 fi
29407 fi
29408
29409 if test "$wxUSE_MGL" = 1; then
29410 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29411 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
29412 if test "x$MGL_ROOT" = x ; then
29413 echo "$as_me:$LINENO: result: not found" >&5
29414 echo "${ECHO_T}not found" >&6
29415 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29416 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29417 { (exit 1); exit 1; }; }
29418 else
29419 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29420 echo "${ECHO_T}$MGL_ROOT" >&6
29421 fi
29422
29423 echo "$as_me:$LINENO: checking for libmgl location" >&5
29424 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
29425 case "${host}" in
29426 *-*-linux* )
29427 if test "x$wxUSE_SHARED" = xyes ; then
29428 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29429 else
29430 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29431 fi
29432 ;;
29433 *-pc-msdosdjgpp )
29434 mgl_os_candidates="dos32/dj2"
29435 ;;
29436 *)
29437 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29438 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29439 { (exit 1); exit 1; }; }
29440 esac
29441
29442 mgl_lib_type=""
29443 mgl_os=""
29444
29445 for mgl_os_i in $mgl_os_candidates ; do
29446 if test "x$mgl_os" = x ; then
29447 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29448 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29449 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29450 mgl_lib_type=debug
29451 mgl_os=$mgl_os_i
29452 fi
29453 fi
29454 if test "x$mgl_lib_type" = x ; then
29455 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29456 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29457 mgl_lib_type=release
29458 mgl_os=$mgl_os_i
29459 fi
29460 fi
29461 fi
29462 done
29463
29464 if test "x$mgl_os" = x ; then
29465 echo "$as_me:$LINENO: result: not found" >&5
29466 echo "${ECHO_T}not found" >&6
29467 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29468 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29469 { (exit 1); exit 1; }; }
29470 fi
29471 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29472 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29473
29474 wxUSE_UNIVERSAL="yes"
29475
29476 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29477 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29478
29479 AFMINSTALL=afminstall
29480 TOOLKIT=MGL
29481 GUIDIST=MGL_DIST
29482 fi
29483
29484 if test "$wxUSE_DFB" = 1; then
29485
29486
29487 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29488 if test -n "$ac_tool_prefix"; then
29489 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29490 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29491 echo "$as_me:$LINENO: checking for $ac_word" >&5
29492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29493 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29494 echo $ECHO_N "(cached) $ECHO_C" >&6
29495 else
29496 case $PKG_CONFIG in
29497 [\\/]* | ?:[\\/]*)
29498 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29499 ;;
29500 *)
29501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29502 for as_dir in $PATH
29503 do
29504 IFS=$as_save_IFS
29505 test -z "$as_dir" && as_dir=.
29506 for ac_exec_ext in '' $ac_executable_extensions; do
29507 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29508 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29509 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29510 break 2
29511 fi
29512 done
29513 done
29514
29515 ;;
29516 esac
29517 fi
29518 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29519
29520 if test -n "$PKG_CONFIG"; then
29521 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29522 echo "${ECHO_T}$PKG_CONFIG" >&6
29523 else
29524 echo "$as_me:$LINENO: result: no" >&5
29525 echo "${ECHO_T}no" >&6
29526 fi
29527
29528 fi
29529 if test -z "$ac_cv_path_PKG_CONFIG"; then
29530 ac_pt_PKG_CONFIG=$PKG_CONFIG
29531 # Extract the first word of "pkg-config", so it can be a program name with args.
29532 set dummy pkg-config; ac_word=$2
29533 echo "$as_me:$LINENO: checking for $ac_word" >&5
29534 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29535 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29536 echo $ECHO_N "(cached) $ECHO_C" >&6
29537 else
29538 case $ac_pt_PKG_CONFIG in
29539 [\\/]* | ?:[\\/]*)
29540 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29541 ;;
29542 *)
29543 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29544 for as_dir in $PATH
29545 do
29546 IFS=$as_save_IFS
29547 test -z "$as_dir" && as_dir=.
29548 for ac_exec_ext in '' $ac_executable_extensions; do
29549 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29550 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29551 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29552 break 2
29553 fi
29554 done
29555 done
29556
29557 ;;
29558 esac
29559 fi
29560 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29561
29562 if test -n "$ac_pt_PKG_CONFIG"; then
29563 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29564 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29565 else
29566 echo "$as_me:$LINENO: result: no" >&5
29567 echo "${ECHO_T}no" >&6
29568 fi
29569
29570 PKG_CONFIG=$ac_pt_PKG_CONFIG
29571 else
29572 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29573 fi
29574
29575 fi
29576 if test -n "$PKG_CONFIG"; then
29577 _pkg_min_version=0.9.0
29578 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29579 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29580 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29581 echo "$as_me:$LINENO: result: yes" >&5
29582 echo "${ECHO_T}yes" >&6
29583 else
29584 echo "$as_me:$LINENO: result: no" >&5
29585 echo "${ECHO_T}no" >&6
29586 PKG_CONFIG=""
29587 fi
29588
29589 fi
29590
29591
29592 pkg_failed=no
29593 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29594 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29595
29596 if test -n "$PKG_CONFIG"; then
29597 if test -n "$DIRECTFB_CFLAGS"; then
29598 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29599 else
29600 if test -n "$PKG_CONFIG" && \
29601 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29602 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29603 ac_status=$?
29604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29605 (exit $ac_status); }; then
29606 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29607 else
29608 pkg_failed=yes
29609 fi
29610 fi
29611 else
29612 pkg_failed=untried
29613 fi
29614 if test -n "$PKG_CONFIG"; then
29615 if test -n "$DIRECTFB_LIBS"; then
29616 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29617 else
29618 if test -n "$PKG_CONFIG" && \
29619 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29620 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29621 ac_status=$?
29622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29623 (exit $ac_status); }; then
29624 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29625 else
29626 pkg_failed=yes
29627 fi
29628 fi
29629 else
29630 pkg_failed=untried
29631 fi
29632
29633
29634
29635 if test $pkg_failed = yes; then
29636
29637 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29638 _pkg_short_errors_supported=yes
29639 else
29640 _pkg_short_errors_supported=no
29641 fi
29642 if test $_pkg_short_errors_supported = yes; then
29643 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29644 else
29645 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29646 fi
29647 # Put the nasty error message in config.log where it belongs
29648 echo "$DIRECTFB_PKG_ERRORS" >&5
29649
29650
29651 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29652 echo "$as_me: error: DirectFB not found." >&2;}
29653 { (exit 1); exit 1; }; }
29654
29655
29656 elif test $pkg_failed = untried; then
29657
29658 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29659 echo "$as_me: error: DirectFB not found." >&2;}
29660 { (exit 1); exit 1; }; }
29661
29662
29663 else
29664 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29665 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29666 echo "$as_me:$LINENO: result: yes" >&5
29667 echo "${ECHO_T}yes" >&6
29668
29669 wxUSE_UNIVERSAL="yes"
29670 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29671 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29672 TOOLKIT=DFB
29673 GUIDIST=DFB_DIST
29674
29675 fi
29676 fi
29677
29678 if test "$wxUSE_MICROWIN" = 1; then
29679 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29680 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29681 if test "x$MICROWINDOWS" = x ; then
29682 echo "$as_me:$LINENO: result: not found" >&5
29683 echo "${ECHO_T}not found" >&6
29684 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29685 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29686 { (exit 1); exit 1; }; }
29687 else
29688 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29689 echo "${ECHO_T}$MICROWINDOWS" >&6
29690 fi
29691
29692 if test -f $MICROWINDOWS/lib/libmwin.a; then
29693 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29694 echo "${ECHO_T}MicroWindows' libraries found." >&6
29695 else
29696 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29697 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29698 { (exit 1); exit 1; }; }
29699 fi
29700
29701 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29702 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29703
29704 wxUSE_UNIVERSAL="yes"
29705
29706 AFMINSTALL=afminstall
29707 TOOLKIT=MICROWIN
29708 GUIDIST=MICROWIN_DIST
29709
29710 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29711 fi
29712
29713 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29714
29715 if test "x$ac_path_x_has_been_run" != xyes; then
29716 echo "$as_me:$LINENO: checking for X" >&5
29717 echo $ECHO_N "checking for X... $ECHO_C" >&6
29718
29719 ac_path_x_has_been_run=yes
29720
29721 # Check whether --with-x or --without-x was given.
29722 if test "${with_x+set}" = set; then
29723 withval="$with_x"
29724
29725 fi;
29726 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29727 if test "x$with_x" = xno; then
29728 # The user explicitly disabled X.
29729 have_x=disabled
29730 else
29731 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
29732 # Both variables are already set.
29733 have_x=yes
29734 else
29735 if test "${ac_cv_have_x+set}" = set; then
29736 echo $ECHO_N "(cached) $ECHO_C" >&6
29737 else
29738 # One or both of the vars are not set, and there is no cached value.
29739 ac_x_includes=no ac_x_libraries=no
29740 rm -fr conftest.dir
29741 if mkdir conftest.dir; then
29742 cd conftest.dir
29743 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29744 cat >Imakefile <<'_ACEOF'
29745 acfindx:
29746 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29747 _ACEOF
29748 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
29749 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29750 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29751 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29752 for ac_extension in a so sl; do
29753 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
29754 test -f $ac_im_libdir/libX11.$ac_extension; then
29755 ac_im_usrlibdir=$ac_im_libdir; break
29756 fi
29757 done
29758 # Screen out bogus values from the imake configuration. They are
29759 # bogus both because they are the default anyway, and because
29760 # using them would break gcc on systems where it needs fixed includes.
29761 case $ac_im_incroot in
29762 /usr/include) ;;
29763 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29764 esac
29765 case $ac_im_usrlibdir in
29766 /usr/lib | /lib) ;;
29767 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29768 esac
29769 fi
29770 cd ..
29771 rm -fr conftest.dir
29772 fi
29773
29774 # Standard set of common directories for X headers.
29775 # Check X11 before X11Rn because it is often a symlink to the current release.
29776 ac_x_header_dirs='
29777 /usr/X11/include
29778 /usr/X11R6/include
29779 /usr/X11R5/include
29780 /usr/X11R4/include
29781
29782 /usr/include/X11
29783 /usr/include/X11R6
29784 /usr/include/X11R5
29785 /usr/include/X11R4
29786
29787 /usr/local/X11/include
29788 /usr/local/X11R6/include
29789 /usr/local/X11R5/include
29790 /usr/local/X11R4/include
29791
29792 /usr/local/include/X11
29793 /usr/local/include/X11R6
29794 /usr/local/include/X11R5
29795 /usr/local/include/X11R4
29796
29797 /usr/X386/include
29798 /usr/x386/include
29799 /usr/XFree86/include/X11
29800
29801 /usr/include
29802 /usr/local/include
29803 /usr/unsupported/include
29804 /usr/athena/include
29805 /usr/local/x11r5/include
29806 /usr/lpp/Xamples/include
29807
29808 /usr/openwin/include
29809 /usr/openwin/share/include'
29810
29811 if test "$ac_x_includes" = no; then
29812 # Guess where to find include files, by looking for a specified header file.
29813 # First, try using that file with no special directory specified.
29814 cat >conftest.$ac_ext <<_ACEOF
29815 /* confdefs.h. */
29816 _ACEOF
29817 cat confdefs.h >>conftest.$ac_ext
29818 cat >>conftest.$ac_ext <<_ACEOF
29819 /* end confdefs.h. */
29820 #include <X11/Intrinsic.h>
29821 _ACEOF
29822 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29823 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29824 ac_status=$?
29825 grep -v '^ *+' conftest.er1 >conftest.err
29826 rm -f conftest.er1
29827 cat conftest.err >&5
29828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29829 (exit $ac_status); } >/dev/null; then
29830 if test -s conftest.err; then
29831 ac_cpp_err=$ac_cxx_preproc_warn_flag
29832 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
29833 else
29834 ac_cpp_err=
29835 fi
29836 else
29837 ac_cpp_err=yes
29838 fi
29839 if test -z "$ac_cpp_err"; then
29840 # We can compile using X headers with no special include directory.
29841 ac_x_includes=
29842 else
29843 echo "$as_me: failed program was:" >&5
29844 sed 's/^/| /' conftest.$ac_ext >&5
29845
29846 for ac_dir in $ac_x_header_dirs; do
29847 if test -r "$ac_dir/X11/Intrinsic.h"; then
29848 ac_x_includes=$ac_dir
29849 break
29850 fi
29851 done
29852 fi
29853 rm -f conftest.err conftest.$ac_ext
29854 fi # $ac_x_includes = no
29855
29856 if test "$ac_x_libraries" = no; then
29857 # Check for the libraries.
29858 # See if we find them without any special options.
29859 # Don't add to $LIBS permanently.
29860 ac_save_LIBS=$LIBS
29861 LIBS="-lXt $LIBS"
29862 cat >conftest.$ac_ext <<_ACEOF
29863 /* confdefs.h. */
29864 _ACEOF
29865 cat confdefs.h >>conftest.$ac_ext
29866 cat >>conftest.$ac_ext <<_ACEOF
29867 /* end confdefs.h. */
29868 #include <X11/Intrinsic.h>
29869 int
29870 main ()
29871 {
29872 XtMalloc (0)
29873 ;
29874 return 0;
29875 }
29876 _ACEOF
29877 rm -f conftest.$ac_objext conftest$ac_exeext
29878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29879 (eval $ac_link) 2>conftest.er1
29880 ac_status=$?
29881 grep -v '^ *+' conftest.er1 >conftest.err
29882 rm -f conftest.er1
29883 cat conftest.err >&5
29884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29885 (exit $ac_status); } &&
29886 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29888 (eval $ac_try) 2>&5
29889 ac_status=$?
29890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29891 (exit $ac_status); }; } &&
29892 { ac_try='test -s conftest$ac_exeext'
29893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29894 (eval $ac_try) 2>&5
29895 ac_status=$?
29896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29897 (exit $ac_status); }; }; then
29898 LIBS=$ac_save_LIBS
29899 # We can link X programs with no special library path.
29900 ac_x_libraries=
29901 else
29902 echo "$as_me: failed program was:" >&5
29903 sed 's/^/| /' conftest.$ac_ext >&5
29904
29905 LIBS=$ac_save_LIBS
29906 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29907 do
29908 # Don't even attempt the hair of trying to link an X program!
29909 for ac_extension in a so sl; do
29910 if test -r $ac_dir/libXt.$ac_extension; then
29911 ac_x_libraries=$ac_dir
29912 break 2
29913 fi
29914 done
29915 done
29916 fi
29917 rm -f conftest.err conftest.$ac_objext \
29918 conftest$ac_exeext conftest.$ac_ext
29919 fi # $ac_x_libraries = no
29920
29921 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
29922 # Didn't find X anywhere. Cache the known absence of X.
29923 ac_cv_have_x="have_x=no"
29924 else
29925 # Record where we found X for the cache.
29926 ac_cv_have_x="have_x=yes \
29927 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29928 fi
29929 fi
29930
29931 fi
29932 eval "$ac_cv_have_x"
29933 fi # $with_x != no
29934
29935 if test "$have_x" != yes; then
29936 echo "$as_me:$LINENO: result: $have_x" >&5
29937 echo "${ECHO_T}$have_x" >&6
29938 no_x=yes
29939 else
29940 # If each of the values was on the command line, it overrides each guess.
29941 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29942 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29943 # Update the cache value to reflect the command line values.
29944 ac_cv_have_x="have_x=yes \
29945 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29946 # It might be that x_includes is empty (headers are found in the
29947 # standard search path. Then output the corresponding message
29948 ac_out_x_includes=$x_includes
29949 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
29950 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
29951 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
29952 fi
29953
29954 fi
29955 if test "$no_x" = yes; then
29956 # Not all programs may use this symbol, but it does not hurt to define it.
29957
29958 cat >>confdefs.h <<\_ACEOF
29959 #define X_DISPLAY_MISSING 1
29960 _ACEOF
29961
29962 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29963 else
29964 if test -n "$x_includes"; then
29965 X_CFLAGS="$X_CFLAGS -I$x_includes"
29966 fi
29967
29968 # It would also be nice to do this for all -L options, not just this one.
29969 if test -n "$x_libraries"; then
29970 X_LIBS="$X_LIBS -L$x_libraries"
29971 # For Solaris; some versions of Sun CC require a space after -R and
29972 # others require no space. Words are not sufficient . . . .
29973 case `(uname -sr) 2>/dev/null` in
29974 "SunOS 5"*)
29975 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29976 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
29977 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29978 cat >conftest.$ac_ext <<_ACEOF
29979 /* confdefs.h. */
29980 _ACEOF
29981 cat confdefs.h >>conftest.$ac_ext
29982 cat >>conftest.$ac_ext <<_ACEOF
29983 /* end confdefs.h. */
29984
29985 int
29986 main ()
29987 {
29988
29989 ;
29990 return 0;
29991 }
29992 _ACEOF
29993 rm -f conftest.$ac_objext conftest$ac_exeext
29994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29995 (eval $ac_link) 2>conftest.er1
29996 ac_status=$?
29997 grep -v '^ *+' conftest.er1 >conftest.err
29998 rm -f conftest.er1
29999 cat conftest.err >&5
30000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30001 (exit $ac_status); } &&
30002 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30004 (eval $ac_try) 2>&5
30005 ac_status=$?
30006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30007 (exit $ac_status); }; } &&
30008 { ac_try='test -s conftest$ac_exeext'
30009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30010 (eval $ac_try) 2>&5
30011 ac_status=$?
30012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30013 (exit $ac_status); }; }; then
30014 ac_R_nospace=yes
30015 else
30016 echo "$as_me: failed program was:" >&5
30017 sed 's/^/| /' conftest.$ac_ext >&5
30018
30019 ac_R_nospace=no
30020 fi
30021 rm -f conftest.err conftest.$ac_objext \
30022 conftest$ac_exeext conftest.$ac_ext
30023 if test $ac_R_nospace = yes; then
30024 echo "$as_me:$LINENO: result: no" >&5
30025 echo "${ECHO_T}no" >&6
30026 X_LIBS="$X_LIBS -R$x_libraries"
30027 else
30028 LIBS="$ac_xsave_LIBS -R $x_libraries"
30029 cat >conftest.$ac_ext <<_ACEOF
30030 /* confdefs.h. */
30031 _ACEOF
30032 cat confdefs.h >>conftest.$ac_ext
30033 cat >>conftest.$ac_ext <<_ACEOF
30034 /* end confdefs.h. */
30035
30036 int
30037 main ()
30038 {
30039
30040 ;
30041 return 0;
30042 }
30043 _ACEOF
30044 rm -f conftest.$ac_objext conftest$ac_exeext
30045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30046 (eval $ac_link) 2>conftest.er1
30047 ac_status=$?
30048 grep -v '^ *+' conftest.er1 >conftest.err
30049 rm -f conftest.er1
30050 cat conftest.err >&5
30051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30052 (exit $ac_status); } &&
30053 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30055 (eval $ac_try) 2>&5
30056 ac_status=$?
30057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30058 (exit $ac_status); }; } &&
30059 { ac_try='test -s conftest$ac_exeext'
30060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30061 (eval $ac_try) 2>&5
30062 ac_status=$?
30063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30064 (exit $ac_status); }; }; then
30065 ac_R_space=yes
30066 else
30067 echo "$as_me: failed program was:" >&5
30068 sed 's/^/| /' conftest.$ac_ext >&5
30069
30070 ac_R_space=no
30071 fi
30072 rm -f conftest.err conftest.$ac_objext \
30073 conftest$ac_exeext conftest.$ac_ext
30074 if test $ac_R_space = yes; then
30075 echo "$as_me:$LINENO: result: yes" >&5
30076 echo "${ECHO_T}yes" >&6
30077 X_LIBS="$X_LIBS -R $x_libraries"
30078 else
30079 echo "$as_me:$LINENO: result: neither works" >&5
30080 echo "${ECHO_T}neither works" >&6
30081 fi
30082 fi
30083 LIBS=$ac_xsave_LIBS
30084 esac
30085 fi
30086
30087 # Check for system-dependent libraries X programs must link with.
30088 # Do this before checking for the system-independent R6 libraries
30089 # (-lICE), since we may need -lsocket or whatever for X linking.
30090
30091 if test "$ISC" = yes; then
30092 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30093 else
30094 # Martyn Johnson says this is needed for Ultrix, if the X
30095 # libraries were built with DECnet support. And Karl Berry says
30096 # the Alpha needs dnet_stub (dnet does not exist).
30097 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30098 cat >conftest.$ac_ext <<_ACEOF
30099 /* confdefs.h. */
30100 _ACEOF
30101 cat confdefs.h >>conftest.$ac_ext
30102 cat >>conftest.$ac_ext <<_ACEOF
30103 /* end confdefs.h. */
30104
30105 /* Override any gcc2 internal prototype to avoid an error. */
30106 #ifdef __cplusplus
30107 extern "C"
30108 #endif
30109 /* We use char because int might match the return type of a gcc2
30110 builtin and then its argument prototype would still apply. */
30111 char XOpenDisplay ();
30112 int
30113 main ()
30114 {
30115 XOpenDisplay ();
30116 ;
30117 return 0;
30118 }
30119 _ACEOF
30120 rm -f conftest.$ac_objext conftest$ac_exeext
30121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30122 (eval $ac_link) 2>conftest.er1
30123 ac_status=$?
30124 grep -v '^ *+' conftest.er1 >conftest.err
30125 rm -f conftest.er1
30126 cat conftest.err >&5
30127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30128 (exit $ac_status); } &&
30129 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30131 (eval $ac_try) 2>&5
30132 ac_status=$?
30133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30134 (exit $ac_status); }; } &&
30135 { ac_try='test -s conftest$ac_exeext'
30136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30137 (eval $ac_try) 2>&5
30138 ac_status=$?
30139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30140 (exit $ac_status); }; }; then
30141 :
30142 else
30143 echo "$as_me: failed program was:" >&5
30144 sed 's/^/| /' conftest.$ac_ext >&5
30145
30146 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30147 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
30148 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30149 echo $ECHO_N "(cached) $ECHO_C" >&6
30150 else
30151 ac_check_lib_save_LIBS=$LIBS
30152 LIBS="-ldnet $LIBS"
30153 cat >conftest.$ac_ext <<_ACEOF
30154 /* confdefs.h. */
30155 _ACEOF
30156 cat confdefs.h >>conftest.$ac_ext
30157 cat >>conftest.$ac_ext <<_ACEOF
30158 /* end confdefs.h. */
30159
30160 /* Override any gcc2 internal prototype to avoid an error. */
30161 #ifdef __cplusplus
30162 extern "C"
30163 #endif
30164 /* We use char because int might match the return type of a gcc2
30165 builtin and then its argument prototype would still apply. */
30166 char dnet_ntoa ();
30167 int
30168 main ()
30169 {
30170 dnet_ntoa ();
30171 ;
30172 return 0;
30173 }
30174 _ACEOF
30175 rm -f conftest.$ac_objext conftest$ac_exeext
30176 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30177 (eval $ac_link) 2>conftest.er1
30178 ac_status=$?
30179 grep -v '^ *+' conftest.er1 >conftest.err
30180 rm -f conftest.er1
30181 cat conftest.err >&5
30182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30183 (exit $ac_status); } &&
30184 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30186 (eval $ac_try) 2>&5
30187 ac_status=$?
30188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30189 (exit $ac_status); }; } &&
30190 { ac_try='test -s conftest$ac_exeext'
30191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30192 (eval $ac_try) 2>&5
30193 ac_status=$?
30194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30195 (exit $ac_status); }; }; then
30196 ac_cv_lib_dnet_dnet_ntoa=yes
30197 else
30198 echo "$as_me: failed program was:" >&5
30199 sed 's/^/| /' conftest.$ac_ext >&5
30200
30201 ac_cv_lib_dnet_dnet_ntoa=no
30202 fi
30203 rm -f conftest.err conftest.$ac_objext \
30204 conftest$ac_exeext conftest.$ac_ext
30205 LIBS=$ac_check_lib_save_LIBS
30206 fi
30207 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30208 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
30209 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30210 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30211 fi
30212
30213 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30214 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30215 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
30216 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30217 echo $ECHO_N "(cached) $ECHO_C" >&6
30218 else
30219 ac_check_lib_save_LIBS=$LIBS
30220 LIBS="-ldnet_stub $LIBS"
30221 cat >conftest.$ac_ext <<_ACEOF
30222 /* confdefs.h. */
30223 _ACEOF
30224 cat confdefs.h >>conftest.$ac_ext
30225 cat >>conftest.$ac_ext <<_ACEOF
30226 /* end confdefs.h. */
30227
30228 /* Override any gcc2 internal prototype to avoid an error. */
30229 #ifdef __cplusplus
30230 extern "C"
30231 #endif
30232 /* We use char because int might match the return type of a gcc2
30233 builtin and then its argument prototype would still apply. */
30234 char dnet_ntoa ();
30235 int
30236 main ()
30237 {
30238 dnet_ntoa ();
30239 ;
30240 return 0;
30241 }
30242 _ACEOF
30243 rm -f conftest.$ac_objext conftest$ac_exeext
30244 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30245 (eval $ac_link) 2>conftest.er1
30246 ac_status=$?
30247 grep -v '^ *+' conftest.er1 >conftest.err
30248 rm -f conftest.er1
30249 cat conftest.err >&5
30250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30251 (exit $ac_status); } &&
30252 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30254 (eval $ac_try) 2>&5
30255 ac_status=$?
30256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30257 (exit $ac_status); }; } &&
30258 { ac_try='test -s conftest$ac_exeext'
30259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30260 (eval $ac_try) 2>&5
30261 ac_status=$?
30262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30263 (exit $ac_status); }; }; then
30264 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30265 else
30266 echo "$as_me: failed program was:" >&5
30267 sed 's/^/| /' conftest.$ac_ext >&5
30268
30269 ac_cv_lib_dnet_stub_dnet_ntoa=no
30270 fi
30271 rm -f conftest.err conftest.$ac_objext \
30272 conftest$ac_exeext conftest.$ac_ext
30273 LIBS=$ac_check_lib_save_LIBS
30274 fi
30275 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30276 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
30277 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30278 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30279 fi
30280
30281 fi
30282 fi
30283 rm -f conftest.err conftest.$ac_objext \
30284 conftest$ac_exeext conftest.$ac_ext
30285 LIBS="$ac_xsave_LIBS"
30286
30287 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30288 # to get the SysV transport functions.
30289 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30290 # needs -lnsl.
30291 # The nsl library prevents programs from opening the X display
30292 # on Irix 5.2, according to T.E. Dickey.
30293 # The functions gethostbyname, getservbyname, and inet_addr are
30294 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30295 echo "$as_me:$LINENO: checking for gethostbyname" >&5
30296 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
30297 if test "${ac_cv_func_gethostbyname+set}" = set; then
30298 echo $ECHO_N "(cached) $ECHO_C" >&6
30299 else
30300 cat >conftest.$ac_ext <<_ACEOF
30301 /* confdefs.h. */
30302 _ACEOF
30303 cat confdefs.h >>conftest.$ac_ext
30304 cat >>conftest.$ac_ext <<_ACEOF
30305 /* end confdefs.h. */
30306 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30307 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30308 #define gethostbyname innocuous_gethostbyname
30309
30310 /* System header to define __stub macros and hopefully few prototypes,
30311 which can conflict with char gethostbyname (); below.
30312 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30313 <limits.h> exists even on freestanding compilers. */
30314
30315 #ifdef __STDC__
30316 # include <limits.h>
30317 #else
30318 # include <assert.h>
30319 #endif
30320
30321 #undef gethostbyname
30322
30323 /* Override any gcc2 internal prototype to avoid an error. */
30324 #ifdef __cplusplus
30325 extern "C"
30326 {
30327 #endif
30328 /* We use char because int might match the return type of a gcc2
30329 builtin and then its argument prototype would still apply. */
30330 char gethostbyname ();
30331 /* The GNU C library defines this for functions which it implements
30332 to always fail with ENOSYS. Some functions are actually named
30333 something starting with __ and the normal name is an alias. */
30334 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
30335 choke me
30336 #else
30337 char (*f) () = gethostbyname;
30338 #endif
30339 #ifdef __cplusplus
30340 }
30341 #endif
30342
30343 int
30344 main ()
30345 {
30346 return f != gethostbyname;
30347 ;
30348 return 0;
30349 }
30350 _ACEOF
30351 rm -f conftest.$ac_objext conftest$ac_exeext
30352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30353 (eval $ac_link) 2>conftest.er1
30354 ac_status=$?
30355 grep -v '^ *+' conftest.er1 >conftest.err
30356 rm -f conftest.er1
30357 cat conftest.err >&5
30358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30359 (exit $ac_status); } &&
30360 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30362 (eval $ac_try) 2>&5
30363 ac_status=$?
30364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30365 (exit $ac_status); }; } &&
30366 { ac_try='test -s conftest$ac_exeext'
30367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30368 (eval $ac_try) 2>&5
30369 ac_status=$?
30370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30371 (exit $ac_status); }; }; then
30372 ac_cv_func_gethostbyname=yes
30373 else
30374 echo "$as_me: failed program was:" >&5
30375 sed 's/^/| /' conftest.$ac_ext >&5
30376
30377 ac_cv_func_gethostbyname=no
30378 fi
30379 rm -f conftest.err conftest.$ac_objext \
30380 conftest$ac_exeext conftest.$ac_ext
30381 fi
30382 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30383 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
30384
30385 if test $ac_cv_func_gethostbyname = no; then
30386 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30387 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
30388 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30389 echo $ECHO_N "(cached) $ECHO_C" >&6
30390 else
30391 ac_check_lib_save_LIBS=$LIBS
30392 LIBS="-lnsl $LIBS"
30393 cat >conftest.$ac_ext <<_ACEOF
30394 /* confdefs.h. */
30395 _ACEOF
30396 cat confdefs.h >>conftest.$ac_ext
30397 cat >>conftest.$ac_ext <<_ACEOF
30398 /* end confdefs.h. */
30399
30400 /* Override any gcc2 internal prototype to avoid an error. */
30401 #ifdef __cplusplus
30402 extern "C"
30403 #endif
30404 /* We use char because int might match the return type of a gcc2
30405 builtin and then its argument prototype would still apply. */
30406 char gethostbyname ();
30407 int
30408 main ()
30409 {
30410 gethostbyname ();
30411 ;
30412 return 0;
30413 }
30414 _ACEOF
30415 rm -f conftest.$ac_objext conftest$ac_exeext
30416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30417 (eval $ac_link) 2>conftest.er1
30418 ac_status=$?
30419 grep -v '^ *+' conftest.er1 >conftest.err
30420 rm -f conftest.er1
30421 cat conftest.err >&5
30422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30423 (exit $ac_status); } &&
30424 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30426 (eval $ac_try) 2>&5
30427 ac_status=$?
30428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30429 (exit $ac_status); }; } &&
30430 { ac_try='test -s conftest$ac_exeext'
30431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30432 (eval $ac_try) 2>&5
30433 ac_status=$?
30434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30435 (exit $ac_status); }; }; then
30436 ac_cv_lib_nsl_gethostbyname=yes
30437 else
30438 echo "$as_me: failed program was:" >&5
30439 sed 's/^/| /' conftest.$ac_ext >&5
30440
30441 ac_cv_lib_nsl_gethostbyname=no
30442 fi
30443 rm -f conftest.err conftest.$ac_objext \
30444 conftest$ac_exeext conftest.$ac_ext
30445 LIBS=$ac_check_lib_save_LIBS
30446 fi
30447 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30448 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30449 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30450 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30451 fi
30452
30453 if test $ac_cv_lib_nsl_gethostbyname = no; then
30454 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30455 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30456 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30457 echo $ECHO_N "(cached) $ECHO_C" >&6
30458 else
30459 ac_check_lib_save_LIBS=$LIBS
30460 LIBS="-lbsd $LIBS"
30461 cat >conftest.$ac_ext <<_ACEOF
30462 /* confdefs.h. */
30463 _ACEOF
30464 cat confdefs.h >>conftest.$ac_ext
30465 cat >>conftest.$ac_ext <<_ACEOF
30466 /* end confdefs.h. */
30467
30468 /* Override any gcc2 internal prototype to avoid an error. */
30469 #ifdef __cplusplus
30470 extern "C"
30471 #endif
30472 /* We use char because int might match the return type of a gcc2
30473 builtin and then its argument prototype would still apply. */
30474 char gethostbyname ();
30475 int
30476 main ()
30477 {
30478 gethostbyname ();
30479 ;
30480 return 0;
30481 }
30482 _ACEOF
30483 rm -f conftest.$ac_objext conftest$ac_exeext
30484 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30485 (eval $ac_link) 2>conftest.er1
30486 ac_status=$?
30487 grep -v '^ *+' conftest.er1 >conftest.err
30488 rm -f conftest.er1
30489 cat conftest.err >&5
30490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30491 (exit $ac_status); } &&
30492 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30494 (eval $ac_try) 2>&5
30495 ac_status=$?
30496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30497 (exit $ac_status); }; } &&
30498 { ac_try='test -s conftest$ac_exeext'
30499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30500 (eval $ac_try) 2>&5
30501 ac_status=$?
30502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30503 (exit $ac_status); }; }; then
30504 ac_cv_lib_bsd_gethostbyname=yes
30505 else
30506 echo "$as_me: failed program was:" >&5
30507 sed 's/^/| /' conftest.$ac_ext >&5
30508
30509 ac_cv_lib_bsd_gethostbyname=no
30510 fi
30511 rm -f conftest.err conftest.$ac_objext \
30512 conftest$ac_exeext conftest.$ac_ext
30513 LIBS=$ac_check_lib_save_LIBS
30514 fi
30515 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30516 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30517 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30518 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30519 fi
30520
30521 fi
30522 fi
30523
30524 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30525 # socket/setsockopt and other routines are undefined under SCO ODT
30526 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30527 # on later versions), says Simon Leinen: it contains gethostby*
30528 # variants that don't use the name server (or something). -lsocket
30529 # must be given before -lnsl if both are needed. We assume that
30530 # if connect needs -lnsl, so does gethostbyname.
30531 echo "$as_me:$LINENO: checking for connect" >&5
30532 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30533 if test "${ac_cv_func_connect+set}" = set; then
30534 echo $ECHO_N "(cached) $ECHO_C" >&6
30535 else
30536 cat >conftest.$ac_ext <<_ACEOF
30537 /* confdefs.h. */
30538 _ACEOF
30539 cat confdefs.h >>conftest.$ac_ext
30540 cat >>conftest.$ac_ext <<_ACEOF
30541 /* end confdefs.h. */
30542 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30544 #define connect innocuous_connect
30545
30546 /* System header to define __stub macros and hopefully few prototypes,
30547 which can conflict with char connect (); below.
30548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30549 <limits.h> exists even on freestanding compilers. */
30550
30551 #ifdef __STDC__
30552 # include <limits.h>
30553 #else
30554 # include <assert.h>
30555 #endif
30556
30557 #undef connect
30558
30559 /* Override any gcc2 internal prototype to avoid an error. */
30560 #ifdef __cplusplus
30561 extern "C"
30562 {
30563 #endif
30564 /* We use char because int might match the return type of a gcc2
30565 builtin and then its argument prototype would still apply. */
30566 char connect ();
30567 /* The GNU C library defines this for functions which it implements
30568 to always fail with ENOSYS. Some functions are actually named
30569 something starting with __ and the normal name is an alias. */
30570 #if defined (__stub_connect) || defined (__stub___connect)
30571 choke me
30572 #else
30573 char (*f) () = connect;
30574 #endif
30575 #ifdef __cplusplus
30576 }
30577 #endif
30578
30579 int
30580 main ()
30581 {
30582 return f != connect;
30583 ;
30584 return 0;
30585 }
30586 _ACEOF
30587 rm -f conftest.$ac_objext conftest$ac_exeext
30588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30589 (eval $ac_link) 2>conftest.er1
30590 ac_status=$?
30591 grep -v '^ *+' conftest.er1 >conftest.err
30592 rm -f conftest.er1
30593 cat conftest.err >&5
30594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30595 (exit $ac_status); } &&
30596 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30598 (eval $ac_try) 2>&5
30599 ac_status=$?
30600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30601 (exit $ac_status); }; } &&
30602 { ac_try='test -s conftest$ac_exeext'
30603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30604 (eval $ac_try) 2>&5
30605 ac_status=$?
30606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30607 (exit $ac_status); }; }; then
30608 ac_cv_func_connect=yes
30609 else
30610 echo "$as_me: failed program was:" >&5
30611 sed 's/^/| /' conftest.$ac_ext >&5
30612
30613 ac_cv_func_connect=no
30614 fi
30615 rm -f conftest.err conftest.$ac_objext \
30616 conftest$ac_exeext conftest.$ac_ext
30617 fi
30618 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30619 echo "${ECHO_T}$ac_cv_func_connect" >&6
30620
30621 if test $ac_cv_func_connect = no; then
30622 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30623 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30624 if test "${ac_cv_lib_socket_connect+set}" = set; then
30625 echo $ECHO_N "(cached) $ECHO_C" >&6
30626 else
30627 ac_check_lib_save_LIBS=$LIBS
30628 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30629 cat >conftest.$ac_ext <<_ACEOF
30630 /* confdefs.h. */
30631 _ACEOF
30632 cat confdefs.h >>conftest.$ac_ext
30633 cat >>conftest.$ac_ext <<_ACEOF
30634 /* end confdefs.h. */
30635
30636 /* Override any gcc2 internal prototype to avoid an error. */
30637 #ifdef __cplusplus
30638 extern "C"
30639 #endif
30640 /* We use char because int might match the return type of a gcc2
30641 builtin and then its argument prototype would still apply. */
30642 char connect ();
30643 int
30644 main ()
30645 {
30646 connect ();
30647 ;
30648 return 0;
30649 }
30650 _ACEOF
30651 rm -f conftest.$ac_objext conftest$ac_exeext
30652 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30653 (eval $ac_link) 2>conftest.er1
30654 ac_status=$?
30655 grep -v '^ *+' conftest.er1 >conftest.err
30656 rm -f conftest.er1
30657 cat conftest.err >&5
30658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30659 (exit $ac_status); } &&
30660 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30662 (eval $ac_try) 2>&5
30663 ac_status=$?
30664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30665 (exit $ac_status); }; } &&
30666 { ac_try='test -s conftest$ac_exeext'
30667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30668 (eval $ac_try) 2>&5
30669 ac_status=$?
30670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30671 (exit $ac_status); }; }; then
30672 ac_cv_lib_socket_connect=yes
30673 else
30674 echo "$as_me: failed program was:" >&5
30675 sed 's/^/| /' conftest.$ac_ext >&5
30676
30677 ac_cv_lib_socket_connect=no
30678 fi
30679 rm -f conftest.err conftest.$ac_objext \
30680 conftest$ac_exeext conftest.$ac_ext
30681 LIBS=$ac_check_lib_save_LIBS
30682 fi
30683 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30684 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30685 if test $ac_cv_lib_socket_connect = yes; then
30686 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30687 fi
30688
30689 fi
30690
30691 # Guillermo Gomez says -lposix is necessary on A/UX.
30692 echo "$as_me:$LINENO: checking for remove" >&5
30693 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30694 if test "${ac_cv_func_remove+set}" = set; then
30695 echo $ECHO_N "(cached) $ECHO_C" >&6
30696 else
30697 cat >conftest.$ac_ext <<_ACEOF
30698 /* confdefs.h. */
30699 _ACEOF
30700 cat confdefs.h >>conftest.$ac_ext
30701 cat >>conftest.$ac_ext <<_ACEOF
30702 /* end confdefs.h. */
30703 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30705 #define remove innocuous_remove
30706
30707 /* System header to define __stub macros and hopefully few prototypes,
30708 which can conflict with char remove (); below.
30709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30710 <limits.h> exists even on freestanding compilers. */
30711
30712 #ifdef __STDC__
30713 # include <limits.h>
30714 #else
30715 # include <assert.h>
30716 #endif
30717
30718 #undef remove
30719
30720 /* Override any gcc2 internal prototype to avoid an error. */
30721 #ifdef __cplusplus
30722 extern "C"
30723 {
30724 #endif
30725 /* We use char because int might match the return type of a gcc2
30726 builtin and then its argument prototype would still apply. */
30727 char remove ();
30728 /* The GNU C library defines this for functions which it implements
30729 to always fail with ENOSYS. Some functions are actually named
30730 something starting with __ and the normal name is an alias. */
30731 #if defined (__stub_remove) || defined (__stub___remove)
30732 choke me
30733 #else
30734 char (*f) () = remove;
30735 #endif
30736 #ifdef __cplusplus
30737 }
30738 #endif
30739
30740 int
30741 main ()
30742 {
30743 return f != remove;
30744 ;
30745 return 0;
30746 }
30747 _ACEOF
30748 rm -f conftest.$ac_objext conftest$ac_exeext
30749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30750 (eval $ac_link) 2>conftest.er1
30751 ac_status=$?
30752 grep -v '^ *+' conftest.er1 >conftest.err
30753 rm -f conftest.er1
30754 cat conftest.err >&5
30755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30756 (exit $ac_status); } &&
30757 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30759 (eval $ac_try) 2>&5
30760 ac_status=$?
30761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30762 (exit $ac_status); }; } &&
30763 { ac_try='test -s conftest$ac_exeext'
30764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30765 (eval $ac_try) 2>&5
30766 ac_status=$?
30767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30768 (exit $ac_status); }; }; then
30769 ac_cv_func_remove=yes
30770 else
30771 echo "$as_me: failed program was:" >&5
30772 sed 's/^/| /' conftest.$ac_ext >&5
30773
30774 ac_cv_func_remove=no
30775 fi
30776 rm -f conftest.err conftest.$ac_objext \
30777 conftest$ac_exeext conftest.$ac_ext
30778 fi
30779 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30780 echo "${ECHO_T}$ac_cv_func_remove" >&6
30781
30782 if test $ac_cv_func_remove = no; then
30783 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30784 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30785 if test "${ac_cv_lib_posix_remove+set}" = set; then
30786 echo $ECHO_N "(cached) $ECHO_C" >&6
30787 else
30788 ac_check_lib_save_LIBS=$LIBS
30789 LIBS="-lposix $LIBS"
30790 cat >conftest.$ac_ext <<_ACEOF
30791 /* confdefs.h. */
30792 _ACEOF
30793 cat confdefs.h >>conftest.$ac_ext
30794 cat >>conftest.$ac_ext <<_ACEOF
30795 /* end confdefs.h. */
30796
30797 /* Override any gcc2 internal prototype to avoid an error. */
30798 #ifdef __cplusplus
30799 extern "C"
30800 #endif
30801 /* We use char because int might match the return type of a gcc2
30802 builtin and then its argument prototype would still apply. */
30803 char remove ();
30804 int
30805 main ()
30806 {
30807 remove ();
30808 ;
30809 return 0;
30810 }
30811 _ACEOF
30812 rm -f conftest.$ac_objext conftest$ac_exeext
30813 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30814 (eval $ac_link) 2>conftest.er1
30815 ac_status=$?
30816 grep -v '^ *+' conftest.er1 >conftest.err
30817 rm -f conftest.er1
30818 cat conftest.err >&5
30819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30820 (exit $ac_status); } &&
30821 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30823 (eval $ac_try) 2>&5
30824 ac_status=$?
30825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30826 (exit $ac_status); }; } &&
30827 { ac_try='test -s conftest$ac_exeext'
30828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30829 (eval $ac_try) 2>&5
30830 ac_status=$?
30831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30832 (exit $ac_status); }; }; then
30833 ac_cv_lib_posix_remove=yes
30834 else
30835 echo "$as_me: failed program was:" >&5
30836 sed 's/^/| /' conftest.$ac_ext >&5
30837
30838 ac_cv_lib_posix_remove=no
30839 fi
30840 rm -f conftest.err conftest.$ac_objext \
30841 conftest$ac_exeext conftest.$ac_ext
30842 LIBS=$ac_check_lib_save_LIBS
30843 fi
30844 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30845 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30846 if test $ac_cv_lib_posix_remove = yes; then
30847 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30848 fi
30849
30850 fi
30851
30852 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30853 echo "$as_me:$LINENO: checking for shmat" >&5
30854 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30855 if test "${ac_cv_func_shmat+set}" = set; then
30856 echo $ECHO_N "(cached) $ECHO_C" >&6
30857 else
30858 cat >conftest.$ac_ext <<_ACEOF
30859 /* confdefs.h. */
30860 _ACEOF
30861 cat confdefs.h >>conftest.$ac_ext
30862 cat >>conftest.$ac_ext <<_ACEOF
30863 /* end confdefs.h. */
30864 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30865 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30866 #define shmat innocuous_shmat
30867
30868 /* System header to define __stub macros and hopefully few prototypes,
30869 which can conflict with char shmat (); below.
30870 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30871 <limits.h> exists even on freestanding compilers. */
30872
30873 #ifdef __STDC__
30874 # include <limits.h>
30875 #else
30876 # include <assert.h>
30877 #endif
30878
30879 #undef shmat
30880
30881 /* Override any gcc2 internal prototype to avoid an error. */
30882 #ifdef __cplusplus
30883 extern "C"
30884 {
30885 #endif
30886 /* We use char because int might match the return type of a gcc2
30887 builtin and then its argument prototype would still apply. */
30888 char shmat ();
30889 /* The GNU C library defines this for functions which it implements
30890 to always fail with ENOSYS. Some functions are actually named
30891 something starting with __ and the normal name is an alias. */
30892 #if defined (__stub_shmat) || defined (__stub___shmat)
30893 choke me
30894 #else
30895 char (*f) () = shmat;
30896 #endif
30897 #ifdef __cplusplus
30898 }
30899 #endif
30900
30901 int
30902 main ()
30903 {
30904 return f != shmat;
30905 ;
30906 return 0;
30907 }
30908 _ACEOF
30909 rm -f conftest.$ac_objext conftest$ac_exeext
30910 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30911 (eval $ac_link) 2>conftest.er1
30912 ac_status=$?
30913 grep -v '^ *+' conftest.er1 >conftest.err
30914 rm -f conftest.er1
30915 cat conftest.err >&5
30916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30917 (exit $ac_status); } &&
30918 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30920 (eval $ac_try) 2>&5
30921 ac_status=$?
30922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30923 (exit $ac_status); }; } &&
30924 { ac_try='test -s conftest$ac_exeext'
30925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30926 (eval $ac_try) 2>&5
30927 ac_status=$?
30928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30929 (exit $ac_status); }; }; then
30930 ac_cv_func_shmat=yes
30931 else
30932 echo "$as_me: failed program was:" >&5
30933 sed 's/^/| /' conftest.$ac_ext >&5
30934
30935 ac_cv_func_shmat=no
30936 fi
30937 rm -f conftest.err conftest.$ac_objext \
30938 conftest$ac_exeext conftest.$ac_ext
30939 fi
30940 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30941 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30942
30943 if test $ac_cv_func_shmat = no; then
30944 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30945 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30946 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30947 echo $ECHO_N "(cached) $ECHO_C" >&6
30948 else
30949 ac_check_lib_save_LIBS=$LIBS
30950 LIBS="-lipc $LIBS"
30951 cat >conftest.$ac_ext <<_ACEOF
30952 /* confdefs.h. */
30953 _ACEOF
30954 cat confdefs.h >>conftest.$ac_ext
30955 cat >>conftest.$ac_ext <<_ACEOF
30956 /* end confdefs.h. */
30957
30958 /* Override any gcc2 internal prototype to avoid an error. */
30959 #ifdef __cplusplus
30960 extern "C"
30961 #endif
30962 /* We use char because int might match the return type of a gcc2
30963 builtin and then its argument prototype would still apply. */
30964 char shmat ();
30965 int
30966 main ()
30967 {
30968 shmat ();
30969 ;
30970 return 0;
30971 }
30972 _ACEOF
30973 rm -f conftest.$ac_objext conftest$ac_exeext
30974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30975 (eval $ac_link) 2>conftest.er1
30976 ac_status=$?
30977 grep -v '^ *+' conftest.er1 >conftest.err
30978 rm -f conftest.er1
30979 cat conftest.err >&5
30980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30981 (exit $ac_status); } &&
30982 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30984 (eval $ac_try) 2>&5
30985 ac_status=$?
30986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30987 (exit $ac_status); }; } &&
30988 { ac_try='test -s conftest$ac_exeext'
30989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30990 (eval $ac_try) 2>&5
30991 ac_status=$?
30992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30993 (exit $ac_status); }; }; then
30994 ac_cv_lib_ipc_shmat=yes
30995 else
30996 echo "$as_me: failed program was:" >&5
30997 sed 's/^/| /' conftest.$ac_ext >&5
30998
30999 ac_cv_lib_ipc_shmat=no
31000 fi
31001 rm -f conftest.err conftest.$ac_objext \
31002 conftest$ac_exeext conftest.$ac_ext
31003 LIBS=$ac_check_lib_save_LIBS
31004 fi
31005 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31006 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
31007 if test $ac_cv_lib_ipc_shmat = yes; then
31008 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31009 fi
31010
31011 fi
31012 fi
31013
31014 # Check for libraries that X11R6 Xt/Xaw programs need.
31015 ac_save_LDFLAGS=$LDFLAGS
31016 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31017 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31018 # check for ICE first), but we must link in the order -lSM -lICE or
31019 # we get undefined symbols. So assume we have SM if we have ICE.
31020 # These have to be linked with before -lX11, unlike the other
31021 # libraries we check for below, so use a different variable.
31022 # John Interrante, Karl Berry
31023 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31024 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
31025 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31026 echo $ECHO_N "(cached) $ECHO_C" >&6
31027 else
31028 ac_check_lib_save_LIBS=$LIBS
31029 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31030 cat >conftest.$ac_ext <<_ACEOF
31031 /* confdefs.h. */
31032 _ACEOF
31033 cat confdefs.h >>conftest.$ac_ext
31034 cat >>conftest.$ac_ext <<_ACEOF
31035 /* end confdefs.h. */
31036
31037 /* Override any gcc2 internal prototype to avoid an error. */
31038 #ifdef __cplusplus
31039 extern "C"
31040 #endif
31041 /* We use char because int might match the return type of a gcc2
31042 builtin and then its argument prototype would still apply. */
31043 char IceConnectionNumber ();
31044 int
31045 main ()
31046 {
31047 IceConnectionNumber ();
31048 ;
31049 return 0;
31050 }
31051 _ACEOF
31052 rm -f conftest.$ac_objext conftest$ac_exeext
31053 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31054 (eval $ac_link) 2>conftest.er1
31055 ac_status=$?
31056 grep -v '^ *+' conftest.er1 >conftest.err
31057 rm -f conftest.er1
31058 cat conftest.err >&5
31059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31060 (exit $ac_status); } &&
31061 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31063 (eval $ac_try) 2>&5
31064 ac_status=$?
31065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31066 (exit $ac_status); }; } &&
31067 { ac_try='test -s conftest$ac_exeext'
31068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31069 (eval $ac_try) 2>&5
31070 ac_status=$?
31071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31072 (exit $ac_status); }; }; then
31073 ac_cv_lib_ICE_IceConnectionNumber=yes
31074 else
31075 echo "$as_me: failed program was:" >&5
31076 sed 's/^/| /' conftest.$ac_ext >&5
31077
31078 ac_cv_lib_ICE_IceConnectionNumber=no
31079 fi
31080 rm -f conftest.err conftest.$ac_objext \
31081 conftest$ac_exeext conftest.$ac_ext
31082 LIBS=$ac_check_lib_save_LIBS
31083 fi
31084 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31085 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
31086 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31087 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31088 fi
31089
31090 LDFLAGS=$ac_save_LDFLAGS
31091
31092 fi
31093
31094
31095 if test "$no_x" = "yes"; then
31096 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31097 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31098 { (exit 1); exit 1; }; }
31099 fi
31100
31101 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31102 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31103 AFMINSTALL=afminstall
31104 COMPILED_X_PROGRAM=0
31105
31106 fi
31107
31108 if test "$wxUSE_X11" = 1; then
31109 if test "$wxUSE_NANOX" = "yes"; then
31110 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31111 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
31112 if test "x$MICROWIN" = x ; then
31113 echo "$as_me:$LINENO: result: not found" >&5
31114 echo "${ECHO_T}not found" >&6
31115 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31116 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31117 { (exit 1); exit 1; }; }
31118 else
31119 echo "$as_me:$LINENO: result: $MICROWIN" >&5
31120 echo "${ECHO_T}$MICROWIN" >&6
31121 cat >>confdefs.h <<\_ACEOF
31122 #define wxUSE_NANOX 1
31123 _ACEOF
31124
31125 fi
31126 fi
31127
31128 if test "$wxUSE_UNICODE" = "yes"; then
31129
31130
31131 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31132 if test -n "$ac_tool_prefix"; then
31133 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31134 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31135 echo "$as_me:$LINENO: checking for $ac_word" >&5
31136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31137 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31138 echo $ECHO_N "(cached) $ECHO_C" >&6
31139 else
31140 case $PKG_CONFIG in
31141 [\\/]* | ?:[\\/]*)
31142 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31143 ;;
31144 *)
31145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31146 for as_dir in $PATH
31147 do
31148 IFS=$as_save_IFS
31149 test -z "$as_dir" && as_dir=.
31150 for ac_exec_ext in '' $ac_executable_extensions; do
31151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31152 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31154 break 2
31155 fi
31156 done
31157 done
31158
31159 ;;
31160 esac
31161 fi
31162 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31163
31164 if test -n "$PKG_CONFIG"; then
31165 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31166 echo "${ECHO_T}$PKG_CONFIG" >&6
31167 else
31168 echo "$as_me:$LINENO: result: no" >&5
31169 echo "${ECHO_T}no" >&6
31170 fi
31171
31172 fi
31173 if test -z "$ac_cv_path_PKG_CONFIG"; then
31174 ac_pt_PKG_CONFIG=$PKG_CONFIG
31175 # Extract the first word of "pkg-config", so it can be a program name with args.
31176 set dummy pkg-config; ac_word=$2
31177 echo "$as_me:$LINENO: checking for $ac_word" >&5
31178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31179 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31180 echo $ECHO_N "(cached) $ECHO_C" >&6
31181 else
31182 case $ac_pt_PKG_CONFIG in
31183 [\\/]* | ?:[\\/]*)
31184 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31185 ;;
31186 *)
31187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31188 for as_dir in $PATH
31189 do
31190 IFS=$as_save_IFS
31191 test -z "$as_dir" && as_dir=.
31192 for ac_exec_ext in '' $ac_executable_extensions; do
31193 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31194 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31196 break 2
31197 fi
31198 done
31199 done
31200
31201 ;;
31202 esac
31203 fi
31204 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31205
31206 if test -n "$ac_pt_PKG_CONFIG"; then
31207 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31208 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
31209 else
31210 echo "$as_me:$LINENO: result: no" >&5
31211 echo "${ECHO_T}no" >&6
31212 fi
31213
31214 PKG_CONFIG=$ac_pt_PKG_CONFIG
31215 else
31216 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31217 fi
31218
31219 fi
31220 if test -n "$PKG_CONFIG"; then
31221 _pkg_min_version=0.9.0
31222 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31223 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
31224 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31225 echo "$as_me:$LINENO: result: yes" >&5
31226 echo "${ECHO_T}yes" >&6
31227 else
31228 echo "$as_me:$LINENO: result: no" >&5
31229 echo "${ECHO_T}no" >&6
31230 PKG_CONFIG=""
31231 fi
31232
31233 fi
31234
31235
31236 pkg_failed=no
31237 echo "$as_me:$LINENO: checking for PANGOX" >&5
31238 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
31239
31240 if test -n "$PKG_CONFIG"; then
31241 if test -n "$PANGOX_CFLAGS"; then
31242 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31243 else
31244 if test -n "$PKG_CONFIG" && \
31245 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31246 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31247 ac_status=$?
31248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31249 (exit $ac_status); }; then
31250 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31251 else
31252 pkg_failed=yes
31253 fi
31254 fi
31255 else
31256 pkg_failed=untried
31257 fi
31258 if test -n "$PKG_CONFIG"; then
31259 if test -n "$PANGOX_LIBS"; then
31260 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31261 else
31262 if test -n "$PKG_CONFIG" && \
31263 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31264 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31265 ac_status=$?
31266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31267 (exit $ac_status); }; then
31268 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31269 else
31270 pkg_failed=yes
31271 fi
31272 fi
31273 else
31274 pkg_failed=untried
31275 fi
31276
31277
31278
31279 if test $pkg_failed = yes; then
31280
31281 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31282 _pkg_short_errors_supported=yes
31283 else
31284 _pkg_short_errors_supported=no
31285 fi
31286 if test $_pkg_short_errors_supported = yes; then
31287 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31288 else
31289 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31290 fi
31291 # Put the nasty error message in config.log where it belongs
31292 echo "$PANGOX_PKG_ERRORS" >&5
31293
31294
31295 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31296 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31297 { (exit 1); exit 1; }; }
31298
31299
31300 elif test $pkg_failed = untried; then
31301
31302 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31303 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31304 { (exit 1); exit 1; }; }
31305
31306
31307 else
31308 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31309 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31310 echo "$as_me:$LINENO: result: yes" >&5
31311 echo "${ECHO_T}yes" >&6
31312
31313 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31314 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31315
31316 fi
31317
31318 pkg_failed=no
31319 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31320 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
31321
31322 if test -n "$PKG_CONFIG"; then
31323 if test -n "$PANGOFT2_CFLAGS"; then
31324 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31325 else
31326 if test -n "$PKG_CONFIG" && \
31327 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31328 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31329 ac_status=$?
31330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31331 (exit $ac_status); }; then
31332 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31333 else
31334 pkg_failed=yes
31335 fi
31336 fi
31337 else
31338 pkg_failed=untried
31339 fi
31340 if test -n "$PKG_CONFIG"; then
31341 if test -n "$PANGOFT2_LIBS"; then
31342 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31343 else
31344 if test -n "$PKG_CONFIG" && \
31345 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31346 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31347 ac_status=$?
31348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31349 (exit $ac_status); }; then
31350 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31351 else
31352 pkg_failed=yes
31353 fi
31354 fi
31355 else
31356 pkg_failed=untried
31357 fi
31358
31359
31360
31361 if test $pkg_failed = yes; then
31362
31363 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31364 _pkg_short_errors_supported=yes
31365 else
31366 _pkg_short_errors_supported=no
31367 fi
31368 if test $_pkg_short_errors_supported = yes; then
31369 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31370 else
31371 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31372 fi
31373 # Put the nasty error message in config.log where it belongs
31374 echo "$PANGOFT2_PKG_ERRORS" >&5
31375
31376
31377 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31378 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31379 wxUSE_PRINTING_ARCHITECTURE="no"
31380
31381
31382 elif test $pkg_failed = untried; then
31383
31384 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31385 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31386 wxUSE_PRINTING_ARCHITECTURE="no"
31387
31388
31389 else
31390 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31391 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31392 echo "$as_me:$LINENO: result: yes" >&5
31393 echo "${ECHO_T}yes" >&6
31394
31395 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31396 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31397
31398 fi
31399
31400 pkg_failed=no
31401 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31402 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
31403
31404 if test -n "$PKG_CONFIG"; then
31405 if test -n "$PANGOXFT_CFLAGS"; then
31406 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31407 else
31408 if test -n "$PKG_CONFIG" && \
31409 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31410 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31411 ac_status=$?
31412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31413 (exit $ac_status); }; then
31414 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31415 else
31416 pkg_failed=yes
31417 fi
31418 fi
31419 else
31420 pkg_failed=untried
31421 fi
31422 if test -n "$PKG_CONFIG"; then
31423 if test -n "$PANGOXFT_LIBS"; then
31424 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31425 else
31426 if test -n "$PKG_CONFIG" && \
31427 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31428 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31429 ac_status=$?
31430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31431 (exit $ac_status); }; then
31432 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31433 else
31434 pkg_failed=yes
31435 fi
31436 fi
31437 else
31438 pkg_failed=untried
31439 fi
31440
31441
31442
31443 if test $pkg_failed = yes; then
31444
31445 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31446 _pkg_short_errors_supported=yes
31447 else
31448 _pkg_short_errors_supported=no
31449 fi
31450 if test $_pkg_short_errors_supported = yes; then
31451 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31452 else
31453 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31454 fi
31455 # Put the nasty error message in config.log where it belongs
31456 echo "$PANGOXFT_PKG_ERRORS" >&5
31457
31458
31459 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31460 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31461
31462
31463 elif test $pkg_failed = untried; then
31464
31465 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31466 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31467
31468
31469 else
31470 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31471 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31472 echo "$as_me:$LINENO: result: yes" >&5
31473 echo "${ECHO_T}yes" >&6
31474
31475 cat >>confdefs.h <<\_ACEOF
31476 #define HAVE_PANGO_XFT 1
31477 _ACEOF
31478
31479 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31480 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31481
31482 fi
31483 save_CXXFLAGS="$CXXFLAGS"
31484 save_LIBS="$LIBS"
31485 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31486 LIBS="$LIBS $PANGOX_LIBS"
31487
31488 for ac_func in pango_font_family_is_monospace
31489 do
31490 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31491 echo "$as_me:$LINENO: checking for $ac_func" >&5
31492 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31493 if eval "test \"\${$as_ac_var+set}\" = set"; then
31494 echo $ECHO_N "(cached) $ECHO_C" >&6
31495 else
31496 cat >conftest.$ac_ext <<_ACEOF
31497 /* confdefs.h. */
31498 _ACEOF
31499 cat confdefs.h >>conftest.$ac_ext
31500 cat >>conftest.$ac_ext <<_ACEOF
31501 /* end confdefs.h. */
31502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31504 #define $ac_func innocuous_$ac_func
31505
31506 /* System header to define __stub macros and hopefully few prototypes,
31507 which can conflict with char $ac_func (); below.
31508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31509 <limits.h> exists even on freestanding compilers. */
31510
31511 #ifdef __STDC__
31512 # include <limits.h>
31513 #else
31514 # include <assert.h>
31515 #endif
31516
31517 #undef $ac_func
31518
31519 /* Override any gcc2 internal prototype to avoid an error. */
31520 #ifdef __cplusplus
31521 extern "C"
31522 {
31523 #endif
31524 /* We use char because int might match the return type of a gcc2
31525 builtin and then its argument prototype would still apply. */
31526 char $ac_func ();
31527 /* The GNU C library defines this for functions which it implements
31528 to always fail with ENOSYS. Some functions are actually named
31529 something starting with __ and the normal name is an alias. */
31530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31531 choke me
31532 #else
31533 char (*f) () = $ac_func;
31534 #endif
31535 #ifdef __cplusplus
31536 }
31537 #endif
31538
31539 int
31540 main ()
31541 {
31542 return f != $ac_func;
31543 ;
31544 return 0;
31545 }
31546 _ACEOF
31547 rm -f conftest.$ac_objext conftest$ac_exeext
31548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31549 (eval $ac_link) 2>conftest.er1
31550 ac_status=$?
31551 grep -v '^ *+' conftest.er1 >conftest.err
31552 rm -f conftest.er1
31553 cat conftest.err >&5
31554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31555 (exit $ac_status); } &&
31556 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31558 (eval $ac_try) 2>&5
31559 ac_status=$?
31560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31561 (exit $ac_status); }; } &&
31562 { ac_try='test -s conftest$ac_exeext'
31563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31564 (eval $ac_try) 2>&5
31565 ac_status=$?
31566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31567 (exit $ac_status); }; }; then
31568 eval "$as_ac_var=yes"
31569 else
31570 echo "$as_me: failed program was:" >&5
31571 sed 's/^/| /' conftest.$ac_ext >&5
31572
31573 eval "$as_ac_var=no"
31574 fi
31575 rm -f conftest.err conftest.$ac_objext \
31576 conftest$ac_exeext conftest.$ac_ext
31577 fi
31578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31580 if test `eval echo '${'$as_ac_var'}'` = yes; then
31581 cat >>confdefs.h <<_ACEOF
31582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31583 _ACEOF
31584
31585 fi
31586 done
31587
31588 CXXFLAGS="$save_CXXFLAGS"
31589 LIBS="$save_LIBS"
31590 fi
31591
31592 wxUSE_UNIVERSAL="yes"
31593
31594 if test "$wxUSE_NANOX" = "yes"; then
31595 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31596 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"
31597 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31598 else
31599 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31600 fi
31601
31602 TOOLKIT=X11
31603 GUIDIST=X11_DIST
31604 fi
31605
31606 if test "$wxUSE_MOTIF" = 1; then
31607 if test "$wxUSE_UNICODE" = "yes"; then
31608 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31609 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31610 { (exit 1); exit 1; }; }
31611 fi
31612
31613 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31614 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31615
31616 ac_find_includes=
31617 for ac_dir in $SEARCH_INCLUDE /usr/include;
31618 do
31619 if test -f "$ac_dir/Xm/Xm.h"; then
31620 ac_find_includes=$ac_dir
31621 break
31622 fi
31623 done
31624
31625 if test "$ac_find_includes" != "" ; then
31626 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31627 echo "${ECHO_T}found in $ac_find_includes" >&6
31628
31629 if test "x$ac_find_includes" = "x/usr/include"; then
31630 ac_path_to_include=""
31631 else
31632 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31633 result=$?
31634 if test $result = 0; then
31635 ac_path_to_include=""
31636 else
31637 ac_path_to_include=" -I$ac_find_includes"
31638 fi
31639 fi
31640
31641 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31642 else
31643 save_CXXFLAGS=$CXXFLAGS
31644 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31645
31646 cat >conftest.$ac_ext <<_ACEOF
31647 /* confdefs.h. */
31648 _ACEOF
31649 cat confdefs.h >>conftest.$ac_ext
31650 cat >>conftest.$ac_ext <<_ACEOF
31651 /* end confdefs.h. */
31652
31653 #include <Xm/Xm.h>
31654
31655 int
31656 main ()
31657 {
31658
31659 int version;
31660 version = xmUseVersion;
31661
31662 ;
31663 return 0;
31664 }
31665 _ACEOF
31666 rm -f conftest.$ac_objext
31667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31668 (eval $ac_compile) 2>conftest.er1
31669 ac_status=$?
31670 grep -v '^ *+' conftest.er1 >conftest.err
31671 rm -f conftest.er1
31672 cat conftest.err >&5
31673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31674 (exit $ac_status); } &&
31675 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31677 (eval $ac_try) 2>&5
31678 ac_status=$?
31679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31680 (exit $ac_status); }; } &&
31681 { ac_try='test -s conftest.$ac_objext'
31682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31683 (eval $ac_try) 2>&5
31684 ac_status=$?
31685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31686 (exit $ac_status); }; }; then
31687
31688 echo "$as_me:$LINENO: result: found in default search path" >&5
31689 echo "${ECHO_T}found in default search path" >&6
31690 COMPILED_X_PROGRAM=1
31691
31692 else
31693 echo "$as_me: failed program was:" >&5
31694 sed 's/^/| /' conftest.$ac_ext >&5
31695
31696
31697 echo "$as_me:$LINENO: result: no" >&5
31698 echo "${ECHO_T}no" >&6
31699 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31700 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31701 { (exit 1); exit 1; }; }
31702
31703
31704 fi
31705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31706
31707 CXXFLAGS=$save_CXXFLAGS
31708 fi
31709
31710
31711 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31712 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31713
31714 ac_find_libraries=
31715 for ac_dir in $SEARCH_LIB;
31716 do
31717 for ac_extension in a so sl dylib dll.a; do
31718 if test -f "$ac_dir/libXm.$ac_extension"; then
31719 ac_find_libraries=$ac_dir
31720 break 2
31721 fi
31722 done
31723 done
31724
31725
31726 if test "x$ac_find_libraries" != "x" ; then
31727 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31728 echo "${ECHO_T}found in $ac_find_libraries" >&6
31729
31730
31731 if test "$ac_find_libraries" = "default location"; then
31732 ac_path_to_link=""
31733 else
31734 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31735 result=$?
31736 if test $result = 0; then
31737 ac_path_to_link=""
31738 else
31739 ac_path_to_link=" -L$ac_find_libraries"
31740 fi
31741 fi
31742
31743 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31744 else
31745 save_CXXFLAGS=$CXXFLAGS
31746 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31747 save_LIBS="$LIBS"
31748 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31749
31750 cat >conftest.$ac_ext <<_ACEOF
31751 /* confdefs.h. */
31752 _ACEOF
31753 cat confdefs.h >>conftest.$ac_ext
31754 cat >>conftest.$ac_ext <<_ACEOF
31755 /* end confdefs.h. */
31756
31757 #include <Xm/Xm.h>
31758
31759 int
31760 main ()
31761 {
31762
31763 int version;
31764 version = xmUseVersion;
31765
31766 ;
31767 return 0;
31768 }
31769 _ACEOF
31770 rm -f conftest.$ac_objext conftest$ac_exeext
31771 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31772 (eval $ac_link) 2>conftest.er1
31773 ac_status=$?
31774 grep -v '^ *+' conftest.er1 >conftest.err
31775 rm -f conftest.er1
31776 cat conftest.err >&5
31777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31778 (exit $ac_status); } &&
31779 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31781 (eval $ac_try) 2>&5
31782 ac_status=$?
31783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31784 (exit $ac_status); }; } &&
31785 { ac_try='test -s conftest$ac_exeext'
31786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31787 (eval $ac_try) 2>&5
31788 ac_status=$?
31789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31790 (exit $ac_status); }; }; then
31791
31792 echo "$as_me:$LINENO: result: found in default search path" >&5
31793 echo "${ECHO_T}found in default search path" >&6
31794 COMPILED_X_PROGRAM=1
31795
31796 else
31797 echo "$as_me: failed program was:" >&5
31798 sed 's/^/| /' conftest.$ac_ext >&5
31799
31800
31801 echo "$as_me:$LINENO: result: no" >&5
31802 echo "${ECHO_T}no" >&6
31803 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31804 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31805 { (exit 1); exit 1; }; }
31806
31807
31808 fi
31809 rm -f conftest.err conftest.$ac_objext \
31810 conftest$ac_exeext conftest.$ac_ext
31811
31812 CXXFLAGS=$save_CXXFLAGS
31813 LIBS="$save_LIBS"
31814 fi
31815
31816 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31817 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31818 libp_link=""
31819 libsm_ice_link=""
31820 libs_found=0
31821 for libp in "" " -lXp"; do
31822 if test "$libs_found" = "0"; then
31823 for libsm_ice in "" " -lSM -lICE"; do
31824 if test "$libs_found" = "0"; then
31825 save_LIBS="$LIBS"
31826 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31827 save_CXXFLAGS=$CXXFLAGS
31828 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31829
31830 cat >conftest.$ac_ext <<_ACEOF
31831 /* confdefs.h. */
31832 _ACEOF
31833 cat confdefs.h >>conftest.$ac_ext
31834 cat >>conftest.$ac_ext <<_ACEOF
31835 /* end confdefs.h. */
31836
31837 #include <Xm/Xm.h>
31838 #include <Xm/List.h>
31839
31840 int
31841 main ()
31842 {
31843
31844 XmString string = NULL;
31845 Widget w = NULL;
31846 int position = 0;
31847 XmListAddItem(w, string, position);
31848
31849 ;
31850 return 0;
31851 }
31852 _ACEOF
31853 rm -f conftest.$ac_objext conftest$ac_exeext
31854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31855 (eval $ac_link) 2>conftest.er1
31856 ac_status=$?
31857 grep -v '^ *+' conftest.er1 >conftest.err
31858 rm -f conftest.er1
31859 cat conftest.err >&5
31860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31861 (exit $ac_status); } &&
31862 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31864 (eval $ac_try) 2>&5
31865 ac_status=$?
31866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31867 (exit $ac_status); }; } &&
31868 { ac_try='test -s conftest$ac_exeext'
31869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31870 (eval $ac_try) 2>&5
31871 ac_status=$?
31872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31873 (exit $ac_status); }; }; then
31874
31875 libp_link="$libp"
31876 libsm_ice_link="$libsm_ice"
31877 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31878 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31879 libs_found=1
31880
31881 else
31882 echo "$as_me: failed program was:" >&5
31883 sed 's/^/| /' conftest.$ac_ext >&5
31884
31885
31886
31887 fi
31888 rm -f conftest.err conftest.$ac_objext \
31889 conftest$ac_exeext conftest.$ac_ext
31890
31891 LIBS="$save_LIBS"
31892 CXXFLAGS=$save_CXXFLAGS
31893 fi
31894 done
31895 fi
31896 done
31897
31898 if test "$libs_found" = "0"; then
31899 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31900 echo "${ECHO_T}can't find the right libraries" >&6
31901 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31902 echo "$as_me: error: can't link a simple motif program" >&2;}
31903 { (exit 1); exit 1; }; }
31904 fi
31905
31906 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31907 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31908 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31909 echo $ECHO_N "(cached) $ECHO_C" >&6
31910 else
31911 ac_check_lib_save_LIBS=$LIBS
31912 LIBS="-lSgm $LIBS"
31913 cat >conftest.$ac_ext <<_ACEOF
31914 /* confdefs.h. */
31915 _ACEOF
31916 cat confdefs.h >>conftest.$ac_ext
31917 cat >>conftest.$ac_ext <<_ACEOF
31918 /* end confdefs.h. */
31919
31920 /* Override any gcc2 internal prototype to avoid an error. */
31921 #ifdef __cplusplus
31922 extern "C"
31923 #endif
31924 /* We use char because int might match the return type of a gcc2
31925 builtin and then its argument prototype would still apply. */
31926 char SgCreateList ();
31927 int
31928 main ()
31929 {
31930 SgCreateList ();
31931 ;
31932 return 0;
31933 }
31934 _ACEOF
31935 rm -f conftest.$ac_objext conftest$ac_exeext
31936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31937 (eval $ac_link) 2>conftest.er1
31938 ac_status=$?
31939 grep -v '^ *+' conftest.er1 >conftest.err
31940 rm -f conftest.er1
31941 cat conftest.err >&5
31942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31943 (exit $ac_status); } &&
31944 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31946 (eval $ac_try) 2>&5
31947 ac_status=$?
31948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31949 (exit $ac_status); }; } &&
31950 { ac_try='test -s conftest$ac_exeext'
31951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31952 (eval $ac_try) 2>&5
31953 ac_status=$?
31954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31955 (exit $ac_status); }; }; then
31956 ac_cv_lib_Sgm_SgCreateList=yes
31957 else
31958 echo "$as_me: failed program was:" >&5
31959 sed 's/^/| /' conftest.$ac_ext >&5
31960
31961 ac_cv_lib_Sgm_SgCreateList=no
31962 fi
31963 rm -f conftest.err conftest.$ac_objext \
31964 conftest$ac_exeext conftest.$ac_ext
31965 LIBS=$ac_check_lib_save_LIBS
31966 fi
31967 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31968 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
31969 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31970 libsgm_link=" -lSgm"
31971 fi
31972
31973
31974 save_CXXFLAGS=$CXXFLAGS
31975 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31976
31977 echo "$as_me:$LINENO: checking for Motif 2" >&5
31978 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
31979 if test "${wx_cv_lib_motif2+set}" = set; then
31980 echo $ECHO_N "(cached) $ECHO_C" >&6
31981 else
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
31991 int
31992 main ()
31993 {
31994
31995 #if XmVersion < 2000
31996 Not Motif 2
31997 #endif
31998
31999 ;
32000 return 0;
32001 }
32002 _ACEOF
32003 rm -f conftest.$ac_objext
32004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32005 (eval $ac_compile) 2>conftest.er1
32006 ac_status=$?
32007 grep -v '^ *+' conftest.er1 >conftest.err
32008 rm -f conftest.er1
32009 cat conftest.err >&5
32010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32011 (exit $ac_status); } &&
32012 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32014 (eval $ac_try) 2>&5
32015 ac_status=$?
32016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32017 (exit $ac_status); }; } &&
32018 { ac_try='test -s conftest.$ac_objext'
32019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32020 (eval $ac_try) 2>&5
32021 ac_status=$?
32022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32023 (exit $ac_status); }; }; then
32024 wx_cv_lib_motif2="yes"
32025 else
32026 echo "$as_me: failed program was:" >&5
32027 sed 's/^/| /' conftest.$ac_ext >&5
32028
32029 wx_cv_lib_motif2="no"
32030 fi
32031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32032 fi
32033 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32034 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
32035 if test "$wx_cv_lib_motif2" = "yes"; then
32036 cat >>confdefs.h <<\_ACEOF
32037 #define __WXMOTIF20__ 1
32038 _ACEOF
32039
32040 else
32041 cat >>confdefs.h <<\_ACEOF
32042 #define __WXMOTIF20__ 0
32043 _ACEOF
32044
32045 fi
32046
32047 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32048 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
32049 if test "${wx_cv_lib_lesstif+set}" = set; then
32050 echo $ECHO_N "(cached) $ECHO_C" >&6
32051 else
32052 cat >conftest.$ac_ext <<_ACEOF
32053 /* confdefs.h. */
32054 _ACEOF
32055 cat confdefs.h >>conftest.$ac_ext
32056 cat >>conftest.$ac_ext <<_ACEOF
32057 /* end confdefs.h. */
32058
32059 #include <Xm/Xm.h>
32060
32061 int
32062 main ()
32063 {
32064
32065 #if !defined(LesstifVersion) || LesstifVersion <= 0
32066 Not Lesstif
32067 #endif
32068
32069 ;
32070 return 0;
32071 }
32072 _ACEOF
32073 rm -f conftest.$ac_objext
32074 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32075 (eval $ac_compile) 2>conftest.er1
32076 ac_status=$?
32077 grep -v '^ *+' conftest.er1 >conftest.err
32078 rm -f conftest.er1
32079 cat conftest.err >&5
32080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32081 (exit $ac_status); } &&
32082 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32084 (eval $ac_try) 2>&5
32085 ac_status=$?
32086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32087 (exit $ac_status); }; } &&
32088 { ac_try='test -s conftest.$ac_objext'
32089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32090 (eval $ac_try) 2>&5
32091 ac_status=$?
32092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32093 (exit $ac_status); }; }; then
32094 wx_cv_lib_lesstif="yes"
32095 else
32096 echo "$as_me: failed program was:" >&5
32097 sed 's/^/| /' conftest.$ac_ext >&5
32098
32099 wx_cv_lib_lesstif="no"
32100 fi
32101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32102
32103 fi
32104 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32105 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
32106 if test "$wx_cv_lib_lesstif" = "yes"; then
32107 cat >>confdefs.h <<\_ACEOF
32108 #define __WXLESSTIF__ 1
32109 _ACEOF
32110
32111 else
32112 cat >>confdefs.h <<\_ACEOF
32113 #define __WXLESSTIF__ 0
32114 _ACEOF
32115
32116 fi
32117
32118 CXXFLAGS=$save_CXXFLAGS
32119
32120 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32121 TOOLKIT=MOTIF
32122 GUIDIST=MOTIF_DIST
32123 fi
32124
32125 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32126 if test "$wxUSE_LIBXPM" = "sys"; then
32127 echo "$as_me:$LINENO: checking for Xpm library" >&5
32128 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
32129
32130 ac_find_libraries=
32131 for ac_dir in $SEARCH_LIB;
32132 do
32133 for ac_extension in a so sl dylib dll.a; do
32134 if test -f "$ac_dir/libXpm.$ac_extension"; then
32135 ac_find_libraries=$ac_dir
32136 break 2
32137 fi
32138 done
32139 done
32140
32141 if test "$ac_find_libraries" != "" ; then
32142
32143 if test "$ac_find_libraries" = "default location"; then
32144 ac_path_to_link=""
32145 else
32146 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32147 result=$?
32148 if test $result = 0; then
32149 ac_path_to_link=""
32150 else
32151 ac_path_to_link=" -L$ac_find_libraries"
32152 fi
32153 fi
32154
32155 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32156 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32157 echo "${ECHO_T}found in $ac_find_libraries" >&6
32158
32159 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32160 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
32161 if test "${wx_cv_x11_xpm_h+set}" = set; then
32162 echo $ECHO_N "(cached) $ECHO_C" >&6
32163 else
32164
32165 save_CXXFLAGS=$CXXFLAGS
32166 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
32167
32168 cat >conftest.$ac_ext <<_ACEOF
32169 /* confdefs.h. */
32170 _ACEOF
32171 cat confdefs.h >>conftest.$ac_ext
32172 cat >>conftest.$ac_ext <<_ACEOF
32173 /* end confdefs.h. */
32174
32175 #include <X11/xpm.h>
32176
32177 int
32178 main ()
32179 {
32180
32181 int version;
32182 version = XpmLibraryVersion();
32183
32184 ;
32185 return 0;
32186 }
32187 _ACEOF
32188 rm -f conftest.$ac_objext
32189 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32190 (eval $ac_compile) 2>conftest.er1
32191 ac_status=$?
32192 grep -v '^ *+' conftest.er1 >conftest.err
32193 rm -f conftest.er1
32194 cat conftest.err >&5
32195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32196 (exit $ac_status); } &&
32197 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32199 (eval $ac_try) 2>&5
32200 ac_status=$?
32201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32202 (exit $ac_status); }; } &&
32203 { ac_try='test -s conftest.$ac_objext'
32204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32205 (eval $ac_try) 2>&5
32206 ac_status=$?
32207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32208 (exit $ac_status); }; }; then
32209 wx_cv_x11_xpm_h=yes
32210 else
32211 echo "$as_me: failed program was:" >&5
32212 sed 's/^/| /' conftest.$ac_ext >&5
32213
32214 wx_cv_x11_xpm_h=no
32215
32216 fi
32217 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32218
32219 CXXFLAGS=$save_CXXFLAGS
32220
32221
32222 fi
32223 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32224 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
32225
32226 if test $wx_cv_x11_xpm_h = "yes"; then
32227 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32228 cat >>confdefs.h <<\_ACEOF
32229 #define wxHAVE_LIB_XPM 1
32230 _ACEOF
32231
32232 else
32233 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32234 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32235 fi
32236 fi
32237
32238 fi
32239
32240 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32241 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
32242 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32243 echo $ECHO_N "(cached) $ECHO_C" >&6
32244 else
32245 ac_check_lib_save_LIBS=$LIBS
32246 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32247 cat >conftest.$ac_ext <<_ACEOF
32248 /* confdefs.h. */
32249 _ACEOF
32250 cat confdefs.h >>conftest.$ac_ext
32251 cat >>conftest.$ac_ext <<_ACEOF
32252 /* end confdefs.h. */
32253
32254 /* Override any gcc2 internal prototype to avoid an error. */
32255 #ifdef __cplusplus
32256 extern "C"
32257 #endif
32258 /* We use char because int might match the return type of a gcc2
32259 builtin and then its argument prototype would still apply. */
32260 char XShapeQueryExtension ();
32261 int
32262 main ()
32263 {
32264 XShapeQueryExtension ();
32265 ;
32266 return 0;
32267 }
32268 _ACEOF
32269 rm -f conftest.$ac_objext conftest$ac_exeext
32270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32271 (eval $ac_link) 2>conftest.er1
32272 ac_status=$?
32273 grep -v '^ *+' conftest.er1 >conftest.err
32274 rm -f conftest.er1
32275 cat conftest.err >&5
32276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32277 (exit $ac_status); } &&
32278 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32280 (eval $ac_try) 2>&5
32281 ac_status=$?
32282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32283 (exit $ac_status); }; } &&
32284 { ac_try='test -s conftest$ac_exeext'
32285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32286 (eval $ac_try) 2>&5
32287 ac_status=$?
32288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32289 (exit $ac_status); }; }; then
32290 ac_cv_lib_Xext_XShapeQueryExtension=yes
32291 else
32292 echo "$as_me: failed program was:" >&5
32293 sed 's/^/| /' conftest.$ac_ext >&5
32294
32295 ac_cv_lib_Xext_XShapeQueryExtension=no
32296 fi
32297 rm -f conftest.err conftest.$ac_objext \
32298 conftest$ac_exeext conftest.$ac_ext
32299 LIBS=$ac_check_lib_save_LIBS
32300 fi
32301 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32302 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
32303 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32304
32305 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32306 wxHAVE_XEXT_LIB=1
32307
32308 fi
32309
32310
32311 if test "$wxHAVE_XEXT_LIB" = 1; then
32312 save_CXXFLAGS="$CXXFLAGS"
32313 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
32314
32315 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32316 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
32317 cat >conftest.$ac_ext <<_ACEOF
32318 /* confdefs.h. */
32319 _ACEOF
32320 cat confdefs.h >>conftest.$ac_ext
32321 cat >>conftest.$ac_ext <<_ACEOF
32322 /* end confdefs.h. */
32323
32324 #include <X11/Xlib.h>
32325 #include <X11/extensions/shape.h>
32326
32327 int
32328 main ()
32329 {
32330
32331 int dummy1, dummy2;
32332 XShapeQueryExtension((Display*)NULL,
32333 (int*)NULL, (int*)NULL);
32334
32335 ;
32336 return 0;
32337 }
32338 _ACEOF
32339 rm -f conftest.$ac_objext
32340 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32341 (eval $ac_compile) 2>conftest.er1
32342 ac_status=$?
32343 grep -v '^ *+' conftest.er1 >conftest.err
32344 rm -f conftest.er1
32345 cat conftest.err >&5
32346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32347 (exit $ac_status); } &&
32348 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32350 (eval $ac_try) 2>&5
32351 ac_status=$?
32352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32353 (exit $ac_status); }; } &&
32354 { ac_try='test -s conftest.$ac_objext'
32355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32356 (eval $ac_try) 2>&5
32357 ac_status=$?
32358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32359 (exit $ac_status); }; }; then
32360
32361 cat >>confdefs.h <<\_ACEOF
32362 #define HAVE_XSHAPE 1
32363 _ACEOF
32364
32365 echo "$as_me:$LINENO: result: found" >&5
32366 echo "${ECHO_T}found" >&6
32367
32368 else
32369 echo "$as_me: failed program was:" >&5
32370 sed 's/^/| /' conftest.$ac_ext >&5
32371
32372
32373 echo "$as_me:$LINENO: result: not found" >&5
32374 echo "${ECHO_T}not found" >&6
32375
32376 fi
32377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32378 CXXFLAGS="$save_CXXFLAGS"
32379
32380 fi
32381 fi
32382
32383 if test "$wxUSE_MAC" = 1; then
32384 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32385 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
32386 if test "$GCC" = yes; then
32387 echo "$as_me:$LINENO: result: gcc" >&5
32388 echo "${ECHO_T}gcc" >&6
32389 CPPFLAGS_PASCAL="-fpascal-strings"
32390 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32391 echo "$as_me:$LINENO: result: xlc" >&5
32392 echo "${ECHO_T}xlc" >&6
32393 CPPFLAGS_PASCAL="-qmacpstr"
32394 else
32395 echo "$as_me:$LINENO: result: none" >&5
32396 echo "${ECHO_T}none" >&6
32397 fi
32398
32399 if test "x$wxUSE_UNIX" = "xyes"; then
32400 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32401 else
32402 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32403 fi
32404
32405 TOOLKIT=MAC
32406 GUIDIST=MACX_DIST
32407 WXBASEPORT="_carbon"
32408 fi
32409
32410 if test "$wxUSE_COCOA" = 1; then
32411 TOOLKIT=COCOA
32412 GUIDIST=COCOA_DIST
32413 fi
32414
32415 if test "$wxUSE_PM" = 1; then
32416 TOOLKIT=PM
32417 GUIDIST=PM_DIST
32418 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32419 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
32420 if test "${wx_cv_spbcdata+set}" = set; then
32421 echo $ECHO_N "(cached) $ECHO_C" >&6
32422 else
32423
32424 cat >conftest.$ac_ext <<_ACEOF
32425 /* confdefs.h. */
32426 _ACEOF
32427 cat confdefs.h >>conftest.$ac_ext
32428 cat >>conftest.$ac_ext <<_ACEOF
32429 /* end confdefs.h. */
32430
32431 #define INCL_PM
32432 #include <os2.h>
32433
32434 int
32435 main ()
32436 {
32437
32438 SPBCDATA test;
32439
32440 ;
32441 return 0;
32442 }
32443 _ACEOF
32444 rm -f conftest.$ac_objext
32445 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32446 (eval $ac_compile) 2>conftest.er1
32447 ac_status=$?
32448 grep -v '^ *+' conftest.er1 >conftest.err
32449 rm -f conftest.er1
32450 cat conftest.err >&5
32451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32452 (exit $ac_status); } &&
32453 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32455 (eval $ac_try) 2>&5
32456 ac_status=$?
32457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32458 (exit $ac_status); }; } &&
32459 { ac_try='test -s conftest.$ac_objext'
32460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32461 (eval $ac_try) 2>&5
32462 ac_status=$?
32463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32464 (exit $ac_status); }; }; then
32465 wx_cv_spbcdata=yes
32466 else
32467 echo "$as_me: failed program was:" >&5
32468 sed 's/^/| /' conftest.$ac_ext >&5
32469
32470 wx_cv_spbcdata=no
32471
32472 fi
32473 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32474
32475
32476 fi
32477 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32478 echo "${ECHO_T}$wx_cv_spbcdata" >&6
32479
32480 if test $wx_cv_spbcdata = "yes"; then
32481 cat >>confdefs.h <<\_ACEOF
32482 #define HAVE_SPBCDATA 1
32483 _ACEOF
32484
32485 fi
32486 fi
32487
32488 if test "$TOOLKIT" = "PM" ; then
32489 TOOLKIT_DIR="os2"
32490 else
32491 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
32492 fi
32493
32494 if test "$wxUSE_UNIVERSAL" = "yes"; then
32495 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32496 WIDGET_SET=univ
32497 fi
32498
32499 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32500 DISTDIR="wx\$(TOOLKIT)"
32501 else
32502 USE_GUI=0
32503
32504 TOOLKIT_DIR="base"
32505
32506 if test "$USE_WIN32" = 1 ; then
32507 TOOLKIT="MSW"
32508 fi
32509
32510 GUIDIST="BASE_DIST"
32511 DISTDIR="wxBase"
32512 fi
32513
32514
32515 if test "$wxUSE_GUI" = "yes"; then
32516 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32517
32518 for ac_header in X11/Xlib.h
32519 do
32520 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32521 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32522 echo "$as_me:$LINENO: checking for $ac_header" >&5
32523 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32524 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32525 echo $ECHO_N "(cached) $ECHO_C" >&6
32526 fi
32527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32528 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32529 else
32530 # Is the header compilable?
32531 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32532 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32533 cat >conftest.$ac_ext <<_ACEOF
32534 /* confdefs.h. */
32535 _ACEOF
32536 cat confdefs.h >>conftest.$ac_ext
32537 cat >>conftest.$ac_ext <<_ACEOF
32538 /* end confdefs.h. */
32539 $ac_includes_default
32540 #include <$ac_header>
32541 _ACEOF
32542 rm -f conftest.$ac_objext
32543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32544 (eval $ac_compile) 2>conftest.er1
32545 ac_status=$?
32546 grep -v '^ *+' conftest.er1 >conftest.err
32547 rm -f conftest.er1
32548 cat conftest.err >&5
32549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32550 (exit $ac_status); } &&
32551 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32553 (eval $ac_try) 2>&5
32554 ac_status=$?
32555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32556 (exit $ac_status); }; } &&
32557 { ac_try='test -s conftest.$ac_objext'
32558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32559 (eval $ac_try) 2>&5
32560 ac_status=$?
32561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32562 (exit $ac_status); }; }; then
32563 ac_header_compiler=yes
32564 else
32565 echo "$as_me: failed program was:" >&5
32566 sed 's/^/| /' conftest.$ac_ext >&5
32567
32568 ac_header_compiler=no
32569 fi
32570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32571 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32572 echo "${ECHO_T}$ac_header_compiler" >&6
32573
32574 # Is the header present?
32575 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32576 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32577 cat >conftest.$ac_ext <<_ACEOF
32578 /* confdefs.h. */
32579 _ACEOF
32580 cat confdefs.h >>conftest.$ac_ext
32581 cat >>conftest.$ac_ext <<_ACEOF
32582 /* end confdefs.h. */
32583 #include <$ac_header>
32584 _ACEOF
32585 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32586 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32587 ac_status=$?
32588 grep -v '^ *+' conftest.er1 >conftest.err
32589 rm -f conftest.er1
32590 cat conftest.err >&5
32591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32592 (exit $ac_status); } >/dev/null; then
32593 if test -s conftest.err; then
32594 ac_cpp_err=$ac_cxx_preproc_warn_flag
32595 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32596 else
32597 ac_cpp_err=
32598 fi
32599 else
32600 ac_cpp_err=yes
32601 fi
32602 if test -z "$ac_cpp_err"; then
32603 ac_header_preproc=yes
32604 else
32605 echo "$as_me: failed program was:" >&5
32606 sed 's/^/| /' conftest.$ac_ext >&5
32607
32608 ac_header_preproc=no
32609 fi
32610 rm -f conftest.err conftest.$ac_ext
32611 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32612 echo "${ECHO_T}$ac_header_preproc" >&6
32613
32614 # So? What about this header?
32615 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32616 yes:no: )
32617 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32618 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32619 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32620 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32621 ac_header_preproc=yes
32622 ;;
32623 no:yes:* )
32624 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32625 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32626 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32627 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32628 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32629 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32630 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32631 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32632 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32633 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32634 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32635 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32636 (
32637 cat <<\_ASBOX
32638 ## ----------------------------------------- ##
32639 ## Report this to wx-dev@lists.wxwidgets.org ##
32640 ## ----------------------------------------- ##
32641 _ASBOX
32642 ) |
32643 sed "s/^/$as_me: WARNING: /" >&2
32644 ;;
32645 esac
32646 echo "$as_me:$LINENO: checking for $ac_header" >&5
32647 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32648 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32649 echo $ECHO_N "(cached) $ECHO_C" >&6
32650 else
32651 eval "$as_ac_Header=\$ac_header_preproc"
32652 fi
32653 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32654 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32655
32656 fi
32657 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32658 cat >>confdefs.h <<_ACEOF
32659 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32660 _ACEOF
32661
32662 fi
32663
32664 done
32665
32666
32667 for ac_header in X11/XKBlib.h
32668 do
32669 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32670 echo "$as_me:$LINENO: checking for $ac_header" >&5
32671 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32672 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32673 echo $ECHO_N "(cached) $ECHO_C" >&6
32674 else
32675 cat >conftest.$ac_ext <<_ACEOF
32676 /* confdefs.h. */
32677 _ACEOF
32678 cat confdefs.h >>conftest.$ac_ext
32679 cat >>conftest.$ac_ext <<_ACEOF
32680 /* end confdefs.h. */
32681
32682 #if HAVE_X11_XLIB_H
32683 #include <X11/Xlib.h>
32684 #endif
32685
32686
32687 #include <$ac_header>
32688 _ACEOF
32689 rm -f conftest.$ac_objext
32690 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32691 (eval $ac_compile) 2>conftest.er1
32692 ac_status=$?
32693 grep -v '^ *+' conftest.er1 >conftest.err
32694 rm -f conftest.er1
32695 cat conftest.err >&5
32696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32697 (exit $ac_status); } &&
32698 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32700 (eval $ac_try) 2>&5
32701 ac_status=$?
32702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32703 (exit $ac_status); }; } &&
32704 { ac_try='test -s conftest.$ac_objext'
32705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32706 (eval $ac_try) 2>&5
32707 ac_status=$?
32708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32709 (exit $ac_status); }; }; then
32710 eval "$as_ac_Header=yes"
32711 else
32712 echo "$as_me: failed program was:" >&5
32713 sed 's/^/| /' conftest.$ac_ext >&5
32714
32715 eval "$as_ac_Header=no"
32716 fi
32717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32718 fi
32719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32720 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32721 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32722 cat >>confdefs.h <<_ACEOF
32723 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32724 _ACEOF
32725
32726 fi
32727
32728 done
32729
32730 fi
32731 fi
32732
32733
32734
32735 IODBC_C_SRC=""
32736
32737
32738 if test "$TOOLKIT" != "MSW" ; then
32739
32740 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32741
32742 if test "${ac_cv_header_sql_h+set}" = set; then
32743 echo "$as_me:$LINENO: checking for sql.h" >&5
32744 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32745 if test "${ac_cv_header_sql_h+set}" = set; then
32746 echo $ECHO_N "(cached) $ECHO_C" >&6
32747 fi
32748 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32749 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32750 else
32751 # Is the header compilable?
32752 echo "$as_me:$LINENO: checking sql.h usability" >&5
32753 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32754 cat >conftest.$ac_ext <<_ACEOF
32755 /* confdefs.h. */
32756 _ACEOF
32757 cat confdefs.h >>conftest.$ac_ext
32758 cat >>conftest.$ac_ext <<_ACEOF
32759 /* end confdefs.h. */
32760 $ac_includes_default
32761 #include <sql.h>
32762 _ACEOF
32763 rm -f conftest.$ac_objext
32764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32765 (eval $ac_compile) 2>conftest.er1
32766 ac_status=$?
32767 grep -v '^ *+' conftest.er1 >conftest.err
32768 rm -f conftest.er1
32769 cat conftest.err >&5
32770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32771 (exit $ac_status); } &&
32772 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32774 (eval $ac_try) 2>&5
32775 ac_status=$?
32776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32777 (exit $ac_status); }; } &&
32778 { ac_try='test -s conftest.$ac_objext'
32779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32780 (eval $ac_try) 2>&5
32781 ac_status=$?
32782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32783 (exit $ac_status); }; }; then
32784 ac_header_compiler=yes
32785 else
32786 echo "$as_me: failed program was:" >&5
32787 sed 's/^/| /' conftest.$ac_ext >&5
32788
32789 ac_header_compiler=no
32790 fi
32791 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32792 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32793 echo "${ECHO_T}$ac_header_compiler" >&6
32794
32795 # Is the header present?
32796 echo "$as_me:$LINENO: checking sql.h presence" >&5
32797 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32798 cat >conftest.$ac_ext <<_ACEOF
32799 /* confdefs.h. */
32800 _ACEOF
32801 cat confdefs.h >>conftest.$ac_ext
32802 cat >>conftest.$ac_ext <<_ACEOF
32803 /* end confdefs.h. */
32804 #include <sql.h>
32805 _ACEOF
32806 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32807 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32808 ac_status=$?
32809 grep -v '^ *+' conftest.er1 >conftest.err
32810 rm -f conftest.er1
32811 cat conftest.err >&5
32812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32813 (exit $ac_status); } >/dev/null; then
32814 if test -s conftest.err; then
32815 ac_cpp_err=$ac_cxx_preproc_warn_flag
32816 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32817 else
32818 ac_cpp_err=
32819 fi
32820 else
32821 ac_cpp_err=yes
32822 fi
32823 if test -z "$ac_cpp_err"; then
32824 ac_header_preproc=yes
32825 else
32826 echo "$as_me: failed program was:" >&5
32827 sed 's/^/| /' conftest.$ac_ext >&5
32828
32829 ac_header_preproc=no
32830 fi
32831 rm -f conftest.err conftest.$ac_ext
32832 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32833 echo "${ECHO_T}$ac_header_preproc" >&6
32834
32835 # So? What about this header?
32836 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32837 yes:no: )
32838 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32839 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32840 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32841 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32842 ac_header_preproc=yes
32843 ;;
32844 no:yes:* )
32845 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32846 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32847 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32848 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32849 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32850 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32851 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32852 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32853 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32854 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32855 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32856 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32857 (
32858 cat <<\_ASBOX
32859 ## ----------------------------------------- ##
32860 ## Report this to wx-dev@lists.wxwidgets.org ##
32861 ## ----------------------------------------- ##
32862 _ASBOX
32863 ) |
32864 sed "s/^/$as_me: WARNING: /" >&2
32865 ;;
32866 esac
32867 echo "$as_me:$LINENO: checking for sql.h" >&5
32868 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32869 if test "${ac_cv_header_sql_h+set}" = set; then
32870 echo $ECHO_N "(cached) $ECHO_C" >&6
32871 else
32872 ac_cv_header_sql_h=$ac_header_preproc
32873 fi
32874 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32875 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32876
32877 fi
32878 if test $ac_cv_header_sql_h = yes; then
32879 found_sql_h=1
32880 fi
32881
32882
32883 if test "x$found_sql_h" = "x1" ; then
32884 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32885 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32886 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32887 echo $ECHO_N "(cached) $ECHO_C" >&6
32888 else
32889 ac_check_lib_save_LIBS=$LIBS
32890 LIBS="-liodbc $LIBS"
32891 cat >conftest.$ac_ext <<_ACEOF
32892 /* confdefs.h. */
32893 _ACEOF
32894 cat confdefs.h >>conftest.$ac_ext
32895 cat >>conftest.$ac_ext <<_ACEOF
32896 /* end confdefs.h. */
32897
32898 /* Override any gcc2 internal prototype to avoid an error. */
32899 #ifdef __cplusplus
32900 extern "C"
32901 #endif
32902 /* We use char because int might match the return type of a gcc2
32903 builtin and then its argument prototype would still apply. */
32904 char SQLAllocEnv ();
32905 int
32906 main ()
32907 {
32908 SQLAllocEnv ();
32909 ;
32910 return 0;
32911 }
32912 _ACEOF
32913 rm -f conftest.$ac_objext conftest$ac_exeext
32914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32915 (eval $ac_link) 2>conftest.er1
32916 ac_status=$?
32917 grep -v '^ *+' conftest.er1 >conftest.err
32918 rm -f conftest.er1
32919 cat conftest.err >&5
32920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32921 (exit $ac_status); } &&
32922 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32924 (eval $ac_try) 2>&5
32925 ac_status=$?
32926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32927 (exit $ac_status); }; } &&
32928 { ac_try='test -s conftest$ac_exeext'
32929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32930 (eval $ac_try) 2>&5
32931 ac_status=$?
32932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32933 (exit $ac_status); }; }; then
32934 ac_cv_lib_iodbc_SQLAllocEnv=yes
32935 else
32936 echo "$as_me: failed program was:" >&5
32937 sed 's/^/| /' conftest.$ac_ext >&5
32938
32939 ac_cv_lib_iodbc_SQLAllocEnv=no
32940 fi
32941 rm -f conftest.err conftest.$ac_objext \
32942 conftest$ac_exeext conftest.$ac_ext
32943 LIBS=$ac_check_lib_save_LIBS
32944 fi
32945 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32946 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
32947 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32948 ODBC_LINK=" -liodbc"
32949 else
32950
32951 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32952 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
32953 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32954 echo $ECHO_N "(cached) $ECHO_C" >&6
32955 else
32956 ac_check_lib_save_LIBS=$LIBS
32957 LIBS="-lunixodbc $LIBS"
32958 cat >conftest.$ac_ext <<_ACEOF
32959 /* confdefs.h. */
32960 _ACEOF
32961 cat confdefs.h >>conftest.$ac_ext
32962 cat >>conftest.$ac_ext <<_ACEOF
32963 /* end confdefs.h. */
32964
32965 /* Override any gcc2 internal prototype to avoid an error. */
32966 #ifdef __cplusplus
32967 extern "C"
32968 #endif
32969 /* We use char because int might match the return type of a gcc2
32970 builtin and then its argument prototype would still apply. */
32971 char SQLAllocEnv ();
32972 int
32973 main ()
32974 {
32975 SQLAllocEnv ();
32976 ;
32977 return 0;
32978 }
32979 _ACEOF
32980 rm -f conftest.$ac_objext conftest$ac_exeext
32981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32982 (eval $ac_link) 2>conftest.er1
32983 ac_status=$?
32984 grep -v '^ *+' conftest.er1 >conftest.err
32985 rm -f conftest.er1
32986 cat conftest.err >&5
32987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32988 (exit $ac_status); } &&
32989 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32991 (eval $ac_try) 2>&5
32992 ac_status=$?
32993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32994 (exit $ac_status); }; } &&
32995 { ac_try='test -s conftest$ac_exeext'
32996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32997 (eval $ac_try) 2>&5
32998 ac_status=$?
32999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33000 (exit $ac_status); }; }; then
33001 ac_cv_lib_unixodbc_SQLAllocEnv=yes
33002 else
33003 echo "$as_me: failed program was:" >&5
33004 sed 's/^/| /' conftest.$ac_ext >&5
33005
33006 ac_cv_lib_unixodbc_SQLAllocEnv=no
33007 fi
33008 rm -f conftest.err conftest.$ac_objext \
33009 conftest$ac_exeext conftest.$ac_ext
33010 LIBS=$ac_check_lib_save_LIBS
33011 fi
33012 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
33013 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
33014 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
33015 ODBC_LINK=" -lunixodbc"
33016 else
33017
33018 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
33019 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
33020 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
33021 echo $ECHO_N "(cached) $ECHO_C" >&6
33022 else
33023 ac_check_lib_save_LIBS=$LIBS
33024 LIBS="-lodbc $LIBS"
33025 cat >conftest.$ac_ext <<_ACEOF
33026 /* confdefs.h. */
33027 _ACEOF
33028 cat confdefs.h >>conftest.$ac_ext
33029 cat >>conftest.$ac_ext <<_ACEOF
33030 /* end confdefs.h. */
33031
33032 /* Override any gcc2 internal prototype to avoid an error. */
33033 #ifdef __cplusplus
33034 extern "C"
33035 #endif
33036 /* We use char because int might match the return type of a gcc2
33037 builtin and then its argument prototype would still apply. */
33038 char SQLAllocEnv ();
33039 int
33040 main ()
33041 {
33042 SQLAllocEnv ();
33043 ;
33044 return 0;
33045 }
33046 _ACEOF
33047 rm -f conftest.$ac_objext conftest$ac_exeext
33048 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33049 (eval $ac_link) 2>conftest.er1
33050 ac_status=$?
33051 grep -v '^ *+' conftest.er1 >conftest.err
33052 rm -f conftest.er1
33053 cat conftest.err >&5
33054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33055 (exit $ac_status); } &&
33056 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33058 (eval $ac_try) 2>&5
33059 ac_status=$?
33060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33061 (exit $ac_status); }; } &&
33062 { ac_try='test -s conftest$ac_exeext'
33063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33064 (eval $ac_try) 2>&5
33065 ac_status=$?
33066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33067 (exit $ac_status); }; }; then
33068 ac_cv_lib_odbc_SQLAllocEnv=yes
33069 else
33070 echo "$as_me: failed program was:" >&5
33071 sed 's/^/| /' conftest.$ac_ext >&5
33072
33073 ac_cv_lib_odbc_SQLAllocEnv=no
33074 fi
33075 rm -f conftest.err conftest.$ac_objext \
33076 conftest$ac_exeext conftest.$ac_ext
33077 LIBS=$ac_check_lib_save_LIBS
33078 fi
33079 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
33080 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
33081 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
33082 ODBC_LINK=" -lodbc"
33083 fi
33084
33085
33086 fi
33087
33088
33089 fi
33090
33091 fi
33092 if test "x$ODBC_LINK" = "x" ; then
33093 if test "$wxUSE_ODBC" = "sys" ; then
33094 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
33095 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
33096 { (exit 1); exit 1; }; }
33097 else
33098 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
33099 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
33100 wxUSE_ODBC=builtin
33101 fi
33102 else
33103 wxUSE_ODBC=sys
33104 fi
33105 fi
33106
33107 if test "$wxUSE_ODBC" = "builtin" ; then
33108 cat >>confdefs.h <<\_ACEOF
33109 #define wxUSE_BUILTIN_IODBC 1
33110 _ACEOF
33111
33112 fi
33113 fi
33114
33115 if test "$wxUSE_ODBC" != "no" ; then
33116 cat >>confdefs.h <<\_ACEOF
33117 #define wxUSE_ODBC 1
33118 _ACEOF
33119
33120 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
33121
33122 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
33123 fi
33124
33125
33126 if test "$wxUSE_DISPLAY" = "yes"; then
33127 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33128 echo "$as_me:$LINENO: checking for Xinerama" >&5
33129 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
33130
33131 ac_find_libraries=
33132 for ac_dir in $SEARCH_LIB;
33133 do
33134 for ac_extension in a so sl dylib dll.a; do
33135 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33136 ac_find_libraries=$ac_dir
33137 break 2
33138 fi
33139 done
33140 done
33141
33142 if test "$ac_find_libraries" != "" ; then
33143
33144 if test "$ac_find_libraries" = "default location"; then
33145 ac_path_to_link=""
33146 else
33147 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33148 result=$?
33149 if test $result = 0; then
33150 ac_path_to_link=""
33151 else
33152 ac_path_to_link=" -L$ac_find_libraries"
33153 fi
33154 fi
33155
33156 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33157 LDFLAGS="$LDFLAGS $ac_path_to_link"
33158 fi
33159 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33160 echo "$as_me:$LINENO: result: yes" >&5
33161 echo "${ECHO_T}yes" >&6
33162
33163 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33164 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
33165
33166 ac_find_libraries=
33167 for ac_dir in $SEARCH_LIB;
33168 do
33169 for ac_extension in a so sl dylib dll.a; do
33170 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33171 ac_find_libraries=$ac_dir
33172 break 2
33173 fi
33174 done
33175 done
33176
33177 if test "$ac_find_libraries" != "" ; then
33178 echo "$as_me:$LINENO: result: yes" >&5
33179 echo "${ECHO_T}yes" >&6
33180
33181 for ac_header in X11/extensions/xf86vmode.h
33182 do
33183 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33184 echo "$as_me:$LINENO: checking for $ac_header" >&5
33185 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33186 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33187 echo $ECHO_N "(cached) $ECHO_C" >&6
33188 else
33189 cat >conftest.$ac_ext <<_ACEOF
33190 /* confdefs.h. */
33191 _ACEOF
33192 cat confdefs.h >>conftest.$ac_ext
33193 cat >>conftest.$ac_ext <<_ACEOF
33194 /* end confdefs.h. */
33195
33196 #if HAVE_X11_XLIB_H
33197 #include <X11/Xlib.h>
33198 #endif
33199
33200
33201 #include <$ac_header>
33202 _ACEOF
33203 rm -f conftest.$ac_objext
33204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33205 (eval $ac_compile) 2>conftest.er1
33206 ac_status=$?
33207 grep -v '^ *+' conftest.er1 >conftest.err
33208 rm -f conftest.er1
33209 cat conftest.err >&5
33210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33211 (exit $ac_status); } &&
33212 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33214 (eval $ac_try) 2>&5
33215 ac_status=$?
33216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33217 (exit $ac_status); }; } &&
33218 { ac_try='test -s conftest.$ac_objext'
33219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33220 (eval $ac_try) 2>&5
33221 ac_status=$?
33222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33223 (exit $ac_status); }; }; then
33224 eval "$as_ac_Header=yes"
33225 else
33226 echo "$as_me: failed program was:" >&5
33227 sed 's/^/| /' conftest.$ac_ext >&5
33228
33229 eval "$as_ac_Header=no"
33230 fi
33231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33232 fi
33233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33234 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33235 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33236 cat >>confdefs.h <<_ACEOF
33237 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33238 _ACEOF
33239
33240 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33241
33242 fi
33243
33244 done
33245
33246 else
33247 echo "$as_me:$LINENO: result: no" >&5
33248 echo "${ECHO_T}no" >&6
33249 fi
33250
33251 else
33252 echo "$as_me:$LINENO: result: no" >&5
33253 echo "${ECHO_T}no" >&6
33254 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33255 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33256 wxUSE_DISPLAY="no"
33257 fi
33258 elif test "$wxUSE_MSW" = 1; then
33259
33260 for ac_header in ddraw.h
33261 do
33262 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33263 echo "$as_me:$LINENO: checking for $ac_header" >&5
33264 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33265 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33266 echo $ECHO_N "(cached) $ECHO_C" >&6
33267 else
33268 cat >conftest.$ac_ext <<_ACEOF
33269 /* confdefs.h. */
33270 _ACEOF
33271 cat confdefs.h >>conftest.$ac_ext
33272 cat >>conftest.$ac_ext <<_ACEOF
33273 /* end confdefs.h. */
33274 #include <windows.h>
33275
33276 #include <$ac_header>
33277 _ACEOF
33278 rm -f conftest.$ac_objext
33279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33280 (eval $ac_compile) 2>conftest.er1
33281 ac_status=$?
33282 grep -v '^ *+' conftest.er1 >conftest.err
33283 rm -f conftest.er1
33284 cat conftest.err >&5
33285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33286 (exit $ac_status); } &&
33287 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33289 (eval $ac_try) 2>&5
33290 ac_status=$?
33291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33292 (exit $ac_status); }; } &&
33293 { ac_try='test -s conftest.$ac_objext'
33294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33295 (eval $ac_try) 2>&5
33296 ac_status=$?
33297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33298 (exit $ac_status); }; }; then
33299 eval "$as_ac_Header=yes"
33300 else
33301 echo "$as_me: failed program was:" >&5
33302 sed 's/^/| /' conftest.$ac_ext >&5
33303
33304 eval "$as_ac_Header=no"
33305 fi
33306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33307 fi
33308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33309 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33310 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33311 cat >>confdefs.h <<_ACEOF
33312 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33313 _ACEOF
33314
33315 fi
33316
33317 done
33318
33319 fi
33320 fi
33321
33322 if test "$wxUSE_DETECT_SM" = "yes"; then
33323 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33324 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33325 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
33326
33327 ac_find_libraries=
33328 for ac_dir in $SEARCH_LIB;
33329 do
33330 for ac_extension in a so sl dylib dll.a; do
33331 if test -f "$ac_dir/libSM.$ac_extension"; then
33332 ac_find_libraries=$ac_dir
33333 break 2
33334 fi
33335 done
33336 done
33337
33338 if test "$ac_find_libraries" != "" ; then
33339
33340 if test "$ac_find_libraries" = "default location"; then
33341 ac_path_to_link=""
33342 else
33343 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33344 result=$?
33345 if test $result = 0; then
33346 ac_path_to_link=""
33347 else
33348 ac_path_to_link=" -L$ac_find_libraries"
33349 fi
33350 fi
33351
33352 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33353 LDFLAGS="$LDFLAGS $ac_path_to_link"
33354 fi
33355 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33356 echo "$as_me:$LINENO: result: yes" >&5
33357 echo "${ECHO_T}yes" >&6
33358 else
33359 echo "$as_me:$LINENO: result: no" >&5
33360 echo "${ECHO_T}no" >&6
33361 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33362 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33363 wxUSE_DETECT_SM="no"
33364 fi
33365 else
33366 wxUSE_DETECT_SM="no"
33367 fi
33368 fi
33369
33370
33371
33372 USE_OPENGL=0
33373 if test "$wxUSE_OPENGL" = "yes"; then
33374 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
33375 OPENGL_LIBS="-framework OpenGL -framework AGL"
33376 elif test "$wxUSE_MSW" = 1; then
33377 OPENGL_LIBS="-lopengl32 -lglu32"
33378 else
33379
33380
33381 ac_find_includes=
33382 for ac_dir in $SEARCH_INCLUDE /usr/include;
33383 do
33384 if test -f "$ac_dir/GL/gl.h"; then
33385 ac_find_includes=$ac_dir
33386 break
33387 fi
33388 done
33389
33390 if test "$ac_find_includes" != "" ; then
33391 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33392 echo "${ECHO_T}found in $ac_find_includes" >&6
33393
33394 if test "x$ac_find_includes" = "x/usr/include"; then
33395 ac_path_to_include=""
33396 else
33397 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33398 result=$?
33399 if test $result = 0; then
33400 ac_path_to_include=""
33401 else
33402 ac_path_to_include=" -I$ac_find_includes"
33403 fi
33404 fi
33405
33406 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33407 fi
33408
33409 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33410 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33411 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33412 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33413 echo $ECHO_N "(cached) $ECHO_C" >&6
33414 fi
33415 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33416 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33417 else
33418 # Is the header compilable?
33419 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
33420 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
33421 cat >conftest.$ac_ext <<_ACEOF
33422 /* confdefs.h. */
33423 _ACEOF
33424 cat confdefs.h >>conftest.$ac_ext
33425 cat >>conftest.$ac_ext <<_ACEOF
33426 /* end confdefs.h. */
33427 $ac_includes_default
33428 #include <GL/gl.h>
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 ac_header_compiler=yes
33452 else
33453 echo "$as_me: failed program was:" >&5
33454 sed 's/^/| /' conftest.$ac_ext >&5
33455
33456 ac_header_compiler=no
33457 fi
33458 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33459 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33460 echo "${ECHO_T}$ac_header_compiler" >&6
33461
33462 # Is the header present?
33463 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
33464 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
33465 cat >conftest.$ac_ext <<_ACEOF
33466 /* confdefs.h. */
33467 _ACEOF
33468 cat confdefs.h >>conftest.$ac_ext
33469 cat >>conftest.$ac_ext <<_ACEOF
33470 /* end confdefs.h. */
33471 #include <GL/gl.h>
33472 _ACEOF
33473 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33474 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33475 ac_status=$?
33476 grep -v '^ *+' conftest.er1 >conftest.err
33477 rm -f conftest.er1
33478 cat conftest.err >&5
33479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33480 (exit $ac_status); } >/dev/null; then
33481 if test -s conftest.err; then
33482 ac_cpp_err=$ac_cxx_preproc_warn_flag
33483 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
33484 else
33485 ac_cpp_err=
33486 fi
33487 else
33488 ac_cpp_err=yes
33489 fi
33490 if test -z "$ac_cpp_err"; then
33491 ac_header_preproc=yes
33492 else
33493 echo "$as_me: failed program was:" >&5
33494 sed 's/^/| /' conftest.$ac_ext >&5
33495
33496 ac_header_preproc=no
33497 fi
33498 rm -f conftest.err conftest.$ac_ext
33499 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33500 echo "${ECHO_T}$ac_header_preproc" >&6
33501
33502 # So? What about this header?
33503 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
33504 yes:no: )
33505 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
33506 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33507 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
33508 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
33509 ac_header_preproc=yes
33510 ;;
33511 no:yes:* )
33512 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
33513 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
33514 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
33515 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
33516 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
33517 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
33518 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
33519 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
33520 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
33521 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
33522 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
33523 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
33524 (
33525 cat <<\_ASBOX
33526 ## ----------------------------------------- ##
33527 ## Report this to wx-dev@lists.wxwidgets.org ##
33528 ## ----------------------------------------- ##
33529 _ASBOX
33530 ) |
33531 sed "s/^/$as_me: WARNING: /" >&2
33532 ;;
33533 esac
33534 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33535 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33536 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33537 echo $ECHO_N "(cached) $ECHO_C" >&6
33538 else
33539 ac_cv_header_GL_gl_h=$ac_header_preproc
33540 fi
33541 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33542 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33543
33544 fi
33545 if test $ac_cv_header_GL_gl_h = yes; then
33546
33547 found_gl=0
33548
33549 echo "$as_me:$LINENO: checking for -lGL" >&5
33550 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33551
33552 ac_find_libraries=
33553 for ac_dir in $SEARCH_LIB;
33554 do
33555 for ac_extension in a so sl dylib dll.a; do
33556 if test -f "$ac_dir/libGL.$ac_extension"; then
33557 ac_find_libraries=$ac_dir
33558 break 2
33559 fi
33560 done
33561 done
33562
33563 if test "$ac_find_libraries" != "" ; then
33564 echo "$as_me:$LINENO: result: yes" >&5
33565 echo "${ECHO_T}yes" >&6
33566
33567
33568 if test "$ac_find_libraries" = "default location"; then
33569 ac_path_to_link=""
33570 else
33571 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33572 result=$?
33573 if test $result = 0; then
33574 ac_path_to_link=""
33575 else
33576 ac_path_to_link=" -L$ac_find_libraries"
33577 fi
33578 fi
33579
33580 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33581 LDFLAGS_GL="$ac_path_to_link"
33582 fi
33583
33584 echo "$as_me:$LINENO: checking for -lGLU" >&5
33585 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33586
33587 ac_find_libraries=
33588 for ac_dir in $SEARCH_LIB;
33589 do
33590 for ac_extension in a so sl dylib dll.a; do
33591 if test -f "$ac_dir/libGLU.$ac_extension"; then
33592 ac_find_libraries=$ac_dir
33593 break 2
33594 fi
33595 done
33596 done
33597
33598 if test "$ac_find_libraries" != "" ; then
33599
33600 if test "$ac_find_libraries" = "default location"; then
33601 ac_path_to_link=""
33602 else
33603 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33604 result=$?
33605 if test $result = 0; then
33606 ac_path_to_link=""
33607 else
33608 ac_path_to_link=" -L$ac_find_libraries"
33609 fi
33610 fi
33611
33612 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33613 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33614 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33615 fi
33616
33617 found_gl=1
33618 OPENGL_LIBS="-lGL -lGLU"
33619 echo "$as_me:$LINENO: result: yes" >&5
33620 echo "${ECHO_T}yes" >&6
33621 else
33622 echo "$as_me:$LINENO: result: no" >&5
33623 echo "${ECHO_T}no" >&6
33624 fi
33625 else
33626 echo "$as_me:$LINENO: result: no" >&5
33627 echo "${ECHO_T}no" >&6
33628 fi
33629
33630 if test "$found_gl" != 1; then
33631 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33632 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33633
33634 ac_find_libraries=
33635 for ac_dir in $SEARCH_LIB;
33636 do
33637 for ac_extension in a so sl dylib dll.a; do
33638 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33639 ac_find_libraries=$ac_dir
33640 break 2
33641 fi
33642 done
33643 done
33644
33645 if test "$ac_find_libraries" != "" ; then
33646
33647 if test "$ac_find_libraries" = "default location"; then
33648 ac_path_to_link=""
33649 else
33650 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33651 result=$?
33652 if test $result = 0; then
33653 ac_path_to_link=""
33654 else
33655 ac_path_to_link=" -L$ac_find_libraries"
33656 fi
33657 fi
33658
33659 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33660 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33661 echo "$as_me:$LINENO: result: yes" >&5
33662 echo "${ECHO_T}yes" >&6
33663 else
33664 echo "$as_me:$LINENO: result: no" >&5
33665 echo "${ECHO_T}no" >&6
33666 fi
33667 fi
33668
33669 fi
33670
33671
33672
33673 if test "x$OPENGL_LIBS" = "x"; then
33674 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33675 echo "$as_me: error: OpenGL libraries not available" >&2;}
33676 { (exit 1); exit 1; }; }
33677 fi
33678 fi
33679
33680 if test "$wxUSE_OPENGL" = "yes"; then
33681 USE_OPENGL=1
33682 cat >>confdefs.h <<\_ACEOF
33683 #define wxUSE_OPENGL 1
33684 _ACEOF
33685
33686 cat >>confdefs.h <<\_ACEOF
33687 #define wxUSE_GLCANVAS 1
33688 _ACEOF
33689
33690 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33691 fi
33692 fi
33693
33694
33695 if test -n "$TOOLKIT" ; then
33696 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33697 fi
33698
33699
33700
33701 if test "$wxUSE_SHARED" = "yes"; then
33702 case "${host}" in
33703 *-pc-msdosdjgpp )
33704 wxUSE_SHARED=no
33705 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33706 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33707 ;;
33708 esac
33709 fi
33710
33711 if test "$wxUSE_SHARED" = "yes"; then
33712
33713
33714 found_versioning=no
33715
33716
33717 if test $found_versioning = no ; then
33718 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33719 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33720 if test "${wx_cv_version_script+set}" = set; then
33721 echo $ECHO_N "(cached) $ECHO_C" >&6
33722 else
33723
33724 echo "VER_1 { *; };" >conftest.sym
33725 echo "int main() { return 0; }" >conftest.cpp
33726
33727 if { ac_try='
33728 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33729 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33731 (eval $ac_try) 2>&5
33732 ac_status=$?
33733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33734 (exit $ac_status); }; } ; then
33735 if test -s conftest.stderr ; then
33736 wx_cv_version_script=no
33737 else
33738 wx_cv_version_script=yes
33739 fi
33740 else
33741 wx_cv_version_script=no
33742 fi
33743
33744 if test $wx_cv_version_script = yes
33745 then
33746 echo "struct B { virtual ~B() { } }; \
33747 struct D : public B { }; \
33748 void F() { D d; }" > conftest.cpp
33749
33750 if { ac_try='
33751 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33752 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33754 (eval $ac_try) 2>&5
33755 ac_status=$?
33756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33757 (exit $ac_status); }; } &&
33758 { ac_try='
33759 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33760 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33762 (eval $ac_try) 2>&5
33763 ac_status=$?
33764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33765 (exit $ac_status); }; }
33766 then
33767 if { ac_try='
33768 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33769 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33771 (eval $ac_try) 2>&5
33772 ac_status=$?
33773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33774 (exit $ac_status); }; }
33775 then
33776 wx_cv_version_script=yes
33777 else
33778 wx_cv_version_script=no
33779 fi
33780 fi
33781 fi
33782
33783 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33784 rm -f conftest1.output conftest2.output conftest3.output
33785
33786 fi
33787 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33788 echo "${ECHO_T}$wx_cv_version_script" >&6
33789 if test $wx_cv_version_script = yes ; then
33790 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
33791 fi
33792 fi
33793
33794
33795 case "${host}" in
33796 *-*-linux* | *-*-gnu* )
33797 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
33798 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33799 ;;
33800
33801 *-*-solaris2* )
33802 if test "$GCC" = yes ; then
33803 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33804
33805 saveLdflags="$LDFLAGS"
33806 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33807 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33808 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33809 cat >conftest.$ac_ext <<_ACEOF
33810 /* confdefs.h. */
33811 _ACEOF
33812 cat confdefs.h >>conftest.$ac_ext
33813 cat >>conftest.$ac_ext <<_ACEOF
33814 /* end confdefs.h. */
33815
33816 int
33817 main ()
33818 {
33819
33820 ;
33821 return 0;
33822 }
33823 _ACEOF
33824 rm -f conftest.$ac_objext conftest$ac_exeext
33825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33826 (eval $ac_link) 2>conftest.er1
33827 ac_status=$?
33828 grep -v '^ *+' conftest.er1 >conftest.err
33829 rm -f conftest.er1
33830 cat conftest.err >&5
33831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33832 (exit $ac_status); } &&
33833 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33835 (eval $ac_try) 2>&5
33836 ac_status=$?
33837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33838 (exit $ac_status); }; } &&
33839 { ac_try='test -s conftest$ac_exeext'
33840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33841 (eval $ac_try) 2>&5
33842 ac_status=$?
33843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33844 (exit $ac_status); }; }; then
33845
33846 echo "$as_me:$LINENO: result: yes" >&5
33847 echo "${ECHO_T}yes" >&6
33848 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
33849 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33850
33851 else
33852 echo "$as_me: failed program was:" >&5
33853 sed 's/^/| /' conftest.$ac_ext >&5
33854
33855
33856 echo "$as_me:$LINENO: result: no" >&5
33857 echo "${ECHO_T}no" >&6
33858 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33859 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33860 LDFLAGS="$saveLdflags -Wl,-R,/"
33861 cat >conftest.$ac_ext <<_ACEOF
33862 /* confdefs.h. */
33863 _ACEOF
33864 cat confdefs.h >>conftest.$ac_ext
33865 cat >>conftest.$ac_ext <<_ACEOF
33866 /* end confdefs.h. */
33867
33868 int
33869 main ()
33870 {
33871
33872 ;
33873 return 0;
33874 }
33875 _ACEOF
33876 rm -f conftest.$ac_objext conftest$ac_exeext
33877 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33878 (eval $ac_link) 2>conftest.er1
33879 ac_status=$?
33880 grep -v '^ *+' conftest.er1 >conftest.err
33881 rm -f conftest.er1
33882 cat conftest.err >&5
33883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33884 (exit $ac_status); } &&
33885 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33887 (eval $ac_try) 2>&5
33888 ac_status=$?
33889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33890 (exit $ac_status); }; } &&
33891 { ac_try='test -s conftest$ac_exeext'
33892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33893 (eval $ac_try) 2>&5
33894 ac_status=$?
33895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33896 (exit $ac_status); }; }; then
33897
33898 echo "$as_me:$LINENO: result: yes" >&5
33899 echo "${ECHO_T}yes" >&6
33900 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
33901 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33902
33903 else
33904 echo "$as_me: failed program was:" >&5
33905 sed 's/^/| /' conftest.$ac_ext >&5
33906
33907
33908 echo "$as_me:$LINENO: result: no" >&5
33909 echo "${ECHO_T}no" >&6
33910
33911 fi
33912 rm -f conftest.err conftest.$ac_objext \
33913 conftest$ac_exeext conftest.$ac_ext
33914
33915 fi
33916 rm -f conftest.err conftest.$ac_objext \
33917 conftest$ac_exeext conftest.$ac_ext
33918 LDFLAGS="$saveLdflags"
33919 else
33920 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
33921 WXCONFIG_RPATH="-R\$libdir"
33922 fi
33923 ;;
33924
33925 *-*-darwin* )
33926 install_name_tool=`which install_name_tool`
33927 if test "$install_name_tool" -a -x "$install_name_tool"; then
33928 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33929 cat <<EOF >change-install-names
33930 #!/bin/sh
33931 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33932 inst_cmd="install_name_tool "
33933 for i in \${libnames} ; do
33934 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33935 done
33936 \${inst_cmd} \${3}
33937 EOF
33938 chmod +x change-install-names
33939 fi
33940 ;;
33941
33942 *-*-cygwin* | *-*-mingw32* )
33943 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33944 ;;
33945
33946 *-*-hpux* )
33947 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
33948 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33949 ;;
33950
33951 esac
33952
33953 if test $wxUSE_RPATH = "no"; then
33954 SAMPLES_RPATH_FLAG=''
33955 SAMPLES_RPATH_POSTLINK=''
33956 WXCONFIG_RPATH=''
33957 fi
33958
33959 SHARED=1
33960
33961 else
33962
33963 config_linkage_component="-static"
33964 SHARED=0
33965
33966 fi
33967
33968
33969 UNICODE=0
33970 lib_unicode_suffix=
33971 WX_CHARTYPE="ansi"
33972 if test "$wxUSE_UNICODE" = "yes"; then
33973 lib_unicode_suffix=u
33974 WX_CHARTYPE="unicode"
33975 UNICODE=1
33976 fi
33977
33978 lib_debug_suffix=
33979 WX_DEBUGTYPE="release"
33980 DEBUG_FLAG=0
33981 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33982 lib_debug_suffix=d
33983 WX_DEBUGTYPE="debug"
33984 DEBUG_FLAG=1
33985 fi
33986
33987 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33988 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33989
33990 DEBUG_INFO=0
33991 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33992 DEBUG_INFO=1
33993 fi
33994
33995 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33996
33997 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33998
33999 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34000
34001 if test "$cross_compiling" = "yes"; then
34002 HOST_SUFFIX="-$host_alias"
34003 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
34004 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
34005 fi
34006
34007 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34008 if test "${TOOLKIT_DIR}" = "os2"; then
34009 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34010 else
34011 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34012 fi
34013
34014
34015
34016 if test "$wxUSE_COCOA" = 1; then
34017
34018
34019 ac_ext=c
34020 ac_cpp='$CPP $CPPFLAGS'
34021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34024
34025 ac_ext=m
34026
34027 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34028 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
34029 cat >conftest.$ac_ext <<_ACEOF
34030 /* confdefs.h. */
34031 _ACEOF
34032 cat confdefs.h >>conftest.$ac_ext
34033 cat >>conftest.$ac_ext <<_ACEOF
34034 /* end confdefs.h. */
34035 #include <AppKit/NSEvent.h>
34036 #include <CoreFoundation/CoreFoundation.h>
34037
34038 int
34039 main ()
34040 {
34041
34042 ;
34043 return 0;
34044 }
34045 _ACEOF
34046 rm -f conftest.$ac_objext
34047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34048 (eval $ac_compile) 2>conftest.er1
34049 ac_status=$?
34050 grep -v '^ *+' conftest.er1 >conftest.err
34051 rm -f conftest.er1
34052 cat conftest.err >&5
34053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34054 (exit $ac_status); } &&
34055 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34057 (eval $ac_try) 2>&5
34058 ac_status=$?
34059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34060 (exit $ac_status); }; } &&
34061 { ac_try='test -s conftest.$ac_objext'
34062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34063 (eval $ac_try) 2>&5
34064 ac_status=$?
34065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34066 (exit $ac_status); }; }; then
34067 echo "$as_me:$LINENO: result: no" >&5
34068 echo "${ECHO_T}no" >&6
34069 else
34070 echo "$as_me: failed program was:" >&5
34071 sed 's/^/| /' conftest.$ac_ext >&5
34072
34073 echo "$as_me:$LINENO: result: yes" >&5
34074 echo "${ECHO_T}yes" >&6
34075 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34076 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
34077 cat >conftest.$ac_ext <<_ACEOF
34078 /* confdefs.h. */
34079 _ACEOF
34080 cat confdefs.h >>conftest.$ac_ext
34081 cat >>conftest.$ac_ext <<_ACEOF
34082 /* end confdefs.h. */
34083 #define __Point__ 1
34084 #include <AppKit/NSEvent.h>
34085 #include <CoreFoundation/CoreFoundation.h>
34086
34087 int
34088 main ()
34089 {
34090
34091 ;
34092 return 0;
34093 }
34094 _ACEOF
34095 rm -f conftest.$ac_objext
34096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34097 (eval $ac_compile) 2>conftest.er1
34098 ac_status=$?
34099 grep -v '^ *+' conftest.er1 >conftest.err
34100 rm -f conftest.er1
34101 cat conftest.err >&5
34102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34103 (exit $ac_status); } &&
34104 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34106 (eval $ac_try) 2>&5
34107 ac_status=$?
34108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34109 (exit $ac_status); }; } &&
34110 { ac_try='test -s conftest.$ac_objext'
34111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34112 (eval $ac_try) 2>&5
34113 ac_status=$?
34114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34115 (exit $ac_status); }; }; then
34116 echo "$as_me:$LINENO: result: yes" >&5
34117 echo "${ECHO_T}yes" >&6
34118 cat >>confdefs.h <<\_ACEOF
34119 #define __Point__ 1
34120 _ACEOF
34121
34122
34123 else
34124 echo "$as_me: failed program was:" >&5
34125 sed 's/^/| /' conftest.$ac_ext >&5
34126
34127 { { echo "$as_me:$LINENO: error: no
34128 See \`config.log' for more details." >&5
34129 echo "$as_me: error: no
34130 See \`config.log' for more details." >&2;}
34131 { (exit 1); exit 1; }; }
34132
34133 fi
34134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34135
34136 fi
34137 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34138 ac_ext=cc
34139 ac_cpp='$CXXCPP $CPPFLAGS'
34140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34143
34144 fi
34145
34146 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
34147 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
34148 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
34149
34150 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
34151
34152 # Extract the first word of "Rez", so it can be a program name with args.
34153 set dummy Rez; ac_word=$2
34154 echo "$as_me:$LINENO: checking for $ac_word" >&5
34155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34156 if test "${ac_cv_prog_REZ+set}" = set; then
34157 echo $ECHO_N "(cached) $ECHO_C" >&6
34158 else
34159 if test -n "$REZ"; then
34160 ac_cv_prog_REZ="$REZ" # Let the user override the test.
34161 else
34162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34163 for as_dir in $PATH
34164 do
34165 IFS=$as_save_IFS
34166 test -z "$as_dir" && as_dir=.
34167 for ac_exec_ext in '' $ac_executable_extensions; do
34168 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34169 ac_cv_prog_REZ="Rez"
34170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34171 break 2
34172 fi
34173 done
34174 done
34175
34176 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
34177 fi
34178 fi
34179 REZ=$ac_cv_prog_REZ
34180 if test -n "$REZ"; then
34181 echo "$as_me:$LINENO: result: $REZ" >&5
34182 echo "${ECHO_T}$REZ" >&6
34183 else
34184 echo "$as_me:$LINENO: result: no" >&5
34185 echo "${ECHO_T}no" >&6
34186 fi
34187
34188 # Extract the first word of "DeRez", so it can be a program name with args.
34189 set dummy DeRez; ac_word=$2
34190 echo "$as_me:$LINENO: checking for $ac_word" >&5
34191 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34192 if test "${ac_cv_prog_DEREZ+set}" = set; then
34193 echo $ECHO_N "(cached) $ECHO_C" >&6
34194 else
34195 if test -n "$DEREZ"; then
34196 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
34197 else
34198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34199 for as_dir in $PATH
34200 do
34201 IFS=$as_save_IFS
34202 test -z "$as_dir" && as_dir=.
34203 for ac_exec_ext in '' $ac_executable_extensions; do
34204 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34205 ac_cv_prog_DEREZ="DeRez"
34206 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34207 break 2
34208 fi
34209 done
34210 done
34211
34212 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
34213 fi
34214 fi
34215 DEREZ=$ac_cv_prog_DEREZ
34216 if test -n "$DEREZ"; then
34217 echo "$as_me:$LINENO: result: $DEREZ" >&5
34218 echo "${ECHO_T}$DEREZ" >&6
34219 else
34220 echo "$as_me:$LINENO: result: no" >&5
34221 echo "${ECHO_T}no" >&6
34222 fi
34223
34224 # Extract the first word of "SetFile", so it can be a program name with args.
34225 set dummy SetFile; ac_word=$2
34226 echo "$as_me:$LINENO: checking for $ac_word" >&5
34227 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34228 if test "${ac_cv_prog_SETFILE+set}" = set; then
34229 echo $ECHO_N "(cached) $ECHO_C" >&6
34230 else
34231 if test -n "$SETFILE"; then
34232 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
34233 else
34234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34235 for as_dir in $PATH
34236 do
34237 IFS=$as_save_IFS
34238 test -z "$as_dir" && as_dir=.
34239 for ac_exec_ext in '' $ac_executable_extensions; do
34240 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34241 ac_cv_prog_SETFILE="SetFile"
34242 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34243 break 2
34244 fi
34245 done
34246 done
34247
34248 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
34249 fi
34250 fi
34251 SETFILE=$ac_cv_prog_SETFILE
34252 if test -n "$SETFILE"; then
34253 echo "$as_me:$LINENO: result: $SETFILE" >&5
34254 echo "${ECHO_T}$SETFILE" >&6
34255 else
34256 echo "$as_me:$LINENO: result: no" >&5
34257 echo "${ECHO_T}no" >&6
34258 fi
34259
34260
34261 MACSETFILE="\$(SETFILE)"
34262
34263 if test "$wxUSE_MAC" = 1; then
34264 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
34265 RESCOMP="$REZ"
34266 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
34267 else
34268 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
34269 RESCOMP="echo -n \| $REZ"
34270 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
34271 fi
34272
34273 else
34274 MACSETFILE="@true"
34275
34276 if test "$wxUSE_PM" = 1; then
34277 RESCOMP="emxbind"
34278 WXCONFIG_RESFLAGS="-ep"
34279
34280 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
34281 else
34282 POSTLINK_COMMAND="@true"
34283 fi
34284
34285 fi
34286
34287
34288
34289 echo "$as_me:$LINENO: checking for mode_t" >&5
34290 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
34291 if test "${ac_cv_type_mode_t+set}" = set; then
34292 echo $ECHO_N "(cached) $ECHO_C" >&6
34293 else
34294 cat >conftest.$ac_ext <<_ACEOF
34295 /* confdefs.h. */
34296 _ACEOF
34297 cat confdefs.h >>conftest.$ac_ext
34298 cat >>conftest.$ac_ext <<_ACEOF
34299 /* end confdefs.h. */
34300 $ac_includes_default
34301 int
34302 main ()
34303 {
34304 if ((mode_t *) 0)
34305 return 0;
34306 if (sizeof (mode_t))
34307 return 0;
34308 ;
34309 return 0;
34310 }
34311 _ACEOF
34312 rm -f conftest.$ac_objext
34313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34314 (eval $ac_compile) 2>conftest.er1
34315 ac_status=$?
34316 grep -v '^ *+' conftest.er1 >conftest.err
34317 rm -f conftest.er1
34318 cat conftest.err >&5
34319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34320 (exit $ac_status); } &&
34321 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34323 (eval $ac_try) 2>&5
34324 ac_status=$?
34325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34326 (exit $ac_status); }; } &&
34327 { ac_try='test -s conftest.$ac_objext'
34328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34329 (eval $ac_try) 2>&5
34330 ac_status=$?
34331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34332 (exit $ac_status); }; }; then
34333 ac_cv_type_mode_t=yes
34334 else
34335 echo "$as_me: failed program was:" >&5
34336 sed 's/^/| /' conftest.$ac_ext >&5
34337
34338 ac_cv_type_mode_t=no
34339 fi
34340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34341 fi
34342 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34343 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
34344 if test $ac_cv_type_mode_t = yes; then
34345 :
34346 else
34347
34348 cat >>confdefs.h <<_ACEOF
34349 #define mode_t int
34350 _ACEOF
34351
34352 fi
34353
34354 echo "$as_me:$LINENO: checking for off_t" >&5
34355 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
34356 if test "${ac_cv_type_off_t+set}" = set; then
34357 echo $ECHO_N "(cached) $ECHO_C" >&6
34358 else
34359 cat >conftest.$ac_ext <<_ACEOF
34360 /* confdefs.h. */
34361 _ACEOF
34362 cat confdefs.h >>conftest.$ac_ext
34363 cat >>conftest.$ac_ext <<_ACEOF
34364 /* end confdefs.h. */
34365 $ac_includes_default
34366 int
34367 main ()
34368 {
34369 if ((off_t *) 0)
34370 return 0;
34371 if (sizeof (off_t))
34372 return 0;
34373 ;
34374 return 0;
34375 }
34376 _ACEOF
34377 rm -f conftest.$ac_objext
34378 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34379 (eval $ac_compile) 2>conftest.er1
34380 ac_status=$?
34381 grep -v '^ *+' conftest.er1 >conftest.err
34382 rm -f conftest.er1
34383 cat conftest.err >&5
34384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34385 (exit $ac_status); } &&
34386 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34388 (eval $ac_try) 2>&5
34389 ac_status=$?
34390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34391 (exit $ac_status); }; } &&
34392 { ac_try='test -s conftest.$ac_objext'
34393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34394 (eval $ac_try) 2>&5
34395 ac_status=$?
34396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34397 (exit $ac_status); }; }; then
34398 ac_cv_type_off_t=yes
34399 else
34400 echo "$as_me: failed program was:" >&5
34401 sed 's/^/| /' conftest.$ac_ext >&5
34402
34403 ac_cv_type_off_t=no
34404 fi
34405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34406 fi
34407 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34408 echo "${ECHO_T}$ac_cv_type_off_t" >&6
34409 if test $ac_cv_type_off_t = yes; then
34410 :
34411 else
34412
34413 cat >>confdefs.h <<_ACEOF
34414 #define off_t long
34415 _ACEOF
34416
34417 fi
34418
34419 echo "$as_me:$LINENO: checking for pid_t" >&5
34420 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
34421 if test "${ac_cv_type_pid_t+set}" = set; then
34422 echo $ECHO_N "(cached) $ECHO_C" >&6
34423 else
34424 cat >conftest.$ac_ext <<_ACEOF
34425 /* confdefs.h. */
34426 _ACEOF
34427 cat confdefs.h >>conftest.$ac_ext
34428 cat >>conftest.$ac_ext <<_ACEOF
34429 /* end confdefs.h. */
34430 $ac_includes_default
34431 int
34432 main ()
34433 {
34434 if ((pid_t *) 0)
34435 return 0;
34436 if (sizeof (pid_t))
34437 return 0;
34438 ;
34439 return 0;
34440 }
34441 _ACEOF
34442 rm -f conftest.$ac_objext
34443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34444 (eval $ac_compile) 2>conftest.er1
34445 ac_status=$?
34446 grep -v '^ *+' conftest.er1 >conftest.err
34447 rm -f conftest.er1
34448 cat conftest.err >&5
34449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34450 (exit $ac_status); } &&
34451 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34453 (eval $ac_try) 2>&5
34454 ac_status=$?
34455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34456 (exit $ac_status); }; } &&
34457 { ac_try='test -s conftest.$ac_objext'
34458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34459 (eval $ac_try) 2>&5
34460 ac_status=$?
34461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34462 (exit $ac_status); }; }; then
34463 ac_cv_type_pid_t=yes
34464 else
34465 echo "$as_me: failed program was:" >&5
34466 sed 's/^/| /' conftest.$ac_ext >&5
34467
34468 ac_cv_type_pid_t=no
34469 fi
34470 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34471 fi
34472 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34473 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
34474 if test $ac_cv_type_pid_t = yes; then
34475 :
34476 else
34477
34478 cat >>confdefs.h <<_ACEOF
34479 #define pid_t int
34480 _ACEOF
34481
34482 fi
34483
34484 echo "$as_me:$LINENO: checking for size_t" >&5
34485 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
34486 if test "${ac_cv_type_size_t+set}" = set; then
34487 echo $ECHO_N "(cached) $ECHO_C" >&6
34488 else
34489 cat >conftest.$ac_ext <<_ACEOF
34490 /* confdefs.h. */
34491 _ACEOF
34492 cat confdefs.h >>conftest.$ac_ext
34493 cat >>conftest.$ac_ext <<_ACEOF
34494 /* end confdefs.h. */
34495 $ac_includes_default
34496 int
34497 main ()
34498 {
34499 if ((size_t *) 0)
34500 return 0;
34501 if (sizeof (size_t))
34502 return 0;
34503 ;
34504 return 0;
34505 }
34506 _ACEOF
34507 rm -f conftest.$ac_objext
34508 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34509 (eval $ac_compile) 2>conftest.er1
34510 ac_status=$?
34511 grep -v '^ *+' conftest.er1 >conftest.err
34512 rm -f conftest.er1
34513 cat conftest.err >&5
34514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34515 (exit $ac_status); } &&
34516 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34518 (eval $ac_try) 2>&5
34519 ac_status=$?
34520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34521 (exit $ac_status); }; } &&
34522 { ac_try='test -s conftest.$ac_objext'
34523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34524 (eval $ac_try) 2>&5
34525 ac_status=$?
34526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34527 (exit $ac_status); }; }; then
34528 ac_cv_type_size_t=yes
34529 else
34530 echo "$as_me: failed program was:" >&5
34531 sed 's/^/| /' conftest.$ac_ext >&5
34532
34533 ac_cv_type_size_t=no
34534 fi
34535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34536 fi
34537 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34538 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34539 if test $ac_cv_type_size_t = yes; then
34540 :
34541 else
34542
34543 cat >>confdefs.h <<_ACEOF
34544 #define size_t unsigned
34545 _ACEOF
34546
34547 fi
34548
34549 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34550 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34551 if test "${ac_cv_type_uid_t+set}" = set; then
34552 echo $ECHO_N "(cached) $ECHO_C" >&6
34553 else
34554 cat >conftest.$ac_ext <<_ACEOF
34555 /* confdefs.h. */
34556 _ACEOF
34557 cat confdefs.h >>conftest.$ac_ext
34558 cat >>conftest.$ac_ext <<_ACEOF
34559 /* end confdefs.h. */
34560 #include <sys/types.h>
34561
34562 _ACEOF
34563 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34564 $EGREP "uid_t" >/dev/null 2>&1; then
34565 ac_cv_type_uid_t=yes
34566 else
34567 ac_cv_type_uid_t=no
34568 fi
34569 rm -f conftest*
34570
34571 fi
34572 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34573 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34574 if test $ac_cv_type_uid_t = no; then
34575
34576 cat >>confdefs.h <<\_ACEOF
34577 #define uid_t int
34578 _ACEOF
34579
34580
34581 cat >>confdefs.h <<\_ACEOF
34582 #define gid_t int
34583 _ACEOF
34584
34585 fi
34586
34587
34588 echo "$as_me:$LINENO: checking for ssize_t" >&5
34589 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34590 if test "${ac_cv_type_ssize_t+set}" = set; then
34591 echo $ECHO_N "(cached) $ECHO_C" >&6
34592 else
34593 cat >conftest.$ac_ext <<_ACEOF
34594 /* confdefs.h. */
34595 _ACEOF
34596 cat confdefs.h >>conftest.$ac_ext
34597 cat >>conftest.$ac_ext <<_ACEOF
34598 /* end confdefs.h. */
34599 $ac_includes_default
34600 int
34601 main ()
34602 {
34603 if ((ssize_t *) 0)
34604 return 0;
34605 if (sizeof (ssize_t))
34606 return 0;
34607 ;
34608 return 0;
34609 }
34610 _ACEOF
34611 rm -f conftest.$ac_objext
34612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34613 (eval $ac_compile) 2>conftest.er1
34614 ac_status=$?
34615 grep -v '^ *+' conftest.er1 >conftest.err
34616 rm -f conftest.er1
34617 cat conftest.err >&5
34618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34619 (exit $ac_status); } &&
34620 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34622 (eval $ac_try) 2>&5
34623 ac_status=$?
34624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34625 (exit $ac_status); }; } &&
34626 { ac_try='test -s conftest.$ac_objext'
34627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34628 (eval $ac_try) 2>&5
34629 ac_status=$?
34630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34631 (exit $ac_status); }; }; then
34632 ac_cv_type_ssize_t=yes
34633 else
34634 echo "$as_me: failed program was:" >&5
34635 sed 's/^/| /' conftest.$ac_ext >&5
34636
34637 ac_cv_type_ssize_t=no
34638 fi
34639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34640 fi
34641 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34642 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34643 if test $ac_cv_type_ssize_t = yes; then
34644
34645 cat >>confdefs.h <<_ACEOF
34646 #define HAVE_SSIZE_T 1
34647 _ACEOF
34648
34649
34650 fi
34651
34652
34653 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34654 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34655 if test "${wx_cv_size_t_is_uint+set}" = set; then
34656 echo $ECHO_N "(cached) $ECHO_C" >&6
34657 else
34658
34659 cat >conftest.$ac_ext <<_ACEOF
34660 /* confdefs.h. */
34661 _ACEOF
34662 cat confdefs.h >>conftest.$ac_ext
34663 cat >>conftest.$ac_ext <<_ACEOF
34664 /* end confdefs.h. */
34665 #include <stddef.h>
34666 int
34667 main ()
34668 {
34669
34670 return 0; }
34671
34672 struct Foo { void foo(size_t); void foo(unsigned int); };
34673
34674 int bar() {
34675
34676 ;
34677 return 0;
34678 }
34679 _ACEOF
34680 rm -f conftest.$ac_objext
34681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34682 (eval $ac_compile) 2>conftest.er1
34683 ac_status=$?
34684 grep -v '^ *+' conftest.er1 >conftest.err
34685 rm -f conftest.er1
34686 cat conftest.err >&5
34687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34688 (exit $ac_status); } &&
34689 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34691 (eval $ac_try) 2>&5
34692 ac_status=$?
34693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34694 (exit $ac_status); }; } &&
34695 { ac_try='test -s conftest.$ac_objext'
34696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34697 (eval $ac_try) 2>&5
34698 ac_status=$?
34699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34700 (exit $ac_status); }; }; then
34701 wx_cv_size_t_is_uint=no
34702 else
34703 echo "$as_me: failed program was:" >&5
34704 sed 's/^/| /' conftest.$ac_ext >&5
34705
34706 wx_cv_size_t_is_uint=yes
34707
34708 fi
34709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34710
34711
34712 fi
34713 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34714 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34715
34716 if test "$wx_cv_size_t_is_uint" = "yes"; then
34717 cat >>confdefs.h <<\_ACEOF
34718 #define wxSIZE_T_IS_UINT 1
34719 _ACEOF
34720
34721 else
34722 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34723 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34724 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34725 echo $ECHO_N "(cached) $ECHO_C" >&6
34726 else
34727 cat >conftest.$ac_ext <<_ACEOF
34728 /* confdefs.h. */
34729 _ACEOF
34730 cat confdefs.h >>conftest.$ac_ext
34731 cat >>conftest.$ac_ext <<_ACEOF
34732 /* end confdefs.h. */
34733 #include <stddef.h>
34734 int
34735 main ()
34736 {
34737
34738 return 0; }
34739
34740 struct Foo { void foo(size_t); void foo(unsigned long); };
34741
34742 int bar() {
34743
34744 ;
34745 return 0;
34746 }
34747 _ACEOF
34748 rm -f conftest.$ac_objext
34749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34750 (eval $ac_compile) 2>conftest.er1
34751 ac_status=$?
34752 grep -v '^ *+' conftest.er1 >conftest.err
34753 rm -f conftest.er1
34754 cat conftest.err >&5
34755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34756 (exit $ac_status); } &&
34757 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34759 (eval $ac_try) 2>&5
34760 ac_status=$?
34761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34762 (exit $ac_status); }; } &&
34763 { ac_try='test -s conftest.$ac_objext'
34764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34765 (eval $ac_try) 2>&5
34766 ac_status=$?
34767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34768 (exit $ac_status); }; }; then
34769 wx_cv_size_t_is_ulong=no
34770 else
34771 echo "$as_me: failed program was:" >&5
34772 sed 's/^/| /' conftest.$ac_ext >&5
34773
34774 wx_cv_size_t_is_ulong=yes
34775
34776 fi
34777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34778
34779 fi
34780 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34781 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34782
34783 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34784 cat >>confdefs.h <<\_ACEOF
34785 #define wxSIZE_T_IS_ULONG 1
34786 _ACEOF
34787
34788 fi
34789 fi
34790
34791
34792 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34793 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34794 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34795 echo $ECHO_N "(cached) $ECHO_C" >&6
34796 else
34797
34798 cat >conftest.$ac_ext <<_ACEOF
34799 /* confdefs.h. */
34800 _ACEOF
34801 cat confdefs.h >>conftest.$ac_ext
34802 cat >>conftest.$ac_ext <<_ACEOF
34803 /* end confdefs.h. */
34804 #include <pwd.h>
34805 int
34806 main ()
34807 {
34808
34809 char *p;
34810 struct passwd *pw;
34811 p = pw->pw_gecos;
34812
34813 ;
34814 return 0;
34815 }
34816 _ACEOF
34817 rm -f conftest.$ac_objext
34818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34819 (eval $ac_compile) 2>conftest.er1
34820 ac_status=$?
34821 grep -v '^ *+' conftest.er1 >conftest.err
34822 rm -f conftest.er1
34823 cat conftest.err >&5
34824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34825 (exit $ac_status); } &&
34826 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34828 (eval $ac_try) 2>&5
34829 ac_status=$?
34830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34831 (exit $ac_status); }; } &&
34832 { ac_try='test -s conftest.$ac_objext'
34833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34834 (eval $ac_try) 2>&5
34835 ac_status=$?
34836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34837 (exit $ac_status); }; }; then
34838
34839 wx_cv_struct_pw_gecos=yes
34840
34841 else
34842 echo "$as_me: failed program was:" >&5
34843 sed 's/^/| /' conftest.$ac_ext >&5
34844
34845
34846 wx_cv_struct_pw_gecos=no
34847
34848
34849 fi
34850 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34851
34852
34853 fi
34854 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34855 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34856
34857 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34858 cat >>confdefs.h <<\_ACEOF
34859 #define HAVE_PW_GECOS 1
34860 _ACEOF
34861
34862 fi
34863
34864
34865 if test "$wxUSE_WCHAR_T" = "yes"; then
34866 cat >>confdefs.h <<\_ACEOF
34867 #define wxUSE_WCHAR_T 1
34868 _ACEOF
34869
34870
34871 WCSLEN_FOUND=0
34872 WCHAR_LINK=
34873
34874 for ac_func in wcslen
34875 do
34876 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34877 echo "$as_me:$LINENO: checking for $ac_func" >&5
34878 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34879 if eval "test \"\${$as_ac_var+set}\" = set"; then
34880 echo $ECHO_N "(cached) $ECHO_C" >&6
34881 else
34882 cat >conftest.$ac_ext <<_ACEOF
34883 /* confdefs.h. */
34884 _ACEOF
34885 cat confdefs.h >>conftest.$ac_ext
34886 cat >>conftest.$ac_ext <<_ACEOF
34887 /* end confdefs.h. */
34888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34890 #define $ac_func innocuous_$ac_func
34891
34892 /* System header to define __stub macros and hopefully few prototypes,
34893 which can conflict with char $ac_func (); below.
34894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34895 <limits.h> exists even on freestanding compilers. */
34896
34897 #ifdef __STDC__
34898 # include <limits.h>
34899 #else
34900 # include <assert.h>
34901 #endif
34902
34903 #undef $ac_func
34904
34905 /* Override any gcc2 internal prototype to avoid an error. */
34906 #ifdef __cplusplus
34907 extern "C"
34908 {
34909 #endif
34910 /* We use char because int might match the return type of a gcc2
34911 builtin and then its argument prototype would still apply. */
34912 char $ac_func ();
34913 /* The GNU C library defines this for functions which it implements
34914 to always fail with ENOSYS. Some functions are actually named
34915 something starting with __ and the normal name is an alias. */
34916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34917 choke me
34918 #else
34919 char (*f) () = $ac_func;
34920 #endif
34921 #ifdef __cplusplus
34922 }
34923 #endif
34924
34925 int
34926 main ()
34927 {
34928 return f != $ac_func;
34929 ;
34930 return 0;
34931 }
34932 _ACEOF
34933 rm -f conftest.$ac_objext conftest$ac_exeext
34934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34935 (eval $ac_link) 2>conftest.er1
34936 ac_status=$?
34937 grep -v '^ *+' conftest.er1 >conftest.err
34938 rm -f conftest.er1
34939 cat conftest.err >&5
34940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34941 (exit $ac_status); } &&
34942 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34944 (eval $ac_try) 2>&5
34945 ac_status=$?
34946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34947 (exit $ac_status); }; } &&
34948 { ac_try='test -s conftest$ac_exeext'
34949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34950 (eval $ac_try) 2>&5
34951 ac_status=$?
34952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34953 (exit $ac_status); }; }; then
34954 eval "$as_ac_var=yes"
34955 else
34956 echo "$as_me: failed program was:" >&5
34957 sed 's/^/| /' conftest.$ac_ext >&5
34958
34959 eval "$as_ac_var=no"
34960 fi
34961 rm -f conftest.err conftest.$ac_objext \
34962 conftest$ac_exeext conftest.$ac_ext
34963 fi
34964 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34965 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34966 if test `eval echo '${'$as_ac_var'}'` = yes; then
34967 cat >>confdefs.h <<_ACEOF
34968 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34969 _ACEOF
34970 WCSLEN_FOUND=1
34971 fi
34972 done
34973
34974
34975 if test "$WCSLEN_FOUND" = 0; then
34976 if test "$TOOLKIT" = "MSW"; then
34977 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34978 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
34979 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34980 echo $ECHO_N "(cached) $ECHO_C" >&6
34981 else
34982 ac_check_lib_save_LIBS=$LIBS
34983 LIBS="-lmsvcrt $LIBS"
34984 cat >conftest.$ac_ext <<_ACEOF
34985 /* confdefs.h. */
34986 _ACEOF
34987 cat confdefs.h >>conftest.$ac_ext
34988 cat >>conftest.$ac_ext <<_ACEOF
34989 /* end confdefs.h. */
34990
34991 /* Override any gcc2 internal prototype to avoid an error. */
34992 #ifdef __cplusplus
34993 extern "C"
34994 #endif
34995 /* We use char because int might match the return type of a gcc2
34996 builtin and then its argument prototype would still apply. */
34997 char wcslen ();
34998 int
34999 main ()
35000 {
35001 wcslen ();
35002 ;
35003 return 0;
35004 }
35005 _ACEOF
35006 rm -f conftest.$ac_objext conftest$ac_exeext
35007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35008 (eval $ac_link) 2>conftest.er1
35009 ac_status=$?
35010 grep -v '^ *+' conftest.er1 >conftest.err
35011 rm -f conftest.er1
35012 cat conftest.err >&5
35013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35014 (exit $ac_status); } &&
35015 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35017 (eval $ac_try) 2>&5
35018 ac_status=$?
35019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35020 (exit $ac_status); }; } &&
35021 { ac_try='test -s conftest$ac_exeext'
35022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35023 (eval $ac_try) 2>&5
35024 ac_status=$?
35025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35026 (exit $ac_status); }; }; then
35027 ac_cv_lib_msvcrt_wcslen=yes
35028 else
35029 echo "$as_me: failed program was:" >&5
35030 sed 's/^/| /' conftest.$ac_ext >&5
35031
35032 ac_cv_lib_msvcrt_wcslen=no
35033 fi
35034 rm -f conftest.err conftest.$ac_objext \
35035 conftest$ac_exeext conftest.$ac_ext
35036 LIBS=$ac_check_lib_save_LIBS
35037 fi
35038 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35039 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
35040 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35041 WCHAR_OK=1
35042 fi
35043
35044 else
35045 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35046 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
35047 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35048 echo $ECHO_N "(cached) $ECHO_C" >&6
35049 else
35050 ac_check_lib_save_LIBS=$LIBS
35051 LIBS="-lw $LIBS"
35052 cat >conftest.$ac_ext <<_ACEOF
35053 /* confdefs.h. */
35054 _ACEOF
35055 cat confdefs.h >>conftest.$ac_ext
35056 cat >>conftest.$ac_ext <<_ACEOF
35057 /* end confdefs.h. */
35058
35059 /* Override any gcc2 internal prototype to avoid an error. */
35060 #ifdef __cplusplus
35061 extern "C"
35062 #endif
35063 /* We use char because int might match the return type of a gcc2
35064 builtin and then its argument prototype would still apply. */
35065 char wcslen ();
35066 int
35067 main ()
35068 {
35069 wcslen ();
35070 ;
35071 return 0;
35072 }
35073 _ACEOF
35074 rm -f conftest.$ac_objext conftest$ac_exeext
35075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35076 (eval $ac_link) 2>conftest.er1
35077 ac_status=$?
35078 grep -v '^ *+' conftest.er1 >conftest.err
35079 rm -f conftest.er1
35080 cat conftest.err >&5
35081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35082 (exit $ac_status); } &&
35083 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35085 (eval $ac_try) 2>&5
35086 ac_status=$?
35087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35088 (exit $ac_status); }; } &&
35089 { ac_try='test -s conftest$ac_exeext'
35090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35091 (eval $ac_try) 2>&5
35092 ac_status=$?
35093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35094 (exit $ac_status); }; }; then
35095 ac_cv_lib_w_wcslen=yes
35096 else
35097 echo "$as_me: failed program was:" >&5
35098 sed 's/^/| /' conftest.$ac_ext >&5
35099
35100 ac_cv_lib_w_wcslen=no
35101 fi
35102 rm -f conftest.err conftest.$ac_objext \
35103 conftest$ac_exeext conftest.$ac_ext
35104 LIBS=$ac_check_lib_save_LIBS
35105 fi
35106 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35107 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
35108 if test $ac_cv_lib_w_wcslen = yes; then
35109
35110 WCHAR_LINK=" -lw"
35111 WCSLEN_FOUND=1
35112
35113 fi
35114
35115 fi
35116 fi
35117
35118 if test "$WCSLEN_FOUND" = 1; then
35119 cat >>confdefs.h <<\_ACEOF
35120 #define HAVE_WCSLEN 1
35121 _ACEOF
35122
35123 fi
35124
35125 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35126 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35127 fi
35128
35129 echo "$as_me:$LINENO: checking for mbstate_t" >&5
35130 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
35131 if test "${ac_cv_type_mbstate_t+set}" = set; then
35132 echo $ECHO_N "(cached) $ECHO_C" >&6
35133 else
35134 cat >conftest.$ac_ext <<_ACEOF
35135 /* confdefs.h. */
35136 _ACEOF
35137 cat confdefs.h >>conftest.$ac_ext
35138 cat >>conftest.$ac_ext <<_ACEOF
35139 /* end confdefs.h. */
35140 #include <wchar.h>
35141
35142 int
35143 main ()
35144 {
35145 if ((mbstate_t *) 0)
35146 return 0;
35147 if (sizeof (mbstate_t))
35148 return 0;
35149 ;
35150 return 0;
35151 }
35152 _ACEOF
35153 rm -f conftest.$ac_objext
35154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35155 (eval $ac_compile) 2>conftest.er1
35156 ac_status=$?
35157 grep -v '^ *+' conftest.er1 >conftest.err
35158 rm -f conftest.er1
35159 cat conftest.err >&5
35160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35161 (exit $ac_status); } &&
35162 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35164 (eval $ac_try) 2>&5
35165 ac_status=$?
35166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35167 (exit $ac_status); }; } &&
35168 { ac_try='test -s conftest.$ac_objext'
35169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35170 (eval $ac_try) 2>&5
35171 ac_status=$?
35172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35173 (exit $ac_status); }; }; then
35174 ac_cv_type_mbstate_t=yes
35175 else
35176 echo "$as_me: failed program was:" >&5
35177 sed 's/^/| /' conftest.$ac_ext >&5
35178
35179 ac_cv_type_mbstate_t=no
35180 fi
35181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35182 fi
35183 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35184 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
35185 if test $ac_cv_type_mbstate_t = yes; then
35186
35187 cat >>confdefs.h <<_ACEOF
35188 #define HAVE_MBSTATE_T 1
35189 _ACEOF
35190
35191
35192 for ac_func in wcsrtombs
35193 do
35194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35195 echo "$as_me:$LINENO: checking for $ac_func" >&5
35196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35197 if eval "test \"\${$as_ac_var+set}\" = set"; then
35198 echo $ECHO_N "(cached) $ECHO_C" >&6
35199 else
35200 cat >conftest.$ac_ext <<_ACEOF
35201 /* confdefs.h. */
35202 _ACEOF
35203 cat confdefs.h >>conftest.$ac_ext
35204 cat >>conftest.$ac_ext <<_ACEOF
35205 /* end confdefs.h. */
35206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35208 #define $ac_func innocuous_$ac_func
35209
35210 /* System header to define __stub macros and hopefully few prototypes,
35211 which can conflict with char $ac_func (); below.
35212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35213 <limits.h> exists even on freestanding compilers. */
35214
35215 #ifdef __STDC__
35216 # include <limits.h>
35217 #else
35218 # include <assert.h>
35219 #endif
35220
35221 #undef $ac_func
35222
35223 /* Override any gcc2 internal prototype to avoid an error. */
35224 #ifdef __cplusplus
35225 extern "C"
35226 {
35227 #endif
35228 /* We use char because int might match the return type of a gcc2
35229 builtin and then its argument prototype would still apply. */
35230 char $ac_func ();
35231 /* The GNU C library defines this for functions which it implements
35232 to always fail with ENOSYS. Some functions are actually named
35233 something starting with __ and the normal name is an alias. */
35234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35235 choke me
35236 #else
35237 char (*f) () = $ac_func;
35238 #endif
35239 #ifdef __cplusplus
35240 }
35241 #endif
35242
35243 int
35244 main ()
35245 {
35246 return f != $ac_func;
35247 ;
35248 return 0;
35249 }
35250 _ACEOF
35251 rm -f conftest.$ac_objext conftest$ac_exeext
35252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35253 (eval $ac_link) 2>conftest.er1
35254 ac_status=$?
35255 grep -v '^ *+' conftest.er1 >conftest.err
35256 rm -f conftest.er1
35257 cat conftest.err >&5
35258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35259 (exit $ac_status); } &&
35260 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35262 (eval $ac_try) 2>&5
35263 ac_status=$?
35264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35265 (exit $ac_status); }; } &&
35266 { ac_try='test -s conftest$ac_exeext'
35267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35268 (eval $ac_try) 2>&5
35269 ac_status=$?
35270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35271 (exit $ac_status); }; }; then
35272 eval "$as_ac_var=yes"
35273 else
35274 echo "$as_me: failed program was:" >&5
35275 sed 's/^/| /' conftest.$ac_ext >&5
35276
35277 eval "$as_ac_var=no"
35278 fi
35279 rm -f conftest.err conftest.$ac_objext \
35280 conftest$ac_exeext conftest.$ac_ext
35281 fi
35282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35284 if test `eval echo '${'$as_ac_var'}'` = yes; then
35285 cat >>confdefs.h <<_ACEOF
35286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35287 _ACEOF
35288
35289 fi
35290 done
35291
35292 fi
35293
35294 else
35295 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35296 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35297 fi
35298
35299
35300
35301 for ac_func in snprintf vsnprintf
35302 do
35303 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35304 echo "$as_me:$LINENO: checking for $ac_func" >&5
35305 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35306 if eval "test \"\${$as_ac_var+set}\" = set"; then
35307 echo $ECHO_N "(cached) $ECHO_C" >&6
35308 else
35309 cat >conftest.$ac_ext <<_ACEOF
35310 /* confdefs.h. */
35311 _ACEOF
35312 cat confdefs.h >>conftest.$ac_ext
35313 cat >>conftest.$ac_ext <<_ACEOF
35314 /* end confdefs.h. */
35315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35317 #define $ac_func innocuous_$ac_func
35318
35319 /* System header to define __stub macros and hopefully few prototypes,
35320 which can conflict with char $ac_func (); below.
35321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35322 <limits.h> exists even on freestanding compilers. */
35323
35324 #ifdef __STDC__
35325 # include <limits.h>
35326 #else
35327 # include <assert.h>
35328 #endif
35329
35330 #undef $ac_func
35331
35332 /* Override any gcc2 internal prototype to avoid an error. */
35333 #ifdef __cplusplus
35334 extern "C"
35335 {
35336 #endif
35337 /* We use char because int might match the return type of a gcc2
35338 builtin and then its argument prototype would still apply. */
35339 char $ac_func ();
35340 /* The GNU C library defines this for functions which it implements
35341 to always fail with ENOSYS. Some functions are actually named
35342 something starting with __ and the normal name is an alias. */
35343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35344 choke me
35345 #else
35346 char (*f) () = $ac_func;
35347 #endif
35348 #ifdef __cplusplus
35349 }
35350 #endif
35351
35352 int
35353 main ()
35354 {
35355 return f != $ac_func;
35356 ;
35357 return 0;
35358 }
35359 _ACEOF
35360 rm -f conftest.$ac_objext conftest$ac_exeext
35361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35362 (eval $ac_link) 2>conftest.er1
35363 ac_status=$?
35364 grep -v '^ *+' conftest.er1 >conftest.err
35365 rm -f conftest.er1
35366 cat conftest.err >&5
35367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35368 (exit $ac_status); } &&
35369 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35371 (eval $ac_try) 2>&5
35372 ac_status=$?
35373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35374 (exit $ac_status); }; } &&
35375 { ac_try='test -s conftest$ac_exeext'
35376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35377 (eval $ac_try) 2>&5
35378 ac_status=$?
35379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35380 (exit $ac_status); }; }; then
35381 eval "$as_ac_var=yes"
35382 else
35383 echo "$as_me: failed program was:" >&5
35384 sed 's/^/| /' conftest.$ac_ext >&5
35385
35386 eval "$as_ac_var=no"
35387 fi
35388 rm -f conftest.err conftest.$ac_objext \
35389 conftest$ac_exeext conftest.$ac_ext
35390 fi
35391 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35392 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35393 if test `eval echo '${'$as_ac_var'}'` = yes; then
35394 cat >>confdefs.h <<_ACEOF
35395 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35396 _ACEOF
35397
35398 fi
35399 done
35400
35401
35402 if test "$ac_cv_func_vsnprintf" = "yes"; then
35403 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35404 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
35405 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35406 echo $ECHO_N "(cached) $ECHO_C" >&6
35407 else
35408
35409 cat >conftest.$ac_ext <<_ACEOF
35410 /* confdefs.h. */
35411 _ACEOF
35412 cat confdefs.h >>conftest.$ac_ext
35413 cat >>conftest.$ac_ext <<_ACEOF
35414 /* end confdefs.h. */
35415
35416 #include <stdio.h>
35417 #include <stdarg.h>
35418 #ifdef __MSL__
35419 #if __MSL__ >= 0x6000
35420 namespace std {}
35421 using namespace std;
35422 #endif
35423 #endif
35424
35425 int
35426 main ()
35427 {
35428
35429 char *buf;
35430 va_list ap;
35431 vsnprintf(buf, 10u, "%s", ap);
35432
35433 ;
35434 return 0;
35435 }
35436 _ACEOF
35437 rm -f conftest.$ac_objext
35438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35439 (eval $ac_compile) 2>conftest.er1
35440 ac_status=$?
35441 grep -v '^ *+' conftest.er1 >conftest.err
35442 rm -f conftest.er1
35443 cat conftest.err >&5
35444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35445 (exit $ac_status); } &&
35446 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35448 (eval $ac_try) 2>&5
35449 ac_status=$?
35450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35451 (exit $ac_status); }; } &&
35452 { ac_try='test -s conftest.$ac_objext'
35453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35454 (eval $ac_try) 2>&5
35455 ac_status=$?
35456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35457 (exit $ac_status); }; }; then
35458 wx_cv_func_vsnprintf_decl=yes
35459 else
35460 echo "$as_me: failed program was:" >&5
35461 sed 's/^/| /' conftest.$ac_ext >&5
35462
35463 wx_cv_func_vsnprintf_decl=no
35464
35465 fi
35466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35467
35468
35469 fi
35470 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35471 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
35472
35473 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35474 cat >>confdefs.h <<\_ACEOF
35475 #define HAVE_VSNPRINTF_DECL 1
35476 _ACEOF
35477
35478
35479 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35480 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
35481 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35482 echo $ECHO_N "(cached) $ECHO_C" >&6
35483 else
35484
35485 cat >conftest.$ac_ext <<_ACEOF
35486 /* confdefs.h. */
35487 _ACEOF
35488 cat confdefs.h >>conftest.$ac_ext
35489 cat >>conftest.$ac_ext <<_ACEOF
35490 /* end confdefs.h. */
35491
35492 #include <stdio.h>
35493 #include <stdarg.h>
35494 #ifdef __MSL__
35495 #if __MSL__ >= 0x6000
35496 namespace std {}
35497 using namespace std;
35498 #endif
35499 #endif
35500
35501 int
35502 main ()
35503 {
35504
35505 char *buf;
35506 va_list ap;
35507 const char *fmt = "%s";
35508 vsnprintf(buf, 10u, fmt, ap);
35509
35510 ;
35511 return 0;
35512 }
35513 _ACEOF
35514 rm -f conftest.$ac_objext
35515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35516 (eval $ac_compile) 2>conftest.er1
35517 ac_status=$?
35518 grep -v '^ *+' conftest.er1 >conftest.err
35519 rm -f conftest.er1
35520 cat conftest.err >&5
35521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35522 (exit $ac_status); } &&
35523 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35525 (eval $ac_try) 2>&5
35526 ac_status=$?
35527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35528 (exit $ac_status); }; } &&
35529 { ac_try='test -s conftest.$ac_objext'
35530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35531 (eval $ac_try) 2>&5
35532 ac_status=$?
35533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35534 (exit $ac_status); }; }; then
35535 wx_cv_func_broken_vsnprintf_decl=no
35536 else
35537 echo "$as_me: failed program was:" >&5
35538 sed 's/^/| /' conftest.$ac_ext >&5
35539
35540 wx_cv_func_broken_vsnprintf_decl=yes
35541
35542 fi
35543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35544
35545
35546 fi
35547 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35548 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35549
35550 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35551 cat >>confdefs.h <<\_ACEOF
35552 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35553 _ACEOF
35554
35555 fi
35556 fi
35557 fi
35558
35559 if test "$ac_cv_func_snprintf" = "yes"; then
35560 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35561 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35562 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35563 echo $ECHO_N "(cached) $ECHO_C" >&6
35564 else
35565
35566 cat >conftest.$ac_ext <<_ACEOF
35567 /* confdefs.h. */
35568 _ACEOF
35569 cat confdefs.h >>conftest.$ac_ext
35570 cat >>conftest.$ac_ext <<_ACEOF
35571 /* end confdefs.h. */
35572
35573 #include <stdio.h>
35574 #include <stdarg.h>
35575 #ifdef __MSL__
35576 #if __MSL__ >= 0x6000
35577 namespace std {}
35578 using namespace std;
35579 #endif
35580 #endif
35581
35582 int
35583 main ()
35584 {
35585
35586 char *buf;
35587 snprintf(buf, 10u, "%s", "wx");
35588
35589 ;
35590 return 0;
35591 }
35592 _ACEOF
35593 rm -f conftest.$ac_objext
35594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35595 (eval $ac_compile) 2>conftest.er1
35596 ac_status=$?
35597 grep -v '^ *+' conftest.er1 >conftest.err
35598 rm -f conftest.er1
35599 cat conftest.err >&5
35600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35601 (exit $ac_status); } &&
35602 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35604 (eval $ac_try) 2>&5
35605 ac_status=$?
35606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35607 (exit $ac_status); }; } &&
35608 { ac_try='test -s conftest.$ac_objext'
35609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35610 (eval $ac_try) 2>&5
35611 ac_status=$?
35612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35613 (exit $ac_status); }; }; then
35614 wx_cv_func_snprintf_decl=yes
35615 else
35616 echo "$as_me: failed program was:" >&5
35617 sed 's/^/| /' conftest.$ac_ext >&5
35618
35619 wx_cv_func_snprintf_decl=no
35620
35621 fi
35622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35623
35624
35625 fi
35626 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35627 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35628
35629 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35630 cat >>confdefs.h <<\_ACEOF
35631 #define HAVE_SNPRINTF_DECL 1
35632 _ACEOF
35633
35634
35635 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35636 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35637 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35638 echo $ECHO_N "(cached) $ECHO_C" >&6
35639 else
35640
35641 cat >conftest.$ac_ext <<_ACEOF
35642 /* confdefs.h. */
35643 _ACEOF
35644 cat confdefs.h >>conftest.$ac_ext
35645 cat >>conftest.$ac_ext <<_ACEOF
35646 /* end confdefs.h. */
35647
35648 #include <stdio.h>
35649 #include <stdarg.h>
35650 #ifdef __MSL__
35651 #if __MSL__ >= 0x6000
35652 namespace std {}
35653 using namespace std;
35654 #endif
35655 #endif
35656
35657 int
35658 main ()
35659 {
35660
35661 char *buf;
35662 const char *fmt = "%s";
35663 snprintf(buf, 10u, fmt, "wx");
35664
35665 ;
35666 return 0;
35667 }
35668 _ACEOF
35669 rm -f conftest.$ac_objext
35670 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35671 (eval $ac_compile) 2>conftest.er1
35672 ac_status=$?
35673 grep -v '^ *+' conftest.er1 >conftest.err
35674 rm -f conftest.er1
35675 cat conftest.err >&5
35676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35677 (exit $ac_status); } &&
35678 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35680 (eval $ac_try) 2>&5
35681 ac_status=$?
35682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35683 (exit $ac_status); }; } &&
35684 { ac_try='test -s conftest.$ac_objext'
35685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35686 (eval $ac_try) 2>&5
35687 ac_status=$?
35688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35689 (exit $ac_status); }; }; then
35690 wx_cv_func_broken_snprintf_decl=no
35691 else
35692 echo "$as_me: failed program was:" >&5
35693 sed 's/^/| /' conftest.$ac_ext >&5
35694
35695 wx_cv_func_broken_snprintf_decl=yes
35696
35697 fi
35698 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35699
35700
35701 fi
35702 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35703 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35704
35705 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35706 cat >>confdefs.h <<\_ACEOF
35707 #define HAVE_BROKEN_SNPRINTF_DECL 1
35708 _ACEOF
35709
35710 fi
35711 fi
35712
35713 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35714
35715 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35716 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35717 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35718 echo $ECHO_N "(cached) $ECHO_C" >&6
35719 else
35720
35721 if test "$cross_compiling" = yes; then
35722
35723 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35724 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35725 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35726 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35727 wx_cv_func_snprintf_pos_params=no
35728
35729
35730 else
35731 cat >conftest.$ac_ext <<_ACEOF
35732 /* confdefs.h. */
35733 _ACEOF
35734 cat confdefs.h >>conftest.$ac_ext
35735 cat >>conftest.$ac_ext <<_ACEOF
35736 /* end confdefs.h. */
35737
35738 #include <stdio.h>
35739
35740 int main (void)
35741 {
35742 char buffer[128];
35743 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35744 if (strcmp ("2 3 1", buffer) == 0)
35745 exit (0);
35746 exit (1);
35747 }
35748
35749 _ACEOF
35750 rm -f conftest$ac_exeext
35751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35752 (eval $ac_link) 2>&5
35753 ac_status=$?
35754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35755 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35757 (eval $ac_try) 2>&5
35758 ac_status=$?
35759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35760 (exit $ac_status); }; }; then
35761 wx_cv_func_snprintf_pos_params=no
35762 else
35763 echo "$as_me: program exited with status $ac_status" >&5
35764 echo "$as_me: failed program was:" >&5
35765 sed 's/^/| /' conftest.$ac_ext >&5
35766
35767 ( exit $ac_status )
35768 wx_cv_func_snprintf_pos_params=yes
35769 fi
35770 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35771 fi
35772
35773
35774 fi
35775 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35776 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35777
35778 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35779 cat >>confdefs.h <<\_ACEOF
35780 #define HAVE_UNIX98_PRINTF 1
35781 _ACEOF
35782
35783 fi
35784 fi
35785 fi
35786
35787 if test "$wxUSE_UNICODE" = yes; then
35788
35789
35790 for ac_func in swprintf
35791 do
35792 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35793 echo "$as_me:$LINENO: checking for $ac_func" >&5
35794 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35795 if eval "test \"\${$as_ac_var+set}\" = set"; then
35796 echo $ECHO_N "(cached) $ECHO_C" >&6
35797 else
35798 cat >conftest.$ac_ext <<_ACEOF
35799 /* confdefs.h. */
35800 _ACEOF
35801 cat confdefs.h >>conftest.$ac_ext
35802 cat >>conftest.$ac_ext <<_ACEOF
35803 /* end confdefs.h. */
35804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35806 #define $ac_func innocuous_$ac_func
35807
35808 /* System header to define __stub macros and hopefully few prototypes,
35809 which can conflict with char $ac_func (); below.
35810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35811 <limits.h> exists even on freestanding compilers. */
35812
35813 #ifdef __STDC__
35814 # include <limits.h>
35815 #else
35816 # include <assert.h>
35817 #endif
35818
35819 #undef $ac_func
35820
35821 /* Override any gcc2 internal prototype to avoid an error. */
35822 #ifdef __cplusplus
35823 extern "C"
35824 {
35825 #endif
35826 /* We use char because int might match the return type of a gcc2
35827 builtin and then its argument prototype would still apply. */
35828 char $ac_func ();
35829 /* The GNU C library defines this for functions which it implements
35830 to always fail with ENOSYS. Some functions are actually named
35831 something starting with __ and the normal name is an alias. */
35832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35833 choke me
35834 #else
35835 char (*f) () = $ac_func;
35836 #endif
35837 #ifdef __cplusplus
35838 }
35839 #endif
35840
35841 int
35842 main ()
35843 {
35844 return f != $ac_func;
35845 ;
35846 return 0;
35847 }
35848 _ACEOF
35849 rm -f conftest.$ac_objext conftest$ac_exeext
35850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35851 (eval $ac_link) 2>conftest.er1
35852 ac_status=$?
35853 grep -v '^ *+' conftest.er1 >conftest.err
35854 rm -f conftest.er1
35855 cat conftest.err >&5
35856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35857 (exit $ac_status); } &&
35858 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35860 (eval $ac_try) 2>&5
35861 ac_status=$?
35862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35863 (exit $ac_status); }; } &&
35864 { ac_try='test -s conftest$ac_exeext'
35865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35866 (eval $ac_try) 2>&5
35867 ac_status=$?
35868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35869 (exit $ac_status); }; }; then
35870 eval "$as_ac_var=yes"
35871 else
35872 echo "$as_me: failed program was:" >&5
35873 sed 's/^/| /' conftest.$ac_ext >&5
35874
35875 eval "$as_ac_var=no"
35876 fi
35877 rm -f conftest.err conftest.$ac_objext \
35878 conftest$ac_exeext conftest.$ac_ext
35879 fi
35880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35881 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35882 if test `eval echo '${'$as_ac_var'}'` = yes; then
35883 cat >>confdefs.h <<_ACEOF
35884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35885 _ACEOF
35886
35887 fi
35888 done
35889
35890
35891 if test "$ac_cv_func_swprintf" = "yes"; then
35892 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
35893 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
35894 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
35895 echo $ECHO_N "(cached) $ECHO_C" >&6
35896 else
35897
35898 cat >conftest.$ac_ext <<_ACEOF
35899 /* confdefs.h. */
35900 _ACEOF
35901 cat confdefs.h >>conftest.$ac_ext
35902 cat >>conftest.$ac_ext <<_ACEOF
35903 /* end confdefs.h. */
35904
35905 #include <stdio.h>
35906 #include <stdarg.h>
35907 #include <wchar.h>
35908
35909 int
35910 main ()
35911 {
35912
35913 wchar_t *buf;
35914 const wchar_t *fmt = L"test";
35915 swprintf(buf, 10u, fmt);
35916
35917 ;
35918 return 0;
35919 }
35920 _ACEOF
35921 rm -f conftest.$ac_objext
35922 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35923 (eval $ac_compile) 2>conftest.er1
35924 ac_status=$?
35925 grep -v '^ *+' conftest.er1 >conftest.err
35926 rm -f conftest.er1
35927 cat conftest.err >&5
35928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35929 (exit $ac_status); } &&
35930 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35932 (eval $ac_try) 2>&5
35933 ac_status=$?
35934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35935 (exit $ac_status); }; } &&
35936 { ac_try='test -s conftest.$ac_objext'
35937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35938 (eval $ac_try) 2>&5
35939 ac_status=$?
35940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35941 (exit $ac_status); }; }; then
35942 wx_cv_func_broken_swprintf_decl=no
35943 else
35944 echo "$as_me: failed program was:" >&5
35945 sed 's/^/| /' conftest.$ac_ext >&5
35946
35947 wx_cv_func_broken_swprintf_decl=yes
35948
35949 fi
35950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35951
35952
35953 fi
35954 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
35955 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
35956
35957 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
35958 cat >>confdefs.h <<\_ACEOF
35959 #define HAVE_BROKEN_SWPRINTF_DECL 1
35960 _ACEOF
35961
35962 fi
35963 fi
35964
35965
35966
35967
35968
35969
35970
35971 for ac_func in wputc wputchar putws fputws wprintf vswprintf
35972 do
35973 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35974 echo "$as_me:$LINENO: checking for $ac_func" >&5
35975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35976 if eval "test \"\${$as_ac_var+set}\" = set"; then
35977 echo $ECHO_N "(cached) $ECHO_C" >&6
35978 else
35979 cat >conftest.$ac_ext <<_ACEOF
35980 /* confdefs.h. */
35981 _ACEOF
35982 cat confdefs.h >>conftest.$ac_ext
35983 cat >>conftest.$ac_ext <<_ACEOF
35984 /* end confdefs.h. */
35985 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35986 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35987 #define $ac_func innocuous_$ac_func
35988
35989 /* System header to define __stub macros and hopefully few prototypes,
35990 which can conflict with char $ac_func (); below.
35991 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35992 <limits.h> exists even on freestanding compilers. */
35993
35994 #ifdef __STDC__
35995 # include <limits.h>
35996 #else
35997 # include <assert.h>
35998 #endif
35999
36000 #undef $ac_func
36001
36002 /* Override any gcc2 internal prototype to avoid an error. */
36003 #ifdef __cplusplus
36004 extern "C"
36005 {
36006 #endif
36007 /* We use char because int might match the return type of a gcc2
36008 builtin and then its argument prototype would still apply. */
36009 char $ac_func ();
36010 /* The GNU C library defines this for functions which it implements
36011 to always fail with ENOSYS. Some functions are actually named
36012 something starting with __ and the normal name is an alias. */
36013 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36014 choke me
36015 #else
36016 char (*f) () = $ac_func;
36017 #endif
36018 #ifdef __cplusplus
36019 }
36020 #endif
36021
36022 int
36023 main ()
36024 {
36025 return f != $ac_func;
36026 ;
36027 return 0;
36028 }
36029 _ACEOF
36030 rm -f conftest.$ac_objext conftest$ac_exeext
36031 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36032 (eval $ac_link) 2>conftest.er1
36033 ac_status=$?
36034 grep -v '^ *+' conftest.er1 >conftest.err
36035 rm -f conftest.er1
36036 cat conftest.err >&5
36037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36038 (exit $ac_status); } &&
36039 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36041 (eval $ac_try) 2>&5
36042 ac_status=$?
36043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36044 (exit $ac_status); }; } &&
36045 { ac_try='test -s conftest$ac_exeext'
36046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36047 (eval $ac_try) 2>&5
36048 ac_status=$?
36049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36050 (exit $ac_status); }; }; then
36051 eval "$as_ac_var=yes"
36052 else
36053 echo "$as_me: failed program was:" >&5
36054 sed 's/^/| /' conftest.$ac_ext >&5
36055
36056 eval "$as_ac_var=no"
36057 fi
36058 rm -f conftest.err conftest.$ac_objext \
36059 conftest$ac_exeext conftest.$ac_ext
36060 fi
36061 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36062 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36063 if test `eval echo '${'$as_ac_var'}'` = yes; then
36064 cat >>confdefs.h <<_ACEOF
36065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36066 _ACEOF
36067
36068 fi
36069 done
36070
36071
36072 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36073 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
36074 cat >conftest.$ac_ext <<_ACEOF
36075 /* confdefs.h. */
36076 _ACEOF
36077 cat confdefs.h >>conftest.$ac_ext
36078 cat >>conftest.$ac_ext <<_ACEOF
36079 /* end confdefs.h. */
36080 #include <wchar.h>
36081 int
36082 main ()
36083 {
36084 &_vsnwprintf;
36085 ;
36086 return 0;
36087 }
36088 _ACEOF
36089 rm -f conftest.$ac_objext
36090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36091 (eval $ac_compile) 2>conftest.er1
36092 ac_status=$?
36093 grep -v '^ *+' conftest.er1 >conftest.err
36094 rm -f conftest.er1
36095 cat conftest.err >&5
36096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36097 (exit $ac_status); } &&
36098 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36100 (eval $ac_try) 2>&5
36101 ac_status=$?
36102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36103 (exit $ac_status); }; } &&
36104 { ac_try='test -s conftest.$ac_objext'
36105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36106 (eval $ac_try) 2>&5
36107 ac_status=$?
36108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36109 (exit $ac_status); }; }; then
36110 echo "$as_me:$LINENO: result: yes" >&5
36111 echo "${ECHO_T}yes" >&6
36112 cat >>confdefs.h <<\_ACEOF
36113 #define HAVE__VSNWPRINTF 1
36114 _ACEOF
36115
36116 else
36117 echo "$as_me: failed program was:" >&5
36118 sed 's/^/| /' conftest.$ac_ext >&5
36119
36120 echo "$as_me:$LINENO: result: no" >&5
36121 echo "${ECHO_T}no" >&6
36122 fi
36123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
36124 fi
36125
36126 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
36127
36128 for ac_func in fnmatch
36129 do
36130 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36131 echo "$as_me:$LINENO: checking for $ac_func" >&5
36132 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36133 if eval "test \"\${$as_ac_var+set}\" = set"; then
36134 echo $ECHO_N "(cached) $ECHO_C" >&6
36135 else
36136 cat >conftest.$ac_ext <<_ACEOF
36137 /* confdefs.h. */
36138 _ACEOF
36139 cat confdefs.h >>conftest.$ac_ext
36140 cat >>conftest.$ac_ext <<_ACEOF
36141 /* end confdefs.h. */
36142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36144 #define $ac_func innocuous_$ac_func
36145
36146 /* System header to define __stub macros and hopefully few prototypes,
36147 which can conflict with char $ac_func (); below.
36148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36149 <limits.h> exists even on freestanding compilers. */
36150
36151 #ifdef __STDC__
36152 # include <limits.h>
36153 #else
36154 # include <assert.h>
36155 #endif
36156
36157 #undef $ac_func
36158
36159 /* Override any gcc2 internal prototype to avoid an error. */
36160 #ifdef __cplusplus
36161 extern "C"
36162 {
36163 #endif
36164 /* We use char because int might match the return type of a gcc2
36165 builtin and then its argument prototype would still apply. */
36166 char $ac_func ();
36167 /* The GNU C library defines this for functions which it implements
36168 to always fail with ENOSYS. Some functions are actually named
36169 something starting with __ and the normal name is an alias. */
36170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36171 choke me
36172 #else
36173 char (*f) () = $ac_func;
36174 #endif
36175 #ifdef __cplusplus
36176 }
36177 #endif
36178
36179 int
36180 main ()
36181 {
36182 return f != $ac_func;
36183 ;
36184 return 0;
36185 }
36186 _ACEOF
36187 rm -f conftest.$ac_objext conftest$ac_exeext
36188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36189 (eval $ac_link) 2>conftest.er1
36190 ac_status=$?
36191 grep -v '^ *+' conftest.er1 >conftest.err
36192 rm -f conftest.er1
36193 cat conftest.err >&5
36194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36195 (exit $ac_status); } &&
36196 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36198 (eval $ac_try) 2>&5
36199 ac_status=$?
36200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36201 (exit $ac_status); }; } &&
36202 { ac_try='test -s conftest$ac_exeext'
36203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36204 (eval $ac_try) 2>&5
36205 ac_status=$?
36206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36207 (exit $ac_status); }; }; then
36208 eval "$as_ac_var=yes"
36209 else
36210 echo "$as_me: failed program was:" >&5
36211 sed 's/^/| /' conftest.$ac_ext >&5
36212
36213 eval "$as_ac_var=no"
36214 fi
36215 rm -f conftest.err conftest.$ac_objext \
36216 conftest$ac_exeext conftest.$ac_ext
36217 fi
36218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36219 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36220 if test `eval echo '${'$as_ac_var'}'` = yes; then
36221 cat >>confdefs.h <<_ACEOF
36222 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36223 _ACEOF
36224
36225 fi
36226 done
36227
36228 fi
36229
36230 if test "$wxUSE_FILE" = "yes"; then
36231
36232 for ac_func in fsync
36233 do
36234 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36235 echo "$as_me:$LINENO: checking for $ac_func" >&5
36236 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36237 if eval "test \"\${$as_ac_var+set}\" = set"; then
36238 echo $ECHO_N "(cached) $ECHO_C" >&6
36239 else
36240 cat >conftest.$ac_ext <<_ACEOF
36241 /* confdefs.h. */
36242 _ACEOF
36243 cat confdefs.h >>conftest.$ac_ext
36244 cat >>conftest.$ac_ext <<_ACEOF
36245 /* end confdefs.h. */
36246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36248 #define $ac_func innocuous_$ac_func
36249
36250 /* System header to define __stub macros and hopefully few prototypes,
36251 which can conflict with char $ac_func (); below.
36252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36253 <limits.h> exists even on freestanding compilers. */
36254
36255 #ifdef __STDC__
36256 # include <limits.h>
36257 #else
36258 # include <assert.h>
36259 #endif
36260
36261 #undef $ac_func
36262
36263 /* Override any gcc2 internal prototype to avoid an error. */
36264 #ifdef __cplusplus
36265 extern "C"
36266 {
36267 #endif
36268 /* We use char because int might match the return type of a gcc2
36269 builtin and then its argument prototype would still apply. */
36270 char $ac_func ();
36271 /* The GNU C library defines this for functions which it implements
36272 to always fail with ENOSYS. Some functions are actually named
36273 something starting with __ and the normal name is an alias. */
36274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36275 choke me
36276 #else
36277 char (*f) () = $ac_func;
36278 #endif
36279 #ifdef __cplusplus
36280 }
36281 #endif
36282
36283 int
36284 main ()
36285 {
36286 return f != $ac_func;
36287 ;
36288 return 0;
36289 }
36290 _ACEOF
36291 rm -f conftest.$ac_objext conftest$ac_exeext
36292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36293 (eval $ac_link) 2>conftest.er1
36294 ac_status=$?
36295 grep -v '^ *+' conftest.er1 >conftest.err
36296 rm -f conftest.er1
36297 cat conftest.err >&5
36298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36299 (exit $ac_status); } &&
36300 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36302 (eval $ac_try) 2>&5
36303 ac_status=$?
36304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36305 (exit $ac_status); }; } &&
36306 { ac_try='test -s conftest$ac_exeext'
36307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36308 (eval $ac_try) 2>&5
36309 ac_status=$?
36310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36311 (exit $ac_status); }; }; then
36312 eval "$as_ac_var=yes"
36313 else
36314 echo "$as_me: failed program was:" >&5
36315 sed 's/^/| /' conftest.$ac_ext >&5
36316
36317 eval "$as_ac_var=no"
36318 fi
36319 rm -f conftest.err conftest.$ac_objext \
36320 conftest$ac_exeext conftest.$ac_ext
36321 fi
36322 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36323 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36324 if test `eval echo '${'$as_ac_var'}'` = yes; then
36325 cat >>confdefs.h <<_ACEOF
36326 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36327 _ACEOF
36328
36329 fi
36330 done
36331
36332 fi
36333
36334
36335 for ac_func in round
36336 do
36337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36338 echo "$as_me:$LINENO: checking for $ac_func" >&5
36339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36340 if eval "test \"\${$as_ac_var+set}\" = set"; then
36341 echo $ECHO_N "(cached) $ECHO_C" >&6
36342 else
36343 cat >conftest.$ac_ext <<_ACEOF
36344 /* confdefs.h. */
36345 _ACEOF
36346 cat confdefs.h >>conftest.$ac_ext
36347 cat >>conftest.$ac_ext <<_ACEOF
36348 /* end confdefs.h. */
36349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36351 #define $ac_func innocuous_$ac_func
36352
36353 /* System header to define __stub macros and hopefully few prototypes,
36354 which can conflict with char $ac_func (); below.
36355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36356 <limits.h> exists even on freestanding compilers. */
36357
36358 #ifdef __STDC__
36359 # include <limits.h>
36360 #else
36361 # include <assert.h>
36362 #endif
36363
36364 #undef $ac_func
36365
36366 /* Override any gcc2 internal prototype to avoid an error. */
36367 #ifdef __cplusplus
36368 extern "C"
36369 {
36370 #endif
36371 /* We use char because int might match the return type of a gcc2
36372 builtin and then its argument prototype would still apply. */
36373 char $ac_func ();
36374 /* The GNU C library defines this for functions which it implements
36375 to always fail with ENOSYS. Some functions are actually named
36376 something starting with __ and the normal name is an alias. */
36377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36378 choke me
36379 #else
36380 char (*f) () = $ac_func;
36381 #endif
36382 #ifdef __cplusplus
36383 }
36384 #endif
36385
36386 int
36387 main ()
36388 {
36389 return f != $ac_func;
36390 ;
36391 return 0;
36392 }
36393 _ACEOF
36394 rm -f conftest.$ac_objext conftest$ac_exeext
36395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36396 (eval $ac_link) 2>conftest.er1
36397 ac_status=$?
36398 grep -v '^ *+' conftest.er1 >conftest.err
36399 rm -f conftest.er1
36400 cat conftest.err >&5
36401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36402 (exit $ac_status); } &&
36403 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36405 (eval $ac_try) 2>&5
36406 ac_status=$?
36407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36408 (exit $ac_status); }; } &&
36409 { ac_try='test -s conftest$ac_exeext'
36410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36411 (eval $ac_try) 2>&5
36412 ac_status=$?
36413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36414 (exit $ac_status); }; }; then
36415 eval "$as_ac_var=yes"
36416 else
36417 echo "$as_me: failed program was:" >&5
36418 sed 's/^/| /' conftest.$ac_ext >&5
36419
36420 eval "$as_ac_var=no"
36421 fi
36422 rm -f conftest.err conftest.$ac_objext \
36423 conftest$ac_exeext conftest.$ac_ext
36424 fi
36425 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36426 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36427 if test `eval echo '${'$as_ac_var'}'` = yes; then
36428 cat >>confdefs.h <<_ACEOF
36429 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36430 _ACEOF
36431
36432 fi
36433 done
36434
36435 if test "$ac_cv_func_round" = yes; then
36436 echo "$as_me:$LINENO: checking whether round is declared" >&5
36437 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
36438 if test "${ac_cv_have_decl_round+set}" = set; then
36439 echo $ECHO_N "(cached) $ECHO_C" >&6
36440 else
36441 cat >conftest.$ac_ext <<_ACEOF
36442 /* confdefs.h. */
36443 _ACEOF
36444 cat confdefs.h >>conftest.$ac_ext
36445 cat >>conftest.$ac_ext <<_ACEOF
36446 /* end confdefs.h. */
36447 #include <math.h>
36448
36449 int
36450 main ()
36451 {
36452 #ifndef round
36453 char *p = (char *) round;
36454 #endif
36455
36456 ;
36457 return 0;
36458 }
36459 _ACEOF
36460 rm -f conftest.$ac_objext
36461 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36462 (eval $ac_compile) 2>conftest.er1
36463 ac_status=$?
36464 grep -v '^ *+' conftest.er1 >conftest.err
36465 rm -f conftest.er1
36466 cat conftest.err >&5
36467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36468 (exit $ac_status); } &&
36469 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36471 (eval $ac_try) 2>&5
36472 ac_status=$?
36473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36474 (exit $ac_status); }; } &&
36475 { ac_try='test -s conftest.$ac_objext'
36476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36477 (eval $ac_try) 2>&5
36478 ac_status=$?
36479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36480 (exit $ac_status); }; }; then
36481 ac_cv_have_decl_round=yes
36482 else
36483 echo "$as_me: failed program was:" >&5
36484 sed 's/^/| /' conftest.$ac_ext >&5
36485
36486 ac_cv_have_decl_round=no
36487 fi
36488 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36489 fi
36490 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
36491 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
36492 if test $ac_cv_have_decl_round = yes; then
36493
36494 cat >>confdefs.h <<_ACEOF
36495 #define HAVE_DECL_ROUND 1
36496 _ACEOF
36497
36498
36499 else
36500 cat >>confdefs.h <<_ACEOF
36501 #define HAVE_DECL_ROUND 0
36502 _ACEOF
36503
36504
36505 fi
36506
36507
36508 fi
36509
36510
36511 if test "$TOOLKIT" != "MSW"; then
36512
36513
36514
36515
36516
36517 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36518 if test "${with_libiconv_prefix+set}" = set; then
36519 withval="$with_libiconv_prefix"
36520
36521 for dir in `echo "$withval" | tr : ' '`; do
36522 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36523 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36524 done
36525
36526 fi;
36527
36528 echo "$as_me:$LINENO: checking for iconv" >&5
36529 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36530 if test "${am_cv_func_iconv+set}" = set; then
36531 echo $ECHO_N "(cached) $ECHO_C" >&6
36532 else
36533
36534 am_cv_func_iconv="no, consider installing GNU libiconv"
36535 am_cv_lib_iconv=no
36536 cat >conftest.$ac_ext <<_ACEOF
36537 /* confdefs.h. */
36538 _ACEOF
36539 cat confdefs.h >>conftest.$ac_ext
36540 cat >>conftest.$ac_ext <<_ACEOF
36541 /* end confdefs.h. */
36542 #include <stdlib.h>
36543 #include <iconv.h>
36544 int
36545 main ()
36546 {
36547 iconv_t cd = iconv_open("","");
36548 iconv(cd,NULL,NULL,NULL,NULL);
36549 iconv_close(cd);
36550 ;
36551 return 0;
36552 }
36553 _ACEOF
36554 rm -f conftest.$ac_objext conftest$ac_exeext
36555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36556 (eval $ac_link) 2>conftest.er1
36557 ac_status=$?
36558 grep -v '^ *+' conftest.er1 >conftest.err
36559 rm -f conftest.er1
36560 cat conftest.err >&5
36561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36562 (exit $ac_status); } &&
36563 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36565 (eval $ac_try) 2>&5
36566 ac_status=$?
36567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36568 (exit $ac_status); }; } &&
36569 { ac_try='test -s conftest$ac_exeext'
36570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36571 (eval $ac_try) 2>&5
36572 ac_status=$?
36573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36574 (exit $ac_status); }; }; then
36575 am_cv_func_iconv=yes
36576 else
36577 echo "$as_me: failed program was:" >&5
36578 sed 's/^/| /' conftest.$ac_ext >&5
36579
36580 fi
36581 rm -f conftest.err conftest.$ac_objext \
36582 conftest$ac_exeext conftest.$ac_ext
36583 if test "$am_cv_func_iconv" != yes; then
36584 am_save_LIBS="$LIBS"
36585 LIBS="$LIBS -liconv"
36586 cat >conftest.$ac_ext <<_ACEOF
36587 /* confdefs.h. */
36588 _ACEOF
36589 cat confdefs.h >>conftest.$ac_ext
36590 cat >>conftest.$ac_ext <<_ACEOF
36591 /* end confdefs.h. */
36592 #include <stdlib.h>
36593 #include <iconv.h>
36594 int
36595 main ()
36596 {
36597 iconv_t cd = iconv_open("","");
36598 iconv(cd,NULL,NULL,NULL,NULL);
36599 iconv_close(cd);
36600 ;
36601 return 0;
36602 }
36603 _ACEOF
36604 rm -f conftest.$ac_objext conftest$ac_exeext
36605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36606 (eval $ac_link) 2>conftest.er1
36607 ac_status=$?
36608 grep -v '^ *+' conftest.er1 >conftest.err
36609 rm -f conftest.er1
36610 cat conftest.err >&5
36611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36612 (exit $ac_status); } &&
36613 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36615 (eval $ac_try) 2>&5
36616 ac_status=$?
36617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36618 (exit $ac_status); }; } &&
36619 { ac_try='test -s conftest$ac_exeext'
36620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36621 (eval $ac_try) 2>&5
36622 ac_status=$?
36623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36624 (exit $ac_status); }; }; then
36625 am_cv_lib_iconv=yes
36626 am_cv_func_iconv=yes
36627 else
36628 echo "$as_me: failed program was:" >&5
36629 sed 's/^/| /' conftest.$ac_ext >&5
36630
36631 fi
36632 rm -f conftest.err conftest.$ac_objext \
36633 conftest$ac_exeext conftest.$ac_ext
36634 LIBS="$am_save_LIBS"
36635 fi
36636
36637 fi
36638 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36639 echo "${ECHO_T}$am_cv_func_iconv" >&6
36640 if test "$am_cv_func_iconv" = yes; then
36641
36642 cat >>confdefs.h <<\_ACEOF
36643 #define HAVE_ICONV 1
36644 _ACEOF
36645
36646 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36647 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36648 if test "${wx_cv_func_iconv_const+set}" = set; then
36649 echo $ECHO_N "(cached) $ECHO_C" >&6
36650 else
36651 cat >conftest.$ac_ext <<_ACEOF
36652 /* confdefs.h. */
36653 _ACEOF
36654 cat confdefs.h >>conftest.$ac_ext
36655 cat >>conftest.$ac_ext <<_ACEOF
36656 /* end confdefs.h. */
36657
36658 #include <stdlib.h>
36659 #include <iconv.h>
36660 extern
36661 #ifdef __cplusplus
36662 "C"
36663 #endif
36664 #if defined(__STDC__) || defined(__cplusplus)
36665 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36666 #else
36667 size_t iconv();
36668 #endif
36669
36670 int
36671 main ()
36672 {
36673
36674 ;
36675 return 0;
36676 }
36677 _ACEOF
36678 rm -f conftest.$ac_objext
36679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36680 (eval $ac_compile) 2>conftest.er1
36681 ac_status=$?
36682 grep -v '^ *+' conftest.er1 >conftest.err
36683 rm -f conftest.er1
36684 cat conftest.err >&5
36685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36686 (exit $ac_status); } &&
36687 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36689 (eval $ac_try) 2>&5
36690 ac_status=$?
36691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36692 (exit $ac_status); }; } &&
36693 { ac_try='test -s conftest.$ac_objext'
36694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36695 (eval $ac_try) 2>&5
36696 ac_status=$?
36697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36698 (exit $ac_status); }; }; then
36699 wx_cv_func_iconv_const="no"
36700 else
36701 echo "$as_me: failed program was:" >&5
36702 sed 's/^/| /' conftest.$ac_ext >&5
36703
36704 wx_cv_func_iconv_const="yes"
36705
36706 fi
36707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36708
36709 fi
36710 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36711 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36712
36713 iconv_const=
36714 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36715 iconv_const="const"
36716 fi
36717
36718
36719 cat >>confdefs.h <<_ACEOF
36720 #define ICONV_CONST $iconv_const
36721 _ACEOF
36722
36723 fi
36724 LIBICONV=
36725 if test "$am_cv_lib_iconv" = yes; then
36726 LIBICONV="-liconv"
36727 fi
36728
36729
36730 LIBS="$LIBICONV $LIBS"
36731
36732 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36733
36734 for ac_func in sigaction
36735 do
36736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36737 echo "$as_me:$LINENO: checking for $ac_func" >&5
36738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36739 if eval "test \"\${$as_ac_var+set}\" = set"; then
36740 echo $ECHO_N "(cached) $ECHO_C" >&6
36741 else
36742 cat >conftest.$ac_ext <<_ACEOF
36743 /* confdefs.h. */
36744 _ACEOF
36745 cat confdefs.h >>conftest.$ac_ext
36746 cat >>conftest.$ac_ext <<_ACEOF
36747 /* end confdefs.h. */
36748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36750 #define $ac_func innocuous_$ac_func
36751
36752 /* System header to define __stub macros and hopefully few prototypes,
36753 which can conflict with char $ac_func (); below.
36754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36755 <limits.h> exists even on freestanding compilers. */
36756
36757 #ifdef __STDC__
36758 # include <limits.h>
36759 #else
36760 # include <assert.h>
36761 #endif
36762
36763 #undef $ac_func
36764
36765 /* Override any gcc2 internal prototype to avoid an error. */
36766 #ifdef __cplusplus
36767 extern "C"
36768 {
36769 #endif
36770 /* We use char because int might match the return type of a gcc2
36771 builtin and then its argument prototype would still apply. */
36772 char $ac_func ();
36773 /* The GNU C library defines this for functions which it implements
36774 to always fail with ENOSYS. Some functions are actually named
36775 something starting with __ and the normal name is an alias. */
36776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36777 choke me
36778 #else
36779 char (*f) () = $ac_func;
36780 #endif
36781 #ifdef __cplusplus
36782 }
36783 #endif
36784
36785 int
36786 main ()
36787 {
36788 return f != $ac_func;
36789 ;
36790 return 0;
36791 }
36792 _ACEOF
36793 rm -f conftest.$ac_objext conftest$ac_exeext
36794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36795 (eval $ac_link) 2>conftest.er1
36796 ac_status=$?
36797 grep -v '^ *+' conftest.er1 >conftest.err
36798 rm -f conftest.er1
36799 cat conftest.err >&5
36800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36801 (exit $ac_status); } &&
36802 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36804 (eval $ac_try) 2>&5
36805 ac_status=$?
36806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36807 (exit $ac_status); }; } &&
36808 { ac_try='test -s conftest$ac_exeext'
36809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36810 (eval $ac_try) 2>&5
36811 ac_status=$?
36812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36813 (exit $ac_status); }; }; then
36814 eval "$as_ac_var=yes"
36815 else
36816 echo "$as_me: failed program was:" >&5
36817 sed 's/^/| /' conftest.$ac_ext >&5
36818
36819 eval "$as_ac_var=no"
36820 fi
36821 rm -f conftest.err conftest.$ac_objext \
36822 conftest$ac_exeext conftest.$ac_ext
36823 fi
36824 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36825 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36826 if test `eval echo '${'$as_ac_var'}'` = yes; then
36827 cat >>confdefs.h <<_ACEOF
36828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36829 _ACEOF
36830
36831 fi
36832 done
36833
36834
36835 if test "$ac_cv_func_sigaction" = "no"; then
36836 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36837 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36838 wxUSE_ON_FATAL_EXCEPTION=no
36839 fi
36840
36841 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36842 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36843 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36844 if test "${wx_cv_type_sa_handler+set}" = set; then
36845 echo $ECHO_N "(cached) $ECHO_C" >&6
36846 else
36847
36848 cat >conftest.$ac_ext <<_ACEOF
36849 /* confdefs.h. */
36850 _ACEOF
36851 cat confdefs.h >>conftest.$ac_ext
36852 cat >>conftest.$ac_ext <<_ACEOF
36853 /* end confdefs.h. */
36854 #include <signal.h>
36855 int
36856 main ()
36857 {
36858
36859 extern void testSigHandler(int);
36860
36861 struct sigaction sa;
36862 sa.sa_handler = testSigHandler;
36863
36864 ;
36865 return 0;
36866 }
36867 _ACEOF
36868 rm -f conftest.$ac_objext
36869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36870 (eval $ac_compile) 2>conftest.er1
36871 ac_status=$?
36872 grep -v '^ *+' conftest.er1 >conftest.err
36873 rm -f conftest.er1
36874 cat conftest.err >&5
36875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36876 (exit $ac_status); } &&
36877 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36879 (eval $ac_try) 2>&5
36880 ac_status=$?
36881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36882 (exit $ac_status); }; } &&
36883 { ac_try='test -s conftest.$ac_objext'
36884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36885 (eval $ac_try) 2>&5
36886 ac_status=$?
36887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36888 (exit $ac_status); }; }; then
36889
36890 wx_cv_type_sa_handler=int
36891
36892 else
36893 echo "$as_me: failed program was:" >&5
36894 sed 's/^/| /' conftest.$ac_ext >&5
36895
36896
36897 wx_cv_type_sa_handler=void
36898
36899 fi
36900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36901
36902 fi
36903 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36904 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
36905
36906 cat >>confdefs.h <<_ACEOF
36907 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36908 _ACEOF
36909
36910 fi
36911 fi
36912
36913 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36914 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36915 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
36916 if test "${wx_cv_func_backtrace+set}" = set; then
36917 echo $ECHO_N "(cached) $ECHO_C" >&6
36918 else
36919
36920 cat >conftest.$ac_ext <<_ACEOF
36921 /* confdefs.h. */
36922 _ACEOF
36923 cat confdefs.h >>conftest.$ac_ext
36924 cat >>conftest.$ac_ext <<_ACEOF
36925 /* end confdefs.h. */
36926 #include <execinfo.h>
36927 int
36928 main ()
36929 {
36930
36931 void *trace[1];
36932 char **messages;
36933
36934 backtrace(trace, 1);
36935 messages = backtrace_symbols(trace, 1);
36936
36937 ;
36938 return 0;
36939 }
36940 _ACEOF
36941 rm -f conftest.$ac_objext
36942 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36943 (eval $ac_compile) 2>conftest.er1
36944 ac_status=$?
36945 grep -v '^ *+' conftest.er1 >conftest.err
36946 rm -f conftest.er1
36947 cat conftest.err >&5
36948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36949 (exit $ac_status); } &&
36950 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36952 (eval $ac_try) 2>&5
36953 ac_status=$?
36954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36955 (exit $ac_status); }; } &&
36956 { ac_try='test -s conftest.$ac_objext'
36957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36958 (eval $ac_try) 2>&5
36959 ac_status=$?
36960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36961 (exit $ac_status); }; }; then
36962 wx_cv_func_backtrace=yes
36963 else
36964 echo "$as_me: failed program was:" >&5
36965 sed 's/^/| /' conftest.$ac_ext >&5
36966
36967 wx_cv_func_backtrace=no
36968
36969 fi
36970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36971
36972
36973 fi
36974 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36975 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
36976
36977
36978 if test "$wx_cv_func_backtrace" = "no"; then
36979 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36980 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36981 wxUSE_STACKWALKER=no
36982 else
36983 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36984 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
36985 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36986 echo $ECHO_N "(cached) $ECHO_C" >&6
36987 else
36988
36989 cat >conftest.$ac_ext <<_ACEOF
36990 /* confdefs.h. */
36991 _ACEOF
36992 cat confdefs.h >>conftest.$ac_ext
36993 cat >>conftest.$ac_ext <<_ACEOF
36994 /* end confdefs.h. */
36995 #include <cxxabi.h>
36996 int
36997 main ()
36998 {
36999
37000 int rc;
37001 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37002
37003 ;
37004 return 0;
37005 }
37006 _ACEOF
37007 rm -f conftest.$ac_objext conftest$ac_exeext
37008 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37009 (eval $ac_link) 2>conftest.er1
37010 ac_status=$?
37011 grep -v '^ *+' conftest.er1 >conftest.err
37012 rm -f conftest.er1
37013 cat conftest.err >&5
37014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37015 (exit $ac_status); } &&
37016 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37018 (eval $ac_try) 2>&5
37019 ac_status=$?
37020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37021 (exit $ac_status); }; } &&
37022 { ac_try='test -s conftest$ac_exeext'
37023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37024 (eval $ac_try) 2>&5
37025 ac_status=$?
37026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37027 (exit $ac_status); }; }; then
37028 wx_cv_func_cxa_demangle=yes
37029 else
37030 echo "$as_me: failed program was:" >&5
37031 sed 's/^/| /' conftest.$ac_ext >&5
37032
37033 wx_cv_func_cxa_demangle=no
37034
37035 fi
37036 rm -f conftest.err conftest.$ac_objext \
37037 conftest$ac_exeext conftest.$ac_ext
37038
37039
37040 fi
37041 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37042 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
37043
37044 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37045 cat >>confdefs.h <<\_ACEOF
37046 #define HAVE_CXA_DEMANGLE 1
37047 _ACEOF
37048
37049 fi
37050 fi
37051 fi
37052
37053 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
37054 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37055 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37056 wxUSE_STACKWALKER=no
37057 fi
37058
37059
37060
37061
37062 for ac_func in mkstemp mktemp
37063 do
37064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37065 echo "$as_me:$LINENO: checking for $ac_func" >&5
37066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37067 if eval "test \"\${$as_ac_var+set}\" = set"; then
37068 echo $ECHO_N "(cached) $ECHO_C" >&6
37069 else
37070 cat >conftest.$ac_ext <<_ACEOF
37071 /* confdefs.h. */
37072 _ACEOF
37073 cat confdefs.h >>conftest.$ac_ext
37074 cat >>conftest.$ac_ext <<_ACEOF
37075 /* end confdefs.h. */
37076 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37077 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37078 #define $ac_func innocuous_$ac_func
37079
37080 /* System header to define __stub macros and hopefully few prototypes,
37081 which can conflict with char $ac_func (); below.
37082 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37083 <limits.h> exists even on freestanding compilers. */
37084
37085 #ifdef __STDC__
37086 # include <limits.h>
37087 #else
37088 # include <assert.h>
37089 #endif
37090
37091 #undef $ac_func
37092
37093 /* Override any gcc2 internal prototype to avoid an error. */
37094 #ifdef __cplusplus
37095 extern "C"
37096 {
37097 #endif
37098 /* We use char because int might match the return type of a gcc2
37099 builtin and then its argument prototype would still apply. */
37100 char $ac_func ();
37101 /* The GNU C library defines this for functions which it implements
37102 to always fail with ENOSYS. Some functions are actually named
37103 something starting with __ and the normal name is an alias. */
37104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37105 choke me
37106 #else
37107 char (*f) () = $ac_func;
37108 #endif
37109 #ifdef __cplusplus
37110 }
37111 #endif
37112
37113 int
37114 main ()
37115 {
37116 return f != $ac_func;
37117 ;
37118 return 0;
37119 }
37120 _ACEOF
37121 rm -f conftest.$ac_objext conftest$ac_exeext
37122 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37123 (eval $ac_link) 2>conftest.er1
37124 ac_status=$?
37125 grep -v '^ *+' conftest.er1 >conftest.err
37126 rm -f conftest.er1
37127 cat conftest.err >&5
37128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37129 (exit $ac_status); } &&
37130 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37132 (eval $ac_try) 2>&5
37133 ac_status=$?
37134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37135 (exit $ac_status); }; } &&
37136 { ac_try='test -s conftest$ac_exeext'
37137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37138 (eval $ac_try) 2>&5
37139 ac_status=$?
37140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37141 (exit $ac_status); }; }; then
37142 eval "$as_ac_var=yes"
37143 else
37144 echo "$as_me: failed program was:" >&5
37145 sed 's/^/| /' conftest.$ac_ext >&5
37146
37147 eval "$as_ac_var=no"
37148 fi
37149 rm -f conftest.err conftest.$ac_objext \
37150 conftest$ac_exeext conftest.$ac_ext
37151 fi
37152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37153 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37154 if test `eval echo '${'$as_ac_var'}'` = yes; then
37155 cat >>confdefs.h <<_ACEOF
37156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37157 _ACEOF
37158 break
37159 fi
37160 done
37161
37162
37163 echo "$as_me:$LINENO: checking for statfs" >&5
37164 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
37165 if test "${wx_cv_func_statfs+set}" = set; then
37166 echo $ECHO_N "(cached) $ECHO_C" >&6
37167 else
37168 cat >conftest.$ac_ext <<_ACEOF
37169 /* confdefs.h. */
37170 _ACEOF
37171 cat confdefs.h >>conftest.$ac_ext
37172 cat >>conftest.$ac_ext <<_ACEOF
37173 /* end confdefs.h. */
37174
37175 #if defined(__BSD__)
37176 #include <sys/param.h>
37177 #include <sys/mount.h>
37178 #else
37179 #include <sys/vfs.h>
37180 #endif
37181
37182 int
37183 main ()
37184 {
37185
37186 long l;
37187 struct statfs fs;
37188 statfs("/", &fs);
37189 l = fs.f_bsize;
37190 l += fs.f_blocks;
37191 l += fs.f_bavail;
37192
37193 ;
37194 return 0;
37195 }
37196 _ACEOF
37197 rm -f conftest.$ac_objext
37198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37199 (eval $ac_compile) 2>conftest.er1
37200 ac_status=$?
37201 grep -v '^ *+' conftest.er1 >conftest.err
37202 rm -f conftest.er1
37203 cat conftest.err >&5
37204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37205 (exit $ac_status); } &&
37206 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37208 (eval $ac_try) 2>&5
37209 ac_status=$?
37210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37211 (exit $ac_status); }; } &&
37212 { ac_try='test -s conftest.$ac_objext'
37213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37214 (eval $ac_try) 2>&5
37215 ac_status=$?
37216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37217 (exit $ac_status); }; }; then
37218 wx_cv_func_statfs=yes
37219 else
37220 echo "$as_me: failed program was:" >&5
37221 sed 's/^/| /' conftest.$ac_ext >&5
37222
37223 wx_cv_func_statfs=no
37224
37225 fi
37226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37227
37228 fi
37229 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37230 echo "${ECHO_T}$wx_cv_func_statfs" >&6
37231
37232 if test "$wx_cv_func_statfs" = "yes"; then
37233 echo "$as_me:$LINENO: checking for statfs declaration" >&5
37234 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
37235 if test "${wx_cv_func_statfs_decl+set}" = set; then
37236 echo $ECHO_N "(cached) $ECHO_C" >&6
37237 else
37238 cat >conftest.$ac_ext <<_ACEOF
37239 /* confdefs.h. */
37240 _ACEOF
37241 cat confdefs.h >>conftest.$ac_ext
37242 cat >>conftest.$ac_ext <<_ACEOF
37243 /* end confdefs.h. */
37244
37245 #if defined(__BSD__)
37246 #include <sys/param.h>
37247 #include <sys/mount.h>
37248 #else
37249 #include <sys/vfs.h>
37250 #endif
37251
37252 int
37253 main ()
37254 {
37255
37256 struct statfs fs;
37257 statfs("", &fs);
37258
37259 ;
37260 return 0;
37261 }
37262 _ACEOF
37263 rm -f conftest.$ac_objext
37264 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37265 (eval $ac_compile) 2>conftest.er1
37266 ac_status=$?
37267 grep -v '^ *+' conftest.er1 >conftest.err
37268 rm -f conftest.er1
37269 cat conftest.err >&5
37270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37271 (exit $ac_status); } &&
37272 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37274 (eval $ac_try) 2>&5
37275 ac_status=$?
37276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37277 (exit $ac_status); }; } &&
37278 { ac_try='test -s conftest.$ac_objext'
37279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37280 (eval $ac_try) 2>&5
37281 ac_status=$?
37282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37283 (exit $ac_status); }; }; then
37284 wx_cv_func_statfs_decl=yes
37285 else
37286 echo "$as_me: failed program was:" >&5
37287 sed 's/^/| /' conftest.$ac_ext >&5
37288
37289 wx_cv_func_statfs_decl=no
37290
37291 fi
37292 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37293
37294 fi
37295 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37296 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
37297
37298 if test "$wx_cv_func_statfs_decl" = "yes"; then
37299 cat >>confdefs.h <<\_ACEOF
37300 #define HAVE_STATFS_DECL 1
37301 _ACEOF
37302
37303 fi
37304
37305 wx_cv_type_statvfs_t="struct statfs"
37306 cat >>confdefs.h <<\_ACEOF
37307 #define HAVE_STATFS 1
37308 _ACEOF
37309
37310 else
37311 echo "$as_me:$LINENO: checking for statvfs" >&5
37312 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
37313 if test "${wx_cv_func_statvfs+set}" = set; then
37314 echo $ECHO_N "(cached) $ECHO_C" >&6
37315 else
37316 cat >conftest.$ac_ext <<_ACEOF
37317 /* confdefs.h. */
37318 _ACEOF
37319 cat confdefs.h >>conftest.$ac_ext
37320 cat >>conftest.$ac_ext <<_ACEOF
37321 /* end confdefs.h. */
37322
37323 #include <stddef.h>
37324 #include <sys/statvfs.h>
37325
37326 int
37327 main ()
37328 {
37329
37330 statvfs("/", NULL);
37331
37332 ;
37333 return 0;
37334 }
37335 _ACEOF
37336 rm -f conftest.$ac_objext
37337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37338 (eval $ac_compile) 2>conftest.er1
37339 ac_status=$?
37340 grep -v '^ *+' conftest.er1 >conftest.err
37341 rm -f conftest.er1
37342 cat conftest.err >&5
37343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37344 (exit $ac_status); } &&
37345 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37347 (eval $ac_try) 2>&5
37348 ac_status=$?
37349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37350 (exit $ac_status); }; } &&
37351 { ac_try='test -s conftest.$ac_objext'
37352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37353 (eval $ac_try) 2>&5
37354 ac_status=$?
37355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37356 (exit $ac_status); }; }; then
37357 wx_cv_func_statvfs=yes
37358 else
37359 echo "$as_me: failed program was:" >&5
37360 sed 's/^/| /' conftest.$ac_ext >&5
37361
37362 wx_cv_func_statvfs=no
37363
37364 fi
37365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37366
37367 fi
37368 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37369 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
37370
37371 if test "$wx_cv_func_statvfs" = "yes"; then
37372 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37373 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
37374 if test "${wx_cv_type_statvfs_t+set}" = set; then
37375 echo $ECHO_N "(cached) $ECHO_C" >&6
37376 else
37377 cat >conftest.$ac_ext <<_ACEOF
37378 /* confdefs.h. */
37379 _ACEOF
37380 cat confdefs.h >>conftest.$ac_ext
37381 cat >>conftest.$ac_ext <<_ACEOF
37382 /* end confdefs.h. */
37383
37384 #include <sys/statvfs.h>
37385
37386 int
37387 main ()
37388 {
37389
37390 long l;
37391 statvfs_t fs;
37392 statvfs("/", &fs);
37393 l = fs.f_bsize;
37394 l += fs.f_blocks;
37395 l += fs.f_bavail;
37396
37397 ;
37398 return 0;
37399 }
37400 _ACEOF
37401 rm -f conftest.$ac_objext
37402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37403 (eval $ac_compile) 2>conftest.er1
37404 ac_status=$?
37405 grep -v '^ *+' conftest.er1 >conftest.err
37406 rm -f conftest.er1
37407 cat conftest.err >&5
37408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37409 (exit $ac_status); } &&
37410 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37412 (eval $ac_try) 2>&5
37413 ac_status=$?
37414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37415 (exit $ac_status); }; } &&
37416 { ac_try='test -s conftest.$ac_objext'
37417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37418 (eval $ac_try) 2>&5
37419 ac_status=$?
37420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37421 (exit $ac_status); }; }; then
37422 wx_cv_type_statvfs_t=statvfs_t
37423 else
37424 echo "$as_me: failed program was:" >&5
37425 sed 's/^/| /' conftest.$ac_ext >&5
37426
37427
37428 cat >conftest.$ac_ext <<_ACEOF
37429 /* confdefs.h. */
37430 _ACEOF
37431 cat confdefs.h >>conftest.$ac_ext
37432 cat >>conftest.$ac_ext <<_ACEOF
37433 /* end confdefs.h. */
37434
37435 #include <sys/statvfs.h>
37436
37437 int
37438 main ()
37439 {
37440
37441 long l;
37442 struct statvfs fs;
37443 statvfs("/", &fs);
37444 l = fs.f_bsize;
37445 l += fs.f_blocks;
37446 l += fs.f_bavail;
37447
37448 ;
37449 return 0;
37450 }
37451 _ACEOF
37452 rm -f conftest.$ac_objext
37453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37454 (eval $ac_compile) 2>conftest.er1
37455 ac_status=$?
37456 grep -v '^ *+' conftest.er1 >conftest.err
37457 rm -f conftest.er1
37458 cat conftest.err >&5
37459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37460 (exit $ac_status); } &&
37461 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37463 (eval $ac_try) 2>&5
37464 ac_status=$?
37465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37466 (exit $ac_status); }; } &&
37467 { ac_try='test -s conftest.$ac_objext'
37468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37469 (eval $ac_try) 2>&5
37470 ac_status=$?
37471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37472 (exit $ac_status); }; }; then
37473 wx_cv_type_statvfs_t="struct statvfs"
37474 else
37475 echo "$as_me: failed program was:" >&5
37476 sed 's/^/| /' conftest.$ac_ext >&5
37477
37478 wx_cv_type_statvfs_t="unknown"
37479
37480 fi
37481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37482
37483
37484 fi
37485 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37486
37487 fi
37488 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37489 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
37490
37491 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37492 cat >>confdefs.h <<\_ACEOF
37493 #define HAVE_STATVFS 1
37494 _ACEOF
37495
37496 fi
37497 else
37498 wx_cv_type_statvfs_t="unknown"
37499 fi
37500 fi
37501
37502 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37503 cat >>confdefs.h <<_ACEOF
37504 #define WX_STATFS_T $wx_cv_type_statvfs_t
37505 _ACEOF
37506
37507 else
37508 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37509 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37510 fi
37511
37512 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37513
37514
37515 for ac_func in fcntl flock
37516 do
37517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37518 echo "$as_me:$LINENO: checking for $ac_func" >&5
37519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37520 if eval "test \"\${$as_ac_var+set}\" = set"; then
37521 echo $ECHO_N "(cached) $ECHO_C" >&6
37522 else
37523 cat >conftest.$ac_ext <<_ACEOF
37524 /* confdefs.h. */
37525 _ACEOF
37526 cat confdefs.h >>conftest.$ac_ext
37527 cat >>conftest.$ac_ext <<_ACEOF
37528 /* end confdefs.h. */
37529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37531 #define $ac_func innocuous_$ac_func
37532
37533 /* System header to define __stub macros and hopefully few prototypes,
37534 which can conflict with char $ac_func (); below.
37535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37536 <limits.h> exists even on freestanding compilers. */
37537
37538 #ifdef __STDC__
37539 # include <limits.h>
37540 #else
37541 # include <assert.h>
37542 #endif
37543
37544 #undef $ac_func
37545
37546 /* Override any gcc2 internal prototype to avoid an error. */
37547 #ifdef __cplusplus
37548 extern "C"
37549 {
37550 #endif
37551 /* We use char because int might match the return type of a gcc2
37552 builtin and then its argument prototype would still apply. */
37553 char $ac_func ();
37554 /* The GNU C library defines this for functions which it implements
37555 to always fail with ENOSYS. Some functions are actually named
37556 something starting with __ and the normal name is an alias. */
37557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37558 choke me
37559 #else
37560 char (*f) () = $ac_func;
37561 #endif
37562 #ifdef __cplusplus
37563 }
37564 #endif
37565
37566 int
37567 main ()
37568 {
37569 return f != $ac_func;
37570 ;
37571 return 0;
37572 }
37573 _ACEOF
37574 rm -f conftest.$ac_objext conftest$ac_exeext
37575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37576 (eval $ac_link) 2>conftest.er1
37577 ac_status=$?
37578 grep -v '^ *+' conftest.er1 >conftest.err
37579 rm -f conftest.er1
37580 cat conftest.err >&5
37581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37582 (exit $ac_status); } &&
37583 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37585 (eval $ac_try) 2>&5
37586 ac_status=$?
37587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37588 (exit $ac_status); }; } &&
37589 { ac_try='test -s conftest$ac_exeext'
37590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37591 (eval $ac_try) 2>&5
37592 ac_status=$?
37593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37594 (exit $ac_status); }; }; then
37595 eval "$as_ac_var=yes"
37596 else
37597 echo "$as_me: failed program was:" >&5
37598 sed 's/^/| /' conftest.$ac_ext >&5
37599
37600 eval "$as_ac_var=no"
37601 fi
37602 rm -f conftest.err conftest.$ac_objext \
37603 conftest$ac_exeext conftest.$ac_ext
37604 fi
37605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37607 if test `eval echo '${'$as_ac_var'}'` = yes; then
37608 cat >>confdefs.h <<_ACEOF
37609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37610 _ACEOF
37611 break
37612 fi
37613 done
37614
37615
37616 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37617 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37618 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37619 wxUSE_SNGLINST_CHECKER=no
37620 fi
37621 fi
37622
37623
37624 for ac_func in timegm
37625 do
37626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37627 echo "$as_me:$LINENO: checking for $ac_func" >&5
37628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37629 if eval "test \"\${$as_ac_var+set}\" = set"; then
37630 echo $ECHO_N "(cached) $ECHO_C" >&6
37631 else
37632 cat >conftest.$ac_ext <<_ACEOF
37633 /* confdefs.h. */
37634 _ACEOF
37635 cat confdefs.h >>conftest.$ac_ext
37636 cat >>conftest.$ac_ext <<_ACEOF
37637 /* end confdefs.h. */
37638 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37640 #define $ac_func innocuous_$ac_func
37641
37642 /* System header to define __stub macros and hopefully few prototypes,
37643 which can conflict with char $ac_func (); below.
37644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37645 <limits.h> exists even on freestanding compilers. */
37646
37647 #ifdef __STDC__
37648 # include <limits.h>
37649 #else
37650 # include <assert.h>
37651 #endif
37652
37653 #undef $ac_func
37654
37655 /* Override any gcc2 internal prototype to avoid an error. */
37656 #ifdef __cplusplus
37657 extern "C"
37658 {
37659 #endif
37660 /* We use char because int might match the return type of a gcc2
37661 builtin and then its argument prototype would still apply. */
37662 char $ac_func ();
37663 /* The GNU C library defines this for functions which it implements
37664 to always fail with ENOSYS. Some functions are actually named
37665 something starting with __ and the normal name is an alias. */
37666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37667 choke me
37668 #else
37669 char (*f) () = $ac_func;
37670 #endif
37671 #ifdef __cplusplus
37672 }
37673 #endif
37674
37675 int
37676 main ()
37677 {
37678 return f != $ac_func;
37679 ;
37680 return 0;
37681 }
37682 _ACEOF
37683 rm -f conftest.$ac_objext conftest$ac_exeext
37684 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37685 (eval $ac_link) 2>conftest.er1
37686 ac_status=$?
37687 grep -v '^ *+' conftest.er1 >conftest.err
37688 rm -f conftest.er1
37689 cat conftest.err >&5
37690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37691 (exit $ac_status); } &&
37692 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37694 (eval $ac_try) 2>&5
37695 ac_status=$?
37696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37697 (exit $ac_status); }; } &&
37698 { ac_try='test -s conftest$ac_exeext'
37699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37700 (eval $ac_try) 2>&5
37701 ac_status=$?
37702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37703 (exit $ac_status); }; }; then
37704 eval "$as_ac_var=yes"
37705 else
37706 echo "$as_me: failed program was:" >&5
37707 sed 's/^/| /' conftest.$ac_ext >&5
37708
37709 eval "$as_ac_var=no"
37710 fi
37711 rm -f conftest.err conftest.$ac_objext \
37712 conftest$ac_exeext conftest.$ac_ext
37713 fi
37714 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37715 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37716 if test `eval echo '${'$as_ac_var'}'` = yes; then
37717 cat >>confdefs.h <<_ACEOF
37718 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37719 _ACEOF
37720
37721 fi
37722 done
37723
37724
37725
37726
37727 for ac_func in putenv setenv
37728 do
37729 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37730 echo "$as_me:$LINENO: checking for $ac_func" >&5
37731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37732 if eval "test \"\${$as_ac_var+set}\" = set"; then
37733 echo $ECHO_N "(cached) $ECHO_C" >&6
37734 else
37735 cat >conftest.$ac_ext <<_ACEOF
37736 /* confdefs.h. */
37737 _ACEOF
37738 cat confdefs.h >>conftest.$ac_ext
37739 cat >>conftest.$ac_ext <<_ACEOF
37740 /* end confdefs.h. */
37741 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37742 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37743 #define $ac_func innocuous_$ac_func
37744
37745 /* System header to define __stub macros and hopefully few prototypes,
37746 which can conflict with char $ac_func (); below.
37747 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37748 <limits.h> exists even on freestanding compilers. */
37749
37750 #ifdef __STDC__
37751 # include <limits.h>
37752 #else
37753 # include <assert.h>
37754 #endif
37755
37756 #undef $ac_func
37757
37758 /* Override any gcc2 internal prototype to avoid an error. */
37759 #ifdef __cplusplus
37760 extern "C"
37761 {
37762 #endif
37763 /* We use char because int might match the return type of a gcc2
37764 builtin and then its argument prototype would still apply. */
37765 char $ac_func ();
37766 /* The GNU C library defines this for functions which it implements
37767 to always fail with ENOSYS. Some functions are actually named
37768 something starting with __ and the normal name is an alias. */
37769 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37770 choke me
37771 #else
37772 char (*f) () = $ac_func;
37773 #endif
37774 #ifdef __cplusplus
37775 }
37776 #endif
37777
37778 int
37779 main ()
37780 {
37781 return f != $ac_func;
37782 ;
37783 return 0;
37784 }
37785 _ACEOF
37786 rm -f conftest.$ac_objext conftest$ac_exeext
37787 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37788 (eval $ac_link) 2>conftest.er1
37789 ac_status=$?
37790 grep -v '^ *+' conftest.er1 >conftest.err
37791 rm -f conftest.er1
37792 cat conftest.err >&5
37793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37794 (exit $ac_status); } &&
37795 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37797 (eval $ac_try) 2>&5
37798 ac_status=$?
37799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37800 (exit $ac_status); }; } &&
37801 { ac_try='test -s conftest$ac_exeext'
37802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37803 (eval $ac_try) 2>&5
37804 ac_status=$?
37805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37806 (exit $ac_status); }; }; then
37807 eval "$as_ac_var=yes"
37808 else
37809 echo "$as_me: failed program was:" >&5
37810 sed 's/^/| /' conftest.$ac_ext >&5
37811
37812 eval "$as_ac_var=no"
37813 fi
37814 rm -f conftest.err conftest.$ac_objext \
37815 conftest$ac_exeext conftest.$ac_ext
37816 fi
37817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37818 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37819 if test `eval echo '${'$as_ac_var'}'` = yes; then
37820 cat >>confdefs.h <<_ACEOF
37821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37822 _ACEOF
37823 break
37824 fi
37825 done
37826
37827
37828 HAVE_SOME_SLEEP_FUNC=0
37829 if test "$USE_BEOS" = 1; then
37830 cat >>confdefs.h <<\_ACEOF
37831 #define HAVE_SLEEP 1
37832 _ACEOF
37833
37834 HAVE_SOME_SLEEP_FUNC=1
37835 fi
37836
37837 if test "$USE_DARWIN" = 1; then
37838 cat >>confdefs.h <<\_ACEOF
37839 #define HAVE_USLEEP 1
37840 _ACEOF
37841
37842 HAVE_SOME_SLEEP_FUNC=1
37843 fi
37844
37845 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37846 POSIX4_LINK=
37847
37848 for ac_func in nanosleep
37849 do
37850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37851 echo "$as_me:$LINENO: checking for $ac_func" >&5
37852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37853 if eval "test \"\${$as_ac_var+set}\" = set"; then
37854 echo $ECHO_N "(cached) $ECHO_C" >&6
37855 else
37856 cat >conftest.$ac_ext <<_ACEOF
37857 /* confdefs.h. */
37858 _ACEOF
37859 cat confdefs.h >>conftest.$ac_ext
37860 cat >>conftest.$ac_ext <<_ACEOF
37861 /* end confdefs.h. */
37862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37864 #define $ac_func innocuous_$ac_func
37865
37866 /* System header to define __stub macros and hopefully few prototypes,
37867 which can conflict with char $ac_func (); below.
37868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37869 <limits.h> exists even on freestanding compilers. */
37870
37871 #ifdef __STDC__
37872 # include <limits.h>
37873 #else
37874 # include <assert.h>
37875 #endif
37876
37877 #undef $ac_func
37878
37879 /* Override any gcc2 internal prototype to avoid an error. */
37880 #ifdef __cplusplus
37881 extern "C"
37882 {
37883 #endif
37884 /* We use char because int might match the return type of a gcc2
37885 builtin and then its argument prototype would still apply. */
37886 char $ac_func ();
37887 /* The GNU C library defines this for functions which it implements
37888 to always fail with ENOSYS. Some functions are actually named
37889 something starting with __ and the normal name is an alias. */
37890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37891 choke me
37892 #else
37893 char (*f) () = $ac_func;
37894 #endif
37895 #ifdef __cplusplus
37896 }
37897 #endif
37898
37899 int
37900 main ()
37901 {
37902 return f != $ac_func;
37903 ;
37904 return 0;
37905 }
37906 _ACEOF
37907 rm -f conftest.$ac_objext conftest$ac_exeext
37908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37909 (eval $ac_link) 2>conftest.er1
37910 ac_status=$?
37911 grep -v '^ *+' conftest.er1 >conftest.err
37912 rm -f conftest.er1
37913 cat conftest.err >&5
37914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37915 (exit $ac_status); } &&
37916 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37918 (eval $ac_try) 2>&5
37919 ac_status=$?
37920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37921 (exit $ac_status); }; } &&
37922 { ac_try='test -s conftest$ac_exeext'
37923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37924 (eval $ac_try) 2>&5
37925 ac_status=$?
37926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37927 (exit $ac_status); }; }; then
37928 eval "$as_ac_var=yes"
37929 else
37930 echo "$as_me: failed program was:" >&5
37931 sed 's/^/| /' conftest.$ac_ext >&5
37932
37933 eval "$as_ac_var=no"
37934 fi
37935 rm -f conftest.err conftest.$ac_objext \
37936 conftest$ac_exeext conftest.$ac_ext
37937 fi
37938 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37939 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37940 if test `eval echo '${'$as_ac_var'}'` = yes; then
37941 cat >>confdefs.h <<_ACEOF
37942 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37943 _ACEOF
37944 cat >>confdefs.h <<\_ACEOF
37945 #define HAVE_NANOSLEEP 1
37946 _ACEOF
37947
37948 else
37949
37950 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37951 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
37952 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37953 echo $ECHO_N "(cached) $ECHO_C" >&6
37954 else
37955 ac_check_lib_save_LIBS=$LIBS
37956 LIBS="-lposix4 $LIBS"
37957 cat >conftest.$ac_ext <<_ACEOF
37958 /* confdefs.h. */
37959 _ACEOF
37960 cat confdefs.h >>conftest.$ac_ext
37961 cat >>conftest.$ac_ext <<_ACEOF
37962 /* end confdefs.h. */
37963
37964 /* Override any gcc2 internal prototype to avoid an error. */
37965 #ifdef __cplusplus
37966 extern "C"
37967 #endif
37968 /* We use char because int might match the return type of a gcc2
37969 builtin and then its argument prototype would still apply. */
37970 char nanosleep ();
37971 int
37972 main ()
37973 {
37974 nanosleep ();
37975 ;
37976 return 0;
37977 }
37978 _ACEOF
37979 rm -f conftest.$ac_objext conftest$ac_exeext
37980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37981 (eval $ac_link) 2>conftest.er1
37982 ac_status=$?
37983 grep -v '^ *+' conftest.er1 >conftest.err
37984 rm -f conftest.er1
37985 cat conftest.err >&5
37986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37987 (exit $ac_status); } &&
37988 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37990 (eval $ac_try) 2>&5
37991 ac_status=$?
37992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37993 (exit $ac_status); }; } &&
37994 { ac_try='test -s conftest$ac_exeext'
37995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37996 (eval $ac_try) 2>&5
37997 ac_status=$?
37998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37999 (exit $ac_status); }; }; then
38000 ac_cv_lib_posix4_nanosleep=yes
38001 else
38002 echo "$as_me: failed program was:" >&5
38003 sed 's/^/| /' conftest.$ac_ext >&5
38004
38005 ac_cv_lib_posix4_nanosleep=no
38006 fi
38007 rm -f conftest.err conftest.$ac_objext \
38008 conftest$ac_exeext conftest.$ac_ext
38009 LIBS=$ac_check_lib_save_LIBS
38010 fi
38011 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38012 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
38013 if test $ac_cv_lib_posix4_nanosleep = yes; then
38014
38015 cat >>confdefs.h <<\_ACEOF
38016 #define HAVE_NANOSLEEP 1
38017 _ACEOF
38018
38019 POSIX4_LINK=" -lposix4"
38020
38021 else
38022
38023
38024 for ac_func in usleep
38025 do
38026 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38027 echo "$as_me:$LINENO: checking for $ac_func" >&5
38028 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38029 if eval "test \"\${$as_ac_var+set}\" = set"; then
38030 echo $ECHO_N "(cached) $ECHO_C" >&6
38031 else
38032 cat >conftest.$ac_ext <<_ACEOF
38033 /* confdefs.h. */
38034 _ACEOF
38035 cat confdefs.h >>conftest.$ac_ext
38036 cat >>conftest.$ac_ext <<_ACEOF
38037 /* end confdefs.h. */
38038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38040 #define $ac_func innocuous_$ac_func
38041
38042 /* System header to define __stub macros and hopefully few prototypes,
38043 which can conflict with char $ac_func (); below.
38044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38045 <limits.h> exists even on freestanding compilers. */
38046
38047 #ifdef __STDC__
38048 # include <limits.h>
38049 #else
38050 # include <assert.h>
38051 #endif
38052
38053 #undef $ac_func
38054
38055 /* Override any gcc2 internal prototype to avoid an error. */
38056 #ifdef __cplusplus
38057 extern "C"
38058 {
38059 #endif
38060 /* We use char because int might match the return type of a gcc2
38061 builtin and then its argument prototype would still apply. */
38062 char $ac_func ();
38063 /* The GNU C library defines this for functions which it implements
38064 to always fail with ENOSYS. Some functions are actually named
38065 something starting with __ and the normal name is an alias. */
38066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38067 choke me
38068 #else
38069 char (*f) () = $ac_func;
38070 #endif
38071 #ifdef __cplusplus
38072 }
38073 #endif
38074
38075 int
38076 main ()
38077 {
38078 return f != $ac_func;
38079 ;
38080 return 0;
38081 }
38082 _ACEOF
38083 rm -f conftest.$ac_objext conftest$ac_exeext
38084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38085 (eval $ac_link) 2>conftest.er1
38086 ac_status=$?
38087 grep -v '^ *+' conftest.er1 >conftest.err
38088 rm -f conftest.er1
38089 cat conftest.err >&5
38090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38091 (exit $ac_status); } &&
38092 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38094 (eval $ac_try) 2>&5
38095 ac_status=$?
38096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38097 (exit $ac_status); }; } &&
38098 { ac_try='test -s conftest$ac_exeext'
38099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38100 (eval $ac_try) 2>&5
38101 ac_status=$?
38102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38103 (exit $ac_status); }; }; then
38104 eval "$as_ac_var=yes"
38105 else
38106 echo "$as_me: failed program was:" >&5
38107 sed 's/^/| /' conftest.$ac_ext >&5
38108
38109 eval "$as_ac_var=no"
38110 fi
38111 rm -f conftest.err conftest.$ac_objext \
38112 conftest$ac_exeext conftest.$ac_ext
38113 fi
38114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38116 if test `eval echo '${'$as_ac_var'}'` = yes; then
38117 cat >>confdefs.h <<_ACEOF
38118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38119 _ACEOF
38120 cat >>confdefs.h <<\_ACEOF
38121 #define HAVE_USLEEP 1
38122 _ACEOF
38123
38124 else
38125 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38126 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38127
38128 fi
38129 done
38130
38131
38132
38133 fi
38134
38135
38136
38137 fi
38138 done
38139
38140 fi
38141
38142
38143
38144 for ac_func in uname gethostname
38145 do
38146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38147 echo "$as_me:$LINENO: checking for $ac_func" >&5
38148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38149 if eval "test \"\${$as_ac_var+set}\" = set"; then
38150 echo $ECHO_N "(cached) $ECHO_C" >&6
38151 else
38152 cat >conftest.$ac_ext <<_ACEOF
38153 /* confdefs.h. */
38154 _ACEOF
38155 cat confdefs.h >>conftest.$ac_ext
38156 cat >>conftest.$ac_ext <<_ACEOF
38157 /* end confdefs.h. */
38158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38160 #define $ac_func innocuous_$ac_func
38161
38162 /* System header to define __stub macros and hopefully few prototypes,
38163 which can conflict with char $ac_func (); below.
38164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38165 <limits.h> exists even on freestanding compilers. */
38166
38167 #ifdef __STDC__
38168 # include <limits.h>
38169 #else
38170 # include <assert.h>
38171 #endif
38172
38173 #undef $ac_func
38174
38175 /* Override any gcc2 internal prototype to avoid an error. */
38176 #ifdef __cplusplus
38177 extern "C"
38178 {
38179 #endif
38180 /* We use char because int might match the return type of a gcc2
38181 builtin and then its argument prototype would still apply. */
38182 char $ac_func ();
38183 /* The GNU C library defines this for functions which it implements
38184 to always fail with ENOSYS. Some functions are actually named
38185 something starting with __ and the normal name is an alias. */
38186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38187 choke me
38188 #else
38189 char (*f) () = $ac_func;
38190 #endif
38191 #ifdef __cplusplus
38192 }
38193 #endif
38194
38195 int
38196 main ()
38197 {
38198 return f != $ac_func;
38199 ;
38200 return 0;
38201 }
38202 _ACEOF
38203 rm -f conftest.$ac_objext conftest$ac_exeext
38204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38205 (eval $ac_link) 2>conftest.er1
38206 ac_status=$?
38207 grep -v '^ *+' conftest.er1 >conftest.err
38208 rm -f conftest.er1
38209 cat conftest.err >&5
38210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38211 (exit $ac_status); } &&
38212 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38214 (eval $ac_try) 2>&5
38215 ac_status=$?
38216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38217 (exit $ac_status); }; } &&
38218 { ac_try='test -s conftest$ac_exeext'
38219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38220 (eval $ac_try) 2>&5
38221 ac_status=$?
38222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38223 (exit $ac_status); }; }; then
38224 eval "$as_ac_var=yes"
38225 else
38226 echo "$as_me: failed program was:" >&5
38227 sed 's/^/| /' conftest.$ac_ext >&5
38228
38229 eval "$as_ac_var=no"
38230 fi
38231 rm -f conftest.err conftest.$ac_objext \
38232 conftest$ac_exeext conftest.$ac_ext
38233 fi
38234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38235 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38236 if test `eval echo '${'$as_ac_var'}'` = yes; then
38237 cat >>confdefs.h <<_ACEOF
38238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38239 _ACEOF
38240 break
38241 fi
38242 done
38243
38244
38245
38246 for wx_func in strtok_r
38247 do
38248 echo "$as_me:$LINENO: checking for $wx_func" >&5
38249 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38250 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38251 echo $ECHO_N "(cached) $ECHO_C" >&6
38252 else
38253
38254 cat >conftest.$ac_ext <<_ACEOF
38255
38256 /* confdefs.h. */
38257 _ACEOF
38258 cat confdefs.h >>conftest.$ac_ext
38259 cat >>conftest.$ac_ext <<_ACEOF
38260 /* end confdefs.h. */
38261
38262 #define _REENTRANT
38263 $ac_includes_default
38264
38265 int
38266 main ()
38267 {
38268
38269 #ifndef $wx_func
38270 &$wx_func;
38271 #endif
38272
38273
38274 ;
38275 return 0;
38276 }
38277
38278 _ACEOF
38279 rm -f conftest.$ac_objext conftest$ac_exeext
38280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38281 (eval $ac_link) 2>conftest.er1
38282 ac_status=$?
38283 grep -v '^ *+' conftest.er1 >conftest.err
38284 rm -f conftest.er1
38285 cat conftest.err >&5
38286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38287 (exit $ac_status); } &&
38288 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38290 (eval $ac_try) 2>&5
38291 ac_status=$?
38292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38293 (exit $ac_status); }; } &&
38294 { ac_try='test -s conftest$ac_exeext'
38295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38296 (eval $ac_try) 2>&5
38297 ac_status=$?
38298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38299 (exit $ac_status); }; }; then
38300 eval wx_cv_func_$wx_func=yes
38301 else
38302 echo "$as_me: failed program was:" >&5
38303 sed 's/^/| /' conftest.$ac_ext >&5
38304
38305 eval wx_cv_func_$wx_func=no
38306 fi
38307 rm -f conftest.err conftest.$ac_objext \
38308 conftest$ac_exeext conftest.$ac_ext
38309
38310 fi
38311 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38312 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38313
38314 if eval test \$wx_cv_func_$wx_func = yes
38315 then
38316 cat >>confdefs.h <<_ACEOF
38317 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38318 _ACEOF
38319
38320
38321 else
38322 :
38323
38324 fi
38325 done
38326
38327
38328 INET_LINK=
38329
38330 for ac_func in inet_addr
38331 do
38332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38333 echo "$as_me:$LINENO: checking for $ac_func" >&5
38334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38335 if eval "test \"\${$as_ac_var+set}\" = set"; then
38336 echo $ECHO_N "(cached) $ECHO_C" >&6
38337 else
38338 cat >conftest.$ac_ext <<_ACEOF
38339 /* confdefs.h. */
38340 _ACEOF
38341 cat confdefs.h >>conftest.$ac_ext
38342 cat >>conftest.$ac_ext <<_ACEOF
38343 /* end confdefs.h. */
38344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38346 #define $ac_func innocuous_$ac_func
38347
38348 /* System header to define __stub macros and hopefully few prototypes,
38349 which can conflict with char $ac_func (); below.
38350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38351 <limits.h> exists even on freestanding compilers. */
38352
38353 #ifdef __STDC__
38354 # include <limits.h>
38355 #else
38356 # include <assert.h>
38357 #endif
38358
38359 #undef $ac_func
38360
38361 /* Override any gcc2 internal prototype to avoid an error. */
38362 #ifdef __cplusplus
38363 extern "C"
38364 {
38365 #endif
38366 /* We use char because int might match the return type of a gcc2
38367 builtin and then its argument prototype would still apply. */
38368 char $ac_func ();
38369 /* The GNU C library defines this for functions which it implements
38370 to always fail with ENOSYS. Some functions are actually named
38371 something starting with __ and the normal name is an alias. */
38372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38373 choke me
38374 #else
38375 char (*f) () = $ac_func;
38376 #endif
38377 #ifdef __cplusplus
38378 }
38379 #endif
38380
38381 int
38382 main ()
38383 {
38384 return f != $ac_func;
38385 ;
38386 return 0;
38387 }
38388 _ACEOF
38389 rm -f conftest.$ac_objext conftest$ac_exeext
38390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38391 (eval $ac_link) 2>conftest.er1
38392 ac_status=$?
38393 grep -v '^ *+' conftest.er1 >conftest.err
38394 rm -f conftest.er1
38395 cat conftest.err >&5
38396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38397 (exit $ac_status); } &&
38398 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38400 (eval $ac_try) 2>&5
38401 ac_status=$?
38402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38403 (exit $ac_status); }; } &&
38404 { ac_try='test -s conftest$ac_exeext'
38405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38406 (eval $ac_try) 2>&5
38407 ac_status=$?
38408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38409 (exit $ac_status); }; }; then
38410 eval "$as_ac_var=yes"
38411 else
38412 echo "$as_me: failed program was:" >&5
38413 sed 's/^/| /' conftest.$ac_ext >&5
38414
38415 eval "$as_ac_var=no"
38416 fi
38417 rm -f conftest.err conftest.$ac_objext \
38418 conftest$ac_exeext conftest.$ac_ext
38419 fi
38420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38422 if test `eval echo '${'$as_ac_var'}'` = yes; then
38423 cat >>confdefs.h <<_ACEOF
38424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38425 _ACEOF
38426 cat >>confdefs.h <<\_ACEOF
38427 #define HAVE_INET_ADDR 1
38428 _ACEOF
38429
38430 else
38431
38432 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38433 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
38434 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38435 echo $ECHO_N "(cached) $ECHO_C" >&6
38436 else
38437 ac_check_lib_save_LIBS=$LIBS
38438 LIBS="-lnsl $LIBS"
38439 cat >conftest.$ac_ext <<_ACEOF
38440 /* confdefs.h. */
38441 _ACEOF
38442 cat confdefs.h >>conftest.$ac_ext
38443 cat >>conftest.$ac_ext <<_ACEOF
38444 /* end confdefs.h. */
38445
38446 /* Override any gcc2 internal prototype to avoid an error. */
38447 #ifdef __cplusplus
38448 extern "C"
38449 #endif
38450 /* We use char because int might match the return type of a gcc2
38451 builtin and then its argument prototype would still apply. */
38452 char inet_addr ();
38453 int
38454 main ()
38455 {
38456 inet_addr ();
38457 ;
38458 return 0;
38459 }
38460 _ACEOF
38461 rm -f conftest.$ac_objext conftest$ac_exeext
38462 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38463 (eval $ac_link) 2>conftest.er1
38464 ac_status=$?
38465 grep -v '^ *+' conftest.er1 >conftest.err
38466 rm -f conftest.er1
38467 cat conftest.err >&5
38468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38469 (exit $ac_status); } &&
38470 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38472 (eval $ac_try) 2>&5
38473 ac_status=$?
38474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38475 (exit $ac_status); }; } &&
38476 { ac_try='test -s conftest$ac_exeext'
38477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38478 (eval $ac_try) 2>&5
38479 ac_status=$?
38480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38481 (exit $ac_status); }; }; then
38482 ac_cv_lib_nsl_inet_addr=yes
38483 else
38484 echo "$as_me: failed program was:" >&5
38485 sed 's/^/| /' conftest.$ac_ext >&5
38486
38487 ac_cv_lib_nsl_inet_addr=no
38488 fi
38489 rm -f conftest.err conftest.$ac_objext \
38490 conftest$ac_exeext conftest.$ac_ext
38491 LIBS=$ac_check_lib_save_LIBS
38492 fi
38493 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38494 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38495 if test $ac_cv_lib_nsl_inet_addr = yes; then
38496 INET_LINK="nsl"
38497 else
38498
38499 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38500 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38501 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38502 echo $ECHO_N "(cached) $ECHO_C" >&6
38503 else
38504 ac_check_lib_save_LIBS=$LIBS
38505 LIBS="-lresolv $LIBS"
38506 cat >conftest.$ac_ext <<_ACEOF
38507 /* confdefs.h. */
38508 _ACEOF
38509 cat confdefs.h >>conftest.$ac_ext
38510 cat >>conftest.$ac_ext <<_ACEOF
38511 /* end confdefs.h. */
38512
38513 /* Override any gcc2 internal prototype to avoid an error. */
38514 #ifdef __cplusplus
38515 extern "C"
38516 #endif
38517 /* We use char because int might match the return type of a gcc2
38518 builtin and then its argument prototype would still apply. */
38519 char inet_addr ();
38520 int
38521 main ()
38522 {
38523 inet_addr ();
38524 ;
38525 return 0;
38526 }
38527 _ACEOF
38528 rm -f conftest.$ac_objext conftest$ac_exeext
38529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38530 (eval $ac_link) 2>conftest.er1
38531 ac_status=$?
38532 grep -v '^ *+' conftest.er1 >conftest.err
38533 rm -f conftest.er1
38534 cat conftest.err >&5
38535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38536 (exit $ac_status); } &&
38537 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38539 (eval $ac_try) 2>&5
38540 ac_status=$?
38541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38542 (exit $ac_status); }; } &&
38543 { ac_try='test -s conftest$ac_exeext'
38544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38545 (eval $ac_try) 2>&5
38546 ac_status=$?
38547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38548 (exit $ac_status); }; }; then
38549 ac_cv_lib_resolv_inet_addr=yes
38550 else
38551 echo "$as_me: failed program was:" >&5
38552 sed 's/^/| /' conftest.$ac_ext >&5
38553
38554 ac_cv_lib_resolv_inet_addr=no
38555 fi
38556 rm -f conftest.err conftest.$ac_objext \
38557 conftest$ac_exeext conftest.$ac_ext
38558 LIBS=$ac_check_lib_save_LIBS
38559 fi
38560 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38561 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38562 if test $ac_cv_lib_resolv_inet_addr = yes; then
38563 INET_LINK="resolv"
38564 else
38565
38566 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38567 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38568 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38569 echo $ECHO_N "(cached) $ECHO_C" >&6
38570 else
38571 ac_check_lib_save_LIBS=$LIBS
38572 LIBS="-lsocket $LIBS"
38573 cat >conftest.$ac_ext <<_ACEOF
38574 /* confdefs.h. */
38575 _ACEOF
38576 cat confdefs.h >>conftest.$ac_ext
38577 cat >>conftest.$ac_ext <<_ACEOF
38578 /* end confdefs.h. */
38579
38580 /* Override any gcc2 internal prototype to avoid an error. */
38581 #ifdef __cplusplus
38582 extern "C"
38583 #endif
38584 /* We use char because int might match the return type of a gcc2
38585 builtin and then its argument prototype would still apply. */
38586 char inet_addr ();
38587 int
38588 main ()
38589 {
38590 inet_addr ();
38591 ;
38592 return 0;
38593 }
38594 _ACEOF
38595 rm -f conftest.$ac_objext conftest$ac_exeext
38596 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38597 (eval $ac_link) 2>conftest.er1
38598 ac_status=$?
38599 grep -v '^ *+' conftest.er1 >conftest.err
38600 rm -f conftest.er1
38601 cat conftest.err >&5
38602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38603 (exit $ac_status); } &&
38604 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38606 (eval $ac_try) 2>&5
38607 ac_status=$?
38608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38609 (exit $ac_status); }; } &&
38610 { ac_try='test -s conftest$ac_exeext'
38611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38612 (eval $ac_try) 2>&5
38613 ac_status=$?
38614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38615 (exit $ac_status); }; }; then
38616 ac_cv_lib_socket_inet_addr=yes
38617 else
38618 echo "$as_me: failed program was:" >&5
38619 sed 's/^/| /' conftest.$ac_ext >&5
38620
38621 ac_cv_lib_socket_inet_addr=no
38622 fi
38623 rm -f conftest.err conftest.$ac_objext \
38624 conftest$ac_exeext conftest.$ac_ext
38625 LIBS=$ac_check_lib_save_LIBS
38626 fi
38627 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38628 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38629 if test $ac_cv_lib_socket_inet_addr = yes; then
38630 INET_LINK="socket"
38631
38632 fi
38633
38634
38635
38636 fi
38637
38638
38639
38640 fi
38641
38642
38643
38644 fi
38645 done
38646
38647
38648
38649 for ac_func in inet_aton
38650 do
38651 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38652 echo "$as_me:$LINENO: checking for $ac_func" >&5
38653 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38654 if eval "test \"\${$as_ac_var+set}\" = set"; then
38655 echo $ECHO_N "(cached) $ECHO_C" >&6
38656 else
38657 cat >conftest.$ac_ext <<_ACEOF
38658 /* confdefs.h. */
38659 _ACEOF
38660 cat confdefs.h >>conftest.$ac_ext
38661 cat >>conftest.$ac_ext <<_ACEOF
38662 /* end confdefs.h. */
38663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38665 #define $ac_func innocuous_$ac_func
38666
38667 /* System header to define __stub macros and hopefully few prototypes,
38668 which can conflict with char $ac_func (); below.
38669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38670 <limits.h> exists even on freestanding compilers. */
38671
38672 #ifdef __STDC__
38673 # include <limits.h>
38674 #else
38675 # include <assert.h>
38676 #endif
38677
38678 #undef $ac_func
38679
38680 /* Override any gcc2 internal prototype to avoid an error. */
38681 #ifdef __cplusplus
38682 extern "C"
38683 {
38684 #endif
38685 /* We use char because int might match the return type of a gcc2
38686 builtin and then its argument prototype would still apply. */
38687 char $ac_func ();
38688 /* The GNU C library defines this for functions which it implements
38689 to always fail with ENOSYS. Some functions are actually named
38690 something starting with __ and the normal name is an alias. */
38691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38692 choke me
38693 #else
38694 char (*f) () = $ac_func;
38695 #endif
38696 #ifdef __cplusplus
38697 }
38698 #endif
38699
38700 int
38701 main ()
38702 {
38703 return f != $ac_func;
38704 ;
38705 return 0;
38706 }
38707 _ACEOF
38708 rm -f conftest.$ac_objext conftest$ac_exeext
38709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38710 (eval $ac_link) 2>conftest.er1
38711 ac_status=$?
38712 grep -v '^ *+' conftest.er1 >conftest.err
38713 rm -f conftest.er1
38714 cat conftest.err >&5
38715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38716 (exit $ac_status); } &&
38717 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38719 (eval $ac_try) 2>&5
38720 ac_status=$?
38721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38722 (exit $ac_status); }; } &&
38723 { ac_try='test -s conftest$ac_exeext'
38724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38725 (eval $ac_try) 2>&5
38726 ac_status=$?
38727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38728 (exit $ac_status); }; }; then
38729 eval "$as_ac_var=yes"
38730 else
38731 echo "$as_me: failed program was:" >&5
38732 sed 's/^/| /' conftest.$ac_ext >&5
38733
38734 eval "$as_ac_var=no"
38735 fi
38736 rm -f conftest.err conftest.$ac_objext \
38737 conftest$ac_exeext conftest.$ac_ext
38738 fi
38739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38741 if test `eval echo '${'$as_ac_var'}'` = yes; then
38742 cat >>confdefs.h <<_ACEOF
38743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38744 _ACEOF
38745 cat >>confdefs.h <<\_ACEOF
38746 #define HAVE_INET_ATON 1
38747 _ACEOF
38748
38749 else
38750
38751 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38752 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38753 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38754 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38755 echo $ECHO_N "(cached) $ECHO_C" >&6
38756 else
38757 ac_check_lib_save_LIBS=$LIBS
38758 LIBS="-l$INET_LINK $LIBS"
38759 cat >conftest.$ac_ext <<_ACEOF
38760 /* confdefs.h. */
38761 _ACEOF
38762 cat confdefs.h >>conftest.$ac_ext
38763 cat >>conftest.$ac_ext <<_ACEOF
38764 /* end confdefs.h. */
38765
38766 /* Override any gcc2 internal prototype to avoid an error. */
38767 #ifdef __cplusplus
38768 extern "C"
38769 #endif
38770 /* We use char because int might match the return type of a gcc2
38771 builtin and then its argument prototype would still apply. */
38772 char inet_aton ();
38773 int
38774 main ()
38775 {
38776 inet_aton ();
38777 ;
38778 return 0;
38779 }
38780 _ACEOF
38781 rm -f conftest.$ac_objext conftest$ac_exeext
38782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38783 (eval $ac_link) 2>conftest.er1
38784 ac_status=$?
38785 grep -v '^ *+' conftest.er1 >conftest.err
38786 rm -f conftest.er1
38787 cat conftest.err >&5
38788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38789 (exit $ac_status); } &&
38790 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38792 (eval $ac_try) 2>&5
38793 ac_status=$?
38794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38795 (exit $ac_status); }; } &&
38796 { ac_try='test -s conftest$ac_exeext'
38797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38798 (eval $ac_try) 2>&5
38799 ac_status=$?
38800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38801 (exit $ac_status); }; }; then
38802 eval "$as_ac_Lib=yes"
38803 else
38804 echo "$as_me: failed program was:" >&5
38805 sed 's/^/| /' conftest.$ac_ext >&5
38806
38807 eval "$as_ac_Lib=no"
38808 fi
38809 rm -f conftest.err conftest.$ac_objext \
38810 conftest$ac_exeext conftest.$ac_ext
38811 LIBS=$ac_check_lib_save_LIBS
38812 fi
38813 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
38814 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
38815 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38816 cat >>confdefs.h <<\_ACEOF
38817 #define HAVE_INET_ATON 1
38818 _ACEOF
38819
38820 fi
38821
38822
38823 fi
38824 done
38825
38826
38827 if test "x$INET_LINK" != "x"; then
38828 cat >>confdefs.h <<\_ACEOF
38829 #define HAVE_INET_ADDR 1
38830 _ACEOF
38831
38832 INET_LINK=" -l$INET_LINK"
38833 fi
38834
38835
38836 for wx_func in fdopen
38837 do
38838 echo "$as_me:$LINENO: checking for $wx_func" >&5
38839 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38840 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38841 echo $ECHO_N "(cached) $ECHO_C" >&6
38842 else
38843
38844 cat >conftest.$ac_ext <<_ACEOF
38845
38846 /* confdefs.h. */
38847 _ACEOF
38848 cat confdefs.h >>conftest.$ac_ext
38849 cat >>conftest.$ac_ext <<_ACEOF
38850 /* end confdefs.h. */
38851
38852
38853 $ac_includes_default
38854
38855 int
38856 main ()
38857 {
38858
38859 #ifndef $wx_func
38860 &$wx_func;
38861 #endif
38862
38863
38864 ;
38865 return 0;
38866 }
38867
38868 _ACEOF
38869 rm -f conftest.$ac_objext conftest$ac_exeext
38870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38871 (eval $ac_link) 2>conftest.er1
38872 ac_status=$?
38873 grep -v '^ *+' conftest.er1 >conftest.err
38874 rm -f conftest.er1
38875 cat conftest.err >&5
38876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38877 (exit $ac_status); } &&
38878 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38880 (eval $ac_try) 2>&5
38881 ac_status=$?
38882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38883 (exit $ac_status); }; } &&
38884 { ac_try='test -s conftest$ac_exeext'
38885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38886 (eval $ac_try) 2>&5
38887 ac_status=$?
38888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38889 (exit $ac_status); }; }; then
38890 eval wx_cv_func_$wx_func=yes
38891 else
38892 echo "$as_me: failed program was:" >&5
38893 sed 's/^/| /' conftest.$ac_ext >&5
38894
38895 eval wx_cv_func_$wx_func=no
38896 fi
38897 rm -f conftest.err conftest.$ac_objext \
38898 conftest$ac_exeext conftest.$ac_ext
38899
38900 fi
38901 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38902 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38903
38904 if eval test \$wx_cv_func_$wx_func = yes
38905 then
38906 cat >>confdefs.h <<_ACEOF
38907 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38908 _ACEOF
38909
38910
38911 else
38912 :
38913
38914 fi
38915 done
38916
38917
38918 fi
38919
38920
38921
38922
38923 EXTRALIBS_ESD=
38924 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
38925 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
38926 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
38927 echo $ECHO_N "(cached) $ECHO_C" >&6
38928 else
38929 ac_check_lib_save_LIBS=$LIBS
38930 LIBS="-lesd $LIBS"
38931 cat >conftest.$ac_ext <<_ACEOF
38932 /* confdefs.h. */
38933 _ACEOF
38934 cat confdefs.h >>conftest.$ac_ext
38935 cat >>conftest.$ac_ext <<_ACEOF
38936 /* end confdefs.h. */
38937
38938 /* Override any gcc2 internal prototype to avoid an error. */
38939 #ifdef __cplusplus
38940 extern "C"
38941 #endif
38942 /* We use char because int might match the return type of a gcc2
38943 builtin and then its argument prototype would still apply. */
38944 char esd_close ();
38945 int
38946 main ()
38947 {
38948 esd_close ();
38949 ;
38950 return 0;
38951 }
38952 _ACEOF
38953 rm -f conftest.$ac_objext conftest$ac_exeext
38954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38955 (eval $ac_link) 2>conftest.er1
38956 ac_status=$?
38957 grep -v '^ *+' conftest.er1 >conftest.err
38958 rm -f conftest.er1
38959 cat conftest.err >&5
38960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38961 (exit $ac_status); } &&
38962 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38964 (eval $ac_try) 2>&5
38965 ac_status=$?
38966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38967 (exit $ac_status); }; } &&
38968 { ac_try='test -s conftest$ac_exeext'
38969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38970 (eval $ac_try) 2>&5
38971 ac_status=$?
38972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38973 (exit $ac_status); }; }; then
38974 ac_cv_lib_esd_esd_close=yes
38975 else
38976 echo "$as_me: failed program was:" >&5
38977 sed 's/^/| /' conftest.$ac_ext >&5
38978
38979 ac_cv_lib_esd_esd_close=no
38980 fi
38981 rm -f conftest.err conftest.$ac_objext \
38982 conftest$ac_exeext conftest.$ac_ext
38983 LIBS=$ac_check_lib_save_LIBS
38984 fi
38985 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
38986 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
38987 if test $ac_cv_lib_esd_esd_close = yes; then
38988
38989
38990 for ac_header in esd.h
38991 do
38992 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38993 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38994 echo "$as_me:$LINENO: checking for $ac_header" >&5
38995 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38996 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38997 echo $ECHO_N "(cached) $ECHO_C" >&6
38998 fi
38999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39000 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39001 else
39002 # Is the header compilable?
39003 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39004 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39005 cat >conftest.$ac_ext <<_ACEOF
39006 /* confdefs.h. */
39007 _ACEOF
39008 cat confdefs.h >>conftest.$ac_ext
39009 cat >>conftest.$ac_ext <<_ACEOF
39010 /* end confdefs.h. */
39011 $ac_includes_default
39012 #include <$ac_header>
39013 _ACEOF
39014 rm -f conftest.$ac_objext
39015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39016 (eval $ac_compile) 2>conftest.er1
39017 ac_status=$?
39018 grep -v '^ *+' conftest.er1 >conftest.err
39019 rm -f conftest.er1
39020 cat conftest.err >&5
39021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39022 (exit $ac_status); } &&
39023 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39025 (eval $ac_try) 2>&5
39026 ac_status=$?
39027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39028 (exit $ac_status); }; } &&
39029 { ac_try='test -s conftest.$ac_objext'
39030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39031 (eval $ac_try) 2>&5
39032 ac_status=$?
39033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39034 (exit $ac_status); }; }; then
39035 ac_header_compiler=yes
39036 else
39037 echo "$as_me: failed program was:" >&5
39038 sed 's/^/| /' conftest.$ac_ext >&5
39039
39040 ac_header_compiler=no
39041 fi
39042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39043 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39044 echo "${ECHO_T}$ac_header_compiler" >&6
39045
39046 # Is the header present?
39047 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39048 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39049 cat >conftest.$ac_ext <<_ACEOF
39050 /* confdefs.h. */
39051 _ACEOF
39052 cat confdefs.h >>conftest.$ac_ext
39053 cat >>conftest.$ac_ext <<_ACEOF
39054 /* end confdefs.h. */
39055 #include <$ac_header>
39056 _ACEOF
39057 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39058 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39059 ac_status=$?
39060 grep -v '^ *+' conftest.er1 >conftest.err
39061 rm -f conftest.er1
39062 cat conftest.err >&5
39063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39064 (exit $ac_status); } >/dev/null; then
39065 if test -s conftest.err; then
39066 ac_cpp_err=$ac_cxx_preproc_warn_flag
39067 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39068 else
39069 ac_cpp_err=
39070 fi
39071 else
39072 ac_cpp_err=yes
39073 fi
39074 if test -z "$ac_cpp_err"; then
39075 ac_header_preproc=yes
39076 else
39077 echo "$as_me: failed program was:" >&5
39078 sed 's/^/| /' conftest.$ac_ext >&5
39079
39080 ac_header_preproc=no
39081 fi
39082 rm -f conftest.err conftest.$ac_ext
39083 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39084 echo "${ECHO_T}$ac_header_preproc" >&6
39085
39086 # So? What about this header?
39087 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39088 yes:no: )
39089 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39090 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39091 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39092 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39093 ac_header_preproc=yes
39094 ;;
39095 no:yes:* )
39096 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39097 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39098 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39099 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39100 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39101 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39102 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39103 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39104 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39105 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39106 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39107 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39108 (
39109 cat <<\_ASBOX
39110 ## ----------------------------------------- ##
39111 ## Report this to wx-dev@lists.wxwidgets.org ##
39112 ## ----------------------------------------- ##
39113 _ASBOX
39114 ) |
39115 sed "s/^/$as_me: WARNING: /" >&2
39116 ;;
39117 esac
39118 echo "$as_me:$LINENO: checking for $ac_header" >&5
39119 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39121 echo $ECHO_N "(cached) $ECHO_C" >&6
39122 else
39123 eval "$as_ac_Header=\$ac_header_preproc"
39124 fi
39125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39126 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39127
39128 fi
39129 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39130 cat >>confdefs.h <<_ACEOF
39131 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39132 _ACEOF
39133
39134 EXTRALIBS_ESD="-lesd"
39135
39136 fi
39137
39138 done
39139
39140
39141 fi
39142
39143
39144
39145 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
39146 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
39147 cat >conftest.$ac_ext <<_ACEOF
39148 /* confdefs.h. */
39149 _ACEOF
39150 cat confdefs.h >>conftest.$ac_ext
39151 cat >>conftest.$ac_ext <<_ACEOF
39152 /* end confdefs.h. */
39153 #ifdef __linux__
39154 #include <linux/cdrom.h>
39155 #else
39156 /* For Solaris */
39157 #include <sys/cdio.h>
39158 #endif
39159
39160 int
39161 main ()
39162 {
39163 struct cdrom_tocentry entry, old_entry;
39164 ;
39165 return 0;
39166 }
39167 _ACEOF
39168 rm -f conftest.$ac_objext
39169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39170 (eval $ac_compile) 2>conftest.er1
39171 ac_status=$?
39172 grep -v '^ *+' conftest.er1 >conftest.err
39173 rm -f conftest.er1
39174 cat conftest.err >&5
39175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39176 (exit $ac_status); } &&
39177 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39179 (eval $ac_try) 2>&5
39180 ac_status=$?
39181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39182 (exit $ac_status); }; } &&
39183 { ac_try='test -s conftest.$ac_objext'
39184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39185 (eval $ac_try) 2>&5
39186 ac_status=$?
39187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39188 (exit $ac_status); }; }; then
39189 echo "$as_me:$LINENO: result: yes" >&5
39190 echo "${ECHO_T}yes" >&6
39191 cat >>confdefs.h <<\_ACEOF
39192 #define HAVE_KNOWN_CDROM_INTERFACE 1
39193 _ACEOF
39194
39195 else
39196 echo "$as_me: failed program was:" >&5
39197 sed 's/^/| /' conftest.$ac_ext >&5
39198
39199 echo "$as_me:$LINENO: result: no" >&5
39200 echo "${ECHO_T}no" >&6
39201 fi
39202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39203
39204
39205 cat >confcache <<\_ACEOF
39206 # This file is a shell script that caches the results of configure
39207 # tests run on this system so they can be shared between configure
39208 # scripts and configure runs, see configure's option --config-cache.
39209 # It is not useful on other systems. If it contains results you don't
39210 # want to keep, you may remove or edit it.
39211 #
39212 # config.status only pays attention to the cache file if you give it
39213 # the --recheck option to rerun configure.
39214 #
39215 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39216 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39217 # following values.
39218
39219 _ACEOF
39220
39221 # The following way of writing the cache mishandles newlines in values,
39222 # but we know of no workaround that is simple, portable, and efficient.
39223 # So, don't put newlines in cache variables' values.
39224 # Ultrix sh set writes to stderr and can't be redirected directly,
39225 # and sets the high bit in the cache file unless we assign to the vars.
39226 {
39227 (set) 2>&1 |
39228 case `(ac_space=' '; set | grep ac_space) 2>&1` in
39229 *ac_space=\ *)
39230 # `set' does not quote correctly, so add quotes (double-quote
39231 # substitution turns \\\\ into \\, and sed turns \\ into \).
39232 sed -n \
39233 "s/'/'\\\\''/g;
39234 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39235 ;;
39236 *)
39237 # `set' quotes correctly as required by POSIX, so do not add quotes.
39238 sed -n \
39239 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
39240 ;;
39241 esac;
39242 } |
39243 sed '
39244 t clear
39245 : clear
39246 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39247 t end
39248 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39249 : end' >>confcache
39250 if diff $cache_file confcache >/dev/null 2>&1; then :; else
39251 if test -w $cache_file; then
39252 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
39253 cat confcache >$cache_file
39254 else
39255 echo "not updating unwritable cache $cache_file"
39256 fi
39257 fi
39258 rm -f confcache
39259
39260
39261 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39262
39263
39264 THREADS_LINK=
39265 THREADS_CXXFLAGS=
39266
39267 if test "$wxUSE_THREADS" = "yes" ; then
39268 if test "$USE_BEOS" = 1; then
39269 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39270 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39271 wxUSE_THREADS="no"
39272 fi
39273 fi
39274
39275 if test "$wxUSE_THREADS" = "yes" ; then
39276
39277
39278 THREAD_OPTS="-pthread"
39279 case "${host}" in
39280 *-*-solaris2* | *-*-sunos4* )
39281 if test "x$GCC" = "xyes"; then
39282 THREAD_OPTS="-pthreads $THREAD_OPTS"
39283 else
39284 THREAD_OPTS="-mt $THREAD_OPTS"
39285 fi
39286 ;;
39287 *-*-freebsd*)
39288 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
39289 ;;
39290 *-*-darwin* | *-*-cygwin* )
39291 THREAD_OPTS=""
39292 ;;
39293 *-*-aix*)
39294 THREAD_OPTS="pthreads"
39295 ;;
39296 *-hp-hpux* )
39297 if test "x$GCC" = "xyes"; then
39298 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
39299 THREAD_OPTS=""
39300 else
39301 THREAD_OPTS="-mt"
39302 fi
39303 ;;
39304
39305 *-*-irix* )
39306 if test "x$GCC" = "xyes"; then
39307 THREAD_OPTS=""
39308 fi
39309 ;;
39310
39311 *-*-*UnixWare*)
39312 if test "x$GCC" != "xyes"; then
39313 THREAD_OPTS="-Ethread"
39314 fi
39315 ;;
39316 esac
39317
39318 THREAD_OPTS="$THREAD_OPTS pthread none"
39319
39320 THREADS_OK=no
39321 for flag in $THREAD_OPTS; do
39322 case $flag in
39323 none)
39324 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39325 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
39326 ;;
39327
39328 -*)
39329 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39330 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
39331 THREADS_CXXFLAGS="$flag"
39332 ;;
39333
39334 *)
39335 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39336 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
39337 THREADS_LINK="-l$flag"
39338 ;;
39339 esac
39340
39341 save_LIBS="$LIBS"
39342 save_CXXFLAGS="$CXXFLAGS"
39343 LIBS="$THREADS_LINK $LIBS"
39344 CXXFLAGS="$THREADS_CXXFLAGS $CXXFLAGS"
39345
39346 cat >conftest.$ac_ext <<_ACEOF
39347 /* confdefs.h. */
39348 _ACEOF
39349 cat confdefs.h >>conftest.$ac_ext
39350 cat >>conftest.$ac_ext <<_ACEOF
39351 /* end confdefs.h. */
39352 #include <pthread.h>
39353 int
39354 main ()
39355 {
39356 pthread_create(0,0,0,0);
39357 ;
39358 return 0;
39359 }
39360 _ACEOF
39361 rm -f conftest.$ac_objext conftest$ac_exeext
39362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39363 (eval $ac_link) 2>conftest.er1
39364 ac_status=$?
39365 grep -v '^ *+' conftest.er1 >conftest.err
39366 rm -f conftest.er1
39367 cat conftest.err >&5
39368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39369 (exit $ac_status); } &&
39370 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39372 (eval $ac_try) 2>&5
39373 ac_status=$?
39374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39375 (exit $ac_status); }; } &&
39376 { ac_try='test -s conftest$ac_exeext'
39377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39378 (eval $ac_try) 2>&5
39379 ac_status=$?
39380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39381 (exit $ac_status); }; }; then
39382 THREADS_OK=yes
39383 else
39384 echo "$as_me: failed program was:" >&5
39385 sed 's/^/| /' conftest.$ac_ext >&5
39386
39387 fi
39388 rm -f conftest.err conftest.$ac_objext \
39389 conftest$ac_exeext conftest.$ac_ext
39390
39391 LIBS="$save_LIBS"
39392 CXXFLAGS="$save_CXXFLAGS"
39393
39394 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39395 echo "${ECHO_T}$THREADS_OK" >&6
39396 if test "x$THREADS_OK" = "xyes"; then
39397 break;
39398 fi
39399
39400 THREADS_LINK=""
39401 THREADS_CXXFLAGS=""
39402 done
39403
39404 if test "x$THREADS_OK" != "xyes"; then
39405 wxUSE_THREADS=no
39406 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39407 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39408 else
39409 LDFLAGS="$THREADS_CXXFLAGS $LDFLAGS"
39410 LIBS="$THREADS_LINK $LIBS"
39411
39412 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39413 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
39414 flag=no
39415 case "${host}" in
39416 *-aix*)
39417 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39418 flag="-D_THREAD_SAFE"
39419 ;;
39420 *-freebsd*)
39421 flag="-D_THREAD_SAFE"
39422 ;;
39423 *-hp-hpux* )
39424 flag="-D_REENTRANT"
39425 if test "x$GCC" != "xyes"; then
39426 flag="$flag -D_RWSTD_MULTI_THREAD"
39427 fi
39428 ;;
39429 *solaris* | alpha*-osf*)
39430 flag="-D_REENTRANT"
39431 ;;
39432 esac
39433 echo "$as_me:$LINENO: result: ${flag}" >&5
39434 echo "${ECHO_T}${flag}" >&6
39435 if test "x$flag" != xno; then
39436 THREADS_CXXFLAGS="$THREADS_CXXFLAGS $flag"
39437 fi
39438
39439 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
39440 fi
39441 fi
39442
39443 if test "$wxUSE_THREADS" = "yes" ; then
39444
39445 for ac_func in thr_setconcurrency
39446 do
39447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39448 echo "$as_me:$LINENO: checking for $ac_func" >&5
39449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39450 if eval "test \"\${$as_ac_var+set}\" = set"; then
39451 echo $ECHO_N "(cached) $ECHO_C" >&6
39452 else
39453 cat >conftest.$ac_ext <<_ACEOF
39454 /* confdefs.h. */
39455 _ACEOF
39456 cat confdefs.h >>conftest.$ac_ext
39457 cat >>conftest.$ac_ext <<_ACEOF
39458 /* end confdefs.h. */
39459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39461 #define $ac_func innocuous_$ac_func
39462
39463 /* System header to define __stub macros and hopefully few prototypes,
39464 which can conflict with char $ac_func (); below.
39465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39466 <limits.h> exists even on freestanding compilers. */
39467
39468 #ifdef __STDC__
39469 # include <limits.h>
39470 #else
39471 # include <assert.h>
39472 #endif
39473
39474 #undef $ac_func
39475
39476 /* Override any gcc2 internal prototype to avoid an error. */
39477 #ifdef __cplusplus
39478 extern "C"
39479 {
39480 #endif
39481 /* We use char because int might match the return type of a gcc2
39482 builtin and then its argument prototype would still apply. */
39483 char $ac_func ();
39484 /* The GNU C library defines this for functions which it implements
39485 to always fail with ENOSYS. Some functions are actually named
39486 something starting with __ and the normal name is an alias. */
39487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39488 choke me
39489 #else
39490 char (*f) () = $ac_func;
39491 #endif
39492 #ifdef __cplusplus
39493 }
39494 #endif
39495
39496 int
39497 main ()
39498 {
39499 return f != $ac_func;
39500 ;
39501 return 0;
39502 }
39503 _ACEOF
39504 rm -f conftest.$ac_objext conftest$ac_exeext
39505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39506 (eval $ac_link) 2>conftest.er1
39507 ac_status=$?
39508 grep -v '^ *+' conftest.er1 >conftest.err
39509 rm -f conftest.er1
39510 cat conftest.err >&5
39511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39512 (exit $ac_status); } &&
39513 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39515 (eval $ac_try) 2>&5
39516 ac_status=$?
39517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39518 (exit $ac_status); }; } &&
39519 { ac_try='test -s conftest$ac_exeext'
39520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39521 (eval $ac_try) 2>&5
39522 ac_status=$?
39523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39524 (exit $ac_status); }; }; then
39525 eval "$as_ac_var=yes"
39526 else
39527 echo "$as_me: failed program was:" >&5
39528 sed 's/^/| /' conftest.$ac_ext >&5
39529
39530 eval "$as_ac_var=no"
39531 fi
39532 rm -f conftest.err conftest.$ac_objext \
39533 conftest$ac_exeext conftest.$ac_ext
39534 fi
39535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39537 if test `eval echo '${'$as_ac_var'}'` = yes; then
39538 cat >>confdefs.h <<_ACEOF
39539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39540 _ACEOF
39541
39542 fi
39543 done
39544
39545
39546 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39547 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
39548 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39549 echo $ECHO_N "(cached) $ECHO_C" >&6
39550 else
39551
39552 cat >conftest.$ac_ext <<_ACEOF
39553 /* confdefs.h. */
39554 _ACEOF
39555 cat confdefs.h >>conftest.$ac_ext
39556 cat >>conftest.$ac_ext <<_ACEOF
39557 /* end confdefs.h. */
39558 #include <pthread.h>
39559 void ThreadCleanupFunc(void *p);
39560
39561 int
39562 main ()
39563 {
39564
39565 void *p;
39566 pthread_cleanup_push(ThreadCleanupFunc, p);
39567 pthread_cleanup_pop(0);
39568
39569 ;
39570 return 0;
39571 }
39572 _ACEOF
39573 rm -f conftest.$ac_objext
39574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39575 (eval $ac_compile) 2>conftest.er1
39576 ac_status=$?
39577 grep -v '^ *+' conftest.er1 >conftest.err
39578 rm -f conftest.er1
39579 cat conftest.err >&5
39580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39581 (exit $ac_status); } &&
39582 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39584 (eval $ac_try) 2>&5
39585 ac_status=$?
39586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39587 (exit $ac_status); }; } &&
39588 { ac_try='test -s conftest.$ac_objext'
39589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39590 (eval $ac_try) 2>&5
39591 ac_status=$?
39592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39593 (exit $ac_status); }; }; then
39594
39595 wx_cv_func_pthread_cleanup=yes
39596
39597 else
39598 echo "$as_me: failed program was:" >&5
39599 sed 's/^/| /' conftest.$ac_ext >&5
39600
39601
39602 wx_cv_func_pthread_cleanup=no
39603
39604
39605 fi
39606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39607
39608 fi
39609 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39610 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39611 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39612 cat >>confdefs.h <<\_ACEOF
39613 #define wxHAVE_PTHREAD_CLEANUP 1
39614 _ACEOF
39615
39616 fi
39617
39618
39619 for ac_header in sched.h
39620 do
39621 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39622 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39623 echo "$as_me:$LINENO: checking for $ac_header" >&5
39624 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39625 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39626 echo $ECHO_N "(cached) $ECHO_C" >&6
39627 fi
39628 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39629 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39630 else
39631 # Is the header compilable?
39632 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39633 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39634 cat >conftest.$ac_ext <<_ACEOF
39635 /* confdefs.h. */
39636 _ACEOF
39637 cat confdefs.h >>conftest.$ac_ext
39638 cat >>conftest.$ac_ext <<_ACEOF
39639 /* end confdefs.h. */
39640 $ac_includes_default
39641 #include <$ac_header>
39642 _ACEOF
39643 rm -f conftest.$ac_objext
39644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39645 (eval $ac_compile) 2>conftest.er1
39646 ac_status=$?
39647 grep -v '^ *+' conftest.er1 >conftest.err
39648 rm -f conftest.er1
39649 cat conftest.err >&5
39650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39651 (exit $ac_status); } &&
39652 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39654 (eval $ac_try) 2>&5
39655 ac_status=$?
39656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39657 (exit $ac_status); }; } &&
39658 { ac_try='test -s conftest.$ac_objext'
39659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39660 (eval $ac_try) 2>&5
39661 ac_status=$?
39662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39663 (exit $ac_status); }; }; then
39664 ac_header_compiler=yes
39665 else
39666 echo "$as_me: failed program was:" >&5
39667 sed 's/^/| /' conftest.$ac_ext >&5
39668
39669 ac_header_compiler=no
39670 fi
39671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39672 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39673 echo "${ECHO_T}$ac_header_compiler" >&6
39674
39675 # Is the header present?
39676 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39677 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39678 cat >conftest.$ac_ext <<_ACEOF
39679 /* confdefs.h. */
39680 _ACEOF
39681 cat confdefs.h >>conftest.$ac_ext
39682 cat >>conftest.$ac_ext <<_ACEOF
39683 /* end confdefs.h. */
39684 #include <$ac_header>
39685 _ACEOF
39686 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39687 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39688 ac_status=$?
39689 grep -v '^ *+' conftest.er1 >conftest.err
39690 rm -f conftest.er1
39691 cat conftest.err >&5
39692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39693 (exit $ac_status); } >/dev/null; then
39694 if test -s conftest.err; then
39695 ac_cpp_err=$ac_cxx_preproc_warn_flag
39696 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39697 else
39698 ac_cpp_err=
39699 fi
39700 else
39701 ac_cpp_err=yes
39702 fi
39703 if test -z "$ac_cpp_err"; then
39704 ac_header_preproc=yes
39705 else
39706 echo "$as_me: failed program was:" >&5
39707 sed 's/^/| /' conftest.$ac_ext >&5
39708
39709 ac_header_preproc=no
39710 fi
39711 rm -f conftest.err conftest.$ac_ext
39712 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39713 echo "${ECHO_T}$ac_header_preproc" >&6
39714
39715 # So? What about this header?
39716 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39717 yes:no: )
39718 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39719 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39720 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39721 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39722 ac_header_preproc=yes
39723 ;;
39724 no:yes:* )
39725 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39726 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39727 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39728 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39729 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39730 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39731 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39732 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39733 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39734 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39735 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39736 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39737 (
39738 cat <<\_ASBOX
39739 ## ----------------------------------------- ##
39740 ## Report this to wx-dev@lists.wxwidgets.org ##
39741 ## ----------------------------------------- ##
39742 _ASBOX
39743 ) |
39744 sed "s/^/$as_me: WARNING: /" >&2
39745 ;;
39746 esac
39747 echo "$as_me:$LINENO: checking for $ac_header" >&5
39748 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39749 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39750 echo $ECHO_N "(cached) $ECHO_C" >&6
39751 else
39752 eval "$as_ac_Header=\$ac_header_preproc"
39753 fi
39754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39755 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39756
39757 fi
39758 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39759 cat >>confdefs.h <<_ACEOF
39760 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39761 _ACEOF
39762
39763 fi
39764
39765 done
39766
39767 if test "$ac_cv_header_sched_h" = "yes"; then
39768 echo "$as_me:$LINENO: checking for sched_yield" >&5
39769 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39770 if test "${ac_cv_func_sched_yield+set}" = set; then
39771 echo $ECHO_N "(cached) $ECHO_C" >&6
39772 else
39773 cat >conftest.$ac_ext <<_ACEOF
39774 /* confdefs.h. */
39775 _ACEOF
39776 cat confdefs.h >>conftest.$ac_ext
39777 cat >>conftest.$ac_ext <<_ACEOF
39778 /* end confdefs.h. */
39779 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39780 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39781 #define sched_yield innocuous_sched_yield
39782
39783 /* System header to define __stub macros and hopefully few prototypes,
39784 which can conflict with char sched_yield (); below.
39785 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39786 <limits.h> exists even on freestanding compilers. */
39787
39788 #ifdef __STDC__
39789 # include <limits.h>
39790 #else
39791 # include <assert.h>
39792 #endif
39793
39794 #undef sched_yield
39795
39796 /* Override any gcc2 internal prototype to avoid an error. */
39797 #ifdef __cplusplus
39798 extern "C"
39799 {
39800 #endif
39801 /* We use char because int might match the return type of a gcc2
39802 builtin and then its argument prototype would still apply. */
39803 char sched_yield ();
39804 /* The GNU C library defines this for functions which it implements
39805 to always fail with ENOSYS. Some functions are actually named
39806 something starting with __ and the normal name is an alias. */
39807 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
39808 choke me
39809 #else
39810 char (*f) () = sched_yield;
39811 #endif
39812 #ifdef __cplusplus
39813 }
39814 #endif
39815
39816 int
39817 main ()
39818 {
39819 return f != sched_yield;
39820 ;
39821 return 0;
39822 }
39823 _ACEOF
39824 rm -f conftest.$ac_objext conftest$ac_exeext
39825 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39826 (eval $ac_link) 2>conftest.er1
39827 ac_status=$?
39828 grep -v '^ *+' conftest.er1 >conftest.err
39829 rm -f conftest.er1
39830 cat conftest.err >&5
39831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39832 (exit $ac_status); } &&
39833 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39835 (eval $ac_try) 2>&5
39836 ac_status=$?
39837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39838 (exit $ac_status); }; } &&
39839 { ac_try='test -s conftest$ac_exeext'
39840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39841 (eval $ac_try) 2>&5
39842 ac_status=$?
39843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39844 (exit $ac_status); }; }; then
39845 ac_cv_func_sched_yield=yes
39846 else
39847 echo "$as_me: failed program was:" >&5
39848 sed 's/^/| /' conftest.$ac_ext >&5
39849
39850 ac_cv_func_sched_yield=no
39851 fi
39852 rm -f conftest.err conftest.$ac_objext \
39853 conftest$ac_exeext conftest.$ac_ext
39854 fi
39855 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39856 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
39857 if test $ac_cv_func_sched_yield = yes; then
39858 cat >>confdefs.h <<\_ACEOF
39859 #define HAVE_SCHED_YIELD 1
39860 _ACEOF
39861
39862 else
39863
39864 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39865 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
39866 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39867 echo $ECHO_N "(cached) $ECHO_C" >&6
39868 else
39869 ac_check_lib_save_LIBS=$LIBS
39870 LIBS="-lposix4 $LIBS"
39871 cat >conftest.$ac_ext <<_ACEOF
39872 /* confdefs.h. */
39873 _ACEOF
39874 cat confdefs.h >>conftest.$ac_ext
39875 cat >>conftest.$ac_ext <<_ACEOF
39876 /* end confdefs.h. */
39877
39878 /* Override any gcc2 internal prototype to avoid an error. */
39879 #ifdef __cplusplus
39880 extern "C"
39881 #endif
39882 /* We use char because int might match the return type of a gcc2
39883 builtin and then its argument prototype would still apply. */
39884 char sched_yield ();
39885 int
39886 main ()
39887 {
39888 sched_yield ();
39889 ;
39890 return 0;
39891 }
39892 _ACEOF
39893 rm -f conftest.$ac_objext conftest$ac_exeext
39894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39895 (eval $ac_link) 2>conftest.er1
39896 ac_status=$?
39897 grep -v '^ *+' conftest.er1 >conftest.err
39898 rm -f conftest.er1
39899 cat conftest.err >&5
39900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39901 (exit $ac_status); } &&
39902 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39904 (eval $ac_try) 2>&5
39905 ac_status=$?
39906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39907 (exit $ac_status); }; } &&
39908 { ac_try='test -s conftest$ac_exeext'
39909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39910 (eval $ac_try) 2>&5
39911 ac_status=$?
39912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39913 (exit $ac_status); }; }; then
39914 ac_cv_lib_posix4_sched_yield=yes
39915 else
39916 echo "$as_me: failed program was:" >&5
39917 sed 's/^/| /' conftest.$ac_ext >&5
39918
39919 ac_cv_lib_posix4_sched_yield=no
39920 fi
39921 rm -f conftest.err conftest.$ac_objext \
39922 conftest$ac_exeext conftest.$ac_ext
39923 LIBS=$ac_check_lib_save_LIBS
39924 fi
39925 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39926 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
39927 if test $ac_cv_lib_posix4_sched_yield = yes; then
39928 cat >>confdefs.h <<\_ACEOF
39929 #define HAVE_SCHED_YIELD 1
39930 _ACEOF
39931 POSIX4_LINK=" -lposix4"
39932 else
39933 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39934 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39935
39936 fi
39937
39938
39939
39940 fi
39941
39942 fi
39943
39944 HAVE_PRIOR_FUNCS=0
39945 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39946 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
39947 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39948 echo $ECHO_N "(cached) $ECHO_C" >&6
39949 else
39950 cat >conftest.$ac_ext <<_ACEOF
39951 /* confdefs.h. */
39952 _ACEOF
39953 cat confdefs.h >>conftest.$ac_ext
39954 cat >>conftest.$ac_ext <<_ACEOF
39955 /* end confdefs.h. */
39956 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39958 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39959
39960 /* System header to define __stub macros and hopefully few prototypes,
39961 which can conflict with char pthread_attr_getschedpolicy (); below.
39962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39963 <limits.h> exists even on freestanding compilers. */
39964
39965 #ifdef __STDC__
39966 # include <limits.h>
39967 #else
39968 # include <assert.h>
39969 #endif
39970
39971 #undef pthread_attr_getschedpolicy
39972
39973 /* Override any gcc2 internal prototype to avoid an error. */
39974 #ifdef __cplusplus
39975 extern "C"
39976 {
39977 #endif
39978 /* We use char because int might match the return type of a gcc2
39979 builtin and then its argument prototype would still apply. */
39980 char pthread_attr_getschedpolicy ();
39981 /* The GNU C library defines this for functions which it implements
39982 to always fail with ENOSYS. Some functions are actually named
39983 something starting with __ and the normal name is an alias. */
39984 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
39985 choke me
39986 #else
39987 char (*f) () = pthread_attr_getschedpolicy;
39988 #endif
39989 #ifdef __cplusplus
39990 }
39991 #endif
39992
39993 int
39994 main ()
39995 {
39996 return f != pthread_attr_getschedpolicy;
39997 ;
39998 return 0;
39999 }
40000 _ACEOF
40001 rm -f conftest.$ac_objext conftest$ac_exeext
40002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40003 (eval $ac_link) 2>conftest.er1
40004 ac_status=$?
40005 grep -v '^ *+' conftest.er1 >conftest.err
40006 rm -f conftest.er1
40007 cat conftest.err >&5
40008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40009 (exit $ac_status); } &&
40010 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40012 (eval $ac_try) 2>&5
40013 ac_status=$?
40014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40015 (exit $ac_status); }; } &&
40016 { ac_try='test -s conftest$ac_exeext'
40017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40018 (eval $ac_try) 2>&5
40019 ac_status=$?
40020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40021 (exit $ac_status); }; }; then
40022 ac_cv_func_pthread_attr_getschedpolicy=yes
40023 else
40024 echo "$as_me: failed program was:" >&5
40025 sed 's/^/| /' conftest.$ac_ext >&5
40026
40027 ac_cv_func_pthread_attr_getschedpolicy=no
40028 fi
40029 rm -f conftest.err conftest.$ac_objext \
40030 conftest$ac_exeext conftest.$ac_ext
40031 fi
40032 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40033 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
40034 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40035 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40036 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
40037 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40038 echo $ECHO_N "(cached) $ECHO_C" >&6
40039 else
40040 cat >conftest.$ac_ext <<_ACEOF
40041 /* confdefs.h. */
40042 _ACEOF
40043 cat confdefs.h >>conftest.$ac_ext
40044 cat >>conftest.$ac_ext <<_ACEOF
40045 /* end confdefs.h. */
40046 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40048 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40049
40050 /* System header to define __stub macros and hopefully few prototypes,
40051 which can conflict with char pthread_attr_setschedparam (); below.
40052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40053 <limits.h> exists even on freestanding compilers. */
40054
40055 #ifdef __STDC__
40056 # include <limits.h>
40057 #else
40058 # include <assert.h>
40059 #endif
40060
40061 #undef pthread_attr_setschedparam
40062
40063 /* Override any gcc2 internal prototype to avoid an error. */
40064 #ifdef __cplusplus
40065 extern "C"
40066 {
40067 #endif
40068 /* We use char because int might match the return type of a gcc2
40069 builtin and then its argument prototype would still apply. */
40070 char pthread_attr_setschedparam ();
40071 /* The GNU C library defines this for functions which it implements
40072 to always fail with ENOSYS. Some functions are actually named
40073 something starting with __ and the normal name is an alias. */
40074 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
40075 choke me
40076 #else
40077 char (*f) () = pthread_attr_setschedparam;
40078 #endif
40079 #ifdef __cplusplus
40080 }
40081 #endif
40082
40083 int
40084 main ()
40085 {
40086 return f != pthread_attr_setschedparam;
40087 ;
40088 return 0;
40089 }
40090 _ACEOF
40091 rm -f conftest.$ac_objext conftest$ac_exeext
40092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40093 (eval $ac_link) 2>conftest.er1
40094 ac_status=$?
40095 grep -v '^ *+' conftest.er1 >conftest.err
40096 rm -f conftest.er1
40097 cat conftest.err >&5
40098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40099 (exit $ac_status); } &&
40100 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40102 (eval $ac_try) 2>&5
40103 ac_status=$?
40104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40105 (exit $ac_status); }; } &&
40106 { ac_try='test -s conftest$ac_exeext'
40107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40108 (eval $ac_try) 2>&5
40109 ac_status=$?
40110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40111 (exit $ac_status); }; }; then
40112 ac_cv_func_pthread_attr_setschedparam=yes
40113 else
40114 echo "$as_me: failed program was:" >&5
40115 sed 's/^/| /' conftest.$ac_ext >&5
40116
40117 ac_cv_func_pthread_attr_setschedparam=no
40118 fi
40119 rm -f conftest.err conftest.$ac_objext \
40120 conftest$ac_exeext conftest.$ac_ext
40121 fi
40122 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40123 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
40124 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40125 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40126 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
40127 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40128 echo $ECHO_N "(cached) $ECHO_C" >&6
40129 else
40130 cat >conftest.$ac_ext <<_ACEOF
40131 /* confdefs.h. */
40132 _ACEOF
40133 cat confdefs.h >>conftest.$ac_ext
40134 cat >>conftest.$ac_ext <<_ACEOF
40135 /* end confdefs.h. */
40136 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40138 #define sched_get_priority_max innocuous_sched_get_priority_max
40139
40140 /* System header to define __stub macros and hopefully few prototypes,
40141 which can conflict with char sched_get_priority_max (); below.
40142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40143 <limits.h> exists even on freestanding compilers. */
40144
40145 #ifdef __STDC__
40146 # include <limits.h>
40147 #else
40148 # include <assert.h>
40149 #endif
40150
40151 #undef sched_get_priority_max
40152
40153 /* Override any gcc2 internal prototype to avoid an error. */
40154 #ifdef __cplusplus
40155 extern "C"
40156 {
40157 #endif
40158 /* We use char because int might match the return type of a gcc2
40159 builtin and then its argument prototype would still apply. */
40160 char sched_get_priority_max ();
40161 /* The GNU C library defines this for functions which it implements
40162 to always fail with ENOSYS. Some functions are actually named
40163 something starting with __ and the normal name is an alias. */
40164 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
40165 choke me
40166 #else
40167 char (*f) () = sched_get_priority_max;
40168 #endif
40169 #ifdef __cplusplus
40170 }
40171 #endif
40172
40173 int
40174 main ()
40175 {
40176 return f != sched_get_priority_max;
40177 ;
40178 return 0;
40179 }
40180 _ACEOF
40181 rm -f conftest.$ac_objext conftest$ac_exeext
40182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40183 (eval $ac_link) 2>conftest.er1
40184 ac_status=$?
40185 grep -v '^ *+' conftest.er1 >conftest.err
40186 rm -f conftest.er1
40187 cat conftest.err >&5
40188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40189 (exit $ac_status); } &&
40190 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40192 (eval $ac_try) 2>&5
40193 ac_status=$?
40194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40195 (exit $ac_status); }; } &&
40196 { ac_try='test -s conftest$ac_exeext'
40197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40198 (eval $ac_try) 2>&5
40199 ac_status=$?
40200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40201 (exit $ac_status); }; }; then
40202 ac_cv_func_sched_get_priority_max=yes
40203 else
40204 echo "$as_me: failed program was:" >&5
40205 sed 's/^/| /' conftest.$ac_ext >&5
40206
40207 ac_cv_func_sched_get_priority_max=no
40208 fi
40209 rm -f conftest.err conftest.$ac_objext \
40210 conftest$ac_exeext conftest.$ac_ext
40211 fi
40212 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40213 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
40214 if test $ac_cv_func_sched_get_priority_max = yes; then
40215 HAVE_PRIOR_FUNCS=1
40216 else
40217 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40218 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
40219 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40220 echo $ECHO_N "(cached) $ECHO_C" >&6
40221 else
40222 ac_check_lib_save_LIBS=$LIBS
40223 LIBS="-lposix4 $LIBS"
40224 cat >conftest.$ac_ext <<_ACEOF
40225 /* confdefs.h. */
40226 _ACEOF
40227 cat confdefs.h >>conftest.$ac_ext
40228 cat >>conftest.$ac_ext <<_ACEOF
40229 /* end confdefs.h. */
40230
40231 /* Override any gcc2 internal prototype to avoid an error. */
40232 #ifdef __cplusplus
40233 extern "C"
40234 #endif
40235 /* We use char because int might match the return type of a gcc2
40236 builtin and then its argument prototype would still apply. */
40237 char sched_get_priority_max ();
40238 int
40239 main ()
40240 {
40241 sched_get_priority_max ();
40242 ;
40243 return 0;
40244 }
40245 _ACEOF
40246 rm -f conftest.$ac_objext conftest$ac_exeext
40247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40248 (eval $ac_link) 2>conftest.er1
40249 ac_status=$?
40250 grep -v '^ *+' conftest.er1 >conftest.err
40251 rm -f conftest.er1
40252 cat conftest.err >&5
40253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40254 (exit $ac_status); } &&
40255 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40257 (eval $ac_try) 2>&5
40258 ac_status=$?
40259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40260 (exit $ac_status); }; } &&
40261 { ac_try='test -s conftest$ac_exeext'
40262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40263 (eval $ac_try) 2>&5
40264 ac_status=$?
40265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40266 (exit $ac_status); }; }; then
40267 ac_cv_lib_posix4_sched_get_priority_max=yes
40268 else
40269 echo "$as_me: failed program was:" >&5
40270 sed 's/^/| /' conftest.$ac_ext >&5
40271
40272 ac_cv_lib_posix4_sched_get_priority_max=no
40273 fi
40274 rm -f conftest.err conftest.$ac_objext \
40275 conftest$ac_exeext conftest.$ac_ext
40276 LIBS=$ac_check_lib_save_LIBS
40277 fi
40278 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40279 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
40280 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40281
40282 HAVE_PRIOR_FUNCS=1
40283 POSIX4_LINK=" -lposix4"
40284
40285 fi
40286
40287
40288 fi
40289
40290
40291 fi
40292
40293
40294 fi
40295
40296
40297 if test "$HAVE_PRIOR_FUNCS" = 1; then
40298 cat >>confdefs.h <<\_ACEOF
40299 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40300 _ACEOF
40301
40302 else
40303 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40304 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40305 fi
40306
40307 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40308 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
40309 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40310 echo $ECHO_N "(cached) $ECHO_C" >&6
40311 else
40312 cat >conftest.$ac_ext <<_ACEOF
40313 /* confdefs.h. */
40314 _ACEOF
40315 cat confdefs.h >>conftest.$ac_ext
40316 cat >>conftest.$ac_ext <<_ACEOF
40317 /* end confdefs.h. */
40318 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40320 #define pthread_cancel innocuous_pthread_cancel
40321
40322 /* System header to define __stub macros and hopefully few prototypes,
40323 which can conflict with char pthread_cancel (); below.
40324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40325 <limits.h> exists even on freestanding compilers. */
40326
40327 #ifdef __STDC__
40328 # include <limits.h>
40329 #else
40330 # include <assert.h>
40331 #endif
40332
40333 #undef pthread_cancel
40334
40335 /* Override any gcc2 internal prototype to avoid an error. */
40336 #ifdef __cplusplus
40337 extern "C"
40338 {
40339 #endif
40340 /* We use char because int might match the return type of a gcc2
40341 builtin and then its argument prototype would still apply. */
40342 char pthread_cancel ();
40343 /* The GNU C library defines this for functions which it implements
40344 to always fail with ENOSYS. Some functions are actually named
40345 something starting with __ and the normal name is an alias. */
40346 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
40347 choke me
40348 #else
40349 char (*f) () = pthread_cancel;
40350 #endif
40351 #ifdef __cplusplus
40352 }
40353 #endif
40354
40355 int
40356 main ()
40357 {
40358 return f != pthread_cancel;
40359 ;
40360 return 0;
40361 }
40362 _ACEOF
40363 rm -f conftest.$ac_objext conftest$ac_exeext
40364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40365 (eval $ac_link) 2>conftest.er1
40366 ac_status=$?
40367 grep -v '^ *+' conftest.er1 >conftest.err
40368 rm -f conftest.er1
40369 cat conftest.err >&5
40370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40371 (exit $ac_status); } &&
40372 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40374 (eval $ac_try) 2>&5
40375 ac_status=$?
40376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40377 (exit $ac_status); }; } &&
40378 { ac_try='test -s conftest$ac_exeext'
40379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40380 (eval $ac_try) 2>&5
40381 ac_status=$?
40382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40383 (exit $ac_status); }; }; then
40384 ac_cv_func_pthread_cancel=yes
40385 else
40386 echo "$as_me: failed program was:" >&5
40387 sed 's/^/| /' conftest.$ac_ext >&5
40388
40389 ac_cv_func_pthread_cancel=no
40390 fi
40391 rm -f conftest.err conftest.$ac_objext \
40392 conftest$ac_exeext conftest.$ac_ext
40393 fi
40394 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40395 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
40396 if test $ac_cv_func_pthread_cancel = yes; then
40397 cat >>confdefs.h <<\_ACEOF
40398 #define HAVE_PTHREAD_CANCEL 1
40399 _ACEOF
40400
40401 else
40402 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40403 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40404 fi
40405
40406
40407 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40408 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
40409 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40410 echo $ECHO_N "(cached) $ECHO_C" >&6
40411 else
40412 cat >conftest.$ac_ext <<_ACEOF
40413 /* confdefs.h. */
40414 _ACEOF
40415 cat confdefs.h >>conftest.$ac_ext
40416 cat >>conftest.$ac_ext <<_ACEOF
40417 /* end confdefs.h. */
40418 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40420 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40421
40422 /* System header to define __stub macros and hopefully few prototypes,
40423 which can conflict with char pthread_attr_setstacksize (); below.
40424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40425 <limits.h> exists even on freestanding compilers. */
40426
40427 #ifdef __STDC__
40428 # include <limits.h>
40429 #else
40430 # include <assert.h>
40431 #endif
40432
40433 #undef pthread_attr_setstacksize
40434
40435 /* Override any gcc2 internal prototype to avoid an error. */
40436 #ifdef __cplusplus
40437 extern "C"
40438 {
40439 #endif
40440 /* We use char because int might match the return type of a gcc2
40441 builtin and then its argument prototype would still apply. */
40442 char pthread_attr_setstacksize ();
40443 /* The GNU C library defines this for functions which it implements
40444 to always fail with ENOSYS. Some functions are actually named
40445 something starting with __ and the normal name is an alias. */
40446 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
40447 choke me
40448 #else
40449 char (*f) () = pthread_attr_setstacksize;
40450 #endif
40451 #ifdef __cplusplus
40452 }
40453 #endif
40454
40455 int
40456 main ()
40457 {
40458 return f != pthread_attr_setstacksize;
40459 ;
40460 return 0;
40461 }
40462 _ACEOF
40463 rm -f conftest.$ac_objext conftest$ac_exeext
40464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40465 (eval $ac_link) 2>conftest.er1
40466 ac_status=$?
40467 grep -v '^ *+' conftest.er1 >conftest.err
40468 rm -f conftest.er1
40469 cat conftest.err >&5
40470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40471 (exit $ac_status); } &&
40472 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40474 (eval $ac_try) 2>&5
40475 ac_status=$?
40476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40477 (exit $ac_status); }; } &&
40478 { ac_try='test -s conftest$ac_exeext'
40479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40480 (eval $ac_try) 2>&5
40481 ac_status=$?
40482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40483 (exit $ac_status); }; }; then
40484 ac_cv_func_pthread_attr_setstacksize=yes
40485 else
40486 echo "$as_me: failed program was:" >&5
40487 sed 's/^/| /' conftest.$ac_ext >&5
40488
40489 ac_cv_func_pthread_attr_setstacksize=no
40490 fi
40491 rm -f conftest.err conftest.$ac_objext \
40492 conftest$ac_exeext conftest.$ac_ext
40493 fi
40494 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40495 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
40496 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40497 cat >>confdefs.h <<\_ACEOF
40498 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40499 _ACEOF
40500
40501 fi
40502
40503
40504
40505 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40506 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
40507 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40508 echo $ECHO_N "(cached) $ECHO_C" >&6
40509 else
40510
40511 cat >conftest.$ac_ext <<_ACEOF
40512 /* confdefs.h. */
40513 _ACEOF
40514 cat confdefs.h >>conftest.$ac_ext
40515 cat >>conftest.$ac_ext <<_ACEOF
40516 /* end confdefs.h. */
40517 #include <pthread.h>
40518 int
40519 main ()
40520 {
40521
40522 pthread_mutexattr_t attr;
40523 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40524
40525 ;
40526 return 0;
40527 }
40528 _ACEOF
40529 rm -f conftest.$ac_objext
40530 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40531 (eval $ac_compile) 2>conftest.er1
40532 ac_status=$?
40533 grep -v '^ *+' conftest.er1 >conftest.err
40534 rm -f conftest.er1
40535 cat conftest.err >&5
40536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40537 (exit $ac_status); } &&
40538 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40540 (eval $ac_try) 2>&5
40541 ac_status=$?
40542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40543 (exit $ac_status); }; } &&
40544 { ac_try='test -s conftest.$ac_objext'
40545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40546 (eval $ac_try) 2>&5
40547 ac_status=$?
40548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40549 (exit $ac_status); }; }; then
40550 wx_cv_type_pthread_mutexattr_t=yes
40551 else
40552 echo "$as_me: failed program was:" >&5
40553 sed 's/^/| /' conftest.$ac_ext >&5
40554
40555 wx_cv_type_pthread_mutexattr_t=no
40556
40557 fi
40558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40559
40560 fi
40561 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40562 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
40563
40564 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40565 cat >>confdefs.h <<\_ACEOF
40566 #define HAVE_PTHREAD_MUTEXATTR_T 1
40567 _ACEOF
40568
40569
40570 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40571 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
40572 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40573 echo $ECHO_N "(cached) $ECHO_C" >&6
40574 else
40575
40576 cat >conftest.$ac_ext <<_ACEOF
40577 /* confdefs.h. */
40578 _ACEOF
40579 cat confdefs.h >>conftest.$ac_ext
40580 cat >>conftest.$ac_ext <<_ACEOF
40581 /* end confdefs.h. */
40582 #include <pthread.h>
40583 int
40584 main ()
40585 {
40586
40587 pthread_mutexattr_t attr;
40588 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40589
40590 ;
40591 return 0;
40592 }
40593 _ACEOF
40594 rm -f conftest.$ac_objext
40595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40596 (eval $ac_compile) 2>conftest.er1
40597 ac_status=$?
40598 grep -v '^ *+' conftest.er1 >conftest.err
40599 rm -f conftest.er1
40600 cat conftest.err >&5
40601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40602 (exit $ac_status); } &&
40603 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40605 (eval $ac_try) 2>&5
40606 ac_status=$?
40607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40608 (exit $ac_status); }; } &&
40609 { ac_try='test -s conftest.$ac_objext'
40610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40611 (eval $ac_try) 2>&5
40612 ac_status=$?
40613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40614 (exit $ac_status); }; }; then
40615 wx_cv_func_pthread_mutexattr_settype_decl=yes
40616 else
40617 echo "$as_me: failed program was:" >&5
40618 sed 's/^/| /' conftest.$ac_ext >&5
40619
40620 wx_cv_func_pthread_mutexattr_settype_decl=no
40621
40622 fi
40623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40624
40625 fi
40626 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40627 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40628 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40629 cat >>confdefs.h <<\_ACEOF
40630 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40631 _ACEOF
40632
40633 fi
40634 else
40635 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40636 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40637 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40638 echo $ECHO_N "(cached) $ECHO_C" >&6
40639 else
40640
40641 cat >conftest.$ac_ext <<_ACEOF
40642 /* confdefs.h. */
40643 _ACEOF
40644 cat confdefs.h >>conftest.$ac_ext
40645 cat >>conftest.$ac_ext <<_ACEOF
40646 /* end confdefs.h. */
40647 #include <pthread.h>
40648 int
40649 main ()
40650 {
40651
40652 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40653
40654 ;
40655 return 0;
40656 }
40657 _ACEOF
40658 rm -f conftest.$ac_objext
40659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40660 (eval $ac_compile) 2>conftest.er1
40661 ac_status=$?
40662 grep -v '^ *+' conftest.er1 >conftest.err
40663 rm -f conftest.er1
40664 cat conftest.err >&5
40665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40666 (exit $ac_status); } &&
40667 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40669 (eval $ac_try) 2>&5
40670 ac_status=$?
40671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40672 (exit $ac_status); }; } &&
40673 { ac_try='test -s conftest.$ac_objext'
40674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40675 (eval $ac_try) 2>&5
40676 ac_status=$?
40677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40678 (exit $ac_status); }; }; then
40679
40680 wx_cv_type_pthread_rec_mutex_init=yes
40681
40682 else
40683 echo "$as_me: failed program was:" >&5
40684 sed 's/^/| /' conftest.$ac_ext >&5
40685
40686
40687 wx_cv_type_pthread_rec_mutex_init=no
40688
40689
40690 fi
40691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40692
40693 fi
40694 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40695 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40696 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40697 cat >>confdefs.h <<\_ACEOF
40698 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40699 _ACEOF
40700
40701 else
40702 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40703 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40704 fi
40705 fi
40706 fi
40707
40708 else
40709 if test "$wxUSE_THREADS" = "yes" ; then
40710 case "${host}" in
40711 *-*-mingw32* )
40712 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40713 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40714 if test "${wx_cv_cflags_mthread+set}" = set; then
40715 echo $ECHO_N "(cached) $ECHO_C" >&6
40716 else
40717
40718 CXXFLAGS_OLD="$CXXFLAGS"
40719 CXXFLAGS="-mthreads $CXXFLAGS"
40720 cat >conftest.$ac_ext <<_ACEOF
40721 /* confdefs.h. */
40722 _ACEOF
40723 cat confdefs.h >>conftest.$ac_ext
40724 cat >>conftest.$ac_ext <<_ACEOF
40725 /* end confdefs.h. */
40726
40727 int
40728 main ()
40729 {
40730
40731 ;
40732 return 0;
40733 }
40734 _ACEOF
40735 rm -f conftest.$ac_objext
40736 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40737 (eval $ac_compile) 2>conftest.er1
40738 ac_status=$?
40739 grep -v '^ *+' conftest.er1 >conftest.err
40740 rm -f conftest.er1
40741 cat conftest.err >&5
40742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40743 (exit $ac_status); } &&
40744 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40746 (eval $ac_try) 2>&5
40747 ac_status=$?
40748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40749 (exit $ac_status); }; } &&
40750 { ac_try='test -s conftest.$ac_objext'
40751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40752 (eval $ac_try) 2>&5
40753 ac_status=$?
40754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40755 (exit $ac_status); }; }; then
40756 wx_cv_cflags_mthread=yes
40757 else
40758 echo "$as_me: failed program was:" >&5
40759 sed 's/^/| /' conftest.$ac_ext >&5
40760
40761 wx_cv_cflags_mthread=no
40762
40763 fi
40764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40765
40766
40767 fi
40768 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40769 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40770
40771 if test "$wx_cv_cflags_mthread" = "yes"; then
40772 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -mthreads"
40773 LDFLAGS="$LDFLAGS -mthreads"
40774 else
40775 CXXFLAGS="$CXXFLAGS_OLD"
40776 fi
40777 ;;
40778 *-pc-os2*emx )
40779 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40780 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
40781 LDFLAGS="$LDFLAGS -Zmt"
40782 ;;
40783 esac
40784 fi
40785 fi
40786
40787 echo "$as_me:$LINENO: checking for localtime_r" >&5
40788 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40789 if test "${ac_cv_func_localtime_r+set}" = set; then
40790 echo $ECHO_N "(cached) $ECHO_C" >&6
40791 else
40792 cat >conftest.$ac_ext <<_ACEOF
40793 /* confdefs.h. */
40794 _ACEOF
40795 cat confdefs.h >>conftest.$ac_ext
40796 cat >>conftest.$ac_ext <<_ACEOF
40797 /* end confdefs.h. */
40798 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40800 #define localtime_r innocuous_localtime_r
40801
40802 /* System header to define __stub macros and hopefully few prototypes,
40803 which can conflict with char localtime_r (); below.
40804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40805 <limits.h> exists even on freestanding compilers. */
40806
40807 #ifdef __STDC__
40808 # include <limits.h>
40809 #else
40810 # include <assert.h>
40811 #endif
40812
40813 #undef localtime_r
40814
40815 /* Override any gcc2 internal prototype to avoid an error. */
40816 #ifdef __cplusplus
40817 extern "C"
40818 {
40819 #endif
40820 /* We use char because int might match the return type of a gcc2
40821 builtin and then its argument prototype would still apply. */
40822 char localtime_r ();
40823 /* The GNU C library defines this for functions which it implements
40824 to always fail with ENOSYS. Some functions are actually named
40825 something starting with __ and the normal name is an alias. */
40826 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
40827 choke me
40828 #else
40829 char (*f) () = localtime_r;
40830 #endif
40831 #ifdef __cplusplus
40832 }
40833 #endif
40834
40835 int
40836 main ()
40837 {
40838 return f != localtime_r;
40839 ;
40840 return 0;
40841 }
40842 _ACEOF
40843 rm -f conftest.$ac_objext conftest$ac_exeext
40844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40845 (eval $ac_link) 2>conftest.er1
40846 ac_status=$?
40847 grep -v '^ *+' conftest.er1 >conftest.err
40848 rm -f conftest.er1
40849 cat conftest.err >&5
40850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40851 (exit $ac_status); } &&
40852 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40854 (eval $ac_try) 2>&5
40855 ac_status=$?
40856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40857 (exit $ac_status); }; } &&
40858 { ac_try='test -s conftest$ac_exeext'
40859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40860 (eval $ac_try) 2>&5
40861 ac_status=$?
40862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40863 (exit $ac_status); }; }; then
40864 ac_cv_func_localtime_r=yes
40865 else
40866 echo "$as_me: failed program was:" >&5
40867 sed 's/^/| /' conftest.$ac_ext >&5
40868
40869 ac_cv_func_localtime_r=no
40870 fi
40871 rm -f conftest.err conftest.$ac_objext \
40872 conftest$ac_exeext conftest.$ac_ext
40873 fi
40874 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40875 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
40876 if test $ac_cv_func_localtime_r = yes; then
40877 cat >>confdefs.h <<\_ACEOF
40878 #define HAVE_LOCALTIME_R 1
40879 _ACEOF
40880
40881 fi
40882
40883 echo "$as_me:$LINENO: checking for gmtime_r" >&5
40884 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
40885 if test "${ac_cv_func_gmtime_r+set}" = set; then
40886 echo $ECHO_N "(cached) $ECHO_C" >&6
40887 else
40888 cat >conftest.$ac_ext <<_ACEOF
40889 /* confdefs.h. */
40890 _ACEOF
40891 cat confdefs.h >>conftest.$ac_ext
40892 cat >>conftest.$ac_ext <<_ACEOF
40893 /* end confdefs.h. */
40894 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40896 #define gmtime_r innocuous_gmtime_r
40897
40898 /* System header to define __stub macros and hopefully few prototypes,
40899 which can conflict with char gmtime_r (); below.
40900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40901 <limits.h> exists even on freestanding compilers. */
40902
40903 #ifdef __STDC__
40904 # include <limits.h>
40905 #else
40906 # include <assert.h>
40907 #endif
40908
40909 #undef gmtime_r
40910
40911 /* Override any gcc2 internal prototype to avoid an error. */
40912 #ifdef __cplusplus
40913 extern "C"
40914 {
40915 #endif
40916 /* We use char because int might match the return type of a gcc2
40917 builtin and then its argument prototype would still apply. */
40918 char gmtime_r ();
40919 /* The GNU C library defines this for functions which it implements
40920 to always fail with ENOSYS. Some functions are actually named
40921 something starting with __ and the normal name is an alias. */
40922 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
40923 choke me
40924 #else
40925 char (*f) () = gmtime_r;
40926 #endif
40927 #ifdef __cplusplus
40928 }
40929 #endif
40930
40931 int
40932 main ()
40933 {
40934 return f != gmtime_r;
40935 ;
40936 return 0;
40937 }
40938 _ACEOF
40939 rm -f conftest.$ac_objext conftest$ac_exeext
40940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40941 (eval $ac_link) 2>conftest.er1
40942 ac_status=$?
40943 grep -v '^ *+' conftest.er1 >conftest.err
40944 rm -f conftest.er1
40945 cat conftest.err >&5
40946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40947 (exit $ac_status); } &&
40948 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40950 (eval $ac_try) 2>&5
40951 ac_status=$?
40952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40953 (exit $ac_status); }; } &&
40954 { ac_try='test -s conftest$ac_exeext'
40955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40956 (eval $ac_try) 2>&5
40957 ac_status=$?
40958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40959 (exit $ac_status); }; }; then
40960 ac_cv_func_gmtime_r=yes
40961 else
40962 echo "$as_me: failed program was:" >&5
40963 sed 's/^/| /' conftest.$ac_ext >&5
40964
40965 ac_cv_func_gmtime_r=no
40966 fi
40967 rm -f conftest.err conftest.$ac_objext \
40968 conftest$ac_exeext conftest.$ac_ext
40969 fi
40970 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40971 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
40972 if test $ac_cv_func_gmtime_r = yes; then
40973 cat >>confdefs.h <<\_ACEOF
40974 #define HAVE_GMTIME_R 1
40975 _ACEOF
40976
40977 fi
40978
40979 echo "$as_me:$LINENO: checking for readdir_r" >&5
40980 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
40981 if test "${ac_cv_func_readdir_r+set}" = set; then
40982 echo $ECHO_N "(cached) $ECHO_C" >&6
40983 else
40984 cat >conftest.$ac_ext <<_ACEOF
40985 /* confdefs.h. */
40986 _ACEOF
40987 cat confdefs.h >>conftest.$ac_ext
40988 cat >>conftest.$ac_ext <<_ACEOF
40989 /* end confdefs.h. */
40990 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
40991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40992 #define readdir_r innocuous_readdir_r
40993
40994 /* System header to define __stub macros and hopefully few prototypes,
40995 which can conflict with char readdir_r (); below.
40996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40997 <limits.h> exists even on freestanding compilers. */
40998
40999 #ifdef __STDC__
41000 # include <limits.h>
41001 #else
41002 # include <assert.h>
41003 #endif
41004
41005 #undef readdir_r
41006
41007 /* Override any gcc2 internal prototype to avoid an error. */
41008 #ifdef __cplusplus
41009 extern "C"
41010 {
41011 #endif
41012 /* We use char because int might match the return type of a gcc2
41013 builtin and then its argument prototype would still apply. */
41014 char readdir_r ();
41015 /* The GNU C library defines this for functions which it implements
41016 to always fail with ENOSYS. Some functions are actually named
41017 something starting with __ and the normal name is an alias. */
41018 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
41019 choke me
41020 #else
41021 char (*f) () = readdir_r;
41022 #endif
41023 #ifdef __cplusplus
41024 }
41025 #endif
41026
41027 int
41028 main ()
41029 {
41030 return f != readdir_r;
41031 ;
41032 return 0;
41033 }
41034 _ACEOF
41035 rm -f conftest.$ac_objext conftest$ac_exeext
41036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41037 (eval $ac_link) 2>conftest.er1
41038 ac_status=$?
41039 grep -v '^ *+' conftest.er1 >conftest.err
41040 rm -f conftest.er1
41041 cat conftest.err >&5
41042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41043 (exit $ac_status); } &&
41044 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41046 (eval $ac_try) 2>&5
41047 ac_status=$?
41048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41049 (exit $ac_status); }; } &&
41050 { ac_try='test -s conftest$ac_exeext'
41051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41052 (eval $ac_try) 2>&5
41053 ac_status=$?
41054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41055 (exit $ac_status); }; }; then
41056 ac_cv_func_readdir_r=yes
41057 else
41058 echo "$as_me: failed program was:" >&5
41059 sed 's/^/| /' conftest.$ac_ext >&5
41060
41061 ac_cv_func_readdir_r=no
41062 fi
41063 rm -f conftest.err conftest.$ac_objext \
41064 conftest$ac_exeext conftest.$ac_ext
41065 fi
41066 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
41067 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
41068 if test $ac_cv_func_readdir_r = yes; then
41069 cat >>confdefs.h <<\_ACEOF
41070 #define HAVE_READDIR_R 1
41071 _ACEOF
41072
41073 fi
41074
41075
41076
41077
41078 ac_ext=c
41079 ac_cpp='$CPP $CPPFLAGS'
41080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41083
41084 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41085 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
41086
41087 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41088 echo $ECHO_N "(cached) $ECHO_C" >&6
41089 else
41090
41091
41092 ################################################################
41093
41094 ac_cv_func_which_gethostbyname_r=unknown
41095
41096 #
41097 # ONE ARGUMENT (sanity check)
41098 #
41099
41100 # This should fail, as there is no variant of gethostbyname_r() that takes
41101 # a single argument. If it actually compiles, then we can assume that
41102 # netdb.h is not declaring the function, and the compiler is thereby
41103 # assuming an implicit prototype. In which case, we're out of luck.
41104 #
41105 cat >conftest.$ac_ext <<_ACEOF
41106 /* confdefs.h. */
41107 _ACEOF
41108 cat confdefs.h >>conftest.$ac_ext
41109 cat >>conftest.$ac_ext <<_ACEOF
41110 /* end confdefs.h. */
41111 #include <netdb.h>
41112 int
41113 main ()
41114 {
41115
41116 char *name = "www.gnu.org";
41117 (void)gethostbyname_r(name) /* ; */
41118
41119 ;
41120 return 0;
41121 }
41122 _ACEOF
41123 rm -f conftest.$ac_objext
41124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41125 (eval $ac_compile) 2>conftest.er1
41126 ac_status=$?
41127 grep -v '^ *+' conftest.er1 >conftest.err
41128 rm -f conftest.er1
41129 cat conftest.err >&5
41130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41131 (exit $ac_status); } &&
41132 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41134 (eval $ac_try) 2>&5
41135 ac_status=$?
41136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41137 (exit $ac_status); }; } &&
41138 { ac_try='test -s conftest.$ac_objext'
41139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41140 (eval $ac_try) 2>&5
41141 ac_status=$?
41142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41143 (exit $ac_status); }; }; then
41144 ac_cv_func_which_gethostbyname_r=no
41145 else
41146 echo "$as_me: failed program was:" >&5
41147 sed 's/^/| /' conftest.$ac_ext >&5
41148
41149 fi
41150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41151
41152 #
41153 # SIX ARGUMENTS
41154 # (e.g. Linux)
41155 #
41156
41157 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41158
41159 cat >conftest.$ac_ext <<_ACEOF
41160 /* confdefs.h. */
41161 _ACEOF
41162 cat confdefs.h >>conftest.$ac_ext
41163 cat >>conftest.$ac_ext <<_ACEOF
41164 /* end confdefs.h. */
41165 #include <netdb.h>
41166 int
41167 main ()
41168 {
41169
41170 char *name = "www.gnu.org";
41171 struct hostent ret, *retp;
41172 char buf[1024];
41173 int buflen = 1024;
41174 int my_h_errno;
41175 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41176
41177 ;
41178 return 0;
41179 }
41180 _ACEOF
41181 rm -f conftest.$ac_objext
41182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41183 (eval $ac_compile) 2>conftest.er1
41184 ac_status=$?
41185 grep -v '^ *+' conftest.er1 >conftest.err
41186 rm -f conftest.er1
41187 cat conftest.err >&5
41188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41189 (exit $ac_status); } &&
41190 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41192 (eval $ac_try) 2>&5
41193 ac_status=$?
41194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41195 (exit $ac_status); }; } &&
41196 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
41202 ac_cv_func_which_gethostbyname_r=six
41203 else
41204 echo "$as_me: failed program was:" >&5
41205 sed 's/^/| /' conftest.$ac_ext >&5
41206
41207 fi
41208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41209
41210 fi
41211
41212 #
41213 # FIVE ARGUMENTS
41214 # (e.g. Solaris)
41215 #
41216
41217 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41218
41219 cat >conftest.$ac_ext <<_ACEOF
41220 /* confdefs.h. */
41221 _ACEOF
41222 cat confdefs.h >>conftest.$ac_ext
41223 cat >>conftest.$ac_ext <<_ACEOF
41224 /* end confdefs.h. */
41225 #include <netdb.h>
41226 int
41227 main ()
41228 {
41229
41230 char *name = "www.gnu.org";
41231 struct hostent ret;
41232 char buf[1024];
41233 int buflen = 1024;
41234 int my_h_errno;
41235 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41236
41237 ;
41238 return 0;
41239 }
41240 _ACEOF
41241 rm -f conftest.$ac_objext
41242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41243 (eval $ac_compile) 2>conftest.er1
41244 ac_status=$?
41245 grep -v '^ *+' conftest.er1 >conftest.err
41246 rm -f conftest.er1
41247 cat conftest.err >&5
41248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41249 (exit $ac_status); } &&
41250 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41252 (eval $ac_try) 2>&5
41253 ac_status=$?
41254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41255 (exit $ac_status); }; } &&
41256 { ac_try='test -s conftest.$ac_objext'
41257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41258 (eval $ac_try) 2>&5
41259 ac_status=$?
41260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41261 (exit $ac_status); }; }; then
41262 ac_cv_func_which_gethostbyname_r=five
41263 else
41264 echo "$as_me: failed program was:" >&5
41265 sed 's/^/| /' conftest.$ac_ext >&5
41266
41267 fi
41268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41269
41270 fi
41271
41272 #
41273 # THREE ARGUMENTS
41274 # (e.g. AIX, HP-UX, Tru64)
41275 #
41276
41277 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41278
41279 cat >conftest.$ac_ext <<_ACEOF
41280 /* confdefs.h. */
41281 _ACEOF
41282 cat confdefs.h >>conftest.$ac_ext
41283 cat >>conftest.$ac_ext <<_ACEOF
41284 /* end confdefs.h. */
41285 #include <netdb.h>
41286 int
41287 main ()
41288 {
41289
41290 char *name = "www.gnu.org";
41291 struct hostent ret;
41292 struct hostent_data data;
41293 (void)gethostbyname_r(name, &ret, &data) /* ; */
41294
41295 ;
41296 return 0;
41297 }
41298 _ACEOF
41299 rm -f conftest.$ac_objext
41300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41301 (eval $ac_compile) 2>conftest.er1
41302 ac_status=$?
41303 grep -v '^ *+' conftest.er1 >conftest.err
41304 rm -f conftest.er1
41305 cat conftest.err >&5
41306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41307 (exit $ac_status); } &&
41308 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41310 (eval $ac_try) 2>&5
41311 ac_status=$?
41312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41313 (exit $ac_status); }; } &&
41314 { ac_try='test -s conftest.$ac_objext'
41315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41316 (eval $ac_try) 2>&5
41317 ac_status=$?
41318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41319 (exit $ac_status); }; }; then
41320 ac_cv_func_which_gethostbyname_r=three
41321 else
41322 echo "$as_me: failed program was:" >&5
41323 sed 's/^/| /' conftest.$ac_ext >&5
41324
41325 fi
41326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41327
41328 fi
41329
41330 ################################################################
41331
41332
41333 fi
41334
41335 case "$ac_cv_func_which_gethostbyname_r" in
41336 three)
41337 echo "$as_me:$LINENO: result: three" >&5
41338 echo "${ECHO_T}three" >&6
41339 cat >>confdefs.h <<\_ACEOF
41340 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41341 _ACEOF
41342
41343 ;;
41344
41345 five)
41346 echo "$as_me:$LINENO: result: five" >&5
41347 echo "${ECHO_T}five" >&6
41348 cat >>confdefs.h <<\_ACEOF
41349 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41350 _ACEOF
41351
41352 ;;
41353
41354 six)
41355 echo "$as_me:$LINENO: result: six" >&5
41356 echo "${ECHO_T}six" >&6
41357 cat >>confdefs.h <<\_ACEOF
41358 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41359 _ACEOF
41360
41361 ;;
41362
41363 no)
41364 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41365 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
41366 ;;
41367
41368 unknown)
41369 echo "$as_me:$LINENO: result: can't tell" >&5
41370 echo "${ECHO_T}can't tell" >&6
41371 ;;
41372
41373 *)
41374 { { echo "$as_me:$LINENO: error: internal error" >&5
41375 echo "$as_me: error: internal error" >&2;}
41376 { (exit 1); exit 1; }; }
41377 ;;
41378 esac
41379
41380 ac_ext=cc
41381 ac_cpp='$CXXCPP $CPPFLAGS'
41382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41385
41386
41387
41388 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41389 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41390 echo "$as_me:$LINENO: checking for gethostbyname" >&5
41391 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
41392 if test "${ac_cv_func_gethostbyname+set}" = set; then
41393 echo $ECHO_N "(cached) $ECHO_C" >&6
41394 else
41395 cat >conftest.$ac_ext <<_ACEOF
41396 /* confdefs.h. */
41397 _ACEOF
41398 cat confdefs.h >>conftest.$ac_ext
41399 cat >>conftest.$ac_ext <<_ACEOF
41400 /* end confdefs.h. */
41401 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41403 #define gethostbyname innocuous_gethostbyname
41404
41405 /* System header to define __stub macros and hopefully few prototypes,
41406 which can conflict with char gethostbyname (); below.
41407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41408 <limits.h> exists even on freestanding compilers. */
41409
41410 #ifdef __STDC__
41411 # include <limits.h>
41412 #else
41413 # include <assert.h>
41414 #endif
41415
41416 #undef gethostbyname
41417
41418 /* Override any gcc2 internal prototype to avoid an error. */
41419 #ifdef __cplusplus
41420 extern "C"
41421 {
41422 #endif
41423 /* We use char because int might match the return type of a gcc2
41424 builtin and then its argument prototype would still apply. */
41425 char gethostbyname ();
41426 /* The GNU C library defines this for functions which it implements
41427 to always fail with ENOSYS. Some functions are actually named
41428 something starting with __ and the normal name is an alias. */
41429 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
41430 choke me
41431 #else
41432 char (*f) () = gethostbyname;
41433 #endif
41434 #ifdef __cplusplus
41435 }
41436 #endif
41437
41438 int
41439 main ()
41440 {
41441 return f != gethostbyname;
41442 ;
41443 return 0;
41444 }
41445 _ACEOF
41446 rm -f conftest.$ac_objext conftest$ac_exeext
41447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41448 (eval $ac_link) 2>conftest.er1
41449 ac_status=$?
41450 grep -v '^ *+' conftest.er1 >conftest.err
41451 rm -f conftest.er1
41452 cat conftest.err >&5
41453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41454 (exit $ac_status); } &&
41455 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41457 (eval $ac_try) 2>&5
41458 ac_status=$?
41459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41460 (exit $ac_status); }; } &&
41461 { ac_try='test -s conftest$ac_exeext'
41462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41463 (eval $ac_try) 2>&5
41464 ac_status=$?
41465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41466 (exit $ac_status); }; }; then
41467 ac_cv_func_gethostbyname=yes
41468 else
41469 echo "$as_me: failed program was:" >&5
41470 sed 's/^/| /' conftest.$ac_ext >&5
41471
41472 ac_cv_func_gethostbyname=no
41473 fi
41474 rm -f conftest.err conftest.$ac_objext \
41475 conftest$ac_exeext conftest.$ac_ext
41476 fi
41477 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41478 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
41479 if test $ac_cv_func_gethostbyname = yes; then
41480 cat >>confdefs.h <<\_ACEOF
41481 #define HAVE_GETHOSTBYNAME 1
41482 _ACEOF
41483
41484 fi
41485
41486 fi
41487
41488 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41489 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
41490 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41491 echo $ECHO_N "(cached) $ECHO_C" >&6
41492 else
41493
41494 cat >conftest.$ac_ext <<_ACEOF
41495 /* confdefs.h. */
41496 _ACEOF
41497 cat confdefs.h >>conftest.$ac_ext
41498 cat >>conftest.$ac_ext <<_ACEOF
41499 /* end confdefs.h. */
41500 #include <netdb.h>
41501 int
41502 main ()
41503 {
41504
41505 char *name;
41506 char *proto;
41507 struct servent *se, *res;
41508 char buffer[2048];
41509 int buflen = 2048;
41510 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41511
41512 ;
41513 return 0;
41514 }
41515 _ACEOF
41516 rm -f conftest.$ac_objext
41517 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41518 (eval $ac_compile) 2>conftest.er1
41519 ac_status=$?
41520 grep -v '^ *+' conftest.er1 >conftest.err
41521 rm -f conftest.er1
41522 cat conftest.err >&5
41523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41524 (exit $ac_status); } &&
41525 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41527 (eval $ac_try) 2>&5
41528 ac_status=$?
41529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41530 (exit $ac_status); }; } &&
41531 { ac_try='test -s conftest.$ac_objext'
41532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41533 (eval $ac_try) 2>&5
41534 ac_status=$?
41535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41536 (exit $ac_status); }; }; then
41537 ac_cv_func_which_getservbyname_r=six
41538 else
41539 echo "$as_me: failed program was:" >&5
41540 sed 's/^/| /' conftest.$ac_ext >&5
41541
41542
41543 cat >conftest.$ac_ext <<_ACEOF
41544 /* confdefs.h. */
41545 _ACEOF
41546 cat confdefs.h >>conftest.$ac_ext
41547 cat >>conftest.$ac_ext <<_ACEOF
41548 /* end confdefs.h. */
41549 #include <netdb.h>
41550 int
41551 main ()
41552 {
41553
41554 char *name;
41555 char *proto;
41556 struct servent *se;
41557 char buffer[2048];
41558 int buflen = 2048;
41559 (void) getservbyname_r(name, proto, se, buffer, buflen)
41560
41561 ;
41562 return 0;
41563 }
41564 _ACEOF
41565 rm -f conftest.$ac_objext
41566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41567 (eval $ac_compile) 2>conftest.er1
41568 ac_status=$?
41569 grep -v '^ *+' conftest.er1 >conftest.err
41570 rm -f conftest.er1
41571 cat conftest.err >&5
41572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41573 (exit $ac_status); } &&
41574 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41576 (eval $ac_try) 2>&5
41577 ac_status=$?
41578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41579 (exit $ac_status); }; } &&
41580 { ac_try='test -s conftest.$ac_objext'
41581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41582 (eval $ac_try) 2>&5
41583 ac_status=$?
41584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41585 (exit $ac_status); }; }; then
41586 ac_cv_func_which_getservbyname_r=five
41587 else
41588 echo "$as_me: failed program was:" >&5
41589 sed 's/^/| /' conftest.$ac_ext >&5
41590
41591
41592 cat >conftest.$ac_ext <<_ACEOF
41593 /* confdefs.h. */
41594 _ACEOF
41595 cat confdefs.h >>conftest.$ac_ext
41596 cat >>conftest.$ac_ext <<_ACEOF
41597 /* end confdefs.h. */
41598 #include <netdb.h>
41599 int
41600 main ()
41601 {
41602
41603 char *name;
41604 char *proto;
41605 struct servent *se;
41606 struct servent_data data;
41607 (void) getservbyname_r(name, proto, se, &data);
41608
41609 ;
41610 return 0;
41611 }
41612 _ACEOF
41613 rm -f conftest.$ac_objext
41614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41615 (eval $ac_compile) 2>conftest.er1
41616 ac_status=$?
41617 grep -v '^ *+' conftest.er1 >conftest.err
41618 rm -f conftest.er1
41619 cat conftest.err >&5
41620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41621 (exit $ac_status); } &&
41622 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41624 (eval $ac_try) 2>&5
41625 ac_status=$?
41626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41627 (exit $ac_status); }; } &&
41628 { ac_try='test -s conftest.$ac_objext'
41629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41630 (eval $ac_try) 2>&5
41631 ac_status=$?
41632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41633 (exit $ac_status); }; }; then
41634 ac_cv_func_which_getservbyname_r=four
41635 else
41636 echo "$as_me: failed program was:" >&5
41637 sed 's/^/| /' conftest.$ac_ext >&5
41638
41639 ac_cv_func_which_getservbyname_r=no
41640
41641 fi
41642 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41643
41644
41645 fi
41646 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41647
41648
41649 fi
41650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41651
41652
41653 fi
41654 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41655 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41656
41657 if test $ac_cv_func_which_getservbyname_r = six; then
41658 cat >>confdefs.h <<\_ACEOF
41659 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41660 _ACEOF
41661
41662 elif test $ac_cv_func_which_getservbyname_r = five; then
41663 cat >>confdefs.h <<\_ACEOF
41664 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41665 _ACEOF
41666
41667 elif test $ac_cv_func_which_getservbyname_r = four; then
41668 cat >>confdefs.h <<\_ACEOF
41669 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41670 _ACEOF
41671
41672 fi
41673
41674
41675 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41676 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41677
41678 for ac_func in getservbyname
41679 do
41680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41681 echo "$as_me:$LINENO: checking for $ac_func" >&5
41682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41683 if eval "test \"\${$as_ac_var+set}\" = set"; then
41684 echo $ECHO_N "(cached) $ECHO_C" >&6
41685 else
41686 cat >conftest.$ac_ext <<_ACEOF
41687 /* confdefs.h. */
41688 _ACEOF
41689 cat confdefs.h >>conftest.$ac_ext
41690 cat >>conftest.$ac_ext <<_ACEOF
41691 /* end confdefs.h. */
41692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41694 #define $ac_func innocuous_$ac_func
41695
41696 /* System header to define __stub macros and hopefully few prototypes,
41697 which can conflict with char $ac_func (); below.
41698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41699 <limits.h> exists even on freestanding compilers. */
41700
41701 #ifdef __STDC__
41702 # include <limits.h>
41703 #else
41704 # include <assert.h>
41705 #endif
41706
41707 #undef $ac_func
41708
41709 /* Override any gcc2 internal prototype to avoid an error. */
41710 #ifdef __cplusplus
41711 extern "C"
41712 {
41713 #endif
41714 /* We use char because int might match the return type of a gcc2
41715 builtin and then its argument prototype would still apply. */
41716 char $ac_func ();
41717 /* The GNU C library defines this for functions which it implements
41718 to always fail with ENOSYS. Some functions are actually named
41719 something starting with __ and the normal name is an alias. */
41720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41721 choke me
41722 #else
41723 char (*f) () = $ac_func;
41724 #endif
41725 #ifdef __cplusplus
41726 }
41727 #endif
41728
41729 int
41730 main ()
41731 {
41732 return f != $ac_func;
41733 ;
41734 return 0;
41735 }
41736 _ACEOF
41737 rm -f conftest.$ac_objext conftest$ac_exeext
41738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41739 (eval $ac_link) 2>conftest.er1
41740 ac_status=$?
41741 grep -v '^ *+' conftest.er1 >conftest.err
41742 rm -f conftest.er1
41743 cat conftest.err >&5
41744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41745 (exit $ac_status); } &&
41746 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41748 (eval $ac_try) 2>&5
41749 ac_status=$?
41750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41751 (exit $ac_status); }; } &&
41752 { ac_try='test -s conftest$ac_exeext'
41753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41754 (eval $ac_try) 2>&5
41755 ac_status=$?
41756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41757 (exit $ac_status); }; }; then
41758 eval "$as_ac_var=yes"
41759 else
41760 echo "$as_me: failed program was:" >&5
41761 sed 's/^/| /' conftest.$ac_ext >&5
41762
41763 eval "$as_ac_var=no"
41764 fi
41765 rm -f conftest.err conftest.$ac_objext \
41766 conftest$ac_exeext conftest.$ac_ext
41767 fi
41768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41770 if test `eval echo '${'$as_ac_var'}'` = yes; then
41771 cat >>confdefs.h <<_ACEOF
41772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41773 _ACEOF
41774 cat >>confdefs.h <<\_ACEOF
41775 #define HAVE_GETSERVBYNAME 1
41776 _ACEOF
41777
41778 fi
41779 done
41780
41781 fi
41782
41783 if test "$wxUSE_THREADS" = "yes"; then
41784 cat >>confdefs.h <<\_ACEOF
41785 #define wxUSE_THREADS 1
41786 _ACEOF
41787
41788
41789 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41790 else
41791 if test "$wx_cv_func_strtok_r" = "yes"; then
41792 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41793 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
41794 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41795 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41796 echo "$as_me:$LINENO: result: yes" >&5
41797 echo "${ECHO_T}yes" >&6
41798 else
41799 echo "$as_me:$LINENO: result: no" >&5
41800 echo "${ECHO_T}no" >&6
41801 fi
41802 fi
41803 fi
41804
41805 if test "$WXGTK20" = 1 ; then
41806 cat >>confdefs.h <<_ACEOF
41807 #define __WXGTK20__ $WXGTK20
41808 _ACEOF
41809
41810 WXGTK12=1
41811 fi
41812
41813 if test "$WXGTK12" = 1 ; then
41814 cat >>confdefs.h <<_ACEOF
41815 #define __WXGTK12__ $WXGTK12
41816 _ACEOF
41817
41818 fi
41819
41820 if test "$WXGTK127" = 1 ; then
41821 cat >>confdefs.h <<_ACEOF
41822 #define __WXGTK127__ $WXGTK127
41823 _ACEOF
41824
41825 fi
41826
41827 if test "$WXGPE" = 1 ; then
41828 cat >>confdefs.h <<_ACEOF
41829 #define __WXGPE__ $WXGPE
41830 _ACEOF
41831
41832 fi
41833
41834 DEBUG_CFLAGS=
41835 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41836 DEBUG_CFLAGS="-g"
41837 wxUSE_OPTIMISE=no
41838 fi
41839
41840 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41841 wxUSE_DEBUG_INFO=yes
41842 if test "$GCC" = yes; then
41843 DEBUG_CFLAGS="-ggdb"
41844 fi
41845 fi
41846
41847 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41848 cat >>confdefs.h <<\_ACEOF
41849 #define WXDEBUG 1
41850 _ACEOF
41851
41852 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41853 else
41854 if test "$wxUSE_GTK" = 1 ; then
41855 if test "x$wxGTK_VERSION" = "x1" ; then
41856 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41857 fi
41858 fi
41859 fi
41860
41861 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41862 cat >>confdefs.h <<\_ACEOF
41863 #define wxUSE_MEMORY_TRACING 1
41864 _ACEOF
41865
41866 cat >>confdefs.h <<\_ACEOF
41867 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41868 _ACEOF
41869
41870 cat >>confdefs.h <<\_ACEOF
41871 #define wxUSE_DEBUG_NEW_ALWAYS 1
41872 _ACEOF
41873
41874 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41875 fi
41876
41877 if test "$wxUSE_DMALLOC" = "yes" ; then
41878 DMALLOC_LIBS="-ldmallocthcxx"
41879 fi
41880
41881 PROFILE_FLAGS=
41882 if test "$wxUSE_PROFILE" = "yes" ; then
41883 PROFILE_FLAGS=" -pg"
41884 fi
41885
41886 if test "$GCC" = "yes" ; then
41887 if test "$wxUSE_NO_RTTI" = "yes" ; then
41888 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41889 fi
41890 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41891 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41892 fi
41893 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41894 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41895 fi
41896
41897 case "${host}" in
41898 powerpc*-*-aix* )
41899 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41900 ;;
41901 *-hppa* )
41902 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41903 ;;
41904 esac
41905 fi
41906
41907 OPTIMISE_CFLAGS=
41908 if test "$wxUSE_OPTIMISE" = "no" ; then
41909 if test "$GCC" = yes ; then
41910 OPTIMISE_CFLAGS="-O0"
41911 fi
41912 else
41913 if test "$GCC" = yes ; then
41914 case "${host}" in
41915 *-pc-os2_emx | *-pc-os2-emx )
41916 OPTIMISE_CFLAGS="-O2"
41917 ;;
41918 *)
41919 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41920 ;;
41921 esac
41922 else
41923 OPTIMISE_CFLAGS="-O"
41924 fi
41925 fi
41926
41927
41928 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
41929 cat >>confdefs.h <<\_ACEOF
41930 #define WXWIN_COMPATIBILITY_2_4 1
41931 _ACEOF
41932
41933
41934 WXWIN_COMPATIBILITY_2_6="yes"
41935 fi
41936
41937 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
41938 cat >>confdefs.h <<\_ACEOF
41939 #define WXWIN_COMPATIBILITY_2_6 1
41940 _ACEOF
41941
41942 fi
41943
41944
41945 if test "$wxUSE_GUI" = "yes"; then
41946 cat >>confdefs.h <<\_ACEOF
41947 #define wxUSE_GUI 1
41948 _ACEOF
41949
41950
41951 fi
41952
41953
41954 if test "$wxUSE_UNIX" = "yes"; then
41955 cat >>confdefs.h <<\_ACEOF
41956 #define wxUSE_UNIX 1
41957 _ACEOF
41958
41959 fi
41960
41961
41962 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41963
41964 HAVE_DL_FUNCS=0
41965 HAVE_SHL_FUNCS=0
41966 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41967 if test "$USE_DARWIN" = 1; then
41968 HAVE_DL_FUNCS=1
41969 elif test "$USE_DOS" = 1; then
41970 HAVE_DL_FUNCS=0
41971 else
41972
41973 for ac_func in dlopen
41974 do
41975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41976 echo "$as_me:$LINENO: checking for $ac_func" >&5
41977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41978 if eval "test \"\${$as_ac_var+set}\" = set"; then
41979 echo $ECHO_N "(cached) $ECHO_C" >&6
41980 else
41981 cat >conftest.$ac_ext <<_ACEOF
41982 /* confdefs.h. */
41983 _ACEOF
41984 cat confdefs.h >>conftest.$ac_ext
41985 cat >>conftest.$ac_ext <<_ACEOF
41986 /* end confdefs.h. */
41987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41989 #define $ac_func innocuous_$ac_func
41990
41991 /* System header to define __stub macros and hopefully few prototypes,
41992 which can conflict with char $ac_func (); below.
41993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41994 <limits.h> exists even on freestanding compilers. */
41995
41996 #ifdef __STDC__
41997 # include <limits.h>
41998 #else
41999 # include <assert.h>
42000 #endif
42001
42002 #undef $ac_func
42003
42004 /* Override any gcc2 internal prototype to avoid an error. */
42005 #ifdef __cplusplus
42006 extern "C"
42007 {
42008 #endif
42009 /* We use char because int might match the return type of a gcc2
42010 builtin and then its argument prototype would still apply. */
42011 char $ac_func ();
42012 /* The GNU C library defines this for functions which it implements
42013 to always fail with ENOSYS. Some functions are actually named
42014 something starting with __ and the normal name is an alias. */
42015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42016 choke me
42017 #else
42018 char (*f) () = $ac_func;
42019 #endif
42020 #ifdef __cplusplus
42021 }
42022 #endif
42023
42024 int
42025 main ()
42026 {
42027 return f != $ac_func;
42028 ;
42029 return 0;
42030 }
42031 _ACEOF
42032 rm -f conftest.$ac_objext conftest$ac_exeext
42033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42034 (eval $ac_link) 2>conftest.er1
42035 ac_status=$?
42036 grep -v '^ *+' conftest.er1 >conftest.err
42037 rm -f conftest.er1
42038 cat conftest.err >&5
42039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42040 (exit $ac_status); } &&
42041 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42043 (eval $ac_try) 2>&5
42044 ac_status=$?
42045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42046 (exit $ac_status); }; } &&
42047 { ac_try='test -s conftest$ac_exeext'
42048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42049 (eval $ac_try) 2>&5
42050 ac_status=$?
42051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42052 (exit $ac_status); }; }; then
42053 eval "$as_ac_var=yes"
42054 else
42055 echo "$as_me: failed program was:" >&5
42056 sed 's/^/| /' conftest.$ac_ext >&5
42057
42058 eval "$as_ac_var=no"
42059 fi
42060 rm -f conftest.err conftest.$ac_objext \
42061 conftest$ac_exeext conftest.$ac_ext
42062 fi
42063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42065 if test `eval echo '${'$as_ac_var'}'` = yes; then
42066 cat >>confdefs.h <<_ACEOF
42067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42068 _ACEOF
42069
42070 cat >>confdefs.h <<\_ACEOF
42071 #define HAVE_DLOPEN 1
42072 _ACEOF
42073
42074 HAVE_DL_FUNCS=1
42075
42076 else
42077
42078 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42079 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
42080 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42081 echo $ECHO_N "(cached) $ECHO_C" >&6
42082 else
42083 ac_check_lib_save_LIBS=$LIBS
42084 LIBS="-ldl $LIBS"
42085 cat >conftest.$ac_ext <<_ACEOF
42086 /* confdefs.h. */
42087 _ACEOF
42088 cat confdefs.h >>conftest.$ac_ext
42089 cat >>conftest.$ac_ext <<_ACEOF
42090 /* end confdefs.h. */
42091
42092 /* Override any gcc2 internal prototype to avoid an error. */
42093 #ifdef __cplusplus
42094 extern "C"
42095 #endif
42096 /* We use char because int might match the return type of a gcc2
42097 builtin and then its argument prototype would still apply. */
42098 char dlopen ();
42099 int
42100 main ()
42101 {
42102 dlopen ();
42103 ;
42104 return 0;
42105 }
42106 _ACEOF
42107 rm -f conftest.$ac_objext conftest$ac_exeext
42108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42109 (eval $ac_link) 2>conftest.er1
42110 ac_status=$?
42111 grep -v '^ *+' conftest.er1 >conftest.err
42112 rm -f conftest.er1
42113 cat conftest.err >&5
42114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42115 (exit $ac_status); } &&
42116 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42118 (eval $ac_try) 2>&5
42119 ac_status=$?
42120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42121 (exit $ac_status); }; } &&
42122 { ac_try='test -s conftest$ac_exeext'
42123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42124 (eval $ac_try) 2>&5
42125 ac_status=$?
42126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42127 (exit $ac_status); }; }; then
42128 ac_cv_lib_dl_dlopen=yes
42129 else
42130 echo "$as_me: failed program was:" >&5
42131 sed 's/^/| /' conftest.$ac_ext >&5
42132
42133 ac_cv_lib_dl_dlopen=no
42134 fi
42135 rm -f conftest.err conftest.$ac_objext \
42136 conftest$ac_exeext conftest.$ac_ext
42137 LIBS=$ac_check_lib_save_LIBS
42138 fi
42139 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42140 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
42141 if test $ac_cv_lib_dl_dlopen = yes; then
42142
42143 cat >>confdefs.h <<\_ACEOF
42144 #define HAVE_DLOPEN 1
42145 _ACEOF
42146
42147 HAVE_DL_FUNCS=1
42148 DL_LINK=" -ldl$DL_LINK"
42149
42150 else
42151
42152
42153 for ac_func in shl_load
42154 do
42155 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42156 echo "$as_me:$LINENO: checking for $ac_func" >&5
42157 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42158 if eval "test \"\${$as_ac_var+set}\" = set"; then
42159 echo $ECHO_N "(cached) $ECHO_C" >&6
42160 else
42161 cat >conftest.$ac_ext <<_ACEOF
42162 /* confdefs.h. */
42163 _ACEOF
42164 cat confdefs.h >>conftest.$ac_ext
42165 cat >>conftest.$ac_ext <<_ACEOF
42166 /* end confdefs.h. */
42167 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42168 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42169 #define $ac_func innocuous_$ac_func
42170
42171 /* System header to define __stub macros and hopefully few prototypes,
42172 which can conflict with char $ac_func (); below.
42173 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42174 <limits.h> exists even on freestanding compilers. */
42175
42176 #ifdef __STDC__
42177 # include <limits.h>
42178 #else
42179 # include <assert.h>
42180 #endif
42181
42182 #undef $ac_func
42183
42184 /* Override any gcc2 internal prototype to avoid an error. */
42185 #ifdef __cplusplus
42186 extern "C"
42187 {
42188 #endif
42189 /* We use char because int might match the return type of a gcc2
42190 builtin and then its argument prototype would still apply. */
42191 char $ac_func ();
42192 /* The GNU C library defines this for functions which it implements
42193 to always fail with ENOSYS. Some functions are actually named
42194 something starting with __ and the normal name is an alias. */
42195 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42196 choke me
42197 #else
42198 char (*f) () = $ac_func;
42199 #endif
42200 #ifdef __cplusplus
42201 }
42202 #endif
42203
42204 int
42205 main ()
42206 {
42207 return f != $ac_func;
42208 ;
42209 return 0;
42210 }
42211 _ACEOF
42212 rm -f conftest.$ac_objext conftest$ac_exeext
42213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42214 (eval $ac_link) 2>conftest.er1
42215 ac_status=$?
42216 grep -v '^ *+' conftest.er1 >conftest.err
42217 rm -f conftest.er1
42218 cat conftest.err >&5
42219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42220 (exit $ac_status); } &&
42221 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42223 (eval $ac_try) 2>&5
42224 ac_status=$?
42225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42226 (exit $ac_status); }; } &&
42227 { ac_try='test -s conftest$ac_exeext'
42228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42229 (eval $ac_try) 2>&5
42230 ac_status=$?
42231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42232 (exit $ac_status); }; }; then
42233 eval "$as_ac_var=yes"
42234 else
42235 echo "$as_me: failed program was:" >&5
42236 sed 's/^/| /' conftest.$ac_ext >&5
42237
42238 eval "$as_ac_var=no"
42239 fi
42240 rm -f conftest.err conftest.$ac_objext \
42241 conftest$ac_exeext conftest.$ac_ext
42242 fi
42243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42245 if test `eval echo '${'$as_ac_var'}'` = yes; then
42246 cat >>confdefs.h <<_ACEOF
42247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42248 _ACEOF
42249
42250 cat >>confdefs.h <<\_ACEOF
42251 #define HAVE_SHL_LOAD 1
42252 _ACEOF
42253
42254 HAVE_SHL_FUNCS=1
42255
42256 else
42257
42258 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42259 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
42260 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42261 echo $ECHO_N "(cached) $ECHO_C" >&6
42262 else
42263 ac_check_lib_save_LIBS=$LIBS
42264 LIBS="-lshl_load $LIBS"
42265 cat >conftest.$ac_ext <<_ACEOF
42266 /* confdefs.h. */
42267 _ACEOF
42268 cat confdefs.h >>conftest.$ac_ext
42269 cat >>conftest.$ac_ext <<_ACEOF
42270 /* end confdefs.h. */
42271
42272 /* Override any gcc2 internal prototype to avoid an error. */
42273 #ifdef __cplusplus
42274 extern "C"
42275 #endif
42276 /* We use char because int might match the return type of a gcc2
42277 builtin and then its argument prototype would still apply. */
42278 char dld ();
42279 int
42280 main ()
42281 {
42282 dld ();
42283 ;
42284 return 0;
42285 }
42286 _ACEOF
42287 rm -f conftest.$ac_objext conftest$ac_exeext
42288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42289 (eval $ac_link) 2>conftest.er1
42290 ac_status=$?
42291 grep -v '^ *+' conftest.er1 >conftest.err
42292 rm -f conftest.er1
42293 cat conftest.err >&5
42294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42295 (exit $ac_status); } &&
42296 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42298 (eval $ac_try) 2>&5
42299 ac_status=$?
42300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42301 (exit $ac_status); }; } &&
42302 { ac_try='test -s conftest$ac_exeext'
42303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42304 (eval $ac_try) 2>&5
42305 ac_status=$?
42306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42307 (exit $ac_status); }; }; then
42308 ac_cv_lib_shl_load_dld=yes
42309 else
42310 echo "$as_me: failed program was:" >&5
42311 sed 's/^/| /' conftest.$ac_ext >&5
42312
42313 ac_cv_lib_shl_load_dld=no
42314 fi
42315 rm -f conftest.err conftest.$ac_objext \
42316 conftest$ac_exeext conftest.$ac_ext
42317 LIBS=$ac_check_lib_save_LIBS
42318 fi
42319 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42320 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
42321 if test $ac_cv_lib_shl_load_dld = yes; then
42322
42323 HAVE_SHL_FUNCS=1
42324 DL_LINK=" -ldld$DL_LINK"
42325
42326 fi
42327
42328
42329 fi
42330 done
42331
42332
42333 fi
42334
42335
42336 fi
42337 done
42338
42339
42340 if test "$HAVE_DL_FUNCS" = 1; then
42341
42342 for ac_func in dlerror
42343 do
42344 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42345 echo "$as_me:$LINENO: checking for $ac_func" >&5
42346 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42347 if eval "test \"\${$as_ac_var+set}\" = set"; then
42348 echo $ECHO_N "(cached) $ECHO_C" >&6
42349 else
42350 cat >conftest.$ac_ext <<_ACEOF
42351 /* confdefs.h. */
42352 _ACEOF
42353 cat confdefs.h >>conftest.$ac_ext
42354 cat >>conftest.$ac_ext <<_ACEOF
42355 /* end confdefs.h. */
42356 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42357 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42358 #define $ac_func innocuous_$ac_func
42359
42360 /* System header to define __stub macros and hopefully few prototypes,
42361 which can conflict with char $ac_func (); below.
42362 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42363 <limits.h> exists even on freestanding compilers. */
42364
42365 #ifdef __STDC__
42366 # include <limits.h>
42367 #else
42368 # include <assert.h>
42369 #endif
42370
42371 #undef $ac_func
42372
42373 /* Override any gcc2 internal prototype to avoid an error. */
42374 #ifdef __cplusplus
42375 extern "C"
42376 {
42377 #endif
42378 /* We use char because int might match the return type of a gcc2
42379 builtin and then its argument prototype would still apply. */
42380 char $ac_func ();
42381 /* The GNU C library defines this for functions which it implements
42382 to always fail with ENOSYS. Some functions are actually named
42383 something starting with __ and the normal name is an alias. */
42384 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42385 choke me
42386 #else
42387 char (*f) () = $ac_func;
42388 #endif
42389 #ifdef __cplusplus
42390 }
42391 #endif
42392
42393 int
42394 main ()
42395 {
42396 return f != $ac_func;
42397 ;
42398 return 0;
42399 }
42400 _ACEOF
42401 rm -f conftest.$ac_objext conftest$ac_exeext
42402 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42403 (eval $ac_link) 2>conftest.er1
42404 ac_status=$?
42405 grep -v '^ *+' conftest.er1 >conftest.err
42406 rm -f conftest.er1
42407 cat conftest.err >&5
42408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42409 (exit $ac_status); } &&
42410 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42412 (eval $ac_try) 2>&5
42413 ac_status=$?
42414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42415 (exit $ac_status); }; } &&
42416 { ac_try='test -s conftest$ac_exeext'
42417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42418 (eval $ac_try) 2>&5
42419 ac_status=$?
42420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42421 (exit $ac_status); }; }; then
42422 eval "$as_ac_var=yes"
42423 else
42424 echo "$as_me: failed program was:" >&5
42425 sed 's/^/| /' conftest.$ac_ext >&5
42426
42427 eval "$as_ac_var=no"
42428 fi
42429 rm -f conftest.err conftest.$ac_objext \
42430 conftest$ac_exeext conftest.$ac_ext
42431 fi
42432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42434 if test `eval echo '${'$as_ac_var'}'` = yes; then
42435 cat >>confdefs.h <<_ACEOF
42436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42437 _ACEOF
42438 cat >>confdefs.h <<\_ACEOF
42439 #define HAVE_DLERROR 1
42440 _ACEOF
42441
42442 else
42443
42444 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42445 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
42446 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42447 echo $ECHO_N "(cached) $ECHO_C" >&6
42448 else
42449 ac_check_lib_save_LIBS=$LIBS
42450 LIBS="-ldl $LIBS"
42451 cat >conftest.$ac_ext <<_ACEOF
42452 /* confdefs.h. */
42453 _ACEOF
42454 cat confdefs.h >>conftest.$ac_ext
42455 cat >>conftest.$ac_ext <<_ACEOF
42456 /* end confdefs.h. */
42457
42458 /* Override any gcc2 internal prototype to avoid an error. */
42459 #ifdef __cplusplus
42460 extern "C"
42461 #endif
42462 /* We use char because int might match the return type of a gcc2
42463 builtin and then its argument prototype would still apply. */
42464 char dlerror ();
42465 int
42466 main ()
42467 {
42468 dlerror ();
42469 ;
42470 return 0;
42471 }
42472 _ACEOF
42473 rm -f conftest.$ac_objext conftest$ac_exeext
42474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42475 (eval $ac_link) 2>conftest.er1
42476 ac_status=$?
42477 grep -v '^ *+' conftest.er1 >conftest.err
42478 rm -f conftest.er1
42479 cat conftest.err >&5
42480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42481 (exit $ac_status); } &&
42482 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42484 (eval $ac_try) 2>&5
42485 ac_status=$?
42486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42487 (exit $ac_status); }; } &&
42488 { ac_try='test -s conftest$ac_exeext'
42489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42490 (eval $ac_try) 2>&5
42491 ac_status=$?
42492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42493 (exit $ac_status); }; }; then
42494 ac_cv_lib_dl_dlerror=yes
42495 else
42496 echo "$as_me: failed program was:" >&5
42497 sed 's/^/| /' conftest.$ac_ext >&5
42498
42499 ac_cv_lib_dl_dlerror=no
42500 fi
42501 rm -f conftest.err conftest.$ac_objext \
42502 conftest$ac_exeext conftest.$ac_ext
42503 LIBS=$ac_check_lib_save_LIBS
42504 fi
42505 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42506 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
42507 if test $ac_cv_lib_dl_dlerror = yes; then
42508 cat >>confdefs.h <<\_ACEOF
42509 #define HAVE_DLERROR 1
42510 _ACEOF
42511
42512 fi
42513
42514
42515
42516 fi
42517 done
42518
42519 fi
42520 fi
42521
42522 if test "$HAVE_DL_FUNCS" = 0; then
42523 if test "$HAVE_SHL_FUNCS" = 0; then
42524 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42525 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42526 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42527 wxUSE_DYNAMIC_LOADER=no
42528 wxUSE_DYNLIB_CLASS=no
42529 else
42530 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42531 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42532 fi
42533 fi
42534 fi
42535 fi
42536 fi
42537
42538 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42539 cat >>confdefs.h <<\_ACEOF
42540 #define wxUSE_DYNAMIC_LOADER 1
42541 _ACEOF
42542
42543 fi
42544 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42545 cat >>confdefs.h <<\_ACEOF
42546 #define wxUSE_DYNLIB_CLASS 1
42547 _ACEOF
42548
42549 fi
42550
42551
42552
42553 if test "$wxUSE_PLUGINS" = "yes" ; then
42554 if test "$wxUSE_SHARED" = "no" ; then
42555 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42556 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42557 wxUSE_PLUGINS=no
42558 fi
42559 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42560 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42561 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42562 wxUSE_PLUGINS=no
42563 fi
42564 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42565 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42566 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42567 wxUSE_PLUGINS=no
42568 fi
42569 if test "$wxUSE_PLUGINS" = "yes" ; then
42570 cat >>confdefs.h <<\_ACEOF
42571 #define wxUSE_PLUGINS 1
42572 _ACEOF
42573
42574 fi
42575 fi
42576
42577
42578 if test "$wxUSE_STL" = "yes"; then
42579 cat >>confdefs.h <<\_ACEOF
42580 #define wxUSE_STL 1
42581 _ACEOF
42582
42583 fi
42584
42585 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42586 cat >>confdefs.h <<\_ACEOF
42587 #define wxUSE_APPLE_IEEE 1
42588 _ACEOF
42589
42590 fi
42591
42592 if test "$wxUSE_TIMER" = "yes"; then
42593 cat >>confdefs.h <<\_ACEOF
42594 #define wxUSE_TIMER 1
42595 _ACEOF
42596
42597 fi
42598
42599 if test "$USE_UNIX" = "1" ; then
42600 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42601 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42602 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42603 echo $ECHO_N "(cached) $ECHO_C" >&6
42604 else
42605
42606 cat >conftest.$ac_ext <<_ACEOF
42607 /* confdefs.h. */
42608 _ACEOF
42609 cat confdefs.h >>conftest.$ac_ext
42610 cat >>conftest.$ac_ext <<_ACEOF
42611 /* end confdefs.h. */
42612
42613 #include <sys/ioctl.h>
42614 #include <sys/soundcard.h>
42615
42616 int
42617 main ()
42618 {
42619
42620 ioctl(0, SNDCTL_DSP_SPEED, 0);
42621
42622 ;
42623 return 0;
42624 }
42625 _ACEOF
42626 rm -f conftest.$ac_objext conftest$ac_exeext
42627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42628 (eval $ac_link) 2>conftest.er1
42629 ac_status=$?
42630 grep -v '^ *+' conftest.er1 >conftest.err
42631 rm -f conftest.er1
42632 cat conftest.err >&5
42633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42634 (exit $ac_status); } &&
42635 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42637 (eval $ac_try) 2>&5
42638 ac_status=$?
42639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42640 (exit $ac_status); }; } &&
42641 { ac_try='test -s conftest$ac_exeext'
42642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42643 (eval $ac_try) 2>&5
42644 ac_status=$?
42645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42646 (exit $ac_status); }; }; then
42647 ac_cv_header_sys_soundcard=yes
42648 else
42649 echo "$as_me: failed program was:" >&5
42650 sed 's/^/| /' conftest.$ac_ext >&5
42651
42652
42653 saveLibs="$LIBS"
42654 LIBS="$saveLibs -lossaudio"
42655 cat >conftest.$ac_ext <<_ACEOF
42656 /* confdefs.h. */
42657 _ACEOF
42658 cat confdefs.h >>conftest.$ac_ext
42659 cat >>conftest.$ac_ext <<_ACEOF
42660 /* end confdefs.h. */
42661
42662 #include <sys/ioctl.h>
42663 #include <sys/soundcard.h>
42664
42665 int
42666 main ()
42667 {
42668
42669 ioctl(0, SNDCTL_DSP_SPEED, 0);
42670
42671 ;
42672 return 0;
42673 }
42674 _ACEOF
42675 rm -f conftest.$ac_objext conftest$ac_exeext
42676 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42677 (eval $ac_link) 2>conftest.er1
42678 ac_status=$?
42679 grep -v '^ *+' conftest.er1 >conftest.err
42680 rm -f conftest.er1
42681 cat conftest.err >&5
42682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42683 (exit $ac_status); } &&
42684 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42686 (eval $ac_try) 2>&5
42687 ac_status=$?
42688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42689 (exit $ac_status); }; } &&
42690 { ac_try='test -s conftest$ac_exeext'
42691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42692 (eval $ac_try) 2>&5
42693 ac_status=$?
42694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42695 (exit $ac_status); }; }; then
42696 ac_cv_header_sys_soundcard=yes
42697 else
42698 echo "$as_me: failed program was:" >&5
42699 sed 's/^/| /' conftest.$ac_ext >&5
42700
42701
42702 LIBS="$saveLibs"
42703 ac_cv_header_sys_soundcard=no
42704
42705
42706 fi
42707 rm -f conftest.err conftest.$ac_objext \
42708 conftest$ac_exeext conftest.$ac_ext
42709
42710
42711 fi
42712 rm -f conftest.err conftest.$ac_objext \
42713 conftest$ac_exeext conftest.$ac_ext
42714
42715 fi
42716 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42717 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42718
42719 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42720 cat >>confdefs.h <<\_ACEOF
42721 #define HAVE_SYS_SOUNDCARD_H 1
42722 _ACEOF
42723
42724 else
42725 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
42726 fi
42727 fi
42728 WITH_PLUGIN_SDL=0
42729 if test "$wxUSE_SOUND" = "yes"; then
42730 if test "$USE_UNIX" = "1" ; then
42731 if test "$wxUSE_LIBSDL" != "no"; then
42732
42733 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42734 if test "${with_sdl_prefix+set}" = set; then
42735 withval="$with_sdl_prefix"
42736 sdl_prefix="$withval"
42737 else
42738 sdl_prefix=""
42739 fi;
42740
42741 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42742 if test "${with_sdl_exec_prefix+set}" = set; then
42743 withval="$with_sdl_exec_prefix"
42744 sdl_exec_prefix="$withval"
42745 else
42746 sdl_exec_prefix=""
42747 fi;
42748 # Check whether --enable-sdltest or --disable-sdltest was given.
42749 if test "${enable_sdltest+set}" = set; then
42750 enableval="$enable_sdltest"
42751
42752 else
42753 enable_sdltest=yes
42754 fi;
42755
42756 if test x$sdl_exec_prefix != x ; then
42757 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42758 if test x${SDL_CONFIG+set} != xset ; then
42759 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42760 fi
42761 fi
42762 if test x$sdl_prefix != x ; then
42763 sdl_args="$sdl_args --prefix=$sdl_prefix"
42764 if test x${SDL_CONFIG+set} != xset ; then
42765 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42766 fi
42767 fi
42768
42769 if test "x$prefix" != xNONE; then
42770 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42771 fi
42772 # Extract the first word of "sdl-config", so it can be a program name with args.
42773 set dummy sdl-config; ac_word=$2
42774 echo "$as_me:$LINENO: checking for $ac_word" >&5
42775 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42776 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42777 echo $ECHO_N "(cached) $ECHO_C" >&6
42778 else
42779 case $SDL_CONFIG in
42780 [\\/]* | ?:[\\/]*)
42781 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42782 ;;
42783 *)
42784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42785 for as_dir in $PATH
42786 do
42787 IFS=$as_save_IFS
42788 test -z "$as_dir" && as_dir=.
42789 for ac_exec_ext in '' $ac_executable_extensions; do
42790 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42791 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42793 break 2
42794 fi
42795 done
42796 done
42797
42798 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42799 ;;
42800 esac
42801 fi
42802 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42803
42804 if test -n "$SDL_CONFIG"; then
42805 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42806 echo "${ECHO_T}$SDL_CONFIG" >&6
42807 else
42808 echo "$as_me:$LINENO: result: no" >&5
42809 echo "${ECHO_T}no" >&6
42810 fi
42811
42812 min_sdl_version=1.2.0
42813 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42814 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
42815 no_sdl=""
42816 if test "$SDL_CONFIG" = "no" ; then
42817 no_sdl=yes
42818 else
42819 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42820 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42821
42822 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42823 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42824 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42825 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42826 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42827 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42828 if test "x$enable_sdltest" = "xyes" ; then
42829 ac_save_CFLAGS="$CFLAGS"
42830 ac_save_CXXFLAGS="$CXXFLAGS"
42831 ac_save_LIBS="$LIBS"
42832 CFLAGS="$CFLAGS $SDL_CFLAGS"
42833 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42834 LIBS="$LIBS $SDL_LIBS"
42835 rm -f conf.sdltest
42836 if test "$cross_compiling" = yes; then
42837 echo $ac_n "cross compiling; assumed OK... $ac_c"
42838 else
42839 cat >conftest.$ac_ext <<_ACEOF
42840 /* confdefs.h. */
42841 _ACEOF
42842 cat confdefs.h >>conftest.$ac_ext
42843 cat >>conftest.$ac_ext <<_ACEOF
42844 /* end confdefs.h. */
42845
42846 #include <stdio.h>
42847 #include <stdlib.h>
42848 #include <string.h>
42849 #include "SDL.h"
42850
42851 char*
42852 my_strdup (char *str)
42853 {
42854 char *new_str;
42855
42856 if (str)
42857 {
42858 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42859 strcpy (new_str, str);
42860 }
42861 else
42862 new_str = NULL;
42863
42864 return new_str;
42865 }
42866
42867 int main (int argc, char *argv[])
42868 {
42869 int major, minor, micro;
42870 char *tmp_version;
42871
42872 /* This hangs on some systems (?)
42873 system ("touch conf.sdltest");
42874 */
42875 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42876
42877 /* HP/UX 9 (%@#!) writes to sscanf strings */
42878 tmp_version = my_strdup("$min_sdl_version");
42879 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42880 printf("%s, bad version string\n", "$min_sdl_version");
42881 exit(1);
42882 }
42883
42884 if (($sdl_major_version > major) ||
42885 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42886 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42887 {
42888 return 0;
42889 }
42890 else
42891 {
42892 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42893 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42894 printf("*** best to upgrade to the required version.\n");
42895 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42896 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42897 printf("*** config.cache before re-running configure\n");
42898 return 1;
42899 }
42900 }
42901
42902
42903 _ACEOF
42904 rm -f conftest$ac_exeext
42905 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42906 (eval $ac_link) 2>&5
42907 ac_status=$?
42908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42909 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42911 (eval $ac_try) 2>&5
42912 ac_status=$?
42913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42914 (exit $ac_status); }; }; then
42915 :
42916 else
42917 echo "$as_me: program exited with status $ac_status" >&5
42918 echo "$as_me: failed program was:" >&5
42919 sed 's/^/| /' conftest.$ac_ext >&5
42920
42921 ( exit $ac_status )
42922 no_sdl=yes
42923 fi
42924 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42925 fi
42926 CFLAGS="$ac_save_CFLAGS"
42927 CXXFLAGS="$ac_save_CXXFLAGS"
42928 LIBS="$ac_save_LIBS"
42929 fi
42930 fi
42931 if test "x$no_sdl" = x ; then
42932 echo "$as_me:$LINENO: result: yes" >&5
42933 echo "${ECHO_T}yes" >&6
42934
42935 EXTRALIBS_SDL="$SDL_LIBS"
42936 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42937 cat >>confdefs.h <<\_ACEOF
42938 #define wxUSE_LIBSDL 1
42939 _ACEOF
42940
42941
42942 else
42943 echo "$as_me:$LINENO: result: no" >&5
42944 echo "${ECHO_T}no" >&6
42945 if test "$SDL_CONFIG" = "no" ; then
42946 echo "*** The sdl-config script installed by SDL could not be found"
42947 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42948 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42949 echo "*** full path to sdl-config."
42950 else
42951 if test -f conf.sdltest ; then
42952 :
42953 else
42954 echo "*** Could not run SDL test program, checking why..."
42955 CFLAGS="$CFLAGS $SDL_CFLAGS"
42956 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42957 LIBS="$LIBS $SDL_LIBS"
42958 cat >conftest.$ac_ext <<_ACEOF
42959 /* confdefs.h. */
42960 _ACEOF
42961 cat confdefs.h >>conftest.$ac_ext
42962 cat >>conftest.$ac_ext <<_ACEOF
42963 /* end confdefs.h. */
42964
42965 #include <stdio.h>
42966 #include "SDL.h"
42967
42968 int main(int argc, char *argv[])
42969 { return 0; }
42970 #undef main
42971 #define main K_and_R_C_main
42972
42973 int
42974 main ()
42975 {
42976 return 0;
42977 ;
42978 return 0;
42979 }
42980 _ACEOF
42981 rm -f conftest.$ac_objext conftest$ac_exeext
42982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42983 (eval $ac_link) 2>conftest.er1
42984 ac_status=$?
42985 grep -v '^ *+' conftest.er1 >conftest.err
42986 rm -f conftest.er1
42987 cat conftest.err >&5
42988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42989 (exit $ac_status); } &&
42990 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42992 (eval $ac_try) 2>&5
42993 ac_status=$?
42994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42995 (exit $ac_status); }; } &&
42996 { ac_try='test -s conftest$ac_exeext'
42997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42998 (eval $ac_try) 2>&5
42999 ac_status=$?
43000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43001 (exit $ac_status); }; }; then
43002 echo "*** The test program compiled, but did not run. This usually means"
43003 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43004 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43005 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43006 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43007 echo "*** is required on your system"
43008 echo "***"
43009 echo "*** If you have an old version installed, it is best to remove it, although"
43010 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43011 else
43012 echo "$as_me: failed program was:" >&5
43013 sed 's/^/| /' conftest.$ac_ext >&5
43014
43015 echo "*** The test program failed to compile or link. See the file config.log for the"
43016 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43017 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43018 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43019 fi
43020 rm -f conftest.err conftest.$ac_objext \
43021 conftest$ac_exeext conftest.$ac_ext
43022 CFLAGS="$ac_save_CFLAGS"
43023 CXXFLAGS="$ac_save_CXXFLAGS"
43024 LIBS="$ac_save_LIBS"
43025 fi
43026 fi
43027 SDL_CFLAGS=""
43028 SDL_LIBS=""
43029 wxUSE_LIBSDL="no"
43030 fi
43031
43032
43033 rm -f conf.sdltest
43034
43035 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43036 WITH_PLUGIN_SDL=1
43037 fi
43038 fi
43039 fi
43040
43041 cat >>confdefs.h <<\_ACEOF
43042 #define wxUSE_SOUND 1
43043 _ACEOF
43044
43045 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
43046 fi
43047
43048 if test "$WXGTK20" = 1; then
43049 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43050 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43051
43052
43053 pkg_failed=no
43054 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43055 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
43056
43057 if test -n "$PKG_CONFIG"; then
43058 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43059 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
43060 else
43061 if test -n "$PKG_CONFIG" && \
43062 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43063 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43064 ac_status=$?
43065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43066 (exit $ac_status); }; then
43067 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43068 else
43069 pkg_failed=yes
43070 fi
43071 fi
43072 else
43073 pkg_failed=untried
43074 fi
43075 if test -n "$PKG_CONFIG"; then
43076 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43077 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
43078 else
43079 if test -n "$PKG_CONFIG" && \
43080 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43081 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43082 ac_status=$?
43083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43084 (exit $ac_status); }; then
43085 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43086 else
43087 pkg_failed=yes
43088 fi
43089 fi
43090 else
43091 pkg_failed=untried
43092 fi
43093
43094
43095
43096 if test $pkg_failed = yes; then
43097
43098 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43099 _pkg_short_errors_supported=yes
43100 else
43101 _pkg_short_errors_supported=no
43102 fi
43103 if test $_pkg_short_errors_supported = yes; then
43104 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43105 else
43106 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43107 fi
43108 # Put the nasty error message in config.log where it belongs
43109 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43110
43111
43112 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43113 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43114 wxUSE_LIBGNOMEPRINT="no"
43115
43116
43117 elif test $pkg_failed = untried; then
43118
43119 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43120 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43121 wxUSE_LIBGNOMEPRINT="no"
43122
43123
43124 else
43125 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43126 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43127 echo "$as_me:$LINENO: result: yes" >&5
43128 echo "${ECHO_T}yes" >&6
43129
43130 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43131 cat >>confdefs.h <<\_ACEOF
43132 #define wxUSE_LIBGNOMEPRINT 1
43133 _ACEOF
43134
43135
43136 fi
43137 fi
43138 fi
43139 fi
43140
43141 if test "$WXGTK20" = 1; then
43142 if test "$wxUSE_MIMETYPE" = "yes" ; then
43143 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43144
43145
43146 pkg_failed=no
43147 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43148 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
43149
43150 if test -n "$PKG_CONFIG"; then
43151 if test -n "$GNOMEVFS_CFLAGS"; then
43152 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
43153 else
43154 if test -n "$PKG_CONFIG" && \
43155 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43156 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43157 ac_status=$?
43158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43159 (exit $ac_status); }; then
43160 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43161 else
43162 pkg_failed=yes
43163 fi
43164 fi
43165 else
43166 pkg_failed=untried
43167 fi
43168 if test -n "$PKG_CONFIG"; then
43169 if test -n "$GNOMEVFS_LIBS"; then
43170 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
43171 else
43172 if test -n "$PKG_CONFIG" && \
43173 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43174 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43175 ac_status=$?
43176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43177 (exit $ac_status); }; then
43178 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43179 else
43180 pkg_failed=yes
43181 fi
43182 fi
43183 else
43184 pkg_failed=untried
43185 fi
43186
43187
43188
43189 if test $pkg_failed = yes; then
43190
43191 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43192 _pkg_short_errors_supported=yes
43193 else
43194 _pkg_short_errors_supported=no
43195 fi
43196 if test $_pkg_short_errors_supported = yes; then
43197 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43198 else
43199 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43200 fi
43201 # Put the nasty error message in config.log where it belongs
43202 echo "$GNOMEVFS_PKG_ERRORS" >&5
43203
43204
43205 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43206 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43207 wxUSE_LIBGNOMEVFS="no"
43208
43209
43210 elif test $pkg_failed = untried; then
43211
43212 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43213 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43214 wxUSE_LIBGNOMEVFS="no"
43215
43216
43217 else
43218 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43219 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43220 echo "$as_me:$LINENO: result: yes" >&5
43221 echo "${ECHO_T}yes" >&6
43222
43223 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43224 cat >>confdefs.h <<\_ACEOF
43225 #define wxUSE_LIBGNOMEVFS 1
43226 _ACEOF
43227
43228
43229 fi
43230 fi
43231 fi
43232 fi
43233
43234 if test "$WXGTK20" = 1; then
43235 if test "$wxUSE_LIBHILDON" = "yes" ; then
43236
43237 pkg_failed=no
43238 echo "$as_me:$LINENO: checking for HILDON" >&5
43239 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
43240
43241 if test -n "$PKG_CONFIG"; then
43242 if test -n "$HILDON_CFLAGS"; then
43243 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43244 else
43245 if test -n "$PKG_CONFIG" && \
43246 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43247 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43248 ac_status=$?
43249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43250 (exit $ac_status); }; then
43251 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43252 else
43253 pkg_failed=yes
43254 fi
43255 fi
43256 else
43257 pkg_failed=untried
43258 fi
43259 if test -n "$PKG_CONFIG"; then
43260 if test -n "$HILDON_LIBS"; then
43261 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43262 else
43263 if test -n "$PKG_CONFIG" && \
43264 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43265 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43266 ac_status=$?
43267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43268 (exit $ac_status); }; then
43269 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43270 else
43271 pkg_failed=yes
43272 fi
43273 fi
43274 else
43275 pkg_failed=untried
43276 fi
43277
43278
43279
43280 if test $pkg_failed = yes; then
43281
43282 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43283 _pkg_short_errors_supported=yes
43284 else
43285 _pkg_short_errors_supported=no
43286 fi
43287 if test $_pkg_short_errors_supported = yes; then
43288 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43289 else
43290 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43291 fi
43292 # Put the nasty error message in config.log where it belongs
43293 echo "$HILDON_PKG_ERRORS" >&5
43294
43295
43296 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43297 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43298 wxUSE_LIBHILDON="no"
43299
43300
43301 elif test $pkg_failed = untried; then
43302
43303 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43304 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43305 wxUSE_LIBHILDON="no"
43306
43307
43308 else
43309 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43310 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43311 echo "$as_me:$LINENO: result: yes" >&5
43312 echo "${ECHO_T}yes" >&6
43313
43314 EXTRALIBS_HILDON="$HILDON_LIBS"
43315 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43316 cat >>confdefs.h <<\_ACEOF
43317 #define wxUSE_LIBHILDON 1
43318 _ACEOF
43319
43320
43321 fi
43322 fi
43323 fi
43324
43325 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43326 cat >>confdefs.h <<\_ACEOF
43327 #define wxUSE_CMDLINE_PARSER 1
43328 _ACEOF
43329
43330 fi
43331
43332 if test "$wxUSE_STOPWATCH" = "yes"; then
43333 cat >>confdefs.h <<\_ACEOF
43334 #define wxUSE_STOPWATCH 1
43335 _ACEOF
43336
43337 fi
43338
43339 if test "$wxUSE_DATETIME" = "yes"; then
43340 cat >>confdefs.h <<\_ACEOF
43341 #define wxUSE_DATETIME 1
43342 _ACEOF
43343
43344 fi
43345
43346 if test "$wxUSE_FILE" = "yes"; then
43347 cat >>confdefs.h <<\_ACEOF
43348 #define wxUSE_FILE 1
43349 _ACEOF
43350
43351 fi
43352
43353 if test "$wxUSE_FFILE" = "yes"; then
43354 cat >>confdefs.h <<\_ACEOF
43355 #define wxUSE_FFILE 1
43356 _ACEOF
43357
43358 fi
43359
43360 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43361 if test "$wxUSE_STREAMS" != yes; then
43362 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43363 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43364 wxUSE_ARCHIVE_STREAMS=no
43365 else
43366 cat >>confdefs.h <<\_ACEOF
43367 #define wxUSE_ARCHIVE_STREAMS 1
43368 _ACEOF
43369
43370 fi
43371 fi
43372
43373 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43374 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43375 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43376 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43377 elif test "$wxUSE_ZLIB" = "no"; then
43378 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43379 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43380 else
43381 cat >>confdefs.h <<\_ACEOF
43382 #define wxUSE_ZIPSTREAM 1
43383 _ACEOF
43384
43385 fi
43386 fi
43387
43388 if test "$wxUSE_TARSTREAM" = "yes"; then
43389 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43390 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43391 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43392 else
43393 cat >>confdefs.h <<\_ACEOF
43394 #define wxUSE_TARSTREAM 1
43395 _ACEOF
43396
43397 fi
43398 fi
43399
43400 if test "$wxUSE_FILESYSTEM" = "yes"; then
43401 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43402 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43403 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43404 wxUSE_FILESYSTEM=no
43405 else
43406 cat >>confdefs.h <<\_ACEOF
43407 #define wxUSE_FILESYSTEM 1
43408 _ACEOF
43409
43410 fi
43411 fi
43412
43413 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43414 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43415 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43416 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43417 else
43418 cat >>confdefs.h <<\_ACEOF
43419 #define wxUSE_FS_ARCHIVE 1
43420 _ACEOF
43421
43422 fi
43423 fi
43424
43425 if test "$wxUSE_FS_ZIP" = "yes"; then
43426 if test "$wxUSE_FS_ARCHIVE" != yes; then
43427 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43428 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43429 else
43430 cat >>confdefs.h <<\_ACEOF
43431 #define wxUSE_FS_ZIP 1
43432 _ACEOF
43433
43434 fi
43435 fi
43436
43437 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43438 if test "$USE_UNIX" != 1; then
43439 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43440 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43441 wxUSE_ON_FATAL_EXCEPTION=no
43442 else
43443 cat >>confdefs.h <<\_ACEOF
43444 #define wxUSE_ON_FATAL_EXCEPTION 1
43445 _ACEOF
43446
43447 fi
43448 fi
43449
43450 if test "$wxUSE_STACKWALKER" = "yes"; then
43451 cat >>confdefs.h <<\_ACEOF
43452 #define wxUSE_STACKWALKER 1
43453 _ACEOF
43454
43455 fi
43456
43457 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43458 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
43459 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43460 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43461 wxUSE_DEBUGREPORT=no
43462 else
43463 cat >>confdefs.h <<\_ACEOF
43464 #define wxUSE_DEBUGREPORT 1
43465 _ACEOF
43466
43467 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43468 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43469 fi
43470 fi
43471 fi
43472
43473 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43474 cat >>confdefs.h <<\_ACEOF
43475 #define wxUSE_SNGLINST_CHECKER 1
43476 _ACEOF
43477
43478 fi
43479
43480 if test "$wxUSE_BUSYINFO" = "yes"; then
43481 cat >>confdefs.h <<\_ACEOF
43482 #define wxUSE_BUSYINFO 1
43483 _ACEOF
43484
43485 fi
43486
43487 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43488 cat >>confdefs.h <<\_ACEOF
43489 #define wxUSE_STD_IOSTREAM 1
43490 _ACEOF
43491
43492 fi
43493
43494 if test "$wxUSE_STD_STRING" = "yes"; then
43495 cat >>confdefs.h <<\_ACEOF
43496 #define wxUSE_STD_STRING 1
43497 _ACEOF
43498
43499 fi
43500
43501 if test "$wxUSE_STDPATHS" = "yes"; then
43502 cat >>confdefs.h <<\_ACEOF
43503 #define wxUSE_STDPATHS 1
43504 _ACEOF
43505
43506 fi
43507
43508 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43509 cat >>confdefs.h <<\_ACEOF
43510 #define wxUSE_TEXTBUFFER 1
43511 _ACEOF
43512
43513 fi
43514
43515 if test "$wxUSE_TEXTFILE" = "yes"; then
43516 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43517 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43518 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43519 else
43520 cat >>confdefs.h <<\_ACEOF
43521 #define wxUSE_TEXTFILE 1
43522 _ACEOF
43523
43524 fi
43525 fi
43526
43527 if test "$wxUSE_CONFIG" = "yes" ; then
43528 if test "$wxUSE_TEXTFILE" != "yes"; then
43529 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43530 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43531 else
43532 cat >>confdefs.h <<\_ACEOF
43533 #define wxUSE_CONFIG 1
43534 _ACEOF
43535
43536 cat >>confdefs.h <<\_ACEOF
43537 #define wxUSE_CONFIG_NATIVE 1
43538 _ACEOF
43539
43540 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43541 fi
43542 fi
43543
43544 if test "$wxUSE_INTL" = "yes" ; then
43545 if test "$wxUSE_FILE" != "yes"; then
43546 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43547 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43548 else
43549 cat >>confdefs.h <<\_ACEOF
43550 #define wxUSE_INTL 1
43551 _ACEOF
43552
43553 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43554 GUIDIST="$GUIDIST INTL_DIST"
43555 fi
43556 fi
43557
43558 if test "$wxUSE_LOG" = "yes"; then
43559 cat >>confdefs.h <<\_ACEOF
43560 #define wxUSE_LOG 1
43561 _ACEOF
43562
43563
43564 if test "$wxUSE_LOGGUI" = "yes"; then
43565 cat >>confdefs.h <<\_ACEOF
43566 #define wxUSE_LOGGUI 1
43567 _ACEOF
43568
43569 fi
43570
43571 if test "$wxUSE_LOGWINDOW" = "yes"; then
43572 cat >>confdefs.h <<\_ACEOF
43573 #define wxUSE_LOGWINDOW 1
43574 _ACEOF
43575
43576 fi
43577
43578 if test "$wxUSE_LOGDIALOG" = "yes"; then
43579 cat >>confdefs.h <<\_ACEOF
43580 #define wxUSE_LOG_DIALOG 1
43581 _ACEOF
43582
43583 fi
43584
43585 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43586 fi
43587
43588 if test "$wxUSE_LONGLONG" = "yes"; then
43589 cat >>confdefs.h <<\_ACEOF
43590 #define wxUSE_LONGLONG 1
43591 _ACEOF
43592
43593 fi
43594
43595 if test "$wxUSE_GEOMETRY" = "yes"; then
43596 cat >>confdefs.h <<\_ACEOF
43597 #define wxUSE_GEOMETRY 1
43598 _ACEOF
43599
43600 fi
43601
43602 if test "$wxUSE_STREAMS" = "yes" ; then
43603 cat >>confdefs.h <<\_ACEOF
43604 #define wxUSE_STREAMS 1
43605 _ACEOF
43606
43607 fi
43608
43609 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43610 cat >>confdefs.h <<\_ACEOF
43611 #define wxUSE_PRINTF_POS_PARAMS 1
43612 _ACEOF
43613
43614 fi
43615
43616
43617
43618 if test "$wxUSE_DATETIME" = "yes"; then
43619
43620 for ac_func in strptime
43621 do
43622 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43623 echo "$as_me:$LINENO: checking for $ac_func" >&5
43624 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43625 if eval "test \"\${$as_ac_var+set}\" = set"; then
43626 echo $ECHO_N "(cached) $ECHO_C" >&6
43627 else
43628 cat >conftest.$ac_ext <<_ACEOF
43629 /* confdefs.h. */
43630 _ACEOF
43631 cat confdefs.h >>conftest.$ac_ext
43632 cat >>conftest.$ac_ext <<_ACEOF
43633 /* end confdefs.h. */
43634 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43635 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43636 #define $ac_func innocuous_$ac_func
43637
43638 /* System header to define __stub macros and hopefully few prototypes,
43639 which can conflict with char $ac_func (); below.
43640 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43641 <limits.h> exists even on freestanding compilers. */
43642
43643 #ifdef __STDC__
43644 # include <limits.h>
43645 #else
43646 # include <assert.h>
43647 #endif
43648
43649 #undef $ac_func
43650
43651 /* Override any gcc2 internal prototype to avoid an error. */
43652 #ifdef __cplusplus
43653 extern "C"
43654 {
43655 #endif
43656 /* We use char because int might match the return type of a gcc2
43657 builtin and then its argument prototype would still apply. */
43658 char $ac_func ();
43659 /* The GNU C library defines this for functions which it implements
43660 to always fail with ENOSYS. Some functions are actually named
43661 something starting with __ and the normal name is an alias. */
43662 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43663 choke me
43664 #else
43665 char (*f) () = $ac_func;
43666 #endif
43667 #ifdef __cplusplus
43668 }
43669 #endif
43670
43671 int
43672 main ()
43673 {
43674 return f != $ac_func;
43675 ;
43676 return 0;
43677 }
43678 _ACEOF
43679 rm -f conftest.$ac_objext conftest$ac_exeext
43680 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43681 (eval $ac_link) 2>conftest.er1
43682 ac_status=$?
43683 grep -v '^ *+' conftest.er1 >conftest.err
43684 rm -f conftest.er1
43685 cat conftest.err >&5
43686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43687 (exit $ac_status); } &&
43688 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43690 (eval $ac_try) 2>&5
43691 ac_status=$?
43692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43693 (exit $ac_status); }; } &&
43694 { ac_try='test -s conftest$ac_exeext'
43695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43696 (eval $ac_try) 2>&5
43697 ac_status=$?
43698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43699 (exit $ac_status); }; }; then
43700 eval "$as_ac_var=yes"
43701 else
43702 echo "$as_me: failed program was:" >&5
43703 sed 's/^/| /' conftest.$ac_ext >&5
43704
43705 eval "$as_ac_var=no"
43706 fi
43707 rm -f conftest.err conftest.$ac_objext \
43708 conftest$ac_exeext conftest.$ac_ext
43709 fi
43710 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43711 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43712 if test `eval echo '${'$as_ac_var'}'` = yes; then
43713 cat >>confdefs.h <<_ACEOF
43714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43715 _ACEOF
43716
43717 fi
43718 done
43719
43720 if test "$ac_cv_func_strptime" = "yes"; then
43721 echo "$as_me:$LINENO: checking for strptime declaration" >&5
43722 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
43723 if test "${wx_cv_func_strptime_decl+set}" = set; then
43724 echo $ECHO_N "(cached) $ECHO_C" >&6
43725 else
43726
43727 cat >conftest.$ac_ext <<_ACEOF
43728 /* confdefs.h. */
43729 _ACEOF
43730 cat confdefs.h >>conftest.$ac_ext
43731 cat >>conftest.$ac_ext <<_ACEOF
43732 /* end confdefs.h. */
43733
43734 #include <time.h>
43735
43736 int
43737 main ()
43738 {
43739
43740 struct tm t;
43741 strptime("foo", "bar", &t);
43742
43743 ;
43744 return 0;
43745 }
43746 _ACEOF
43747 rm -f conftest.$ac_objext
43748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43749 (eval $ac_compile) 2>conftest.er1
43750 ac_status=$?
43751 grep -v '^ *+' conftest.er1 >conftest.err
43752 rm -f conftest.er1
43753 cat conftest.err >&5
43754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43755 (exit $ac_status); } &&
43756 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43758 (eval $ac_try) 2>&5
43759 ac_status=$?
43760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43761 (exit $ac_status); }; } &&
43762 { ac_try='test -s conftest.$ac_objext'
43763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43764 (eval $ac_try) 2>&5
43765 ac_status=$?
43766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43767 (exit $ac_status); }; }; then
43768 wx_cv_func_strptime_decl=yes
43769 else
43770 echo "$as_me: failed program was:" >&5
43771 sed 's/^/| /' conftest.$ac_ext >&5
43772
43773 wx_cv_func_strptime_decl=no
43774
43775 fi
43776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43777
43778
43779 fi
43780 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43781 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
43782 fi
43783 if test "$wx_cv_func_strptime_decl" = "yes"; then
43784 cat >>confdefs.h <<\_ACEOF
43785 #define HAVE_STRPTIME_DECL 1
43786 _ACEOF
43787
43788 fi
43789
43790 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43791 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
43792 if test "${wx_cv_var_timezone+set}" = set; then
43793 echo $ECHO_N "(cached) $ECHO_C" >&6
43794 else
43795
43796 cat >conftest.$ac_ext <<_ACEOF
43797 /* confdefs.h. */
43798 _ACEOF
43799 cat confdefs.h >>conftest.$ac_ext
43800 cat >>conftest.$ac_ext <<_ACEOF
43801 /* end confdefs.h. */
43802
43803 #include <time.h>
43804
43805 int
43806 main ()
43807 {
43808
43809 int tz;
43810 tz = timezone;
43811
43812 ;
43813 return 0;
43814 }
43815 _ACEOF
43816 rm -f conftest.$ac_objext
43817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43818 (eval $ac_compile) 2>conftest.er1
43819 ac_status=$?
43820 grep -v '^ *+' conftest.er1 >conftest.err
43821 rm -f conftest.er1
43822 cat conftest.err >&5
43823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43824 (exit $ac_status); } &&
43825 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43827 (eval $ac_try) 2>&5
43828 ac_status=$?
43829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43830 (exit $ac_status); }; } &&
43831 { ac_try='test -s conftest.$ac_objext'
43832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43833 (eval $ac_try) 2>&5
43834 ac_status=$?
43835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43836 (exit $ac_status); }; }; then
43837
43838 wx_cv_var_timezone=timezone
43839
43840 else
43841 echo "$as_me: failed program was:" >&5
43842 sed 's/^/| /' conftest.$ac_ext >&5
43843
43844
43845 cat >conftest.$ac_ext <<_ACEOF
43846 /* confdefs.h. */
43847 _ACEOF
43848 cat confdefs.h >>conftest.$ac_ext
43849 cat >>conftest.$ac_ext <<_ACEOF
43850 /* end confdefs.h. */
43851
43852 #include <time.h>
43853
43854 int
43855 main ()
43856 {
43857
43858 int tz;
43859 tz = _timezone;
43860
43861 ;
43862 return 0;
43863 }
43864 _ACEOF
43865 rm -f conftest.$ac_objext
43866 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43867 (eval $ac_compile) 2>conftest.er1
43868 ac_status=$?
43869 grep -v '^ *+' conftest.er1 >conftest.err
43870 rm -f conftest.er1
43871 cat conftest.err >&5
43872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43873 (exit $ac_status); } &&
43874 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43876 (eval $ac_try) 2>&5
43877 ac_status=$?
43878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43879 (exit $ac_status); }; } &&
43880 { ac_try='test -s conftest.$ac_objext'
43881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43882 (eval $ac_try) 2>&5
43883 ac_status=$?
43884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43885 (exit $ac_status); }; }; then
43886
43887 wx_cv_var_timezone=_timezone
43888
43889 else
43890 echo "$as_me: failed program was:" >&5
43891 sed 's/^/| /' conftest.$ac_ext >&5
43892
43893
43894 cat >conftest.$ac_ext <<_ACEOF
43895 /* confdefs.h. */
43896 _ACEOF
43897 cat confdefs.h >>conftest.$ac_ext
43898 cat >>conftest.$ac_ext <<_ACEOF
43899 /* end confdefs.h. */
43900
43901 #include <time.h>
43902
43903 int
43904 main ()
43905 {
43906
43907 int tz;
43908 tz = __timezone;
43909
43910 ;
43911 return 0;
43912 }
43913 _ACEOF
43914 rm -f conftest.$ac_objext
43915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43916 (eval $ac_compile) 2>conftest.er1
43917 ac_status=$?
43918 grep -v '^ *+' conftest.er1 >conftest.err
43919 rm -f conftest.er1
43920 cat conftest.err >&5
43921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43922 (exit $ac_status); } &&
43923 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43925 (eval $ac_try) 2>&5
43926 ac_status=$?
43927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43928 (exit $ac_status); }; } &&
43929 { ac_try='test -s conftest.$ac_objext'
43930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43931 (eval $ac_try) 2>&5
43932 ac_status=$?
43933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43934 (exit $ac_status); }; }; then
43935
43936 wx_cv_var_timezone=__timezone
43937
43938 else
43939 echo "$as_me: failed program was:" >&5
43940 sed 's/^/| /' conftest.$ac_ext >&5
43941
43942
43943 if test "$USE_DOS" = 0 ; then
43944 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43945 echo "$as_me: WARNING: no timezone variable" >&2;}
43946 fi
43947
43948
43949 fi
43950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43951
43952
43953 fi
43954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43955
43956
43957 fi
43958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43959
43960
43961 fi
43962 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43963 echo "${ECHO_T}$wx_cv_var_timezone" >&6
43964
43965 if test "x$wx_cv_var_timezone" != x ; then
43966 cat >>confdefs.h <<_ACEOF
43967 #define WX_TIMEZONE $wx_cv_var_timezone
43968 _ACEOF
43969
43970 fi
43971
43972
43973 for ac_func in localtime
43974 do
43975 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43976 echo "$as_me:$LINENO: checking for $ac_func" >&5
43977 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43978 if eval "test \"\${$as_ac_var+set}\" = set"; then
43979 echo $ECHO_N "(cached) $ECHO_C" >&6
43980 else
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43989 #define $ac_func innocuous_$ac_func
43990
43991 /* System header to define __stub macros and hopefully few prototypes,
43992 which can conflict with char $ac_func (); below.
43993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43994 <limits.h> exists even on freestanding compilers. */
43995
43996 #ifdef __STDC__
43997 # include <limits.h>
43998 #else
43999 # include <assert.h>
44000 #endif
44001
44002 #undef $ac_func
44003
44004 /* Override any gcc2 internal prototype to avoid an error. */
44005 #ifdef __cplusplus
44006 extern "C"
44007 {
44008 #endif
44009 /* We use char because int might match the return type of a gcc2
44010 builtin and then its argument prototype would still apply. */
44011 char $ac_func ();
44012 /* The GNU C library defines this for functions which it implements
44013 to always fail with ENOSYS. Some functions are actually named
44014 something starting with __ and the normal name is an alias. */
44015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44016 choke me
44017 #else
44018 char (*f) () = $ac_func;
44019 #endif
44020 #ifdef __cplusplus
44021 }
44022 #endif
44023
44024 int
44025 main ()
44026 {
44027 return f != $ac_func;
44028 ;
44029 return 0;
44030 }
44031 _ACEOF
44032 rm -f conftest.$ac_objext conftest$ac_exeext
44033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44034 (eval $ac_link) 2>conftest.er1
44035 ac_status=$?
44036 grep -v '^ *+' conftest.er1 >conftest.err
44037 rm -f conftest.er1
44038 cat conftest.err >&5
44039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44040 (exit $ac_status); } &&
44041 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44043 (eval $ac_try) 2>&5
44044 ac_status=$?
44045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44046 (exit $ac_status); }; } &&
44047 { ac_try='test -s conftest$ac_exeext'
44048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44049 (eval $ac_try) 2>&5
44050 ac_status=$?
44051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44052 (exit $ac_status); }; }; then
44053 eval "$as_ac_var=yes"
44054 else
44055 echo "$as_me: failed program was:" >&5
44056 sed 's/^/| /' conftest.$ac_ext >&5
44057
44058 eval "$as_ac_var=no"
44059 fi
44060 rm -f conftest.err conftest.$ac_objext \
44061 conftest$ac_exeext conftest.$ac_ext
44062 fi
44063 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44064 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44065 if test `eval echo '${'$as_ac_var'}'` = yes; then
44066 cat >>confdefs.h <<_ACEOF
44067 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44068 _ACEOF
44069
44070 fi
44071 done
44072
44073
44074 if test "$ac_cv_func_localtime" = "yes"; then
44075 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44076 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
44077 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44078 echo $ECHO_N "(cached) $ECHO_C" >&6
44079 else
44080
44081 cat >conftest.$ac_ext <<_ACEOF
44082 /* confdefs.h. */
44083 _ACEOF
44084 cat confdefs.h >>conftest.$ac_ext
44085 cat >>conftest.$ac_ext <<_ACEOF
44086 /* end confdefs.h. */
44087
44088 #include <time.h>
44089
44090 int
44091 main ()
44092 {
44093
44094 struct tm tm;
44095 tm.tm_gmtoff++;
44096
44097 ;
44098 return 0;
44099 }
44100 _ACEOF
44101 rm -f conftest.$ac_objext
44102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44103 (eval $ac_compile) 2>conftest.er1
44104 ac_status=$?
44105 grep -v '^ *+' conftest.er1 >conftest.err
44106 rm -f conftest.er1
44107 cat conftest.err >&5
44108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44109 (exit $ac_status); } &&
44110 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44112 (eval $ac_try) 2>&5
44113 ac_status=$?
44114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44115 (exit $ac_status); }; } &&
44116 { ac_try='test -s conftest.$ac_objext'
44117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44118 (eval $ac_try) 2>&5
44119 ac_status=$?
44120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44121 (exit $ac_status); }; }; then
44122
44123 wx_cv_struct_tm_has_gmtoff=yes
44124
44125 else
44126 echo "$as_me: failed program was:" >&5
44127 sed 's/^/| /' conftest.$ac_ext >&5
44128
44129 wx_cv_struct_tm_has_gmtoff=no
44130
44131 fi
44132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44133
44134 fi
44135 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44136 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
44137 fi
44138
44139 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44140 cat >>confdefs.h <<\_ACEOF
44141 #define WX_GMTOFF_IN_TM 1
44142 _ACEOF
44143
44144 fi
44145
44146
44147
44148 for ac_func in gettimeofday ftime
44149 do
44150 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44151 echo "$as_me:$LINENO: checking for $ac_func" >&5
44152 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44153 if eval "test \"\${$as_ac_var+set}\" = set"; then
44154 echo $ECHO_N "(cached) $ECHO_C" >&6
44155 else
44156 cat >conftest.$ac_ext <<_ACEOF
44157 /* confdefs.h. */
44158 _ACEOF
44159 cat confdefs.h >>conftest.$ac_ext
44160 cat >>conftest.$ac_ext <<_ACEOF
44161 /* end confdefs.h. */
44162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44164 #define $ac_func innocuous_$ac_func
44165
44166 /* System header to define __stub macros and hopefully few prototypes,
44167 which can conflict with char $ac_func (); below.
44168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44169 <limits.h> exists even on freestanding compilers. */
44170
44171 #ifdef __STDC__
44172 # include <limits.h>
44173 #else
44174 # include <assert.h>
44175 #endif
44176
44177 #undef $ac_func
44178
44179 /* Override any gcc2 internal prototype to avoid an error. */
44180 #ifdef __cplusplus
44181 extern "C"
44182 {
44183 #endif
44184 /* We use char because int might match the return type of a gcc2
44185 builtin and then its argument prototype would still apply. */
44186 char $ac_func ();
44187 /* The GNU C library defines this for functions which it implements
44188 to always fail with ENOSYS. Some functions are actually named
44189 something starting with __ and the normal name is an alias. */
44190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44191 choke me
44192 #else
44193 char (*f) () = $ac_func;
44194 #endif
44195 #ifdef __cplusplus
44196 }
44197 #endif
44198
44199 int
44200 main ()
44201 {
44202 return f != $ac_func;
44203 ;
44204 return 0;
44205 }
44206 _ACEOF
44207 rm -f conftest.$ac_objext conftest$ac_exeext
44208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44209 (eval $ac_link) 2>conftest.er1
44210 ac_status=$?
44211 grep -v '^ *+' conftest.er1 >conftest.err
44212 rm -f conftest.er1
44213 cat conftest.err >&5
44214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44215 (exit $ac_status); } &&
44216 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44218 (eval $ac_try) 2>&5
44219 ac_status=$?
44220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44221 (exit $ac_status); }; } &&
44222 { ac_try='test -s conftest$ac_exeext'
44223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44224 (eval $ac_try) 2>&5
44225 ac_status=$?
44226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44227 (exit $ac_status); }; }; then
44228 eval "$as_ac_var=yes"
44229 else
44230 echo "$as_me: failed program was:" >&5
44231 sed 's/^/| /' conftest.$ac_ext >&5
44232
44233 eval "$as_ac_var=no"
44234 fi
44235 rm -f conftest.err conftest.$ac_objext \
44236 conftest$ac_exeext conftest.$ac_ext
44237 fi
44238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44240 if test `eval echo '${'$as_ac_var'}'` = yes; then
44241 cat >>confdefs.h <<_ACEOF
44242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44243 _ACEOF
44244 break
44245 fi
44246 done
44247
44248
44249 if test "$ac_cv_func_gettimeofday" = "yes"; then
44250 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44251 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
44252 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44253 echo $ECHO_N "(cached) $ECHO_C" >&6
44254 else
44255
44256 cat >conftest.$ac_ext <<_ACEOF
44257 /* confdefs.h. */
44258 _ACEOF
44259 cat confdefs.h >>conftest.$ac_ext
44260 cat >>conftest.$ac_ext <<_ACEOF
44261 /* end confdefs.h. */
44262
44263 #include <sys/time.h>
44264 #include <unistd.h>
44265
44266 int
44267 main ()
44268 {
44269
44270 struct timeval tv;
44271 gettimeofday(&tv, NULL);
44272
44273 ;
44274 return 0;
44275 }
44276 _ACEOF
44277 rm -f conftest.$ac_objext
44278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44279 (eval $ac_compile) 2>conftest.er1
44280 ac_status=$?
44281 grep -v '^ *+' conftest.er1 >conftest.err
44282 rm -f conftest.er1
44283 cat conftest.err >&5
44284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44285 (exit $ac_status); } &&
44286 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44288 (eval $ac_try) 2>&5
44289 ac_status=$?
44290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44291 (exit $ac_status); }; } &&
44292 { ac_try='test -s conftest.$ac_objext'
44293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44294 (eval $ac_try) 2>&5
44295 ac_status=$?
44296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44297 (exit $ac_status); }; }; then
44298 wx_cv_func_gettimeofday_has_2_args=yes
44299 else
44300 echo "$as_me: failed program was:" >&5
44301 sed 's/^/| /' conftest.$ac_ext >&5
44302
44303 cat >conftest.$ac_ext <<_ACEOF
44304 /* confdefs.h. */
44305 _ACEOF
44306 cat confdefs.h >>conftest.$ac_ext
44307 cat >>conftest.$ac_ext <<_ACEOF
44308 /* end confdefs.h. */
44309
44310 #include <sys/time.h>
44311 #include <unistd.h>
44312
44313 int
44314 main ()
44315 {
44316
44317 struct timeval tv;
44318 gettimeofday(&tv);
44319
44320 ;
44321 return 0;
44322 }
44323 _ACEOF
44324 rm -f conftest.$ac_objext
44325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44326 (eval $ac_compile) 2>conftest.er1
44327 ac_status=$?
44328 grep -v '^ *+' conftest.er1 >conftest.err
44329 rm -f conftest.er1
44330 cat conftest.err >&5
44331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44332 (exit $ac_status); } &&
44333 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44335 (eval $ac_try) 2>&5
44336 ac_status=$?
44337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44338 (exit $ac_status); }; } &&
44339 { ac_try='test -s conftest.$ac_objext'
44340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44341 (eval $ac_try) 2>&5
44342 ac_status=$?
44343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44344 (exit $ac_status); }; }; then
44345 wx_cv_func_gettimeofday_has_2_args=no
44346 else
44347 echo "$as_me: failed program was:" >&5
44348 sed 's/^/| /' conftest.$ac_ext >&5
44349
44350
44351 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44352 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44353 wx_cv_func_gettimeofday_has_2_args=unknown
44354
44355
44356 fi
44357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44358
44359 fi
44360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44361
44362 fi
44363 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44364 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
44365
44366 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44367 cat >>confdefs.h <<\_ACEOF
44368 #define WX_GETTIMEOFDAY_NO_TZ 1
44369 _ACEOF
44370
44371 fi
44372 fi
44373
44374 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44375 fi
44376
44377
44378 if test "$wxUSE_SOCKETS" = "yes"; then
44379 if test "$wxUSE_MGL" = "1"; then
44380 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44381 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44382 wxUSE_SOCKETS="no"
44383 fi
44384 fi
44385
44386 if test "$wxUSE_SOCKETS" = "yes"; then
44387 if test "$TOOLKIT" != "MSW"; then
44388 echo "$as_me:$LINENO: checking for socket" >&5
44389 echo $ECHO_N "checking for socket... $ECHO_C" >&6
44390 if test "${ac_cv_func_socket+set}" = set; then
44391 echo $ECHO_N "(cached) $ECHO_C" >&6
44392 else
44393 cat >conftest.$ac_ext <<_ACEOF
44394 /* confdefs.h. */
44395 _ACEOF
44396 cat confdefs.h >>conftest.$ac_ext
44397 cat >>conftest.$ac_ext <<_ACEOF
44398 /* end confdefs.h. */
44399 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44401 #define socket innocuous_socket
44402
44403 /* System header to define __stub macros and hopefully few prototypes,
44404 which can conflict with char socket (); below.
44405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44406 <limits.h> exists even on freestanding compilers. */
44407
44408 #ifdef __STDC__
44409 # include <limits.h>
44410 #else
44411 # include <assert.h>
44412 #endif
44413
44414 #undef socket
44415
44416 /* Override any gcc2 internal prototype to avoid an error. */
44417 #ifdef __cplusplus
44418 extern "C"
44419 {
44420 #endif
44421 /* We use char because int might match the return type of a gcc2
44422 builtin and then its argument prototype would still apply. */
44423 char socket ();
44424 /* The GNU C library defines this for functions which it implements
44425 to always fail with ENOSYS. Some functions are actually named
44426 something starting with __ and the normal name is an alias. */
44427 #if defined (__stub_socket) || defined (__stub___socket)
44428 choke me
44429 #else
44430 char (*f) () = socket;
44431 #endif
44432 #ifdef __cplusplus
44433 }
44434 #endif
44435
44436 int
44437 main ()
44438 {
44439 return f != socket;
44440 ;
44441 return 0;
44442 }
44443 _ACEOF
44444 rm -f conftest.$ac_objext conftest$ac_exeext
44445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44446 (eval $ac_link) 2>conftest.er1
44447 ac_status=$?
44448 grep -v '^ *+' conftest.er1 >conftest.err
44449 rm -f conftest.er1
44450 cat conftest.err >&5
44451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44452 (exit $ac_status); } &&
44453 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44455 (eval $ac_try) 2>&5
44456 ac_status=$?
44457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44458 (exit $ac_status); }; } &&
44459 { ac_try='test -s conftest$ac_exeext'
44460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44461 (eval $ac_try) 2>&5
44462 ac_status=$?
44463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44464 (exit $ac_status); }; }; then
44465 ac_cv_func_socket=yes
44466 else
44467 echo "$as_me: failed program was:" >&5
44468 sed 's/^/| /' conftest.$ac_ext >&5
44469
44470 ac_cv_func_socket=no
44471 fi
44472 rm -f conftest.err conftest.$ac_objext \
44473 conftest$ac_exeext conftest.$ac_ext
44474 fi
44475 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44476 echo "${ECHO_T}$ac_cv_func_socket" >&6
44477 if test $ac_cv_func_socket = yes; then
44478 :
44479 else
44480
44481 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44482 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
44483 if test "${ac_cv_lib_socket_socket+set}" = set; then
44484 echo $ECHO_N "(cached) $ECHO_C" >&6
44485 else
44486 ac_check_lib_save_LIBS=$LIBS
44487 LIBS="-lsocket $LIBS"
44488 cat >conftest.$ac_ext <<_ACEOF
44489 /* confdefs.h. */
44490 _ACEOF
44491 cat confdefs.h >>conftest.$ac_ext
44492 cat >>conftest.$ac_ext <<_ACEOF
44493 /* end confdefs.h. */
44494
44495 /* Override any gcc2 internal prototype to avoid an error. */
44496 #ifdef __cplusplus
44497 extern "C"
44498 #endif
44499 /* We use char because int might match the return type of a gcc2
44500 builtin and then its argument prototype would still apply. */
44501 char socket ();
44502 int
44503 main ()
44504 {
44505 socket ();
44506 ;
44507 return 0;
44508 }
44509 _ACEOF
44510 rm -f conftest.$ac_objext conftest$ac_exeext
44511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44512 (eval $ac_link) 2>conftest.er1
44513 ac_status=$?
44514 grep -v '^ *+' conftest.er1 >conftest.err
44515 rm -f conftest.er1
44516 cat conftest.err >&5
44517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44518 (exit $ac_status); } &&
44519 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44521 (eval $ac_try) 2>&5
44522 ac_status=$?
44523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44524 (exit $ac_status); }; } &&
44525 { ac_try='test -s conftest$ac_exeext'
44526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44527 (eval $ac_try) 2>&5
44528 ac_status=$?
44529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44530 (exit $ac_status); }; }; then
44531 ac_cv_lib_socket_socket=yes
44532 else
44533 echo "$as_me: failed program was:" >&5
44534 sed 's/^/| /' conftest.$ac_ext >&5
44535
44536 ac_cv_lib_socket_socket=no
44537 fi
44538 rm -f conftest.err conftest.$ac_objext \
44539 conftest$ac_exeext conftest.$ac_ext
44540 LIBS=$ac_check_lib_save_LIBS
44541 fi
44542 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44543 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
44544 if test $ac_cv_lib_socket_socket = yes; then
44545 if test "$INET_LINK" != " -lsocket"; then
44546 INET_LINK="$INET_LINK -lsocket"
44547 fi
44548 else
44549
44550 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44551 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44552 wxUSE_SOCKETS=no
44553
44554
44555 fi
44556
44557
44558
44559 fi
44560
44561 fi
44562 fi
44563
44564 if test "$wxUSE_SOCKETS" = "yes" ; then
44565 if test "$TOOLKIT" != "MSW"; then
44566 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44567 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
44568 if test "${wx_cv_type_getsockname3+set}" = set; then
44569 echo $ECHO_N "(cached) $ECHO_C" >&6
44570 else
44571
44572 cat >conftest.$ac_ext <<_ACEOF
44573 /* confdefs.h. */
44574 _ACEOF
44575 cat confdefs.h >>conftest.$ac_ext
44576 cat >>conftest.$ac_ext <<_ACEOF
44577 /* end confdefs.h. */
44578
44579 #include <sys/types.h>
44580 #include <sys/socket.h>
44581
44582 int
44583 main ()
44584 {
44585
44586 socklen_t len;
44587 getsockname(0, 0, &len);
44588
44589 ;
44590 return 0;
44591 }
44592 _ACEOF
44593 rm -f conftest.$ac_objext
44594 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44595 (eval $ac_compile) 2>conftest.er1
44596 ac_status=$?
44597 grep -v '^ *+' conftest.er1 >conftest.err
44598 rm -f conftest.er1
44599 cat conftest.err >&5
44600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44601 (exit $ac_status); } &&
44602 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44604 (eval $ac_try) 2>&5
44605 ac_status=$?
44606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44607 (exit $ac_status); }; } &&
44608 { ac_try='test -s conftest.$ac_objext'
44609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44610 (eval $ac_try) 2>&5
44611 ac_status=$?
44612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44613 (exit $ac_status); }; }; then
44614 wx_cv_type_getsockname3=socklen_t
44615 else
44616 echo "$as_me: failed program was:" >&5
44617 sed 's/^/| /' conftest.$ac_ext >&5
44618
44619
44620 CXXFLAGS_OLD="$CXXFLAGS"
44621 if test "$GCC" = yes ; then
44622 CXXFLAGS="-Werror $CXXFLAGS"
44623 fi
44624
44625 cat >conftest.$ac_ext <<_ACEOF
44626 /* confdefs.h. */
44627 _ACEOF
44628 cat confdefs.h >>conftest.$ac_ext
44629 cat >>conftest.$ac_ext <<_ACEOF
44630 /* end confdefs.h. */
44631
44632 #include <sys/types.h>
44633 #include <sys/socket.h>
44634
44635 int
44636 main ()
44637 {
44638
44639 size_t len;
44640 getsockname(0, 0, &len);
44641
44642 ;
44643 return 0;
44644 }
44645 _ACEOF
44646 rm -f conftest.$ac_objext
44647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44648 (eval $ac_compile) 2>conftest.er1
44649 ac_status=$?
44650 grep -v '^ *+' conftest.er1 >conftest.err
44651 rm -f conftest.er1
44652 cat conftest.err >&5
44653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44654 (exit $ac_status); } &&
44655 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44657 (eval $ac_try) 2>&5
44658 ac_status=$?
44659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44660 (exit $ac_status); }; } &&
44661 { ac_try='test -s conftest.$ac_objext'
44662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44663 (eval $ac_try) 2>&5
44664 ac_status=$?
44665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44666 (exit $ac_status); }; }; then
44667 wx_cv_type_getsockname3=size_t
44668 else
44669 echo "$as_me: failed program was:" >&5
44670 sed 's/^/| /' conftest.$ac_ext >&5
44671
44672 cat >conftest.$ac_ext <<_ACEOF
44673 /* confdefs.h. */
44674 _ACEOF
44675 cat confdefs.h >>conftest.$ac_ext
44676 cat >>conftest.$ac_ext <<_ACEOF
44677 /* end confdefs.h. */
44678
44679 #include <sys/types.h>
44680 #include <sys/socket.h>
44681
44682 int
44683 main ()
44684 {
44685
44686 int len;
44687 getsockname(0, 0, &len);
44688
44689 ;
44690 return 0;
44691 }
44692 _ACEOF
44693 rm -f conftest.$ac_objext
44694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44695 (eval $ac_compile) 2>conftest.er1
44696 ac_status=$?
44697 grep -v '^ *+' conftest.er1 >conftest.err
44698 rm -f conftest.er1
44699 cat conftest.err >&5
44700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44701 (exit $ac_status); } &&
44702 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44704 (eval $ac_try) 2>&5
44705 ac_status=$?
44706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44707 (exit $ac_status); }; } &&
44708 { ac_try='test -s conftest.$ac_objext'
44709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44710 (eval $ac_try) 2>&5
44711 ac_status=$?
44712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44713 (exit $ac_status); }; }; then
44714 wx_cv_type_getsockname3=int
44715 else
44716 echo "$as_me: failed program was:" >&5
44717 sed 's/^/| /' conftest.$ac_ext >&5
44718
44719 wx_cv_type_getsockname3=unknown
44720
44721 fi
44722 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44723
44724 fi
44725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44726
44727 CXXFLAGS="$CXXFLAGS_OLD"
44728
44729
44730 fi
44731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44732
44733 fi
44734 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44735 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
44736
44737 if test "$wx_cv_type_getsockname3" = "unknown"; then
44738 wxUSE_SOCKETS=no
44739 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44740 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44741 else
44742 cat >>confdefs.h <<_ACEOF
44743 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44744 _ACEOF
44745
44746 fi
44747 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44748 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
44749 if test "${wx_cv_type_getsockopt5+set}" = set; then
44750 echo $ECHO_N "(cached) $ECHO_C" >&6
44751 else
44752
44753 cat >conftest.$ac_ext <<_ACEOF
44754 /* confdefs.h. */
44755 _ACEOF
44756 cat confdefs.h >>conftest.$ac_ext
44757 cat >>conftest.$ac_ext <<_ACEOF
44758 /* end confdefs.h. */
44759
44760 #include <sys/types.h>
44761 #include <sys/socket.h>
44762
44763 int
44764 main ()
44765 {
44766
44767 socklen_t len;
44768 getsockopt(0, 0, 0, 0, &len);
44769
44770 ;
44771 return 0;
44772 }
44773 _ACEOF
44774 rm -f conftest.$ac_objext
44775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44776 (eval $ac_compile) 2>conftest.er1
44777 ac_status=$?
44778 grep -v '^ *+' conftest.er1 >conftest.err
44779 rm -f conftest.er1
44780 cat conftest.err >&5
44781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44782 (exit $ac_status); } &&
44783 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44785 (eval $ac_try) 2>&5
44786 ac_status=$?
44787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44788 (exit $ac_status); }; } &&
44789 { ac_try='test -s conftest.$ac_objext'
44790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44791 (eval $ac_try) 2>&5
44792 ac_status=$?
44793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44794 (exit $ac_status); }; }; then
44795 wx_cv_type_getsockopt5=socklen_t
44796 else
44797 echo "$as_me: failed program was:" >&5
44798 sed 's/^/| /' conftest.$ac_ext >&5
44799
44800
44801 CXXFLAGS_OLD="$CXXFLAGS"
44802 if test "$GCC" = yes ; then
44803 CXXFLAGS="-Werror $CXXFLAGS"
44804 fi
44805
44806 cat >conftest.$ac_ext <<_ACEOF
44807 /* confdefs.h. */
44808 _ACEOF
44809 cat confdefs.h >>conftest.$ac_ext
44810 cat >>conftest.$ac_ext <<_ACEOF
44811 /* end confdefs.h. */
44812
44813 #include <sys/types.h>
44814 #include <sys/socket.h>
44815
44816 int
44817 main ()
44818 {
44819
44820 size_t len;
44821 getsockopt(0, 0, 0, 0, &len);
44822
44823 ;
44824 return 0;
44825 }
44826 _ACEOF
44827 rm -f conftest.$ac_objext
44828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44829 (eval $ac_compile) 2>conftest.er1
44830 ac_status=$?
44831 grep -v '^ *+' conftest.er1 >conftest.err
44832 rm -f conftest.er1
44833 cat conftest.err >&5
44834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44835 (exit $ac_status); } &&
44836 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44838 (eval $ac_try) 2>&5
44839 ac_status=$?
44840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44841 (exit $ac_status); }; } &&
44842 { ac_try='test -s conftest.$ac_objext'
44843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44844 (eval $ac_try) 2>&5
44845 ac_status=$?
44846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44847 (exit $ac_status); }; }; then
44848 wx_cv_type_getsockopt5=size_t
44849 else
44850 echo "$as_me: failed program was:" >&5
44851 sed 's/^/| /' conftest.$ac_ext >&5
44852
44853 cat >conftest.$ac_ext <<_ACEOF
44854 /* confdefs.h. */
44855 _ACEOF
44856 cat confdefs.h >>conftest.$ac_ext
44857 cat >>conftest.$ac_ext <<_ACEOF
44858 /* end confdefs.h. */
44859
44860 #include <sys/types.h>
44861 #include <sys/socket.h>
44862
44863 int
44864 main ()
44865 {
44866
44867 int len;
44868 getsockopt(0, 0, 0, 0, &len);
44869
44870 ;
44871 return 0;
44872 }
44873 _ACEOF
44874 rm -f conftest.$ac_objext
44875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44876 (eval $ac_compile) 2>conftest.er1
44877 ac_status=$?
44878 grep -v '^ *+' conftest.er1 >conftest.err
44879 rm -f conftest.er1
44880 cat conftest.err >&5
44881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44882 (exit $ac_status); } &&
44883 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44885 (eval $ac_try) 2>&5
44886 ac_status=$?
44887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44888 (exit $ac_status); }; } &&
44889 { ac_try='test -s conftest.$ac_objext'
44890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44891 (eval $ac_try) 2>&5
44892 ac_status=$?
44893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44894 (exit $ac_status); }; }; then
44895 wx_cv_type_getsockopt5=int
44896 else
44897 echo "$as_me: failed program was:" >&5
44898 sed 's/^/| /' conftest.$ac_ext >&5
44899
44900 wx_cv_type_getsockopt5=unknown
44901
44902 fi
44903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44904
44905 fi
44906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44907
44908 CXXFLAGS="$CXXFLAGS_OLD"
44909
44910
44911 fi
44912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44913
44914 fi
44915 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44916 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
44917
44918 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44919 wxUSE_SOCKETS=no
44920 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44921 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44922 else
44923 cat >>confdefs.h <<_ACEOF
44924 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44925 _ACEOF
44926
44927 fi
44928 fi
44929 fi
44930
44931 if test "$wxUSE_SOCKETS" = "yes" ; then
44932 cat >>confdefs.h <<\_ACEOF
44933 #define wxUSE_SOCKETS 1
44934 _ACEOF
44935
44936 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44937 fi
44938
44939 if test "$wxUSE_PROTOCOL" = "yes"; then
44940 if test "$wxUSE_SOCKETS" != "yes"; then
44941 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44942 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44943 wxUSE_PROTOCOL=no
44944 fi
44945 fi
44946
44947 if test "$wxUSE_PROTOCOL" = "yes"; then
44948 cat >>confdefs.h <<\_ACEOF
44949 #define wxUSE_PROTOCOL 1
44950 _ACEOF
44951
44952
44953 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44954 cat >>confdefs.h <<\_ACEOF
44955 #define wxUSE_PROTOCOL_HTTP 1
44956 _ACEOF
44957
44958 fi
44959 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44960 cat >>confdefs.h <<\_ACEOF
44961 #define wxUSE_PROTOCOL_FTP 1
44962 _ACEOF
44963
44964 fi
44965 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44966 cat >>confdefs.h <<\_ACEOF
44967 #define wxUSE_PROTOCOL_FILE 1
44968 _ACEOF
44969
44970 fi
44971 else
44972 if test "$wxUSE_FS_INET" = "yes"; then
44973 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44974 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44975 wxUSE_FS_INET="no"
44976 fi
44977 fi
44978
44979 if test "$wxUSE_URL" = "yes"; then
44980 if test "$wxUSE_PROTOCOL" != "yes"; then
44981 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44982 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44983 wxUSE_URL=no
44984 fi
44985 if test "$wxUSE_URL" = "yes"; then
44986 cat >>confdefs.h <<\_ACEOF
44987 #define wxUSE_URL 1
44988 _ACEOF
44989
44990 fi
44991 fi
44992
44993 if test "$wxUSE_VARIANT" = "yes"; then
44994 cat >>confdefs.h <<\_ACEOF
44995 #define wxUSE_VARIANT 1
44996 _ACEOF
44997
44998 fi
44999
45000 if test "$wxUSE_FS_INET" = "yes"; then
45001 cat >>confdefs.h <<\_ACEOF
45002 #define wxUSE_FS_INET 1
45003 _ACEOF
45004
45005 fi
45006
45007
45008 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45009 wxUSE_JOYSTICK=no
45010
45011 if test "$TOOLKIT" = "MSW"; then
45012 wxUSE_JOYSTICK=yes
45013
45014 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
45015 if test "$USE_DARWIN" = 1; then
45016 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45017 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
45018 cat >conftest.$ac_ext <<_ACEOF
45019 /* confdefs.h. */
45020 _ACEOF
45021 cat confdefs.h >>conftest.$ac_ext
45022 cat >>conftest.$ac_ext <<_ACEOF
45023 /* end confdefs.h. */
45024 #include <IOKit/hid/IOHIDLib.h>
45025 int
45026 main ()
45027 {
45028 IOHIDQueueInterface *qi = NULL;
45029 IOHIDCallbackFunction cb = NULL;
45030 qi->setEventCallout(NULL, cb, NULL, NULL);
45031 ;
45032 return 0;
45033 }
45034 _ACEOF
45035 rm -f conftest.$ac_objext
45036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45037 (eval $ac_compile) 2>conftest.er1
45038 ac_status=$?
45039 grep -v '^ *+' conftest.er1 >conftest.err
45040 rm -f conftest.er1
45041 cat conftest.err >&5
45042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45043 (exit $ac_status); } &&
45044 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45046 (eval $ac_try) 2>&5
45047 ac_status=$?
45048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45049 (exit $ac_status); }; } &&
45050 { ac_try='test -s conftest.$ac_objext'
45051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45052 (eval $ac_try) 2>&5
45053 ac_status=$?
45054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45055 (exit $ac_status); }; }; then
45056 wxUSE_JOYSTICK=yes
45057
45058 else
45059 echo "$as_me: failed program was:" >&5
45060 sed 's/^/| /' conftest.$ac_ext >&5
45061
45062 fi
45063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45064 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45065 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
45066 fi
45067
45068 else
45069
45070 for ac_header in linux/joystick.h
45071 do
45072 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45073 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45074 echo "$as_me:$LINENO: checking for $ac_header" >&5
45075 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45076 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45077 echo $ECHO_N "(cached) $ECHO_C" >&6
45078 fi
45079 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45080 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45081 else
45082 # Is the header compilable?
45083 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45084 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45085 cat >conftest.$ac_ext <<_ACEOF
45086 /* confdefs.h. */
45087 _ACEOF
45088 cat confdefs.h >>conftest.$ac_ext
45089 cat >>conftest.$ac_ext <<_ACEOF
45090 /* end confdefs.h. */
45091 $ac_includes_default
45092 #include <$ac_header>
45093 _ACEOF
45094 rm -f conftest.$ac_objext
45095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45096 (eval $ac_compile) 2>conftest.er1
45097 ac_status=$?
45098 grep -v '^ *+' conftest.er1 >conftest.err
45099 rm -f conftest.er1
45100 cat conftest.err >&5
45101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45102 (exit $ac_status); } &&
45103 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45105 (eval $ac_try) 2>&5
45106 ac_status=$?
45107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45108 (exit $ac_status); }; } &&
45109 { ac_try='test -s conftest.$ac_objext'
45110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45111 (eval $ac_try) 2>&5
45112 ac_status=$?
45113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45114 (exit $ac_status); }; }; then
45115 ac_header_compiler=yes
45116 else
45117 echo "$as_me: failed program was:" >&5
45118 sed 's/^/| /' conftest.$ac_ext >&5
45119
45120 ac_header_compiler=no
45121 fi
45122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45123 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45124 echo "${ECHO_T}$ac_header_compiler" >&6
45125
45126 # Is the header present?
45127 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45128 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45129 cat >conftest.$ac_ext <<_ACEOF
45130 /* confdefs.h. */
45131 _ACEOF
45132 cat confdefs.h >>conftest.$ac_ext
45133 cat >>conftest.$ac_ext <<_ACEOF
45134 /* end confdefs.h. */
45135 #include <$ac_header>
45136 _ACEOF
45137 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45138 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45139 ac_status=$?
45140 grep -v '^ *+' conftest.er1 >conftest.err
45141 rm -f conftest.er1
45142 cat conftest.err >&5
45143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45144 (exit $ac_status); } >/dev/null; then
45145 if test -s conftest.err; then
45146 ac_cpp_err=$ac_cxx_preproc_warn_flag
45147 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
45148 else
45149 ac_cpp_err=
45150 fi
45151 else
45152 ac_cpp_err=yes
45153 fi
45154 if test -z "$ac_cpp_err"; then
45155 ac_header_preproc=yes
45156 else
45157 echo "$as_me: failed program was:" >&5
45158 sed 's/^/| /' conftest.$ac_ext >&5
45159
45160 ac_header_preproc=no
45161 fi
45162 rm -f conftest.err conftest.$ac_ext
45163 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45164 echo "${ECHO_T}$ac_header_preproc" >&6
45165
45166 # So? What about this header?
45167 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45168 yes:no: )
45169 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45170 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45171 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45172 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45173 ac_header_preproc=yes
45174 ;;
45175 no:yes:* )
45176 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45177 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45178 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45179 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45180 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45181 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45182 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45183 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45184 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45185 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45186 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45187 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45188 (
45189 cat <<\_ASBOX
45190 ## ----------------------------------------- ##
45191 ## Report this to wx-dev@lists.wxwidgets.org ##
45192 ## ----------------------------------------- ##
45193 _ASBOX
45194 ) |
45195 sed "s/^/$as_me: WARNING: /" >&2
45196 ;;
45197 esac
45198 echo "$as_me:$LINENO: checking for $ac_header" >&5
45199 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45200 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45201 echo $ECHO_N "(cached) $ECHO_C" >&6
45202 else
45203 eval "$as_ac_Header=\$ac_header_preproc"
45204 fi
45205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45206 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45207
45208 fi
45209 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45210 cat >>confdefs.h <<_ACEOF
45211 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45212 _ACEOF
45213 wxUSE_JOYSTICK=yes
45214 fi
45215
45216 done
45217
45218 fi
45219
45220 if test "$wxUSE_JOYSTICK" = "yes"; then
45221 cat >>confdefs.h <<\_ACEOF
45222 #define wxUSE_JOYSTICK 1
45223 _ACEOF
45224
45225 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45226 else
45227 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45228 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45229 fi
45230 fi
45231
45232
45233
45234 if test "$wxUSE_FONTMAP" = "yes" ; then
45235 cat >>confdefs.h <<\_ACEOF
45236 #define wxUSE_FONTMAP 1
45237 _ACEOF
45238
45239 fi
45240
45241 if test "$wxUSE_UNICODE" = "yes" ; then
45242 cat >>confdefs.h <<\_ACEOF
45243 #define wxUSE_UNICODE 1
45244 _ACEOF
45245
45246
45247 if test "$USE_WIN32" != 1; then
45248 wxUSE_UNICODE_MSLU=no
45249 fi
45250
45251 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45252 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45253 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
45254 if test "${ac_cv_lib_unicows_main+set}" = set; then
45255 echo $ECHO_N "(cached) $ECHO_C" >&6
45256 else
45257 ac_check_lib_save_LIBS=$LIBS
45258 LIBS="-lunicows $LIBS"
45259 cat >conftest.$ac_ext <<_ACEOF
45260 /* confdefs.h. */
45261 _ACEOF
45262 cat confdefs.h >>conftest.$ac_ext
45263 cat >>conftest.$ac_ext <<_ACEOF
45264 /* end confdefs.h. */
45265
45266
45267 int
45268 main ()
45269 {
45270 main ();
45271 ;
45272 return 0;
45273 }
45274 _ACEOF
45275 rm -f conftest.$ac_objext conftest$ac_exeext
45276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45277 (eval $ac_link) 2>conftest.er1
45278 ac_status=$?
45279 grep -v '^ *+' conftest.er1 >conftest.err
45280 rm -f conftest.er1
45281 cat conftest.err >&5
45282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45283 (exit $ac_status); } &&
45284 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45286 (eval $ac_try) 2>&5
45287 ac_status=$?
45288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45289 (exit $ac_status); }; } &&
45290 { ac_try='test -s conftest$ac_exeext'
45291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45292 (eval $ac_try) 2>&5
45293 ac_status=$?
45294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45295 (exit $ac_status); }; }; then
45296 ac_cv_lib_unicows_main=yes
45297 else
45298 echo "$as_me: failed program was:" >&5
45299 sed 's/^/| /' conftest.$ac_ext >&5
45300
45301 ac_cv_lib_unicows_main=no
45302 fi
45303 rm -f conftest.err conftest.$ac_objext \
45304 conftest$ac_exeext conftest.$ac_ext
45305 LIBS=$ac_check_lib_save_LIBS
45306 fi
45307 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45308 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
45309 if test $ac_cv_lib_unicows_main = yes; then
45310
45311 cat >>confdefs.h <<\_ACEOF
45312 #define wxUSE_UNICODE_MSLU 1
45313 _ACEOF
45314
45315
45316 else
45317
45318 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45319 Applications will only run on Windows NT/2000/XP!" >&5
45320 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45321 Applications will only run on Windows NT/2000/XP!" >&2;}
45322 wxUSE_UNICODE_MSLU=no
45323
45324 fi
45325
45326 fi
45327 fi
45328
45329 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
45330 cat >>confdefs.h <<\_ACEOF
45331 #define wxUSE_EXPERIMENTAL_PRINTF 1
45332 _ACEOF
45333
45334 fi
45335
45336
45337 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45338 cat >>confdefs.h <<\_ACEOF
45339 #define wxUSE_POSTSCRIPT 1
45340 _ACEOF
45341
45342 fi
45343
45344 cat >>confdefs.h <<\_ACEOF
45345 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45346 _ACEOF
45347
45348
45349 cat >>confdefs.h <<\_ACEOF
45350 #define wxUSE_NORMALIZED_PS_FONTS 1
45351 _ACEOF
45352
45353
45354
45355 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45356 cat >>confdefs.h <<\_ACEOF
45357 #define wxUSE_CONSTRAINTS 1
45358 _ACEOF
45359
45360 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45361 fi
45362
45363 if test "$wxUSE_MDI" = "yes"; then
45364 cat >>confdefs.h <<\_ACEOF
45365 #define wxUSE_MDI 1
45366 _ACEOF
45367
45368
45369 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45370 cat >>confdefs.h <<\_ACEOF
45371 #define wxUSE_MDI_ARCHITECTURE 1
45372 _ACEOF
45373
45374 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45375 fi
45376 fi
45377
45378 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45379 cat >>confdefs.h <<\_ACEOF
45380 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45381 _ACEOF
45382
45383 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45384 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45385 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
45386 fi
45387 fi
45388
45389 if test "$wxUSE_HELP" = "yes"; then
45390 cat >>confdefs.h <<\_ACEOF
45391 #define wxUSE_HELP 1
45392 _ACEOF
45393
45394 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45395
45396 if test "$wxUSE_MSW" = 1; then
45397 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45398 cat >>confdefs.h <<\_ACEOF
45399 #define wxUSE_MS_HTML_HELP 1
45400 _ACEOF
45401
45402 fi
45403 fi
45404
45405 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45406 if test "$wxUSE_HTML" = "yes"; then
45407 cat >>confdefs.h <<\_ACEOF
45408 #define wxUSE_WXHTML_HELP 1
45409 _ACEOF
45410
45411 else
45412 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45413 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45414 wxUSE_WXHTML_HELP=no
45415 fi
45416 fi
45417 fi
45418
45419 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45420 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45421 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45422 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45423 else
45424 cat >>confdefs.h <<\_ACEOF
45425 #define wxUSE_PRINTING_ARCHITECTURE 1
45426 _ACEOF
45427
45428 fi
45429 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45430 fi
45431
45432 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
45433 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
45434 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
45435 { (exit 1); exit 1; }; }
45436 fi
45437
45438
45439 if test "$wxUSE_METAFILE" = "yes"; then
45440 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45441 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45442 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45443 wxUSE_METAFILE=no
45444 fi
45445 fi
45446
45447
45448 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45449 -o "$wxUSE_CLIPBOARD" = "yes" \
45450 -o "$wxUSE_OLE" = "yes" \
45451 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45452
45453 for ac_header in ole2.h
45454 do
45455 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45456 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45457 echo "$as_me:$LINENO: checking for $ac_header" >&5
45458 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45459 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45460 echo $ECHO_N "(cached) $ECHO_C" >&6
45461 fi
45462 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45463 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45464 else
45465 # Is the header compilable?
45466 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45467 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45468 cat >conftest.$ac_ext <<_ACEOF
45469 /* confdefs.h. */
45470 _ACEOF
45471 cat confdefs.h >>conftest.$ac_ext
45472 cat >>conftest.$ac_ext <<_ACEOF
45473 /* end confdefs.h. */
45474 $ac_includes_default
45475 #include <$ac_header>
45476 _ACEOF
45477 rm -f conftest.$ac_objext
45478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45479 (eval $ac_compile) 2>conftest.er1
45480 ac_status=$?
45481 grep -v '^ *+' conftest.er1 >conftest.err
45482 rm -f conftest.er1
45483 cat conftest.err >&5
45484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45485 (exit $ac_status); } &&
45486 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45488 (eval $ac_try) 2>&5
45489 ac_status=$?
45490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45491 (exit $ac_status); }; } &&
45492 { ac_try='test -s conftest.$ac_objext'
45493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45494 (eval $ac_try) 2>&5
45495 ac_status=$?
45496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45497 (exit $ac_status); }; }; then
45498 ac_header_compiler=yes
45499 else
45500 echo "$as_me: failed program was:" >&5
45501 sed 's/^/| /' conftest.$ac_ext >&5
45502
45503 ac_header_compiler=no
45504 fi
45505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45506 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45507 echo "${ECHO_T}$ac_header_compiler" >&6
45508
45509 # Is the header present?
45510 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45511 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45512 cat >conftest.$ac_ext <<_ACEOF
45513 /* confdefs.h. */
45514 _ACEOF
45515 cat confdefs.h >>conftest.$ac_ext
45516 cat >>conftest.$ac_ext <<_ACEOF
45517 /* end confdefs.h. */
45518 #include <$ac_header>
45519 _ACEOF
45520 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45521 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45522 ac_status=$?
45523 grep -v '^ *+' conftest.er1 >conftest.err
45524 rm -f conftest.er1
45525 cat conftest.err >&5
45526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45527 (exit $ac_status); } >/dev/null; then
45528 if test -s conftest.err; then
45529 ac_cpp_err=$ac_cxx_preproc_warn_flag
45530 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
45531 else
45532 ac_cpp_err=
45533 fi
45534 else
45535 ac_cpp_err=yes
45536 fi
45537 if test -z "$ac_cpp_err"; then
45538 ac_header_preproc=yes
45539 else
45540 echo "$as_me: failed program was:" >&5
45541 sed 's/^/| /' conftest.$ac_ext >&5
45542
45543 ac_header_preproc=no
45544 fi
45545 rm -f conftest.err conftest.$ac_ext
45546 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45547 echo "${ECHO_T}$ac_header_preproc" >&6
45548
45549 # So? What about this header?
45550 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45551 yes:no: )
45552 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45553 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45554 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45555 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45556 ac_header_preproc=yes
45557 ;;
45558 no:yes:* )
45559 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45560 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45561 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45562 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45563 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45564 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45565 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45566 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45567 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45568 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45569 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45570 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45571 (
45572 cat <<\_ASBOX
45573 ## ----------------------------------------- ##
45574 ## Report this to wx-dev@lists.wxwidgets.org ##
45575 ## ----------------------------------------- ##
45576 _ASBOX
45577 ) |
45578 sed "s/^/$as_me: WARNING: /" >&2
45579 ;;
45580 esac
45581 echo "$as_me:$LINENO: checking for $ac_header" >&5
45582 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45583 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45584 echo $ECHO_N "(cached) $ECHO_C" >&6
45585 else
45586 eval "$as_ac_Header=\$ac_header_preproc"
45587 fi
45588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45589 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45590
45591 fi
45592 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45593 cat >>confdefs.h <<_ACEOF
45594 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45595 _ACEOF
45596
45597 fi
45598
45599 done
45600
45601
45602 if test "$ac_cv_header_ole2_h" = "yes" ; then
45603 if test "$GCC" = yes ; then
45604 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45605 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
45606 cat >conftest.$ac_ext <<_ACEOF
45607 /* confdefs.h. */
45608 _ACEOF
45609 cat confdefs.h >>conftest.$ac_ext
45610 cat >>conftest.$ac_ext <<_ACEOF
45611 /* end confdefs.h. */
45612 #include <windows.h>
45613 #include <ole2.h>
45614 int
45615 main ()
45616 {
45617
45618 ;
45619 return 0;
45620 }
45621 _ACEOF
45622 rm -f conftest.$ac_objext
45623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45624 (eval $ac_compile) 2>conftest.er1
45625 ac_status=$?
45626 grep -v '^ *+' conftest.er1 >conftest.err
45627 rm -f conftest.er1
45628 cat conftest.err >&5
45629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45630 (exit $ac_status); } &&
45631 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45633 (eval $ac_try) 2>&5
45634 ac_status=$?
45635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45636 (exit $ac_status); }; } &&
45637 { ac_try='test -s conftest.$ac_objext'
45638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45639 (eval $ac_try) 2>&5
45640 ac_status=$?
45641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45642 (exit $ac_status); }; }; then
45643 echo "$as_me:$LINENO: result: no" >&5
45644 echo "${ECHO_T}no" >&6
45645 else
45646 echo "$as_me: failed program was:" >&5
45647 sed 's/^/| /' conftest.$ac_ext >&5
45648
45649 echo "$as_me:$LINENO: result: yes" >&5
45650 echo "${ECHO_T}yes" >&6
45651 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45652 fi
45653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45654 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45655 if test "$wxUSE_OLE" = "yes" ; then
45656 cat >>confdefs.h <<\_ACEOF
45657 #define wxUSE_OLE 1
45658 _ACEOF
45659
45660 cat >>confdefs.h <<\_ACEOF
45661 #define wxUSE_OLE_AUTOMATION 1
45662 _ACEOF
45663
45664 cat >>confdefs.h <<\_ACEOF
45665 #define wxUSE_OLE_ACTIVEX 1
45666 _ACEOF
45667
45668 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45669 fi
45670 fi
45671
45672 if test "$wxUSE_DATAOBJ" = "yes" ; then
45673 cat >>confdefs.h <<\_ACEOF
45674 #define wxUSE_DATAOBJ 1
45675 _ACEOF
45676
45677 fi
45678 else
45679 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45680 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45681
45682 wxUSE_CLIPBOARD=no
45683 wxUSE_DRAG_AND_DROP=no
45684 wxUSE_DATAOBJ=no
45685 wxUSE_OLE=no
45686 fi
45687
45688 if test "$wxUSE_METAFILE" = "yes"; then
45689 cat >>confdefs.h <<\_ACEOF
45690 #define wxUSE_METAFILE 1
45691 _ACEOF
45692
45693
45694 cat >>confdefs.h <<\_ACEOF
45695 #define wxUSE_ENH_METAFILE 1
45696 _ACEOF
45697
45698 fi
45699 fi
45700
45701 if test "$wxUSE_IPC" = "yes"; then
45702 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45703 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45704 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45705 wxUSE_IPC=no
45706 fi
45707
45708 if test "$wxUSE_IPC" = "yes"; then
45709 cat >>confdefs.h <<\_ACEOF
45710 #define wxUSE_IPC 1
45711 _ACEOF
45712
45713 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45714 fi
45715 fi
45716
45717 if test "$wxUSE_DATAOBJ" = "yes"; then
45718 if test "$wxUSE_MGL" = 1; then
45719 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
45720 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
45721 wxUSE_DATAOBJ=no
45722 else
45723 cat >>confdefs.h <<\_ACEOF
45724 #define wxUSE_DATAOBJ 1
45725 _ACEOF
45726
45727 fi
45728 else
45729 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45730 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45731 wxUSE_CLIPBOARD=no
45732 wxUSE_DRAG_AND_DROP=no
45733 fi
45734
45735 if test "$wxUSE_CLIPBOARD" = "yes"; then
45736 if test "$wxUSE_MGL" = 1; then
45737 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
45738 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
45739 wxUSE_CLIPBOARD=no
45740 fi
45741
45742 if test "$wxUSE_CLIPBOARD" = "yes"; then
45743 cat >>confdefs.h <<\_ACEOF
45744 #define wxUSE_CLIPBOARD 1
45745 _ACEOF
45746
45747 fi
45748 fi
45749
45750 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45751 if test "$wxUSE_GTK" = 1; then
45752 if test "$WXGTK12" != 1; then
45753 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45754 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45755 wxUSE_DRAG_AND_DROP=no
45756 fi
45757 fi
45758
45759 if test "$wxUSE_MOTIF" = 1; then
45760 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
45761 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
45762 wxUSE_DRAG_AND_DROP=no
45763 fi
45764
45765 if test "$wxUSE_X11" = 1; then
45766 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
45767 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
45768 wxUSE_DRAG_AND_DROP=no
45769 fi
45770
45771 if test "$wxUSE_MGL" = 1; then
45772 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
45773 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
45774 wxUSE_DRAG_AND_DROP=no
45775 fi
45776
45777 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45778 cat >>confdefs.h <<\_ACEOF
45779 #define wxUSE_DRAG_AND_DROP 1
45780 _ACEOF
45781
45782 fi
45783
45784 fi
45785
45786 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45787 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45788 fi
45789
45790 if test "$wxUSE_SPLINES" = "yes" ; then
45791 cat >>confdefs.h <<\_ACEOF
45792 #define wxUSE_SPLINES 1
45793 _ACEOF
45794
45795 fi
45796
45797 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45798 cat >>confdefs.h <<\_ACEOF
45799 #define wxUSE_MOUSEWHEEL 1
45800 _ACEOF
45801
45802 fi
45803
45804
45805 USES_CONTROLS=0
45806 if test "$wxUSE_CONTROLS" = "yes"; then
45807 USES_CONTROLS=1
45808 fi
45809
45810 if test "$wxUSE_ACCEL" = "yes"; then
45811 cat >>confdefs.h <<\_ACEOF
45812 #define wxUSE_ACCEL 1
45813 _ACEOF
45814
45815 USES_CONTROLS=1
45816 fi
45817
45818 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45819 cat >>confdefs.h <<\_ACEOF
45820 #define wxUSE_ANIMATIONCTRL 1
45821 _ACEOF
45822
45823 USES_CONTROLS=1
45824 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45825 fi
45826
45827 if test "$wxUSE_BUTTON" = "yes"; then
45828 cat >>confdefs.h <<\_ACEOF
45829 #define wxUSE_BUTTON 1
45830 _ACEOF
45831
45832 USES_CONTROLS=1
45833 fi
45834
45835 if test "$wxUSE_BMPBUTTON" = "yes"; then
45836 cat >>confdefs.h <<\_ACEOF
45837 #define wxUSE_BMPBUTTON 1
45838 _ACEOF
45839
45840 USES_CONTROLS=1
45841 fi
45842
45843 if test "$wxUSE_CALCTRL" = "yes"; then
45844 cat >>confdefs.h <<\_ACEOF
45845 #define wxUSE_CALENDARCTRL 1
45846 _ACEOF
45847
45848 USES_CONTROLS=1
45849 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45850 fi
45851
45852 if test "$wxUSE_CARET" = "yes"; then
45853 cat >>confdefs.h <<\_ACEOF
45854 #define wxUSE_CARET 1
45855 _ACEOF
45856
45857 USES_CONTROLS=1
45858 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45859 fi
45860
45861 if test "$wxUSE_COMBOBOX" = "yes"; then
45862 cat >>confdefs.h <<\_ACEOF
45863 #define wxUSE_COMBOBOX 1
45864 _ACEOF
45865
45866 USES_CONTROLS=1
45867 fi
45868
45869 if test "$wxUSE_COMBOCTRL" = "yes"; then
45870 cat >>confdefs.h <<\_ACEOF
45871 #define wxUSE_COMBOCTRL 1
45872 _ACEOF
45873
45874 USES_CONTROLS=1
45875 fi
45876
45877 if test "$wxUSE_CHOICE" = "yes"; then
45878 cat >>confdefs.h <<\_ACEOF
45879 #define wxUSE_CHOICE 1
45880 _ACEOF
45881
45882 USES_CONTROLS=1
45883 fi
45884
45885 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45886 cat >>confdefs.h <<\_ACEOF
45887 #define wxUSE_CHOICEBOOK 1
45888 _ACEOF
45889
45890 USES_CONTROLS=1
45891 fi
45892
45893 if test "$wxUSE_CHECKBOX" = "yes"; then
45894 cat >>confdefs.h <<\_ACEOF
45895 #define wxUSE_CHECKBOX 1
45896 _ACEOF
45897
45898 USES_CONTROLS=1
45899 fi
45900
45901 if test "$wxUSE_CHECKLST" = "yes"; then
45902 cat >>confdefs.h <<\_ACEOF
45903 #define wxUSE_CHECKLISTBOX 1
45904 _ACEOF
45905
45906 USES_CONTROLS=1
45907 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
45908 fi
45909
45910 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45911 cat >>confdefs.h <<\_ACEOF
45912 #define wxUSE_COLOURPICKERCTRL 1
45913 _ACEOF
45914
45915 USES_CONTROLS=1
45916 fi
45917
45918 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45919 cat >>confdefs.h <<\_ACEOF
45920 #define wxUSE_DATEPICKCTRL 1
45921 _ACEOF
45922
45923 USES_CONTROLS=1
45924 fi
45925
45926 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45927 cat >>confdefs.h <<\_ACEOF
45928 #define wxUSE_DIRPICKERCTRL 1
45929 _ACEOF
45930
45931 USES_CONTROLS=1
45932 fi
45933
45934 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45935 cat >>confdefs.h <<\_ACEOF
45936 #define wxUSE_FILEPICKERCTRL 1
45937 _ACEOF
45938
45939 USES_CONTROLS=1
45940 fi
45941
45942 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45943 cat >>confdefs.h <<\_ACEOF
45944 #define wxUSE_FONTPICKERCTRL 1
45945 _ACEOF
45946
45947 USES_CONTROLS=1
45948 fi
45949
45950 if test "$wxUSE_DISPLAY" = "yes"; then
45951 cat >>confdefs.h <<\_ACEOF
45952 #define wxUSE_DISPLAY 1
45953 _ACEOF
45954
45955 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
45956 fi
45957
45958 if test "$wxUSE_DETECT_SM" = "yes"; then
45959 cat >>confdefs.h <<\_ACEOF
45960 #define wxUSE_DETECT_SM 1
45961 _ACEOF
45962
45963 fi
45964
45965 if test "$wxUSE_GAUGE" = "yes"; then
45966 cat >>confdefs.h <<\_ACEOF
45967 #define wxUSE_GAUGE 1
45968 _ACEOF
45969
45970 USES_CONTROLS=1
45971 fi
45972
45973 if test "$wxUSE_GRID" = "yes"; then
45974 cat >>confdefs.h <<\_ACEOF
45975 #define wxUSE_GRID 1
45976 _ACEOF
45977
45978 USES_CONTROLS=1
45979 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45980 fi
45981
45982 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45983 cat >>confdefs.h <<\_ACEOF
45984 #define wxUSE_HYPERLINKCTRL 1
45985 _ACEOF
45986
45987 USES_CONTROLS=1
45988 fi
45989
45990 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45991 cat >>confdefs.h <<\_ACEOF
45992 #define wxUSE_BITMAPCOMBOBOX 1
45993 _ACEOF
45994
45995 USES_CONTROLS=1
45996 fi
45997
45998 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45999 cat >>confdefs.h <<\_ACEOF
46000 #define wxUSE_DATAVIEWCTRL 1
46001 _ACEOF
46002
46003 USES_CONTROLS=1
46004 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
46005 fi
46006
46007 if test "$wxUSE_IMAGLIST" = "yes"; then
46008 cat >>confdefs.h <<\_ACEOF
46009 #define wxUSE_IMAGLIST 1
46010 _ACEOF
46011
46012 fi
46013
46014 if test "$wxUSE_LISTBOOK" = "yes"; then
46015 cat >>confdefs.h <<\_ACEOF
46016 #define wxUSE_LISTBOOK 1
46017 _ACEOF
46018
46019 USES_CONTROLS=1
46020 fi
46021
46022 if test "$wxUSE_LISTBOX" = "yes"; then
46023 cat >>confdefs.h <<\_ACEOF
46024 #define wxUSE_LISTBOX 1
46025 _ACEOF
46026
46027 USES_CONTROLS=1
46028 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
46029 fi
46030
46031 if test "$wxUSE_LISTCTRL" = "yes"; then
46032 if test "$wxUSE_IMAGLIST" = "yes"; then
46033 cat >>confdefs.h <<\_ACEOF
46034 #define wxUSE_LISTCTRL 1
46035 _ACEOF
46036
46037 USES_CONTROLS=1
46038 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
46039 else
46040 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46041 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46042 fi
46043 fi
46044
46045 if test "$wxUSE_NOTEBOOK" = "yes"; then
46046 cat >>confdefs.h <<\_ACEOF
46047 #define wxUSE_NOTEBOOK 1
46048 _ACEOF
46049
46050 USES_CONTROLS=1
46051 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
46052 fi
46053
46054 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46055 cat >>confdefs.h <<\_ACEOF
46056 #define wxUSE_ODCOMBOBOX 1
46057 _ACEOF
46058
46059 USES_CONTROLS=1
46060 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
46061 fi
46062
46063
46064 if test "$wxUSE_RADIOBOX" = "yes"; then
46065 cat >>confdefs.h <<\_ACEOF
46066 #define wxUSE_RADIOBOX 1
46067 _ACEOF
46068
46069 USES_CONTROLS=1
46070 fi
46071
46072 if test "$wxUSE_RADIOBTN" = "yes"; then
46073 cat >>confdefs.h <<\_ACEOF
46074 #define wxUSE_RADIOBTN 1
46075 _ACEOF
46076
46077 USES_CONTROLS=1
46078 fi
46079
46080 if test "$wxUSE_SASH" = "yes"; then
46081 cat >>confdefs.h <<\_ACEOF
46082 #define wxUSE_SASH 1
46083 _ACEOF
46084
46085 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
46086 fi
46087
46088 if test "$wxUSE_SCROLLBAR" = "yes"; then
46089 cat >>confdefs.h <<\_ACEOF
46090 #define wxUSE_SCROLLBAR 1
46091 _ACEOF
46092
46093 USES_CONTROLS=1
46094 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
46095 fi
46096
46097 if test "$wxUSE_SLIDER" = "yes"; then
46098 cat >>confdefs.h <<\_ACEOF
46099 #define wxUSE_SLIDER 1
46100 _ACEOF
46101
46102 USES_CONTROLS=1
46103 fi
46104
46105 if test "$wxUSE_SPINBTN" = "yes"; then
46106 cat >>confdefs.h <<\_ACEOF
46107 #define wxUSE_SPINBTN 1
46108 _ACEOF
46109
46110 USES_CONTROLS=1
46111 fi
46112
46113 if test "$wxUSE_SPINCTRL" = "yes"; then
46114 cat >>confdefs.h <<\_ACEOF
46115 #define wxUSE_SPINCTRL 1
46116 _ACEOF
46117
46118 USES_CONTROLS=1
46119 fi
46120
46121 if test "$wxUSE_SPLITTER" = "yes"; then
46122 cat >>confdefs.h <<\_ACEOF
46123 #define wxUSE_SPLITTER 1
46124 _ACEOF
46125
46126 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
46127 fi
46128
46129 if test "$wxUSE_STATBMP" = "yes"; then
46130 cat >>confdefs.h <<\_ACEOF
46131 #define wxUSE_STATBMP 1
46132 _ACEOF
46133
46134 USES_CONTROLS=1
46135 fi
46136
46137 if test "$wxUSE_STATBOX" = "yes"; then
46138 cat >>confdefs.h <<\_ACEOF
46139 #define wxUSE_STATBOX 1
46140 _ACEOF
46141
46142 USES_CONTROLS=1
46143 fi
46144
46145 if test "$wxUSE_STATTEXT" = "yes"; then
46146 cat >>confdefs.h <<\_ACEOF
46147 #define wxUSE_STATTEXT 1
46148 _ACEOF
46149
46150 USES_CONTROLS=1
46151 fi
46152
46153 if test "$wxUSE_STATLINE" = "yes"; then
46154 cat >>confdefs.h <<\_ACEOF
46155 #define wxUSE_STATLINE 1
46156 _ACEOF
46157
46158 USES_CONTROLS=1
46159 fi
46160
46161 if test "$wxUSE_STATUSBAR" = "yes"; then
46162 cat >>confdefs.h <<\_ACEOF
46163 #define wxUSE_NATIVE_STATUSBAR 1
46164 _ACEOF
46165
46166 cat >>confdefs.h <<\_ACEOF
46167 #define wxUSE_STATUSBAR 1
46168 _ACEOF
46169
46170 USES_CONTROLS=1
46171
46172 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46173 fi
46174
46175 if test "$wxUSE_TAB_DIALOG" = "yes"; then
46176 cat >>confdefs.h <<\_ACEOF
46177 #define wxUSE_TAB_DIALOG 1
46178 _ACEOF
46179
46180 fi
46181
46182 if test "$wxUSE_TEXTCTRL" = "yes"; then
46183 cat >>confdefs.h <<\_ACEOF
46184 #define wxUSE_TEXTCTRL 1
46185 _ACEOF
46186
46187 USES_CONTROLS=1
46188 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46189 fi
46190
46191 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46192 if test "$wxUSE_COCOA" = 1 ; then
46193 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46194 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46195 wxUSE_TOGGLEBTN=no
46196 fi
46197
46198 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46199 cat >>confdefs.h <<\_ACEOF
46200 #define wxUSE_TOGGLEBTN 1
46201 _ACEOF
46202
46203 USES_CONTROLS=1
46204 fi
46205 fi
46206
46207 if test "$wxUSE_TOOLBAR" = "yes"; then
46208 cat >>confdefs.h <<\_ACEOF
46209 #define wxUSE_TOOLBAR 1
46210 _ACEOF
46211
46212 USES_CONTROLS=1
46213
46214 if test "$wxUSE_UNIVERSAL" = "yes"; then
46215 wxUSE_TOOLBAR_NATIVE="no"
46216 else
46217 wxUSE_TOOLBAR_NATIVE="yes"
46218 cat >>confdefs.h <<\_ACEOF
46219 #define wxUSE_TOOLBAR_NATIVE 1
46220 _ACEOF
46221
46222 fi
46223
46224 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46225 fi
46226
46227 if test "$wxUSE_TOOLTIPS" = "yes"; then
46228 if test "$wxUSE_MOTIF" = 1; then
46229 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46230 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46231 else
46232 if test "$wxUSE_UNIVERSAL" = "yes"; then
46233 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46234 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46235 else
46236 cat >>confdefs.h <<\_ACEOF
46237 #define wxUSE_TOOLTIPS 1
46238 _ACEOF
46239
46240 fi
46241 fi
46242 fi
46243
46244 if test "$wxUSE_TREEBOOK" = "yes"; then
46245 cat >>confdefs.h <<\_ACEOF
46246 #define wxUSE_TREEBOOK 1
46247 _ACEOF
46248
46249 USES_CONTROLS=1
46250 fi
46251
46252 if test "$wxUSE_TOOLBOOK" = "yes"; then
46253 cat >>confdefs.h <<\_ACEOF
46254 #define wxUSE_TOOLBOOK 1
46255 _ACEOF
46256
46257 USES_CONTROLS=1
46258 fi
46259
46260 if test "$wxUSE_TREECTRL" = "yes"; then
46261 if test "$wxUSE_IMAGLIST" = "yes"; then
46262 cat >>confdefs.h <<\_ACEOF
46263 #define wxUSE_TREECTRL 1
46264 _ACEOF
46265
46266 USES_CONTROLS=1
46267 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46268 else
46269 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46270 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46271 fi
46272 fi
46273
46274 if test "$wxUSE_POPUPWIN" = "yes"; then
46275 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46276 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46277 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46278 else
46279 if test "$wxUSE_PM" = 1; then
46280 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46281 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46282 else
46283 cat >>confdefs.h <<\_ACEOF
46284 #define wxUSE_POPUPWIN 1
46285 _ACEOF
46286
46287 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46288
46289 USES_CONTROLS=1
46290 fi
46291 fi
46292 fi
46293
46294 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46295 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46296 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
46297 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
46298 else
46299 cat >>confdefs.h <<\_ACEOF
46300 #define wxUSE_DIALUP_MANAGER 1
46301 _ACEOF
46302
46303 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46304 fi
46305 fi
46306
46307 if test "$wxUSE_TIPWINDOW" = "yes"; then
46308 if test "$wxUSE_PM" = 1; then
46309 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46310 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46311 else
46312 cat >>confdefs.h <<\_ACEOF
46313 #define wxUSE_TIPWINDOW 1
46314 _ACEOF
46315
46316 fi
46317 fi
46318
46319 if test "$USES_CONTROLS" = 1; then
46320 cat >>confdefs.h <<\_ACEOF
46321 #define wxUSE_CONTROLS 1
46322 _ACEOF
46323
46324 fi
46325
46326
46327 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46328 cat >>confdefs.h <<\_ACEOF
46329 #define wxUSE_ACCESSIBILITY 1
46330 _ACEOF
46331
46332 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46333 fi
46334
46335 if test "$wxUSE_DC_CACHEING" = "yes"; then
46336 cat >>confdefs.h <<\_ACEOF
46337 #define wxUSE_DC_CACHEING 1
46338 _ACEOF
46339
46340 fi
46341
46342 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46343 cat >>confdefs.h <<\_ACEOF
46344 #define wxUSE_DRAGIMAGE 1
46345 _ACEOF
46346
46347 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46348 fi
46349
46350 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46351 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46352 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46353 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46354 else
46355 cat >>confdefs.h <<\_ACEOF
46356 #define wxUSE_EXCEPTIONS 1
46357 _ACEOF
46358
46359 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46360 fi
46361 fi
46362
46363 USE_HTML=0
46364 if test "$wxUSE_HTML" = "yes"; then
46365 cat >>confdefs.h <<\_ACEOF
46366 #define wxUSE_HTML 1
46367 _ACEOF
46368
46369 USE_HTML=1
46370 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46371 if test "$wxUSE_MAC" = 1; then
46372 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46373 fi
46374 fi
46375 if test "$wxUSE_WEBKIT" = "yes"; then
46376 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46377 old_CPPFLAGS="$CPPFLAGS"
46378 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46379 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46380 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
46381 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46382 echo $ECHO_N "(cached) $ECHO_C" >&6
46383 else
46384 cat >conftest.$ac_ext <<_ACEOF
46385 /* confdefs.h. */
46386 _ACEOF
46387 cat confdefs.h >>conftest.$ac_ext
46388 cat >>conftest.$ac_ext <<_ACEOF
46389 /* end confdefs.h. */
46390 #include <Carbon/Carbon.h>
46391
46392 #include <WebKit/HIWebView.h>
46393 _ACEOF
46394 rm -f conftest.$ac_objext
46395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46396 (eval $ac_compile) 2>conftest.er1
46397 ac_status=$?
46398 grep -v '^ *+' conftest.er1 >conftest.err
46399 rm -f conftest.er1
46400 cat conftest.err >&5
46401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46402 (exit $ac_status); } &&
46403 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46405 (eval $ac_try) 2>&5
46406 ac_status=$?
46407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46408 (exit $ac_status); }; } &&
46409 { ac_try='test -s conftest.$ac_objext'
46410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46411 (eval $ac_try) 2>&5
46412 ac_status=$?
46413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46414 (exit $ac_status); }; }; then
46415 ac_cv_header_WebKit_HIWebView_h=yes
46416 else
46417 echo "$as_me: failed program was:" >&5
46418 sed 's/^/| /' conftest.$ac_ext >&5
46419
46420 ac_cv_header_WebKit_HIWebView_h=no
46421 fi
46422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46423 fi
46424 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46425 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
46426 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46427
46428 cat >>confdefs.h <<\_ACEOF
46429 #define wxUSE_WEBKIT 1
46430 _ACEOF
46431
46432 WEBKIT_LINK="-framework WebKit"
46433
46434 else
46435
46436 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46437 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46438 wxUSE_WEBKIT=no
46439
46440 fi
46441
46442
46443 CPPFLAGS="$old_CPPFLAGS"
46444 elif test "$wxUSE_COCOA" = 1; then
46445 cat >>confdefs.h <<\_ACEOF
46446 #define wxUSE_WEBKIT 1
46447 _ACEOF
46448
46449 else
46450 wxUSE_WEBKIT=no
46451 fi
46452 fi
46453
46454 USE_XRC=0
46455 if test "$wxUSE_XRC" = "yes"; then
46456 if test "$wxUSE_XML" != "yes"; then
46457 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46458 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46459 wxUSE_XRC=no
46460 else
46461 cat >>confdefs.h <<\_ACEOF
46462 #define wxUSE_XRC 1
46463 _ACEOF
46464
46465 USE_XRC=1
46466 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46467 fi
46468 fi
46469
46470 USE_AUI=0
46471 if test "$wxUSE_AUI" = "yes"; then
46472 cat >>confdefs.h <<\_ACEOF
46473 #define wxUSE_AUI 1
46474 _ACEOF
46475
46476 USE_AUI=1
46477 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46478 fi
46479
46480 if test "$wxUSE_MENUS" = "yes"; then
46481 cat >>confdefs.h <<\_ACEOF
46482 #define wxUSE_MENUS 1
46483 _ACEOF
46484
46485 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46486 fi
46487
46488 if test "$wxUSE_METAFILE" = "yes"; then
46489 cat >>confdefs.h <<\_ACEOF
46490 #define wxUSE_METAFILE 1
46491 _ACEOF
46492
46493 fi
46494
46495 if test "$wxUSE_MIMETYPE" = "yes"; then
46496 cat >>confdefs.h <<\_ACEOF
46497 #define wxUSE_MIMETYPE 1
46498 _ACEOF
46499
46500 fi
46501
46502 if test "$wxUSE_MINIFRAME" = "yes"; then
46503 cat >>confdefs.h <<\_ACEOF
46504 #define wxUSE_MINIFRAME 1
46505 _ACEOF
46506
46507 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
46508 fi
46509
46510 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46511 cat >>confdefs.h <<\_ACEOF
46512 #define wxUSE_SYSTEM_OPTIONS 1
46513 _ACEOF
46514
46515 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
46516 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
46517 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46518 fi
46519 fi
46520
46521
46522 if test "$wxUSE_VALIDATORS" = "yes"; then
46523 cat >>confdefs.h <<\_ACEOF
46524 #define wxUSE_VALIDATORS 1
46525 _ACEOF
46526
46527 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46528 fi
46529
46530 if test "$wxUSE_PALETTE" = "yes" ; then
46531 cat >>confdefs.h <<\_ACEOF
46532 #define wxUSE_PALETTE 1
46533 _ACEOF
46534
46535 fi
46536
46537 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46538 LIBS=" -lunicows $LIBS"
46539 fi
46540
46541 USE_RICHTEXT=0
46542 if test "$wxUSE_RICHTEXT" = "yes"; then
46543 cat >>confdefs.h <<\_ACEOF
46544 #define wxUSE_RICHTEXT 1
46545 _ACEOF
46546
46547 USE_RICHTEXT=1
46548 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46549 fi
46550
46551
46552 if test "$wxUSE_IMAGE" = "yes" ; then
46553 cat >>confdefs.h <<\_ACEOF
46554 #define wxUSE_IMAGE 1
46555 _ACEOF
46556
46557
46558 if test "$wxUSE_GIF" = "yes" ; then
46559 cat >>confdefs.h <<\_ACEOF
46560 #define wxUSE_GIF 1
46561 _ACEOF
46562
46563 fi
46564
46565 if test "$wxUSE_PCX" = "yes" ; then
46566 cat >>confdefs.h <<\_ACEOF
46567 #define wxUSE_PCX 1
46568 _ACEOF
46569
46570 fi
46571
46572 if test "$wxUSE_IFF" = "yes" ; then
46573 cat >>confdefs.h <<\_ACEOF
46574 #define wxUSE_IFF 1
46575 _ACEOF
46576
46577 fi
46578
46579 if test "$wxUSE_PNM" = "yes" ; then
46580 cat >>confdefs.h <<\_ACEOF
46581 #define wxUSE_PNM 1
46582 _ACEOF
46583
46584 fi
46585
46586 if test "$wxUSE_XPM" = "yes" ; then
46587 cat >>confdefs.h <<\_ACEOF
46588 #define wxUSE_XPM 1
46589 _ACEOF
46590
46591 fi
46592
46593 if test "$wxUSE_ICO_CUR" = "yes" ; then
46594 cat >>confdefs.h <<\_ACEOF
46595 #define wxUSE_ICO_CUR 1
46596 _ACEOF
46597
46598 fi
46599 fi
46600
46601
46602 if test "$wxUSE_ABOUTDLG" = "yes"; then
46603 cat >>confdefs.h <<\_ACEOF
46604 #define wxUSE_ABOUTDLG 1
46605 _ACEOF
46606
46607 fi
46608
46609 if test "$wxUSE_CHOICEDLG" = "yes"; then
46610 cat >>confdefs.h <<\_ACEOF
46611 #define wxUSE_CHOICEDLG 1
46612 _ACEOF
46613
46614 fi
46615
46616 if test "$wxUSE_COLOURDLG" = "yes"; then
46617 cat >>confdefs.h <<\_ACEOF
46618 #define wxUSE_COLOURDLG 1
46619 _ACEOF
46620
46621 fi
46622
46623 if test "$wxUSE_FILEDLG" = "yes"; then
46624 cat >>confdefs.h <<\_ACEOF
46625 #define wxUSE_FILEDLG 1
46626 _ACEOF
46627
46628 fi
46629
46630 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46631 cat >>confdefs.h <<\_ACEOF
46632 #define wxUSE_FINDREPLDLG 1
46633 _ACEOF
46634
46635 fi
46636
46637 if test "$wxUSE_FONTDLG" = "yes"; then
46638 cat >>confdefs.h <<\_ACEOF
46639 #define wxUSE_FONTDLG 1
46640 _ACEOF
46641
46642 fi
46643
46644 if test "$wxUSE_DIRDLG" = "yes"; then
46645 if test "$wxUSE_TREECTRL" != "yes"; then
46646 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46647 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46648 else
46649 cat >>confdefs.h <<\_ACEOF
46650 #define wxUSE_DIRDLG 1
46651 _ACEOF
46652
46653 fi
46654 fi
46655
46656 if test "$wxUSE_MSGDLG" = "yes"; then
46657 cat >>confdefs.h <<\_ACEOF
46658 #define wxUSE_MSGDLG 1
46659 _ACEOF
46660
46661 fi
46662
46663 if test "$wxUSE_NUMBERDLG" = "yes"; then
46664 cat >>confdefs.h <<\_ACEOF
46665 #define wxUSE_NUMBERDLG 1
46666 _ACEOF
46667
46668 fi
46669
46670 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46671 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46672 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46673 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46674 else
46675 cat >>confdefs.h <<\_ACEOF
46676 #define wxUSE_PROGRESSDLG 1
46677 _ACEOF
46678
46679 fi
46680 fi
46681
46682 if test "$wxUSE_SPLASH" = "yes"; then
46683 cat >>confdefs.h <<\_ACEOF
46684 #define wxUSE_SPLASH 1
46685 _ACEOF
46686
46687 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46688 fi
46689
46690 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46691 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46692 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46693 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46694 else
46695 cat >>confdefs.h <<\_ACEOF
46696 #define wxUSE_STARTUP_TIPS 1
46697 _ACEOF
46698
46699 fi
46700 fi
46701
46702 if test "$wxUSE_TEXTDLG" = "yes"; then
46703 cat >>confdefs.h <<\_ACEOF
46704 #define wxUSE_TEXTDLG 1
46705 _ACEOF
46706
46707 fi
46708
46709 if test "$wxUSE_WIZARDDLG" = "yes"; then
46710 cat >>confdefs.h <<\_ACEOF
46711 #define wxUSE_WIZARDDLG 1
46712 _ACEOF
46713
46714 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46715 fi
46716
46717
46718 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46719 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
46720 cat >>confdefs.h <<\_ACEOF
46721 #define wxUSE_GRAPHICS_CONTEXT 1
46722 _ACEOF
46723
46724 elif test "$wxUSE_GTK" != 1; then
46725 cat >>confdefs.h <<\_ACEOF
46726 #define wxUSE_GRAPHICS_CONTEXT 1
46727 _ACEOF
46728
46729 else
46730
46731 pkg_failed=no
46732 echo "$as_me:$LINENO: checking for CAIRO" >&5
46733 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
46734
46735 if test -n "$PKG_CONFIG"; then
46736 if test -n "$CAIRO_CFLAGS"; then
46737 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46738 else
46739 if test -n "$PKG_CONFIG" && \
46740 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46741 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46742 ac_status=$?
46743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46744 (exit $ac_status); }; then
46745 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46746 else
46747 pkg_failed=yes
46748 fi
46749 fi
46750 else
46751 pkg_failed=untried
46752 fi
46753 if test -n "$PKG_CONFIG"; then
46754 if test -n "$CAIRO_LIBS"; then
46755 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46756 else
46757 if test -n "$PKG_CONFIG" && \
46758 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46759 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46760 ac_status=$?
46761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46762 (exit $ac_status); }; then
46763 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46764 else
46765 pkg_failed=yes
46766 fi
46767 fi
46768 else
46769 pkg_failed=untried
46770 fi
46771
46772
46773
46774 if test $pkg_failed = yes; then
46775
46776 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46777 _pkg_short_errors_supported=yes
46778 else
46779 _pkg_short_errors_supported=no
46780 fi
46781 if test $_pkg_short_errors_supported = yes; then
46782 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46783 else
46784 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46785 fi
46786 # Put the nasty error message in config.log where it belongs
46787 echo "$CAIRO_PKG_ERRORS" >&5
46788
46789 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46790 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46791
46792 elif test $pkg_failed = untried; then
46793 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46794 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46795
46796 else
46797 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46798 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46799 echo "$as_me:$LINENO: result: yes" >&5
46800 echo "${ECHO_T}yes" >&6
46801 cat >>confdefs.h <<\_ACEOF
46802 #define wxUSE_GRAPHICS_CONTEXT 1
46803 _ACEOF
46804
46805 fi
46806 fi
46807 fi
46808
46809
46810 USE_MEDIA=0
46811
46812 if test "$wxUSE_MEDIACTRL" = "yes"; then
46813 USE_MEDIA=1
46814
46815 if test "$wxUSE_GTK" = 1; then
46816 wxUSE_GSTREAMER="no"
46817
46818 GST_VERSION_MAJOR=0
46819 GST_VERSION_MINOR=10
46820 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46821
46822 if test "$wxUSE_GSTREAMER8" = "no"; then
46823
46824 pkg_failed=no
46825 echo "$as_me:$LINENO: checking for GST" >&5
46826 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46827
46828 if test -n "$PKG_CONFIG"; then
46829 if test -n "$GST_CFLAGS"; then
46830 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46831 else
46832 if test -n "$PKG_CONFIG" && \
46833 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46834 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46835 ac_status=$?
46836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46837 (exit $ac_status); }; then
46838 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46839 else
46840 pkg_failed=yes
46841 fi
46842 fi
46843 else
46844 pkg_failed=untried
46845 fi
46846 if test -n "$PKG_CONFIG"; then
46847 if test -n "$GST_LIBS"; then
46848 pkg_cv_GST_LIBS="$GST_LIBS"
46849 else
46850 if test -n "$PKG_CONFIG" && \
46851 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46852 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46853 ac_status=$?
46854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46855 (exit $ac_status); }; then
46856 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46857 else
46858 pkg_failed=yes
46859 fi
46860 fi
46861 else
46862 pkg_failed=untried
46863 fi
46864
46865
46866
46867 if test $pkg_failed = yes; then
46868
46869 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46870 _pkg_short_errors_supported=yes
46871 else
46872 _pkg_short_errors_supported=no
46873 fi
46874 if test $_pkg_short_errors_supported = yes; then
46875 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46876 else
46877 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46878 fi
46879 # Put the nasty error message in config.log where it belongs
46880 echo "$GST_PKG_ERRORS" >&5
46881
46882
46883 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46884 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46885 GST_VERSION_MINOR=8
46886
46887
46888 elif test $pkg_failed = untried; then
46889
46890 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46891 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46892 GST_VERSION_MINOR=8
46893
46894
46895 else
46896 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46897 GST_LIBS=$pkg_cv_GST_LIBS
46898 echo "$as_me:$LINENO: result: yes" >&5
46899 echo "${ECHO_T}yes" >&6
46900
46901 wxUSE_GSTREAMER="yes"
46902 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46903
46904 fi
46905 else
46906 GST_VERSION_MINOR=8
46907 fi
46908
46909 if test $GST_VERSION_MINOR = "8"; then
46910 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46911
46912 pkg_failed=no
46913 echo "$as_me:$LINENO: checking for GST" >&5
46914 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46915
46916 if test -n "$PKG_CONFIG"; then
46917 if test -n "$GST_CFLAGS"; then
46918 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46919 else
46920 if test -n "$PKG_CONFIG" && \
46921 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46922 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46923 ac_status=$?
46924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46925 (exit $ac_status); }; then
46926 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46927 else
46928 pkg_failed=yes
46929 fi
46930 fi
46931 else
46932 pkg_failed=untried
46933 fi
46934 if test -n "$PKG_CONFIG"; then
46935 if test -n "$GST_LIBS"; then
46936 pkg_cv_GST_LIBS="$GST_LIBS"
46937 else
46938 if test -n "$PKG_CONFIG" && \
46939 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46940 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46941 ac_status=$?
46942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46943 (exit $ac_status); }; then
46944 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46945 else
46946 pkg_failed=yes
46947 fi
46948 fi
46949 else
46950 pkg_failed=untried
46951 fi
46952
46953
46954
46955 if test $pkg_failed = yes; then
46956
46957 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46958 _pkg_short_errors_supported=yes
46959 else
46960 _pkg_short_errors_supported=no
46961 fi
46962 if test $_pkg_short_errors_supported = yes; then
46963 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46964 else
46965 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46966 fi
46967 # Put the nasty error message in config.log where it belongs
46968 echo "$GST_PKG_ERRORS" >&5
46969
46970
46971 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46972 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46973
46974 elif test $pkg_failed = untried; then
46975
46976 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46977 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46978
46979 else
46980 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46981 GST_LIBS=$pkg_cv_GST_LIBS
46982 echo "$as_me:$LINENO: result: yes" >&5
46983 echo "${ECHO_T}yes" >&6
46984 wxUSE_GSTREAMER="yes"
46985 fi
46986 fi
46987
46988
46989 if test "$wxUSE_GSTREAMER" = "yes"; then
46990 case "${host}" in
46991 *-*-solaris2* )
46992 if "$GCC" = yes; then
46993 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
46994 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
46995 fi
46996 esac
46997
46998 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46999 LIBS="$GST_LIBS $LIBS"
47000
47001 cat >>confdefs.h <<\_ACEOF
47002 #define wxUSE_GSTREAMER 1
47003 _ACEOF
47004
47005 else
47006 USE_MEDIA=0
47007 fi
47008 fi
47009
47010 if test $USE_MEDIA = 1; then
47011 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47012 cat >>confdefs.h <<\_ACEOF
47013 #define wxUSE_MEDIACTRL 1
47014 _ACEOF
47015
47016 fi
47017 fi
47018
47019
47020 if test "$cross_compiling" = "yes"; then
47021 OSINFO="\"$host\""
47022 else
47023 OSINFO=`uname -s -r -m`
47024 OSINFO="\"$OSINFO\""
47025 fi
47026
47027 cat >>confdefs.h <<_ACEOF
47028 #define WXWIN_OS_DESCRIPTION $OSINFO
47029 _ACEOF
47030
47031
47032
47033 if test "x$prefix" != "xNONE"; then
47034 wxPREFIX=$prefix
47035 else
47036 wxPREFIX=$ac_default_prefix
47037 fi
47038
47039 cat >>confdefs.h <<_ACEOF
47040 #define wxINSTALL_PREFIX "$wxPREFIX"
47041 _ACEOF
47042
47043
47044
47045
47046 CORE_BASE_LIBS="net base"
47047 CORE_GUI_LIBS="adv core"
47048
47049 if test "$wxUSE_XML" = "yes" ; then
47050 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
47051 fi
47052 if test "$wxUSE_ODBC" != "no" ; then
47053 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
47054 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
47055 fi
47056 if test "$wxUSE_HTML" = "yes" ; then
47057 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
47058 fi
47059 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47060 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
47061 fi
47062 if test "$wxUSE_XRC" = "yes" ; then
47063 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
47064 fi
47065 if test "$wxUSE_AUI" = "yes" ; then
47066 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
47067 fi
47068
47069 if test "$wxUSE_GUI" != "yes"; then
47070 CORE_GUI_LIBS=""
47071 fi
47072
47073
47074
47075
47076
47077 ac_ext=c
47078 ac_cpp='$CPP $CPPFLAGS'
47079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47082
47083
47084
47085 if test "$wxUSE_MAC" = 1 ; then
47086 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47087 if test "$USE_DARWIN" = 1; then
47088 LDFLAGS="$LDFLAGS -framework QuickTime"
47089 else
47090 LDFLAGS="$LDFLAGS -lQuickTimeLib"
47091 fi
47092 fi
47093 if test "$USE_DARWIN" = 1; then
47094 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
47095 else
47096 LDFLAGS="$LDFLAGS -lCarbonLib"
47097 fi
47098 fi
47099 if test "$wxUSE_COCOA" = 1 ; then
47100 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47101 if test "$wxUSE_MEDIACTRL" = "yes"; then
47102 LDFLAGS="$LDFLAGS -framework QuickTime"
47103 fi
47104 fi
47105 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47106 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47107 fi
47108
47109 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47110
47111 if test "$wxUSE_GUI" = "yes"; then
47112
47113
47114 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47115 dynamic erase event exec font image minimal mobile \
47116 mobile/wxedit mobile/styles propsize render \
47117 rotate shaped vscroll widgets"
47118
47119 if test "$wxUSE_MONOLITHIC" != "yes"; then
47120 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47121 fi
47122 if test "$TOOLKIT" = "MSW"; then
47123 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47124 if test "$wxUSE_UNIVERSAL" != "yes"; then
47125 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47126 fi
47127 fi
47128 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47129 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47130 fi
47131 else
47132 SAMPLES_SUBDIRS="console"
47133 fi
47134
47135
47136 if test "x$INTELCC" = "xyes" ; then
47137 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
47138 elif test "$GCC" = yes ; then
47139 CWARNINGS="-Wall -Wundef"
47140 fi
47141
47142 if test "x$INTELCXX" = "xyes" ; then
47143 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
47144 elif test "$GXX" = yes ; then
47145 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
47146 fi
47147
47148
47149 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47150 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47151
47152
47153 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47154 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
47155 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47156 $CPPFLAGS `
47157
47158 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47159 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47160 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
47161
47162 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47163
47164
47165 if test "x$MWCC" = "xyes"; then
47166
47167 CC="$CC -cwd source -I-"
47168 CXX="$CXX -cwd source -I-"
47169 fi
47170
47171
47172 LIBS=`echo $LIBS`
47173 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47174 EXTRALIBS_XML="$EXPAT_LINK"
47175 EXTRALIBS_HTML="$MSPACK_LINK"
47176 EXTRALIBS_ODBC="$ODBC_LINK"
47177 if test "$wxUSE_GUI" = "yes"; then
47178 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47179 fi
47180 if test "$wxUSE_OPENGL" = "yes"; then
47181 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47182 fi
47183
47184 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47185
47186 WXCONFIG_LIBS="$LIBS"
47187
47188 if test "$wxUSE_REGEX" = "builtin" ; then
47189 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47190 fi
47191 if test "$wxUSE_EXPAT" = "builtin" ; then
47192 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47193 fi
47194 if test "$wxUSE_ODBC" = "builtin" ; then
47195 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
47196 fi
47197 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47198 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47199 fi
47200 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47201 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47202 fi
47203 if test "$wxUSE_LIBPNG" = "builtin" ; then
47204 wxconfig_3rdparty="png $wxconfig_3rdparty"
47205 fi
47206 if test "$wxUSE_ZLIB" = "builtin" ; then
47207 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47208 fi
47209
47210 for i in $wxconfig_3rdparty ; do
47211 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47212 done
47213
47214
47215 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47216 WXUNIV=1
47217
47218 case "$wxUNIV_THEMES" in
47219 ''|all)
47220 cat >>confdefs.h <<\_ACEOF
47221 #define wxUSE_ALL_THEMES 1
47222 _ACEOF
47223
47224 ;;
47225
47226 *)
47227 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
47228 cat >>confdefs.h <<_ACEOF
47229 #define wxUSE_THEME_$t 1
47230 _ACEOF
47231
47232 done
47233 esac
47234 else
47235 WXUNIV=0
47236 fi
47237
47238
47239
47240
47241
47242
47243
47244
47245
47246 if test $wxUSE_MONOLITHIC = "yes" ; then
47247 MONOLITHIC=1
47248 else
47249 MONOLITHIC=0
47250 fi
47251
47252 if test $wxUSE_PLUGINS = "yes" ; then
47253 USE_PLUGINS=1
47254 else
47255 USE_PLUGINS=0
47256 fi
47257
47258 if test $wxUSE_ODBC != "no" ; then
47259 USE_ODBC=1
47260 else
47261 USE_ODBC=0
47262 fi
47263
47264 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47265 USE_QA=1
47266 else
47267 USE_QA=0
47268 fi
47269
47270 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47271 OFFICIAL_BUILD=1
47272 else
47273 OFFICIAL_BUILD=0
47274 fi
47275
47276
47277
47278
47279
47280
47281
47282
47283
47284
47285
47286
47287
47288
47289
47290
47291
47292
47293
47294
47295
47296
47297
47298
47299
47300 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
47301
47302
47303
47304
47305
47306
47307
47308
47309 case "$TOOLKIT" in
47310 GTK)
47311 TOOLKIT_DESC="GTK+"
47312 if test "$WXGTK20" = 1; then
47313 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47314 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47315 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47316 fi
47317 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47318 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47319 fi
47320 if test "$wxUSE_LIBHILDON" = "yes"; then
47321 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47322 fi
47323
47324 if test "$TOOLKIT_EXTRA" != ""; then
47325 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47326 fi
47327 fi
47328 ;;
47329
47330 ?*)
47331 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47332 ;;
47333
47334 *)
47335 TOOLKIT_DESC="base only"
47336 ;;
47337 esac
47338
47339 if test "$wxUSE_WINE" = "yes"; then
47340 BAKEFILE_FORCE_PLATFORM=win32
47341 fi
47342
47343 if test "$wxUSE_MAC" = 1 ; then
47344 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
47345 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
47346 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
47347 else
47348 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
47349 fi
47350 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
47351 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
47352 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
47353 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
47354 bk_use_pch=no
47355 fi
47356 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
47357 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
47358 fi
47359
47360 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47361 then
47362 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47363 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
47364 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47365 echo $ECHO_N "(cached) $ECHO_C" >&6
47366 else
47367
47368 echo '#include <stdio.h>
47369 const wchar_t test_var[] = L"awidetest";' > conftest.h
47370
47371 echo '#include "conftest.h"
47372 int main()
47373 {
47374 printf("%ls", test_var);
47375 return 0;
47376 }' > conftest.cpp
47377
47378 wx_cv_gcc_pch_bug="pch not supported"
47379
47380 if $CXX conftest.h >/dev/null 2>&1
47381 then
47382 wx_cv_gcc_pch_bug=
47383
47384 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47385 then
47386 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47387 grep awidetest >/dev/null
47388 then
47389 wx_cv_gcc_pch_bug=no
47390 else
47391 wx_cv_gcc_pch_bug=yes
47392 fi
47393 fi
47394 fi
47395
47396 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47397
47398 fi
47399 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47400 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
47401
47402 if test "$wx_cv_gcc_pch_bug" = yes; then
47403 bk_use_pch=no
47404 fi
47405 fi
47406
47407
47408
47409
47410 if test "x$BAKEFILE_HOST" = "x"; then
47411 if test "x${host}" = "x" ; then
47412 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47413 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47414 { (exit 1); exit 1; }; }
47415 fi
47416
47417 BAKEFILE_HOST="${host}"
47418 fi
47419
47420 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47421
47422 if test -n "$ac_tool_prefix"; then
47423 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47424 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47425 echo "$as_me:$LINENO: checking for $ac_word" >&5
47426 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47427 if test "${ac_cv_prog_RANLIB+set}" = set; then
47428 echo $ECHO_N "(cached) $ECHO_C" >&6
47429 else
47430 if test -n "$RANLIB"; then
47431 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47432 else
47433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47434 for as_dir in $PATH
47435 do
47436 IFS=$as_save_IFS
47437 test -z "$as_dir" && as_dir=.
47438 for ac_exec_ext in '' $ac_executable_extensions; do
47439 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47440 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47441 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47442 break 2
47443 fi
47444 done
47445 done
47446
47447 fi
47448 fi
47449 RANLIB=$ac_cv_prog_RANLIB
47450 if test -n "$RANLIB"; then
47451 echo "$as_me:$LINENO: result: $RANLIB" >&5
47452 echo "${ECHO_T}$RANLIB" >&6
47453 else
47454 echo "$as_me:$LINENO: result: no" >&5
47455 echo "${ECHO_T}no" >&6
47456 fi
47457
47458 fi
47459 if test -z "$ac_cv_prog_RANLIB"; then
47460 ac_ct_RANLIB=$RANLIB
47461 # Extract the first word of "ranlib", so it can be a program name with args.
47462 set dummy ranlib; ac_word=$2
47463 echo "$as_me:$LINENO: checking for $ac_word" >&5
47464 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47465 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47466 echo $ECHO_N "(cached) $ECHO_C" >&6
47467 else
47468 if test -n "$ac_ct_RANLIB"; then
47469 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47470 else
47471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47472 for as_dir in $PATH
47473 do
47474 IFS=$as_save_IFS
47475 test -z "$as_dir" && as_dir=.
47476 for ac_exec_ext in '' $ac_executable_extensions; do
47477 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47478 ac_cv_prog_ac_ct_RANLIB="ranlib"
47479 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47480 break 2
47481 fi
47482 done
47483 done
47484
47485 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
47486 fi
47487 fi
47488 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47489 if test -n "$ac_ct_RANLIB"; then
47490 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47491 echo "${ECHO_T}$ac_ct_RANLIB" >&6
47492 else
47493 echo "$as_me:$LINENO: result: no" >&5
47494 echo "${ECHO_T}no" >&6
47495 fi
47496
47497 RANLIB=$ac_ct_RANLIB
47498 else
47499 RANLIB="$ac_cv_prog_RANLIB"
47500 fi
47501
47502 # Find a good install program. We prefer a C program (faster),
47503 # so one script is as good as another. But avoid the broken or
47504 # incompatible versions:
47505 # SysV /etc/install, /usr/sbin/install
47506 # SunOS /usr/etc/install
47507 # IRIX /sbin/install
47508 # AIX /bin/install
47509 # AmigaOS /C/install, which installs bootblocks on floppy discs
47510 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47511 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47512 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47513 # OS/2's system install, which has a completely different semantic
47514 # ./install, which can be erroneously created by make from ./install.sh.
47515 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47516 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
47517 if test -z "$INSTALL"; then
47518 if test "${ac_cv_path_install+set}" = set; then
47519 echo $ECHO_N "(cached) $ECHO_C" >&6
47520 else
47521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47522 for as_dir in $PATH
47523 do
47524 IFS=$as_save_IFS
47525 test -z "$as_dir" && as_dir=.
47526 # Account for people who put trailing slashes in PATH elements.
47527 case $as_dir/ in
47528 ./ | .// | /cC/* | \
47529 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47530 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47531 /usr/ucb/* ) ;;
47532 *)
47533 # OSF1 and SCO ODT 3.0 have their own names for install.
47534 # Don't use installbsd from OSF since it installs stuff as root
47535 # by default.
47536 for ac_prog in ginstall scoinst install; do
47537 for ac_exec_ext in '' $ac_executable_extensions; do
47538 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
47539 if test $ac_prog = install &&
47540 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47541 # AIX install. It has an incompatible calling convention.
47542 :
47543 elif test $ac_prog = install &&
47544 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47545 # program-specific install script used by HP pwplus--don't use.
47546 :
47547 else
47548 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47549 break 3
47550 fi
47551 fi
47552 done
47553 done
47554 ;;
47555 esac
47556 done
47557
47558
47559 fi
47560 if test "${ac_cv_path_install+set}" = set; then
47561 INSTALL=$ac_cv_path_install
47562 else
47563 # As a last resort, use the slow shell script. We don't cache a
47564 # path for INSTALL within a source directory, because that will
47565 # break other packages using the cache if that directory is
47566 # removed, or if the path is relative.
47567 INSTALL=$ac_install_sh
47568 fi
47569 fi
47570 echo "$as_me:$LINENO: result: $INSTALL" >&5
47571 echo "${ECHO_T}$INSTALL" >&6
47572
47573 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47574 # It thinks the first close brace ends the variable substitution.
47575 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47576
47577 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47578
47579 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47580
47581 echo "$as_me:$LINENO: checking whether ln -s works" >&5
47582 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
47583 LN_S=$as_ln_s
47584 if test "$LN_S" = "ln -s"; then
47585 echo "$as_me:$LINENO: result: yes" >&5
47586 echo "${ECHO_T}yes" >&6
47587 else
47588 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47589 echo "${ECHO_T}no, using $LN_S" >&6
47590 fi
47591
47592
47593 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47594 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
47595 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
47596 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
47597 echo $ECHO_N "(cached) $ECHO_C" >&6
47598 else
47599 cat >conftest.make <<\_ACEOF
47600 all:
47601 @echo 'ac_maketemp="$(MAKE)"'
47602 _ACEOF
47603 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47604 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
47605 if test -n "$ac_maketemp"; then
47606 eval ac_cv_prog_make_${ac_make}_set=yes
47607 else
47608 eval ac_cv_prog_make_${ac_make}_set=no
47609 fi
47610 rm -f conftest.make
47611 fi
47612 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
47613 echo "$as_me:$LINENO: result: yes" >&5
47614 echo "${ECHO_T}yes" >&6
47615 SET_MAKE=
47616 else
47617 echo "$as_me:$LINENO: result: no" >&5
47618 echo "${ECHO_T}no" >&6
47619 SET_MAKE="MAKE=${MAKE-make}"
47620 fi
47621
47622
47623
47624 if test -n "$ac_tool_prefix"; then
47625 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47626 set dummy ${ac_tool_prefix}ar; ac_word=$2
47627 echo "$as_me:$LINENO: checking for $ac_word" >&5
47628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47629 if test "${ac_cv_prog_AR+set}" = set; then
47630 echo $ECHO_N "(cached) $ECHO_C" >&6
47631 else
47632 if test -n "$AR"; then
47633 ac_cv_prog_AR="$AR" # Let the user override the test.
47634 else
47635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47636 for as_dir in $PATH
47637 do
47638 IFS=$as_save_IFS
47639 test -z "$as_dir" && as_dir=.
47640 for ac_exec_ext in '' $ac_executable_extensions; do
47641 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47642 ac_cv_prog_AR="${ac_tool_prefix}ar"
47643 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47644 break 2
47645 fi
47646 done
47647 done
47648
47649 fi
47650 fi
47651 AR=$ac_cv_prog_AR
47652 if test -n "$AR"; then
47653 echo "$as_me:$LINENO: result: $AR" >&5
47654 echo "${ECHO_T}$AR" >&6
47655 else
47656 echo "$as_me:$LINENO: result: no" >&5
47657 echo "${ECHO_T}no" >&6
47658 fi
47659
47660 fi
47661 if test -z "$ac_cv_prog_AR"; then
47662 ac_ct_AR=$AR
47663 # Extract the first word of "ar", so it can be a program name with args.
47664 set dummy ar; ac_word=$2
47665 echo "$as_me:$LINENO: checking for $ac_word" >&5
47666 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47667 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47668 echo $ECHO_N "(cached) $ECHO_C" >&6
47669 else
47670 if test -n "$ac_ct_AR"; then
47671 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47672 else
47673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47674 for as_dir in $PATH
47675 do
47676 IFS=$as_save_IFS
47677 test -z "$as_dir" && as_dir=.
47678 for ac_exec_ext in '' $ac_executable_extensions; do
47679 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47680 ac_cv_prog_ac_ct_AR="ar"
47681 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47682 break 2
47683 fi
47684 done
47685 done
47686
47687 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
47688 fi
47689 fi
47690 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47691 if test -n "$ac_ct_AR"; then
47692 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47693 echo "${ECHO_T}$ac_ct_AR" >&6
47694 else
47695 echo "$as_me:$LINENO: result: no" >&5
47696 echo "${ECHO_T}no" >&6
47697 fi
47698
47699 AR=$ac_ct_AR
47700 else
47701 AR="$ac_cv_prog_AR"
47702 fi
47703
47704 if test -n "$ac_tool_prefix"; then
47705 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47706 set dummy ${ac_tool_prefix}strip; ac_word=$2
47707 echo "$as_me:$LINENO: checking for $ac_word" >&5
47708 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47709 if test "${ac_cv_prog_STRIP+set}" = set; then
47710 echo $ECHO_N "(cached) $ECHO_C" >&6
47711 else
47712 if test -n "$STRIP"; then
47713 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47714 else
47715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47716 for as_dir in $PATH
47717 do
47718 IFS=$as_save_IFS
47719 test -z "$as_dir" && as_dir=.
47720 for ac_exec_ext in '' $ac_executable_extensions; do
47721 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47722 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47723 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47724 break 2
47725 fi
47726 done
47727 done
47728
47729 fi
47730 fi
47731 STRIP=$ac_cv_prog_STRIP
47732 if test -n "$STRIP"; then
47733 echo "$as_me:$LINENO: result: $STRIP" >&5
47734 echo "${ECHO_T}$STRIP" >&6
47735 else
47736 echo "$as_me:$LINENO: result: no" >&5
47737 echo "${ECHO_T}no" >&6
47738 fi
47739
47740 fi
47741 if test -z "$ac_cv_prog_STRIP"; then
47742 ac_ct_STRIP=$STRIP
47743 # Extract the first word of "strip", so it can be a program name with args.
47744 set dummy strip; ac_word=$2
47745 echo "$as_me:$LINENO: checking for $ac_word" >&5
47746 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47747 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47748 echo $ECHO_N "(cached) $ECHO_C" >&6
47749 else
47750 if test -n "$ac_ct_STRIP"; then
47751 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47752 else
47753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47754 for as_dir in $PATH
47755 do
47756 IFS=$as_save_IFS
47757 test -z "$as_dir" && as_dir=.
47758 for ac_exec_ext in '' $ac_executable_extensions; do
47759 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47760 ac_cv_prog_ac_ct_STRIP="strip"
47761 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47762 break 2
47763 fi
47764 done
47765 done
47766
47767 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
47768 fi
47769 fi
47770 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47771 if test -n "$ac_ct_STRIP"; then
47772 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47773 echo "${ECHO_T}$ac_ct_STRIP" >&6
47774 else
47775 echo "$as_me:$LINENO: result: no" >&5
47776 echo "${ECHO_T}no" >&6
47777 fi
47778
47779 STRIP=$ac_ct_STRIP
47780 else
47781 STRIP="$ac_cv_prog_STRIP"
47782 fi
47783
47784 if test -n "$ac_tool_prefix"; then
47785 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47786 set dummy ${ac_tool_prefix}nm; ac_word=$2
47787 echo "$as_me:$LINENO: checking for $ac_word" >&5
47788 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47789 if test "${ac_cv_prog_NM+set}" = set; then
47790 echo $ECHO_N "(cached) $ECHO_C" >&6
47791 else
47792 if test -n "$NM"; then
47793 ac_cv_prog_NM="$NM" # Let the user override the test.
47794 else
47795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47796 for as_dir in $PATH
47797 do
47798 IFS=$as_save_IFS
47799 test -z "$as_dir" && as_dir=.
47800 for ac_exec_ext in '' $ac_executable_extensions; do
47801 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47802 ac_cv_prog_NM="${ac_tool_prefix}nm"
47803 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47804 break 2
47805 fi
47806 done
47807 done
47808
47809 fi
47810 fi
47811 NM=$ac_cv_prog_NM
47812 if test -n "$NM"; then
47813 echo "$as_me:$LINENO: result: $NM" >&5
47814 echo "${ECHO_T}$NM" >&6
47815 else
47816 echo "$as_me:$LINENO: result: no" >&5
47817 echo "${ECHO_T}no" >&6
47818 fi
47819
47820 fi
47821 if test -z "$ac_cv_prog_NM"; then
47822 ac_ct_NM=$NM
47823 # Extract the first word of "nm", so it can be a program name with args.
47824 set dummy nm; ac_word=$2
47825 echo "$as_me:$LINENO: checking for $ac_word" >&5
47826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47827 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47828 echo $ECHO_N "(cached) $ECHO_C" >&6
47829 else
47830 if test -n "$ac_ct_NM"; then
47831 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47832 else
47833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47834 for as_dir in $PATH
47835 do
47836 IFS=$as_save_IFS
47837 test -z "$as_dir" && as_dir=.
47838 for ac_exec_ext in '' $ac_executable_extensions; do
47839 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47840 ac_cv_prog_ac_ct_NM="nm"
47841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47842 break 2
47843 fi
47844 done
47845 done
47846
47847 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
47848 fi
47849 fi
47850 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47851 if test -n "$ac_ct_NM"; then
47852 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47853 echo "${ECHO_T}$ac_ct_NM" >&6
47854 else
47855 echo "$as_me:$LINENO: result: no" >&5
47856 echo "${ECHO_T}no" >&6
47857 fi
47858
47859 NM=$ac_ct_NM
47860 else
47861 NM="$ac_cv_prog_NM"
47862 fi
47863
47864
47865 case ${BAKEFILE_HOST} in
47866 *-hp-hpux* )
47867 INSTALL_DIR="mkdir -p"
47868 ;;
47869 *) INSTALL_DIR="$INSTALL -d"
47870 ;;
47871 esac
47872
47873
47874 LDFLAGS_GUI=
47875 case ${BAKEFILE_HOST} in
47876 *-*-cygwin* | *-*-mingw32* )
47877 LDFLAGS_GUI="-mwindows"
47878 esac
47879
47880
47881 fi
47882
47883 echo "$as_me:$LINENO: checking if make is GNU make" >&5
47884 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
47885 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47886 echo $ECHO_N "(cached) $ECHO_C" >&6
47887 else
47888
47889 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47890 egrep -s GNU > /dev/null); then
47891 bakefile_cv_prog_makeisgnu="yes"
47892 else
47893 bakefile_cv_prog_makeisgnu="no"
47894 fi
47895
47896 fi
47897 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47898 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
47899
47900 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47901 IF_GNU_MAKE=""
47902 else
47903 IF_GNU_MAKE="#"
47904 fi
47905
47906
47907
47908 PLATFORM_UNIX=0
47909 PLATFORM_WIN32=0
47910 PLATFORM_MSDOS=0
47911 PLATFORM_MAC=0
47912 PLATFORM_MACOS=0
47913 PLATFORM_MACOSX=0
47914 PLATFORM_OS2=0
47915 PLATFORM_BEOS=0
47916
47917 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47918 case "${BAKEFILE_HOST}" in
47919 *-*-mingw32* )
47920 PLATFORM_WIN32=1
47921 ;;
47922 *-pc-msdosdjgpp )
47923 PLATFORM_MSDOS=1
47924 ;;
47925 *-pc-os2_emx | *-pc-os2-emx )
47926 PLATFORM_OS2=1
47927 ;;
47928 *-*-darwin* )
47929 PLATFORM_MAC=1
47930 PLATFORM_MACOSX=1
47931 ;;
47932 *-*-beos* )
47933 PLATFORM_BEOS=1
47934 ;;
47935 powerpc-apple-macos* )
47936 PLATFORM_MAC=1
47937 PLATFORM_MACOS=1
47938 ;;
47939 * )
47940 PLATFORM_UNIX=1
47941 ;;
47942 esac
47943 else
47944 case "$BAKEFILE_FORCE_PLATFORM" in
47945 win32 )
47946 PLATFORM_WIN32=1
47947 ;;
47948 msdos )
47949 PLATFORM_MSDOS=1
47950 ;;
47951 os2 )
47952 PLATFORM_OS2=1
47953 ;;
47954 darwin )
47955 PLATFORM_MAC=1
47956 PLATFORM_MACOSX=1
47957 ;;
47958 unix )
47959 PLATFORM_UNIX=1
47960 ;;
47961 beos )
47962 PLATFORM_BEOS=1
47963 ;;
47964 * )
47965 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
47966 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
47967 { (exit 1); exit 1; }; }
47968 ;;
47969 esac
47970 fi
47971
47972
47973
47974
47975
47976
47977
47978
47979
47980
47981
47982 # Check whether --enable-omf or --disable-omf was given.
47983 if test "${enable_omf+set}" = set; then
47984 enableval="$enable_omf"
47985 bk_os2_use_omf="$enableval"
47986 fi;
47987
47988 case "${BAKEFILE_HOST}" in
47989 *-*-darwin* )
47990 if test "x$GCC" = "xyes"; then
47991 CFLAGS="$CFLAGS -fno-common"
47992 CXXFLAGS="$CXXFLAGS -fno-common"
47993 fi
47994 if test "x$XLCC" = "xyes"; then
47995 CFLAGS="$CFLAGS -qnocommon"
47996 CXXFLAGS="$CXXFLAGS -qnocommon"
47997 fi
47998 ;;
47999
48000 *-pc-os2_emx | *-pc-os2-emx )
48001 if test "x$bk_os2_use_omf" = "xyes" ; then
48002 AR=emxomfar
48003 RANLIB=:
48004 LDFLAGS="-Zomf $LDFLAGS"
48005 CFLAGS="-Zomf $CFLAGS"
48006 CXXFLAGS="-Zomf $CXXFLAGS"
48007 OS2_LIBEXT="lib"
48008 else
48009 OS2_LIBEXT="a"
48010 fi
48011 ;;
48012
48013 i*86-*-beos* )
48014 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48015 ;;
48016 esac
48017
48018
48019 SO_SUFFIX="so"
48020 SO_SUFFIX_MODULE="so"
48021 EXEEXT=""
48022 LIBPREFIX="lib"
48023 LIBEXT=".a"
48024 DLLPREFIX="lib"
48025 DLLPREFIX_MODULE=""
48026 DLLIMP_SUFFIX=""
48027 dlldir="$libdir"
48028
48029 case "${BAKEFILE_HOST}" in
48030 *-hp-hpux* )
48031 SO_SUFFIX="sl"
48032 SO_SUFFIX_MODULE="sl"
48033 ;;
48034 *-*-aix* )
48035 SO_SUFFIX="a"
48036 SO_SUFFIX_MODULE="a"
48037 ;;
48038 *-*-cygwin* )
48039 SO_SUFFIX="dll"
48040 SO_SUFFIX_MODULE="dll"
48041 DLLIMP_SUFFIX="dll.a"
48042 EXEEXT=".exe"
48043 DLLPREFIX="cyg"
48044 dlldir="$bindir"
48045 ;;
48046 *-*-mingw32* )
48047 SO_SUFFIX="dll"
48048 SO_SUFFIX_MODULE="dll"
48049 DLLIMP_SUFFIX="dll.a"
48050 EXEEXT=".exe"
48051 DLLPREFIX=""
48052 dlldir="$bindir"
48053 ;;
48054 *-pc-msdosdjgpp )
48055 EXEEXT=".exe"
48056 DLLPREFIX=""
48057 dlldir="$bindir"
48058 ;;
48059 *-pc-os2_emx | *-pc-os2-emx )
48060 SO_SUFFIX="dll"
48061 SO_SUFFIX_MODULE="dll"
48062 DLLIMP_SUFFIX=$OS2_LIBEXT
48063 EXEEXT=".exe"
48064 DLLPREFIX=""
48065 LIBPREFIX=""
48066 LIBEXT=".$OS2_LIBEXT"
48067 dlldir="$bindir"
48068 ;;
48069 *-*-darwin* )
48070 SO_SUFFIX="dylib"
48071 SO_SUFFIX_MODULE="bundle"
48072 ;;
48073 esac
48074
48075 if test "x$DLLIMP_SUFFIX" = "x" ; then
48076 DLLIMP_SUFFIX="$SO_SUFFIX"
48077 fi
48078
48079
48080
48081
48082
48083
48084
48085
48086
48087
48088
48089
48090 PIC_FLAG=""
48091 if test "x$GCC" = "xyes"; then
48092 PIC_FLAG="-fPIC"
48093 fi
48094
48095 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48096 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48097 WINDOWS_IMPLIB=0
48098
48099 case "${BAKEFILE_HOST}" in
48100 *-hp-hpux* )
48101 if test "x$GCC" != "xyes"; then
48102 LDFLAGS="$LDFLAGS -L/usr/lib"
48103
48104 SHARED_LD_CC="${CC} -b -o"
48105 SHARED_LD_CXX="${CXX} -b -o"
48106 PIC_FLAG="+Z"
48107 fi
48108 ;;
48109
48110 *-*-linux* )
48111 if test "x$GCC" != "xyes"; then
48112 echo "$as_me:$LINENO: checking for Intel compiler" >&5
48113 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
48114 if test "${bakefile_cv_prog_icc+set}" = set; then
48115 echo $ECHO_N "(cached) $ECHO_C" >&6
48116 else
48117
48118 cat >conftest.$ac_ext <<_ACEOF
48119 /* confdefs.h. */
48120 _ACEOF
48121 cat confdefs.h >>conftest.$ac_ext
48122 cat >>conftest.$ac_ext <<_ACEOF
48123 /* end confdefs.h. */
48124
48125 int
48126 main ()
48127 {
48128
48129 #ifndef __INTEL_COMPILER
48130 This is not ICC
48131 #endif
48132
48133 ;
48134 return 0;
48135 }
48136 _ACEOF
48137 rm -f conftest.$ac_objext
48138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48139 (eval $ac_compile) 2>conftest.er1
48140 ac_status=$?
48141 grep -v '^ *+' conftest.er1 >conftest.err
48142 rm -f conftest.er1
48143 cat conftest.err >&5
48144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48145 (exit $ac_status); } &&
48146 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48148 (eval $ac_try) 2>&5
48149 ac_status=$?
48150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48151 (exit $ac_status); }; } &&
48152 { ac_try='test -s conftest.$ac_objext'
48153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48154 (eval $ac_try) 2>&5
48155 ac_status=$?
48156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48157 (exit $ac_status); }; }; then
48158 bakefile_cv_prog_icc=yes
48159 else
48160 echo "$as_me: failed program was:" >&5
48161 sed 's/^/| /' conftest.$ac_ext >&5
48162
48163 bakefile_cv_prog_icc=no
48164
48165 fi
48166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48167
48168 fi
48169 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
48170 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
48171 if test "$bakefile_cv_prog_icc" = "yes"; then
48172 PIC_FLAG="-KPIC"
48173 fi
48174 fi
48175 ;;
48176
48177 *-*-solaris2* )
48178 if test "x$GCC" != xyes ; then
48179 SHARED_LD_CC="${CC} -G -o"
48180 SHARED_LD_CXX="${CXX} -G -o"
48181 PIC_FLAG="-KPIC"
48182 fi
48183 ;;
48184
48185 *-*-darwin* )
48186
48187 D='$'
48188 cat <<EOF >shared-ld-sh
48189 #!/bin/sh
48190 #-----------------------------------------------------------------------------
48191 #-- Name: distrib/mac/shared-ld-sh
48192 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48193 #-- Author: Gilles Depeyrot
48194 #-- Copyright: (c) 2002 Gilles Depeyrot
48195 #-- Licence: any use permitted
48196 #-----------------------------------------------------------------------------
48197
48198 verbose=0
48199 args=""
48200 objects=""
48201 linking_flag="-dynamiclib"
48202 ldargs="-r -keep_private_externs -nostdlib"
48203
48204 while test ${D}# -gt 0; do
48205 case ${D}1 in
48206
48207 -v)
48208 verbose=1
48209 ;;
48210
48211 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48212 # collect these options and values
48213 args="${D}{args} ${D}1 ${D}2"
48214 shift
48215 ;;
48216
48217 -s|-Wl,*)
48218 # collect these load args
48219 ldargs="${D}{ldargs} ${D}1"
48220 ;;
48221
48222 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48223 # collect these options
48224 args="${D}{args} ${D}1"
48225 ;;
48226
48227 -dynamiclib|-bundle)
48228 linking_flag="${D}1"
48229 ;;
48230
48231 -*)
48232 echo "shared-ld: unhandled option '${D}1'"
48233 exit 1
48234 ;;
48235
48236 *.o | *.a | *.dylib)
48237 # collect object files
48238 objects="${D}{objects} ${D}1"
48239 ;;
48240
48241 *)
48242 echo "shared-ld: unhandled argument '${D}1'"
48243 exit 1
48244 ;;
48245
48246 esac
48247 shift
48248 done
48249
48250 status=0
48251
48252 #
48253 # Link one module containing all the others
48254 #
48255 if test ${D}{verbose} = 1; then
48256 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48257 fi
48258 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48259 status=${D}?
48260
48261 #
48262 # Link the shared library from the single module created, but only if the
48263 # previous command didn't fail:
48264 #
48265 if test ${D}{status} = 0; then
48266 if test ${D}{verbose} = 1; then
48267 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48268 fi
48269 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48270 status=${D}?
48271 fi
48272
48273 #
48274 # Remove intermediate module
48275 #
48276 rm -f master.${D}${D}.o
48277
48278 exit ${D}status
48279 EOF
48280
48281 chmod +x shared-ld-sh
48282
48283 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48284 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
48285
48286
48287 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48288 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
48289 if test "${bakefile_cv_gcc31+set}" = set; then
48290 echo $ECHO_N "(cached) $ECHO_C" >&6
48291 else
48292
48293 cat >conftest.$ac_ext <<_ACEOF
48294 /* confdefs.h. */
48295 _ACEOF
48296 cat confdefs.h >>conftest.$ac_ext
48297 cat >>conftest.$ac_ext <<_ACEOF
48298 /* end confdefs.h. */
48299
48300 int
48301 main ()
48302 {
48303
48304 #if (__GNUC__ < 3) || \
48305 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48306 This is old gcc
48307 #endif
48308
48309 ;
48310 return 0;
48311 }
48312 _ACEOF
48313 rm -f conftest.$ac_objext
48314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48315 (eval $ac_compile) 2>conftest.er1
48316 ac_status=$?
48317 grep -v '^ *+' conftest.er1 >conftest.err
48318 rm -f conftest.er1
48319 cat conftest.err >&5
48320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48321 (exit $ac_status); } &&
48322 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48324 (eval $ac_try) 2>&5
48325 ac_status=$?
48326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48327 (exit $ac_status); }; } &&
48328 { ac_try='test -s conftest.$ac_objext'
48329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48330 (eval $ac_try) 2>&5
48331 ac_status=$?
48332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48333 (exit $ac_status); }; }; then
48334
48335 bakefile_cv_gcc31=yes
48336
48337 else
48338 echo "$as_me: failed program was:" >&5
48339 sed 's/^/| /' conftest.$ac_ext >&5
48340
48341
48342 bakefile_cv_gcc31=no
48343
48344
48345 fi
48346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48347
48348 fi
48349 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48350 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
48351 if test "$bakefile_cv_gcc31" = "no"; then
48352 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48353 SHARED_LD_CXX="$SHARED_LD_CC"
48354 else
48355 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48356 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48357 fi
48358
48359 if test "x$GCC" == "xyes"; then
48360 PIC_FLAG="-dynamic -fPIC"
48361 fi
48362 if test "x$XLCC" = "xyes"; then
48363 PIC_FLAG="-dynamic -DPIC"
48364 fi
48365 ;;
48366
48367 *-*-aix* )
48368 if test "x$GCC" = "xyes"; then
48369 PIC_FLAG=""
48370
48371 case "${BAKEFILE_HOST}" in
48372 *-*-aix5* )
48373 LD_EXPFULL="-Wl,-bexpfull"
48374 ;;
48375 esac
48376
48377 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48378 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48379 else
48380 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48381 set dummy makeC++SharedLib; ac_word=$2
48382 echo "$as_me:$LINENO: checking for $ac_word" >&5
48383 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48384 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48385 echo $ECHO_N "(cached) $ECHO_C" >&6
48386 else
48387 if test -n "$AIX_CXX_LD"; then
48388 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48389 else
48390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48391 for as_dir in $PATH
48392 do
48393 IFS=$as_save_IFS
48394 test -z "$as_dir" && as_dir=.
48395 for ac_exec_ext in '' $ac_executable_extensions; do
48396 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48397 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48398 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48399 break 2
48400 fi
48401 done
48402 done
48403
48404 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48405 fi
48406 fi
48407 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48408 if test -n "$AIX_CXX_LD"; then
48409 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48410 echo "${ECHO_T}$AIX_CXX_LD" >&6
48411 else
48412 echo "$as_me:$LINENO: result: no" >&5
48413 echo "${ECHO_T}no" >&6
48414 fi
48415
48416 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48417 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48418 fi
48419 ;;
48420
48421 *-*-beos* )
48422 SHARED_LD_CC="${LD} -nostart -o"
48423 SHARED_LD_CXX="${LD} -nostart -o"
48424 ;;
48425
48426 *-*-irix* )
48427 if test "x$GCC" != "xyes"; then
48428 PIC_FLAG="-KPIC"
48429 fi
48430 ;;
48431
48432 *-*-cygwin* | *-*-mingw32* )
48433 PIC_FLAG=""
48434 SHARED_LD_CC="\$(CC) -shared -o"
48435 SHARED_LD_CXX="\$(CXX) -shared -o"
48436 WINDOWS_IMPLIB=1
48437 ;;
48438
48439 *-pc-os2_emx | *-pc-os2-emx )
48440 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48441 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48442 PIC_FLAG=""
48443
48444 D='$'
48445 cat <<EOF >dllar.sh
48446 #!/bin/sh
48447 #
48448 # dllar - a tool to build both a .dll and an .a file
48449 # from a set of object (.o) files for EMX/OS2.
48450 #
48451 # Written by Andrew Zabolotny, bit@freya.etu.ru
48452 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48453 #
48454 # This script will accept a set of files on the command line.
48455 # All the public symbols from the .o files will be exported into
48456 # a .DEF file, then linker will be run (through gcc) against them to
48457 # build a shared library consisting of all given .o files. All libraries
48458 # (.a) will be first decompressed into component .o files then act as
48459 # described above. You can optionally give a description (-d "description")
48460 # which will be put into .DLL. To see the list of accepted options (as well
48461 # as command-line format) simply run this program without options. The .DLL
48462 # is built to be imported by name (there is no guarantee that new versions
48463 # of the library you build will have same ordinals for same symbols).
48464 #
48465 # dllar is free software; you can redistribute it and/or modify
48466 # it under the terms of the GNU General Public License as published by
48467 # the Free Software Foundation; either version 2, or (at your option)
48468 # any later version.
48469 #
48470 # dllar is distributed in the hope that it will be useful,
48471 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48472 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48473 # GNU General Public License for more details.
48474 #
48475 # You should have received a copy of the GNU General Public License
48476 # along with dllar; see the file COPYING. If not, write to the Free
48477 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48478 # 02111-1307, USA.
48479
48480 # To successfuly run this program you will need:
48481 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48482 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48483 # - gcc
48484 # (used to build the .dll)
48485 # - emxexp
48486 # (used to create .def file from .o files)
48487 # - emximp
48488 # (used to create .a file from .def file)
48489 # - GNU text utilites (cat, sort, uniq)
48490 # used to process emxexp output
48491 # - GNU file utilities (mv, rm)
48492 # - GNU sed
48493 # - lxlite (optional, see flag below)
48494 # (used for general .dll cleanup)
48495 #
48496
48497 flag_USE_LXLITE=1;
48498
48499 #
48500 # helper functions
48501 # basnam, variant of basename, which does _not_ remove the path, _iff_
48502 # second argument (suffix to remove) is given
48503 basnam(){
48504 case ${D}# in
48505 1)
48506 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48507 ;;
48508 2)
48509 echo ${D}1 | sed 's/'${D}2'${D}//'
48510 ;;
48511 *)
48512 echo "error in basnam ${D}*"
48513 exit 8
48514 ;;
48515 esac
48516 }
48517
48518 # Cleanup temporary files and output
48519 CleanUp() {
48520 cd ${D}curDir
48521 for i in ${D}inputFiles ; do
48522 case ${D}i in
48523 *!)
48524 rm -rf \`basnam ${D}i !\`
48525 ;;
48526 *)
48527 ;;
48528 esac
48529 done
48530
48531 # Kill result in case of failure as there is just to many stupid make/nmake
48532 # things out there which doesn't do this.
48533 if [ ${D}# -eq 0 ]; then
48534 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48535 fi
48536 }
48537
48538 # Print usage and exit script with rc=1.
48539 PrintHelp() {
48540 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48541 echo ' [-name-mangler-script script.sh]'
48542 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48543 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48544 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48545 echo ' [*.o] [*.a]'
48546 echo '*> "output_file" should have no extension.'
48547 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48548 echo ' The import library name is derived from this and is set to "name".a,'
48549 echo ' unless overridden by -import'
48550 echo '*> "importlib_name" should have no extension.'
48551 echo ' If it has the .o, or .a extension, it is automatically removed.'
48552 echo ' This name is used as the import library name and may be longer and'
48553 echo ' more descriptive than the DLL name which has to follow the old '
48554 echo ' 8.3 convention of FAT.'
48555 echo '*> "script.sh may be given to override the output_file name by a'
48556 echo ' different name. It is mainly useful if the regular make process'
48557 echo ' of some package does not take into account OS/2 restriction of'
48558 echo ' DLL name lengths. It takes the importlib name as input and is'
48559 echo ' supposed to procude a shorter name as output. The script should'
48560 echo ' expect to get importlib_name without extension and should produce'
48561 echo ' a (max.) 8 letter name without extension.'
48562 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48563 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48564 echo ' These flags will be put at the start of GCC command line.'
48565 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48566 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48567 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48568 echo ' If the last character of a symbol is "*", all symbols beginning'
48569 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48570 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48571 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48572 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48573 echo ' C runtime DLLs.'
48574 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48575 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48576 echo ' unchanged to GCC at the end of command line.'
48577 echo '*> If you create a DLL from a library and you do not specify -o,'
48578 echo ' the basename for DLL and import library will be set to library name,'
48579 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48580 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48581 echo ' library will be renamed into gcc_s.a.'
48582 echo '--------'
48583 echo 'Example:'
48584 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48585 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48586 CleanUp
48587 exit 1
48588 }
48589
48590 # Execute a command.
48591 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48592 # @Uses Whatever CleanUp() uses.
48593 doCommand() {
48594 echo "${D}*"
48595 eval ${D}*
48596 rcCmd=${D}?
48597
48598 if [ ${D}rcCmd -ne 0 ]; then
48599 echo "command failed, exit code="${D}rcCmd
48600 CleanUp
48601 exit ${D}rcCmd
48602 fi
48603 }
48604
48605 # main routine
48606 # setup globals
48607 cmdLine=${D}*
48608 outFile=""
48609 outimpFile=""
48610 inputFiles=""
48611 renameScript=""
48612 description=""
48613 CC=gcc.exe
48614 CFLAGS="-s -Zcrtdll"
48615 EXTRA_CFLAGS=""
48616 EXPORT_BY_ORDINALS=0
48617 exclude_symbols=""
48618 library_flags=""
48619 curDir=\`pwd\`
48620 curDirS=curDir
48621 case ${D}curDirS in
48622 */)
48623 ;;
48624 *)
48625 curDirS=${D}{curDirS}"/"
48626 ;;
48627 esac
48628 # Parse commandline
48629 libsToLink=0
48630 omfLinking=0
48631 while [ ${D}1 ]; do
48632 case ${D}1 in
48633 -ord*)
48634 EXPORT_BY_ORDINALS=1;
48635 ;;
48636 -o*)
48637 shift
48638 outFile=${D}1
48639 ;;
48640 -i*)
48641 shift
48642 outimpFile=${D}1
48643 ;;
48644 -name-mangler-script)
48645 shift
48646 renameScript=${D}1
48647 ;;
48648 -d*)
48649 shift
48650 description=${D}1
48651 ;;
48652 -f*)
48653 shift
48654 CFLAGS=${D}1
48655 ;;
48656 -c*)
48657 shift
48658 CC=${D}1
48659 ;;
48660 -h*)
48661 PrintHelp
48662 ;;
48663 -ex*)
48664 shift
48665 exclude_symbols=${D}{exclude_symbols}${D}1" "
48666 ;;
48667 -libf*)
48668 shift
48669 library_flags=${D}{library_flags}${D}1" "
48670 ;;
48671 -nocrt*)
48672 CFLAGS="-s"
48673 ;;
48674 -nolxl*)
48675 flag_USE_LXLITE=0
48676 ;;
48677 -* | /*)
48678 case ${D}1 in
48679 -L* | -l*)
48680 libsToLink=1
48681 ;;
48682 -Zomf)
48683 omfLinking=1
48684 ;;
48685 *)
48686 ;;
48687 esac
48688 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48689 ;;
48690 *.dll)
48691 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48692 if [ ${D}omfLinking -eq 1 ]; then
48693 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48694 else
48695 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48696 fi
48697 ;;
48698 *)
48699 found=0;
48700 if [ ${D}libsToLink -ne 0 ]; then
48701 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48702 else
48703 for file in ${D}1 ; do
48704 if [ -f ${D}file ]; then
48705 inputFiles="${D}{inputFiles} ${D}file"
48706 found=1
48707 fi
48708 done
48709 if [ ${D}found -eq 0 ]; then
48710 echo "ERROR: No file(s) found: "${D}1
48711 exit 8
48712 fi
48713 fi
48714 ;;
48715 esac
48716 shift
48717 done # iterate cmdline words
48718
48719 #
48720 if [ -z "${D}inputFiles" ]; then
48721 echo "dllar: no input files"
48722 PrintHelp
48723 fi
48724
48725 # Now extract all .o files from .a files
48726 newInputFiles=""
48727 for file in ${D}inputFiles ; do
48728 case ${D}file in
48729 *.a | *.lib)
48730 case ${D}file in
48731 *.a)
48732 suffix=".a"
48733 AR="ar"
48734 ;;
48735 *.lib)
48736 suffix=".lib"
48737 AR="emxomfar"
48738 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48739 ;;
48740 *)
48741 ;;
48742 esac
48743 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48744 mkdir ${D}dirname
48745 if [ ${D}? -ne 0 ]; then
48746 echo "Failed to create subdirectory ./${D}dirname"
48747 CleanUp
48748 exit 8;
48749 fi
48750 # Append '!' to indicate archive
48751 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48752 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48753 cd ${D}curDir
48754 found=0;
48755 for subfile in ${D}dirname/*.o* ; do
48756 if [ -f ${D}subfile ]; then
48757 found=1
48758 if [ -s ${D}subfile ]; then
48759 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48760 newInputFiles="${D}newInputFiles ${D}subfile"
48761 fi
48762 fi
48763 done
48764 if [ ${D}found -eq 0 ]; then
48765 echo "WARNING: there are no files in archive \\'${D}file\\'"
48766 fi
48767 ;;
48768 *)
48769 newInputFiles="${D}{newInputFiles} ${D}file"
48770 ;;
48771 esac
48772 done
48773 inputFiles="${D}newInputFiles"
48774
48775 # Output filename(s).
48776 do_backup=0;
48777 if [ -z ${D}outFile ]; then
48778 do_backup=1;
48779 set outFile ${D}inputFiles; outFile=${D}2
48780 fi
48781
48782 # If it is an archive, remove the '!' and the '_%' suffixes
48783 case ${D}outFile in
48784 *_%!)
48785 outFile=\`basnam ${D}outFile _%!\`
48786 ;;
48787 *)
48788 ;;
48789 esac
48790 case ${D}outFile in
48791 *.dll)
48792 outFile=\`basnam ${D}outFile .dll\`
48793 ;;
48794 *.DLL)
48795 outFile=\`basnam ${D}outFile .DLL\`
48796 ;;
48797 *.o)
48798 outFile=\`basnam ${D}outFile .o\`
48799 ;;
48800 *.obj)
48801 outFile=\`basnam ${D}outFile .obj\`
48802 ;;
48803 *.a)
48804 outFile=\`basnam ${D}outFile .a\`
48805 ;;
48806 *.lib)
48807 outFile=\`basnam ${D}outFile .lib\`
48808 ;;
48809 *)
48810 ;;
48811 esac
48812 case ${D}outimpFile in
48813 *.a)
48814 outimpFile=\`basnam ${D}outimpFile .a\`
48815 ;;
48816 *.lib)
48817 outimpFile=\`basnam ${D}outimpFile .lib\`
48818 ;;
48819 *)
48820 ;;
48821 esac
48822 if [ -z ${D}outimpFile ]; then
48823 outimpFile=${D}outFile
48824 fi
48825 defFile="${D}{outFile}.def"
48826 arcFile="${D}{outimpFile}.a"
48827 arcFile2="${D}{outimpFile}.lib"
48828
48829 #create ${D}dllFile as something matching 8.3 restrictions,
48830 if [ -z ${D}renameScript ] ; then
48831 dllFile="${D}outFile"
48832 else
48833 dllFile=\`${D}renameScript ${D}outimpFile\`
48834 fi
48835
48836 if [ ${D}do_backup -ne 0 ] ; then
48837 if [ -f ${D}arcFile ] ; then
48838 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48839 fi
48840 if [ -f ${D}arcFile2 ] ; then
48841 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48842 fi
48843 fi
48844
48845 # Extract public symbols from all the object files.
48846 tmpdefFile=${D}{defFile}_%
48847 rm -f ${D}tmpdefFile
48848 for file in ${D}inputFiles ; do
48849 case ${D}file in
48850 *!)
48851 ;;
48852 *)
48853 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48854 ;;
48855 esac
48856 done
48857
48858 # Create the def file.
48859 rm -f ${D}defFile
48860 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48861 dllFile="${D}{dllFile}.dll"
48862 if [ ! -z ${D}description ]; then
48863 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48864 fi
48865 echo "EXPORTS" >> ${D}defFile
48866
48867 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48868 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48869
48870 # Checks if the export is ok or not.
48871 for word in ${D}exclude_symbols; do
48872 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48873 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48874 done
48875
48876
48877 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48878 sed "=" < ${D}tmpdefFile | \\
48879 sed '
48880 N
48881 : loop
48882 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48883 t loop
48884 ' > ${D}{tmpdefFile}%
48885 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48886 else
48887 rm -f ${D}{tmpdefFile}%
48888 fi
48889 cat ${D}tmpdefFile >> ${D}defFile
48890 rm -f ${D}tmpdefFile
48891
48892 # Do linking, create implib, and apply lxlite.
48893 gccCmdl="";
48894 for file in ${D}inputFiles ; do
48895 case ${D}file in
48896 *!)
48897 ;;
48898 *)
48899 gccCmdl="${D}gccCmdl ${D}file"
48900 ;;
48901 esac
48902 done
48903 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48904 touch "${D}{outFile}.dll"
48905
48906 doCommand "emximp -o ${D}arcFile ${D}defFile"
48907 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48908 add_flags="";
48909 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48910 add_flags="-ynd"
48911 fi
48912 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48913 fi
48914 doCommand "emxomf -s -l ${D}arcFile"
48915
48916 # Successful exit.
48917 CleanUp 1
48918 exit 0
48919 EOF
48920
48921 chmod +x dllar.sh
48922 ;;
48923
48924 powerpc-apple-macos* | \
48925 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48926 *-*-sunos4* | \
48927 *-*-osf* | \
48928 *-*-dgux5* | \
48929 *-*-sysv5* | \
48930 *-pc-msdosdjgpp )
48931 ;;
48932
48933 *)
48934 esac
48935
48936 if test "x$PIC_FLAG" != "x" ; then
48937 PIC_FLAG="$PIC_FLAG -DPIC"
48938 fi
48939
48940 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48941 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48942 fi
48943 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48944 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48945 fi
48946
48947
48948
48949
48950
48951
48952
48953
48954
48955 USE_SOVERSION=0
48956 USE_SOVERLINUX=0
48957 USE_SOVERSOLARIS=0
48958 USE_SOVERCYGWIN=0
48959 USE_SOSYMLINKS=0
48960 USE_MACVERSION=0
48961 SONAME_FLAG=
48962
48963 case "${BAKEFILE_HOST}" in
48964 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
48965 SONAME_FLAG="-Wl,-soname,"
48966 USE_SOVERSION=1
48967 USE_SOVERLINUX=1
48968 USE_SOSYMLINKS=1
48969 ;;
48970
48971 *-*-solaris2* )
48972 SONAME_FLAG="-h "
48973 USE_SOVERSION=1
48974 USE_SOVERSOLARIS=1
48975 USE_SOSYMLINKS=1
48976 ;;
48977
48978 *-*-darwin* )
48979 USE_MACVERSION=1
48980 USE_SOVERSION=1
48981 USE_SOSYMLINKS=1
48982 ;;
48983
48984 *-*-cygwin* )
48985 USE_SOVERSION=1
48986 USE_SOVERCYGWIN=1
48987 ;;
48988 esac
48989
48990
48991
48992
48993
48994
48995
48996
48997
48998
48999 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
49000 if test "${enable_dependency_tracking+set}" = set; then
49001 enableval="$enable_dependency_tracking"
49002 bk_use_trackdeps="$enableval"
49003 fi;
49004
49005 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49006 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
49007
49008 if test "x$bk_use_trackdeps" = "xno" ; then
49009 DEPS_TRACKING=0
49010 echo "$as_me:$LINENO: result: disabled" >&5
49011 echo "${ECHO_T}disabled" >&6
49012 else
49013 DEPS_TRACKING=1
49014
49015 if test "x$GCC" = "xyes"; then
49016 DEPSMODE=gcc
49017 case "${BAKEFILE_HOST}" in
49018 *-*-darwin* )
49019 DEPSFLAG="-no-cpp-precomp -MMD"
49020 ;;
49021 * )
49022 DEPSFLAG="-MMD"
49023 ;;
49024 esac
49025 echo "$as_me:$LINENO: result: gcc" >&5
49026 echo "${ECHO_T}gcc" >&6
49027 elif test "x$MWCC" = "xyes"; then
49028 DEPSMODE=mwcc
49029 DEPSFLAG="-MM"
49030 echo "$as_me:$LINENO: result: mwcc" >&5
49031 echo "${ECHO_T}mwcc" >&6
49032 elif test "x$SUNCC" = "xyes"; then
49033 DEPSMODE=unixcc
49034 DEPSFLAG="-xM1"
49035 echo "$as_me:$LINENO: result: Sun cc" >&5
49036 echo "${ECHO_T}Sun cc" >&6
49037 elif test "x$SGICC" = "xyes"; then
49038 DEPSMODE=unixcc
49039 DEPSFLAG="-M"
49040 echo "$as_me:$LINENO: result: SGI cc" >&5
49041 echo "${ECHO_T}SGI cc" >&6
49042 elif test "x$HPCC" = "xyes"; then
49043 DEPSMODE=unixcc
49044 DEPSFLAG="+make"
49045 echo "$as_me:$LINENO: result: HP cc" >&5
49046 echo "${ECHO_T}HP cc" >&6
49047 elif test "x$COMPAQCC" = "xyes"; then
49048 DEPSMODE=gcc
49049 DEPSFLAG="-MD"
49050 echo "$as_me:$LINENO: result: Compaq cc" >&5
49051 echo "${ECHO_T}Compaq cc" >&6
49052 else
49053 DEPS_TRACKING=0
49054 echo "$as_me:$LINENO: result: none" >&5
49055 echo "${ECHO_T}none" >&6
49056 fi
49057
49058 if test $DEPS_TRACKING = 1 ; then
49059
49060 D='$'
49061 cat <<EOF >bk-deps
49062 #!/bin/sh
49063
49064 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49065 # script. It is used to track C/C++ files dependencies in portable way.
49066 #
49067 # Permission is given to use this file in any way.
49068
49069 DEPSMODE=${DEPSMODE}
49070 DEPSDIR=.deps
49071 DEPSFLAG="${DEPSFLAG}"
49072
49073 mkdir -p ${D}DEPSDIR
49074
49075 if test ${D}DEPSMODE = gcc ; then
49076 ${D}* ${D}{DEPSFLAG}
49077 status=${D}?
49078 if test ${D}{status} != 0 ; then
49079 exit ${D}{status}
49080 fi
49081 # move created file to the location we want it in:
49082 while test ${D}# -gt 0; do
49083 case "${D}1" in
49084 -o )
49085 shift
49086 objfile=${D}1
49087 ;;
49088 -* )
49089 ;;
49090 * )
49091 srcfile=${D}1
49092 ;;
49093 esac
49094 shift
49095 done
49096 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49097 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49098 if test -f ${D}depfile ; then
49099 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49100 rm -f ${D}depfile
49101 else
49102 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49103 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
49104 if test ! -f ${D}depfile ; then
49105 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49106 depfile="${D}objfile.d"
49107 fi
49108 if test -f ${D}depfile ; then
49109 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49110 rm -f ${D}depfile
49111 fi
49112 fi
49113 exit 0
49114 elif test ${D}DEPSMODE = mwcc ; then
49115 ${D}* || exit ${D}?
49116 # Run mwcc again with -MM and redirect into the dep file we want
49117 # NOTE: We can't use shift here because we need ${D}* to be valid
49118 prevarg=
49119 for arg in ${D}* ; do
49120 if test "${D}prevarg" = "-o"; then
49121 objfile=${D}arg
49122 else
49123 case "${D}arg" in
49124 -* )
49125 ;;
49126 * )
49127 srcfile=${D}arg
49128 ;;
49129 esac
49130 fi
49131 prevarg="${D}arg"
49132 done
49133 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
49134 exit 0
49135 elif test ${D}DEPSMODE = unixcc; then
49136 ${D}* || exit ${D}?
49137 # Run compiler again with deps flag and redirect into the dep file.
49138 # It doesn't work if the '-o FILE' option is used, but without it the
49139 # dependency file will contain the wrong name for the object. So it is
49140 # removed from the command line, and the dep file is fixed with sed.
49141 cmd=""
49142 while test ${D}# -gt 0; do
49143 case "${D}1" in
49144 -o )
49145 shift
49146 objfile=${D}1
49147 ;;
49148 * )
49149 eval arg${D}#=\\${D}1
49150 cmd="${D}cmd \\${D}arg${D}#"
49151 ;;
49152 esac
49153 shift
49154 done
49155 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
49156 exit 0
49157 else
49158 ${D}*
49159 exit ${D}?
49160 fi
49161 EOF
49162
49163 chmod +x bk-deps
49164 fi
49165 fi
49166
49167
49168
49169
49170 case ${BAKEFILE_HOST} in
49171 *-*-cygwin* | *-*-mingw32* )
49172 if test -n "$ac_tool_prefix"; then
49173 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49174 set dummy ${ac_tool_prefix}windres; ac_word=$2
49175 echo "$as_me:$LINENO: checking for $ac_word" >&5
49176 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49177 if test "${ac_cv_prog_WINDRES+set}" = set; then
49178 echo $ECHO_N "(cached) $ECHO_C" >&6
49179 else
49180 if test -n "$WINDRES"; then
49181 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49182 else
49183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49184 for as_dir in $PATH
49185 do
49186 IFS=$as_save_IFS
49187 test -z "$as_dir" && as_dir=.
49188 for ac_exec_ext in '' $ac_executable_extensions; do
49189 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49190 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49192 break 2
49193 fi
49194 done
49195 done
49196
49197 fi
49198 fi
49199 WINDRES=$ac_cv_prog_WINDRES
49200 if test -n "$WINDRES"; then
49201 echo "$as_me:$LINENO: result: $WINDRES" >&5
49202 echo "${ECHO_T}$WINDRES" >&6
49203 else
49204 echo "$as_me:$LINENO: result: no" >&5
49205 echo "${ECHO_T}no" >&6
49206 fi
49207
49208 fi
49209 if test -z "$ac_cv_prog_WINDRES"; then
49210 ac_ct_WINDRES=$WINDRES
49211 # Extract the first word of "windres", so it can be a program name with args.
49212 set dummy windres; ac_word=$2
49213 echo "$as_me:$LINENO: checking for $ac_word" >&5
49214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49215 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49216 echo $ECHO_N "(cached) $ECHO_C" >&6
49217 else
49218 if test -n "$ac_ct_WINDRES"; then
49219 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49220 else
49221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49222 for as_dir in $PATH
49223 do
49224 IFS=$as_save_IFS
49225 test -z "$as_dir" && as_dir=.
49226 for ac_exec_ext in '' $ac_executable_extensions; do
49227 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49228 ac_cv_prog_ac_ct_WINDRES="windres"
49229 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49230 break 2
49231 fi
49232 done
49233 done
49234
49235 fi
49236 fi
49237 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49238 if test -n "$ac_ct_WINDRES"; then
49239 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49240 echo "${ECHO_T}$ac_ct_WINDRES" >&6
49241 else
49242 echo "$as_me:$LINENO: result: no" >&5
49243 echo "${ECHO_T}no" >&6
49244 fi
49245
49246 WINDRES=$ac_ct_WINDRES
49247 else
49248 WINDRES="$ac_cv_prog_WINDRES"
49249 fi
49250
49251 ;;
49252
49253 *-*-darwin* | powerpc-apple-macos* )
49254 # Extract the first word of "Rez", so it can be a program name with args.
49255 set dummy Rez; ac_word=$2
49256 echo "$as_me:$LINENO: checking for $ac_word" >&5
49257 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49258 if test "${ac_cv_prog_REZ+set}" = set; then
49259 echo $ECHO_N "(cached) $ECHO_C" >&6
49260 else
49261 if test -n "$REZ"; then
49262 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49263 else
49264 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49265 for as_dir in $PATH
49266 do
49267 IFS=$as_save_IFS
49268 test -z "$as_dir" && as_dir=.
49269 for ac_exec_ext in '' $ac_executable_extensions; do
49270 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49271 ac_cv_prog_REZ="Rez"
49272 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49273 break 2
49274 fi
49275 done
49276 done
49277
49278 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49279 fi
49280 fi
49281 REZ=$ac_cv_prog_REZ
49282 if test -n "$REZ"; then
49283 echo "$as_me:$LINENO: result: $REZ" >&5
49284 echo "${ECHO_T}$REZ" >&6
49285 else
49286 echo "$as_me:$LINENO: result: no" >&5
49287 echo "${ECHO_T}no" >&6
49288 fi
49289
49290 # Extract the first word of "SetFile", so it can be a program name with args.
49291 set dummy SetFile; ac_word=$2
49292 echo "$as_me:$LINENO: checking for $ac_word" >&5
49293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49294 if test "${ac_cv_prog_SETFILE+set}" = set; then
49295 echo $ECHO_N "(cached) $ECHO_C" >&6
49296 else
49297 if test -n "$SETFILE"; then
49298 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49299 else
49300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49301 for as_dir in $PATH
49302 do
49303 IFS=$as_save_IFS
49304 test -z "$as_dir" && as_dir=.
49305 for ac_exec_ext in '' $ac_executable_extensions; do
49306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49307 ac_cv_prog_SETFILE="SetFile"
49308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49309 break 2
49310 fi
49311 done
49312 done
49313
49314 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49315 fi
49316 fi
49317 SETFILE=$ac_cv_prog_SETFILE
49318 if test -n "$SETFILE"; then
49319 echo "$as_me:$LINENO: result: $SETFILE" >&5
49320 echo "${ECHO_T}$SETFILE" >&6
49321 else
49322 echo "$as_me:$LINENO: result: no" >&5
49323 echo "${ECHO_T}no" >&6
49324 fi
49325
49326 ;;
49327 esac
49328
49329
49330
49331
49332
49333
49334 BAKEFILE_BAKEFILE_M4_VERSION="0.2.0"
49335
49336
49337 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.0"
49338
49339
49340
49341 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
49342 if test "${enable_precomp_headers+set}" = set; then
49343 enableval="$enable_precomp_headers"
49344 bk_use_pch="$enableval"
49345 fi;
49346
49347 GCC_PCH=0
49348 ICC_PCH=0
49349 USE_PCH=0
49350
49351 case ${BAKEFILE_HOST} in
49352 *-*-cygwin* )
49353 bk_use_pch="no"
49354 ;;
49355 esac
49356
49357 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49358 if test "x$GCC" = "xyes"; then
49359 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49360 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
49361 cat >conftest.$ac_ext <<_ACEOF
49362 /* confdefs.h. */
49363 _ACEOF
49364 cat confdefs.h >>conftest.$ac_ext
49365 cat >>conftest.$ac_ext <<_ACEOF
49366 /* end confdefs.h. */
49367
49368 int
49369 main ()
49370 {
49371
49372 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49373 There is no PCH support
49374 #endif
49375 #if (__GNUC__ < 3)
49376 There is no PCH support
49377 #endif
49378 #if (__GNUC__ == 3) && \
49379 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49380 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49381 ( defined(__INTEL_COMPILER) )
49382 There is no PCH support
49383 #endif
49384
49385 ;
49386 return 0;
49387 }
49388 _ACEOF
49389 rm -f conftest.$ac_objext
49390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49391 (eval $ac_compile) 2>conftest.er1
49392 ac_status=$?
49393 grep -v '^ *+' conftest.er1 >conftest.err
49394 rm -f conftest.er1
49395 cat conftest.err >&5
49396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49397 (exit $ac_status); } &&
49398 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49400 (eval $ac_try) 2>&5
49401 ac_status=$?
49402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49403 (exit $ac_status); }; } &&
49404 { ac_try='test -s conftest.$ac_objext'
49405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49406 (eval $ac_try) 2>&5
49407 ac_status=$?
49408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49409 (exit $ac_status); }; }; then
49410
49411 echo "$as_me:$LINENO: result: yes" >&5
49412 echo "${ECHO_T}yes" >&6
49413 GCC_PCH=1
49414
49415 else
49416 echo "$as_me: failed program was:" >&5
49417 sed 's/^/| /' conftest.$ac_ext >&5
49418
49419
49420 cat >conftest.$ac_ext <<_ACEOF
49421 /* confdefs.h. */
49422 _ACEOF
49423 cat confdefs.h >>conftest.$ac_ext
49424 cat >>conftest.$ac_ext <<_ACEOF
49425 /* end confdefs.h. */
49426
49427 int
49428 main ()
49429 {
49430
49431 #if !defined(__INTEL_COMPILER) || \
49432 (__INTEL_COMPILER < 800)
49433 There is no PCH support
49434 #endif
49435
49436 ;
49437 return 0;
49438 }
49439 _ACEOF
49440 rm -f conftest.$ac_objext
49441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49442 (eval $ac_compile) 2>conftest.er1
49443 ac_status=$?
49444 grep -v '^ *+' conftest.er1 >conftest.err
49445 rm -f conftest.er1
49446 cat conftest.err >&5
49447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49448 (exit $ac_status); } &&
49449 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49451 (eval $ac_try) 2>&5
49452 ac_status=$?
49453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49454 (exit $ac_status); }; } &&
49455 { ac_try='test -s conftest.$ac_objext'
49456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49457 (eval $ac_try) 2>&5
49458 ac_status=$?
49459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49460 (exit $ac_status); }; }; then
49461
49462 echo "$as_me:$LINENO: result: yes" >&5
49463 echo "${ECHO_T}yes" >&6
49464 ICC_PCH=1
49465
49466 else
49467 echo "$as_me: failed program was:" >&5
49468 sed 's/^/| /' conftest.$ac_ext >&5
49469
49470
49471 echo "$as_me:$LINENO: result: no" >&5
49472 echo "${ECHO_T}no" >&6
49473
49474 fi
49475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49476
49477 fi
49478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49479 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49480 USE_PCH=1
49481
49482 D='$'
49483 cat <<EOF >bk-make-pch
49484 #!/bin/sh
49485
49486 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49487 # script. It is used to generated precompiled headers.
49488 #
49489 # Permission is given to use this file in any way.
49490
49491 outfile="${D}{1}"
49492 header="${D}{2}"
49493 shift
49494 shift
49495
49496 compiler=""
49497 headerfile=""
49498
49499 while test ${D}{#} -gt 0; do
49500 add_to_cmdline=1
49501 case "${D}{1}" in
49502 -I* )
49503 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49504 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49505 headerfile="${D}{incdir}/${D}{header}"
49506 fi
49507 ;;
49508 -use-pch|-use_pch )
49509 shift
49510 add_to_cmdline=0
49511 ;;
49512 esac
49513 if test ${D}add_to_cmdline = 1 ; then
49514 compiler="${D}{compiler} ${D}{1}"
49515 fi
49516 shift
49517 done
49518
49519 if test "x${D}{headerfile}" = "x" ; then
49520 echo "error: can't find header ${D}{header} in include paths" >&2
49521 else
49522 if test -f ${D}{outfile} ; then
49523 rm -f ${D}{outfile}
49524 else
49525 mkdir -p \`dirname ${D}{outfile}\`
49526 fi
49527 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49528 mkdir -p .deps
49529 if test "x${GCC_PCH}" = "x1" ; then
49530 # can do this because gcc is >= 3.4:
49531 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49532 elif test "x${ICC_PCH}" = "x1" ; then
49533 filename=pch_gen-${D}${D}
49534 file=${D}{filename}.c
49535 dfile=${D}{filename}.d
49536 cat > ${D}file <<EOT
49537 #include "${D}header"
49538 EOT
49539 # using -MF icc complains about differing command lines in creation/use
49540 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49541 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49542 rm -f ${D}file ${D}dfile ${D}{filename}.o
49543 fi
49544 exit ${D}{?}
49545 fi
49546 EOF
49547
49548 chmod +x bk-make-pch
49549 fi
49550 fi
49551 fi
49552
49553
49554
49555
49556 COND_BUILD_DEBUG="#"
49557 if test "x$BUILD" = "xdebug" ; then
49558 COND_BUILD_DEBUG=""
49559 fi
49560
49561 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49562 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49563 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49564 fi
49565
49566 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49567 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49568 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49569 fi
49570
49571 COND_BUILD_DEBUG_UNICODE_0="#"
49572 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49573 COND_BUILD_DEBUG_UNICODE_0=""
49574 fi
49575
49576 COND_BUILD_DEBUG_UNICODE_1="#"
49577 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49578 COND_BUILD_DEBUG_UNICODE_1=""
49579 fi
49580
49581 COND_BUILD_RELEASE="#"
49582 if test "x$BUILD" = "xrelease" ; then
49583 COND_BUILD_RELEASE=""
49584 fi
49585
49586 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49587 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49588 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49589 fi
49590
49591 COND_BUILD_RELEASE_UNICODE_0="#"
49592 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49593 COND_BUILD_RELEASE_UNICODE_0=""
49594 fi
49595
49596 COND_BUILD_RELEASE_UNICODE_1="#"
49597 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49598 COND_BUILD_RELEASE_UNICODE_1=""
49599 fi
49600
49601 COND_DEBUG_FLAG_1="#"
49602 if test "x$DEBUG_FLAG" = "x1" ; then
49603 COND_DEBUG_FLAG_1=""
49604 fi
49605
49606 COND_DEBUG_INFO_0="#"
49607 if test "x$DEBUG_INFO" = "x0" ; then
49608 COND_DEBUG_INFO_0=""
49609 fi
49610
49611 COND_DEBUG_INFO_1="#"
49612 if test "x$DEBUG_INFO" = "x1" ; then
49613 COND_DEBUG_INFO_1=""
49614 fi
49615
49616 COND_DEPS_TRACKING_0="#"
49617 if test "x$DEPS_TRACKING" = "x0" ; then
49618 COND_DEPS_TRACKING_0=""
49619 fi
49620
49621 COND_DEPS_TRACKING_1="#"
49622 if test "x$DEPS_TRACKING" = "x1" ; then
49623 COND_DEPS_TRACKING_1=""
49624 fi
49625
49626 COND_GCC_PCH_1="#"
49627 if test "x$GCC_PCH" = "x1" ; then
49628 COND_GCC_PCH_1=""
49629 fi
49630
49631 COND_ICC_PCH_1="#"
49632 if test "x$ICC_PCH" = "x1" ; then
49633 COND_ICC_PCH_1=""
49634 fi
49635
49636 COND_MONOLITHIC_0="#"
49637 if test "x$MONOLITHIC" = "x0" ; then
49638 COND_MONOLITHIC_0=""
49639 fi
49640
49641 COND_MONOLITHIC_0_SHARED_0="#"
49642 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49643 COND_MONOLITHIC_0_SHARED_0=""
49644 fi
49645
49646 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49647 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49648 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49649 fi
49650
49651 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49652 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49653 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49654 fi
49655
49656 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49657 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49658 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49659 fi
49660
49661 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49662 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49663 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49664 fi
49665
49666 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
49667 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49668 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
49669 fi
49670
49671 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49672 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49673 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49674 fi
49675
49676 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
49677 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
49678 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
49679 fi
49680
49681 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49682 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49683 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49684 fi
49685
49686 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49687 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49688 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49689 fi
49690
49691 COND_MONOLITHIC_0_SHARED_1="#"
49692 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49693 COND_MONOLITHIC_0_SHARED_1=""
49694 fi
49695
49696 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49697 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49698 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49699 fi
49700
49701 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49702 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49703 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49704 fi
49705
49706 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49707 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49708 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49709 fi
49710
49711 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49712 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49713 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49714 fi
49715
49716 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
49717 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49718 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
49719 fi
49720
49721 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49722 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49723 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49724 fi
49725
49726 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
49727 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
49728 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
49729 fi
49730
49731 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49732 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49733 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49734 fi
49735
49736 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49737 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49738 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49739 fi
49740
49741 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49742 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49743 COND_MONOLITHIC_0_USE_MEDIA_1=""
49744 fi
49745
49746 COND_MONOLITHIC_0_USE_ODBC_1="#"
49747 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
49748 COND_MONOLITHIC_0_USE_ODBC_1=""
49749 fi
49750
49751 COND_MONOLITHIC_1="#"
49752 if test "x$MONOLITHIC" = "x1" ; then
49753 COND_MONOLITHIC_1=""
49754 fi
49755
49756 COND_MONOLITHIC_1_SHARED_0="#"
49757 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49758 COND_MONOLITHIC_1_SHARED_0=""
49759 fi
49760
49761 COND_MONOLITHIC_1_SHARED_1="#"
49762 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49763 COND_MONOLITHIC_1_SHARED_1=""
49764 fi
49765
49766 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49767 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49768 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49769 fi
49770
49771 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49772 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49773 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49774 fi
49775
49776 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49777 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49778 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49779 fi
49780
49781 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49782 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49783 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49784 fi
49785
49786 COND_PLATFORM_MACOSX_1="#"
49787 if test "x$PLATFORM_MACOSX" = "x1" ; then
49788 COND_PLATFORM_MACOSX_1=""
49789 fi
49790
49791 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
49792 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49793 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49794 fi
49795
49796 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49797 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49798 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49799 fi
49800
49801 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49802 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49803 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49804 fi
49805
49806 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49807 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49808 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49809 fi
49810
49811 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49812 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49813 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49814 fi
49815
49816 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49817 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49818 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49819 fi
49820
49821 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49822 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49823 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49824 fi
49825
49826 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49827 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49828 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49829 fi
49830
49831 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49832 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49833 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49834 fi
49835
49836 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49837 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49838 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49839 fi
49840
49841 COND_PLATFORM_MACOS_1="#"
49842 if test "x$PLATFORM_MACOS" = "x1" ; then
49843 COND_PLATFORM_MACOS_1=""
49844 fi
49845
49846 COND_PLATFORM_MAC_1="#"
49847 if test "x$PLATFORM_MAC" = "x1" ; then
49848 COND_PLATFORM_MAC_1=""
49849 fi
49850
49851 COND_PLATFORM_MSDOS_0="#"
49852 if test "x$PLATFORM_MSDOS" = "x0" ; then
49853 COND_PLATFORM_MSDOS_0=""
49854 fi
49855
49856 COND_PLATFORM_MSDOS_1="#"
49857 if test "x$PLATFORM_MSDOS" = "x1" ; then
49858 COND_PLATFORM_MSDOS_1=""
49859 fi
49860
49861 COND_PLATFORM_OS2_1="#"
49862 if test "x$PLATFORM_OS2" = "x1" ; then
49863 COND_PLATFORM_OS2_1=""
49864 fi
49865
49866 COND_PLATFORM_UNIX_0="#"
49867 if test "x$PLATFORM_UNIX" = "x0" ; then
49868 COND_PLATFORM_UNIX_0=""
49869 fi
49870
49871 COND_PLATFORM_UNIX_1="#"
49872 if test "x$PLATFORM_UNIX" = "x1" ; then
49873 COND_PLATFORM_UNIX_1=""
49874 fi
49875
49876 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49877 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49878 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49879 fi
49880
49881 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49882 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49883 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49884 fi
49885
49886 COND_PLATFORM_WIN32_0="#"
49887 if test "x$PLATFORM_WIN32" = "x0" ; then
49888 COND_PLATFORM_WIN32_0=""
49889 fi
49890
49891 COND_PLATFORM_WIN32_1="#"
49892 if test "x$PLATFORM_WIN32" = "x1" ; then
49893 COND_PLATFORM_WIN32_1=""
49894 fi
49895
49896 COND_SHARED_0="#"
49897 if test "x$SHARED" = "x0" ; then
49898 COND_SHARED_0=""
49899 fi
49900
49901 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49902 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49903 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49904 fi
49905
49906 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49907 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49908 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49909 fi
49910
49911 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49912 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49913 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49914 fi
49915
49916 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49917 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49918 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49919 fi
49920
49921 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49922 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49923 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49924 fi
49925
49926 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49927 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49928 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49929 fi
49930
49931 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49932 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49933 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49934 fi
49935
49936 COND_SHARED_0_USE_XRC_1="#"
49937 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49938 COND_SHARED_0_USE_XRC_1=""
49939 fi
49940
49941 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49942 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49943 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49944 fi
49945
49946 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
49947 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
49948 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
49949 fi
49950
49951 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49952 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49953 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49954 fi
49955
49956 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49957 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49958 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49959 fi
49960
49961 COND_SHARED_1="#"
49962 if test "x$SHARED" = "x1" ; then
49963 COND_SHARED_1=""
49964 fi
49965
49966 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49967 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49968 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49969 fi
49970
49971 COND_SHARED_1_USE_XRC_1="#"
49972 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49973 COND_SHARED_1_USE_XRC_1=""
49974 fi
49975
49976 COND_TOOLKIT_="#"
49977 if test "x$TOOLKIT" = "x" ; then
49978 COND_TOOLKIT_=""
49979 fi
49980
49981 COND_TOOLKIT_COCOA="#"
49982 if test "x$TOOLKIT" = "xCOCOA" ; then
49983 COND_TOOLKIT_COCOA=""
49984 fi
49985
49986 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49987 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49988 COND_TOOLKIT_COCOA_USE_GUI_1=""
49989 fi
49990
49991 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49992 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49993 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49994 fi
49995
49996 COND_TOOLKIT_DFB="#"
49997 if test "x$TOOLKIT" = "xDFB" ; then
49998 COND_TOOLKIT_DFB=""
49999 fi
50000
50001 COND_TOOLKIT_DFB_USE_GUI_1="#"
50002 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50003 COND_TOOLKIT_DFB_USE_GUI_1=""
50004 fi
50005
50006 COND_TOOLKIT_GTK="#"
50007 if test "x$TOOLKIT" = "xGTK" ; then
50008 COND_TOOLKIT_GTK=""
50009 fi
50010
50011 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50012 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50013 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50014 fi
50015
50016 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50017 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50018 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50019 fi
50020
50021 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50022 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50023 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50024 fi
50025
50026 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50027 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50028 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50029 fi
50030
50031 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50032 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50033 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50034 fi
50035
50036 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50037 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50038 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50039 fi
50040
50041 COND_TOOLKIT_GTK_USE_GUI_1="#"
50042 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50043 COND_TOOLKIT_GTK_USE_GUI_1=""
50044 fi
50045
50046 COND_TOOLKIT_MAC="#"
50047 if test "x$TOOLKIT" = "xMAC" ; then
50048 COND_TOOLKIT_MAC=""
50049 fi
50050
50051 COND_TOOLKIT_MAC_USE_GUI_1="#"
50052 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50053 COND_TOOLKIT_MAC_USE_GUI_1=""
50054 fi
50055
50056 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
50057 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50058 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
50059 fi
50060
50061 COND_TOOLKIT_MGL="#"
50062 if test "x$TOOLKIT" = "xMGL" ; then
50063 COND_TOOLKIT_MGL=""
50064 fi
50065
50066 COND_TOOLKIT_MGL_USE_GUI_1="#"
50067 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50068 COND_TOOLKIT_MGL_USE_GUI_1=""
50069 fi
50070
50071 COND_TOOLKIT_MOTIF="#"
50072 if test "x$TOOLKIT" = "xMOTIF" ; then
50073 COND_TOOLKIT_MOTIF=""
50074 fi
50075
50076 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50077 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50078 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50079 fi
50080
50081 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50082 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50083 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50084 fi
50085
50086 COND_TOOLKIT_MSW="#"
50087 if test "x$TOOLKIT" = "xMSW" ; then
50088 COND_TOOLKIT_MSW=""
50089 fi
50090
50091 COND_TOOLKIT_MSW_USE_GUI_1="#"
50092 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50093 COND_TOOLKIT_MSW_USE_GUI_1=""
50094 fi
50095
50096 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50097 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50098 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50099 fi
50100
50101 COND_TOOLKIT_MSW_WXUNIV_0="#"
50102 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50103 COND_TOOLKIT_MSW_WXUNIV_0=""
50104 fi
50105
50106 COND_TOOLKIT_PM="#"
50107 if test "x$TOOLKIT" = "xPM" ; then
50108 COND_TOOLKIT_PM=""
50109 fi
50110
50111 COND_TOOLKIT_PM_USE_GUI_1="#"
50112 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50113 COND_TOOLKIT_PM_USE_GUI_1=""
50114 fi
50115
50116 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50117 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50118 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50119 fi
50120
50121 COND_TOOLKIT_WINCE="#"
50122 if test "x$TOOLKIT" = "xWINCE" ; then
50123 COND_TOOLKIT_WINCE=""
50124 fi
50125
50126 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50127 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50128 COND_TOOLKIT_WINCE_USE_GUI_1=""
50129 fi
50130
50131 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50132 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50133 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50134 fi
50135
50136 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50137 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50138 COND_TOOLKIT_WINCE_WXUNIV_0=""
50139 fi
50140
50141 COND_TOOLKIT_X11="#"
50142 if test "x$TOOLKIT" = "xX11" ; then
50143 COND_TOOLKIT_X11=""
50144 fi
50145
50146 COND_TOOLKIT_X11_USE_GUI_1="#"
50147 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50148 COND_TOOLKIT_X11_USE_GUI_1=""
50149 fi
50150
50151 COND_UNICODE_1="#"
50152 if test "x$UNICODE" = "x1" ; then
50153 COND_UNICODE_1=""
50154 fi
50155
50156 COND_USE_EXCEPTIONS_0="#"
50157 if test "x$USE_EXCEPTIONS" = "x0" ; then
50158 COND_USE_EXCEPTIONS_0=""
50159 fi
50160
50161 COND_USE_EXCEPTIONS_1="#"
50162 if test "x$USE_EXCEPTIONS" = "x1" ; then
50163 COND_USE_EXCEPTIONS_1=""
50164 fi
50165
50166 COND_USE_GUI_0="#"
50167 if test "x$USE_GUI" = "x0" ; then
50168 COND_USE_GUI_0=""
50169 fi
50170
50171 COND_USE_GUI_1="#"
50172 if test "x$USE_GUI" = "x1" ; then
50173 COND_USE_GUI_1=""
50174 fi
50175
50176 COND_USE_GUI_1_WXUNIV_0="#"
50177 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50178 COND_USE_GUI_1_WXUNIV_0=""
50179 fi
50180
50181 COND_USE_GUI_1_WXUNIV_1="#"
50182 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50183 COND_USE_GUI_1_WXUNIV_1=""
50184 fi
50185
50186 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50187 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50188 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50189 fi
50190
50191 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50192 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50193 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50194 fi
50195
50196 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50197 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50198 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50199 fi
50200
50201 COND_USE_ODBC_1="#"
50202 if test "x$USE_ODBC" = "x1" ; then
50203 COND_USE_ODBC_1=""
50204 fi
50205
50206 COND_USE_OPENGL_1="#"
50207 if test "x$USE_OPENGL" = "x1" ; then
50208 COND_USE_OPENGL_1=""
50209 fi
50210
50211 COND_USE_PCH_1="#"
50212 if test "x$USE_PCH" = "x1" ; then
50213 COND_USE_PCH_1=""
50214 fi
50215
50216 COND_USE_PLUGINS_0="#"
50217 if test "x$USE_PLUGINS" = "x0" ; then
50218 COND_USE_PLUGINS_0=""
50219 fi
50220
50221 COND_USE_RTTI_0="#"
50222 if test "x$USE_RTTI" = "x0" ; then
50223 COND_USE_RTTI_0=""
50224 fi
50225
50226 COND_USE_RTTI_1="#"
50227 if test "x$USE_RTTI" = "x1" ; then
50228 COND_USE_RTTI_1=""
50229 fi
50230
50231 COND_USE_SOSYMLINKS_1="#"
50232 if test "x$USE_SOSYMLINKS" = "x1" ; then
50233 COND_USE_SOSYMLINKS_1=""
50234 fi
50235
50236 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50237 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50238 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50239 fi
50240
50241 COND_USE_SOVERLINUX_1="#"
50242 if test "x$USE_SOVERLINUX" = "x1" ; then
50243 COND_USE_SOVERLINUX_1=""
50244 fi
50245
50246 COND_USE_SOVERSION_0="#"
50247 if test "x$USE_SOVERSION" = "x0" ; then
50248 COND_USE_SOVERSION_0=""
50249 fi
50250
50251 COND_USE_SOVERSOLARIS_1="#"
50252 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50253 COND_USE_SOVERSOLARIS_1=""
50254 fi
50255
50256 COND_USE_THREADS_0="#"
50257 if test "x$USE_THREADS" = "x0" ; then
50258 COND_USE_THREADS_0=""
50259 fi
50260
50261 COND_USE_THREADS_1="#"
50262 if test "x$USE_THREADS" = "x1" ; then
50263 COND_USE_THREADS_1=""
50264 fi
50265
50266 COND_USE_XRC_1="#"
50267 if test "x$USE_XRC" = "x1" ; then
50268 COND_USE_XRC_1=""
50269 fi
50270
50271 COND_WINDOWS_IMPLIB_1="#"
50272 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50273 COND_WINDOWS_IMPLIB_1=""
50274 fi
50275
50276 COND_WITH_PLUGIN_SDL_1="#"
50277 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50278 COND_WITH_PLUGIN_SDL_1=""
50279 fi
50280
50281 COND_WXUNIV_0="#"
50282 if test "x$WXUNIV" = "x0" ; then
50283 COND_WXUNIV_0=""
50284 fi
50285
50286 COND_WXUNIV_1="#"
50287 if test "x$WXUNIV" = "x1" ; then
50288 COND_WXUNIV_1=""
50289 fi
50290
50291 COND_WXUSE_EXPAT_BUILTIN="#"
50292 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50293 COND_WXUSE_EXPAT_BUILTIN=""
50294 fi
50295
50296 COND_WXUSE_LIBJPEG_BUILTIN="#"
50297 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50298 COND_WXUSE_LIBJPEG_BUILTIN=""
50299 fi
50300
50301 COND_WXUSE_LIBPNG_BUILTIN="#"
50302 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50303 COND_WXUSE_LIBPNG_BUILTIN=""
50304 fi
50305
50306 COND_WXUSE_LIBTIFF_BUILTIN="#"
50307 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50308 COND_WXUSE_LIBTIFF_BUILTIN=""
50309 fi
50310
50311 COND_WXUSE_ODBC_BUILTIN="#"
50312 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
50313 COND_WXUSE_ODBC_BUILTIN=""
50314 fi
50315
50316 COND_WXUSE_REGEX_BUILTIN="#"
50317 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50318 COND_WXUSE_REGEX_BUILTIN=""
50319 fi
50320
50321 COND_WXUSE_ZLIB_BUILTIN="#"
50322 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50323 COND_WXUSE_ZLIB_BUILTIN=""
50324 fi
50325
50326
50327
50328 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50329 { { 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
50330 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;}
50331 { (exit 1); exit 1; }; }
50332 fi
50333
50334 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50335 { { 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
50336 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;}
50337 { (exit 1); exit 1; }; }
50338 fi
50339
50340
50341 if test $GCC_PCH = 1
50342 then
50343 if test "$wx_cv_gcc_pch_bug" = yes; then
50344 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50345 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50346 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50347 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50348 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50349 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50350 fi
50351
50352 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
50353 fi
50354
50355
50356 if test "$wxUSE_MAC" = 1 ; then
50357 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50358 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50359 mv temp bk-deps
50360 chmod +x bk-deps
50361 fi
50362 fi
50363
50364 if test "$wxUSE_SHARED" = "yes"; then
50365
50366 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
50367 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
50368
50369 case "${host}" in
50370 *-pc-os2_emx | *-pc-os2-emx )
50371 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50372 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50373 cp -p ${srcdir}/src/os2/dllnames.sh .
50374 cp -p ${srcdir}/src/os2/dllar.sh .
50375 ;;
50376 esac
50377 else
50378
50379 EXE_LINKER="$CXX -o"
50380
50381 fi
50382 if test "$wxUSE_OMF" = "yes"; then
50383 case "${host}" in
50384 *-pc-os2_emx | *-pc-os2-emx )
50385 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50386 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50387 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50388 ;;
50389 esac
50390 fi
50391
50392 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50393
50394 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50395
50396
50397
50398
50399
50400
50401
50402
50403
50404
50405
50406
50407
50408
50409
50410
50411
50412
50413
50414
50415
50416
50417
50418
50419
50420
50421
50422
50423
50424
50425
50426
50427
50428
50429
50430
50431
50432
50433
50434
50435
50436
50437
50438
50439
50440
50441
50442
50443
50444
50445
50446
50447
50448
50449
50450
50451
50452
50453
50454
50455
50456 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50457 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
50458 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
50459 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
50460 echo $ECHO_N "(cached) $ECHO_C" >&6
50461 else
50462 cat >conftest.make <<\_ACEOF
50463 all:
50464 @echo 'ac_maketemp="$(MAKE)"'
50465 _ACEOF
50466 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50467 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
50468 if test -n "$ac_maketemp"; then
50469 eval ac_cv_prog_make_${ac_make}_set=yes
50470 else
50471 eval ac_cv_prog_make_${ac_make}_set=no
50472 fi
50473 rm -f conftest.make
50474 fi
50475 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
50476 echo "$as_me:$LINENO: result: yes" >&5
50477 echo "${ECHO_T}yes" >&6
50478 SET_MAKE=
50479 else
50480 echo "$as_me:$LINENO: result: no" >&5
50481 echo "${ECHO_T}no" >&6
50482 SET_MAKE="MAKE=${MAKE-make}"
50483 fi
50484
50485
50486
50487 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50488
50489
50490 if test "$USE_WIN32" = 1; then
50491 ac_config_commands="$ac_config_commands
50492 rcdefs.h
50493 "
50494
50495 fi
50496
50497 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50498
50499
50500 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50501
50502
50503 ac_config_files="$ac_config_files version-script Makefile"
50504
50505
50506 ac_config_commands="$ac_config_commands wx-config"
50507
50508
50509
50510 if test "$wxWITH_SUBDIRS" != "no"; then
50511 if test "$wxUSE_GUI" = "yes"; then
50512 SUBDIRS="samples demos utils contrib"
50513 else SUBDIRS="samples utils"
50514 fi
50515
50516
50517
50518 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
50519 if test "${with_cppunit_prefix+set}" = set; then
50520 withval="$with_cppunit_prefix"
50521 cppunit_config_prefix="$withval"
50522 else
50523 cppunit_config_prefix=""
50524 fi;
50525
50526 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
50527 if test "${with_cppunit_exec_prefix+set}" = set; then
50528 withval="$with_cppunit_exec_prefix"
50529 cppunit_config_exec_prefix="$withval"
50530 else
50531 cppunit_config_exec_prefix=""
50532 fi;
50533
50534 if test x$cppunit_config_exec_prefix != x ; then
50535 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50536 if test x${CPPUNIT_CONFIG+set} != xset ; then
50537 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50538 fi
50539 fi
50540 if test x$cppunit_config_prefix != x ; then
50541 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50542 if test x${CPPUNIT_CONFIG+set} != xset ; then
50543 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50544 fi
50545 fi
50546
50547 # Extract the first word of "cppunit-config", so it can be a program name with args.
50548 set dummy cppunit-config; ac_word=$2
50549 echo "$as_me:$LINENO: checking for $ac_word" >&5
50550 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50551 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50552 echo $ECHO_N "(cached) $ECHO_C" >&6
50553 else
50554 case $CPPUNIT_CONFIG in
50555 [\\/]* | ?:[\\/]*)
50556 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50557 ;;
50558 *)
50559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50560 for as_dir in $PATH
50561 do
50562 IFS=$as_save_IFS
50563 test -z "$as_dir" && as_dir=.
50564 for ac_exec_ext in '' $ac_executable_extensions; do
50565 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50566 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50567 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50568 break 2
50569 fi
50570 done
50571 done
50572
50573 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50574 ;;
50575 esac
50576 fi
50577 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50578
50579 if test -n "$CPPUNIT_CONFIG"; then
50580 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50581 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
50582 else
50583 echo "$as_me:$LINENO: result: no" >&5
50584 echo "${ECHO_T}no" >&6
50585 fi
50586
50587 cppunit_version_min=1.8.0
50588
50589 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50590 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
50591 no_cppunit=""
50592 if test "$CPPUNIT_CONFIG" = "no" ; then
50593 echo "$as_me:$LINENO: result: no" >&5
50594 echo "${ECHO_T}no" >&6
50595 no_cppunit=yes
50596 else
50597 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50598 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50599 cppunit_version=`$CPPUNIT_CONFIG --version`
50600
50601 cppunit_major_version=`echo $cppunit_version | \
50602 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50603 cppunit_minor_version=`echo $cppunit_version | \
50604 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50605 cppunit_micro_version=`echo $cppunit_version | \
50606 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50607
50608 cppunit_major_min=`echo $cppunit_version_min | \
50609 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50610 cppunit_minor_min=`echo $cppunit_version_min | \
50611 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50612 cppunit_micro_min=`echo $cppunit_version_min | \
50613 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50614
50615 cppunit_version_proper=`expr \
50616 $cppunit_major_version \> $cppunit_major_min \| \
50617 $cppunit_major_version \= $cppunit_major_min \& \
50618 $cppunit_minor_version \> $cppunit_minor_min \| \
50619 $cppunit_major_version \= $cppunit_major_min \& \
50620 $cppunit_minor_version \= $cppunit_minor_min \& \
50621 $cppunit_micro_version \>= $cppunit_micro_min `
50622
50623 if test "$cppunit_version_proper" = "1" ; then
50624 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50625 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
50626 else
50627 echo "$as_me:$LINENO: result: no" >&5
50628 echo "${ECHO_T}no" >&6
50629 no_cppunit=yes
50630 fi
50631 fi
50632
50633 if test "x$no_cppunit" = x ; then
50634 SUBDIRS="$SUBDIRS tests"
50635 else
50636 CPPUNIT_CFLAGS=""
50637 CPPUNIT_LIBS=""
50638 :
50639 fi
50640
50641
50642
50643
50644
50645 for subdir in `echo $SUBDIRS`; do
50646 if test -d ${srcdir}/${subdir} ; then
50647 if test "$wxUSE_GUI" = "yes"; then
50648 if test ${subdir} = "samples"; then
50649 makefiles="samples/Makefile.in $makefiles"
50650 for sample in `echo $SAMPLES_SUBDIRS`; do
50651 if test -d $srcdir/samples/$sample; then
50652 makefiles="samples/$sample/Makefile.in $makefiles"
50653 fi
50654 done
50655 else
50656 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
50657 eval "disabled=\$$disabled_var"
50658 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50659 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
50660 fi
50661 else if test ${subdir} = "samples"; then
50662 makefiles="samples/Makefile.in samples/console/Makefile.in"
50663 elif test ${subdir} = "utils"; then
50664 makefiles=""
50665 for util in HelpGen tex2rtf ; do
50666 if test -d $srcdir/utils/$util ; then
50667 makefiles="utils/$util/Makefile.in \
50668 utils/$util/src/Makefile.in \
50669 $makefiles"
50670 fi
50671 done
50672 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50673 fi
50674 fi
50675
50676 for mkin in $makefiles ; do
50677 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50678 ac_config_files="$ac_config_files $mk"
50679
50680 done
50681 fi
50682 done
50683 fi
50684 cat >confcache <<\_ACEOF
50685 # This file is a shell script that caches the results of configure
50686 # tests run on this system so they can be shared between configure
50687 # scripts and configure runs, see configure's option --config-cache.
50688 # It is not useful on other systems. If it contains results you don't
50689 # want to keep, you may remove or edit it.
50690 #
50691 # config.status only pays attention to the cache file if you give it
50692 # the --recheck option to rerun configure.
50693 #
50694 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50695 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50696 # following values.
50697
50698 _ACEOF
50699
50700 # The following way of writing the cache mishandles newlines in values,
50701 # but we know of no workaround that is simple, portable, and efficient.
50702 # So, don't put newlines in cache variables' values.
50703 # Ultrix sh set writes to stderr and can't be redirected directly,
50704 # and sets the high bit in the cache file unless we assign to the vars.
50705 {
50706 (set) 2>&1 |
50707 case `(ac_space=' '; set | grep ac_space) 2>&1` in
50708 *ac_space=\ *)
50709 # `set' does not quote correctly, so add quotes (double-quote
50710 # substitution turns \\\\ into \\, and sed turns \\ into \).
50711 sed -n \
50712 "s/'/'\\\\''/g;
50713 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50714 ;;
50715 *)
50716 # `set' quotes correctly as required by POSIX, so do not add quotes.
50717 sed -n \
50718 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
50719 ;;
50720 esac;
50721 } |
50722 sed '
50723 t clear
50724 : clear
50725 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50726 t end
50727 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50728 : end' >>confcache
50729 if diff $cache_file confcache >/dev/null 2>&1; then :; else
50730 if test -w $cache_file; then
50731 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
50732 cat confcache >$cache_file
50733 else
50734 echo "not updating unwritable cache $cache_file"
50735 fi
50736 fi
50737 rm -f confcache
50738
50739 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50740 # Let make expand exec_prefix.
50741 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50742
50743 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50744 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50745 # trailing colons and then remove the whole line if VPATH becomes empty
50746 # (actually we leave an empty line to preserve line numbers).
50747 if test "x$srcdir" = x.; then
50748 ac_vpsub='/^[ ]*VPATH[ ]*=/{
50749 s/:*\$(srcdir):*/:/;
50750 s/:*\${srcdir}:*/:/;
50751 s/:*@srcdir@:*/:/;
50752 s/^\([^=]*=[ ]*\):*/\1/;
50753 s/:*$//;
50754 s/^[^=]*=[ ]*$//;
50755 }'
50756 fi
50757
50758 DEFS=-DHAVE_CONFIG_H
50759
50760 ac_libobjs=
50761 ac_ltlibobjs=
50762 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50763 # 1. Remove the extension, and $U if already installed.
50764 ac_i=`echo "$ac_i" |
50765 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
50766 # 2. Add them.
50767 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
50768 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
50769 done
50770 LIBOBJS=$ac_libobjs
50771
50772 LTLIBOBJS=$ac_ltlibobjs
50773
50774
50775
50776 : ${CONFIG_STATUS=./config.status}
50777 ac_clean_files_save=$ac_clean_files
50778 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50779 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50780 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50781 cat >$CONFIG_STATUS <<_ACEOF
50782 #! $SHELL
50783 # Generated by $as_me.
50784 # Run this file to recreate the current configuration.
50785 # Compiler output produced by configure, useful for debugging
50786 # configure, is in config.log if it exists.
50787
50788 debug=false
50789 ac_cs_recheck=false
50790 ac_cs_silent=false
50791 SHELL=\${CONFIG_SHELL-$SHELL}
50792 _ACEOF
50793
50794 cat >>$CONFIG_STATUS <<\_ACEOF
50795 ## --------------------- ##
50796 ## M4sh Initialization. ##
50797 ## --------------------- ##
50798
50799 # Be Bourne compatible
50800 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50801 emulate sh
50802 NULLCMD=:
50803 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50804 # is contrary to our usage. Disable this feature.
50805 alias -g '${1+"$@"}'='"$@"'
50806 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
50807 set -o posix
50808 fi
50809 DUALCASE=1; export DUALCASE # for MKS sh
50810
50811 # Support unset when possible.
50812 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50813 as_unset=unset
50814 else
50815 as_unset=false
50816 fi
50817
50818
50819 # Work around bugs in pre-3.0 UWIN ksh.
50820 $as_unset ENV MAIL MAILPATH
50821 PS1='$ '
50822 PS2='> '
50823 PS4='+ '
50824
50825 # NLS nuisances.
50826 for as_var in \
50827 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50828 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50829 LC_TELEPHONE LC_TIME
50830 do
50831 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50832 eval $as_var=C; export $as_var
50833 else
50834 $as_unset $as_var
50835 fi
50836 done
50837
50838 # Required to use basename.
50839 if expr a : '\(a\)' >/dev/null 2>&1; then
50840 as_expr=expr
50841 else
50842 as_expr=false
50843 fi
50844
50845 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
50846 as_basename=basename
50847 else
50848 as_basename=false
50849 fi
50850
50851
50852 # Name of the executable.
50853 as_me=`$as_basename "$0" ||
50854 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50855 X"$0" : 'X\(//\)$' \| \
50856 X"$0" : 'X\(/\)$' \| \
50857 . : '\(.\)' 2>/dev/null ||
50858 echo X/"$0" |
50859 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
50860 /^X\/\(\/\/\)$/{ s//\1/; q; }
50861 /^X\/\(\/\).*/{ s//\1/; q; }
50862 s/.*/./; q'`
50863
50864
50865 # PATH needs CR, and LINENO needs CR and PATH.
50866 # Avoid depending upon Character Ranges.
50867 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50868 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50869 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50870 as_cr_digits='0123456789'
50871 as_cr_alnum=$as_cr_Letters$as_cr_digits
50872
50873 # The user is always right.
50874 if test "${PATH_SEPARATOR+set}" != set; then
50875 echo "#! /bin/sh" >conf$$.sh
50876 echo "exit 0" >>conf$$.sh
50877 chmod +x conf$$.sh
50878 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50879 PATH_SEPARATOR=';'
50880 else
50881 PATH_SEPARATOR=:
50882 fi
50883 rm -f conf$$.sh
50884 fi
50885
50886
50887 as_lineno_1=$LINENO
50888 as_lineno_2=$LINENO
50889 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50890 test "x$as_lineno_1" != "x$as_lineno_2" &&
50891 test "x$as_lineno_3" = "x$as_lineno_2" || {
50892 # Find who we are. Look in the path if we contain no path at all
50893 # relative or not.
50894 case $0 in
50895 *[\\/]* ) as_myself=$0 ;;
50896 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50897 for as_dir in $PATH
50898 do
50899 IFS=$as_save_IFS
50900 test -z "$as_dir" && as_dir=.
50901 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50902 done
50903
50904 ;;
50905 esac
50906 # We did not find ourselves, most probably we were run as `sh COMMAND'
50907 # in which case we are not to be found in the path.
50908 if test "x$as_myself" = x; then
50909 as_myself=$0
50910 fi
50911 if test ! -f "$as_myself"; then
50912 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
50913 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
50914 { (exit 1); exit 1; }; }
50915 fi
50916 case $CONFIG_SHELL in
50917 '')
50918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50919 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
50920 do
50921 IFS=$as_save_IFS
50922 test -z "$as_dir" && as_dir=.
50923 for as_base in sh bash ksh sh5; do
50924 case $as_dir in
50925 /*)
50926 if ("$as_dir/$as_base" -c '
50927 as_lineno_1=$LINENO
50928 as_lineno_2=$LINENO
50929 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50930 test "x$as_lineno_1" != "x$as_lineno_2" &&
50931 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
50932 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
50933 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
50934 CONFIG_SHELL=$as_dir/$as_base
50935 export CONFIG_SHELL
50936 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
50937 fi;;
50938 esac
50939 done
50940 done
50941 ;;
50942 esac
50943
50944 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50945 # uniformly replaced by the line number. The first 'sed' inserts a
50946 # line-number line before each line; the second 'sed' does the real
50947 # work. The second script uses 'N' to pair each line-number line
50948 # with the numbered line, and appends trailing '-' during
50949 # substitution so that $LINENO is not a special case at line end.
50950 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50951 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
50952 sed '=' <$as_myself |
50953 sed '
50954 N
50955 s,$,-,
50956 : loop
50957 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
50958 t loop
50959 s,-$,,
50960 s,^['$as_cr_digits']*\n,,
50961 ' >$as_me.lineno &&
50962 chmod +x $as_me.lineno ||
50963 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
50964 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
50965 { (exit 1); exit 1; }; }
50966
50967 # Don't try to exec as it changes $[0], causing all sort of problems
50968 # (the dirname of $[0] is not the place where we might find the
50969 # original and so on. Autoconf is especially sensible to this).
50970 . ./$as_me.lineno
50971 # Exit status is that of the last command.
50972 exit
50973 }
50974
50975
50976 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
50977 *c*,-n*) ECHO_N= ECHO_C='
50978 ' ECHO_T=' ' ;;
50979 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
50980 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
50981 esac
50982
50983 if expr a : '\(a\)' >/dev/null 2>&1; then
50984 as_expr=expr
50985 else
50986 as_expr=false
50987 fi
50988
50989 rm -f conf$$ conf$$.exe conf$$.file
50990 echo >conf$$.file
50991 if ln -s conf$$.file conf$$ 2>/dev/null; then
50992 # We could just check for DJGPP; but this test a) works b) is more generic
50993 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
50994 if test -f conf$$.exe; then
50995 # Don't use ln at all; we don't have any links
50996 as_ln_s='cp -p'
50997 else
50998 as_ln_s='ln -s'
50999 fi
51000 elif ln conf$$.file conf$$ 2>/dev/null; then
51001 as_ln_s=ln
51002 else
51003 as_ln_s='cp -p'
51004 fi
51005 rm -f conf$$ conf$$.exe conf$$.file
51006
51007 if mkdir -p . 2>/dev/null; then
51008 as_mkdir_p=:
51009 else
51010 test -d ./-p && rmdir ./-p
51011 as_mkdir_p=false
51012 fi
51013
51014 as_executable_p="test -f"
51015
51016 # Sed expression to map a string onto a valid CPP name.
51017 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51018
51019 # Sed expression to map a string onto a valid variable name.
51020 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51021
51022
51023 # IFS
51024 # We need space, tab and new line, in precisely that order.
51025 as_nl='
51026 '
51027 IFS=" $as_nl"
51028
51029 # CDPATH.
51030 $as_unset CDPATH
51031
51032 exec 6>&1
51033
51034 # Open the log real soon, to keep \$[0] and so on meaningful, and to
51035 # report actual input values of CONFIG_FILES etc. instead of their
51036 # values after options handling. Logging --version etc. is OK.
51037 exec 5>>config.log
51038 {
51039 echo
51040 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51041 ## Running $as_me. ##
51042 _ASBOX
51043 } >&5
51044 cat >&5 <<_CSEOF
51045
51046 This file was extended by wxWidgets $as_me 2.7.1, which was
51047 generated by GNU Autoconf 2.59. Invocation command line was
51048
51049 CONFIG_FILES = $CONFIG_FILES
51050 CONFIG_HEADERS = $CONFIG_HEADERS
51051 CONFIG_LINKS = $CONFIG_LINKS
51052 CONFIG_COMMANDS = $CONFIG_COMMANDS
51053 $ $0 $@
51054
51055 _CSEOF
51056 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
51057 echo >&5
51058 _ACEOF
51059
51060 # Files that config.status was made for.
51061 if test -n "$ac_config_files"; then
51062 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
51063 fi
51064
51065 if test -n "$ac_config_headers"; then
51066 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
51067 fi
51068
51069 if test -n "$ac_config_links"; then
51070 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
51071 fi
51072
51073 if test -n "$ac_config_commands"; then
51074 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
51075 fi
51076
51077 cat >>$CONFIG_STATUS <<\_ACEOF
51078
51079 ac_cs_usage="\
51080 \`$as_me' instantiates files from templates according to the
51081 current configuration.
51082
51083 Usage: $0 [OPTIONS] [FILE]...
51084
51085 -h, --help print this help, then exit
51086 -V, --version print version number, then exit
51087 -q, --quiet do not print progress messages
51088 -d, --debug don't remove temporary files
51089 --recheck update $as_me by reconfiguring in the same conditions
51090 --file=FILE[:TEMPLATE]
51091 instantiate the configuration file FILE
51092 --header=FILE[:TEMPLATE]
51093 instantiate the configuration header FILE
51094
51095 Configuration files:
51096 $config_files
51097
51098 Configuration headers:
51099 $config_headers
51100
51101 Configuration commands:
51102 $config_commands
51103
51104 Report bugs to <bug-autoconf@gnu.org>."
51105 _ACEOF
51106
51107 cat >>$CONFIG_STATUS <<_ACEOF
51108 ac_cs_version="\\
51109 wxWidgets config.status 2.7.1
51110 configured by $0, generated by GNU Autoconf 2.59,
51111 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
51112
51113 Copyright (C) 2003 Free Software Foundation, Inc.
51114 This config.status script is free software; the Free Software Foundation
51115 gives unlimited permission to copy, distribute and modify it."
51116 srcdir=$srcdir
51117 INSTALL="$INSTALL"
51118 _ACEOF
51119
51120 cat >>$CONFIG_STATUS <<\_ACEOF
51121 # If no file are specified by the user, then we need to provide default
51122 # value. By we need to know if files were specified by the user.
51123 ac_need_defaults=:
51124 while test $# != 0
51125 do
51126 case $1 in
51127 --*=*)
51128 ac_option=`expr "x$1" : 'x\([^=]*\)='`
51129 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
51130 ac_shift=:
51131 ;;
51132 -*)
51133 ac_option=$1
51134 ac_optarg=$2
51135 ac_shift=shift
51136 ;;
51137 *) # This is not an option, so the user has probably given explicit
51138 # arguments.
51139 ac_option=$1
51140 ac_need_defaults=false;;
51141 esac
51142
51143 case $ac_option in
51144 # Handling of the options.
51145 _ACEOF
51146 cat >>$CONFIG_STATUS <<\_ACEOF
51147 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51148 ac_cs_recheck=: ;;
51149 --version | --vers* | -V )
51150 echo "$ac_cs_version"; exit 0 ;;
51151 --he | --h)
51152 # Conflict between --help and --header
51153 { { echo "$as_me:$LINENO: error: ambiguous option: $1
51154 Try \`$0 --help' for more information." >&5
51155 echo "$as_me: error: ambiguous option: $1
51156 Try \`$0 --help' for more information." >&2;}
51157 { (exit 1); exit 1; }; };;
51158 --help | --hel | -h )
51159 echo "$ac_cs_usage"; exit 0 ;;
51160 --debug | --d* | -d )
51161 debug=: ;;
51162 --file | --fil | --fi | --f )
51163 $ac_shift
51164 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51165 ac_need_defaults=false;;
51166 --header | --heade | --head | --hea )
51167 $ac_shift
51168 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51169 ac_need_defaults=false;;
51170 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51171 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51172 ac_cs_silent=: ;;
51173
51174 # This is an error.
51175 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
51176 Try \`$0 --help' for more information." >&5
51177 echo "$as_me: error: unrecognized option: $1
51178 Try \`$0 --help' for more information." >&2;}
51179 { (exit 1); exit 1; }; } ;;
51180
51181 *) ac_config_targets="$ac_config_targets $1" ;;
51182
51183 esac
51184 shift
51185 done
51186
51187 ac_configure_extra_args=
51188
51189 if $ac_cs_silent; then
51190 exec 6>/dev/null
51191 ac_configure_extra_args="$ac_configure_extra_args --silent"
51192 fi
51193
51194 _ACEOF
51195 cat >>$CONFIG_STATUS <<_ACEOF
51196 if \$ac_cs_recheck; then
51197 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51198 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51199 fi
51200
51201 _ACEOF
51202
51203 cat >>$CONFIG_STATUS <<_ACEOF
51204 #
51205 # INIT-COMMANDS section.
51206 #
51207
51208
51209 CPP="$CPP"
51210 infile="$srcdir/include/wx/msw/genrcdefs.h"
51211 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51212
51213
51214 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51215 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51216 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51217 LN_S="${LN_S}"
51218
51219
51220 _ACEOF
51221
51222
51223
51224 cat >>$CONFIG_STATUS <<\_ACEOF
51225 for ac_config_target in $ac_config_targets
51226 do
51227 case "$ac_config_target" in
51228 # Handling of arguments.
51229 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51230 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51231 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
51232 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51233 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
51234 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51235 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51236 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51237 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51238 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51239 { (exit 1); exit 1; }; };;
51240 esac
51241 done
51242
51243 # If the user did not use the arguments to specify the items to instantiate,
51244 # then the envvar interface is used. Set only those that are not.
51245 # We use the long form for the default assignment because of an extremely
51246 # bizarre bug on SunOS 4.1.3.
51247 if $ac_need_defaults; then
51248 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51249 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51250 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51251 fi
51252
51253 # Have a temporary directory for convenience. Make it in the build tree
51254 # simply because there is no reason to put it here, and in addition,
51255 # creating and moving files from /tmp can sometimes cause problems.
51256 # Create a temporary directory, and hook for its removal unless debugging.
51257 $debug ||
51258 {
51259 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
51260 trap '{ (exit 1); exit 1; }' 1 2 13 15
51261 }
51262
51263 # Create a (secure) tmp directory for tmp files.
51264
51265 {
51266 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
51267 test -n "$tmp" && test -d "$tmp"
51268 } ||
51269 {
51270 tmp=./confstat$$-$RANDOM
51271 (umask 077 && mkdir $tmp)
51272 } ||
51273 {
51274 echo "$me: cannot create a temporary directory in ." >&2
51275 { (exit 1); exit 1; }
51276 }
51277
51278 _ACEOF
51279
51280 cat >>$CONFIG_STATUS <<_ACEOF
51281
51282 #
51283 # CONFIG_FILES section.
51284 #
51285
51286 # No need to generate the scripts if there are no CONFIG_FILES.
51287 # This happens for instance when ./config.status config.h
51288 if test -n "\$CONFIG_FILES"; then
51289 # Protect against being on the right side of a sed subst in config.status.
51290 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
51291 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
51292 s,@SHELL@,$SHELL,;t t
51293 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
51294 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
51295 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
51296 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
51297 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
51298 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
51299 s,@exec_prefix@,$exec_prefix,;t t
51300 s,@prefix@,$prefix,;t t
51301 s,@program_transform_name@,$program_transform_name,;t t
51302 s,@bindir@,$bindir,;t t
51303 s,@sbindir@,$sbindir,;t t
51304 s,@libexecdir@,$libexecdir,;t t
51305 s,@datadir@,$datadir,;t t
51306 s,@sysconfdir@,$sysconfdir,;t t
51307 s,@sharedstatedir@,$sharedstatedir,;t t
51308 s,@localstatedir@,$localstatedir,;t t
51309 s,@libdir@,$libdir,;t t
51310 s,@includedir@,$includedir,;t t
51311 s,@oldincludedir@,$oldincludedir,;t t
51312 s,@infodir@,$infodir,;t t
51313 s,@mandir@,$mandir,;t t
51314 s,@build_alias@,$build_alias,;t t
51315 s,@host_alias@,$host_alias,;t t
51316 s,@target_alias@,$target_alias,;t t
51317 s,@DEFS@,$DEFS,;t t
51318 s,@ECHO_C@,$ECHO_C,;t t
51319 s,@ECHO_N@,$ECHO_N,;t t
51320 s,@ECHO_T@,$ECHO_T,;t t
51321 s,@LIBS@,$LIBS,;t t
51322 s,@build@,$build,;t t
51323 s,@build_cpu@,$build_cpu,;t t
51324 s,@build_vendor@,$build_vendor,;t t
51325 s,@build_os@,$build_os,;t t
51326 s,@host@,$host,;t t
51327 s,@host_cpu@,$host_cpu,;t t
51328 s,@host_vendor@,$host_vendor,;t t
51329 s,@host_os@,$host_os,;t t
51330 s,@target@,$target,;t t
51331 s,@target_cpu@,$target_cpu,;t t
51332 s,@target_vendor@,$target_vendor,;t t
51333 s,@target_os@,$target_os,;t t
51334 s,@CC@,$CC,;t t
51335 s,@CFLAGS@,$CFLAGS,;t t
51336 s,@LDFLAGS@,$LDFLAGS,;t t
51337 s,@CPPFLAGS@,$CPPFLAGS,;t t
51338 s,@ac_ct_CC@,$ac_ct_CC,;t t
51339 s,@EXEEXT@,$EXEEXT,;t t
51340 s,@OBJEXT@,$OBJEXT,;t t
51341 s,@CPP@,$CPP,;t t
51342 s,@EGREP@,$EGREP,;t t
51343 s,@CXX@,$CXX,;t t
51344 s,@CXXFLAGS@,$CXXFLAGS,;t t
51345 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
51346 s,@RANLIB@,$RANLIB,;t t
51347 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
51348 s,@AR@,$AR,;t t
51349 s,@ac_ct_AR@,$ac_ct_AR,;t t
51350 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
51351 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
51352 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
51353 s,@STRIP@,$STRIP,;t t
51354 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
51355 s,@WINDRES@,$WINDRES,;t t
51356 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
51357 s,@DLLTOOL@,$DLLTOOL,;t t
51358 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
51359 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
51360 s,@LN_S@,$LN_S,;t t
51361 s,@CXXCPP@,$CXXCPP,;t t
51362 s,@subdirs@,$subdirs,;t t
51363 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
51364 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
51365 s,@GTK_LIBS@,$GTK_LIBS,;t t
51366 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
51367 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
51368 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
51369 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
51370 s,@X_CFLAGS@,$X_CFLAGS,;t t
51371 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
51372 s,@X_LIBS@,$X_LIBS,;t t
51373 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
51374 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
51375 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
51376 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
51377 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
51378 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
51379 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
51380 s,@REZ@,$REZ,;t t
51381 s,@DEREZ@,$DEREZ,;t t
51382 s,@SETFILE@,$SETFILE,;t t
51383 s,@LIBICONV@,$LIBICONV,;t t
51384 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
51385 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
51386 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
51387 s,@SDL_LIBS@,$SDL_LIBS,;t t
51388 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
51389 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
51390 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
51391 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
51392 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
51393 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
51394 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
51395 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
51396 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
51397 s,@GST_LIBS@,$GST_LIBS,;t t
51398 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
51399 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
51400 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
51401 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
51402 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
51403 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
51404 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
51405 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
51406 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
51407 s,@VENDOR@,$VENDOR,;t t
51408 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
51409 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
51410 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
51411 s,@WXUNIV@,$WXUNIV,;t t
51412 s,@MONOLITHIC@,$MONOLITHIC,;t t
51413 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
51414 s,@EXTRALIBS@,$EXTRALIBS,;t t
51415 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
51416 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
51417 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
51418 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
51419 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
51420 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
51421 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
51422 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
51423 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
51424 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
51425 s,@UNICODE@,$UNICODE,;t t
51426 s,@BUILD@,$BUILD,;t t
51427 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
51428 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
51429 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
51430 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
51431 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
51432 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
51433 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
51434 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
51435 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
51436 s,@SET_MAKE@,$SET_MAKE,;t t
51437 s,@MAKE_SET@,$MAKE_SET,;t t
51438 s,@NM@,$NM,;t t
51439 s,@ac_ct_NM@,$ac_ct_NM,;t t
51440 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
51441 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
51442 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
51443 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
51444 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
51445 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
51446 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
51447 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
51448 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
51449 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
51450 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
51451 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
51452 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
51453 s,@LIBPREFIX@,$LIBPREFIX,;t t
51454 s,@LIBEXT@,$LIBEXT,;t t
51455 s,@DLLPREFIX@,$DLLPREFIX,;t t
51456 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
51457 s,@dlldir@,$dlldir,;t t
51458 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
51459 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
51460 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
51461 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
51462 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
51463 s,@PIC_FLAG@,$PIC_FLAG,;t t
51464 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
51465 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
51466 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
51467 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
51468 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
51469 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
51470 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
51471 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
51472 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
51473 s,@GCC_PCH@,$GCC_PCH,;t t
51474 s,@ICC_PCH@,$ICC_PCH,;t t
51475 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
51476 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
51477 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
51478 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
51479 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
51480 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
51481 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
51482 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
51483 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
51484 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
51485 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
51486 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
51487 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
51488 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
51489 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
51490 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
51491 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
51492 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
51493 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
51494 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
51495 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
51496 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
51497 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
51498 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
51499 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
51500 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
51501 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
51502 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
51503 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
51504 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
51505 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
51506 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
51507 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
51508 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
51509 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
51510 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
51511 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
51512 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
51513 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
51514 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
51515 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
51516 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
51517 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
51518 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
51519 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
51520 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
51521 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
51522 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
51523 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
51524 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
51525 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
51526 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
51527 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
51528 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
51529 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
51530 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
51531 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
51532 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
51533 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
51534 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
51535 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
51536 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
51537 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
51538 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
51539 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
51540 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
51541 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
51542 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
51543 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
51544 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
51545 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
51546 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
51547 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
51548 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51549 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51550 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51551 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
51552 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
51553 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
51554 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
51555 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
51556 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
51557 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
51558 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
51559 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
51560 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
51561 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
51562 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
51563 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
51564 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
51565 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
51566 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
51567 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
51568 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
51569 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
51570 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
51571 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
51572 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
51573 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
51574 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
51575 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
51576 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
51577 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
51578 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
51579 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
51580 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
51581 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
51582 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
51583 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
51584 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
51585 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
51586 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
51587 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
51588 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
51589 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
51590 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
51591 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
51592 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
51593 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
51594 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
51595 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
51596 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
51597 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
51598 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
51599 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
51600 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
51601 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51602 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51603 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51604 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
51605 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
51606 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
51607 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
51608 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
51609 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
51610 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
51611 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
51612 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
51613 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
51614 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
51615 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
51616 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
51617 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
51618 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
51619 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
51620 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
51621 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
51622 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
51623 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
51624 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
51625 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
51626 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
51627 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
51628 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
51629 s,@SHARED@,$SHARED,;t t
51630 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
51631 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
51632 s,@USE_GUI@,$USE_GUI,;t t
51633 s,@AFMINSTALL@,$AFMINSTALL,;t t
51634 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
51635 s,@TOOLKIT@,$TOOLKIT,;t t
51636 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
51637 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
51638 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
51639 s,@cross_compiling@,$cross_compiling,;t t
51640 s,@WIDGET_SET@,$WIDGET_SET,;t t
51641 s,@WX_RELEASE@,$WX_RELEASE,;t t
51642 s,@WX_VERSION@,$WX_VERSION,;t t
51643 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
51644 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
51645 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
51646 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
51647 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
51648 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
51649 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
51650 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
51651 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
51652 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
51653 s,@EXE_LINKER@,$EXE_LINKER,;t t
51654 s,@GUIDIST@,$GUIDIST,;t t
51655 s,@DISTDIR@,$DISTDIR,;t t
51656 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
51657 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
51658 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
51659 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
51660 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
51661 s,@RESCOMP@,$RESCOMP,;t t
51662 s,@RESFLAGS@,$RESFLAGS,;t t
51663 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
51664 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
51665 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
51666 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
51667 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
51668 s,@MACSETFILE@,$MACSETFILE,;t t
51669 s,@GCC@,$GCC,;t t
51670 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
51671 s,@LIBOBJS@,$LIBOBJS,;t t
51672 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
51673 CEOF
51674
51675 _ACEOF
51676
51677 cat >>$CONFIG_STATUS <<\_ACEOF
51678 # Split the substitutions into bite-sized pieces for seds with
51679 # small command number limits, like on Digital OSF/1 and HP-UX.
51680 ac_max_sed_lines=48
51681 ac_sed_frag=1 # Number of current file.
51682 ac_beg=1 # First line for current file.
51683 ac_end=$ac_max_sed_lines # Line after last line for current file.
51684 ac_more_lines=:
51685 ac_sed_cmds=
51686 while $ac_more_lines; do
51687 if test $ac_beg -gt 1; then
51688 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
51689 else
51690 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
51691 fi
51692 if test ! -s $tmp/subs.frag; then
51693 ac_more_lines=false
51694 else
51695 # The purpose of the label and of the branching condition is to
51696 # speed up the sed processing (if there are no `@' at all, there
51697 # is no need to browse any of the substitutions).
51698 # These are the two extra sed commands mentioned above.
51699 (echo ':t
51700 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
51701 if test -z "$ac_sed_cmds"; then
51702 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
51703 else
51704 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
51705 fi
51706 ac_sed_frag=`expr $ac_sed_frag + 1`
51707 ac_beg=$ac_end
51708 ac_end=`expr $ac_end + $ac_max_sed_lines`
51709 fi
51710 done
51711 if test -z "$ac_sed_cmds"; then
51712 ac_sed_cmds=cat
51713 fi
51714 fi # test -n "$CONFIG_FILES"
51715
51716 _ACEOF
51717 cat >>$CONFIG_STATUS <<\_ACEOF
51718 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
51719 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51720 case $ac_file in
51721 - | *:- | *:-:* ) # input from stdin
51722 cat >$tmp/stdin
51723 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51724 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51725 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51726 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51727 * ) ac_file_in=$ac_file.in ;;
51728 esac
51729
51730 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
51731 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
51732 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51733 X"$ac_file" : 'X\(//\)[^/]' \| \
51734 X"$ac_file" : 'X\(//\)$' \| \
51735 X"$ac_file" : 'X\(/\)' \| \
51736 . : '\(.\)' 2>/dev/null ||
51737 echo X"$ac_file" |
51738 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51739 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51740 /^X\(\/\/\)$/{ s//\1/; q; }
51741 /^X\(\/\).*/{ s//\1/; q; }
51742 s/.*/./; q'`
51743 { if $as_mkdir_p; then
51744 mkdir -p "$ac_dir"
51745 else
51746 as_dir="$ac_dir"
51747 as_dirs=
51748 while test ! -d "$as_dir"; do
51749 as_dirs="$as_dir $as_dirs"
51750 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51751 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51752 X"$as_dir" : 'X\(//\)[^/]' \| \
51753 X"$as_dir" : 'X\(//\)$' \| \
51754 X"$as_dir" : 'X\(/\)' \| \
51755 . : '\(.\)' 2>/dev/null ||
51756 echo X"$as_dir" |
51757 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51758 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51759 /^X\(\/\/\)$/{ s//\1/; q; }
51760 /^X\(\/\).*/{ s//\1/; q; }
51761 s/.*/./; q'`
51762 done
51763 test ! -n "$as_dirs" || mkdir $as_dirs
51764 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51765 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51766 { (exit 1); exit 1; }; }; }
51767
51768 ac_builddir=.
51769
51770 if test "$ac_dir" != .; then
51771 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51772 # A "../" for each directory in $ac_dir_suffix.
51773 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51774 else
51775 ac_dir_suffix= ac_top_builddir=
51776 fi
51777
51778 case $srcdir in
51779 .) # No --srcdir option. We are building in place.
51780 ac_srcdir=.
51781 if test -z "$ac_top_builddir"; then
51782 ac_top_srcdir=.
51783 else
51784 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51785 fi ;;
51786 [\\/]* | ?:[\\/]* ) # Absolute path.
51787 ac_srcdir=$srcdir$ac_dir_suffix;
51788 ac_top_srcdir=$srcdir ;;
51789 *) # Relative path.
51790 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51791 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51792 esac
51793
51794 # Do not use `cd foo && pwd` to compute absolute paths, because
51795 # the directories may not exist.
51796 case `pwd` in
51797 .) ac_abs_builddir="$ac_dir";;
51798 *)
51799 case "$ac_dir" in
51800 .) ac_abs_builddir=`pwd`;;
51801 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51802 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51803 esac;;
51804 esac
51805 case $ac_abs_builddir in
51806 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51807 *)
51808 case ${ac_top_builddir}. in
51809 .) ac_abs_top_builddir=$ac_abs_builddir;;
51810 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51811 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51812 esac;;
51813 esac
51814 case $ac_abs_builddir in
51815 .) ac_abs_srcdir=$ac_srcdir;;
51816 *)
51817 case $ac_srcdir in
51818 .) ac_abs_srcdir=$ac_abs_builddir;;
51819 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51820 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51821 esac;;
51822 esac
51823 case $ac_abs_builddir in
51824 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51825 *)
51826 case $ac_top_srcdir in
51827 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51828 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51829 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51830 esac;;
51831 esac
51832
51833
51834 case $INSTALL in
51835 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
51836 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
51837 esac
51838
51839 # Let's still pretend it is `configure' which instantiates (i.e., don't
51840 # use $as_me), people would be surprised to read:
51841 # /* config.h. Generated by config.status. */
51842 if test x"$ac_file" = x-; then
51843 configure_input=
51844 else
51845 configure_input="$ac_file. "
51846 fi
51847 configure_input=$configure_input"Generated from `echo $ac_file_in |
51848 sed 's,.*/,,'` by configure."
51849
51850 # First look for the input files in the build tree, otherwise in the
51851 # src tree.
51852 ac_file_inputs=`IFS=:
51853 for f in $ac_file_in; do
51854 case $f in
51855 -) echo $tmp/stdin ;;
51856 [\\/$]*)
51857 # Absolute (can't be DOS-style, as IFS=:)
51858 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51859 echo "$as_me: error: cannot find input file: $f" >&2;}
51860 { (exit 1); exit 1; }; }
51861 echo "$f";;
51862 *) # Relative
51863 if test -f "$f"; then
51864 # Build tree
51865 echo "$f"
51866 elif test -f "$srcdir/$f"; then
51867 # Source tree
51868 echo "$srcdir/$f"
51869 else
51870 # /dev/null tree
51871 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51872 echo "$as_me: error: cannot find input file: $f" >&2;}
51873 { (exit 1); exit 1; }; }
51874 fi;;
51875 esac
51876 done` || { (exit 1); exit 1; }
51877
51878 if test x"$ac_file" != x-; then
51879 { echo "$as_me:$LINENO: creating $ac_file" >&5
51880 echo "$as_me: creating $ac_file" >&6;}
51881 rm -f "$ac_file"
51882 fi
51883 _ACEOF
51884 cat >>$CONFIG_STATUS <<_ACEOF
51885 sed "$ac_vpsub
51886 $extrasub
51887 _ACEOF
51888 cat >>$CONFIG_STATUS <<\_ACEOF
51889 :t
51890 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51891 s,@configure_input@,$configure_input,;t t
51892 s,@srcdir@,$ac_srcdir,;t t
51893 s,@abs_srcdir@,$ac_abs_srcdir,;t t
51894 s,@top_srcdir@,$ac_top_srcdir,;t t
51895 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
51896 s,@builddir@,$ac_builddir,;t t
51897 s,@abs_builddir@,$ac_abs_builddir,;t t
51898 s,@top_builddir@,$ac_top_builddir,;t t
51899 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
51900 s,@INSTALL@,$ac_INSTALL,;t t
51901 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
51902 rm -f $tmp/stdin
51903 if test x"$ac_file" != x-; then
51904 mv $tmp/out $ac_file
51905 else
51906 cat $tmp/out
51907 rm -f $tmp/out
51908 fi
51909
51910 # Run the commands associated with the file.
51911 case $ac_file in
51912 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51913 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51914 esac
51915 done
51916 _ACEOF
51917 cat >>$CONFIG_STATUS <<\_ACEOF
51918
51919 #
51920 # CONFIG_HEADER section.
51921 #
51922
51923 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
51924 # NAME is the cpp macro being defined and VALUE is the value it is being given.
51925 #
51926 # ac_d sets the value in "#define NAME VALUE" lines.
51927 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
51928 ac_dB='[ ].*$,\1#\2'
51929 ac_dC=' '
51930 ac_dD=',;t'
51931 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
51932 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
51933 ac_uB='$,\1#\2define\3'
51934 ac_uC=' '
51935 ac_uD=',;t'
51936
51937 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
51938 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51939 case $ac_file in
51940 - | *:- | *:-:* ) # input from stdin
51941 cat >$tmp/stdin
51942 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51943 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51944 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51945 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51946 * ) ac_file_in=$ac_file.in ;;
51947 esac
51948
51949 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
51950 echo "$as_me: creating $ac_file" >&6;}
51951
51952 # First look for the input files in the build tree, otherwise in the
51953 # src tree.
51954 ac_file_inputs=`IFS=:
51955 for f in $ac_file_in; do
51956 case $f in
51957 -) echo $tmp/stdin ;;
51958 [\\/$]*)
51959 # Absolute (can't be DOS-style, as IFS=:)
51960 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51961 echo "$as_me: error: cannot find input file: $f" >&2;}
51962 { (exit 1); exit 1; }; }
51963 # Do quote $f, to prevent DOS paths from being IFS'd.
51964 echo "$f";;
51965 *) # Relative
51966 if test -f "$f"; then
51967 # Build tree
51968 echo "$f"
51969 elif test -f "$srcdir/$f"; then
51970 # Source tree
51971 echo "$srcdir/$f"
51972 else
51973 # /dev/null tree
51974 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51975 echo "$as_me: error: cannot find input file: $f" >&2;}
51976 { (exit 1); exit 1; }; }
51977 fi;;
51978 esac
51979 done` || { (exit 1); exit 1; }
51980 # Remove the trailing spaces.
51981 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
51982
51983 _ACEOF
51984
51985 # Transform confdefs.h into two sed scripts, `conftest.defines' and
51986 # `conftest.undefs', that substitutes the proper values into
51987 # config.h.in to produce config.h. The first handles `#define'
51988 # templates, and the second `#undef' templates.
51989 # And first: Protect against being on the right side of a sed subst in
51990 # config.status. Protect against being in an unquoted here document
51991 # in config.status.
51992 rm -f conftest.defines conftest.undefs
51993 # Using a here document instead of a string reduces the quoting nightmare.
51994 # Putting comments in sed scripts is not portable.
51995 #
51996 # `end' is used to avoid that the second main sed command (meant for
51997 # 0-ary CPP macros) applies to n-ary macro definitions.
51998 # See the Autoconf documentation for `clear'.
51999 cat >confdef2sed.sed <<\_ACEOF
52000 s/[\\&,]/\\&/g
52001 s,[\\$`],\\&,g
52002 t clear
52003 : clear
52004 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
52005 t end
52006 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
52007 : end
52008 _ACEOF
52009 # If some macros were called several times there might be several times
52010 # the same #defines, which is useless. Nevertheless, we may not want to
52011 # sort them, since we want the *last* AC-DEFINE to be honored.
52012 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
52013 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
52014 rm -f confdef2sed.sed
52015
52016 # This sed command replaces #undef with comments. This is necessary, for
52017 # example, in the case of _POSIX_SOURCE, which is predefined and required
52018 # on some systems where configure will not decide to define it.
52019 cat >>conftest.undefs <<\_ACEOF
52020 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
52021 _ACEOF
52022
52023 # Break up conftest.defines because some shells have a limit on the size
52024 # of here documents, and old seds have small limits too (100 cmds).
52025 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
52026 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
52027 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
52028 echo ' :' >>$CONFIG_STATUS
52029 rm -f conftest.tail
52030 while grep . conftest.defines >/dev/null
52031 do
52032 # Write a limited-size here document to $tmp/defines.sed.
52033 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
52034 # Speed up: don't consider the non `#define' lines.
52035 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
52036 # Work around the forget-to-reset-the-flag bug.
52037 echo 't clr' >>$CONFIG_STATUS
52038 echo ': clr' >>$CONFIG_STATUS
52039 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
52040 echo 'CEOF
52041 sed -f $tmp/defines.sed $tmp/in >$tmp/out
52042 rm -f $tmp/in
52043 mv $tmp/out $tmp/in
52044 ' >>$CONFIG_STATUS
52045 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
52046 rm -f conftest.defines
52047 mv conftest.tail conftest.defines
52048 done
52049 rm -f conftest.defines
52050 echo ' fi # grep' >>$CONFIG_STATUS
52051 echo >>$CONFIG_STATUS
52052
52053 # Break up conftest.undefs because some shells have a limit on the size
52054 # of here documents, and old seds have small limits too (100 cmds).
52055 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
52056 rm -f conftest.tail
52057 while grep . conftest.undefs >/dev/null
52058 do
52059 # Write a limited-size here document to $tmp/undefs.sed.
52060 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
52061 # Speed up: don't consider the non `#undef'
52062 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
52063 # Work around the forget-to-reset-the-flag bug.
52064 echo 't clr' >>$CONFIG_STATUS
52065 echo ': clr' >>$CONFIG_STATUS
52066 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
52067 echo 'CEOF
52068 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
52069 rm -f $tmp/in
52070 mv $tmp/out $tmp/in
52071 ' >>$CONFIG_STATUS
52072 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
52073 rm -f conftest.undefs
52074 mv conftest.tail conftest.undefs
52075 done
52076 rm -f conftest.undefs
52077
52078 cat >>$CONFIG_STATUS <<\_ACEOF
52079 # Let's still pretend it is `configure' which instantiates (i.e., don't
52080 # use $as_me), people would be surprised to read:
52081 # /* config.h. Generated by config.status. */
52082 if test x"$ac_file" = x-; then
52083 echo "/* Generated by configure. */" >$tmp/config.h
52084 else
52085 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
52086 fi
52087 cat $tmp/in >>$tmp/config.h
52088 rm -f $tmp/in
52089 if test x"$ac_file" != x-; then
52090 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
52091 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52092 echo "$as_me: $ac_file is unchanged" >&6;}
52093 else
52094 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
52095 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52096 X"$ac_file" : 'X\(//\)[^/]' \| \
52097 X"$ac_file" : 'X\(//\)$' \| \
52098 X"$ac_file" : 'X\(/\)' \| \
52099 . : '\(.\)' 2>/dev/null ||
52100 echo X"$ac_file" |
52101 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52102 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52103 /^X\(\/\/\)$/{ s//\1/; q; }
52104 /^X\(\/\).*/{ s//\1/; q; }
52105 s/.*/./; q'`
52106 { if $as_mkdir_p; then
52107 mkdir -p "$ac_dir"
52108 else
52109 as_dir="$ac_dir"
52110 as_dirs=
52111 while test ! -d "$as_dir"; do
52112 as_dirs="$as_dir $as_dirs"
52113 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52114 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52115 X"$as_dir" : 'X\(//\)[^/]' \| \
52116 X"$as_dir" : 'X\(//\)$' \| \
52117 X"$as_dir" : 'X\(/\)' \| \
52118 . : '\(.\)' 2>/dev/null ||
52119 echo X"$as_dir" |
52120 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52121 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52122 /^X\(\/\/\)$/{ s//\1/; q; }
52123 /^X\(\/\).*/{ s//\1/; q; }
52124 s/.*/./; q'`
52125 done
52126 test ! -n "$as_dirs" || mkdir $as_dirs
52127 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52128 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52129 { (exit 1); exit 1; }; }; }
52130
52131 rm -f $ac_file
52132 mv $tmp/config.h $ac_file
52133 fi
52134 else
52135 cat $tmp/config.h
52136 rm -f $tmp/config.h
52137 fi
52138 done
52139 _ACEOF
52140 cat >>$CONFIG_STATUS <<\_ACEOF
52141
52142 #
52143 # CONFIG_COMMANDS section.
52144 #
52145 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
52146 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
52147 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
52148 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
52149 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52150 X"$ac_dest" : 'X\(//\)[^/]' \| \
52151 X"$ac_dest" : 'X\(//\)$' \| \
52152 X"$ac_dest" : 'X\(/\)' \| \
52153 . : '\(.\)' 2>/dev/null ||
52154 echo X"$ac_dest" |
52155 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52156 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52157 /^X\(\/\/\)$/{ s//\1/; q; }
52158 /^X\(\/\).*/{ s//\1/; q; }
52159 s/.*/./; q'`
52160 { if $as_mkdir_p; then
52161 mkdir -p "$ac_dir"
52162 else
52163 as_dir="$ac_dir"
52164 as_dirs=
52165 while test ! -d "$as_dir"; do
52166 as_dirs="$as_dir $as_dirs"
52167 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52168 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52169 X"$as_dir" : 'X\(//\)[^/]' \| \
52170 X"$as_dir" : 'X\(//\)$' \| \
52171 X"$as_dir" : 'X\(/\)' \| \
52172 . : '\(.\)' 2>/dev/null ||
52173 echo X"$as_dir" |
52174 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52175 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52176 /^X\(\/\/\)$/{ s//\1/; q; }
52177 /^X\(\/\).*/{ s//\1/; q; }
52178 s/.*/./; q'`
52179 done
52180 test ! -n "$as_dirs" || mkdir $as_dirs
52181 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52182 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52183 { (exit 1); exit 1; }; }; }
52184
52185 ac_builddir=.
52186
52187 if test "$ac_dir" != .; then
52188 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52189 # A "../" for each directory in $ac_dir_suffix.
52190 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52191 else
52192 ac_dir_suffix= ac_top_builddir=
52193 fi
52194
52195 case $srcdir in
52196 .) # No --srcdir option. We are building in place.
52197 ac_srcdir=.
52198 if test -z "$ac_top_builddir"; then
52199 ac_top_srcdir=.
52200 else
52201 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52202 fi ;;
52203 [\\/]* | ?:[\\/]* ) # Absolute path.
52204 ac_srcdir=$srcdir$ac_dir_suffix;
52205 ac_top_srcdir=$srcdir ;;
52206 *) # Relative path.
52207 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52208 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52209 esac
52210
52211 # Do not use `cd foo && pwd` to compute absolute paths, because
52212 # the directories may not exist.
52213 case `pwd` in
52214 .) ac_abs_builddir="$ac_dir";;
52215 *)
52216 case "$ac_dir" in
52217 .) ac_abs_builddir=`pwd`;;
52218 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52219 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52220 esac;;
52221 esac
52222 case $ac_abs_builddir in
52223 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52224 *)
52225 case ${ac_top_builddir}. in
52226 .) ac_abs_top_builddir=$ac_abs_builddir;;
52227 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52228 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52229 esac;;
52230 esac
52231 case $ac_abs_builddir in
52232 .) ac_abs_srcdir=$ac_srcdir;;
52233 *)
52234 case $ac_srcdir in
52235 .) ac_abs_srcdir=$ac_abs_builddir;;
52236 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52237 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52238 esac;;
52239 esac
52240 case $ac_abs_builddir in
52241 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52242 *)
52243 case $ac_top_srcdir in
52244 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52245 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52246 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52247 esac;;
52248 esac
52249
52250
52251 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
52252 echo "$as_me: executing $ac_dest commands" >&6;}
52253 case $ac_dest in
52254 rcdefs.h )
52255 mkdir -p $outdir &&
52256 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52257 ;;
52258 wx-config ) rm -f wx-config
52259 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52260 ;;
52261 esac
52262 done
52263 _ACEOF
52264
52265 cat >>$CONFIG_STATUS <<\_ACEOF
52266
52267 { (exit 0); exit 0; }
52268 _ACEOF
52269 chmod +x $CONFIG_STATUS
52270 ac_clean_files=$ac_clean_files_save
52271
52272
52273 # configure is writing to config.log, and then calls config.status.
52274 # config.status does its own redirection, appending to config.log.
52275 # Unfortunately, on DOS this fails, as config.log is still kept open
52276 # by configure, so config.status won't be able to write to it; its
52277 # output is simply discarded. So we exec the FD to /dev/null,
52278 # effectively closing config.log, so it can be properly (re)opened and
52279 # appended to by config.status. When coming back to configure, we
52280 # need to make the FD available again.
52281 if test "$no_create" != yes; then
52282 ac_cs_success=:
52283 ac_config_status_args=
52284 test "$silent" = yes &&
52285 ac_config_status_args="$ac_config_status_args --quiet"
52286 exec 5>/dev/null
52287 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52288 exec 5>>config.log
52289 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52290 # would make configure fail if this is the last instruction.
52291 $ac_cs_success || { (exit 1); exit 1; }
52292 fi
52293
52294 #
52295 # CONFIG_SUBDIRS section.
52296 #
52297 if test "$no_recursion" != yes; then
52298
52299 # Remove --cache-file and --srcdir arguments so they do not pile up.
52300 ac_sub_configure_args=
52301 ac_prev=
52302 for ac_arg in $ac_configure_args; do
52303 if test -n "$ac_prev"; then
52304 ac_prev=
52305 continue
52306 fi
52307 case $ac_arg in
52308 -cache-file | --cache-file | --cache-fil | --cache-fi \
52309 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52310 ac_prev=cache_file ;;
52311 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52312 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52313 | --c=*)
52314 ;;
52315 --config-cache | -C)
52316 ;;
52317 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52318 ac_prev=srcdir ;;
52319 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52320 ;;
52321 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52322 ac_prev=prefix ;;
52323 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52324 ;;
52325 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
52326 esac
52327 done
52328
52329 # Always prepend --prefix to ensure using the same prefix
52330 # in subdir configurations.
52331 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
52332
52333 ac_popdir=`pwd`
52334 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52335
52336 # Do not complain, so a configure script can configure whichever
52337 # parts of a large source tree are present.
52338 test -d $srcdir/$ac_dir || continue
52339
52340 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
52341 echo "$as_me: configuring in $ac_dir" >&6;}
52342 { if $as_mkdir_p; then
52343 mkdir -p "$ac_dir"
52344 else
52345 as_dir="$ac_dir"
52346 as_dirs=
52347 while test ! -d "$as_dir"; do
52348 as_dirs="$as_dir $as_dirs"
52349 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52350 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52351 X"$as_dir" : 'X\(//\)[^/]' \| \
52352 X"$as_dir" : 'X\(//\)$' \| \
52353 X"$as_dir" : 'X\(/\)' \| \
52354 . : '\(.\)' 2>/dev/null ||
52355 echo X"$as_dir" |
52356 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52357 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52358 /^X\(\/\/\)$/{ s//\1/; q; }
52359 /^X\(\/\).*/{ s//\1/; q; }
52360 s/.*/./; q'`
52361 done
52362 test ! -n "$as_dirs" || mkdir $as_dirs
52363 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52364 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52365 { (exit 1); exit 1; }; }; }
52366
52367 ac_builddir=.
52368
52369 if test "$ac_dir" != .; then
52370 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52371 # A "../" for each directory in $ac_dir_suffix.
52372 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52373 else
52374 ac_dir_suffix= ac_top_builddir=
52375 fi
52376
52377 case $srcdir in
52378 .) # No --srcdir option. We are building in place.
52379 ac_srcdir=.
52380 if test -z "$ac_top_builddir"; then
52381 ac_top_srcdir=.
52382 else
52383 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52384 fi ;;
52385 [\\/]* | ?:[\\/]* ) # Absolute path.
52386 ac_srcdir=$srcdir$ac_dir_suffix;
52387 ac_top_srcdir=$srcdir ;;
52388 *) # Relative path.
52389 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52390 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52391 esac
52392
52393 # Do not use `cd foo && pwd` to compute absolute paths, because
52394 # the directories may not exist.
52395 case `pwd` in
52396 .) ac_abs_builddir="$ac_dir";;
52397 *)
52398 case "$ac_dir" in
52399 .) ac_abs_builddir=`pwd`;;
52400 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52401 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52402 esac;;
52403 esac
52404 case $ac_abs_builddir in
52405 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52406 *)
52407 case ${ac_top_builddir}. in
52408 .) ac_abs_top_builddir=$ac_abs_builddir;;
52409 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52410 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52411 esac;;
52412 esac
52413 case $ac_abs_builddir in
52414 .) ac_abs_srcdir=$ac_srcdir;;
52415 *)
52416 case $ac_srcdir in
52417 .) ac_abs_srcdir=$ac_abs_builddir;;
52418 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52419 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52420 esac;;
52421 esac
52422 case $ac_abs_builddir in
52423 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52424 *)
52425 case $ac_top_srcdir in
52426 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52427 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52428 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52429 esac;;
52430 esac
52431
52432
52433 cd $ac_dir
52434
52435 # Check for guested configure; otherwise get Cygnus style configure.
52436 if test -f $ac_srcdir/configure.gnu; then
52437 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
52438 elif test -f $ac_srcdir/configure; then
52439 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
52440 elif test -f $ac_srcdir/configure.in; then
52441 ac_sub_configure=$ac_configure
52442 else
52443 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52444 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52445 ac_sub_configure=
52446 fi
52447
52448 # The recursion is here.
52449 if test -n "$ac_sub_configure"; then
52450 # Make the cache file name correct relative to the subdirectory.
52451 case $cache_file in
52452 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52453 *) # Relative path.
52454 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
52455 esac
52456
52457 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52458 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52459 # The eval makes quoting arguments work.
52460 eval $ac_sub_configure $ac_sub_configure_args \
52461 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
52462 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52463 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52464 { (exit 1); exit 1; }; }
52465 fi
52466
52467 cd "$ac_popdir"
52468 done
52469 fi
52470
52471
52472 echo
52473 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52474 echo ""
52475 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52476 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52477
52478 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52479 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52480 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
52481
52482 echo " What level of wxWidgets compatibility should be enabled?"
52483 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
52484 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
52485
52486 echo " Which libraries should wxWidgets use?"
52487 echo " jpeg ${wxUSE_LIBJPEG-none}"
52488 echo " png ${wxUSE_LIBPNG-none}"
52489 echo " regex ${wxUSE_REGEX}"
52490 echo " tiff ${wxUSE_LIBTIFF-none}"
52491 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52492 echo " xpm ${wxUSE_LIBXPM-none}"
52493 fi
52494 echo " zlib ${wxUSE_ZLIB}"
52495 echo " odbc ${wxUSE_ODBC}"
52496 echo " expat ${wxUSE_EXPAT}"
52497 echo " libmspack ${wxUSE_LIBMSPACK}"
52498 echo " sdl ${wxUSE_LIBSDL}"
52499
52500 echo ""
52501