]> git.saurik.com Git - wxWidgets.git/blob - configure
Updated PO files. Translated some of the missing Italian strings.
[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-backingfile use wxBackingFile
985 --enable-backtrace use wxStackWalker class for getting backtraces
986 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
987 --enable-cmdline use wxCmdLineParser class
988 --enable-datetime use wxDateTime class
989 --enable-debugreport use wxDebugReport class
990 --enable-dialupman use dialup network classes
991 --enable-dynlib use wxLibrary class for DLL loading
992 --enable-dynamicloader use (new) wxDynamicLibrary class
993 --enable-exceptions build exception-safe library
994 --enable-ffile use wxFFile class
995 --enable-file use wxFile class
996 --enable-filesystem use virtual file systems classes
997 --enable-fontmap use font encodings conversion classes
998 --enable-fs_archive use virtual archive filesystems
999 --enable-fs_inet use virtual HTTP/FTP filesystems
1000 --enable-fs_zip use virtual ZIP filesystems
1001 --enable-geometry use geometry class
1002 --enable-log use logging system
1003 --enable-longlong use wxLongLong class
1004 --enable-mimetype use wxMimeTypesManager
1005 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1006 --enable-snglinst use wxSingleInstanceChecker class
1007 --enable-std_iostreams use standard C++ stream classes
1008 --enable-std_string use standard C++ string classes
1009 --enable-stdpaths use wxStandardPaths class
1010 --enable-stopwatch use wxStopWatch class
1011 --enable-streams use wxStream etc classes
1012 --enable-sysoptions use wxSystemOptions
1013 --enable-tarstream use wxTar streams
1014 --enable-textbuf use wxTextBuffer class
1015 --enable-textfile use wxTextFile class
1016 --enable-timer use wxTimer class
1017 --enable-unicode compile wxString with Unicode support
1018 --enable-sound use wxSound class
1019 --enable-mediactrl use wxMediaCtrl class
1020 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1021 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1022 --enable-zipstream use wxZip streams
1023 --enable-url use wxURL class
1024 --enable-variant use wxVariant class
1025 --enable-protocol use wxProtocol class
1026 --enable-protocol-http HTTP support in wxProtocol
1027 --enable-protocol-ftp FTP support in wxProtocol
1028 --enable-protocol-file FILE support in wxProtocol
1029 --enable-threads use threads
1030 --enable-docview use document view architecture
1031 --enable-help use help subsystem
1032 --enable-mshtmlhelp use MS HTML Help (win32)
1033 --enable-html use wxHTML sub-library
1034 --enable-htmlhelp use wxHTML-based help
1035 --enable-xrc use XRC resources sub-library
1036 --enable-aui use AUI docking library
1037 --enable-constraints use layout-constraints system
1038 --enable-printarch use printing architecture
1039 --enable-mdi use multiple document interface architecture
1040 --enable-mdidoc use docview architecture with MDI
1041 --enable-loggui use standard GUI logger
1042 --enable-logwin use wxLogWindow
1043 --enable-logdialog use wxLogDialog
1044 --enable-webkit use wxWebKitCtrl (Mac)
1045 --enable-richtext use wxRichTextCtrl
1046 --enable-graphics_ctx use graphics context 2D drawing API
1047 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1048 --enable-prologio not available; see contrib
1049 --enable-resources not available; see contrib
1050 --enable-clipboard use wxClipboard class
1051 --enable-dnd use Drag'n'Drop classes
1052 --enable-metafile use win32 metafiles
1053 --enable-controls use all usual controls
1054 --enable-accel use accelerators
1055 --enable-animatectrl use wxAnimationCtrl class
1056 --enable-button use wxButton class
1057 --enable-bmpbutton use wxBitmapButton class
1058 --enable-bmpcombobox use wxBitmapComboBox class
1059 --enable-calendar use wxCalendarCtrl class
1060 --enable-caret use wxCaret class
1061 --enable-checkbox use wxCheckBox class
1062 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1063 --enable-choice use wxChoice class
1064 --enable-choicebook use wxChoicebook class
1065 --enable-colourpicker use wxColourPickerCtrl class
1066 --enable-combobox use wxComboBox class
1067 --enable-comboctrl use wxComboCtrl class
1068 --enable-datepick use wxDatePickerCtrl class
1069 --enable-dirpicker use wxDirPickerCtrl class
1070 --enable-display use wxDisplay class
1071 --enable-detect_sm use code to detect X11 session manager
1072 --enable-filepicker use wxFilePickerCtrl class
1073 --enable-fontpicker use wxFontPickerCtrl class
1074 --enable-gauge use wxGauge class
1075 --enable-grid use wxGrid class
1076 --enable-dataviewctrl, use wxDataViewCtrl class
1077 --enable-hyperlink use wxHyperlinkCtrl class
1078 --enable-imaglist use wxImageList class
1079 --enable-listbook use wxListbook class
1080 --enable-listbox use wxListBox class
1081 --enable-listctrl use wxListCtrl class
1082 --enable-notebook use wxNotebook class
1083 --enable-odcombobox use wxOwnerDrawnComboBox class
1084 --enable-radiobox use wxRadioBox class
1085 --enable-radiobtn use wxRadioButton class
1086 --enable-sash use wxSashWindow class
1087 --enable-scrollbar use wxScrollBar class and scrollable windows
1088 --enable-slider use wxSlider class
1089 --enable-spinbtn use wxSpinButton class
1090 --enable-spinctrl use wxSpinCtrl class
1091 --enable-splitter use wxSplitterWindow class
1092 --enable-statbmp use wxStaticBitmap class
1093 --enable-statbox use wxStaticBox class
1094 --enable-statline use wxStaticLine class
1095 --enable-stattext use wxStaticText class
1096 --enable-statusbar use wxStatusBar class
1097 --enable-tabdialog use wxTabControl class
1098 --enable-textctrl use wxTextCtrl class
1099 --enable-togglebtn use wxToggleButton class
1100 --enable-toolbar use wxToolBar class
1101 --enable-tbarnative use native wxToolBar class
1102 --enable-treebook use wxTreebook class
1103 --enable-toolbook use wxToolbook class
1104 --enable-treectrl use wxTreeCtrl class
1105 --enable-tipwindow use wxTipWindow class
1106 --enable-popupwin use wxPopUpWindow class
1107 --enable-commondlg use all common dialogs
1108 --enable-aboutdlg use wxAboutBox
1109 --enable-choicedlg use wxChoiceDialog
1110 --enable-coldlg use wxColourDialog
1111 --enable-filedlg use wxFileDialog
1112 --enable-finddlg use wxFindReplaceDialog
1113 --enable-fontdlg use wxFontDialog
1114 --enable-dirdlg use wxDirDialog
1115 --enable-msgdlg use wxMessageDialog
1116 --enable-numberdlg use wxNumberEntryDialog
1117 --enable-splash use wxSplashScreen
1118 --enable-textdlg use wxTextDialog
1119 --enable-tipdlg use startup tips
1120 --enable-progressdlg use wxProgressDialog
1121 --enable-wizarddlg use wxWizard
1122 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1123 --enable-miniframe use wxMiniFrame class
1124 --enable-tooltips use wxToolTip class
1125 --enable-splines use spline drawing code
1126 --enable-mousewheel use mousewheel
1127 --enable-validators use wxValidator and derived classes
1128 --enable-busyinfo use wxBusyInfo
1129 --enable-joystick use wxJoystick
1130 --enable-metafiles use wxMetaFile (Win32 only)
1131 --enable-dragimage use wxDragImage
1132 --enable-accessibility enable accessibility support
1133 --enable-dccache cache temporary wxDC objects (Win32 only)
1134 --enable-palette use wxPalette class
1135 --enable-image use wxImage class
1136 --enable-gif use gif images (GIF file format)
1137 --enable-pcx use pcx images (PCX file format)
1138 --enable-iff use iff images (IFF file format)
1139 --enable-pnm use pnm images (PNM file format)
1140 --enable-xpm use xpm images (XPM file format)
1141 --enable-icocur use Windows ICO and CUR formats
1142 --enable-official_build official build of wxWidgets (win32 DLL only)
1143 --enable-vendor=VENDOR vendor name (win32 DLL only)
1144 --disable-largefile omit support for large files
1145 --disable-gtktest do not try to compile and run a test GTK+ program
1146 --disable-gtktest Do not try to compile and run a test GTK program
1147 --disable-sdltest Do not try to compile and run a test SDL program
1148 --enable-omf use OMF object format (OS/2)
1149 --disable-dependency-tracking
1150 don't use dependency tracking even if the compiler
1151 can
1152 --disable-precomp-headers
1153 don't use precompiled headers even if compiler can
1154
1155 Optional Packages:
1156 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1157 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1158 --without-subdirs don't generate makefiles for samples/demos/...
1159 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1160 --with-motif use Motif/Lesstif
1161 --with-mac use Mac OS X
1162 --with-cocoa use Cocoa
1163 --with-wine use Wine
1164 --with-msw use MS-Windows
1165 --with-pm use OS/2 Presentation Manager
1166 --with-mgl use SciTech MGL
1167 --with-directfb use DirectFB
1168 --with-microwin use MicroWindows
1169 --with-x11 use X11
1170 --with-libpng use libpng (PNG image format)
1171 --with-libjpeg use libjpeg (JPEG file format)
1172 --with-libtiff use libtiff (TIFF file format)
1173 --with-libxpm use libxpm (XPM file format)
1174 --with-libmspack use libmspack (CHM help files loading)
1175 --with-sdl use SDL for audio on Unix
1176 --with-gnomeprint use GNOME print for printing under GNOME
1177 --with-gnomevfs use GNOME VFS for associating MIME types
1178 --with-hildon use Hildon framework for Nokia 770
1179 --with-opengl use OpenGL (or Mesa)
1180 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1181 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1182 --with-regex enable support for wxRegEx class
1183 --with-zlib use zlib for LZW compression
1184 --with-odbc use the IODBC and wxODBC classes
1185 --with-expat enable XML support using expat parser
1186 --with-flavour=NAME specify a name to identify this build
1187 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1188 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1189 --with-x use the X Window System
1190 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1191 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1192 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1193 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1194 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1195
1196 Some influential environment variables:
1197 CC C compiler command
1198 CFLAGS C compiler flags
1199 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1200 nonstandard directory <lib dir>
1201 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1202 headers in a nonstandard directory <include dir>
1203 CPP C preprocessor
1204 CXX C++ compiler command
1205 CXXFLAGS C++ compiler flags
1206 CXXCPP C++ preprocessor
1207 PKG_CONFIG path to pkg-config utility
1208 DIRECTFB_CFLAGS
1209 C compiler flags for DIRECTFB, overriding pkg-config
1210 DIRECTFB_LIBS
1211 linker flags for DIRECTFB, overriding pkg-config
1212 PANGOX_CFLAGS
1213 C compiler flags for PANGOX, overriding pkg-config
1214 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1215 PANGOFT2_CFLAGS
1216 C compiler flags for PANGOFT2, overriding pkg-config
1217 PANGOFT2_LIBS
1218 linker flags for PANGOFT2, overriding pkg-config
1219 PANGOXFT_CFLAGS
1220 C compiler flags for PANGOXFT, overriding pkg-config
1221 PANGOXFT_LIBS
1222 linker flags for PANGOXFT, overriding pkg-config
1223 LIBGNOMEPRINTUI_CFLAGS
1224 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1225 LIBGNOMEPRINTUI_LIBS
1226 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1227 GNOMEVFS_CFLAGS
1228 C compiler flags for GNOMEVFS, overriding pkg-config
1229 GNOMEVFS_LIBS
1230 linker flags for GNOMEVFS, overriding pkg-config
1231 HILDON_CFLAGS
1232 C compiler flags for HILDON, overriding pkg-config
1233 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1234 CAIRO_CFLAGS
1235 C compiler flags for CAIRO, overriding pkg-config
1236 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1237 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1238 GST_LIBS linker flags for GST, overriding pkg-config
1239
1240 Use these variables to override the choices made by `configure' or to help
1241 it to find libraries and programs with nonstandard names/locations.
1242
1243 Report bugs to <wx-dev@lists.wxwidgets.org>.
1244 _ACEOF
1245 fi
1246
1247 if test "$ac_init_help" = "recursive"; then
1248 # If there are subdirs, report their specific --help.
1249 ac_popdir=`pwd`
1250 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1251 test -d $ac_dir || continue
1252 ac_builddir=.
1253
1254 if test "$ac_dir" != .; then
1255 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1256 # A "../" for each directory in $ac_dir_suffix.
1257 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1258 else
1259 ac_dir_suffix= ac_top_builddir=
1260 fi
1261
1262 case $srcdir in
1263 .) # No --srcdir option. We are building in place.
1264 ac_srcdir=.
1265 if test -z "$ac_top_builddir"; then
1266 ac_top_srcdir=.
1267 else
1268 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1269 fi ;;
1270 [\\/]* | ?:[\\/]* ) # Absolute path.
1271 ac_srcdir=$srcdir$ac_dir_suffix;
1272 ac_top_srcdir=$srcdir ;;
1273 *) # Relative path.
1274 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1275 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1276 esac
1277
1278 # Do not use `cd foo && pwd` to compute absolute paths, because
1279 # the directories may not exist.
1280 case `pwd` in
1281 .) ac_abs_builddir="$ac_dir";;
1282 *)
1283 case "$ac_dir" in
1284 .) ac_abs_builddir=`pwd`;;
1285 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1286 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1287 esac;;
1288 esac
1289 case $ac_abs_builddir in
1290 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1291 *)
1292 case ${ac_top_builddir}. in
1293 .) ac_abs_top_builddir=$ac_abs_builddir;;
1294 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1295 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1296 esac;;
1297 esac
1298 case $ac_abs_builddir in
1299 .) ac_abs_srcdir=$ac_srcdir;;
1300 *)
1301 case $ac_srcdir in
1302 .) ac_abs_srcdir=$ac_abs_builddir;;
1303 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1304 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1305 esac;;
1306 esac
1307 case $ac_abs_builddir in
1308 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1309 *)
1310 case $ac_top_srcdir in
1311 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1312 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1313 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1314 esac;;
1315 esac
1316
1317 cd $ac_dir
1318 # Check for guested configure; otherwise get Cygnus style configure.
1319 if test -f $ac_srcdir/configure.gnu; then
1320 echo
1321 $SHELL $ac_srcdir/configure.gnu --help=recursive
1322 elif test -f $ac_srcdir/configure; then
1323 echo
1324 $SHELL $ac_srcdir/configure --help=recursive
1325 elif test -f $ac_srcdir/configure.ac ||
1326 test -f $ac_srcdir/configure.in; then
1327 echo
1328 $ac_configure --help
1329 else
1330 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1331 fi
1332 cd "$ac_popdir"
1333 done
1334 fi
1335
1336 test -n "$ac_init_help" && exit 0
1337 if $ac_init_version; then
1338 cat <<\_ACEOF
1339 wxWidgets configure 2.7.1
1340 generated by GNU Autoconf 2.59
1341
1342 Copyright (C) 2003 Free Software Foundation, Inc.
1343 This configure script is free software; the Free Software Foundation
1344 gives unlimited permission to copy, distribute and modify it.
1345 _ACEOF
1346 exit 0
1347 fi
1348 exec 5>config.log
1349 cat >&5 <<_ACEOF
1350 This file contains any messages produced by compilers while
1351 running configure, to aid debugging if configure makes a mistake.
1352
1353 It was created by wxWidgets $as_me 2.7.1, which was
1354 generated by GNU Autoconf 2.59. Invocation command line was
1355
1356 $ $0 $@
1357
1358 _ACEOF
1359 {
1360 cat <<_ASUNAME
1361 ## --------- ##
1362 ## Platform. ##
1363 ## --------- ##
1364
1365 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1366 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1367 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1368 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1369 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1370
1371 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1372 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1373
1374 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1375 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1376 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1377 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1378 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1379 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1380 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1381
1382 _ASUNAME
1383
1384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1385 for as_dir in $PATH
1386 do
1387 IFS=$as_save_IFS
1388 test -z "$as_dir" && as_dir=.
1389 echo "PATH: $as_dir"
1390 done
1391
1392 } >&5
1393
1394 cat >&5 <<_ACEOF
1395
1396
1397 ## ----------- ##
1398 ## Core tests. ##
1399 ## ----------- ##
1400
1401 _ACEOF
1402
1403
1404 # Keep a trace of the command line.
1405 # Strip out --no-create and --no-recursion so they do not pile up.
1406 # Strip out --silent because we don't want to record it for future runs.
1407 # Also quote any args containing shell meta-characters.
1408 # Make two passes to allow for proper duplicate-argument suppression.
1409 ac_configure_args=
1410 ac_configure_args0=
1411 ac_configure_args1=
1412 ac_sep=
1413 ac_must_keep_next=false
1414 for ac_pass in 1 2
1415 do
1416 for ac_arg
1417 do
1418 case $ac_arg in
1419 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1420 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1421 | -silent | --silent | --silen | --sile | --sil)
1422 continue ;;
1423 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1424 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1425 esac
1426 case $ac_pass in
1427 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1428 2)
1429 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1430 if test $ac_must_keep_next = true; then
1431 ac_must_keep_next=false # Got value, back to normal.
1432 else
1433 case $ac_arg in
1434 *=* | --config-cache | -C | -disable-* | --disable-* \
1435 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1436 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1437 | -with-* | --with-* | -without-* | --without-* | --x)
1438 case "$ac_configure_args0 " in
1439 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1440 esac
1441 ;;
1442 -* ) ac_must_keep_next=true ;;
1443 esac
1444 fi
1445 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1446 # Get rid of the leading space.
1447 ac_sep=" "
1448 ;;
1449 esac
1450 done
1451 done
1452 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1453 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1454
1455 # When interrupted or exit'd, cleanup temporary files, and complete
1456 # config.log. We remove comments because anyway the quotes in there
1457 # would cause problems or look ugly.
1458 # WARNING: Be sure not to use single quotes in there, as some shells,
1459 # such as our DU 5.0 friend, will then `close' the trap.
1460 trap 'exit_status=$?
1461 # Save into config.log some information that might help in debugging.
1462 {
1463 echo
1464
1465 cat <<\_ASBOX
1466 ## ---------------- ##
1467 ## Cache variables. ##
1468 ## ---------------- ##
1469 _ASBOX
1470 echo
1471 # The following way of writing the cache mishandles newlines in values,
1472 {
1473 (set) 2>&1 |
1474 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1475 *ac_space=\ *)
1476 sed -n \
1477 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1478 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1479 ;;
1480 *)
1481 sed -n \
1482 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1483 ;;
1484 esac;
1485 }
1486 echo
1487
1488 cat <<\_ASBOX
1489 ## ----------------- ##
1490 ## Output variables. ##
1491 ## ----------------- ##
1492 _ASBOX
1493 echo
1494 for ac_var in $ac_subst_vars
1495 do
1496 eval ac_val=$`echo $ac_var`
1497 echo "$ac_var='"'"'$ac_val'"'"'"
1498 done | sort
1499 echo
1500
1501 if test -n "$ac_subst_files"; then
1502 cat <<\_ASBOX
1503 ## ------------- ##
1504 ## Output files. ##
1505 ## ------------- ##
1506 _ASBOX
1507 echo
1508 for ac_var in $ac_subst_files
1509 do
1510 eval ac_val=$`echo $ac_var`
1511 echo "$ac_var='"'"'$ac_val'"'"'"
1512 done | sort
1513 echo
1514 fi
1515
1516 if test -s confdefs.h; then
1517 cat <<\_ASBOX
1518 ## ----------- ##
1519 ## confdefs.h. ##
1520 ## ----------- ##
1521 _ASBOX
1522 echo
1523 sed "/^$/d" confdefs.h | sort
1524 echo
1525 fi
1526 test "$ac_signal" != 0 &&
1527 echo "$as_me: caught signal $ac_signal"
1528 echo "$as_me: exit $exit_status"
1529 } >&5
1530 rm -f core *.core &&
1531 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1532 exit $exit_status
1533 ' 0
1534 for ac_signal in 1 2 13 15; do
1535 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1536 done
1537 ac_signal=0
1538
1539 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1540 rm -rf conftest* confdefs.h
1541 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1542 echo >confdefs.h
1543
1544 # Predefined preprocessor variables.
1545
1546 cat >>confdefs.h <<_ACEOF
1547 #define PACKAGE_NAME "$PACKAGE_NAME"
1548 _ACEOF
1549
1550
1551 cat >>confdefs.h <<_ACEOF
1552 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1553 _ACEOF
1554
1555
1556 cat >>confdefs.h <<_ACEOF
1557 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1558 _ACEOF
1559
1560
1561 cat >>confdefs.h <<_ACEOF
1562 #define PACKAGE_STRING "$PACKAGE_STRING"
1563 _ACEOF
1564
1565
1566 cat >>confdefs.h <<_ACEOF
1567 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1568 _ACEOF
1569
1570
1571 # Let the site file select an alternate cache file if it wants to.
1572 # Prefer explicitly selected file to automatically selected ones.
1573 if test -z "$CONFIG_SITE"; then
1574 if test "x$prefix" != xNONE; then
1575 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1576 else
1577 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1578 fi
1579 fi
1580 for ac_site_file in $CONFIG_SITE; do
1581 if test -r "$ac_site_file"; then
1582 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1583 echo "$as_me: loading site script $ac_site_file" >&6;}
1584 sed 's/^/| /' "$ac_site_file" >&5
1585 . "$ac_site_file"
1586 fi
1587 done
1588
1589 if test -r "$cache_file"; then
1590 # Some versions of bash will fail to source /dev/null (special
1591 # files actually), so we avoid doing that.
1592 if test -f "$cache_file"; then
1593 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1594 echo "$as_me: loading cache $cache_file" >&6;}
1595 case $cache_file in
1596 [\\/]* | ?:[\\/]* ) . $cache_file;;
1597 *) . ./$cache_file;;
1598 esac
1599 fi
1600 else
1601 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1602 echo "$as_me: creating cache $cache_file" >&6;}
1603 >$cache_file
1604 fi
1605
1606 # Check that the precious variables saved in the cache have kept the same
1607 # value.
1608 ac_cache_corrupted=false
1609 for ac_var in `(set) 2>&1 |
1610 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1611 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1612 eval ac_new_set=\$ac_env_${ac_var}_set
1613 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1614 eval ac_new_val="\$ac_env_${ac_var}_value"
1615 case $ac_old_set,$ac_new_set in
1616 set,)
1617 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1618 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1619 ac_cache_corrupted=: ;;
1620 ,set)
1621 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1622 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1623 ac_cache_corrupted=: ;;
1624 ,);;
1625 *)
1626 if test "x$ac_old_val" != "x$ac_new_val"; then
1627 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1628 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1629 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1630 echo "$as_me: former value: $ac_old_val" >&2;}
1631 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1632 echo "$as_me: current value: $ac_new_val" >&2;}
1633 ac_cache_corrupted=:
1634 fi;;
1635 esac
1636 # Pass precious variables to config.status.
1637 if test "$ac_new_set" = set; then
1638 case $ac_new_val in
1639 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1640 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1641 *) ac_arg=$ac_var=$ac_new_val ;;
1642 esac
1643 case " $ac_configure_args " in
1644 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1645 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1646 esac
1647 fi
1648 done
1649 if $ac_cache_corrupted; then
1650 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1651 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1652 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1653 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1654 { (exit 1); exit 1; }; }
1655 fi
1656
1657 ac_ext=c
1658 ac_cpp='$CPP $CPPFLAGS'
1659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
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
1692 ac_aux_dir=
1693 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1694 if test -f $ac_dir/install-sh; then
1695 ac_aux_dir=$ac_dir
1696 ac_install_sh="$ac_aux_dir/install-sh -c"
1697 break
1698 elif test -f $ac_dir/install.sh; then
1699 ac_aux_dir=$ac_dir
1700 ac_install_sh="$ac_aux_dir/install.sh -c"
1701 break
1702 elif test -f $ac_dir/shtool; then
1703 ac_aux_dir=$ac_dir
1704 ac_install_sh="$ac_aux_dir/shtool install -c"
1705 break
1706 fi
1707 done
1708 if test -z "$ac_aux_dir"; then
1709 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1710 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1711 { (exit 1); exit 1; }; }
1712 fi
1713 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1714 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1715 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1716
1717 # Make sure we can run config.sub.
1718 $ac_config_sub sun4 >/dev/null 2>&1 ||
1719 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1720 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1721 { (exit 1); exit 1; }; }
1722
1723 echo "$as_me:$LINENO: checking build system type" >&5
1724 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1725 if test "${ac_cv_build+set}" = set; then
1726 echo $ECHO_N "(cached) $ECHO_C" >&6
1727 else
1728 ac_cv_build_alias=$build_alias
1729 test -z "$ac_cv_build_alias" &&
1730 ac_cv_build_alias=`$ac_config_guess`
1731 test -z "$ac_cv_build_alias" &&
1732 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1733 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1734 { (exit 1); exit 1; }; }
1735 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1736 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1737 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1738 { (exit 1); exit 1; }; }
1739
1740 fi
1741 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1742 echo "${ECHO_T}$ac_cv_build" >&6
1743 build=$ac_cv_build
1744 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1745 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1746 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1747
1748
1749 echo "$as_me:$LINENO: checking host system type" >&5
1750 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1751 if test "${ac_cv_host+set}" = set; then
1752 echo $ECHO_N "(cached) $ECHO_C" >&6
1753 else
1754 ac_cv_host_alias=$host_alias
1755 test -z "$ac_cv_host_alias" &&
1756 ac_cv_host_alias=$ac_cv_build_alias
1757 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1758 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1759 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1760 { (exit 1); exit 1; }; }
1761
1762 fi
1763 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1764 echo "${ECHO_T}$ac_cv_host" >&6
1765 host=$ac_cv_host
1766 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1767 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1768 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1769
1770
1771 echo "$as_me:$LINENO: checking target system type" >&5
1772 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1773 if test "${ac_cv_target+set}" = set; then
1774 echo $ECHO_N "(cached) $ECHO_C" >&6
1775 else
1776 ac_cv_target_alias=$target_alias
1777 test "x$ac_cv_target_alias" = "x" &&
1778 ac_cv_target_alias=$ac_cv_host_alias
1779 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1780 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1781 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1782 { (exit 1); exit 1; }; }
1783
1784 fi
1785 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1786 echo "${ECHO_T}$ac_cv_target" >&6
1787 target=$ac_cv_target
1788 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1789 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1790 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1791
1792
1793 # The aliases save the names the user supplied, while $host etc.
1794 # will get canonicalized.
1795 test -n "$target_alias" &&
1796 test "$program_prefix$program_suffix$program_transform_name" = \
1797 NONENONEs,x,x, &&
1798 program_prefix=${target_alias}-
1799
1800
1801
1802 wx_major_version_number=2
1803 wx_minor_version_number=7
1804 wx_release_number=2
1805 wx_subrelease_number=0
1806
1807 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1808 WX_VERSION=$WX_RELEASE.$wx_release_number
1809 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1810
1811 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1812
1813
1814
1815
1816 USE_UNIX=1
1817 USE_OS2=0
1818 USE_WIN32=0
1819 USE_DOS=0
1820 USE_BEOS=0
1821 USE_MAC=0
1822
1823 USE_AIX=
1824 USE_BSD= USE_DARWIN= USE_FREEBSD=
1825 USE_GNU= USE_HPUX=
1826 USE_LINUX=
1827 USE_NETBSD=
1828 USE_OPENBSD=
1829 USE_OSF= USE_SGI=
1830 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1831 USE_ULTRIX=
1832 USE_UNIXWARE=
1833
1834 USE_ALPHA=
1835
1836 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1837
1838 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1839
1840 DEFAULT_wxUSE_COCOA=0
1841 DEFAULT_wxUSE_GTK=0
1842 DEFAULT_wxUSE_MAC=0
1843 DEFAULT_wxUSE_MGL=0
1844 DEFAULT_wxUSE_MICROWIN=0
1845 DEFAULT_wxUSE_MOTIF=0
1846 DEFAULT_wxUSE_MSW=0
1847 DEFAULT_wxUSE_PM=0
1848 DEFAULT_wxUSE_X11=0
1849 DEFAULT_wxUSE_DFB=0
1850
1851 DEFAULT_DEFAULT_wxUSE_COCOA=0
1852 DEFAULT_DEFAULT_wxUSE_GTK=0
1853 DEFAULT_DEFAULT_wxUSE_MAC=0
1854 DEFAULT_DEFAULT_wxUSE_MGL=0
1855 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1856 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1857 DEFAULT_DEFAULT_wxUSE_MSW=0
1858 DEFAULT_DEFAULT_wxUSE_PM=0
1859 DEFAULT_DEFAULT_wxUSE_X11=0
1860 DEFAULT_DEFAULT_wxUSE_DFB=0
1861
1862 PROGRAM_EXT=
1863 SO_SUFFIX=so
1864 SAMPLES_RPATH_FLAG=
1865 SAMPLES_RPATH_POSTLINK=
1866
1867 DEFAULT_STD_FLAG=yes
1868
1869 case "${host}" in
1870 *-hp-hpux* )
1871 USE_HPUX=1
1872 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1873 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1874 SO_SUFFIX=sl
1875 cat >>confdefs.h <<\_ACEOF
1876 #define __HPUX__ 1
1877 _ACEOF
1878
1879
1880 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1881 ;;
1882 *-*-linux* )
1883 USE_LINUX=1
1884 cat >>confdefs.h <<\_ACEOF
1885 #define __LINUX__ 1
1886 _ACEOF
1887
1888 TMP=`uname -m`
1889 if test "x$TMP" = "xalpha"; then
1890 USE_ALPHA=1
1891 cat >>confdefs.h <<\_ACEOF
1892 #define __ALPHA__ 1
1893 _ACEOF
1894
1895 fi
1896 DEFAULT_DEFAULT_wxUSE_GTK=1
1897 ;;
1898 *-*-gnu* | *-*-k*bsd*-gnu )
1899 USE_GNU=1
1900 TMP=`uname -m`
1901 if test "x$TMP" = "xalpha"; then
1902 USE_ALPHA=1
1903 cat >>confdefs.h <<\_ACEOF
1904 #define __ALPHA__ 1
1905 _ACEOF
1906
1907 fi
1908 DEFAULT_DEFAULT_wxUSE_GTK=1
1909 ;;
1910 *-*-irix5* | *-*-irix6* )
1911 USE_SGI=1
1912 USE_SVR4=1
1913 cat >>confdefs.h <<\_ACEOF
1914 #define __SGI__ 1
1915 _ACEOF
1916
1917 cat >>confdefs.h <<\_ACEOF
1918 #define __SVR4__ 1
1919 _ACEOF
1920
1921 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1922 ;;
1923 *-*-solaris2* )
1924 USE_SUN=1
1925 USE_SOLARIS=1
1926 USE_SVR4=1
1927 cat >>confdefs.h <<\_ACEOF
1928 #define __SUN__ 1
1929 _ACEOF
1930
1931 cat >>confdefs.h <<\_ACEOF
1932 #define __SOLARIS__ 1
1933 _ACEOF
1934
1935 cat >>confdefs.h <<\_ACEOF
1936 #define __SVR4__ 1
1937 _ACEOF
1938
1939 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1940 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1941 ;;
1942 *-*-sunos4* )
1943 USE_SUN=1
1944 USE_SUNOS=1
1945 USE_BSD=1
1946 cat >>confdefs.h <<\_ACEOF
1947 #define __SUN__ 1
1948 _ACEOF
1949
1950 cat >>confdefs.h <<\_ACEOF
1951 #define __SUNOS__ 1
1952 _ACEOF
1953
1954 cat >>confdefs.h <<\_ACEOF
1955 #define __BSD__ 1
1956 _ACEOF
1957
1958 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1959 ;;
1960 *-*-freebsd*)
1961 USE_BSD=1
1962 USE_FREEBSD=1
1963 cat >>confdefs.h <<\_ACEOF
1964 #define __FREEBSD__ 1
1965 _ACEOF
1966
1967 cat >>confdefs.h <<\_ACEOF
1968 #define __BSD__ 1
1969 _ACEOF
1970
1971 DEFAULT_DEFAULT_wxUSE_GTK=1
1972 ;;
1973 *-*-openbsd*|*-*-mirbsd*)
1974 USE_BSD=1
1975 USE_OPENBSD=1
1976 cat >>confdefs.h <<\_ACEOF
1977 #define __OPENBSD__ 1
1978 _ACEOF
1979
1980 cat >>confdefs.h <<\_ACEOF
1981 #define __BSD__ 1
1982 _ACEOF
1983
1984 DEFAULT_DEFAULT_wxUSE_GTK=1
1985 ;;
1986 *-*-netbsd*)
1987 USE_BSD=1
1988 USE_NETBSD=1
1989 cat >>confdefs.h <<\_ACEOF
1990 #define __NETBSD__ 1
1991 _ACEOF
1992
1993 cat >>confdefs.h <<\_ACEOF
1994 #define __BSD__ 1
1995 _ACEOF
1996
1997 DEFAULT_DEFAULT_wxUSE_GTK=1
1998 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1999
2000 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2001 ;;
2002 *-*-osf* )
2003 USE_ALPHA=1
2004 USE_OSF=1
2005 cat >>confdefs.h <<\_ACEOF
2006 #define __ALPHA__ 1
2007 _ACEOF
2008
2009 cat >>confdefs.h <<\_ACEOF
2010 #define __OSF__ 1
2011 _ACEOF
2012
2013 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2014 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2015 ;;
2016 *-*-dgux5* )
2017 USE_ALPHA=1
2018 USE_SVR4=1
2019 cat >>confdefs.h <<\_ACEOF
2020 #define __ALPHA__ 1
2021 _ACEOF
2022
2023 cat >>confdefs.h <<\_ACEOF
2024 #define __SVR4__ 1
2025 _ACEOF
2026
2027 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2028 ;;
2029 *-*-sysv5* )
2030 USE_SYSV=1
2031 USE_SVR4=1
2032 cat >>confdefs.h <<\_ACEOF
2033 #define __SYSV__ 1
2034 _ACEOF
2035
2036 cat >>confdefs.h <<\_ACEOF
2037 #define __SVR4__ 1
2038 _ACEOF
2039
2040 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2041 ;;
2042 *-*-aix* )
2043 USE_AIX=1
2044 USE_SYSV=1
2045 USE_SVR4=1
2046 SO_SUFFIX=a
2047 cat >>confdefs.h <<\_ACEOF
2048 #define __AIX__ 1
2049 _ACEOF
2050
2051 cat >>confdefs.h <<\_ACEOF
2052 #define __SYSV__ 1
2053 _ACEOF
2054
2055 cat >>confdefs.h <<\_ACEOF
2056 #define __SVR4__ 1
2057 _ACEOF
2058
2059 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2060 ;;
2061
2062 *-*-*UnixWare*)
2063 USE_SYSV=1
2064 USE_SVR4=1
2065 USE_UNIXWARE=1
2066 cat >>confdefs.h <<\_ACEOF
2067 #define __UNIXWARE__ 1
2068 _ACEOF
2069
2070 ;;
2071
2072 *-*-cygwin* | *-*-mingw32* )
2073 SO_SUFFIX=dll
2074 PROGRAM_EXT=".exe"
2075 DEFAULT_DEFAULT_wxUSE_MSW=1
2076 ;;
2077
2078 *-pc-msdosdjgpp )
2079 USE_UNIX=0
2080 USE_DOS=1
2081 cat >>confdefs.h <<\_ACEOF
2082 #define __DOS__ 1
2083 _ACEOF
2084
2085 PROGRAM_EXT=".exe"
2086 DEFAULT_DEFAULT_wxUSE_MGL=1
2087 ;;
2088
2089 *-pc-os2_emx | *-pc-os2-emx )
2090 cat >>confdefs.h <<\_ACEOF
2091 #define __EMX__ 1
2092 _ACEOF
2093
2094 USE_OS2=1
2095 cat >>confdefs.h <<\_ACEOF
2096 #define __OS2__ 1
2097 _ACEOF
2098
2099 PROGRAM_EXT=".exe"
2100 DEFAULT_DEFAULT_wxUSE_PM=1
2101 CXX=gcc
2102 LDFLAGS="$LDFLAGS -Zcrtdll"
2103 ac_executable_extensions=".exe"
2104 export ac_executable_extensions
2105 ac_save_IFS="$IFS"
2106 IFS='\\'
2107 ac_TEMP_PATH=
2108 for ac_dir in $PATH; do
2109 IFS=$ac_save_IFS
2110 if test -z "$ac_TEMP_PATH"; then
2111 ac_TEMP_PATH="$ac_dir"
2112 else
2113 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2114 fi
2115 done
2116 export PATH="$ac_TEMP_PATH"
2117 unset ac_TEMP_PATH
2118 DEFAULT_STD_FLAG=no
2119 ;;
2120
2121 *-*-darwin* )
2122 USE_BSD=1
2123 USE_DARWIN=1
2124 SO_SUFFIX=dylib
2125 cat >>confdefs.h <<\_ACEOF
2126 #define __BSD__ 1
2127 _ACEOF
2128
2129 cat >>confdefs.h <<\_ACEOF
2130 #define __DARWIN__ 1
2131 _ACEOF
2132
2133 cat >>confdefs.h <<\_ACEOF
2134 #define TARGET_CARBON 1
2135 _ACEOF
2136
2137 DEFAULT_DEFAULT_wxUSE_MAC=1
2138 DEFAULT_STD_FLAG=no
2139 ;;
2140 powerpc-apple-macos* )
2141 USE_UNIX=0
2142 ac_cv_c_bigendian=yes
2143 SO_SUFFIX=shlib
2144 DEFAULT_DEFAULT_wxUSE_MAC=1
2145 DEFAULT_STD_FLAG=no
2146 ;;
2147
2148 *-*-beos* )
2149 USE_BEOS=1
2150 cat >>confdefs.h <<\_ACEOF
2151 #define __BEOS__ 1
2152 _ACEOF
2153
2154 ;;
2155
2156 *)
2157 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2158 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2159 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2160 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2161
2162 DEFAULT_DEFAULT_wxUSE_X11=1
2163 DEFAULT_wxUSE_SHARED=no
2164 esac
2165
2166
2167
2168
2169 wx_arg_cache_file="configarg.cache"
2170 echo "loading argument cache $wx_arg_cache_file"
2171 rm -f ${wx_arg_cache_file}.tmp
2172 touch ${wx_arg_cache_file}.tmp
2173 touch ${wx_arg_cache_file}
2174
2175
2176 DEBUG_CONFIGURE=0
2177 if test $DEBUG_CONFIGURE = 1; then
2178 DEFAULT_wxUSE_UNIVERSAL=no
2179 DEFAULT_wxUSE_STL=no
2180
2181 DEFAULT_wxUSE_NANOX=no
2182
2183 DEFAULT_wxUSE_THREADS=yes
2184
2185 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2186 DEFAULT_wxUSE_OPTIMISE=no
2187 DEFAULT_wxUSE_PROFILE=no
2188 DEFAULT_wxUSE_NO_DEPS=no
2189 DEFAULT_wxUSE_NO_RTTI=no
2190 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2191 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2192 DEFAULT_wxUSE_RPATH=yes
2193 DEFAULT_wxUSE_PERMISSIVE=no
2194 DEFAULT_wxUSE_DEBUG_FLAG=yes
2195 DEFAULT_wxUSE_DEBUG_INFO=yes
2196 DEFAULT_wxUSE_DEBUG_GDB=yes
2197 DEFAULT_wxUSE_MEM_TRACING=no
2198 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2199 DEFAULT_wxUSE_DMALLOC=no
2200 DEFAULT_wxUSE_APPLE_IEEE=no
2201
2202 DEFAULT_wxUSE_EXCEPTIONS=no
2203 DEFAULT_wxUSE_LOG=yes
2204 DEFAULT_wxUSE_LOGWINDOW=no
2205 DEFAULT_wxUSE_LOGGUI=no
2206 DEFAULT_wxUSE_LOGDIALOG=no
2207
2208 DEFAULT_wxUSE_GUI=yes
2209 DEFAULT_wxUSE_CONTROLS=no
2210
2211 DEFAULT_wxUSE_REGEX=no
2212 DEFAULT_wxUSE_XML=no
2213 DEFAULT_wxUSE_EXPAT=no
2214 DEFAULT_wxUSE_ZLIB=no
2215 DEFAULT_wxUSE_LIBPNG=no
2216 DEFAULT_wxUSE_LIBJPEG=no
2217 DEFAULT_wxUSE_LIBTIFF=no
2218 DEFAULT_wxUSE_LIBXPM=no
2219 DEFAULT_wxUSE_LIBMSPACK=no
2220 DEFAULT_wxUSE_LIBSDL=no
2221 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2222 DEFAULT_wxUSE_LIBGNOMEVFS=no
2223 DEFAULT_wxUSE_LIBHILDON=no
2224 DEFAULT_wxUSE_ODBC=no
2225 DEFAULT_wxUSE_OPENGL=no
2226
2227 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2228 DEFAULT_wxUSE_STACKWALKER=no
2229 DEFAULT_wxUSE_DEBUGREPORT=no
2230 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2231 DEFAULT_wxUSE_STD_IOSTREAM=no
2232 DEFAULT_wxUSE_STD_STRING=no
2233 DEFAULT_wxUSE_CMDLINE_PARSER=no
2234 DEFAULT_wxUSE_DATETIME=no
2235 DEFAULT_wxUSE_TIMER=no
2236 DEFAULT_wxUSE_STOPWATCH=no
2237 DEFAULT_wxUSE_FILE=no
2238 DEFAULT_wxUSE_FFILE=no
2239 DEFAULT_wxUSE_STDPATHS=no
2240 DEFAULT_wxUSE_TEXTBUFFER=no
2241 DEFAULT_wxUSE_TEXTFILE=no
2242 DEFAULT_wxUSE_SOUND=no
2243 DEFAULT_wxUSE_MEDIACTRL=no
2244 DEFAULT_wxUSE_GSTREAMER8=no
2245 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2246 DEFAULT_wxUSE_INTL=no
2247 DEFAULT_wxUSE_CONFIG=no
2248 DEFAULT_wxUSE_FONTMAP=no
2249 DEFAULT_wxUSE_STREAMS=no
2250 DEFAULT_wxUSE_SOCKETS=no
2251 DEFAULT_wxUSE_OLE=no
2252 DEFAULT_wxUSE_DATAOBJ=no
2253 DEFAULT_wxUSE_DIALUP_MANAGER=no
2254 DEFAULT_wxUSE_JOYSTICK=no
2255 DEFAULT_wxUSE_DYNLIB_CLASS=no
2256 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2257 DEFAULT_wxUSE_LONGLONG=no
2258 DEFAULT_wxUSE_GEOMETRY=no
2259
2260 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2261 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2262 DEFAULT_wxUSE_POSTSCRIPT=no
2263
2264 DEFAULT_wxUSE_CLIPBOARD=no
2265 DEFAULT_wxUSE_TOOLTIPS=no
2266 DEFAULT_wxUSE_DRAG_AND_DROP=no
2267 DEFAULT_wxUSE_DRAGIMAGE=no
2268 DEFAULT_wxUSE_SPLINES=no
2269 DEFAULT_wxUSE_MOUSEWHEEL=no
2270
2271 DEFAULT_wxUSE_MDI=no
2272 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2273 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2274 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2275
2276 DEFAULT_wxUSE_RESOURCES=no
2277 DEFAULT_wxUSE_CONSTRAINTS=no
2278 DEFAULT_wxUSE_IPC=no
2279 DEFAULT_wxUSE_HELP=no
2280 DEFAULT_wxUSE_MS_HTML_HELP=no
2281 DEFAULT_wxUSE_WXHTML_HELP=no
2282 DEFAULT_wxUSE_TREELAYOUT=no
2283 DEFAULT_wxUSE_METAFILE=no
2284 DEFAULT_wxUSE_MIMETYPE=no
2285 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2286 DEFAULT_wxUSE_PROTOCOL=no
2287 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2288 DEFAULT_wxUSE_PROTOCOL_FTP=no
2289 DEFAULT_wxUSE_PROTOCOL_FILE=no
2290 DEFAULT_wxUSE_URL=no
2291 DEFAULT_wxUSE_VARIANT=no
2292
2293 DEFAULT_wxUSE_ABOUTDLG=no
2294 DEFAULT_wxUSE_COMMONDLGS=no
2295 DEFAULT_wxUSE_CHOICEDLG=no
2296 DEFAULT_wxUSE_COLOURDLG=no
2297 DEFAULT_wxUSE_DIRDLG=no
2298 DEFAULT_wxUSE_FILEDLG=no
2299 DEFAULT_wxUSE_FINDREPLDLG=no
2300 DEFAULT_wxUSE_FONTDLG=no
2301 DEFAULT_wxUSE_MSGDLG=no
2302 DEFAULT_wxUSE_NUMBERDLG=no
2303 DEFAULT_wxUSE_TEXTDLG=no
2304 DEFAULT_wxUSE_SPLASH=no
2305 DEFAULT_wxUSE_STARTUP_TIPS=no
2306 DEFAULT_wxUSE_PROGRESSDLG=no
2307 DEFAULT_wxUSE_WIZARDDLG=no
2308
2309 DEFAULT_wxUSE_MENUS=no
2310 DEFAULT_wxUSE_MINIFRAME=no
2311 DEFAULT_wxUSE_HTML=no
2312 DEFAULT_wxUSE_RICHTEXT=no
2313 DEFAULT_wxUSE_XRC=no
2314 DEFAULT_wxUSE_AUI=no
2315 DEFAULT_wxUSE_WEBKIT=no
2316 DEFAULT_wxUSE_FILESYSTEM=no
2317 DEFAULT_wxUSE_FS_INET=no
2318 DEFAULT_wxUSE_FS_ZIP=no
2319 DEFAULT_wxUSE_FS_ARCHIVE=no
2320 DEFAULT_wxUSE_BUSYINFO=no
2321 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2322 DEFAULT_wxUSE_ZIPSTREAM=no
2323 DEFAULT_wxUSE_TARSTREAM=no
2324 DEFAULT_wxUSE_BACKINGFILE=no
2325 DEFAULT_wxUSE_VALIDATORS=no
2326
2327 DEFAULT_wxUSE_ACCEL=no
2328 DEFAULT_wxUSE_ANIMATIONCTRL=no
2329 DEFAULT_wxUSE_BUTTON=no
2330 DEFAULT_wxUSE_BMPBUTTON=no
2331 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
2332 DEFAULT_wxUSE_CALCTRL=no
2333 DEFAULT_wxUSE_CARET=no
2334 DEFAULT_wxUSE_CHECKBOX=no
2335 DEFAULT_wxUSE_CHECKLST=no
2336 DEFAULT_wxUSE_CHOICE=no
2337 DEFAULT_wxUSE_CHOICEBOOK=no
2338 DEFAULT_wxUSE_COLOURPICKERCTRL=no
2339 DEFAULT_wxUSE_COMBOBOX=no
2340 DEFAULT_wxUSE_COMBOCTRL=no
2341 DEFAULT_wxUSE_DATEPICKCTRL=no
2342 DEFAULT_wxUSE_DISPLAY=no
2343 DEFAULT_wxUSE_DETECT_SM=no
2344 DEFAULT_wxUSE_DIRPICKERCTRL=no
2345 DEFAULT_wxUSE_FILEPICKERCTRL=no
2346 DEFAULT_wxUSE_FONTPICKERCTRL=no
2347 DEFAULT_wxUSE_GAUGE=no
2348 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2349 DEFAULT_wxUSE_GRID=no
2350 DEFAULT_wxUSE_HYPERLINKCTRL=no
2351 DEFAULT_wxUSE_DATAVIEWCTRL=no
2352 DEFAULT_wxUSE_IMAGLIST=no
2353 DEFAULT_wxUSE_LISTBOOK=no
2354 DEFAULT_wxUSE_LISTBOX=no
2355 DEFAULT_wxUSE_LISTCTRL=no
2356 DEFAULT_wxUSE_NOTEBOOK=no
2357 DEFAULT_wxUSE_ODCOMBOBOX=no
2358 DEFAULT_wxUSE_RADIOBOX=no
2359 DEFAULT_wxUSE_RADIOBTN=no
2360 DEFAULT_wxUSE_SASH=no
2361 DEFAULT_wxUSE_SCROLLBAR=no
2362 DEFAULT_wxUSE_SLIDER=no
2363 DEFAULT_wxUSE_SPINBTN=no
2364 DEFAULT_wxUSE_SPINCTRL=no
2365 DEFAULT_wxUSE_SPLITTER=no
2366 DEFAULT_wxUSE_STATBMP=no
2367 DEFAULT_wxUSE_STATBOX=no
2368 DEFAULT_wxUSE_STATLINE=no
2369 DEFAULT_wxUSE_STATTEXT=no
2370 DEFAULT_wxUSE_STATUSBAR=yes
2371 DEFAULT_wxUSE_TAB_DIALOG=no
2372 DEFAULT_wxUSE_TEXTCTRL=no
2373 DEFAULT_wxUSE_TOGGLEBTN=no
2374 DEFAULT_wxUSE_TOOLBAR=no
2375 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2376 DEFAULT_wxUSE_TREEBOOK=no
2377 DEFAULT_wxUSE_TOOLBOOK=no
2378 DEFAULT_wxUSE_TREECTRL=no
2379 DEFAULT_wxUSE_POPUPWIN=no
2380 DEFAULT_wxUSE_TIPWINDOW=no
2381
2382 DEFAULT_wxUSE_UNICODE=no
2383 DEFAULT_wxUSE_UNICODE_MSLU=no
2384 DEFAULT_wxUSE_WCSRTOMBS=no
2385
2386 DEFAULT_wxUSE_PALETTE=no
2387 DEFAULT_wxUSE_IMAGE=no
2388 DEFAULT_wxUSE_GIF=no
2389 DEFAULT_wxUSE_PCX=no
2390 DEFAULT_wxUSE_PNM=no
2391 DEFAULT_wxUSE_IFF=no
2392 DEFAULT_wxUSE_XPM=no
2393 DEFAULT_wxUSE_ICO_CUR=no
2394 DEFAULT_wxUSE_ACCESSIBILITY=no
2395
2396 DEFAULT_wxUSE_MONOLITHIC=no
2397 DEFAULT_wxUSE_PLUGINS=no
2398 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2399 else
2400 DEFAULT_wxUSE_UNIVERSAL=no
2401 DEFAULT_wxUSE_STL=no
2402
2403 DEFAULT_wxUSE_NANOX=no
2404
2405 DEFAULT_wxUSE_THREADS=yes
2406
2407 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2408 DEFAULT_wxUSE_OPTIMISE=yes
2409 DEFAULT_wxUSE_PROFILE=no
2410 DEFAULT_wxUSE_NO_DEPS=no
2411 DEFAULT_wxUSE_NO_RTTI=no
2412 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2413 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2414 DEFAULT_wxUSE_RPATH=yes
2415 DEFAULT_wxUSE_PERMISSIVE=no
2416 DEFAULT_wxUSE_DEBUG_FLAG=no
2417 DEFAULT_wxUSE_DEBUG_INFO=no
2418 DEFAULT_wxUSE_DEBUG_GDB=no
2419 DEFAULT_wxUSE_MEM_TRACING=no
2420 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2421 DEFAULT_wxUSE_DMALLOC=no
2422 DEFAULT_wxUSE_APPLE_IEEE=yes
2423
2424 DEFAULT_wxUSE_EXCEPTIONS=yes
2425 DEFAULT_wxUSE_LOG=yes
2426 DEFAULT_wxUSE_LOGWINDOW=yes
2427 DEFAULT_wxUSE_LOGGUI=yes
2428 DEFAULT_wxUSE_LOGDIALOG=yes
2429
2430 DEFAULT_wxUSE_GUI=yes
2431
2432 DEFAULT_wxUSE_REGEX=yes
2433 DEFAULT_wxUSE_XML=yes
2434 DEFAULT_wxUSE_EXPAT=yes
2435 DEFAULT_wxUSE_ZLIB=yes
2436 DEFAULT_wxUSE_LIBPNG=yes
2437 DEFAULT_wxUSE_LIBJPEG=yes
2438 DEFAULT_wxUSE_LIBTIFF=yes
2439 DEFAULT_wxUSE_LIBXPM=yes
2440 DEFAULT_wxUSE_LIBMSPACK=yes
2441 DEFAULT_wxUSE_LIBSDL=no
2442 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2443 DEFAULT_wxUSE_LIBGNOMEVFS=no
2444 DEFAULT_wxUSE_LIBHILDON=no
2445 DEFAULT_wxUSE_ODBC=no
2446 DEFAULT_wxUSE_OPENGL=no
2447
2448 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2449 DEFAULT_wxUSE_STACKWALKER=yes
2450 DEFAULT_wxUSE_DEBUGREPORT=yes
2451 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2452 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2453 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2454 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2455 DEFAULT_wxUSE_DATETIME=yes
2456 DEFAULT_wxUSE_TIMER=yes
2457 DEFAULT_wxUSE_STOPWATCH=yes
2458 DEFAULT_wxUSE_FILE=yes
2459 DEFAULT_wxUSE_FFILE=yes
2460 DEFAULT_wxUSE_STDPATHS=yes
2461 DEFAULT_wxUSE_TEXTBUFFER=yes
2462 DEFAULT_wxUSE_TEXTFILE=yes
2463 DEFAULT_wxUSE_SOUND=yes
2464 DEFAULT_wxUSE_MEDIACTRL=no
2465 DEFAULT_wxUSE_GSTREAMER8=no
2466 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
2467 DEFAULT_wxUSE_INTL=yes
2468 DEFAULT_wxUSE_CONFIG=yes
2469 DEFAULT_wxUSE_FONTMAP=yes
2470 DEFAULT_wxUSE_STREAMS=yes
2471 DEFAULT_wxUSE_SOCKETS=yes
2472 DEFAULT_wxUSE_OLE=yes
2473 DEFAULT_wxUSE_DATAOBJ=yes
2474 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2475 DEFAULT_wxUSE_JOYSTICK=yes
2476 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2477 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2478 DEFAULT_wxUSE_LONGLONG=yes
2479 DEFAULT_wxUSE_GEOMETRY=yes
2480
2481 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2482 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2483 DEFAULT_wxUSE_POSTSCRIPT=yes
2484
2485 DEFAULT_wxUSE_CLIPBOARD=yes
2486 DEFAULT_wxUSE_TOOLTIPS=yes
2487 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2488 DEFAULT_wxUSE_DRAGIMAGE=yes
2489 DEFAULT_wxUSE_SPLINES=yes
2490 DEFAULT_wxUSE_MOUSEWHEEL=yes
2491
2492 DEFAULT_wxUSE_MDI=yes
2493 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2494 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2495 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2496
2497 DEFAULT_wxUSE_RESOURCES=no
2498 DEFAULT_wxUSE_CONSTRAINTS=yes
2499 DEFAULT_wxUSE_IPC=yes
2500 DEFAULT_wxUSE_HELP=yes
2501 DEFAULT_wxUSE_MS_HTML_HELP=yes
2502 DEFAULT_wxUSE_WXHTML_HELP=yes
2503 DEFAULT_wxUSE_TREELAYOUT=yes
2504 DEFAULT_wxUSE_METAFILE=yes
2505 DEFAULT_wxUSE_MIMETYPE=yes
2506 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2507 DEFAULT_wxUSE_PROTOCOL=yes
2508 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2509 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2510 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2511 DEFAULT_wxUSE_URL=yes
2512 DEFAULT_wxUSE_VARIANT=yes
2513
2514 DEFAULT_wxUSE_ABOUTDLG=yes
2515 DEFAULT_wxUSE_COMMONDLGS=yes
2516 DEFAULT_wxUSE_CHOICEDLG=yes
2517 DEFAULT_wxUSE_COLOURDLG=yes
2518 DEFAULT_wxUSE_DIRDLG=yes
2519 DEFAULT_wxUSE_FILEDLG=yes
2520 DEFAULT_wxUSE_FINDREPLDLG=yes
2521 DEFAULT_wxUSE_FONTDLG=yes
2522 DEFAULT_wxUSE_MSGDLG=yes
2523 DEFAULT_wxUSE_NUMBERDLG=yes
2524 DEFAULT_wxUSE_TEXTDLG=yes
2525 DEFAULT_wxUSE_SPLASH=yes
2526 DEFAULT_wxUSE_STARTUP_TIPS=yes
2527 DEFAULT_wxUSE_PROGRESSDLG=yes
2528 DEFAULT_wxUSE_WIZARDDLG=yes
2529
2530 DEFAULT_wxUSE_MENUS=yes
2531 DEFAULT_wxUSE_MINIFRAME=yes
2532 DEFAULT_wxUSE_HTML=yes
2533 DEFAULT_wxUSE_RICHTEXT=yes
2534 DEFAULT_wxUSE_XRC=yes
2535 DEFAULT_wxUSE_AUI=yes
2536 DEFAULT_wxUSE_WEBKIT=yes
2537 DEFAULT_wxUSE_FILESYSTEM=yes
2538 DEFAULT_wxUSE_FS_INET=yes
2539 DEFAULT_wxUSE_FS_ZIP=yes
2540 DEFAULT_wxUSE_FS_ARCHIVE=yes
2541 DEFAULT_wxUSE_BUSYINFO=yes
2542 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2543 DEFAULT_wxUSE_ZIPSTREAM=yes
2544 DEFAULT_wxUSE_TARSTREAM=yes
2545 DEFAULT_wxUSE_BACKINGFILE=yes
2546 DEFAULT_wxUSE_VALIDATORS=yes
2547
2548 DEFAULT_wxUSE_ACCEL=yes
2549 DEFAULT_wxUSE_ANIMATIONCTRL=yes
2550 DEFAULT_wxUSE_BUTTON=yes
2551 DEFAULT_wxUSE_BMPBUTTON=yes
2552 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
2553 DEFAULT_wxUSE_CALCTRL=yes
2554 DEFAULT_wxUSE_CARET=yes
2555 DEFAULT_wxUSE_CHECKBOX=yes
2556 DEFAULT_wxUSE_CHECKLST=yes
2557 DEFAULT_wxUSE_CHOICE=yes
2558 DEFAULT_wxUSE_CHOICEBOOK=yes
2559 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
2560 DEFAULT_wxUSE_COMBOBOX=yes
2561 DEFAULT_wxUSE_COMBOCTRL=yes
2562 DEFAULT_wxUSE_DATEPICKCTRL=yes
2563 DEFAULT_wxUSE_DISPLAY=yes
2564 DEFAULT_wxUSE_DETECT_SM=yes
2565 DEFAULT_wxUSE_DIRPICKERCTRL=yes
2566 DEFAULT_wxUSE_FILEPICKERCTRL=yes
2567 DEFAULT_wxUSE_FONTPICKERCTRL=yes
2568 DEFAULT_wxUSE_GAUGE=yes
2569 DEFAULT_wxUSE_GRID=yes
2570 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2571 DEFAULT_wxUSE_HYPERLINKCTRL=yes
2572 DEFAULT_wxUSE_DATAVIEWCTRL=no
2573 DEFAULT_wxUSE_IMAGLIST=yes
2574 DEFAULT_wxUSE_LISTBOOK=yes
2575 DEFAULT_wxUSE_LISTBOX=yes
2576 DEFAULT_wxUSE_LISTCTRL=yes
2577 DEFAULT_wxUSE_NOTEBOOK=yes
2578 DEFAULT_wxUSE_ODCOMBOBOX=yes
2579 DEFAULT_wxUSE_RADIOBOX=yes
2580 DEFAULT_wxUSE_RADIOBTN=yes
2581 DEFAULT_wxUSE_SASH=yes
2582 DEFAULT_wxUSE_SCROLLBAR=yes
2583 DEFAULT_wxUSE_SLIDER=yes
2584 DEFAULT_wxUSE_SPINBTN=yes
2585 DEFAULT_wxUSE_SPINCTRL=yes
2586 DEFAULT_wxUSE_SPLITTER=yes
2587 DEFAULT_wxUSE_STATBMP=yes
2588 DEFAULT_wxUSE_STATBOX=yes
2589 DEFAULT_wxUSE_STATLINE=yes
2590 DEFAULT_wxUSE_STATTEXT=yes
2591 DEFAULT_wxUSE_STATUSBAR=yes
2592 DEFAULT_wxUSE_TAB_DIALOG=no
2593 DEFAULT_wxUSE_TEXTCTRL=yes
2594 DEFAULT_wxUSE_TOGGLEBTN=yes
2595 DEFAULT_wxUSE_TOOLBAR=yes
2596 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2597 DEFAULT_wxUSE_TREEBOOK=yes
2598 DEFAULT_wxUSE_TOOLBOOK=yes
2599 DEFAULT_wxUSE_TREECTRL=yes
2600 DEFAULT_wxUSE_POPUPWIN=yes
2601 DEFAULT_wxUSE_TIPWINDOW=yes
2602
2603 DEFAULT_wxUSE_UNICODE=no
2604 DEFAULT_wxUSE_UNICODE_MSLU=yes
2605 DEFAULT_wxUSE_WCSRTOMBS=no
2606
2607 DEFAULT_wxUSE_PALETTE=yes
2608 DEFAULT_wxUSE_IMAGE=yes
2609 DEFAULT_wxUSE_GIF=yes
2610 DEFAULT_wxUSE_PCX=yes
2611 DEFAULT_wxUSE_IFF=no
2612 DEFAULT_wxUSE_PNM=yes
2613 DEFAULT_wxUSE_XPM=yes
2614 DEFAULT_wxUSE_ICO_CUR=yes
2615 DEFAULT_wxUSE_ACCESSIBILITY=no
2616
2617 DEFAULT_wxUSE_MONOLITHIC=no
2618 DEFAULT_wxUSE_PLUGINS=no
2619 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2620
2621 DEFAULT_wxUSE_GTK2=yes
2622 fi
2623
2624
2625
2626
2627 for toolkit in `echo $ALL_TOOLKITS`; do
2628 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2629 if test "x$LINE" != "x" ; then
2630 has_toolkit_in_cache=1
2631 eval "DEFAULT_$LINE"
2632 eval "CACHE_$toolkit=1"
2633
2634 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2635 if test "x$LINE" != "x" ; then
2636 eval "DEFAULT_$LINE"
2637 fi
2638 fi
2639 done
2640
2641
2642
2643 enablestring=
2644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2645 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2646 no_cache=0
2647 # Check whether --enable-gui or --disable-gui was given.
2648 if test "${enable_gui+set}" = set; then
2649 enableval="$enable_gui"
2650
2651 if test "$enableval" = yes; then
2652 ac_cv_use_gui='wxUSE_GUI=yes'
2653 else
2654 ac_cv_use_gui='wxUSE_GUI=no'
2655 fi
2656
2657 else
2658
2659 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2660 if test "x$LINE" != x ; then
2661 eval "DEFAULT_$LINE"
2662 else
2663 no_cache=1
2664 fi
2665
2666 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2667
2668 fi;
2669
2670 eval "$ac_cv_use_gui"
2671 if test "$no_cache" != 1; then
2672 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2673 fi
2674
2675 if test "$wxUSE_GUI" = yes; then
2676 echo "$as_me:$LINENO: result: yes" >&5
2677 echo "${ECHO_T}yes" >&6
2678 else
2679 echo "$as_me:$LINENO: result: no" >&5
2680 echo "${ECHO_T}no" >&6
2681 fi
2682
2683
2684 enablestring=
2685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2686 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2687 no_cache=0
2688 # Check whether --enable-monolithic or --disable-monolithic was given.
2689 if test "${enable_monolithic+set}" = set; then
2690 enableval="$enable_monolithic"
2691
2692 if test "$enableval" = yes; then
2693 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2694 else
2695 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2696 fi
2697
2698 else
2699
2700 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2701 if test "x$LINE" != x ; then
2702 eval "DEFAULT_$LINE"
2703 else
2704 no_cache=1
2705 fi
2706
2707 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2708
2709 fi;
2710
2711 eval "$ac_cv_use_monolithic"
2712 if test "$no_cache" != 1; then
2713 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2714 fi
2715
2716 if test "$wxUSE_MONOLITHIC" = yes; then
2717 echo "$as_me:$LINENO: result: yes" >&5
2718 echo "${ECHO_T}yes" >&6
2719 else
2720 echo "$as_me:$LINENO: result: no" >&5
2721 echo "${ECHO_T}no" >&6
2722 fi
2723
2724
2725 enablestring=
2726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2727 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2728 no_cache=0
2729 # Check whether --enable-plugins or --disable-plugins was given.
2730 if test "${enable_plugins+set}" = set; then
2731 enableval="$enable_plugins"
2732
2733 if test "$enableval" = yes; then
2734 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2735 else
2736 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2737 fi
2738
2739 else
2740
2741 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2742 if test "x$LINE" != x ; then
2743 eval "DEFAULT_$LINE"
2744 else
2745 no_cache=1
2746 fi
2747
2748 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2749
2750 fi;
2751
2752 eval "$ac_cv_use_plugins"
2753 if test "$no_cache" != 1; then
2754 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2755 fi
2756
2757 if test "$wxUSE_PLUGINS" = yes; then
2758 echo "$as_me:$LINENO: result: yes" >&5
2759 echo "${ECHO_T}yes" >&6
2760 else
2761 echo "$as_me:$LINENO: result: no" >&5
2762 echo "${ECHO_T}no" >&6
2763 fi
2764
2765
2766 withstring=without
2767 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2768 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2769 no_cache=0
2770
2771 # Check whether --with-subdirs or --without-subdirs was given.
2772 if test "${with_subdirs+set}" = set; then
2773 withval="$with_subdirs"
2774
2775 if test "$withval" = yes; then
2776 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2777 else
2778 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2779 fi
2780
2781 else
2782
2783 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2784 if test "x$LINE" != x ; then
2785 eval "DEFAULT_$LINE"
2786 else
2787 no_cache=1
2788 fi
2789
2790 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2791
2792 fi;
2793
2794 eval "$ac_cv_use_subdirs"
2795 if test "$no_cache" != 1; then
2796 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2797 fi
2798
2799 if test "$wxWITH_SUBDIRS" = yes; then
2800 echo "$as_me:$LINENO: result: yes" >&5
2801 echo "${ECHO_T}yes" >&6
2802 else
2803 echo "$as_me:$LINENO: result: no" >&5
2804 echo "${ECHO_T}no" >&6
2805 fi
2806
2807
2808 if test "$wxUSE_GUI" = "yes"; then
2809
2810
2811 enablestring=
2812 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2813 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2814 no_cache=0
2815 # Check whether --enable-universal or --disable-universal was given.
2816 if test "${enable_universal+set}" = set; then
2817 enableval="$enable_universal"
2818
2819 if test "$enableval" = yes; then
2820 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2821 else
2822 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2823 fi
2824
2825 else
2826
2827 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2828 if test "x$LINE" != x ; then
2829 eval "DEFAULT_$LINE"
2830 else
2831 no_cache=1
2832 fi
2833
2834 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2835
2836 fi;
2837
2838 eval "$ac_cv_use_universal"
2839 if test "$no_cache" != 1; then
2840 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2841 fi
2842
2843 if test "$wxUSE_UNIVERSAL" = yes; then
2844 echo "$as_me:$LINENO: result: yes" >&5
2845 echo "${ECHO_T}yes" >&6
2846 else
2847 echo "$as_me:$LINENO: result: no" >&5
2848 echo "${ECHO_T}no" >&6
2849 fi
2850
2851
2852 # Check whether --with-gtk or --without-gtk was given.
2853 if test "${with_gtk+set}" = set; then
2854 withval="$with_gtk"
2855 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2856 fi;
2857
2858 # Check whether --with-motif or --without-motif was given.
2859 if test "${with_motif+set}" = set; then
2860 withval="$with_motif"
2861 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2862 fi;
2863
2864 # Check whether --with-mac or --without-mac was given.
2865 if test "${with_mac+set}" = set; then
2866 withval="$with_mac"
2867 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2868 fi;
2869
2870 # Check whether --with-cocoa or --without-cocoa was given.
2871 if test "${with_cocoa+set}" = set; then
2872 withval="$with_cocoa"
2873 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2874 fi;
2875
2876 # Check whether --with-wine or --without-wine was given.
2877 if test "${with_wine+set}" = set; then
2878 withval="$with_wine"
2879 wxUSE_WINE="$withval" CACHE_WINE=1
2880 fi;
2881
2882 # Check whether --with-msw or --without-msw was given.
2883 if test "${with_msw+set}" = set; then
2884 withval="$with_msw"
2885 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2886 fi;
2887
2888 # Check whether --with-pm or --without-pm was given.
2889 if test "${with_pm+set}" = set; then
2890 withval="$with_pm"
2891 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2892 fi;
2893
2894 # Check whether --with-mgl or --without-mgl was given.
2895 if test "${with_mgl+set}" = set; then
2896 withval="$with_mgl"
2897 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2898 fi;
2899
2900 # Check whether --with-directfb or --without-directfb was given.
2901 if test "${with_directfb+set}" = set; then
2902 withval="$with_directfb"
2903 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2904 fi;
2905
2906 # Check whether --with-microwin or --without-microwin was given.
2907 if test "${with_microwin+set}" = set; then
2908 withval="$with_microwin"
2909 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2910 fi;
2911
2912 # Check whether --with-x11 or --without-x11 was given.
2913 if test "${with_x11+set}" = set; then
2914 withval="$with_x11"
2915 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2916 fi;
2917
2918 enablestring=
2919 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2920 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2921 no_cache=0
2922 # Check whether --enable-nanox or --disable-nanox was given.
2923 if test "${enable_nanox+set}" = set; then
2924 enableval="$enable_nanox"
2925
2926 if test "$enableval" = yes; then
2927 ac_cv_use_nanox='wxUSE_NANOX=yes'
2928 else
2929 ac_cv_use_nanox='wxUSE_NANOX=no'
2930 fi
2931
2932 else
2933
2934 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2935 if test "x$LINE" != x ; then
2936 eval "DEFAULT_$LINE"
2937 else
2938 no_cache=1
2939 fi
2940
2941 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2942
2943 fi;
2944
2945 eval "$ac_cv_use_nanox"
2946 if test "$no_cache" != 1; then
2947 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2948 fi
2949
2950 if test "$wxUSE_NANOX" = yes; then
2951 echo "$as_me:$LINENO: result: yes" >&5
2952 echo "${ECHO_T}yes" >&6
2953 else
2954 echo "$as_me:$LINENO: result: no" >&5
2955 echo "${ECHO_T}no" >&6
2956 fi
2957
2958
2959 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2960 if test "${enable_gtk2+set}" = set; then
2961 enableval="$enable_gtk2"
2962 wxUSE_GTK2="$enableval"
2963 fi;
2964
2965 enablestring=
2966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2967 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2968 no_cache=0
2969 # Check whether --enable-gpe or --disable-gpe was given.
2970 if test "${enable_gpe+set}" = set; then
2971 enableval="$enable_gpe"
2972
2973 if test "$enableval" = yes; then
2974 ac_cv_use_gpe='wxUSE_GPE=yes'
2975 else
2976 ac_cv_use_gpe='wxUSE_GPE=no'
2977 fi
2978
2979 else
2980
2981 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2982 if test "x$LINE" != x ; then
2983 eval "DEFAULT_$LINE"
2984 else
2985 no_cache=1
2986 fi
2987
2988 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2989
2990 fi;
2991
2992 eval "$ac_cv_use_gpe"
2993 if test "$no_cache" != 1; then
2994 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2995 fi
2996
2997 if test "$wxUSE_GPE" = yes; then
2998 echo "$as_me:$LINENO: result: yes" >&5
2999 echo "${ECHO_T}yes" >&6
3000 else
3001 echo "$as_me:$LINENO: result: no" >&5
3002 echo "${ECHO_T}no" >&6
3003 fi
3004
3005
3006
3007 echo "$as_me:$LINENO: checking for --with-libpng" >&5
3008 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
3009 no_cache=0
3010
3011 # Check whether --with-libpng or --without-libpng was given.
3012 if test "${with_libpng+set}" = set; then
3013 withval="$with_libpng"
3014
3015 if test "$withval" = yes; then
3016 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3017 elif test "$withval" = no; then
3018 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3019 elif test "$withval" = sys; then
3020 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3021 elif test "$withval" = builtin; then
3022 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3023 else
3024 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3025 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3026 { (exit 1); exit 1; }; }
3027 fi
3028
3029 else
3030
3031 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3032 if test "x$LINE" != x ; then
3033 eval "DEFAULT_$LINE"
3034 else
3035 no_cache=1
3036 fi
3037
3038 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3039
3040 fi;
3041
3042 eval "$ac_cv_use_libpng"
3043 if test "$no_cache" != 1; then
3044 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3045 fi
3046
3047 if test "$wxUSE_LIBPNG" = yes; then
3048 echo "$as_me:$LINENO: result: yes" >&5
3049 echo "${ECHO_T}yes" >&6
3050 elif test "$wxUSE_LIBPNG" = no; then
3051 echo "$as_me:$LINENO: result: no" >&5
3052 echo "${ECHO_T}no" >&6
3053 elif test "$wxUSE_LIBPNG" = sys; then
3054 echo "$as_me:$LINENO: result: system version" >&5
3055 echo "${ECHO_T}system version" >&6
3056 elif test "$wxUSE_LIBPNG" = builtin; then
3057 echo "$as_me:$LINENO: result: builtin version" >&5
3058 echo "${ECHO_T}builtin version" >&6
3059 else
3060 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3061 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3062 { (exit 1); exit 1; }; }
3063 fi
3064
3065
3066 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3067 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3068 no_cache=0
3069
3070 # Check whether --with-libjpeg or --without-libjpeg was given.
3071 if test "${with_libjpeg+set}" = set; then
3072 withval="$with_libjpeg"
3073
3074 if test "$withval" = yes; then
3075 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3076 elif test "$withval" = no; then
3077 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3078 elif test "$withval" = sys; then
3079 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3080 elif test "$withval" = builtin; then
3081 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3082 else
3083 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3084 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3085 { (exit 1); exit 1; }; }
3086 fi
3087
3088 else
3089
3090 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3091 if test "x$LINE" != x ; then
3092 eval "DEFAULT_$LINE"
3093 else
3094 no_cache=1
3095 fi
3096
3097 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3098
3099 fi;
3100
3101 eval "$ac_cv_use_libjpeg"
3102 if test "$no_cache" != 1; then
3103 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3104 fi
3105
3106 if test "$wxUSE_LIBJPEG" = yes; then
3107 echo "$as_me:$LINENO: result: yes" >&5
3108 echo "${ECHO_T}yes" >&6
3109 elif test "$wxUSE_LIBJPEG" = no; then
3110 echo "$as_me:$LINENO: result: no" >&5
3111 echo "${ECHO_T}no" >&6
3112 elif test "$wxUSE_LIBJPEG" = sys; then
3113 echo "$as_me:$LINENO: result: system version" >&5
3114 echo "${ECHO_T}system version" >&6
3115 elif test "$wxUSE_LIBJPEG" = builtin; then
3116 echo "$as_me:$LINENO: result: builtin version" >&5
3117 echo "${ECHO_T}builtin version" >&6
3118 else
3119 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3120 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3121 { (exit 1); exit 1; }; }
3122 fi
3123
3124
3125 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3126 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3127 no_cache=0
3128
3129 # Check whether --with-libtiff or --without-libtiff was given.
3130 if test "${with_libtiff+set}" = set; then
3131 withval="$with_libtiff"
3132
3133 if test "$withval" = yes; then
3134 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3135 elif test "$withval" = no; then
3136 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3137 elif test "$withval" = sys; then
3138 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3139 elif test "$withval" = builtin; then
3140 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3141 else
3142 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3143 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3144 { (exit 1); exit 1; }; }
3145 fi
3146
3147 else
3148
3149 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3150 if test "x$LINE" != x ; then
3151 eval "DEFAULT_$LINE"
3152 else
3153 no_cache=1
3154 fi
3155
3156 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3157
3158 fi;
3159
3160 eval "$ac_cv_use_libtiff"
3161 if test "$no_cache" != 1; then
3162 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3163 fi
3164
3165 if test "$wxUSE_LIBTIFF" = yes; then
3166 echo "$as_me:$LINENO: result: yes" >&5
3167 echo "${ECHO_T}yes" >&6
3168 elif test "$wxUSE_LIBTIFF" = no; then
3169 echo "$as_me:$LINENO: result: no" >&5
3170 echo "${ECHO_T}no" >&6
3171 elif test "$wxUSE_LIBTIFF" = sys; then
3172 echo "$as_me:$LINENO: result: system version" >&5
3173 echo "${ECHO_T}system version" >&6
3174 elif test "$wxUSE_LIBTIFF" = builtin; then
3175 echo "$as_me:$LINENO: result: builtin version" >&5
3176 echo "${ECHO_T}builtin version" >&6
3177 else
3178 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3179 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3180 { (exit 1); exit 1; }; }
3181 fi
3182
3183
3184 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3185 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3186 no_cache=0
3187
3188 # Check whether --with-libxpm or --without-libxpm was given.
3189 if test "${with_libxpm+set}" = set; then
3190 withval="$with_libxpm"
3191
3192 if test "$withval" = yes; then
3193 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3194 elif test "$withval" = no; then
3195 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3196 elif test "$withval" = sys; then
3197 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3198 elif test "$withval" = builtin; then
3199 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3200 else
3201 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3202 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3203 { (exit 1); exit 1; }; }
3204 fi
3205
3206 else
3207
3208 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3209 if test "x$LINE" != x ; then
3210 eval "DEFAULT_$LINE"
3211 else
3212 no_cache=1
3213 fi
3214
3215 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3216
3217 fi;
3218
3219 eval "$ac_cv_use_libxpm"
3220 if test "$no_cache" != 1; then
3221 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3222 fi
3223
3224 if test "$wxUSE_LIBXPM" = yes; then
3225 echo "$as_me:$LINENO: result: yes" >&5
3226 echo "${ECHO_T}yes" >&6
3227 elif test "$wxUSE_LIBXPM" = no; then
3228 echo "$as_me:$LINENO: result: no" >&5
3229 echo "${ECHO_T}no" >&6
3230 elif test "$wxUSE_LIBXPM" = sys; then
3231 echo "$as_me:$LINENO: result: system version" >&5
3232 echo "${ECHO_T}system version" >&6
3233 elif test "$wxUSE_LIBXPM" = builtin; then
3234 echo "$as_me:$LINENO: result: builtin version" >&5
3235 echo "${ECHO_T}builtin version" >&6
3236 else
3237 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3238 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3239 { (exit 1); exit 1; }; }
3240 fi
3241
3242
3243 withstring=
3244 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3245 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3246 no_cache=0
3247
3248 # Check whether --with-libmspack or --without-libmspack was given.
3249 if test "${with_libmspack+set}" = set; then
3250 withval="$with_libmspack"
3251
3252 if test "$withval" = yes; then
3253 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3254 else
3255 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3256 fi
3257
3258 else
3259
3260 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3261 if test "x$LINE" != x ; then
3262 eval "DEFAULT_$LINE"
3263 else
3264 no_cache=1
3265 fi
3266
3267 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3268
3269 fi;
3270
3271 eval "$ac_cv_use_libmspack"
3272 if test "$no_cache" != 1; then
3273 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3274 fi
3275
3276 if test "$wxUSE_LIBMSPACK" = yes; then
3277 echo "$as_me:$LINENO: result: yes" >&5
3278 echo "${ECHO_T}yes" >&6
3279 else
3280 echo "$as_me:$LINENO: result: no" >&5
3281 echo "${ECHO_T}no" >&6
3282 fi
3283
3284
3285 withstring=
3286 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3287 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3288 no_cache=0
3289
3290 # Check whether --with-sdl or --without-sdl was given.
3291 if test "${with_sdl+set}" = set; then
3292 withval="$with_sdl"
3293
3294 if test "$withval" = yes; then
3295 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3296 else
3297 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3298 fi
3299
3300 else
3301
3302 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3303 if test "x$LINE" != x ; then
3304 eval "DEFAULT_$LINE"
3305 else
3306 no_cache=1
3307 fi
3308
3309 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3310
3311 fi;
3312
3313 eval "$ac_cv_use_sdl"
3314 if test "$no_cache" != 1; then
3315 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3316 fi
3317
3318 if test "$wxUSE_LIBSDL" = yes; then
3319 echo "$as_me:$LINENO: result: yes" >&5
3320 echo "${ECHO_T}yes" >&6
3321 else
3322 echo "$as_me:$LINENO: result: no" >&5
3323 echo "${ECHO_T}no" >&6
3324 fi
3325
3326
3327 withstring=
3328 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3329 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3330 no_cache=0
3331
3332 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3333 if test "${with_gnomeprint+set}" = set; then
3334 withval="$with_gnomeprint"
3335
3336 if test "$withval" = yes; then
3337 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3338 else
3339 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3340 fi
3341
3342 else
3343
3344 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3345 if test "x$LINE" != x ; then
3346 eval "DEFAULT_$LINE"
3347 else
3348 no_cache=1
3349 fi
3350
3351 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3352
3353 fi;
3354
3355 eval "$ac_cv_use_gnomeprint"
3356 if test "$no_cache" != 1; then
3357 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3358 fi
3359
3360 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3361 echo "$as_me:$LINENO: result: yes" >&5
3362 echo "${ECHO_T}yes" >&6
3363 else
3364 echo "$as_me:$LINENO: result: no" >&5
3365 echo "${ECHO_T}no" >&6
3366 fi
3367
3368
3369 withstring=
3370 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3371 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3372 no_cache=0
3373
3374 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3375 if test "${with_gnomevfs+set}" = set; then
3376 withval="$with_gnomevfs"
3377
3378 if test "$withval" = yes; then
3379 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3380 else
3381 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3382 fi
3383
3384 else
3385
3386 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3387 if test "x$LINE" != x ; then
3388 eval "DEFAULT_$LINE"
3389 else
3390 no_cache=1
3391 fi
3392
3393 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3394
3395 fi;
3396
3397 eval "$ac_cv_use_gnomevfs"
3398 if test "$no_cache" != 1; then
3399 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3400 fi
3401
3402 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3403 echo "$as_me:$LINENO: result: yes" >&5
3404 echo "${ECHO_T}yes" >&6
3405 else
3406 echo "$as_me:$LINENO: result: no" >&5
3407 echo "${ECHO_T}no" >&6
3408 fi
3409
3410
3411 withstring=
3412 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3413 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3414 no_cache=0
3415
3416 # Check whether --with-hildon or --without-hildon was given.
3417 if test "${with_hildon+set}" = set; then
3418 withval="$with_hildon"
3419
3420 if test "$withval" = yes; then
3421 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3422 else
3423 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3424 fi
3425
3426 else
3427
3428 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3429 if test "x$LINE" != x ; then
3430 eval "DEFAULT_$LINE"
3431 else
3432 no_cache=1
3433 fi
3434
3435 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3436
3437 fi;
3438
3439 eval "$ac_cv_use_hildon"
3440 if test "$no_cache" != 1; then
3441 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3442 fi
3443
3444 if test "$wxUSE_LIBHILDON" = yes; then
3445 echo "$as_me:$LINENO: result: yes" >&5
3446 echo "${ECHO_T}yes" >&6
3447 else
3448 echo "$as_me:$LINENO: result: no" >&5
3449 echo "${ECHO_T}no" >&6
3450 fi
3451
3452
3453 withstring=
3454 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3455 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3456 no_cache=0
3457
3458 # Check whether --with-opengl or --without-opengl was given.
3459 if test "${with_opengl+set}" = set; then
3460 withval="$with_opengl"
3461
3462 if test "$withval" = yes; then
3463 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3464 else
3465 ac_cv_use_opengl='wxUSE_OPENGL=no'
3466 fi
3467
3468 else
3469
3470 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3471 if test "x$LINE" != x ; then
3472 eval "DEFAULT_$LINE"
3473 else
3474 no_cache=1
3475 fi
3476
3477 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3478
3479 fi;
3480
3481 eval "$ac_cv_use_opengl"
3482 if test "$no_cache" != 1; then
3483 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3484 fi
3485
3486 if test "$wxUSE_OPENGL" = yes; then
3487 echo "$as_me:$LINENO: result: yes" >&5
3488 echo "${ECHO_T}yes" >&6
3489 else
3490 echo "$as_me:$LINENO: result: no" >&5
3491 echo "${ECHO_T}no" >&6
3492 fi
3493
3494
3495 if test "$wxUSE_UNIVERSAL" = "yes"; then
3496
3497 # Check whether --with-themes or --without-themes was given.
3498 if test "${with_themes+set}" = set; then
3499 withval="$with_themes"
3500 wxUNIV_THEMES="$withval"
3501 fi;
3502 fi
3503
3504 fi
3505
3506
3507 withstring=
3508 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3509 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3510 no_cache=0
3511
3512 # Check whether --with-dmalloc or --without-dmalloc was given.
3513 if test "${with_dmalloc+set}" = set; then
3514 withval="$with_dmalloc"
3515
3516 if test "$withval" = yes; then
3517 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3518 else
3519 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3520 fi
3521
3522 else
3523
3524 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3525 if test "x$LINE" != x ; then
3526 eval "DEFAULT_$LINE"
3527 else
3528 no_cache=1
3529 fi
3530
3531 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3532
3533 fi;
3534
3535 eval "$ac_cv_use_dmalloc"
3536 if test "$no_cache" != 1; then
3537 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3538 fi
3539
3540 if test "$wxUSE_DMALLOC" = yes; then
3541 echo "$as_me:$LINENO: result: yes" >&5
3542 echo "${ECHO_T}yes" >&6
3543 else
3544 echo "$as_me:$LINENO: result: no" >&5
3545 echo "${ECHO_T}no" >&6
3546 fi
3547
3548
3549 echo "$as_me:$LINENO: checking for --with-regex" >&5
3550 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3551 no_cache=0
3552
3553 # Check whether --with-regex or --without-regex was given.
3554 if test "${with_regex+set}" = set; then
3555 withval="$with_regex"
3556
3557 if test "$withval" = yes; then
3558 ac_cv_use_regex='wxUSE_REGEX=yes'
3559 elif test "$withval" = no; then
3560 ac_cv_use_regex='wxUSE_REGEX=no'
3561 elif test "$withval" = sys; then
3562 ac_cv_use_regex='wxUSE_REGEX=sys'
3563 elif test "$withval" = builtin; then
3564 ac_cv_use_regex='wxUSE_REGEX=builtin'
3565 else
3566 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3567 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3568 { (exit 1); exit 1; }; }
3569 fi
3570
3571 else
3572
3573 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3574 if test "x$LINE" != x ; then
3575 eval "DEFAULT_$LINE"
3576 else
3577 no_cache=1
3578 fi
3579
3580 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3581
3582 fi;
3583
3584 eval "$ac_cv_use_regex"
3585 if test "$no_cache" != 1; then
3586 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3587 fi
3588
3589 if test "$wxUSE_REGEX" = yes; then
3590 echo "$as_me:$LINENO: result: yes" >&5
3591 echo "${ECHO_T}yes" >&6
3592 elif test "$wxUSE_REGEX" = no; then
3593 echo "$as_me:$LINENO: result: no" >&5
3594 echo "${ECHO_T}no" >&6
3595 elif test "$wxUSE_REGEX" = sys; then
3596 echo "$as_me:$LINENO: result: system version" >&5
3597 echo "${ECHO_T}system version" >&6
3598 elif test "$wxUSE_REGEX" = builtin; then
3599 echo "$as_me:$LINENO: result: builtin version" >&5
3600 echo "${ECHO_T}builtin version" >&6
3601 else
3602 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3603 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3604 { (exit 1); exit 1; }; }
3605 fi
3606
3607
3608 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3609 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3610 no_cache=0
3611
3612 # Check whether --with-zlib or --without-zlib was given.
3613 if test "${with_zlib+set}" = set; then
3614 withval="$with_zlib"
3615
3616 if test "$withval" = yes; then
3617 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3618 elif test "$withval" = no; then
3619 ac_cv_use_zlib='wxUSE_ZLIB=no'
3620 elif test "$withval" = sys; then
3621 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3622 elif test "$withval" = builtin; then
3623 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3624 else
3625 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3626 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3627 { (exit 1); exit 1; }; }
3628 fi
3629
3630 else
3631
3632 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3633 if test "x$LINE" != x ; then
3634 eval "DEFAULT_$LINE"
3635 else
3636 no_cache=1
3637 fi
3638
3639 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3640
3641 fi;
3642
3643 eval "$ac_cv_use_zlib"
3644 if test "$no_cache" != 1; then
3645 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3646 fi
3647
3648 if test "$wxUSE_ZLIB" = yes; then
3649 echo "$as_me:$LINENO: result: yes" >&5
3650 echo "${ECHO_T}yes" >&6
3651 elif test "$wxUSE_ZLIB" = no; then
3652 echo "$as_me:$LINENO: result: no" >&5
3653 echo "${ECHO_T}no" >&6
3654 elif test "$wxUSE_ZLIB" = sys; then
3655 echo "$as_me:$LINENO: result: system version" >&5
3656 echo "${ECHO_T}system version" >&6
3657 elif test "$wxUSE_ZLIB" = builtin; then
3658 echo "$as_me:$LINENO: result: builtin version" >&5
3659 echo "${ECHO_T}builtin version" >&6
3660 else
3661 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3662 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3663 { (exit 1); exit 1; }; }
3664 fi
3665
3666
3667 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3668 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3669 no_cache=0
3670
3671 # Check whether --with-odbc or --without-odbc was given.
3672 if test "${with_odbc+set}" = set; then
3673 withval="$with_odbc"
3674
3675 if test "$withval" = yes; then
3676 ac_cv_use_odbc='wxUSE_ODBC=yes'
3677 elif test "$withval" = no; then
3678 ac_cv_use_odbc='wxUSE_ODBC=no'
3679 elif test "$withval" = sys; then
3680 ac_cv_use_odbc='wxUSE_ODBC=sys'
3681 elif test "$withval" = builtin; then
3682 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3683 else
3684 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3685 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3686 { (exit 1); exit 1; }; }
3687 fi
3688
3689 else
3690
3691 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3692 if test "x$LINE" != x ; then
3693 eval "DEFAULT_$LINE"
3694 else
3695 no_cache=1
3696 fi
3697
3698 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3699
3700 fi;
3701
3702 eval "$ac_cv_use_odbc"
3703 if test "$no_cache" != 1; then
3704 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3705 fi
3706
3707 if test "$wxUSE_ODBC" = yes; then
3708 echo "$as_me:$LINENO: result: yes" >&5
3709 echo "${ECHO_T}yes" >&6
3710 elif test "$wxUSE_ODBC" = no; then
3711 echo "$as_me:$LINENO: result: no" >&5
3712 echo "${ECHO_T}no" >&6
3713 elif test "$wxUSE_ODBC" = sys; then
3714 echo "$as_me:$LINENO: result: system version" >&5
3715 echo "${ECHO_T}system version" >&6
3716 elif test "$wxUSE_ODBC" = builtin; then
3717 echo "$as_me:$LINENO: result: builtin version" >&5
3718 echo "${ECHO_T}builtin version" >&6
3719 else
3720 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3721 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3722 { (exit 1); exit 1; }; }
3723 fi
3724
3725
3726 echo "$as_me:$LINENO: checking for --with-expat" >&5
3727 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3728 no_cache=0
3729
3730 # Check whether --with-expat or --without-expat was given.
3731 if test "${with_expat+set}" = set; then
3732 withval="$with_expat"
3733
3734 if test "$withval" = yes; then
3735 ac_cv_use_expat='wxUSE_EXPAT=yes'
3736 elif test "$withval" = no; then
3737 ac_cv_use_expat='wxUSE_EXPAT=no'
3738 elif test "$withval" = sys; then
3739 ac_cv_use_expat='wxUSE_EXPAT=sys'
3740 elif test "$withval" = builtin; then
3741 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3742 else
3743 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3744 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3745 { (exit 1); exit 1; }; }
3746 fi
3747
3748 else
3749
3750 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3751 if test "x$LINE" != x ; then
3752 eval "DEFAULT_$LINE"
3753 else
3754 no_cache=1
3755 fi
3756
3757 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3758
3759 fi;
3760
3761 eval "$ac_cv_use_expat"
3762 if test "$no_cache" != 1; then
3763 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3764 fi
3765
3766 if test "$wxUSE_EXPAT" = yes; then
3767 echo "$as_me:$LINENO: result: yes" >&5
3768 echo "${ECHO_T}yes" >&6
3769 elif test "$wxUSE_EXPAT" = no; then
3770 echo "$as_me:$LINENO: result: no" >&5
3771 echo "${ECHO_T}no" >&6
3772 elif test "$wxUSE_EXPAT" = sys; then
3773 echo "$as_me:$LINENO: result: system version" >&5
3774 echo "${ECHO_T}system version" >&6
3775 elif test "$wxUSE_EXPAT" = builtin; then
3776 echo "$as_me:$LINENO: result: builtin version" >&5
3777 echo "${ECHO_T}builtin version" >&6
3778 else
3779 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3780 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3781 { (exit 1); exit 1; }; }
3782 fi
3783
3784
3785
3786
3787 enablestring=
3788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3789 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3790 no_cache=0
3791 # Check whether --enable-shared or --disable-shared was given.
3792 if test "${enable_shared+set}" = set; then
3793 enableval="$enable_shared"
3794
3795 if test "$enableval" = yes; then
3796 ac_cv_use_shared='wxUSE_SHARED=yes'
3797 else
3798 ac_cv_use_shared='wxUSE_SHARED=no'
3799 fi
3800
3801 else
3802
3803 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3804 if test "x$LINE" != x ; then
3805 eval "DEFAULT_$LINE"
3806 else
3807 no_cache=1
3808 fi
3809
3810 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3811
3812 fi;
3813
3814 eval "$ac_cv_use_shared"
3815 if test "$no_cache" != 1; then
3816 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3817 fi
3818
3819 if test "$wxUSE_SHARED" = yes; then
3820 echo "$as_me:$LINENO: result: yes" >&5
3821 echo "${ECHO_T}yes" >&6
3822 else
3823 echo "$as_me:$LINENO: result: no" >&5
3824 echo "${ECHO_T}no" >&6
3825 fi
3826
3827
3828 enablestring=
3829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3830 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3831 no_cache=0
3832 # Check whether --enable-optimise or --disable-optimise was given.
3833 if test "${enable_optimise+set}" = set; then
3834 enableval="$enable_optimise"
3835
3836 if test "$enableval" = yes; then
3837 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3838 else
3839 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3840 fi
3841
3842 else
3843
3844 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3845 if test "x$LINE" != x ; then
3846 eval "DEFAULT_$LINE"
3847 else
3848 no_cache=1
3849 fi
3850
3851 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3852
3853 fi;
3854
3855 eval "$ac_cv_use_optimise"
3856 if test "$no_cache" != 1; then
3857 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3858 fi
3859
3860 if test "$wxUSE_OPTIMISE" = yes; then
3861 echo "$as_me:$LINENO: result: yes" >&5
3862 echo "${ECHO_T}yes" >&6
3863 else
3864 echo "$as_me:$LINENO: result: no" >&5
3865 echo "${ECHO_T}no" >&6
3866 fi
3867
3868
3869 enablestring=
3870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3871 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3872 no_cache=0
3873 # Check whether --enable-debug or --disable-debug was given.
3874 if test "${enable_debug+set}" = set; then
3875 enableval="$enable_debug"
3876
3877 if test "$enableval" = yes; then
3878 ac_cv_use_debug='wxUSE_DEBUG=yes'
3879 else
3880 ac_cv_use_debug='wxUSE_DEBUG=no'
3881 fi
3882
3883 else
3884
3885 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3886 if test "x$LINE" != x ; then
3887 eval "DEFAULT_$LINE"
3888 else
3889 no_cache=1
3890 fi
3891
3892 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3893
3894 fi;
3895
3896 eval "$ac_cv_use_debug"
3897 if test "$no_cache" != 1; then
3898 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3899 fi
3900
3901 if test "$wxUSE_DEBUG" = yes; then
3902 echo "$as_me:$LINENO: result: yes" >&5
3903 echo "${ECHO_T}yes" >&6
3904 else
3905 echo "$as_me:$LINENO: result: no" >&5
3906 echo "${ECHO_T}no" >&6
3907 fi
3908
3909
3910 enablestring=
3911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3912 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3913 no_cache=0
3914 # Check whether --enable-stl or --disable-stl was given.
3915 if test "${enable_stl+set}" = set; then
3916 enableval="$enable_stl"
3917
3918 if test "$enableval" = yes; then
3919 ac_cv_use_stl='wxUSE_STL=yes'
3920 else
3921 ac_cv_use_stl='wxUSE_STL=no'
3922 fi
3923
3924 else
3925
3926 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3927 if test "x$LINE" != x ; then
3928 eval "DEFAULT_$LINE"
3929 else
3930 no_cache=1
3931 fi
3932
3933 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3934
3935 fi;
3936
3937 eval "$ac_cv_use_stl"
3938 if test "$no_cache" != 1; then
3939 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3940 fi
3941
3942 if test "$wxUSE_STL" = yes; then
3943 echo "$as_me:$LINENO: result: yes" >&5
3944 echo "${ECHO_T}yes" >&6
3945 else
3946 echo "$as_me:$LINENO: result: no" >&5
3947 echo "${ECHO_T}no" >&6
3948 fi
3949
3950 if test "$USE_OS2" = "1"; then
3951 DEFAULT_wxUSE_OMF=no
3952
3953 enablestring=
3954 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3955 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3956 no_cache=0
3957 # Check whether --enable-omf or --disable-omf was given.
3958 if test "${enable_omf+set}" = set; then
3959 enableval="$enable_omf"
3960
3961 if test "$enableval" = yes; then
3962 ac_cv_use_omf='wxUSE_OMF=yes'
3963 else
3964 ac_cv_use_omf='wxUSE_OMF=no'
3965 fi
3966
3967 else
3968
3969 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3970 if test "x$LINE" != x ; then
3971 eval "DEFAULT_$LINE"
3972 else
3973 no_cache=1
3974 fi
3975
3976 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3977
3978 fi;
3979
3980 eval "$ac_cv_use_omf"
3981 if test "$no_cache" != 1; then
3982 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3983 fi
3984
3985 if test "$wxUSE_OMF" = yes; then
3986 echo "$as_me:$LINENO: result: yes" >&5
3987 echo "${ECHO_T}yes" >&6
3988 else
3989 echo "$as_me:$LINENO: result: no" >&5
3990 echo "${ECHO_T}no" >&6
3991 fi
3992
3993 fi
3994
3995 if test "$wxUSE_DEBUG" = "yes"; then
3996 DEFAULT_wxUSE_DEBUG_FLAG=yes
3997 DEFAULT_wxUSE_DEBUG_INFO=yes
3998 BUILD=debug
3999 elif test "$wxUSE_DEBUG" = "no"; then
4000 DEFAULT_wxUSE_DEBUG_FLAG=no
4001 DEFAULT_wxUSE_DEBUG_INFO=no
4002 BUILD=release
4003 fi
4004
4005
4006 enablestring=
4007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4008 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4009 no_cache=0
4010 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4011 if test "${enable_debug_flag+set}" = set; then
4012 enableval="$enable_debug_flag"
4013
4014 if test "$enableval" = yes; then
4015 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4016 else
4017 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4018 fi
4019
4020 else
4021
4022 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4023 if test "x$LINE" != x ; then
4024 eval "DEFAULT_$LINE"
4025 else
4026 no_cache=1
4027 fi
4028
4029 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4030
4031 fi;
4032
4033 eval "$ac_cv_use_debug_flag"
4034 if test "$no_cache" != 1; then
4035 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4036 fi
4037
4038 if test "$wxUSE_DEBUG_FLAG" = yes; then
4039 echo "$as_me:$LINENO: result: yes" >&5
4040 echo "${ECHO_T}yes" >&6
4041 else
4042 echo "$as_me:$LINENO: result: no" >&5
4043 echo "${ECHO_T}no" >&6
4044 fi
4045
4046
4047 enablestring=
4048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4049 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4050 no_cache=0
4051 # Check whether --enable-debug_info or --disable-debug_info was given.
4052 if test "${enable_debug_info+set}" = set; then
4053 enableval="$enable_debug_info"
4054
4055 if test "$enableval" = yes; then
4056 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4057 else
4058 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4059 fi
4060
4061 else
4062
4063 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4064 if test "x$LINE" != x ; then
4065 eval "DEFAULT_$LINE"
4066 else
4067 no_cache=1
4068 fi
4069
4070 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4071
4072 fi;
4073
4074 eval "$ac_cv_use_debug_info"
4075 if test "$no_cache" != 1; then
4076 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4077 fi
4078
4079 if test "$wxUSE_DEBUG_INFO" = yes; then
4080 echo "$as_me:$LINENO: result: yes" >&5
4081 echo "${ECHO_T}yes" >&6
4082 else
4083 echo "$as_me:$LINENO: result: no" >&5
4084 echo "${ECHO_T}no" >&6
4085 fi
4086
4087
4088 enablestring=
4089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4090 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4091 no_cache=0
4092 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4093 if test "${enable_debug_gdb+set}" = set; then
4094 enableval="$enable_debug_gdb"
4095
4096 if test "$enableval" = yes; then
4097 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4098 else
4099 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4100 fi
4101
4102 else
4103
4104 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4105 if test "x$LINE" != x ; then
4106 eval "DEFAULT_$LINE"
4107 else
4108 no_cache=1
4109 fi
4110
4111 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4112
4113 fi;
4114
4115 eval "$ac_cv_use_debug_gdb"
4116 if test "$no_cache" != 1; then
4117 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4118 fi
4119
4120 if test "$wxUSE_DEBUG_GDB" = yes; then
4121 echo "$as_me:$LINENO: result: yes" >&5
4122 echo "${ECHO_T}yes" >&6
4123 else
4124 echo "$as_me:$LINENO: result: no" >&5
4125 echo "${ECHO_T}no" >&6
4126 fi
4127
4128
4129 enablestring=
4130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4131 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4132 no_cache=0
4133 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4134 if test "${enable_debug_cntxt+set}" = set; then
4135 enableval="$enable_debug_cntxt"
4136
4137 if test "$enableval" = yes; then
4138 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4139 else
4140 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4141 fi
4142
4143 else
4144
4145 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4146 if test "x$LINE" != x ; then
4147 eval "DEFAULT_$LINE"
4148 else
4149 no_cache=1
4150 fi
4151
4152 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4153
4154 fi;
4155
4156 eval "$ac_cv_use_debug_cntxt"
4157 if test "$no_cache" != 1; then
4158 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4159 fi
4160
4161 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4162 echo "$as_me:$LINENO: result: yes" >&5
4163 echo "${ECHO_T}yes" >&6
4164 else
4165 echo "$as_me:$LINENO: result: no" >&5
4166 echo "${ECHO_T}no" >&6
4167 fi
4168
4169
4170 enablestring=
4171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4172 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4173 no_cache=0
4174 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4175 if test "${enable_mem_tracing+set}" = set; then
4176 enableval="$enable_mem_tracing"
4177
4178 if test "$enableval" = yes; then
4179 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4180 else
4181 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4182 fi
4183
4184 else
4185
4186 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4187 if test "x$LINE" != x ; then
4188 eval "DEFAULT_$LINE"
4189 else
4190 no_cache=1
4191 fi
4192
4193 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4194
4195 fi;
4196
4197 eval "$ac_cv_use_mem_tracing"
4198 if test "$no_cache" != 1; then
4199 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4200 fi
4201
4202 if test "$wxUSE_MEM_TRACING" = yes; then
4203 echo "$as_me:$LINENO: result: yes" >&5
4204 echo "${ECHO_T}yes" >&6
4205 else
4206 echo "$as_me:$LINENO: result: no" >&5
4207 echo "${ECHO_T}no" >&6
4208 fi
4209
4210
4211 enablestring=
4212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4213 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4214 no_cache=0
4215 # Check whether --enable-profile or --disable-profile was given.
4216 if test "${enable_profile+set}" = set; then
4217 enableval="$enable_profile"
4218
4219 if test "$enableval" = yes; then
4220 ac_cv_use_profile='wxUSE_PROFILE=yes'
4221 else
4222 ac_cv_use_profile='wxUSE_PROFILE=no'
4223 fi
4224
4225 else
4226
4227 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4228 if test "x$LINE" != x ; then
4229 eval "DEFAULT_$LINE"
4230 else
4231 no_cache=1
4232 fi
4233
4234 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4235
4236 fi;
4237
4238 eval "$ac_cv_use_profile"
4239 if test "$no_cache" != 1; then
4240 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4241 fi
4242
4243 if test "$wxUSE_PROFILE" = yes; then
4244 echo "$as_me:$LINENO: result: yes" >&5
4245 echo "${ECHO_T}yes" >&6
4246 else
4247 echo "$as_me:$LINENO: result: no" >&5
4248 echo "${ECHO_T}no" >&6
4249 fi
4250
4251
4252 enablestring=
4253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4254 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4255 no_cache=0
4256 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4257 if test "${enable_no_rtti+set}" = set; then
4258 enableval="$enable_no_rtti"
4259
4260 if test "$enableval" = yes; then
4261 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4262 else
4263 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4264 fi
4265
4266 else
4267
4268 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4269 if test "x$LINE" != x ; then
4270 eval "DEFAULT_$LINE"
4271 else
4272 no_cache=1
4273 fi
4274
4275 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4276
4277 fi;
4278
4279 eval "$ac_cv_use_no_rtti"
4280 if test "$no_cache" != 1; then
4281 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4282 fi
4283
4284 if test "$wxUSE_NO_RTTI" = yes; then
4285 echo "$as_me:$LINENO: result: yes" >&5
4286 echo "${ECHO_T}yes" >&6
4287 else
4288 echo "$as_me:$LINENO: result: no" >&5
4289 echo "${ECHO_T}no" >&6
4290 fi
4291
4292
4293 enablestring=
4294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4295 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4296 no_cache=0
4297 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4298 if test "${enable_no_exceptions+set}" = set; then
4299 enableval="$enable_no_exceptions"
4300
4301 if test "$enableval" = yes; then
4302 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4303 else
4304 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4305 fi
4306
4307 else
4308
4309 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4310 if test "x$LINE" != x ; then
4311 eval "DEFAULT_$LINE"
4312 else
4313 no_cache=1
4314 fi
4315
4316 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4317
4318 fi;
4319
4320 eval "$ac_cv_use_no_exceptions"
4321 if test "$no_cache" != 1; then
4322 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4323 fi
4324
4325 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4326 echo "$as_me:$LINENO: result: yes" >&5
4327 echo "${ECHO_T}yes" >&6
4328 else
4329 echo "$as_me:$LINENO: result: no" >&5
4330 echo "${ECHO_T}no" >&6
4331 fi
4332
4333
4334 enablestring=
4335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4336 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4337 no_cache=0
4338 # Check whether --enable-permissive or --disable-permissive was given.
4339 if test "${enable_permissive+set}" = set; then
4340 enableval="$enable_permissive"
4341
4342 if test "$enableval" = yes; then
4343 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4344 else
4345 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4346 fi
4347
4348 else
4349
4350 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4351 if test "x$LINE" != x ; then
4352 eval "DEFAULT_$LINE"
4353 else
4354 no_cache=1
4355 fi
4356
4357 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4358
4359 fi;
4360
4361 eval "$ac_cv_use_permissive"
4362 if test "$no_cache" != 1; then
4363 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4364 fi
4365
4366 if test "$wxUSE_PERMISSIVE" = yes; then
4367 echo "$as_me:$LINENO: result: yes" >&5
4368 echo "${ECHO_T}yes" >&6
4369 else
4370 echo "$as_me:$LINENO: result: no" >&5
4371 echo "${ECHO_T}no" >&6
4372 fi
4373
4374
4375 enablestring=
4376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4377 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4378 no_cache=0
4379 # Check whether --enable-no_deps or --disable-no_deps was given.
4380 if test "${enable_no_deps+set}" = set; then
4381 enableval="$enable_no_deps"
4382
4383 if test "$enableval" = yes; then
4384 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4385 else
4386 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4387 fi
4388
4389 else
4390
4391 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4392 if test "x$LINE" != x ; then
4393 eval "DEFAULT_$LINE"
4394 else
4395 no_cache=1
4396 fi
4397
4398 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4399
4400 fi;
4401
4402 eval "$ac_cv_use_no_deps"
4403 if test "$no_cache" != 1; then
4404 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4405 fi
4406
4407 if test "$wxUSE_NO_DEPS" = yes; then
4408 echo "$as_me:$LINENO: result: yes" >&5
4409 echo "${ECHO_T}yes" >&6
4410 else
4411 echo "$as_me:$LINENO: result: no" >&5
4412 echo "${ECHO_T}no" >&6
4413 fi
4414
4415
4416 enablestring=
4417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4418 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4419 no_cache=0
4420 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4421 if test "${enable_universal_binary+set}" = set; then
4422 enableval="$enable_universal_binary"
4423
4424 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
4425
4426 else
4427
4428 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4429 if test "x$LINE" != x ; then
4430 eval "DEFAULT_$LINE"
4431 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4432 else
4433 no_cache=1
4434 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
4435 fi
4436
4437 fi;
4438
4439 eval "$wx_cv_use_universal_binary"
4440 if test "$no_cache" != 1; then
4441 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4442 fi
4443
4444 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4445 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4446
4447
4448
4449 enablestring=enable
4450 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4451 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4452 no_cache=0
4453 # Check whether --enable-compat24 or --disable-compat24 was given.
4454 if test "${enable_compat24+set}" = set; then
4455 enableval="$enable_compat24"
4456
4457 if test "$enableval" = yes; then
4458 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4459 else
4460 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4461 fi
4462
4463 else
4464
4465 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4466 if test "x$LINE" != x ; then
4467 eval "DEFAULT_$LINE"
4468 else
4469 no_cache=1
4470 fi
4471
4472 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4473
4474 fi;
4475
4476 eval "$ac_cv_use_compat24"
4477 if test "$no_cache" != 1; then
4478 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4479 fi
4480
4481 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4482 echo "$as_me:$LINENO: result: yes" >&5
4483 echo "${ECHO_T}yes" >&6
4484 else
4485 echo "$as_me:$LINENO: result: no" >&5
4486 echo "${ECHO_T}no" >&6
4487 fi
4488
4489
4490 enablestring=disable
4491 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4492 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4493 no_cache=0
4494 # Check whether --enable-compat26 or --disable-compat26 was given.
4495 if test "${enable_compat26+set}" = set; then
4496 enableval="$enable_compat26"
4497
4498 if test "$enableval" = yes; then
4499 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4500 else
4501 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4502 fi
4503
4504 else
4505
4506 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4507 if test "x$LINE" != x ; then
4508 eval "DEFAULT_$LINE"
4509 else
4510 no_cache=1
4511 fi
4512
4513 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4514
4515 fi;
4516
4517 eval "$ac_cv_use_compat26"
4518 if test "$no_cache" != 1; then
4519 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4520 fi
4521
4522 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4523 echo "$as_me:$LINENO: result: yes" >&5
4524 echo "${ECHO_T}yes" >&6
4525 else
4526 echo "$as_me:$LINENO: result: no" >&5
4527 echo "${ECHO_T}no" >&6
4528 fi
4529
4530
4531
4532 enablestring=
4533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4534 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4535 no_cache=0
4536 # Check whether --enable-rpath or --disable-rpath was given.
4537 if test "${enable_rpath+set}" = set; then
4538 enableval="$enable_rpath"
4539
4540 if test "$enableval" = yes; then
4541 ac_cv_use_rpath='wxUSE_RPATH=yes'
4542 else
4543 ac_cv_use_rpath='wxUSE_RPATH=no'
4544 fi
4545
4546 else
4547
4548 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4549 if test "x$LINE" != x ; then
4550 eval "DEFAULT_$LINE"
4551 else
4552 no_cache=1
4553 fi
4554
4555 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4556
4557 fi;
4558
4559 eval "$ac_cv_use_rpath"
4560 if test "$no_cache" != 1; then
4561 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4562 fi
4563
4564 if test "$wxUSE_RPATH" = yes; then
4565 echo "$as_me:$LINENO: result: yes" >&5
4566 echo "${ECHO_T}yes" >&6
4567 else
4568 echo "$as_me:$LINENO: result: no" >&5
4569 echo "${ECHO_T}no" >&6
4570 fi
4571
4572
4573
4574
4575
4576 enablestring=
4577 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4578 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4579 no_cache=0
4580 # Check whether --enable-intl or --disable-intl was given.
4581 if test "${enable_intl+set}" = set; then
4582 enableval="$enable_intl"
4583
4584 if test "$enableval" = yes; then
4585 ac_cv_use_intl='wxUSE_INTL=yes'
4586 else
4587 ac_cv_use_intl='wxUSE_INTL=no'
4588 fi
4589
4590 else
4591
4592 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4593 if test "x$LINE" != x ; then
4594 eval "DEFAULT_$LINE"
4595 else
4596 no_cache=1
4597 fi
4598
4599 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4600
4601 fi;
4602
4603 eval "$ac_cv_use_intl"
4604 if test "$no_cache" != 1; then
4605 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4606 fi
4607
4608 if test "$wxUSE_INTL" = yes; then
4609 echo "$as_me:$LINENO: result: yes" >&5
4610 echo "${ECHO_T}yes" >&6
4611 else
4612 echo "$as_me:$LINENO: result: no" >&5
4613 echo "${ECHO_T}no" >&6
4614 fi
4615
4616
4617 enablestring=
4618 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4619 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4620 no_cache=0
4621 # Check whether --enable-config or --disable-config was given.
4622 if test "${enable_config+set}" = set; then
4623 enableval="$enable_config"
4624
4625 if test "$enableval" = yes; then
4626 ac_cv_use_config='wxUSE_CONFIG=yes'
4627 else
4628 ac_cv_use_config='wxUSE_CONFIG=no'
4629 fi
4630
4631 else
4632
4633 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4634 if test "x$LINE" != x ; then
4635 eval "DEFAULT_$LINE"
4636 else
4637 no_cache=1
4638 fi
4639
4640 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4641
4642 fi;
4643
4644 eval "$ac_cv_use_config"
4645 if test "$no_cache" != 1; then
4646 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4647 fi
4648
4649 if test "$wxUSE_CONFIG" = yes; then
4650 echo "$as_me:$LINENO: result: yes" >&5
4651 echo "${ECHO_T}yes" >&6
4652 else
4653 echo "$as_me:$LINENO: result: no" >&5
4654 echo "${ECHO_T}no" >&6
4655 fi
4656
4657
4658
4659 enablestring=
4660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4661 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4662 no_cache=0
4663 # Check whether --enable-protocols or --disable-protocols was given.
4664 if test "${enable_protocols+set}" = set; then
4665 enableval="$enable_protocols"
4666
4667 if test "$enableval" = yes; then
4668 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4669 else
4670 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4671 fi
4672
4673 else
4674
4675 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4676 if test "x$LINE" != x ; then
4677 eval "DEFAULT_$LINE"
4678 else
4679 no_cache=1
4680 fi
4681
4682 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4683
4684 fi;
4685
4686 eval "$ac_cv_use_protocols"
4687 if test "$no_cache" != 1; then
4688 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4689 fi
4690
4691 if test "$wxUSE_PROTOCOL" = yes; then
4692 echo "$as_me:$LINENO: result: yes" >&5
4693 echo "${ECHO_T}yes" >&6
4694 else
4695 echo "$as_me:$LINENO: result: no" >&5
4696 echo "${ECHO_T}no" >&6
4697 fi
4698
4699
4700 enablestring=
4701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4702 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4703 no_cache=0
4704 # Check whether --enable-ftp or --disable-ftp was given.
4705 if test "${enable_ftp+set}" = set; then
4706 enableval="$enable_ftp"
4707
4708 if test "$enableval" = yes; then
4709 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4710 else
4711 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4712 fi
4713
4714 else
4715
4716 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4717 if test "x$LINE" != x ; then
4718 eval "DEFAULT_$LINE"
4719 else
4720 no_cache=1
4721 fi
4722
4723 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4724
4725 fi;
4726
4727 eval "$ac_cv_use_ftp"
4728 if test "$no_cache" != 1; then
4729 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4730 fi
4731
4732 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4733 echo "$as_me:$LINENO: result: yes" >&5
4734 echo "${ECHO_T}yes" >&6
4735 else
4736 echo "$as_me:$LINENO: result: no" >&5
4737 echo "${ECHO_T}no" >&6
4738 fi
4739
4740
4741 enablestring=
4742 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4743 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4744 no_cache=0
4745 # Check whether --enable-http or --disable-http was given.
4746 if test "${enable_http+set}" = set; then
4747 enableval="$enable_http"
4748
4749 if test "$enableval" = yes; then
4750 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4751 else
4752 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4753 fi
4754
4755 else
4756
4757 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4758 if test "x$LINE" != x ; then
4759 eval "DEFAULT_$LINE"
4760 else
4761 no_cache=1
4762 fi
4763
4764 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4765
4766 fi;
4767
4768 eval "$ac_cv_use_http"
4769 if test "$no_cache" != 1; then
4770 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4771 fi
4772
4773 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4774 echo "$as_me:$LINENO: result: yes" >&5
4775 echo "${ECHO_T}yes" >&6
4776 else
4777 echo "$as_me:$LINENO: result: no" >&5
4778 echo "${ECHO_T}no" >&6
4779 fi
4780
4781
4782 enablestring=
4783 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4784 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4785 no_cache=0
4786 # Check whether --enable-fileproto or --disable-fileproto was given.
4787 if test "${enable_fileproto+set}" = set; then
4788 enableval="$enable_fileproto"
4789
4790 if test "$enableval" = yes; then
4791 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4792 else
4793 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4794 fi
4795
4796 else
4797
4798 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4799 if test "x$LINE" != x ; then
4800 eval "DEFAULT_$LINE"
4801 else
4802 no_cache=1
4803 fi
4804
4805 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4806
4807 fi;
4808
4809 eval "$ac_cv_use_fileproto"
4810 if test "$no_cache" != 1; then
4811 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4812 fi
4813
4814 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4815 echo "$as_me:$LINENO: result: yes" >&5
4816 echo "${ECHO_T}yes" >&6
4817 else
4818 echo "$as_me:$LINENO: result: no" >&5
4819 echo "${ECHO_T}no" >&6
4820 fi
4821
4822
4823 enablestring=
4824 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4825 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4826 no_cache=0
4827 # Check whether --enable-sockets or --disable-sockets was given.
4828 if test "${enable_sockets+set}" = set; then
4829 enableval="$enable_sockets"
4830
4831 if test "$enableval" = yes; then
4832 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4833 else
4834 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4835 fi
4836
4837 else
4838
4839 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4840 if test "x$LINE" != x ; then
4841 eval "DEFAULT_$LINE"
4842 else
4843 no_cache=1
4844 fi
4845
4846 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4847
4848 fi;
4849
4850 eval "$ac_cv_use_sockets"
4851 if test "$no_cache" != 1; then
4852 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4853 fi
4854
4855 if test "$wxUSE_SOCKETS" = yes; then
4856 echo "$as_me:$LINENO: result: yes" >&5
4857 echo "${ECHO_T}yes" >&6
4858 else
4859 echo "$as_me:$LINENO: result: no" >&5
4860 echo "${ECHO_T}no" >&6
4861 fi
4862
4863
4864 enablestring=
4865 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4866 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4867 no_cache=0
4868 # Check whether --enable-ole or --disable-ole was given.
4869 if test "${enable_ole+set}" = set; then
4870 enableval="$enable_ole"
4871
4872 if test "$enableval" = yes; then
4873 ac_cv_use_ole='wxUSE_OLE=yes'
4874 else
4875 ac_cv_use_ole='wxUSE_OLE=no'
4876 fi
4877
4878 else
4879
4880 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4881 if test "x$LINE" != x ; then
4882 eval "DEFAULT_$LINE"
4883 else
4884 no_cache=1
4885 fi
4886
4887 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4888
4889 fi;
4890
4891 eval "$ac_cv_use_ole"
4892 if test "$no_cache" != 1; then
4893 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4894 fi
4895
4896 if test "$wxUSE_OLE" = yes; then
4897 echo "$as_me:$LINENO: result: yes" >&5
4898 echo "${ECHO_T}yes" >&6
4899 else
4900 echo "$as_me:$LINENO: result: no" >&5
4901 echo "${ECHO_T}no" >&6
4902 fi
4903
4904
4905 enablestring=
4906 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4907 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4908 no_cache=0
4909 # Check whether --enable-dataobj or --disable-dataobj was given.
4910 if test "${enable_dataobj+set}" = set; then
4911 enableval="$enable_dataobj"
4912
4913 if test "$enableval" = yes; then
4914 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4915 else
4916 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4917 fi
4918
4919 else
4920
4921 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4922 if test "x$LINE" != x ; then
4923 eval "DEFAULT_$LINE"
4924 else
4925 no_cache=1
4926 fi
4927
4928 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4929
4930 fi;
4931
4932 eval "$ac_cv_use_dataobj"
4933 if test "$no_cache" != 1; then
4934 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4935 fi
4936
4937 if test "$wxUSE_DATAOBJ" = yes; then
4938 echo "$as_me:$LINENO: result: yes" >&5
4939 echo "${ECHO_T}yes" >&6
4940 else
4941 echo "$as_me:$LINENO: result: no" >&5
4942 echo "${ECHO_T}no" >&6
4943 fi
4944
4945
4946
4947 enablestring=
4948 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4949 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4950 no_cache=0
4951 # Check whether --enable-ipc or --disable-ipc was given.
4952 if test "${enable_ipc+set}" = set; then
4953 enableval="$enable_ipc"
4954
4955 if test "$enableval" = yes; then
4956 ac_cv_use_ipc='wxUSE_IPC=yes'
4957 else
4958 ac_cv_use_ipc='wxUSE_IPC=no'
4959 fi
4960
4961 else
4962
4963 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4964 if test "x$LINE" != x ; then
4965 eval "DEFAULT_$LINE"
4966 else
4967 no_cache=1
4968 fi
4969
4970 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4971
4972 fi;
4973
4974 eval "$ac_cv_use_ipc"
4975 if test "$no_cache" != 1; then
4976 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4977 fi
4978
4979 if test "$wxUSE_IPC" = yes; then
4980 echo "$as_me:$LINENO: result: yes" >&5
4981 echo "${ECHO_T}yes" >&6
4982 else
4983 echo "$as_me:$LINENO: result: no" >&5
4984 echo "${ECHO_T}no" >&6
4985 fi
4986
4987
4988
4989 enablestring=
4990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4991 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4992 no_cache=0
4993 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4994 if test "${enable_apple_ieee+set}" = set; then
4995 enableval="$enable_apple_ieee"
4996
4997 if test "$enableval" = yes; then
4998 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4999 else
5000 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5001 fi
5002
5003 else
5004
5005 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5006 if test "x$LINE" != x ; then
5007 eval "DEFAULT_$LINE"
5008 else
5009 no_cache=1
5010 fi
5011
5012 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5013
5014 fi;
5015
5016 eval "$ac_cv_use_apple_ieee"
5017 if test "$no_cache" != 1; then
5018 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5019 fi
5020
5021 if test "$wxUSE_APPLE_IEEE" = yes; then
5022 echo "$as_me:$LINENO: result: yes" >&5
5023 echo "${ECHO_T}yes" >&6
5024 else
5025 echo "$as_me:$LINENO: result: no" >&5
5026 echo "${ECHO_T}no" >&6
5027 fi
5028
5029
5030 enablestring=
5031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5032 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5033 no_cache=0
5034 # Check whether --enable-arcstream or --disable-arcstream was given.
5035 if test "${enable_arcstream+set}" = set; then
5036 enableval="$enable_arcstream"
5037
5038 if test "$enableval" = yes; then
5039 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5040 else
5041 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5042 fi
5043
5044 else
5045
5046 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5047 if test "x$LINE" != x ; then
5048 eval "DEFAULT_$LINE"
5049 else
5050 no_cache=1
5051 fi
5052
5053 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5054
5055 fi;
5056
5057 eval "$ac_cv_use_arcstream"
5058 if test "$no_cache" != 1; then
5059 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5060 fi
5061
5062 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5063 echo "$as_me:$LINENO: result: yes" >&5
5064 echo "${ECHO_T}yes" >&6
5065 else
5066 echo "$as_me:$LINENO: result: no" >&5
5067 echo "${ECHO_T}no" >&6
5068 fi
5069
5070
5071 enablestring=
5072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backingfile" >&5
5073 echo $ECHO_N "checking for --${enablestring:-enable}-backingfile... $ECHO_C" >&6
5074 no_cache=0
5075 # Check whether --enable-backingfile or --disable-backingfile was given.
5076 if test "${enable_backingfile+set}" = set; then
5077 enableval="$enable_backingfile"
5078
5079 if test "$enableval" = yes; then
5080 ac_cv_use_backingfile='wxUSE_BACKINGFILE=yes'
5081 else
5082 ac_cv_use_backingfile='wxUSE_BACKINGFILE=no'
5083 fi
5084
5085 else
5086
5087 LINE=`grep "wxUSE_BACKINGFILE" ${wx_arg_cache_file}`
5088 if test "x$LINE" != x ; then
5089 eval "DEFAULT_$LINE"
5090 else
5091 no_cache=1
5092 fi
5093
5094 ac_cv_use_backingfile='wxUSE_BACKINGFILE='$DEFAULT_wxUSE_BACKINGFILE
5095
5096 fi;
5097
5098 eval "$ac_cv_use_backingfile"
5099 if test "$no_cache" != 1; then
5100 echo $ac_cv_use_backingfile >> ${wx_arg_cache_file}.tmp
5101 fi
5102
5103 if test "$wxUSE_BACKINGFILE" = yes; then
5104 echo "$as_me:$LINENO: result: yes" >&5
5105 echo "${ECHO_T}yes" >&6
5106 else
5107 echo "$as_me:$LINENO: result: no" >&5
5108 echo "${ECHO_T}no" >&6
5109 fi
5110
5111
5112 enablestring=
5113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5114 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5115 no_cache=0
5116 # Check whether --enable-backtrace or --disable-backtrace was given.
5117 if test "${enable_backtrace+set}" = set; then
5118 enableval="$enable_backtrace"
5119
5120 if test "$enableval" = yes; then
5121 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5122 else
5123 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5124 fi
5125
5126 else
5127
5128 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5129 if test "x$LINE" != x ; then
5130 eval "DEFAULT_$LINE"
5131 else
5132 no_cache=1
5133 fi
5134
5135 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5136
5137 fi;
5138
5139 eval "$ac_cv_use_backtrace"
5140 if test "$no_cache" != 1; then
5141 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5142 fi
5143
5144 if test "$wxUSE_STACKWALKER" = yes; then
5145 echo "$as_me:$LINENO: result: yes" >&5
5146 echo "${ECHO_T}yes" >&6
5147 else
5148 echo "$as_me:$LINENO: result: no" >&5
5149 echo "${ECHO_T}no" >&6
5150 fi
5151
5152
5153 enablestring=
5154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5155 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5156 no_cache=0
5157 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5158 if test "${enable_catch_segvs+set}" = set; then
5159 enableval="$enable_catch_segvs"
5160
5161 if test "$enableval" = yes; then
5162 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5163 else
5164 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5165 fi
5166
5167 else
5168
5169 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5170 if test "x$LINE" != x ; then
5171 eval "DEFAULT_$LINE"
5172 else
5173 no_cache=1
5174 fi
5175
5176 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5177
5178 fi;
5179
5180 eval "$ac_cv_use_catch_segvs"
5181 if test "$no_cache" != 1; then
5182 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5183 fi
5184
5185 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5186 echo "$as_me:$LINENO: result: yes" >&5
5187 echo "${ECHO_T}yes" >&6
5188 else
5189 echo "$as_me:$LINENO: result: no" >&5
5190 echo "${ECHO_T}no" >&6
5191 fi
5192
5193
5194 enablestring=
5195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5196 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5197 no_cache=0
5198 # Check whether --enable-cmdline or --disable-cmdline was given.
5199 if test "${enable_cmdline+set}" = set; then
5200 enableval="$enable_cmdline"
5201
5202 if test "$enableval" = yes; then
5203 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5204 else
5205 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5206 fi
5207
5208 else
5209
5210 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5211 if test "x$LINE" != x ; then
5212 eval "DEFAULT_$LINE"
5213 else
5214 no_cache=1
5215 fi
5216
5217 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5218
5219 fi;
5220
5221 eval "$ac_cv_use_cmdline"
5222 if test "$no_cache" != 1; then
5223 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5224 fi
5225
5226 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5227 echo "$as_me:$LINENO: result: yes" >&5
5228 echo "${ECHO_T}yes" >&6
5229 else
5230 echo "$as_me:$LINENO: result: no" >&5
5231 echo "${ECHO_T}no" >&6
5232 fi
5233
5234
5235 enablestring=
5236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5237 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5238 no_cache=0
5239 # Check whether --enable-datetime or --disable-datetime was given.
5240 if test "${enable_datetime+set}" = set; then
5241 enableval="$enable_datetime"
5242
5243 if test "$enableval" = yes; then
5244 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5245 else
5246 ac_cv_use_datetime='wxUSE_DATETIME=no'
5247 fi
5248
5249 else
5250
5251 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5252 if test "x$LINE" != x ; then
5253 eval "DEFAULT_$LINE"
5254 else
5255 no_cache=1
5256 fi
5257
5258 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5259
5260 fi;
5261
5262 eval "$ac_cv_use_datetime"
5263 if test "$no_cache" != 1; then
5264 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5265 fi
5266
5267 if test "$wxUSE_DATETIME" = yes; then
5268 echo "$as_me:$LINENO: result: yes" >&5
5269 echo "${ECHO_T}yes" >&6
5270 else
5271 echo "$as_me:$LINENO: result: no" >&5
5272 echo "${ECHO_T}no" >&6
5273 fi
5274
5275
5276 enablestring=
5277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5278 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5279 no_cache=0
5280 # Check whether --enable-debugreport or --disable-debugreport was given.
5281 if test "${enable_debugreport+set}" = set; then
5282 enableval="$enable_debugreport"
5283
5284 if test "$enableval" = yes; then
5285 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5286 else
5287 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5288 fi
5289
5290 else
5291
5292 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5293 if test "x$LINE" != x ; then
5294 eval "DEFAULT_$LINE"
5295 else
5296 no_cache=1
5297 fi
5298
5299 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5300
5301 fi;
5302
5303 eval "$ac_cv_use_debugreport"
5304 if test "$no_cache" != 1; then
5305 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5306 fi
5307
5308 if test "$wxUSE_DEBUGREPORT" = yes; then
5309 echo "$as_me:$LINENO: result: yes" >&5
5310 echo "${ECHO_T}yes" >&6
5311 else
5312 echo "$as_me:$LINENO: result: no" >&5
5313 echo "${ECHO_T}no" >&6
5314 fi
5315
5316
5317 enablestring=
5318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5319 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5320 no_cache=0
5321 # Check whether --enable-dialupman or --disable-dialupman was given.
5322 if test "${enable_dialupman+set}" = set; then
5323 enableval="$enable_dialupman"
5324
5325 if test "$enableval" = yes; then
5326 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
5327 else
5328 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
5329 fi
5330
5331 else
5332
5333 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5334 if test "x$LINE" != x ; then
5335 eval "DEFAULT_$LINE"
5336 else
5337 no_cache=1
5338 fi
5339
5340 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5341
5342 fi;
5343
5344 eval "$ac_cv_use_dialupman"
5345 if test "$no_cache" != 1; then
5346 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5347 fi
5348
5349 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5350 echo "$as_me:$LINENO: result: yes" >&5
5351 echo "${ECHO_T}yes" >&6
5352 else
5353 echo "$as_me:$LINENO: result: no" >&5
5354 echo "${ECHO_T}no" >&6
5355 fi
5356
5357
5358 enablestring=
5359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5360 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5361 no_cache=0
5362 # Check whether --enable-dynlib or --disable-dynlib was given.
5363 if test "${enable_dynlib+set}" = set; then
5364 enableval="$enable_dynlib"
5365
5366 if test "$enableval" = yes; then
5367 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5368 else
5369 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5370 fi
5371
5372 else
5373
5374 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5375 if test "x$LINE" != x ; then
5376 eval "DEFAULT_$LINE"
5377 else
5378 no_cache=1
5379 fi
5380
5381 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5382
5383 fi;
5384
5385 eval "$ac_cv_use_dynlib"
5386 if test "$no_cache" != 1; then
5387 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5388 fi
5389
5390 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5391 echo "$as_me:$LINENO: result: yes" >&5
5392 echo "${ECHO_T}yes" >&6
5393 else
5394 echo "$as_me:$LINENO: result: no" >&5
5395 echo "${ECHO_T}no" >&6
5396 fi
5397
5398
5399 enablestring=
5400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5401 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5402 no_cache=0
5403 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5404 if test "${enable_dynamicloader+set}" = set; then
5405 enableval="$enable_dynamicloader"
5406
5407 if test "$enableval" = yes; then
5408 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5409 else
5410 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5411 fi
5412
5413 else
5414
5415 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5416 if test "x$LINE" != x ; then
5417 eval "DEFAULT_$LINE"
5418 else
5419 no_cache=1
5420 fi
5421
5422 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5423
5424 fi;
5425
5426 eval "$ac_cv_use_dynamicloader"
5427 if test "$no_cache" != 1; then
5428 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5429 fi
5430
5431 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5432 echo "$as_me:$LINENO: result: yes" >&5
5433 echo "${ECHO_T}yes" >&6
5434 else
5435 echo "$as_me:$LINENO: result: no" >&5
5436 echo "${ECHO_T}no" >&6
5437 fi
5438
5439
5440 enablestring=
5441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5442 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5443 no_cache=0
5444 # Check whether --enable-exceptions or --disable-exceptions was given.
5445 if test "${enable_exceptions+set}" = set; then
5446 enableval="$enable_exceptions"
5447
5448 if test "$enableval" = yes; then
5449 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5450 else
5451 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5452 fi
5453
5454 else
5455
5456 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5457 if test "x$LINE" != x ; then
5458 eval "DEFAULT_$LINE"
5459 else
5460 no_cache=1
5461 fi
5462
5463 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5464
5465 fi;
5466
5467 eval "$ac_cv_use_exceptions"
5468 if test "$no_cache" != 1; then
5469 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5470 fi
5471
5472 if test "$wxUSE_EXCEPTIONS" = yes; then
5473 echo "$as_me:$LINENO: result: yes" >&5
5474 echo "${ECHO_T}yes" >&6
5475 else
5476 echo "$as_me:$LINENO: result: no" >&5
5477 echo "${ECHO_T}no" >&6
5478 fi
5479
5480
5481 enablestring=
5482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5483 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5484 no_cache=0
5485 # Check whether --enable-ffile or --disable-ffile was given.
5486 if test "${enable_ffile+set}" = set; then
5487 enableval="$enable_ffile"
5488
5489 if test "$enableval" = yes; then
5490 ac_cv_use_ffile='wxUSE_FFILE=yes'
5491 else
5492 ac_cv_use_ffile='wxUSE_FFILE=no'
5493 fi
5494
5495 else
5496
5497 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5498 if test "x$LINE" != x ; then
5499 eval "DEFAULT_$LINE"
5500 else
5501 no_cache=1
5502 fi
5503
5504 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5505
5506 fi;
5507
5508 eval "$ac_cv_use_ffile"
5509 if test "$no_cache" != 1; then
5510 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5511 fi
5512
5513 if test "$wxUSE_FFILE" = yes; then
5514 echo "$as_me:$LINENO: result: yes" >&5
5515 echo "${ECHO_T}yes" >&6
5516 else
5517 echo "$as_me:$LINENO: result: no" >&5
5518 echo "${ECHO_T}no" >&6
5519 fi
5520
5521
5522 enablestring=
5523 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5524 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5525 no_cache=0
5526 # Check whether --enable-file or --disable-file was given.
5527 if test "${enable_file+set}" = set; then
5528 enableval="$enable_file"
5529
5530 if test "$enableval" = yes; then
5531 ac_cv_use_file='wxUSE_FILE=yes'
5532 else
5533 ac_cv_use_file='wxUSE_FILE=no'
5534 fi
5535
5536 else
5537
5538 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5539 if test "x$LINE" != x ; then
5540 eval "DEFAULT_$LINE"
5541 else
5542 no_cache=1
5543 fi
5544
5545 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5546
5547 fi;
5548
5549 eval "$ac_cv_use_file"
5550 if test "$no_cache" != 1; then
5551 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5552 fi
5553
5554 if test "$wxUSE_FILE" = yes; then
5555 echo "$as_me:$LINENO: result: yes" >&5
5556 echo "${ECHO_T}yes" >&6
5557 else
5558 echo "$as_me:$LINENO: result: no" >&5
5559 echo "${ECHO_T}no" >&6
5560 fi
5561
5562
5563 enablestring=
5564 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5565 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5566 no_cache=0
5567 # Check whether --enable-filesystem or --disable-filesystem was given.
5568 if test "${enable_filesystem+set}" = set; then
5569 enableval="$enable_filesystem"
5570
5571 if test "$enableval" = yes; then
5572 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5573 else
5574 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5575 fi
5576
5577 else
5578
5579 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5580 if test "x$LINE" != x ; then
5581 eval "DEFAULT_$LINE"
5582 else
5583 no_cache=1
5584 fi
5585
5586 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5587
5588 fi;
5589
5590 eval "$ac_cv_use_filesystem"
5591 if test "$no_cache" != 1; then
5592 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5593 fi
5594
5595 if test "$wxUSE_FILESYSTEM" = yes; then
5596 echo "$as_me:$LINENO: result: yes" >&5
5597 echo "${ECHO_T}yes" >&6
5598 else
5599 echo "$as_me:$LINENO: result: no" >&5
5600 echo "${ECHO_T}no" >&6
5601 fi
5602
5603
5604 enablestring=
5605 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5606 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5607 no_cache=0
5608 # Check whether --enable-fontmap or --disable-fontmap was given.
5609 if test "${enable_fontmap+set}" = set; then
5610 enableval="$enable_fontmap"
5611
5612 if test "$enableval" = yes; then
5613 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5614 else
5615 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5616 fi
5617
5618 else
5619
5620 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5621 if test "x$LINE" != x ; then
5622 eval "DEFAULT_$LINE"
5623 else
5624 no_cache=1
5625 fi
5626
5627 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5628
5629 fi;
5630
5631 eval "$ac_cv_use_fontmap"
5632 if test "$no_cache" != 1; then
5633 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5634 fi
5635
5636 if test "$wxUSE_FONTMAP" = yes; then
5637 echo "$as_me:$LINENO: result: yes" >&5
5638 echo "${ECHO_T}yes" >&6
5639 else
5640 echo "$as_me:$LINENO: result: no" >&5
5641 echo "${ECHO_T}no" >&6
5642 fi
5643
5644
5645 enablestring=
5646 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
5647 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6
5648 no_cache=0
5649 # Check whether --enable-fs_archive or --disable-fs_archive was given.
5650 if test "${enable_fs_archive+set}" = set; then
5651 enableval="$enable_fs_archive"
5652
5653 if test "$enableval" = yes; then
5654 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
5655 else
5656 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
5657 fi
5658
5659 else
5660
5661 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
5662 if test "x$LINE" != x ; then
5663 eval "DEFAULT_$LINE"
5664 else
5665 no_cache=1
5666 fi
5667
5668 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
5669
5670 fi;
5671
5672 eval "$ac_cv_use_fs_archive"
5673 if test "$no_cache" != 1; then
5674 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
5675 fi
5676
5677 if test "$wxUSE_FS_ARCHIVE" = yes; then
5678 echo "$as_me:$LINENO: result: yes" >&5
5679 echo "${ECHO_T}yes" >&6
5680 else
5681 echo "$as_me:$LINENO: result: no" >&5
5682 echo "${ECHO_T}no" >&6
5683 fi
5684
5685
5686 enablestring=
5687 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5688 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5689 no_cache=0
5690 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5691 if test "${enable_fs_inet+set}" = set; then
5692 enableval="$enable_fs_inet"
5693
5694 if test "$enableval" = yes; then
5695 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5696 else
5697 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5698 fi
5699
5700 else
5701
5702 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5703 if test "x$LINE" != x ; then
5704 eval "DEFAULT_$LINE"
5705 else
5706 no_cache=1
5707 fi
5708
5709 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5710
5711 fi;
5712
5713 eval "$ac_cv_use_fs_inet"
5714 if test "$no_cache" != 1; then
5715 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5716 fi
5717
5718 if test "$wxUSE_FS_INET" = yes; then
5719 echo "$as_me:$LINENO: result: yes" >&5
5720 echo "${ECHO_T}yes" >&6
5721 else
5722 echo "$as_me:$LINENO: result: no" >&5
5723 echo "${ECHO_T}no" >&6
5724 fi
5725
5726
5727 enablestring=
5728 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5729 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5730 no_cache=0
5731 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5732 if test "${enable_fs_zip+set}" = set; then
5733 enableval="$enable_fs_zip"
5734
5735 if test "$enableval" = yes; then
5736 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5737 else
5738 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5739 fi
5740
5741 else
5742
5743 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5744 if test "x$LINE" != x ; then
5745 eval "DEFAULT_$LINE"
5746 else
5747 no_cache=1
5748 fi
5749
5750 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5751
5752 fi;
5753
5754 eval "$ac_cv_use_fs_zip"
5755 if test "$no_cache" != 1; then
5756 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5757 fi
5758
5759 if test "$wxUSE_FS_ZIP" = yes; then
5760 echo "$as_me:$LINENO: result: yes" >&5
5761 echo "${ECHO_T}yes" >&6
5762 else
5763 echo "$as_me:$LINENO: result: no" >&5
5764 echo "${ECHO_T}no" >&6
5765 fi
5766
5767
5768 enablestring=
5769 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5770 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5771 no_cache=0
5772 # Check whether --enable-geometry or --disable-geometry was given.
5773 if test "${enable_geometry+set}" = set; then
5774 enableval="$enable_geometry"
5775
5776 if test "$enableval" = yes; then
5777 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5778 else
5779 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5780 fi
5781
5782 else
5783
5784 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5785 if test "x$LINE" != x ; then
5786 eval "DEFAULT_$LINE"
5787 else
5788 no_cache=1
5789 fi
5790
5791 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5792
5793 fi;
5794
5795 eval "$ac_cv_use_geometry"
5796 if test "$no_cache" != 1; then
5797 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5798 fi
5799
5800 if test "$wxUSE_GEOMETRY" = yes; then
5801 echo "$as_me:$LINENO: result: yes" >&5
5802 echo "${ECHO_T}yes" >&6
5803 else
5804 echo "$as_me:$LINENO: result: no" >&5
5805 echo "${ECHO_T}no" >&6
5806 fi
5807
5808
5809 enablestring=
5810 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5811 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5812 no_cache=0
5813 # Check whether --enable-log or --disable-log was given.
5814 if test "${enable_log+set}" = set; then
5815 enableval="$enable_log"
5816
5817 if test "$enableval" = yes; then
5818 ac_cv_use_log='wxUSE_LOG=yes'
5819 else
5820 ac_cv_use_log='wxUSE_LOG=no'
5821 fi
5822
5823 else
5824
5825 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5826 if test "x$LINE" != x ; then
5827 eval "DEFAULT_$LINE"
5828 else
5829 no_cache=1
5830 fi
5831
5832 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5833
5834 fi;
5835
5836 eval "$ac_cv_use_log"
5837 if test "$no_cache" != 1; then
5838 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5839 fi
5840
5841 if test "$wxUSE_LOG" = yes; then
5842 echo "$as_me:$LINENO: result: yes" >&5
5843 echo "${ECHO_T}yes" >&6
5844 else
5845 echo "$as_me:$LINENO: result: no" >&5
5846 echo "${ECHO_T}no" >&6
5847 fi
5848
5849
5850 enablestring=
5851 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5852 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5853 no_cache=0
5854 # Check whether --enable-longlong or --disable-longlong was given.
5855 if test "${enable_longlong+set}" = set; then
5856 enableval="$enable_longlong"
5857
5858 if test "$enableval" = yes; then
5859 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5860 else
5861 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5862 fi
5863
5864 else
5865
5866 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5867 if test "x$LINE" != x ; then
5868 eval "DEFAULT_$LINE"
5869 else
5870 no_cache=1
5871 fi
5872
5873 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5874
5875 fi;
5876
5877 eval "$ac_cv_use_longlong"
5878 if test "$no_cache" != 1; then
5879 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5880 fi
5881
5882 if test "$wxUSE_LONGLONG" = yes; then
5883 echo "$as_me:$LINENO: result: yes" >&5
5884 echo "${ECHO_T}yes" >&6
5885 else
5886 echo "$as_me:$LINENO: result: no" >&5
5887 echo "${ECHO_T}no" >&6
5888 fi
5889
5890
5891 enablestring=
5892 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5893 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5894 no_cache=0
5895 # Check whether --enable-mimetype or --disable-mimetype was given.
5896 if test "${enable_mimetype+set}" = set; then
5897 enableval="$enable_mimetype"
5898
5899 if test "$enableval" = yes; then
5900 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5901 else
5902 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5903 fi
5904
5905 else
5906
5907 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5908 if test "x$LINE" != x ; then
5909 eval "DEFAULT_$LINE"
5910 else
5911 no_cache=1
5912 fi
5913
5914 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5915
5916 fi;
5917
5918 eval "$ac_cv_use_mimetype"
5919 if test "$no_cache" != 1; then
5920 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5921 fi
5922
5923 if test "$wxUSE_MIMETYPE" = yes; then
5924 echo "$as_me:$LINENO: result: yes" >&5
5925 echo "${ECHO_T}yes" >&6
5926 else
5927 echo "$as_me:$LINENO: result: no" >&5
5928 echo "${ECHO_T}no" >&6
5929 fi
5930
5931
5932 enablestring=
5933 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5934 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5935 no_cache=0
5936 # Check whether --enable-mslu or --disable-mslu was given.
5937 if test "${enable_mslu+set}" = set; then
5938 enableval="$enable_mslu"
5939
5940 if test "$enableval" = yes; then
5941 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5942 else
5943 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5944 fi
5945
5946 else
5947
5948 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5949 if test "x$LINE" != x ; then
5950 eval "DEFAULT_$LINE"
5951 else
5952 no_cache=1
5953 fi
5954
5955 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5956
5957 fi;
5958
5959 eval "$ac_cv_use_mslu"
5960 if test "$no_cache" != 1; then
5961 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5962 fi
5963
5964 if test "$wxUSE_UNICODE_MSLU" = yes; then
5965 echo "$as_me:$LINENO: result: yes" >&5
5966 echo "${ECHO_T}yes" >&6
5967 else
5968 echo "$as_me:$LINENO: result: no" >&5
5969 echo "${ECHO_T}no" >&6
5970 fi
5971
5972
5973 enablestring=
5974 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5975 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5976 no_cache=0
5977 # Check whether --enable-snglinst or --disable-snglinst was given.
5978 if test "${enable_snglinst+set}" = set; then
5979 enableval="$enable_snglinst"
5980
5981 if test "$enableval" = yes; then
5982 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5983 else
5984 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5985 fi
5986
5987 else
5988
5989 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5990 if test "x$LINE" != x ; then
5991 eval "DEFAULT_$LINE"
5992 else
5993 no_cache=1
5994 fi
5995
5996 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5997
5998 fi;
5999
6000 eval "$ac_cv_use_snglinst"
6001 if test "$no_cache" != 1; then
6002 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6003 fi
6004
6005 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6006 echo "$as_me:$LINENO: result: yes" >&5
6007 echo "${ECHO_T}yes" >&6
6008 else
6009 echo "$as_me:$LINENO: result: no" >&5
6010 echo "${ECHO_T}no" >&6
6011 fi
6012
6013
6014 enablestring=
6015 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6016 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
6017 no_cache=0
6018 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
6019 if test "${enable_std_iostreams+set}" = set; then
6020 enableval="$enable_std_iostreams"
6021
6022 if test "$enableval" = yes; then
6023 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6024 else
6025 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6026 fi
6027
6028 else
6029
6030 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6031 if test "x$LINE" != x ; then
6032 eval "DEFAULT_$LINE"
6033 else
6034 no_cache=1
6035 fi
6036
6037 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6038
6039 fi;
6040
6041 eval "$ac_cv_use_std_iostreams"
6042 if test "$no_cache" != 1; then
6043 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6044 fi
6045
6046 if test "$wxUSE_STD_IOSTREAM" = yes; then
6047 echo "$as_me:$LINENO: result: yes" >&5
6048 echo "${ECHO_T}yes" >&6
6049 else
6050 echo "$as_me:$LINENO: result: no" >&5
6051 echo "${ECHO_T}no" >&6
6052 fi
6053
6054
6055 enablestring=
6056 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6057 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
6058 no_cache=0
6059 # Check whether --enable-std_string or --disable-std_string was given.
6060 if test "${enable_std_string+set}" = set; then
6061 enableval="$enable_std_string"
6062
6063 if test "$enableval" = yes; then
6064 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6065 else
6066 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6067 fi
6068
6069 else
6070
6071 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6072 if test "x$LINE" != x ; then
6073 eval "DEFAULT_$LINE"
6074 else
6075 no_cache=1
6076 fi
6077
6078 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6079
6080 fi;
6081
6082 eval "$ac_cv_use_std_string"
6083 if test "$no_cache" != 1; then
6084 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6085 fi
6086
6087 if test "$wxUSE_STD_STRING" = yes; then
6088 echo "$as_me:$LINENO: result: yes" >&5
6089 echo "${ECHO_T}yes" >&6
6090 else
6091 echo "$as_me:$LINENO: result: no" >&5
6092 echo "${ECHO_T}no" >&6
6093 fi
6094
6095
6096 enablestring=
6097 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6098 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
6099 no_cache=0
6100 # Check whether --enable-stdpaths or --disable-stdpaths was given.
6101 if test "${enable_stdpaths+set}" = set; then
6102 enableval="$enable_stdpaths"
6103
6104 if test "$enableval" = yes; then
6105 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6106 else
6107 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6108 fi
6109
6110 else
6111
6112 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6113 if test "x$LINE" != x ; then
6114 eval "DEFAULT_$LINE"
6115 else
6116 no_cache=1
6117 fi
6118
6119 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6120
6121 fi;
6122
6123 eval "$ac_cv_use_stdpaths"
6124 if test "$no_cache" != 1; then
6125 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6126 fi
6127
6128 if test "$wxUSE_STDPATHS" = yes; then
6129 echo "$as_me:$LINENO: result: yes" >&5
6130 echo "${ECHO_T}yes" >&6
6131 else
6132 echo "$as_me:$LINENO: result: no" >&5
6133 echo "${ECHO_T}no" >&6
6134 fi
6135
6136
6137 enablestring=
6138 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6139 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6140 no_cache=0
6141 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6142 if test "${enable_stopwatch+set}" = set; then
6143 enableval="$enable_stopwatch"
6144
6145 if test "$enableval" = yes; then
6146 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6147 else
6148 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6149 fi
6150
6151 else
6152
6153 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6154 if test "x$LINE" != x ; then
6155 eval "DEFAULT_$LINE"
6156 else
6157 no_cache=1
6158 fi
6159
6160 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6161
6162 fi;
6163
6164 eval "$ac_cv_use_stopwatch"
6165 if test "$no_cache" != 1; then
6166 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6167 fi
6168
6169 if test "$wxUSE_STOPWATCH" = yes; then
6170 echo "$as_me:$LINENO: result: yes" >&5
6171 echo "${ECHO_T}yes" >&6
6172 else
6173 echo "$as_me:$LINENO: result: no" >&5
6174 echo "${ECHO_T}no" >&6
6175 fi
6176
6177
6178 enablestring=
6179 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6180 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6181 no_cache=0
6182 # Check whether --enable-streams or --disable-streams was given.
6183 if test "${enable_streams+set}" = set; then
6184 enableval="$enable_streams"
6185
6186 if test "$enableval" = yes; then
6187 ac_cv_use_streams='wxUSE_STREAMS=yes'
6188 else
6189 ac_cv_use_streams='wxUSE_STREAMS=no'
6190 fi
6191
6192 else
6193
6194 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6195 if test "x$LINE" != x ; then
6196 eval "DEFAULT_$LINE"
6197 else
6198 no_cache=1
6199 fi
6200
6201 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6202
6203 fi;
6204
6205 eval "$ac_cv_use_streams"
6206 if test "$no_cache" != 1; then
6207 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6208 fi
6209
6210 if test "$wxUSE_STREAMS" = yes; then
6211 echo "$as_me:$LINENO: result: yes" >&5
6212 echo "${ECHO_T}yes" >&6
6213 else
6214 echo "$as_me:$LINENO: result: no" >&5
6215 echo "${ECHO_T}no" >&6
6216 fi
6217
6218
6219 enablestring=
6220 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6221 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6222 no_cache=0
6223 # Check whether --enable-system_options or --disable-system_options was given.
6224 if test "${enable_system_options+set}" = set; then
6225 enableval="$enable_system_options"
6226
6227 if test "$enableval" = yes; then
6228 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6229 else
6230 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6231 fi
6232
6233 else
6234
6235 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6236 if test "x$LINE" != x ; then
6237 eval "DEFAULT_$LINE"
6238 else
6239 no_cache=1
6240 fi
6241
6242 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6243
6244 fi;
6245
6246 eval "$ac_cv_use_system_options"
6247 if test "$no_cache" != 1; then
6248 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6249 fi
6250
6251 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6252 echo "$as_me:$LINENO: result: yes" >&5
6253 echo "${ECHO_T}yes" >&6
6254 else
6255 echo "$as_me:$LINENO: result: no" >&5
6256 echo "${ECHO_T}no" >&6
6257 fi
6258
6259
6260 enablestring=
6261 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6262 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6
6263 no_cache=0
6264 # Check whether --enable-tarstream or --disable-tarstream was given.
6265 if test "${enable_tarstream+set}" = set; then
6266 enableval="$enable_tarstream"
6267
6268 if test "$enableval" = yes; then
6269 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6270 else
6271 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
6272 fi
6273
6274 else
6275
6276 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6277 if test "x$LINE" != x ; then
6278 eval "DEFAULT_$LINE"
6279 else
6280 no_cache=1
6281 fi
6282
6283 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
6284
6285 fi;
6286
6287 eval "$ac_cv_use_tarstream"
6288 if test "$no_cache" != 1; then
6289 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
6290 fi
6291
6292 if test "$wxUSE_TARSTREAM" = yes; then
6293 echo "$as_me:$LINENO: result: yes" >&5
6294 echo "${ECHO_T}yes" >&6
6295 else
6296 echo "$as_me:$LINENO: result: no" >&5
6297 echo "${ECHO_T}no" >&6
6298 fi
6299
6300
6301 enablestring=
6302 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6303 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6304 no_cache=0
6305 # Check whether --enable-textbuf or --disable-textbuf was given.
6306 if test "${enable_textbuf+set}" = set; then
6307 enableval="$enable_textbuf"
6308
6309 if test "$enableval" = yes; then
6310 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
6311 else
6312 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
6313 fi
6314
6315 else
6316
6317 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6318 if test "x$LINE" != x ; then
6319 eval "DEFAULT_$LINE"
6320 else
6321 no_cache=1
6322 fi
6323
6324 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6325
6326 fi;
6327
6328 eval "$ac_cv_use_textbuf"
6329 if test "$no_cache" != 1; then
6330 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6331 fi
6332
6333 if test "$wxUSE_TEXTBUFFER" = yes; then
6334 echo "$as_me:$LINENO: result: yes" >&5
6335 echo "${ECHO_T}yes" >&6
6336 else
6337 echo "$as_me:$LINENO: result: no" >&5
6338 echo "${ECHO_T}no" >&6
6339 fi
6340
6341
6342 enablestring=
6343 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6344 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6345 no_cache=0
6346 # Check whether --enable-textfile or --disable-textfile was given.
6347 if test "${enable_textfile+set}" = set; then
6348 enableval="$enable_textfile"
6349
6350 if test "$enableval" = yes; then
6351 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
6352 else
6353 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
6354 fi
6355
6356 else
6357
6358 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6359 if test "x$LINE" != x ; then
6360 eval "DEFAULT_$LINE"
6361 else
6362 no_cache=1
6363 fi
6364
6365 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6366
6367 fi;
6368
6369 eval "$ac_cv_use_textfile"
6370 if test "$no_cache" != 1; then
6371 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6372 fi
6373
6374 if test "$wxUSE_TEXTFILE" = yes; then
6375 echo "$as_me:$LINENO: result: yes" >&5
6376 echo "${ECHO_T}yes" >&6
6377 else
6378 echo "$as_me:$LINENO: result: no" >&5
6379 echo "${ECHO_T}no" >&6
6380 fi
6381
6382
6383 enablestring=
6384 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6385 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6386 no_cache=0
6387 # Check whether --enable-timer or --disable-timer was given.
6388 if test "${enable_timer+set}" = set; then
6389 enableval="$enable_timer"
6390
6391 if test "$enableval" = yes; then
6392 ac_cv_use_timer='wxUSE_TIMER=yes'
6393 else
6394 ac_cv_use_timer='wxUSE_TIMER=no'
6395 fi
6396
6397 else
6398
6399 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6400 if test "x$LINE" != x ; then
6401 eval "DEFAULT_$LINE"
6402 else
6403 no_cache=1
6404 fi
6405
6406 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6407
6408 fi;
6409
6410 eval "$ac_cv_use_timer"
6411 if test "$no_cache" != 1; then
6412 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6413 fi
6414
6415 if test "$wxUSE_TIMER" = yes; then
6416 echo "$as_me:$LINENO: result: yes" >&5
6417 echo "${ECHO_T}yes" >&6
6418 else
6419 echo "$as_me:$LINENO: result: no" >&5
6420 echo "${ECHO_T}no" >&6
6421 fi
6422
6423
6424 enablestring=
6425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6426 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6427 no_cache=0
6428 # Check whether --enable-unicode or --disable-unicode was given.
6429 if test "${enable_unicode+set}" = set; then
6430 enableval="$enable_unicode"
6431
6432 if test "$enableval" = yes; then
6433 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6434 else
6435 ac_cv_use_unicode='wxUSE_UNICODE=no'
6436 fi
6437
6438 else
6439
6440 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6441 if test "x$LINE" != x ; then
6442 eval "DEFAULT_$LINE"
6443 else
6444 no_cache=1
6445 fi
6446
6447 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6448
6449 fi;
6450
6451 eval "$ac_cv_use_unicode"
6452 if test "$no_cache" != 1; then
6453 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6454 fi
6455
6456 if test "$wxUSE_UNICODE" = yes; then
6457 echo "$as_me:$LINENO: result: yes" >&5
6458 echo "${ECHO_T}yes" >&6
6459 else
6460 echo "$as_me:$LINENO: result: no" >&5
6461 echo "${ECHO_T}no" >&6
6462 fi
6463
6464
6465 enablestring=
6466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6467 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6468 no_cache=0
6469 # Check whether --enable-sound or --disable-sound was given.
6470 if test "${enable_sound+set}" = set; then
6471 enableval="$enable_sound"
6472
6473 if test "$enableval" = yes; then
6474 ac_cv_use_sound='wxUSE_SOUND=yes'
6475 else
6476 ac_cv_use_sound='wxUSE_SOUND=no'
6477 fi
6478
6479 else
6480
6481 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6482 if test "x$LINE" != x ; then
6483 eval "DEFAULT_$LINE"
6484 else
6485 no_cache=1
6486 fi
6487
6488 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6489
6490 fi;
6491
6492 eval "$ac_cv_use_sound"
6493 if test "$no_cache" != 1; then
6494 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6495 fi
6496
6497 if test "$wxUSE_SOUND" = yes; then
6498 echo "$as_me:$LINENO: result: yes" >&5
6499 echo "${ECHO_T}yes" >&6
6500 else
6501 echo "$as_me:$LINENO: result: no" >&5
6502 echo "${ECHO_T}no" >&6
6503 fi
6504
6505
6506 enablestring=
6507 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6508 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6509 no_cache=0
6510 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6511 if test "${enable_mediactrl+set}" = set; then
6512 enableval="$enable_mediactrl"
6513
6514 if test "$enableval" = yes; then
6515 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6516 else
6517 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6518 fi
6519
6520 else
6521
6522 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6523 if test "x$LINE" != x ; then
6524 eval "DEFAULT_$LINE"
6525 else
6526 no_cache=1
6527 fi
6528
6529 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6530
6531 fi;
6532
6533 eval "$ac_cv_use_mediactrl"
6534 if test "$no_cache" != 1; then
6535 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6536 fi
6537
6538 if test "$wxUSE_MEDIACTRL" = yes; then
6539 echo "$as_me:$LINENO: result: yes" >&5
6540 echo "${ECHO_T}yes" >&6
6541 else
6542 echo "$as_me:$LINENO: result: no" >&5
6543 echo "${ECHO_T}no" >&6
6544 fi
6545
6546
6547 enablestring=
6548 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6549 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6550 no_cache=0
6551 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6552 if test "${enable_gstreamer8+set}" = set; then
6553 enableval="$enable_gstreamer8"
6554
6555 if test "$enableval" = yes; then
6556 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
6557 else
6558 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
6559 fi
6560
6561 else
6562
6563 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6564 if test "x$LINE" != x ; then
6565 eval "DEFAULT_$LINE"
6566 else
6567 no_cache=1
6568 fi
6569
6570 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6571
6572 fi;
6573
6574 eval "$ac_cv_use_gstreamer8"
6575 if test "$no_cache" != 1; then
6576 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6577 fi
6578
6579 if test "$wxUSE_GSTREAMER8" = yes; then
6580 echo "$as_me:$LINENO: result: yes" >&5
6581 echo "${ECHO_T}yes" >&6
6582 else
6583 echo "$as_me:$LINENO: result: no" >&5
6584 echo "${ECHO_T}no" >&6
6585 fi
6586
6587
6588 enablestring=
6589 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6590 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6591 no_cache=0
6592 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6593 if test "${enable_printfposparam+set}" = set; then
6594 enableval="$enable_printfposparam"
6595
6596 if test "$enableval" = yes; then
6597 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
6598 else
6599 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
6600 fi
6601
6602 else
6603
6604 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6605 if test "x$LINE" != x ; then
6606 eval "DEFAULT_$LINE"
6607 else
6608 no_cache=1
6609 fi
6610
6611 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6612
6613 fi;
6614
6615 eval "$ac_cv_use_printfposparam"
6616 if test "$no_cache" != 1; then
6617 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6618 fi
6619
6620 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6621 echo "$as_me:$LINENO: result: yes" >&5
6622 echo "${ECHO_T}yes" >&6
6623 else
6624 echo "$as_me:$LINENO: result: no" >&5
6625 echo "${ECHO_T}no" >&6
6626 fi
6627
6628
6629 enablestring=
6630 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6631 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6632 no_cache=0
6633 # Check whether --enable-zipstream or --disable-zipstream was given.
6634 if test "${enable_zipstream+set}" = set; then
6635 enableval="$enable_zipstream"
6636
6637 if test "$enableval" = yes; then
6638 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6639 else
6640 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6641 fi
6642
6643 else
6644
6645 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6646 if test "x$LINE" != x ; then
6647 eval "DEFAULT_$LINE"
6648 else
6649 no_cache=1
6650 fi
6651
6652 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6653
6654 fi;
6655
6656 eval "$ac_cv_use_zipstream"
6657 if test "$no_cache" != 1; then
6658 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6659 fi
6660
6661 if test "$wxUSE_ZIPSTREAM" = yes; then
6662 echo "$as_me:$LINENO: result: yes" >&5
6663 echo "${ECHO_T}yes" >&6
6664 else
6665 echo "$as_me:$LINENO: result: no" >&5
6666 echo "${ECHO_T}no" >&6
6667 fi
6668
6669
6670
6671 enablestring=
6672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6673 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6674 no_cache=0
6675 # Check whether --enable-url or --disable-url was given.
6676 if test "${enable_url+set}" = set; then
6677 enableval="$enable_url"
6678
6679 if test "$enableval" = yes; then
6680 ac_cv_use_url='wxUSE_URL=yes'
6681 else
6682 ac_cv_use_url='wxUSE_URL=no'
6683 fi
6684
6685 else
6686
6687 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6688 if test "x$LINE" != x ; then
6689 eval "DEFAULT_$LINE"
6690 else
6691 no_cache=1
6692 fi
6693
6694 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6695
6696 fi;
6697
6698 eval "$ac_cv_use_url"
6699 if test "$no_cache" != 1; then
6700 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6701 fi
6702
6703 if test "$wxUSE_URL" = yes; then
6704 echo "$as_me:$LINENO: result: yes" >&5
6705 echo "${ECHO_T}yes" >&6
6706 else
6707 echo "$as_me:$LINENO: result: no" >&5
6708 echo "${ECHO_T}no" >&6
6709 fi
6710
6711
6712 enablestring=
6713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6714 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6715 no_cache=0
6716 # Check whether --enable-variant or --disable-variant was given.
6717 if test "${enable_variant+set}" = set; then
6718 enableval="$enable_variant"
6719
6720 if test "$enableval" = yes; then
6721 ac_cv_use_variant='wxUSE_VARIANT=yes'
6722 else
6723 ac_cv_use_variant='wxUSE_VARIANT=no'
6724 fi
6725
6726 else
6727
6728 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6729 if test "x$LINE" != x ; then
6730 eval "DEFAULT_$LINE"
6731 else
6732 no_cache=1
6733 fi
6734
6735 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6736
6737 fi;
6738
6739 eval "$ac_cv_use_variant"
6740 if test "$no_cache" != 1; then
6741 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6742 fi
6743
6744 if test "$wxUSE_VARIANT" = yes; then
6745 echo "$as_me:$LINENO: result: yes" >&5
6746 echo "${ECHO_T}yes" >&6
6747 else
6748 echo "$as_me:$LINENO: result: no" >&5
6749 echo "${ECHO_T}no" >&6
6750 fi
6751
6752
6753 enablestring=
6754 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6755 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6756 no_cache=0
6757 # Check whether --enable-protocol or --disable-protocol was given.
6758 if test "${enable_protocol+set}" = set; then
6759 enableval="$enable_protocol"
6760
6761 if test "$enableval" = yes; then
6762 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6763 else
6764 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6765 fi
6766
6767 else
6768
6769 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6770 if test "x$LINE" != x ; then
6771 eval "DEFAULT_$LINE"
6772 else
6773 no_cache=1
6774 fi
6775
6776 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6777
6778 fi;
6779
6780 eval "$ac_cv_use_protocol"
6781 if test "$no_cache" != 1; then
6782 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6783 fi
6784
6785 if test "$wxUSE_PROTOCOL" = yes; then
6786 echo "$as_me:$LINENO: result: yes" >&5
6787 echo "${ECHO_T}yes" >&6
6788 else
6789 echo "$as_me:$LINENO: result: no" >&5
6790 echo "${ECHO_T}no" >&6
6791 fi
6792
6793
6794 enablestring=
6795 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6796 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6797 no_cache=0
6798 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6799 if test "${enable_protocol_http+set}" = set; then
6800 enableval="$enable_protocol_http"
6801
6802 if test "$enableval" = yes; then
6803 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6804 else
6805 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6806 fi
6807
6808 else
6809
6810 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6811 if test "x$LINE" != x ; then
6812 eval "DEFAULT_$LINE"
6813 else
6814 no_cache=1
6815 fi
6816
6817 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6818
6819 fi;
6820
6821 eval "$ac_cv_use_protocol_http"
6822 if test "$no_cache" != 1; then
6823 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6824 fi
6825
6826 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6827 echo "$as_me:$LINENO: result: yes" >&5
6828 echo "${ECHO_T}yes" >&6
6829 else
6830 echo "$as_me:$LINENO: result: no" >&5
6831 echo "${ECHO_T}no" >&6
6832 fi
6833
6834
6835 enablestring=
6836 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6837 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6838 no_cache=0
6839 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6840 if test "${enable_protocol_ftp+set}" = set; then
6841 enableval="$enable_protocol_ftp"
6842
6843 if test "$enableval" = yes; then
6844 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6845 else
6846 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6847 fi
6848
6849 else
6850
6851 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6852 if test "x$LINE" != x ; then
6853 eval "DEFAULT_$LINE"
6854 else
6855 no_cache=1
6856 fi
6857
6858 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6859
6860 fi;
6861
6862 eval "$ac_cv_use_protocol_ftp"
6863 if test "$no_cache" != 1; then
6864 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6865 fi
6866
6867 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6868 echo "$as_me:$LINENO: result: yes" >&5
6869 echo "${ECHO_T}yes" >&6
6870 else
6871 echo "$as_me:$LINENO: result: no" >&5
6872 echo "${ECHO_T}no" >&6
6873 fi
6874
6875
6876 enablestring=
6877 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6878 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6879 no_cache=0
6880 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6881 if test "${enable_protocol_file+set}" = set; then
6882 enableval="$enable_protocol_file"
6883
6884 if test "$enableval" = yes; then
6885 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6886 else
6887 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6888 fi
6889
6890 else
6891
6892 LINE=`grep "wxUSE_PROTOCOL_FILE" ${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_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6900
6901 fi;
6902
6903 eval "$ac_cv_use_protocol_file"
6904 if test "$no_cache" != 1; then
6905 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6906 fi
6907
6908 if test "$wxUSE_PROTOCOL_FILE" = 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
6918
6919
6920 enablestring=
6921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6922 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6923 no_cache=0
6924 # Check whether --enable-threads or --disable-threads was given.
6925 if test "${enable_threads+set}" = set; then
6926 enableval="$enable_threads"
6927
6928 if test "$enableval" = yes; then
6929 ac_cv_use_threads='wxUSE_THREADS=yes'
6930 else
6931 ac_cv_use_threads='wxUSE_THREADS=no'
6932 fi
6933
6934 else
6935
6936 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6937 if test "x$LINE" != x ; then
6938 eval "DEFAULT_$LINE"
6939 else
6940 no_cache=1
6941 fi
6942
6943 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6944
6945 fi;
6946
6947 eval "$ac_cv_use_threads"
6948 if test "$no_cache" != 1; then
6949 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6950 fi
6951
6952 if test "$wxUSE_THREADS" = yes; then
6953 echo "$as_me:$LINENO: result: yes" >&5
6954 echo "${ECHO_T}yes" >&6
6955 else
6956 echo "$as_me:$LINENO: result: no" >&5
6957 echo "${ECHO_T}no" >&6
6958 fi
6959
6960
6961 if test "$wxUSE_GUI" = "yes"; then
6962
6963
6964
6965 enablestring=
6966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6967 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6968 no_cache=0
6969 # Check whether --enable-docview or --disable-docview was given.
6970 if test "${enable_docview+set}" = set; then
6971 enableval="$enable_docview"
6972
6973 if test "$enableval" = yes; then
6974 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6975 else
6976 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6977 fi
6978
6979 else
6980
6981 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6982 if test "x$LINE" != x ; then
6983 eval "DEFAULT_$LINE"
6984 else
6985 no_cache=1
6986 fi
6987
6988 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6989
6990 fi;
6991
6992 eval "$ac_cv_use_docview"
6993 if test "$no_cache" != 1; then
6994 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6995 fi
6996
6997 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6998 echo "$as_me:$LINENO: result: yes" >&5
6999 echo "${ECHO_T}yes" >&6
7000 else
7001 echo "$as_me:$LINENO: result: no" >&5
7002 echo "${ECHO_T}no" >&6
7003 fi
7004
7005
7006 enablestring=
7007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7008 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
7009 no_cache=0
7010 # Check whether --enable-help or --disable-help was given.
7011 if test "${enable_help+set}" = set; then
7012 enableval="$enable_help"
7013
7014 if test "$enableval" = yes; then
7015 ac_cv_use_help='wxUSE_HELP=yes'
7016 else
7017 ac_cv_use_help='wxUSE_HELP=no'
7018 fi
7019
7020 else
7021
7022 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7023 if test "x$LINE" != x ; then
7024 eval "DEFAULT_$LINE"
7025 else
7026 no_cache=1
7027 fi
7028
7029 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7030
7031 fi;
7032
7033 eval "$ac_cv_use_help"
7034 if test "$no_cache" != 1; then
7035 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7036 fi
7037
7038 if test "$wxUSE_HELP" = yes; then
7039 echo "$as_me:$LINENO: result: yes" >&5
7040 echo "${ECHO_T}yes" >&6
7041 else
7042 echo "$as_me:$LINENO: result: no" >&5
7043 echo "${ECHO_T}no" >&6
7044 fi
7045
7046
7047 enablestring=
7048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7049 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
7050 no_cache=0
7051 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
7052 if test "${enable_mshtmlhelp+set}" = set; then
7053 enableval="$enable_mshtmlhelp"
7054
7055 if test "$enableval" = yes; then
7056 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7057 else
7058 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7059 fi
7060
7061 else
7062
7063 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7064 if test "x$LINE" != x ; then
7065 eval "DEFAULT_$LINE"
7066 else
7067 no_cache=1
7068 fi
7069
7070 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7071
7072 fi;
7073
7074 eval "$ac_cv_use_mshtmlhelp"
7075 if test "$no_cache" != 1; then
7076 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7077 fi
7078
7079 if test "$wxUSE_MS_HTML_HELP" = yes; then
7080 echo "$as_me:$LINENO: result: yes" >&5
7081 echo "${ECHO_T}yes" >&6
7082 else
7083 echo "$as_me:$LINENO: result: no" >&5
7084 echo "${ECHO_T}no" >&6
7085 fi
7086
7087
7088 enablestring=
7089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7090 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7091 no_cache=0
7092 # Check whether --enable-html or --disable-html was given.
7093 if test "${enable_html+set}" = set; then
7094 enableval="$enable_html"
7095
7096 if test "$enableval" = yes; then
7097 ac_cv_use_html='wxUSE_HTML=yes'
7098 else
7099 ac_cv_use_html='wxUSE_HTML=no'
7100 fi
7101
7102 else
7103
7104 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7105 if test "x$LINE" != x ; then
7106 eval "DEFAULT_$LINE"
7107 else
7108 no_cache=1
7109 fi
7110
7111 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7112
7113 fi;
7114
7115 eval "$ac_cv_use_html"
7116 if test "$no_cache" != 1; then
7117 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7118 fi
7119
7120 if test "$wxUSE_HTML" = yes; then
7121 echo "$as_me:$LINENO: result: yes" >&5
7122 echo "${ECHO_T}yes" >&6
7123 else
7124 echo "$as_me:$LINENO: result: no" >&5
7125 echo "${ECHO_T}no" >&6
7126 fi
7127
7128
7129 enablestring=
7130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7131 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
7132 no_cache=0
7133 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
7134 if test "${enable_htmlhelp+set}" = set; then
7135 enableval="$enable_htmlhelp"
7136
7137 if test "$enableval" = yes; then
7138 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7139 else
7140 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7141 fi
7142
7143 else
7144
7145 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7146 if test "x$LINE" != x ; then
7147 eval "DEFAULT_$LINE"
7148 else
7149 no_cache=1
7150 fi
7151
7152 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7153
7154 fi;
7155
7156 eval "$ac_cv_use_htmlhelp"
7157 if test "$no_cache" != 1; then
7158 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7159 fi
7160
7161 if test "$wxUSE_WXHTML_HELP" = yes; then
7162 echo "$as_me:$LINENO: result: yes" >&5
7163 echo "${ECHO_T}yes" >&6
7164 else
7165 echo "$as_me:$LINENO: result: no" >&5
7166 echo "${ECHO_T}no" >&6
7167 fi
7168
7169
7170 enablestring=
7171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7172 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7173 no_cache=0
7174 # Check whether --enable-xrc or --disable-xrc was given.
7175 if test "${enable_xrc+set}" = set; then
7176 enableval="$enable_xrc"
7177
7178 if test "$enableval" = yes; then
7179 ac_cv_use_xrc='wxUSE_XRC=yes'
7180 else
7181 ac_cv_use_xrc='wxUSE_XRC=no'
7182 fi
7183
7184 else
7185
7186 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7187 if test "x$LINE" != x ; then
7188 eval "DEFAULT_$LINE"
7189 else
7190 no_cache=1
7191 fi
7192
7193 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7194
7195 fi;
7196
7197 eval "$ac_cv_use_xrc"
7198 if test "$no_cache" != 1; then
7199 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7200 fi
7201
7202 if test "$wxUSE_XRC" = yes; then
7203 echo "$as_me:$LINENO: result: yes" >&5
7204 echo "${ECHO_T}yes" >&6
7205 else
7206 echo "$as_me:$LINENO: result: no" >&5
7207 echo "${ECHO_T}no" >&6
7208 fi
7209
7210
7211 enablestring=
7212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7213 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7214 no_cache=0
7215 # Check whether --enable-aui or --disable-aui was given.
7216 if test "${enable_aui+set}" = set; then
7217 enableval="$enable_aui"
7218
7219 if test "$enableval" = yes; then
7220 ac_cv_use_aui='wxUSE_AUI=yes'
7221 else
7222 ac_cv_use_aui='wxUSE_AUI=no'
7223 fi
7224
7225 else
7226
7227 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7228 if test "x$LINE" != x ; then
7229 eval "DEFAULT_$LINE"
7230 else
7231 no_cache=1
7232 fi
7233
7234 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7235
7236 fi;
7237
7238 eval "$ac_cv_use_aui"
7239 if test "$no_cache" != 1; then
7240 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7241 fi
7242
7243 if test "$wxUSE_AUI" = yes; then
7244 echo "$as_me:$LINENO: result: yes" >&5
7245 echo "${ECHO_T}yes" >&6
7246 else
7247 echo "$as_me:$LINENO: result: no" >&5
7248 echo "${ECHO_T}no" >&6
7249 fi
7250
7251
7252 enablestring=
7253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7254 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7255 no_cache=0
7256 # Check whether --enable-constraints or --disable-constraints was given.
7257 if test "${enable_constraints+set}" = set; then
7258 enableval="$enable_constraints"
7259
7260 if test "$enableval" = yes; then
7261 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7262 else
7263 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7264 fi
7265
7266 else
7267
7268 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7269 if test "x$LINE" != x ; then
7270 eval "DEFAULT_$LINE"
7271 else
7272 no_cache=1
7273 fi
7274
7275 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7276
7277 fi;
7278
7279 eval "$ac_cv_use_constraints"
7280 if test "$no_cache" != 1; then
7281 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7282 fi
7283
7284 if test "$wxUSE_CONSTRAINTS" = yes; then
7285 echo "$as_me:$LINENO: result: yes" >&5
7286 echo "${ECHO_T}yes" >&6
7287 else
7288 echo "$as_me:$LINENO: result: no" >&5
7289 echo "${ECHO_T}no" >&6
7290 fi
7291
7292
7293 enablestring=
7294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7295 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7296 no_cache=0
7297 # Check whether --enable-printarch or --disable-printarch was given.
7298 if test "${enable_printarch+set}" = set; then
7299 enableval="$enable_printarch"
7300
7301 if test "$enableval" = yes; then
7302 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
7303 else
7304 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
7305 fi
7306
7307 else
7308
7309 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7310 if test "x$LINE" != x ; then
7311 eval "DEFAULT_$LINE"
7312 else
7313 no_cache=1
7314 fi
7315
7316 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7317
7318 fi;
7319
7320 eval "$ac_cv_use_printarch"
7321 if test "$no_cache" != 1; then
7322 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7323 fi
7324
7325 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7326 echo "$as_me:$LINENO: result: yes" >&5
7327 echo "${ECHO_T}yes" >&6
7328 else
7329 echo "$as_me:$LINENO: result: no" >&5
7330 echo "${ECHO_T}no" >&6
7331 fi
7332
7333
7334 enablestring=
7335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7336 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7337 no_cache=0
7338 # Check whether --enable-mdi or --disable-mdi was given.
7339 if test "${enable_mdi+set}" = set; then
7340 enableval="$enable_mdi"
7341
7342 if test "$enableval" = yes; then
7343 ac_cv_use_mdi='wxUSE_MDI=yes'
7344 else
7345 ac_cv_use_mdi='wxUSE_MDI=no'
7346 fi
7347
7348 else
7349
7350 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7351 if test "x$LINE" != x ; then
7352 eval "DEFAULT_$LINE"
7353 else
7354 no_cache=1
7355 fi
7356
7357 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7358
7359 fi;
7360
7361 eval "$ac_cv_use_mdi"
7362 if test "$no_cache" != 1; then
7363 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7364 fi
7365
7366 if test "$wxUSE_MDI" = yes; then
7367 echo "$as_me:$LINENO: result: yes" >&5
7368 echo "${ECHO_T}yes" >&6
7369 else
7370 echo "$as_me:$LINENO: result: no" >&5
7371 echo "${ECHO_T}no" >&6
7372 fi
7373
7374
7375 enablestring=
7376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7377 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7378 no_cache=0
7379 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7380 if test "${enable_mdidoc+set}" = set; then
7381 enableval="$enable_mdidoc"
7382
7383 if test "$enableval" = yes; then
7384 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
7385 else
7386 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
7387 fi
7388
7389 else
7390
7391 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7392 if test "x$LINE" != x ; then
7393 eval "DEFAULT_$LINE"
7394 else
7395 no_cache=1
7396 fi
7397
7398 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7399
7400 fi;
7401
7402 eval "$ac_cv_use_mdidoc"
7403 if test "$no_cache" != 1; then
7404 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7405 fi
7406
7407 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7408 echo "$as_me:$LINENO: result: yes" >&5
7409 echo "${ECHO_T}yes" >&6
7410 else
7411 echo "$as_me:$LINENO: result: no" >&5
7412 echo "${ECHO_T}no" >&6
7413 fi
7414
7415
7416 enablestring=
7417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7418 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7419 no_cache=0
7420 # Check whether --enable-loggui or --disable-loggui was given.
7421 if test "${enable_loggui+set}" = set; then
7422 enableval="$enable_loggui"
7423
7424 if test "$enableval" = yes; then
7425 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
7426 else
7427 ac_cv_use_loggui='wxUSE_LOGGUI=no'
7428 fi
7429
7430 else
7431
7432 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7433 if test "x$LINE" != x ; then
7434 eval "DEFAULT_$LINE"
7435 else
7436 no_cache=1
7437 fi
7438
7439 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7440
7441 fi;
7442
7443 eval "$ac_cv_use_loggui"
7444 if test "$no_cache" != 1; then
7445 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7446 fi
7447
7448 if test "$wxUSE_LOGGUI" = yes; then
7449 echo "$as_me:$LINENO: result: yes" >&5
7450 echo "${ECHO_T}yes" >&6
7451 else
7452 echo "$as_me:$LINENO: result: no" >&5
7453 echo "${ECHO_T}no" >&6
7454 fi
7455
7456
7457 enablestring=
7458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7459 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7460 no_cache=0
7461 # Check whether --enable-logwin or --disable-logwin was given.
7462 if test "${enable_logwin+set}" = set; then
7463 enableval="$enable_logwin"
7464
7465 if test "$enableval" = yes; then
7466 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
7467 else
7468 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
7469 fi
7470
7471 else
7472
7473 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7474 if test "x$LINE" != x ; then
7475 eval "DEFAULT_$LINE"
7476 else
7477 no_cache=1
7478 fi
7479
7480 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7481
7482 fi;
7483
7484 eval "$ac_cv_use_logwin"
7485 if test "$no_cache" != 1; then
7486 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7487 fi
7488
7489 if test "$wxUSE_LOGWINDOW" = yes; then
7490 echo "$as_me:$LINENO: result: yes" >&5
7491 echo "${ECHO_T}yes" >&6
7492 else
7493 echo "$as_me:$LINENO: result: no" >&5
7494 echo "${ECHO_T}no" >&6
7495 fi
7496
7497
7498 enablestring=
7499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7500 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7501 no_cache=0
7502 # Check whether --enable-logdialog or --disable-logdialog was given.
7503 if test "${enable_logdialog+set}" = set; then
7504 enableval="$enable_logdialog"
7505
7506 if test "$enableval" = yes; then
7507 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
7508 else
7509 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
7510 fi
7511
7512 else
7513
7514 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7515 if test "x$LINE" != x ; then
7516 eval "DEFAULT_$LINE"
7517 else
7518 no_cache=1
7519 fi
7520
7521 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7522
7523 fi;
7524
7525 eval "$ac_cv_use_logdialog"
7526 if test "$no_cache" != 1; then
7527 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7528 fi
7529
7530 if test "$wxUSE_LOGDIALOG" = yes; then
7531 echo "$as_me:$LINENO: result: yes" >&5
7532 echo "${ECHO_T}yes" >&6
7533 else
7534 echo "$as_me:$LINENO: result: no" >&5
7535 echo "${ECHO_T}no" >&6
7536 fi
7537
7538
7539 enablestring=
7540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7541 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7542 no_cache=0
7543 # Check whether --enable-webkit or --disable-webkit was given.
7544 if test "${enable_webkit+set}" = set; then
7545 enableval="$enable_webkit"
7546
7547 if test "$enableval" = yes; then
7548 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7549 else
7550 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7551 fi
7552
7553 else
7554
7555 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7556 if test "x$LINE" != x ; then
7557 eval "DEFAULT_$LINE"
7558 else
7559 no_cache=1
7560 fi
7561
7562 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7563
7564 fi;
7565
7566 eval "$ac_cv_use_webkit"
7567 if test "$no_cache" != 1; then
7568 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7569 fi
7570
7571 if test "$wxUSE_WEBKIT" = yes; then
7572 echo "$as_me:$LINENO: result: yes" >&5
7573 echo "${ECHO_T}yes" >&6
7574 else
7575 echo "$as_me:$LINENO: result: no" >&5
7576 echo "${ECHO_T}no" >&6
7577 fi
7578
7579
7580 enablestring=
7581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7582 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7583 no_cache=0
7584 # Check whether --enable-html or --disable-html was given.
7585 if test "${enable_html+set}" = set; then
7586 enableval="$enable_html"
7587
7588 if test "$enableval" = yes; then
7589 ac_cv_use_html='wxUSE_RICHTEXT=yes'
7590 else
7591 ac_cv_use_html='wxUSE_RICHTEXT=no'
7592 fi
7593
7594 else
7595
7596 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7597 if test "x$LINE" != x ; then
7598 eval "DEFAULT_$LINE"
7599 else
7600 no_cache=1
7601 fi
7602
7603 ac_cv_use_html='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7604
7605 fi;
7606
7607 eval "$ac_cv_use_html"
7608 if test "$no_cache" != 1; then
7609 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7610 fi
7611
7612 if test "$wxUSE_RICHTEXT" = yes; then
7613 echo "$as_me:$LINENO: result: yes" >&5
7614 echo "${ECHO_T}yes" >&6
7615 else
7616 echo "$as_me:$LINENO: result: no" >&5
7617 echo "${ECHO_T}no" >&6
7618 fi
7619
7620
7621 enablestring=
7622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7623 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7624 no_cache=0
7625 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7626 if test "${enable_graphics_ctx+set}" = set; then
7627 enableval="$enable_graphics_ctx"
7628
7629 if test "$enableval" = yes; then
7630 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
7631 else
7632 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
7633 fi
7634
7635 else
7636
7637 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7638 if test "x$LINE" != x ; then
7639 eval "DEFAULT_$LINE"
7640 else
7641 no_cache=1
7642 fi
7643
7644 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7645
7646 fi;
7647
7648 eval "$ac_cv_use_graphics_ctx"
7649 if test "$no_cache" != 1; then
7650 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7651 fi
7652
7653 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7654 echo "$as_me:$LINENO: result: yes" >&5
7655 echo "${ECHO_T}yes" >&6
7656 else
7657 echo "$as_me:$LINENO: result: no" >&5
7658 echo "${ECHO_T}no" >&6
7659 fi
7660
7661
7662
7663 enablestring=
7664 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7665 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7666 no_cache=0
7667 # Check whether --enable-postscript or --disable-postscript was given.
7668 if test "${enable_postscript+set}" = set; then
7669 enableval="$enable_postscript"
7670
7671 if test "$enableval" = yes; then
7672 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7673 else
7674 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7675 fi
7676
7677 else
7678
7679 LINE=`grep "wxUSE_POSTSCRIPT" ${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_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7687
7688 fi;
7689
7690 eval "$ac_cv_use_postscript"
7691 if test "$no_cache" != 1; then
7692 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7693 fi
7694
7695 if test "$wxUSE_POSTSCRIPT" = 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
7705
7706
7707 enablestring=
7708 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7709 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7710 no_cache=0
7711 # Check whether --enable-prologio or --disable-prologio was given.
7712 if test "${enable_prologio+set}" = set; then
7713 enableval="$enable_prologio"
7714
7715 if test "$enableval" = yes; then
7716 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7717 else
7718 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7719 fi
7720
7721 else
7722
7723 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7724 if test "x$LINE" != x ; then
7725 eval "DEFAULT_$LINE"
7726 else
7727 no_cache=1
7728 fi
7729
7730 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7731
7732 fi;
7733
7734 eval "$ac_cv_use_prologio"
7735 if test "$no_cache" != 1; then
7736 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7737 fi
7738
7739 if test "$wxUSE_PROLOGIO" = yes; then
7740 echo "$as_me:$LINENO: result: yes" >&5
7741 echo "${ECHO_T}yes" >&6
7742 else
7743 echo "$as_me:$LINENO: result: no" >&5
7744 echo "${ECHO_T}no" >&6
7745 fi
7746
7747
7748 enablestring=
7749 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7750 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7751 no_cache=0
7752 # Check whether --enable-resources or --disable-resources was given.
7753 if test "${enable_resources+set}" = set; then
7754 enableval="$enable_resources"
7755
7756 if test "$enableval" = yes; then
7757 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7758 else
7759 ac_cv_use_resources='wxUSE_RESOURCES=no'
7760 fi
7761
7762 else
7763
7764 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7765 if test "x$LINE" != x ; then
7766 eval "DEFAULT_$LINE"
7767 else
7768 no_cache=1
7769 fi
7770
7771 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7772
7773 fi;
7774
7775 eval "$ac_cv_use_resources"
7776 if test "$no_cache" != 1; then
7777 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7778 fi
7779
7780 if test "$wxUSE_RESOURCES" = yes; then
7781 echo "$as_me:$LINENO: result: yes" >&5
7782 echo "${ECHO_T}yes" >&6
7783 else
7784 echo "$as_me:$LINENO: result: no" >&5
7785 echo "${ECHO_T}no" >&6
7786 fi
7787
7788
7789
7790
7791 enablestring=
7792 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7793 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7794 no_cache=0
7795 # Check whether --enable-clipboard or --disable-clipboard was given.
7796 if test "${enable_clipboard+set}" = set; then
7797 enableval="$enable_clipboard"
7798
7799 if test "$enableval" = yes; then
7800 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7801 else
7802 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7803 fi
7804
7805 else
7806
7807 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7808 if test "x$LINE" != x ; then
7809 eval "DEFAULT_$LINE"
7810 else
7811 no_cache=1
7812 fi
7813
7814 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7815
7816 fi;
7817
7818 eval "$ac_cv_use_clipboard"
7819 if test "$no_cache" != 1; then
7820 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7821 fi
7822
7823 if test "$wxUSE_CLIPBOARD" = yes; then
7824 echo "$as_me:$LINENO: result: yes" >&5
7825 echo "${ECHO_T}yes" >&6
7826 else
7827 echo "$as_me:$LINENO: result: no" >&5
7828 echo "${ECHO_T}no" >&6
7829 fi
7830
7831
7832 enablestring=
7833 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7834 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7835 no_cache=0
7836 # Check whether --enable-dnd or --disable-dnd was given.
7837 if test "${enable_dnd+set}" = set; then
7838 enableval="$enable_dnd"
7839
7840 if test "$enableval" = yes; then
7841 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7842 else
7843 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7844 fi
7845
7846 else
7847
7848 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7849 if test "x$LINE" != x ; then
7850 eval "DEFAULT_$LINE"
7851 else
7852 no_cache=1
7853 fi
7854
7855 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7856
7857 fi;
7858
7859 eval "$ac_cv_use_dnd"
7860 if test "$no_cache" != 1; then
7861 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7862 fi
7863
7864 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7865 echo "$as_me:$LINENO: result: yes" >&5
7866 echo "${ECHO_T}yes" >&6
7867 else
7868 echo "$as_me:$LINENO: result: no" >&5
7869 echo "${ECHO_T}no" >&6
7870 fi
7871
7872
7873 enablestring=
7874 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7875 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7876 no_cache=0
7877 # Check whether --enable-metafile or --disable-metafile was given.
7878 if test "${enable_metafile+set}" = set; then
7879 enableval="$enable_metafile"
7880
7881 if test "$enableval" = yes; then
7882 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7883 else
7884 ac_cv_use_metafile='wxUSE_METAFILE=no'
7885 fi
7886
7887 else
7888
7889 LINE=`grep "wxUSE_METAFILE" ${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_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7897
7898 fi;
7899
7900 eval "$ac_cv_use_metafile"
7901 if test "$no_cache" != 1; then
7902 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7903 fi
7904
7905 if test "$wxUSE_METAFILE" = 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
7915
7916
7917 enablestring=
7918 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7919 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7920 no_cache=0
7921 # Check whether --enable-controls or --disable-controls was given.
7922 if test "${enable_controls+set}" = set; then
7923 enableval="$enable_controls"
7924
7925 if test "$enableval" = yes; then
7926 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7927 else
7928 ac_cv_use_controls='wxUSE_CONTROLS=no'
7929 fi
7930
7931 else
7932
7933 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7934 if test "x$LINE" != x ; then
7935 eval "DEFAULT_$LINE"
7936 else
7937 no_cache=1
7938 fi
7939
7940 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7941
7942 fi;
7943
7944 eval "$ac_cv_use_controls"
7945 if test "$no_cache" != 1; then
7946 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7947 fi
7948
7949 if test "$wxUSE_CONTROLS" = yes; then
7950 echo "$as_me:$LINENO: result: yes" >&5
7951 echo "${ECHO_T}yes" >&6
7952 else
7953 echo "$as_me:$LINENO: result: no" >&5
7954 echo "${ECHO_T}no" >&6
7955 fi
7956
7957
7958 if test "$wxUSE_CONTROLS" = "yes"; then
7959 DEFAULT_wxUSE_ACCEL=yes
7960 DEFAULT_wxUSE_ANIMATIONCTRL=yes
7961 DEFAULT_wxUSE_BMPBUTTON=yes
7962 DEFAULT_wxUSE_BUTTON=yes
7963 DEFAULT_wxUSE_CALCTRL=yes
7964 DEFAULT_wxUSE_CARET=yes
7965 DEFAULT_wxUSE_COMBOBOX=yes
7966 DEFAULT_wxUSE_CHECKBOX=yes
7967 DEFAULT_wxUSE_CHECKLISTBOX=yes
7968 DEFAULT_wxUSE_CHOICE=yes
7969 DEFAULT_wxUSE_CHOICEBOOK=yes
7970 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
7971 DEFAULT_wxUSE_COMBOBOX=yes
7972 DEFAULT_wxUSE_DATEPICKCTRL=yes
7973 DEFAULT_wxUSE_DISPLAY=yes
7974 DEFAULT_wxUSE_DETECT_SM=yes
7975 DEFAULT_wxUSE_DIRPICKERCTRL=yes
7976 DEFAULT_wxUSE_FILEPICKERCTRL=yes
7977 DEFAULT_wxUSE_FONTPICKERCTRL=yes
7978 DEFAULT_wxUSE_GAUGE=yes
7979 DEFAULT_wxUSE_GRID=yes
7980 DEFAULT_wxUSE_HYPERLINKCTRL=yes
7981 DEFAULT_wxUSE_DATAVIEWCTRL=no
7982 DEFAULT_wxUSE_IMAGLIST=yes
7983 DEFAULT_wxUSE_LISTBOOK=yes
7984 DEFAULT_wxUSE_LISTBOX=yes
7985 DEFAULT_wxUSE_LISTCTRL=yes
7986 DEFAULT_wxUSE_NOTEBOOK=yes
7987 DEFAULT_wxUSE_RADIOBOX=yes
7988 DEFAULT_wxUSE_RADIOBTN=yes
7989 DEFAULT_wxUSE_SASH=yes
7990 DEFAULT_wxUSE_SCROLLBAR=yes
7991 DEFAULT_wxUSE_SLIDER=yes
7992 DEFAULT_wxUSE_SPINBTN=yes
7993 DEFAULT_wxUSE_SPINCTRL=yes
7994 DEFAULT_wxUSE_SPLITTER=yes
7995 DEFAULT_wxUSE_STATBMP=yes
7996 DEFAULT_wxUSE_STATBOX=yes
7997 DEFAULT_wxUSE_STATLINE=yes
7998 DEFAULT_wxUSE_STATUSBAR=yes
7999 DEFAULT_wxUSE_TAB_DIALOG=yes
8000 DEFAULT_wxUSE_TOGGLEBTN=yes
8001 DEFAULT_wxUSE_TOOLBAR=yes
8002 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8003 DEFAULT_wxUSE_TOOLTIPS=yes
8004 DEFAULT_wxUSE_TREEBOOK=yes
8005 DEFAULT_wxUSE_TOOLBOOK=yes
8006 DEFAULT_wxUSE_TREECTRL=yes
8007 DEFAULT_wxUSE_POPUPWIN=yes
8008 DEFAULT_wxUSE_TIPWINDOW=yes
8009 elif test "$wxUSE_CONTROLS" = "no"; then
8010 DEFAULT_wxUSE_ACCEL=no
8011 DEFAULT_wxUSE_ANIMATIONCTRL=no
8012 DEFAULT_wxUSE_BMPBUTTON=no
8013 DEFAULT_wxUSE_BUTTON=no
8014 DEFAULT_wxUSE_CALCTRL=no
8015 DEFAULT_wxUSE_CARET=no
8016 DEFAULT_wxUSE_COMBOBOX=no
8017 DEFAULT_wxUSE_CHECKBOX=no
8018 DEFAULT_wxUSE_CHECKLISTBOX=no
8019 DEFAULT_wxUSE_CHOICE=no
8020 DEFAULT_wxUSE_CHOICEBOOK=no
8021 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8022 DEFAULT_wxUSE_COMBOBOX=no
8023 DEFAULT_wxUSE_DATEPICKCTRL=no
8024 DEFAULT_wxUSE_DISPLAY=no
8025 DEFAULT_wxUSE_DETECT_SM=no
8026 DEFAULT_wxUSE_DIRPICKERCTRL=no
8027 DEFAULT_wxUSE_FILEPICKERCTRL=no
8028 DEFAULT_wxUSE_FONTPICKERCTRL=no
8029 DEFAULT_wxUSE_GAUGE=no
8030 DEFAULT_wxUSE_GRID=no
8031 DEFAULT_wxUSE_HYPERLINKCTRL=no
8032 DEFAULT_wxUSE_DATAVIEWCTRL=no
8033 DEFAULT_wxUSE_IMAGLIST=no
8034 DEFAULT_wxUSE_LISTBOOK=no
8035 DEFAULT_wxUSE_LISTBOX=no
8036 DEFAULT_wxUSE_LISTCTRL=no
8037 DEFAULT_wxUSE_NOTEBOOK=no
8038 DEFAULT_wxUSE_RADIOBOX=no
8039 DEFAULT_wxUSE_RADIOBTN=no
8040 DEFAULT_wxUSE_SASH=no
8041 DEFAULT_wxUSE_SCROLLBAR=no
8042 DEFAULT_wxUSE_SLIDER=no
8043 DEFAULT_wxUSE_SPINBTN=no
8044 DEFAULT_wxUSE_SPINCTRL=no
8045 DEFAULT_wxUSE_SPLITTER=no
8046 DEFAULT_wxUSE_STATBMP=no
8047 DEFAULT_wxUSE_STATBOX=no
8048 DEFAULT_wxUSE_STATLINE=no
8049 DEFAULT_wxUSE_STATUSBAR=no
8050 DEFAULT_wxUSE_TAB_DIALOG=no
8051 DEFAULT_wxUSE_TOGGLEBTN=no
8052 DEFAULT_wxUSE_TOOLBAR=no
8053 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8054 DEFAULT_wxUSE_TOOLTIPS=no
8055 DEFAULT_wxUSE_TREEBOOK=no
8056 DEFAULT_wxUSE_TOOLBOOK=no
8057 DEFAULT_wxUSE_TREECTRL=no
8058 DEFAULT_wxUSE_POPUPWIN=no
8059 DEFAULT_wxUSE_TIPWINDOW=no
8060 fi
8061
8062
8063 enablestring=
8064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8065 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
8066 no_cache=0
8067 # Check whether --enable-accel or --disable-accel was given.
8068 if test "${enable_accel+set}" = set; then
8069 enableval="$enable_accel"
8070
8071 if test "$enableval" = yes; then
8072 ac_cv_use_accel='wxUSE_ACCEL=yes'
8073 else
8074 ac_cv_use_accel='wxUSE_ACCEL=no'
8075 fi
8076
8077 else
8078
8079 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8080 if test "x$LINE" != x ; then
8081 eval "DEFAULT_$LINE"
8082 else
8083 no_cache=1
8084 fi
8085
8086 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8087
8088 fi;
8089
8090 eval "$ac_cv_use_accel"
8091 if test "$no_cache" != 1; then
8092 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8093 fi
8094
8095 if test "$wxUSE_ACCEL" = yes; then
8096 echo "$as_me:$LINENO: result: yes" >&5
8097 echo "${ECHO_T}yes" >&6
8098 else
8099 echo "$as_me:$LINENO: result: no" >&5
8100 echo "${ECHO_T}no" >&6
8101 fi
8102
8103
8104 enablestring=
8105 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8106 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
8107 no_cache=0
8108 # Check whether --enable-animatectrl or --disable-animatectrl was given.
8109 if test "${enable_animatectrl+set}" = set; then
8110 enableval="$enable_animatectrl"
8111
8112 if test "$enableval" = yes; then
8113 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8114 else
8115 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8116 fi
8117
8118 else
8119
8120 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8121 if test "x$LINE" != x ; then
8122 eval "DEFAULT_$LINE"
8123 else
8124 no_cache=1
8125 fi
8126
8127 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8128
8129 fi;
8130
8131 eval "$ac_cv_use_animatectrl"
8132 if test "$no_cache" != 1; then
8133 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8134 fi
8135
8136 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8137 echo "$as_me:$LINENO: result: yes" >&5
8138 echo "${ECHO_T}yes" >&6
8139 else
8140 echo "$as_me:$LINENO: result: no" >&5
8141 echo "${ECHO_T}no" >&6
8142 fi
8143
8144
8145 enablestring=
8146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8147 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8148 no_cache=0
8149 # Check whether --enable-button or --disable-button was given.
8150 if test "${enable_button+set}" = set; then
8151 enableval="$enable_button"
8152
8153 if test "$enableval" = yes; then
8154 ac_cv_use_button='wxUSE_BUTTON=yes'
8155 else
8156 ac_cv_use_button='wxUSE_BUTTON=no'
8157 fi
8158
8159 else
8160
8161 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8162 if test "x$LINE" != x ; then
8163 eval "DEFAULT_$LINE"
8164 else
8165 no_cache=1
8166 fi
8167
8168 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8169
8170 fi;
8171
8172 eval "$ac_cv_use_button"
8173 if test "$no_cache" != 1; then
8174 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8175 fi
8176
8177 if test "$wxUSE_BUTTON" = yes; then
8178 echo "$as_me:$LINENO: result: yes" >&5
8179 echo "${ECHO_T}yes" >&6
8180 else
8181 echo "$as_me:$LINENO: result: no" >&5
8182 echo "${ECHO_T}no" >&6
8183 fi
8184
8185
8186 enablestring=
8187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8188 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8189 no_cache=0
8190 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8191 if test "${enable_bmpbutton+set}" = set; then
8192 enableval="$enable_bmpbutton"
8193
8194 if test "$enableval" = yes; then
8195 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8196 else
8197 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8198 fi
8199
8200 else
8201
8202 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8203 if test "x$LINE" != x ; then
8204 eval "DEFAULT_$LINE"
8205 else
8206 no_cache=1
8207 fi
8208
8209 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8210
8211 fi;
8212
8213 eval "$ac_cv_use_bmpbutton"
8214 if test "$no_cache" != 1; then
8215 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8216 fi
8217
8218 if test "$wxUSE_BMPBUTTON" = yes; then
8219 echo "$as_me:$LINENO: result: yes" >&5
8220 echo "${ECHO_T}yes" >&6
8221 else
8222 echo "$as_me:$LINENO: result: no" >&5
8223 echo "${ECHO_T}no" >&6
8224 fi
8225
8226
8227 enablestring=
8228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8229 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8230 no_cache=0
8231 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8232 if test "${enable_bmpcombobox+set}" = set; then
8233 enableval="$enable_bmpcombobox"
8234
8235 if test "$enableval" = yes; then
8236 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8237 else
8238 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8239 fi
8240
8241 else
8242
8243 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8244 if test "x$LINE" != x ; then
8245 eval "DEFAULT_$LINE"
8246 else
8247 no_cache=1
8248 fi
8249
8250 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8251
8252 fi;
8253
8254 eval "$ac_cv_use_bmpcombobox"
8255 if test "$no_cache" != 1; then
8256 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8257 fi
8258
8259 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8260 echo "$as_me:$LINENO: result: yes" >&5
8261 echo "${ECHO_T}yes" >&6
8262 else
8263 echo "$as_me:$LINENO: result: no" >&5
8264 echo "${ECHO_T}no" >&6
8265 fi
8266
8267
8268 enablestring=
8269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8270 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8271 no_cache=0
8272 # Check whether --enable-calendar or --disable-calendar was given.
8273 if test "${enable_calendar+set}" = set; then
8274 enableval="$enable_calendar"
8275
8276 if test "$enableval" = yes; then
8277 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8278 else
8279 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8280 fi
8281
8282 else
8283
8284 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8285 if test "x$LINE" != x ; then
8286 eval "DEFAULT_$LINE"
8287 else
8288 no_cache=1
8289 fi
8290
8291 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8292
8293 fi;
8294
8295 eval "$ac_cv_use_calendar"
8296 if test "$no_cache" != 1; then
8297 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8298 fi
8299
8300 if test "$wxUSE_CALCTRL" = yes; then
8301 echo "$as_me:$LINENO: result: yes" >&5
8302 echo "${ECHO_T}yes" >&6
8303 else
8304 echo "$as_me:$LINENO: result: no" >&5
8305 echo "${ECHO_T}no" >&6
8306 fi
8307
8308
8309 enablestring=
8310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8311 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8312 no_cache=0
8313 # Check whether --enable-caret or --disable-caret was given.
8314 if test "${enable_caret+set}" = set; then
8315 enableval="$enable_caret"
8316
8317 if test "$enableval" = yes; then
8318 ac_cv_use_caret='wxUSE_CARET=yes'
8319 else
8320 ac_cv_use_caret='wxUSE_CARET=no'
8321 fi
8322
8323 else
8324
8325 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8326 if test "x$LINE" != x ; then
8327 eval "DEFAULT_$LINE"
8328 else
8329 no_cache=1
8330 fi
8331
8332 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8333
8334 fi;
8335
8336 eval "$ac_cv_use_caret"
8337 if test "$no_cache" != 1; then
8338 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8339 fi
8340
8341 if test "$wxUSE_CARET" = yes; then
8342 echo "$as_me:$LINENO: result: yes" >&5
8343 echo "${ECHO_T}yes" >&6
8344 else
8345 echo "$as_me:$LINENO: result: no" >&5
8346 echo "${ECHO_T}no" >&6
8347 fi
8348
8349
8350 enablestring=
8351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8352 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8353 no_cache=0
8354 # Check whether --enable-checkbox or --disable-checkbox was given.
8355 if test "${enable_checkbox+set}" = set; then
8356 enableval="$enable_checkbox"
8357
8358 if test "$enableval" = yes; then
8359 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
8360 else
8361 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
8362 fi
8363
8364 else
8365
8366 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8367 if test "x$LINE" != x ; then
8368 eval "DEFAULT_$LINE"
8369 else
8370 no_cache=1
8371 fi
8372
8373 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8374
8375 fi;
8376
8377 eval "$ac_cv_use_checkbox"
8378 if test "$no_cache" != 1; then
8379 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8380 fi
8381
8382 if test "$wxUSE_CHECKBOX" = yes; then
8383 echo "$as_me:$LINENO: result: yes" >&5
8384 echo "${ECHO_T}yes" >&6
8385 else
8386 echo "$as_me:$LINENO: result: no" >&5
8387 echo "${ECHO_T}no" >&6
8388 fi
8389
8390
8391 enablestring=
8392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8393 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8394 no_cache=0
8395 # Check whether --enable-checklst or --disable-checklst was given.
8396 if test "${enable_checklst+set}" = set; then
8397 enableval="$enable_checklst"
8398
8399 if test "$enableval" = yes; then
8400 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
8401 else
8402 ac_cv_use_checklst='wxUSE_CHECKLST=no'
8403 fi
8404
8405 else
8406
8407 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8408 if test "x$LINE" != x ; then
8409 eval "DEFAULT_$LINE"
8410 else
8411 no_cache=1
8412 fi
8413
8414 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8415
8416 fi;
8417
8418 eval "$ac_cv_use_checklst"
8419 if test "$no_cache" != 1; then
8420 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8421 fi
8422
8423 if test "$wxUSE_CHECKLST" = yes; then
8424 echo "$as_me:$LINENO: result: yes" >&5
8425 echo "${ECHO_T}yes" >&6
8426 else
8427 echo "$as_me:$LINENO: result: no" >&5
8428 echo "${ECHO_T}no" >&6
8429 fi
8430
8431
8432 enablestring=
8433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8434 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8435 no_cache=0
8436 # Check whether --enable-choice or --disable-choice was given.
8437 if test "${enable_choice+set}" = set; then
8438 enableval="$enable_choice"
8439
8440 if test "$enableval" = yes; then
8441 ac_cv_use_choice='wxUSE_CHOICE=yes'
8442 else
8443 ac_cv_use_choice='wxUSE_CHOICE=no'
8444 fi
8445
8446 else
8447
8448 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8449 if test "x$LINE" != x ; then
8450 eval "DEFAULT_$LINE"
8451 else
8452 no_cache=1
8453 fi
8454
8455 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8456
8457 fi;
8458
8459 eval "$ac_cv_use_choice"
8460 if test "$no_cache" != 1; then
8461 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8462 fi
8463
8464 if test "$wxUSE_CHOICE" = yes; then
8465 echo "$as_me:$LINENO: result: yes" >&5
8466 echo "${ECHO_T}yes" >&6
8467 else
8468 echo "$as_me:$LINENO: result: no" >&5
8469 echo "${ECHO_T}no" >&6
8470 fi
8471
8472
8473 enablestring=
8474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8475 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8476 no_cache=0
8477 # Check whether --enable-choicebook or --disable-choicebook was given.
8478 if test "${enable_choicebook+set}" = set; then
8479 enableval="$enable_choicebook"
8480
8481 if test "$enableval" = yes; then
8482 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
8483 else
8484 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
8485 fi
8486
8487 else
8488
8489 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8490 if test "x$LINE" != x ; then
8491 eval "DEFAULT_$LINE"
8492 else
8493 no_cache=1
8494 fi
8495
8496 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8497
8498 fi;
8499
8500 eval "$ac_cv_use_choicebook"
8501 if test "$no_cache" != 1; then
8502 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8503 fi
8504
8505 if test "$wxUSE_CHOICEBOOK" = yes; then
8506 echo "$as_me:$LINENO: result: yes" >&5
8507 echo "${ECHO_T}yes" >&6
8508 else
8509 echo "$as_me:$LINENO: result: no" >&5
8510 echo "${ECHO_T}no" >&6
8511 fi
8512
8513
8514 enablestring=
8515 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8516 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8517 no_cache=0
8518 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8519 if test "${enable_colourpicker+set}" = set; then
8520 enableval="$enable_colourpicker"
8521
8522 if test "$enableval" = yes; then
8523 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
8524 else
8525 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
8526 fi
8527
8528 else
8529
8530 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8531 if test "x$LINE" != x ; then
8532 eval "DEFAULT_$LINE"
8533 else
8534 no_cache=1
8535 fi
8536
8537 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8538
8539 fi;
8540
8541 eval "$ac_cv_use_colourpicker"
8542 if test "$no_cache" != 1; then
8543 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8544 fi
8545
8546 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8547 echo "$as_me:$LINENO: result: yes" >&5
8548 echo "${ECHO_T}yes" >&6
8549 else
8550 echo "$as_me:$LINENO: result: no" >&5
8551 echo "${ECHO_T}no" >&6
8552 fi
8553
8554
8555 enablestring=
8556 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8557 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8558 no_cache=0
8559 # Check whether --enable-combobox or --disable-combobox was given.
8560 if test "${enable_combobox+set}" = set; then
8561 enableval="$enable_combobox"
8562
8563 if test "$enableval" = yes; then
8564 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
8565 else
8566 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
8567 fi
8568
8569 else
8570
8571 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8572 if test "x$LINE" != x ; then
8573 eval "DEFAULT_$LINE"
8574 else
8575 no_cache=1
8576 fi
8577
8578 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8579
8580 fi;
8581
8582 eval "$ac_cv_use_combobox"
8583 if test "$no_cache" != 1; then
8584 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8585 fi
8586
8587 if test "$wxUSE_COMBOBOX" = yes; then
8588 echo "$as_me:$LINENO: result: yes" >&5
8589 echo "${ECHO_T}yes" >&6
8590 else
8591 echo "$as_me:$LINENO: result: no" >&5
8592 echo "${ECHO_T}no" >&6
8593 fi
8594
8595
8596 enablestring=
8597 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8598 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8599 no_cache=0
8600 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8601 if test "${enable_comboctrl+set}" = set; then
8602 enableval="$enable_comboctrl"
8603
8604 if test "$enableval" = yes; then
8605 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
8606 else
8607 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
8608 fi
8609
8610 else
8611
8612 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8613 if test "x$LINE" != x ; then
8614 eval "DEFAULT_$LINE"
8615 else
8616 no_cache=1
8617 fi
8618
8619 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8620
8621 fi;
8622
8623 eval "$ac_cv_use_comboctrl"
8624 if test "$no_cache" != 1; then
8625 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8626 fi
8627
8628 if test "$wxUSE_COMBOCTRL" = yes; then
8629 echo "$as_me:$LINENO: result: yes" >&5
8630 echo "${ECHO_T}yes" >&6
8631 else
8632 echo "$as_me:$LINENO: result: no" >&5
8633 echo "${ECHO_T}no" >&6
8634 fi
8635
8636
8637 enablestring=
8638 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8639 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8640 no_cache=0
8641 # Check whether --enable-datepick or --disable-datepick was given.
8642 if test "${enable_datepick+set}" = set; then
8643 enableval="$enable_datepick"
8644
8645 if test "$enableval" = yes; then
8646 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
8647 else
8648 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
8649 fi
8650
8651 else
8652
8653 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8654 if test "x$LINE" != x ; then
8655 eval "DEFAULT_$LINE"
8656 else
8657 no_cache=1
8658 fi
8659
8660 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8661
8662 fi;
8663
8664 eval "$ac_cv_use_datepick"
8665 if test "$no_cache" != 1; then
8666 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8667 fi
8668
8669 if test "$wxUSE_DATEPICKCTRL" = yes; then
8670 echo "$as_me:$LINENO: result: yes" >&5
8671 echo "${ECHO_T}yes" >&6
8672 else
8673 echo "$as_me:$LINENO: result: no" >&5
8674 echo "${ECHO_T}no" >&6
8675 fi
8676
8677
8678 enablestring=
8679 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8680 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8681 no_cache=0
8682 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8683 if test "${enable_dirpicker+set}" = set; then
8684 enableval="$enable_dirpicker"
8685
8686 if test "$enableval" = yes; then
8687 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
8688 else
8689 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
8690 fi
8691
8692 else
8693
8694 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8695 if test "x$LINE" != x ; then
8696 eval "DEFAULT_$LINE"
8697 else
8698 no_cache=1
8699 fi
8700
8701 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8702
8703 fi;
8704
8705 eval "$ac_cv_use_dirpicker"
8706 if test "$no_cache" != 1; then
8707 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8708 fi
8709
8710 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8711 echo "$as_me:$LINENO: result: yes" >&5
8712 echo "${ECHO_T}yes" >&6
8713 else
8714 echo "$as_me:$LINENO: result: no" >&5
8715 echo "${ECHO_T}no" >&6
8716 fi
8717
8718
8719 enablestring=
8720 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8721 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8722 no_cache=0
8723 # Check whether --enable-display or --disable-display was given.
8724 if test "${enable_display+set}" = set; then
8725 enableval="$enable_display"
8726
8727 if test "$enableval" = yes; then
8728 ac_cv_use_display='wxUSE_DISPLAY=yes'
8729 else
8730 ac_cv_use_display='wxUSE_DISPLAY=no'
8731 fi
8732
8733 else
8734
8735 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8736 if test "x$LINE" != x ; then
8737 eval "DEFAULT_$LINE"
8738 else
8739 no_cache=1
8740 fi
8741
8742 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8743
8744 fi;
8745
8746 eval "$ac_cv_use_display"
8747 if test "$no_cache" != 1; then
8748 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8749 fi
8750
8751 if test "$wxUSE_DISPLAY" = yes; then
8752 echo "$as_me:$LINENO: result: yes" >&5
8753 echo "${ECHO_T}yes" >&6
8754 else
8755 echo "$as_me:$LINENO: result: no" >&5
8756 echo "${ECHO_T}no" >&6
8757 fi
8758
8759
8760 enablestring=
8761 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
8762 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
8763 no_cache=0
8764 # Check whether --enable-detect_sm or --disable-detect_sm was given.
8765 if test "${enable_detect_sm+set}" = set; then
8766 enableval="$enable_detect_sm"
8767
8768 if test "$enableval" = yes; then
8769 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
8770 else
8771 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
8772 fi
8773
8774 else
8775
8776 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
8777 if test "x$LINE" != x ; then
8778 eval "DEFAULT_$LINE"
8779 else
8780 no_cache=1
8781 fi
8782
8783 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
8784
8785 fi;
8786
8787 eval "$ac_cv_use_detect_sm"
8788 if test "$no_cache" != 1; then
8789 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
8790 fi
8791
8792 if test "$wxUSE_DETECT_SM" = yes; then
8793 echo "$as_me:$LINENO: result: yes" >&5
8794 echo "${ECHO_T}yes" >&6
8795 else
8796 echo "$as_me:$LINENO: result: no" >&5
8797 echo "${ECHO_T}no" >&6
8798 fi
8799
8800
8801 enablestring=
8802 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8803 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8804 no_cache=0
8805 # Check whether --enable-filepicker or --disable-filepicker was given.
8806 if test "${enable_filepicker+set}" = set; then
8807 enableval="$enable_filepicker"
8808
8809 if test "$enableval" = yes; then
8810 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
8811 else
8812 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
8813 fi
8814
8815 else
8816
8817 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8818 if test "x$LINE" != x ; then
8819 eval "DEFAULT_$LINE"
8820 else
8821 no_cache=1
8822 fi
8823
8824 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8825
8826 fi;
8827
8828 eval "$ac_cv_use_filepicker"
8829 if test "$no_cache" != 1; then
8830 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8831 fi
8832
8833 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8834 echo "$as_me:$LINENO: result: yes" >&5
8835 echo "${ECHO_T}yes" >&6
8836 else
8837 echo "$as_me:$LINENO: result: no" >&5
8838 echo "${ECHO_T}no" >&6
8839 fi
8840
8841
8842 enablestring=
8843 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8844 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8845 no_cache=0
8846 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8847 if test "${enable_fontpicker+set}" = set; then
8848 enableval="$enable_fontpicker"
8849
8850 if test "$enableval" = yes; then
8851 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
8852 else
8853 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
8854 fi
8855
8856 else
8857
8858 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8859 if test "x$LINE" != x ; then
8860 eval "DEFAULT_$LINE"
8861 else
8862 no_cache=1
8863 fi
8864
8865 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8866
8867 fi;
8868
8869 eval "$ac_cv_use_fontpicker"
8870 if test "$no_cache" != 1; then
8871 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8872 fi
8873
8874 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8875 echo "$as_me:$LINENO: result: yes" >&5
8876 echo "${ECHO_T}yes" >&6
8877 else
8878 echo "$as_me:$LINENO: result: no" >&5
8879 echo "${ECHO_T}no" >&6
8880 fi
8881
8882
8883 enablestring=
8884 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8885 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8886 no_cache=0
8887 # Check whether --enable-gauge or --disable-gauge was given.
8888 if test "${enable_gauge+set}" = set; then
8889 enableval="$enable_gauge"
8890
8891 if test "$enableval" = yes; then
8892 ac_cv_use_gauge='wxUSE_GAUGE=yes'
8893 else
8894 ac_cv_use_gauge='wxUSE_GAUGE=no'
8895 fi
8896
8897 else
8898
8899 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8900 if test "x$LINE" != x ; then
8901 eval "DEFAULT_$LINE"
8902 else
8903 no_cache=1
8904 fi
8905
8906 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8907
8908 fi;
8909
8910 eval "$ac_cv_use_gauge"
8911 if test "$no_cache" != 1; then
8912 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8913 fi
8914
8915 if test "$wxUSE_GAUGE" = yes; then
8916 echo "$as_me:$LINENO: result: yes" >&5
8917 echo "${ECHO_T}yes" >&6
8918 else
8919 echo "$as_me:$LINENO: result: no" >&5
8920 echo "${ECHO_T}no" >&6
8921 fi
8922
8923
8924 enablestring=
8925 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8926 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8927 no_cache=0
8928 # Check whether --enable-grid or --disable-grid was given.
8929 if test "${enable_grid+set}" = set; then
8930 enableval="$enable_grid"
8931
8932 if test "$enableval" = yes; then
8933 ac_cv_use_grid='wxUSE_GRID=yes'
8934 else
8935 ac_cv_use_grid='wxUSE_GRID=no'
8936 fi
8937
8938 else
8939
8940 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8941 if test "x$LINE" != x ; then
8942 eval "DEFAULT_$LINE"
8943 else
8944 no_cache=1
8945 fi
8946
8947 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8948
8949 fi;
8950
8951 eval "$ac_cv_use_grid"
8952 if test "$no_cache" != 1; then
8953 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8954 fi
8955
8956 if test "$wxUSE_GRID" = yes; then
8957 echo "$as_me:$LINENO: result: yes" >&5
8958 echo "${ECHO_T}yes" >&6
8959 else
8960 echo "$as_me:$LINENO: result: no" >&5
8961 echo "${ECHO_T}no" >&6
8962 fi
8963
8964
8965 enablestring=
8966 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8967 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8968 no_cache=0
8969 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8970 if test "${enable_dataviewctrl+set}" = set; then
8971 enableval="$enable_dataviewctrl"
8972
8973 if test "$enableval" = yes; then
8974 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
8975 else
8976 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
8977 fi
8978
8979 else
8980
8981 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8982 if test "x$LINE" != x ; then
8983 eval "DEFAULT_$LINE"
8984 else
8985 no_cache=1
8986 fi
8987
8988 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8989
8990 fi;
8991
8992 eval "$ac_cv_use_dataviewctrl"
8993 if test "$no_cache" != 1; then
8994 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8995 fi
8996
8997 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8998 echo "$as_me:$LINENO: result: yes" >&5
8999 echo "${ECHO_T}yes" >&6
9000 else
9001 echo "$as_me:$LINENO: result: no" >&5
9002 echo "${ECHO_T}no" >&6
9003 fi
9004
9005
9006 enablestring=
9007 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9008 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
9009 no_cache=0
9010 # Check whether --enable-hyperlink or --disable-hyperlink was given.
9011 if test "${enable_hyperlink+set}" = set; then
9012 enableval="$enable_hyperlink"
9013
9014 if test "$enableval" = yes; then
9015 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9016 else
9017 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9018 fi
9019
9020 else
9021
9022 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9023 if test "x$LINE" != x ; then
9024 eval "DEFAULT_$LINE"
9025 else
9026 no_cache=1
9027 fi
9028
9029 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9030
9031 fi;
9032
9033 eval "$ac_cv_use_hyperlink"
9034 if test "$no_cache" != 1; then
9035 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9036 fi
9037
9038 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9039 echo "$as_me:$LINENO: result: yes" >&5
9040 echo "${ECHO_T}yes" >&6
9041 else
9042 echo "$as_me:$LINENO: result: no" >&5
9043 echo "${ECHO_T}no" >&6
9044 fi
9045
9046
9047 enablestring=
9048 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9049 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
9050 no_cache=0
9051 # Check whether --enable-imaglist or --disable-imaglist was given.
9052 if test "${enable_imaglist+set}" = set; then
9053 enableval="$enable_imaglist"
9054
9055 if test "$enableval" = yes; then
9056 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9057 else
9058 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9059 fi
9060
9061 else
9062
9063 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9064 if test "x$LINE" != x ; then
9065 eval "DEFAULT_$LINE"
9066 else
9067 no_cache=1
9068 fi
9069
9070 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9071
9072 fi;
9073
9074 eval "$ac_cv_use_imaglist"
9075 if test "$no_cache" != 1; then
9076 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9077 fi
9078
9079 if test "$wxUSE_IMAGLIST" = yes; then
9080 echo "$as_me:$LINENO: result: yes" >&5
9081 echo "${ECHO_T}yes" >&6
9082 else
9083 echo "$as_me:$LINENO: result: no" >&5
9084 echo "${ECHO_T}no" >&6
9085 fi
9086
9087
9088 enablestring=
9089 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9090 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
9091 no_cache=0
9092 # Check whether --enable-listbook or --disable-listbook was given.
9093 if test "${enable_listbook+set}" = set; then
9094 enableval="$enable_listbook"
9095
9096 if test "$enableval" = yes; then
9097 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9098 else
9099 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9100 fi
9101
9102 else
9103
9104 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9105 if test "x$LINE" != x ; then
9106 eval "DEFAULT_$LINE"
9107 else
9108 no_cache=1
9109 fi
9110
9111 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9112
9113 fi;
9114
9115 eval "$ac_cv_use_listbook"
9116 if test "$no_cache" != 1; then
9117 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9118 fi
9119
9120 if test "$wxUSE_LISTBOOK" = yes; then
9121 echo "$as_me:$LINENO: result: yes" >&5
9122 echo "${ECHO_T}yes" >&6
9123 else
9124 echo "$as_me:$LINENO: result: no" >&5
9125 echo "${ECHO_T}no" >&6
9126 fi
9127
9128
9129 enablestring=
9130 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9131 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
9132 no_cache=0
9133 # Check whether --enable-listbox or --disable-listbox was given.
9134 if test "${enable_listbox+set}" = set; then
9135 enableval="$enable_listbox"
9136
9137 if test "$enableval" = yes; then
9138 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9139 else
9140 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9141 fi
9142
9143 else
9144
9145 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9146 if test "x$LINE" != x ; then
9147 eval "DEFAULT_$LINE"
9148 else
9149 no_cache=1
9150 fi
9151
9152 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9153
9154 fi;
9155
9156 eval "$ac_cv_use_listbox"
9157 if test "$no_cache" != 1; then
9158 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9159 fi
9160
9161 if test "$wxUSE_LISTBOX" = yes; then
9162 echo "$as_me:$LINENO: result: yes" >&5
9163 echo "${ECHO_T}yes" >&6
9164 else
9165 echo "$as_me:$LINENO: result: no" >&5
9166 echo "${ECHO_T}no" >&6
9167 fi
9168
9169
9170 enablestring=
9171 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9172 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
9173 no_cache=0
9174 # Check whether --enable-listctrl or --disable-listctrl was given.
9175 if test "${enable_listctrl+set}" = set; then
9176 enableval="$enable_listctrl"
9177
9178 if test "$enableval" = yes; then
9179 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9180 else
9181 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9182 fi
9183
9184 else
9185
9186 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9187 if test "x$LINE" != x ; then
9188 eval "DEFAULT_$LINE"
9189 else
9190 no_cache=1
9191 fi
9192
9193 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9194
9195 fi;
9196
9197 eval "$ac_cv_use_listctrl"
9198 if test "$no_cache" != 1; then
9199 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9200 fi
9201
9202 if test "$wxUSE_LISTCTRL" = yes; then
9203 echo "$as_me:$LINENO: result: yes" >&5
9204 echo "${ECHO_T}yes" >&6
9205 else
9206 echo "$as_me:$LINENO: result: no" >&5
9207 echo "${ECHO_T}no" >&6
9208 fi
9209
9210
9211 enablestring=
9212 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9213 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9214 no_cache=0
9215 # Check whether --enable-notebook or --disable-notebook was given.
9216 if test "${enable_notebook+set}" = set; then
9217 enableval="$enable_notebook"
9218
9219 if test "$enableval" = yes; then
9220 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9221 else
9222 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9223 fi
9224
9225 else
9226
9227 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9228 if test "x$LINE" != x ; then
9229 eval "DEFAULT_$LINE"
9230 else
9231 no_cache=1
9232 fi
9233
9234 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9235
9236 fi;
9237
9238 eval "$ac_cv_use_notebook"
9239 if test "$no_cache" != 1; then
9240 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9241 fi
9242
9243 if test "$wxUSE_NOTEBOOK" = yes; then
9244 echo "$as_me:$LINENO: result: yes" >&5
9245 echo "${ECHO_T}yes" >&6
9246 else
9247 echo "$as_me:$LINENO: result: no" >&5
9248 echo "${ECHO_T}no" >&6
9249 fi
9250
9251
9252 enablestring=
9253 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9254 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9255 no_cache=0
9256 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9257 if test "${enable_odcombobox+set}" = set; then
9258 enableval="$enable_odcombobox"
9259
9260 if test "$enableval" = yes; then
9261 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
9262 else
9263 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
9264 fi
9265
9266 else
9267
9268 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9269 if test "x$LINE" != x ; then
9270 eval "DEFAULT_$LINE"
9271 else
9272 no_cache=1
9273 fi
9274
9275 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9276
9277 fi;
9278
9279 eval "$ac_cv_use_odcombobox"
9280 if test "$no_cache" != 1; then
9281 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9282 fi
9283
9284 if test "$wxUSE_ODCOMBOBOX" = yes; then
9285 echo "$as_me:$LINENO: result: yes" >&5
9286 echo "${ECHO_T}yes" >&6
9287 else
9288 echo "$as_me:$LINENO: result: no" >&5
9289 echo "${ECHO_T}no" >&6
9290 fi
9291
9292
9293 enablestring=
9294 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9295 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9296 no_cache=0
9297 # Check whether --enable-radiobox or --disable-radiobox was given.
9298 if test "${enable_radiobox+set}" = set; then
9299 enableval="$enable_radiobox"
9300
9301 if test "$enableval" = yes; then
9302 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
9303 else
9304 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
9305 fi
9306
9307 else
9308
9309 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9310 if test "x$LINE" != x ; then
9311 eval "DEFAULT_$LINE"
9312 else
9313 no_cache=1
9314 fi
9315
9316 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9317
9318 fi;
9319
9320 eval "$ac_cv_use_radiobox"
9321 if test "$no_cache" != 1; then
9322 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9323 fi
9324
9325 if test "$wxUSE_RADIOBOX" = yes; then
9326 echo "$as_me:$LINENO: result: yes" >&5
9327 echo "${ECHO_T}yes" >&6
9328 else
9329 echo "$as_me:$LINENO: result: no" >&5
9330 echo "${ECHO_T}no" >&6
9331 fi
9332
9333
9334 enablestring=
9335 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9336 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9337 no_cache=0
9338 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9339 if test "${enable_radiobtn+set}" = set; then
9340 enableval="$enable_radiobtn"
9341
9342 if test "$enableval" = yes; then
9343 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
9344 else
9345 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
9346 fi
9347
9348 else
9349
9350 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9351 if test "x$LINE" != x ; then
9352 eval "DEFAULT_$LINE"
9353 else
9354 no_cache=1
9355 fi
9356
9357 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9358
9359 fi;
9360
9361 eval "$ac_cv_use_radiobtn"
9362 if test "$no_cache" != 1; then
9363 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9364 fi
9365
9366 if test "$wxUSE_RADIOBTN" = yes; then
9367 echo "$as_me:$LINENO: result: yes" >&5
9368 echo "${ECHO_T}yes" >&6
9369 else
9370 echo "$as_me:$LINENO: result: no" >&5
9371 echo "${ECHO_T}no" >&6
9372 fi
9373
9374
9375 enablestring=
9376 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9377 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9378 no_cache=0
9379 # Check whether --enable-sash or --disable-sash was given.
9380 if test "${enable_sash+set}" = set; then
9381 enableval="$enable_sash"
9382
9383 if test "$enableval" = yes; then
9384 ac_cv_use_sash='wxUSE_SASH=yes'
9385 else
9386 ac_cv_use_sash='wxUSE_SASH=no'
9387 fi
9388
9389 else
9390
9391 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9392 if test "x$LINE" != x ; then
9393 eval "DEFAULT_$LINE"
9394 else
9395 no_cache=1
9396 fi
9397
9398 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9399
9400 fi;
9401
9402 eval "$ac_cv_use_sash"
9403 if test "$no_cache" != 1; then
9404 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9405 fi
9406
9407 if test "$wxUSE_SASH" = yes; then
9408 echo "$as_me:$LINENO: result: yes" >&5
9409 echo "${ECHO_T}yes" >&6
9410 else
9411 echo "$as_me:$LINENO: result: no" >&5
9412 echo "${ECHO_T}no" >&6
9413 fi
9414
9415
9416 enablestring=
9417 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9418 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9419 no_cache=0
9420 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9421 if test "${enable_scrollbar+set}" = set; then
9422 enableval="$enable_scrollbar"
9423
9424 if test "$enableval" = yes; then
9425 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
9426 else
9427 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
9428 fi
9429
9430 else
9431
9432 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9433 if test "x$LINE" != x ; then
9434 eval "DEFAULT_$LINE"
9435 else
9436 no_cache=1
9437 fi
9438
9439 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9440
9441 fi;
9442
9443 eval "$ac_cv_use_scrollbar"
9444 if test "$no_cache" != 1; then
9445 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9446 fi
9447
9448 if test "$wxUSE_SCROLLBAR" = yes; then
9449 echo "$as_me:$LINENO: result: yes" >&5
9450 echo "${ECHO_T}yes" >&6
9451 else
9452 echo "$as_me:$LINENO: result: no" >&5
9453 echo "${ECHO_T}no" >&6
9454 fi
9455
9456
9457 enablestring=
9458 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9459 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9460 no_cache=0
9461 # Check whether --enable-slider or --disable-slider was given.
9462 if test "${enable_slider+set}" = set; then
9463 enableval="$enable_slider"
9464
9465 if test "$enableval" = yes; then
9466 ac_cv_use_slider='wxUSE_SLIDER=yes'
9467 else
9468 ac_cv_use_slider='wxUSE_SLIDER=no'
9469 fi
9470
9471 else
9472
9473 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9474 if test "x$LINE" != x ; then
9475 eval "DEFAULT_$LINE"
9476 else
9477 no_cache=1
9478 fi
9479
9480 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9481
9482 fi;
9483
9484 eval "$ac_cv_use_slider"
9485 if test "$no_cache" != 1; then
9486 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9487 fi
9488
9489 if test "$wxUSE_SLIDER" = yes; then
9490 echo "$as_me:$LINENO: result: yes" >&5
9491 echo "${ECHO_T}yes" >&6
9492 else
9493 echo "$as_me:$LINENO: result: no" >&5
9494 echo "${ECHO_T}no" >&6
9495 fi
9496
9497
9498 enablestring=
9499 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9500 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9501 no_cache=0
9502 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9503 if test "${enable_spinbtn+set}" = set; then
9504 enableval="$enable_spinbtn"
9505
9506 if test "$enableval" = yes; then
9507 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
9508 else
9509 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
9510 fi
9511
9512 else
9513
9514 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9515 if test "x$LINE" != x ; then
9516 eval "DEFAULT_$LINE"
9517 else
9518 no_cache=1
9519 fi
9520
9521 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9522
9523 fi;
9524
9525 eval "$ac_cv_use_spinbtn"
9526 if test "$no_cache" != 1; then
9527 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9528 fi
9529
9530 if test "$wxUSE_SPINBTN" = yes; then
9531 echo "$as_me:$LINENO: result: yes" >&5
9532 echo "${ECHO_T}yes" >&6
9533 else
9534 echo "$as_me:$LINENO: result: no" >&5
9535 echo "${ECHO_T}no" >&6
9536 fi
9537
9538
9539 enablestring=
9540 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9541 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9542 no_cache=0
9543 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9544 if test "${enable_spinctrl+set}" = set; then
9545 enableval="$enable_spinctrl"
9546
9547 if test "$enableval" = yes; then
9548 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
9549 else
9550 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
9551 fi
9552
9553 else
9554
9555 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9556 if test "x$LINE" != x ; then
9557 eval "DEFAULT_$LINE"
9558 else
9559 no_cache=1
9560 fi
9561
9562 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9563
9564 fi;
9565
9566 eval "$ac_cv_use_spinctrl"
9567 if test "$no_cache" != 1; then
9568 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9569 fi
9570
9571 if test "$wxUSE_SPINCTRL" = yes; then
9572 echo "$as_me:$LINENO: result: yes" >&5
9573 echo "${ECHO_T}yes" >&6
9574 else
9575 echo "$as_me:$LINENO: result: no" >&5
9576 echo "${ECHO_T}no" >&6
9577 fi
9578
9579
9580 enablestring=
9581 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9582 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9583 no_cache=0
9584 # Check whether --enable-splitter or --disable-splitter was given.
9585 if test "${enable_splitter+set}" = set; then
9586 enableval="$enable_splitter"
9587
9588 if test "$enableval" = yes; then
9589 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
9590 else
9591 ac_cv_use_splitter='wxUSE_SPLITTER=no'
9592 fi
9593
9594 else
9595
9596 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9597 if test "x$LINE" != x ; then
9598 eval "DEFAULT_$LINE"
9599 else
9600 no_cache=1
9601 fi
9602
9603 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9604
9605 fi;
9606
9607 eval "$ac_cv_use_splitter"
9608 if test "$no_cache" != 1; then
9609 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9610 fi
9611
9612 if test "$wxUSE_SPLITTER" = yes; then
9613 echo "$as_me:$LINENO: result: yes" >&5
9614 echo "${ECHO_T}yes" >&6
9615 else
9616 echo "$as_me:$LINENO: result: no" >&5
9617 echo "${ECHO_T}no" >&6
9618 fi
9619
9620
9621 enablestring=
9622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9623 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9624 no_cache=0
9625 # Check whether --enable-statbmp or --disable-statbmp was given.
9626 if test "${enable_statbmp+set}" = set; then
9627 enableval="$enable_statbmp"
9628
9629 if test "$enableval" = yes; then
9630 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
9631 else
9632 ac_cv_use_statbmp='wxUSE_STATBMP=no'
9633 fi
9634
9635 else
9636
9637 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9638 if test "x$LINE" != x ; then
9639 eval "DEFAULT_$LINE"
9640 else
9641 no_cache=1
9642 fi
9643
9644 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9645
9646 fi;
9647
9648 eval "$ac_cv_use_statbmp"
9649 if test "$no_cache" != 1; then
9650 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9651 fi
9652
9653 if test "$wxUSE_STATBMP" = yes; then
9654 echo "$as_me:$LINENO: result: yes" >&5
9655 echo "${ECHO_T}yes" >&6
9656 else
9657 echo "$as_me:$LINENO: result: no" >&5
9658 echo "${ECHO_T}no" >&6
9659 fi
9660
9661
9662 enablestring=
9663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9664 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9665 no_cache=0
9666 # Check whether --enable-statbox or --disable-statbox was given.
9667 if test "${enable_statbox+set}" = set; then
9668 enableval="$enable_statbox"
9669
9670 if test "$enableval" = yes; then
9671 ac_cv_use_statbox='wxUSE_STATBOX=yes'
9672 else
9673 ac_cv_use_statbox='wxUSE_STATBOX=no'
9674 fi
9675
9676 else
9677
9678 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9679 if test "x$LINE" != x ; then
9680 eval "DEFAULT_$LINE"
9681 else
9682 no_cache=1
9683 fi
9684
9685 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9686
9687 fi;
9688
9689 eval "$ac_cv_use_statbox"
9690 if test "$no_cache" != 1; then
9691 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9692 fi
9693
9694 if test "$wxUSE_STATBOX" = yes; then
9695 echo "$as_me:$LINENO: result: yes" >&5
9696 echo "${ECHO_T}yes" >&6
9697 else
9698 echo "$as_me:$LINENO: result: no" >&5
9699 echo "${ECHO_T}no" >&6
9700 fi
9701
9702
9703 enablestring=
9704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9705 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9706 no_cache=0
9707 # Check whether --enable-statline or --disable-statline was given.
9708 if test "${enable_statline+set}" = set; then
9709 enableval="$enable_statline"
9710
9711 if test "$enableval" = yes; then
9712 ac_cv_use_statline='wxUSE_STATLINE=yes'
9713 else
9714 ac_cv_use_statline='wxUSE_STATLINE=no'
9715 fi
9716
9717 else
9718
9719 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9720 if test "x$LINE" != x ; then
9721 eval "DEFAULT_$LINE"
9722 else
9723 no_cache=1
9724 fi
9725
9726 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9727
9728 fi;
9729
9730 eval "$ac_cv_use_statline"
9731 if test "$no_cache" != 1; then
9732 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9733 fi
9734
9735 if test "$wxUSE_STATLINE" = yes; then
9736 echo "$as_me:$LINENO: result: yes" >&5
9737 echo "${ECHO_T}yes" >&6
9738 else
9739 echo "$as_me:$LINENO: result: no" >&5
9740 echo "${ECHO_T}no" >&6
9741 fi
9742
9743
9744 enablestring=
9745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9746 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9747 no_cache=0
9748 # Check whether --enable-stattext or --disable-stattext was given.
9749 if test "${enable_stattext+set}" = set; then
9750 enableval="$enable_stattext"
9751
9752 if test "$enableval" = yes; then
9753 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
9754 else
9755 ac_cv_use_stattext='wxUSE_STATTEXT=no'
9756 fi
9757
9758 else
9759
9760 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9761 if test "x$LINE" != x ; then
9762 eval "DEFAULT_$LINE"
9763 else
9764 no_cache=1
9765 fi
9766
9767 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9768
9769 fi;
9770
9771 eval "$ac_cv_use_stattext"
9772 if test "$no_cache" != 1; then
9773 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9774 fi
9775
9776 if test "$wxUSE_STATTEXT" = yes; then
9777 echo "$as_me:$LINENO: result: yes" >&5
9778 echo "${ECHO_T}yes" >&6
9779 else
9780 echo "$as_me:$LINENO: result: no" >&5
9781 echo "${ECHO_T}no" >&6
9782 fi
9783
9784
9785 enablestring=
9786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9787 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9788 no_cache=0
9789 # Check whether --enable-statusbar or --disable-statusbar was given.
9790 if test "${enable_statusbar+set}" = set; then
9791 enableval="$enable_statusbar"
9792
9793 if test "$enableval" = yes; then
9794 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
9795 else
9796 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
9797 fi
9798
9799 else
9800
9801 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9802 if test "x$LINE" != x ; then
9803 eval "DEFAULT_$LINE"
9804 else
9805 no_cache=1
9806 fi
9807
9808 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9809
9810 fi;
9811
9812 eval "$ac_cv_use_statusbar"
9813 if test "$no_cache" != 1; then
9814 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9815 fi
9816
9817 if test "$wxUSE_STATUSBAR" = yes; then
9818 echo "$as_me:$LINENO: result: yes" >&5
9819 echo "${ECHO_T}yes" >&6
9820 else
9821 echo "$as_me:$LINENO: result: no" >&5
9822 echo "${ECHO_T}no" >&6
9823 fi
9824
9825
9826 enablestring=
9827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9828 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9829 no_cache=0
9830 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9831 if test "${enable_tabdialog+set}" = set; then
9832 enableval="$enable_tabdialog"
9833
9834 if test "$enableval" = yes; then
9835 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
9836 else
9837 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
9838 fi
9839
9840 else
9841
9842 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9843 if test "x$LINE" != x ; then
9844 eval "DEFAULT_$LINE"
9845 else
9846 no_cache=1
9847 fi
9848
9849 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9850
9851 fi;
9852
9853 eval "$ac_cv_use_tabdialog"
9854 if test "$no_cache" != 1; then
9855 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9856 fi
9857
9858 if test "$wxUSE_TAB_DIALOG" = yes; then
9859 echo "$as_me:$LINENO: result: yes" >&5
9860 echo "${ECHO_T}yes" >&6
9861 else
9862 echo "$as_me:$LINENO: result: no" >&5
9863 echo "${ECHO_T}no" >&6
9864 fi
9865
9866
9867 enablestring=
9868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9869 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9870 no_cache=0
9871 # Check whether --enable-textctrl or --disable-textctrl was given.
9872 if test "${enable_textctrl+set}" = set; then
9873 enableval="$enable_textctrl"
9874
9875 if test "$enableval" = yes; then
9876 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
9877 else
9878 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
9879 fi
9880
9881 else
9882
9883 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9884 if test "x$LINE" != x ; then
9885 eval "DEFAULT_$LINE"
9886 else
9887 no_cache=1
9888 fi
9889
9890 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9891
9892 fi;
9893
9894 eval "$ac_cv_use_textctrl"
9895 if test "$no_cache" != 1; then
9896 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9897 fi
9898
9899 if test "$wxUSE_TEXTCTRL" = yes; then
9900 echo "$as_me:$LINENO: result: yes" >&5
9901 echo "${ECHO_T}yes" >&6
9902 else
9903 echo "$as_me:$LINENO: result: no" >&5
9904 echo "${ECHO_T}no" >&6
9905 fi
9906
9907
9908 enablestring=
9909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9910 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9911 no_cache=0
9912 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9913 if test "${enable_togglebtn+set}" = set; then
9914 enableval="$enable_togglebtn"
9915
9916 if test "$enableval" = yes; then
9917 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
9918 else
9919 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
9920 fi
9921
9922 else
9923
9924 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9925 if test "x$LINE" != x ; then
9926 eval "DEFAULT_$LINE"
9927 else
9928 no_cache=1
9929 fi
9930
9931 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9932
9933 fi;
9934
9935 eval "$ac_cv_use_togglebtn"
9936 if test "$no_cache" != 1; then
9937 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9938 fi
9939
9940 if test "$wxUSE_TOGGLEBTN" = yes; then
9941 echo "$as_me:$LINENO: result: yes" >&5
9942 echo "${ECHO_T}yes" >&6
9943 else
9944 echo "$as_me:$LINENO: result: no" >&5
9945 echo "${ECHO_T}no" >&6
9946 fi
9947
9948
9949 enablestring=
9950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9951 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9952 no_cache=0
9953 # Check whether --enable-toolbar or --disable-toolbar was given.
9954 if test "${enable_toolbar+set}" = set; then
9955 enableval="$enable_toolbar"
9956
9957 if test "$enableval" = yes; then
9958 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
9959 else
9960 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
9961 fi
9962
9963 else
9964
9965 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9966 if test "x$LINE" != x ; then
9967 eval "DEFAULT_$LINE"
9968 else
9969 no_cache=1
9970 fi
9971
9972 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9973
9974 fi;
9975
9976 eval "$ac_cv_use_toolbar"
9977 if test "$no_cache" != 1; then
9978 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9979 fi
9980
9981 if test "$wxUSE_TOOLBAR" = yes; then
9982 echo "$as_me:$LINENO: result: yes" >&5
9983 echo "${ECHO_T}yes" >&6
9984 else
9985 echo "$as_me:$LINENO: result: no" >&5
9986 echo "${ECHO_T}no" >&6
9987 fi
9988
9989
9990 enablestring=
9991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9992 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9993 no_cache=0
9994 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9995 if test "${enable_tbarnative+set}" = set; then
9996 enableval="$enable_tbarnative"
9997
9998 if test "$enableval" = yes; then
9999 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10000 else
10001 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10002 fi
10003
10004 else
10005
10006 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10007 if test "x$LINE" != x ; then
10008 eval "DEFAULT_$LINE"
10009 else
10010 no_cache=1
10011 fi
10012
10013 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10014
10015 fi;
10016
10017 eval "$ac_cv_use_tbarnative"
10018 if test "$no_cache" != 1; then
10019 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10020 fi
10021
10022 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10023 echo "$as_me:$LINENO: result: yes" >&5
10024 echo "${ECHO_T}yes" >&6
10025 else
10026 echo "$as_me:$LINENO: result: no" >&5
10027 echo "${ECHO_T}no" >&6
10028 fi
10029
10030
10031 enablestring=
10032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10033 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
10034 no_cache=0
10035 # Check whether --enable-treebook or --disable-treebook was given.
10036 if test "${enable_treebook+set}" = set; then
10037 enableval="$enable_treebook"
10038
10039 if test "$enableval" = yes; then
10040 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10041 else
10042 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10043 fi
10044
10045 else
10046
10047 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10048 if test "x$LINE" != x ; then
10049 eval "DEFAULT_$LINE"
10050 else
10051 no_cache=1
10052 fi
10053
10054 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10055
10056 fi;
10057
10058 eval "$ac_cv_use_treebook"
10059 if test "$no_cache" != 1; then
10060 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10061 fi
10062
10063 if test "$wxUSE_TREEBOOK" = yes; then
10064 echo "$as_me:$LINENO: result: yes" >&5
10065 echo "${ECHO_T}yes" >&6
10066 else
10067 echo "$as_me:$LINENO: result: no" >&5
10068 echo "${ECHO_T}no" >&6
10069 fi
10070
10071
10072 enablestring=
10073 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10074 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
10075 no_cache=0
10076 # Check whether --enable-toolbook or --disable-toolbook was given.
10077 if test "${enable_toolbook+set}" = set; then
10078 enableval="$enable_toolbook"
10079
10080 if test "$enableval" = yes; then
10081 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10082 else
10083 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10084 fi
10085
10086 else
10087
10088 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10089 if test "x$LINE" != x ; then
10090 eval "DEFAULT_$LINE"
10091 else
10092 no_cache=1
10093 fi
10094
10095 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10096
10097 fi;
10098
10099 eval "$ac_cv_use_toolbook"
10100 if test "$no_cache" != 1; then
10101 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10102 fi
10103
10104 if test "$wxUSE_TOOLBOOK" = yes; then
10105 echo "$as_me:$LINENO: result: yes" >&5
10106 echo "${ECHO_T}yes" >&6
10107 else
10108 echo "$as_me:$LINENO: result: no" >&5
10109 echo "${ECHO_T}no" >&6
10110 fi
10111
10112
10113 enablestring=
10114 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10115 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
10116 no_cache=0
10117 # Check whether --enable-treectrl or --disable-treectrl was given.
10118 if test "${enable_treectrl+set}" = set; then
10119 enableval="$enable_treectrl"
10120
10121 if test "$enableval" = yes; then
10122 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10123 else
10124 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10125 fi
10126
10127 else
10128
10129 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10130 if test "x$LINE" != x ; then
10131 eval "DEFAULT_$LINE"
10132 else
10133 no_cache=1
10134 fi
10135
10136 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10137
10138 fi;
10139
10140 eval "$ac_cv_use_treectrl"
10141 if test "$no_cache" != 1; then
10142 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10143 fi
10144
10145 if test "$wxUSE_TREECTRL" = yes; then
10146 echo "$as_me:$LINENO: result: yes" >&5
10147 echo "${ECHO_T}yes" >&6
10148 else
10149 echo "$as_me:$LINENO: result: no" >&5
10150 echo "${ECHO_T}no" >&6
10151 fi
10152
10153
10154 enablestring=
10155 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10156 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
10157 no_cache=0
10158 # Check whether --enable-tipwindow or --disable-tipwindow was given.
10159 if test "${enable_tipwindow+set}" = set; then
10160 enableval="$enable_tipwindow"
10161
10162 if test "$enableval" = yes; then
10163 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10164 else
10165 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10166 fi
10167
10168 else
10169
10170 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10171 if test "x$LINE" != x ; then
10172 eval "DEFAULT_$LINE"
10173 else
10174 no_cache=1
10175 fi
10176
10177 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10178
10179 fi;
10180
10181 eval "$ac_cv_use_tipwindow"
10182 if test "$no_cache" != 1; then
10183 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10184 fi
10185
10186 if test "$wxUSE_TIPWINDOW" = yes; then
10187 echo "$as_me:$LINENO: result: yes" >&5
10188 echo "${ECHO_T}yes" >&6
10189 else
10190 echo "$as_me:$LINENO: result: no" >&5
10191 echo "${ECHO_T}no" >&6
10192 fi
10193
10194
10195 enablestring=
10196 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10197 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10198 no_cache=0
10199 # Check whether --enable-popupwin or --disable-popupwin was given.
10200 if test "${enable_popupwin+set}" = set; then
10201 enableval="$enable_popupwin"
10202
10203 if test "$enableval" = yes; then
10204 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
10205 else
10206 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
10207 fi
10208
10209 else
10210
10211 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10212 if test "x$LINE" != x ; then
10213 eval "DEFAULT_$LINE"
10214 else
10215 no_cache=1
10216 fi
10217
10218 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10219
10220 fi;
10221
10222 eval "$ac_cv_use_popupwin"
10223 if test "$no_cache" != 1; then
10224 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10225 fi
10226
10227 if test "$wxUSE_POPUPWIN" = yes; then
10228 echo "$as_me:$LINENO: result: yes" >&5
10229 echo "${ECHO_T}yes" >&6
10230 else
10231 echo "$as_me:$LINENO: result: no" >&5
10232 echo "${ECHO_T}no" >&6
10233 fi
10234
10235
10236
10237
10238 enablestring=
10239 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10240 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10241 no_cache=0
10242 # Check whether --enable-commondlg or --disable-commondlg was given.
10243 if test "${enable_commondlg+set}" = set; then
10244 enableval="$enable_commondlg"
10245
10246 if test "$enableval" = yes; then
10247 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
10248 else
10249 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
10250 fi
10251
10252 else
10253
10254 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10255 if test "x$LINE" != x ; then
10256 eval "DEFAULT_$LINE"
10257 else
10258 no_cache=1
10259 fi
10260
10261 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10262
10263 fi;
10264
10265 eval "$ac_cv_use_commondlg"
10266 if test "$no_cache" != 1; then
10267 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10268 fi
10269
10270 if test "$wxUSE_COMMONDLGS" = yes; then
10271 echo "$as_me:$LINENO: result: yes" >&5
10272 echo "${ECHO_T}yes" >&6
10273 else
10274 echo "$as_me:$LINENO: result: no" >&5
10275 echo "${ECHO_T}no" >&6
10276 fi
10277
10278
10279 enablestring=
10280 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10281 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10282 no_cache=0
10283 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10284 if test "${enable_aboutdlg+set}" = set; then
10285 enableval="$enable_aboutdlg"
10286
10287 if test "$enableval" = yes; then
10288 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
10289 else
10290 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
10291 fi
10292
10293 else
10294
10295 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10296 if test "x$LINE" != x ; then
10297 eval "DEFAULT_$LINE"
10298 else
10299 no_cache=1
10300 fi
10301
10302 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10303
10304 fi;
10305
10306 eval "$ac_cv_use_aboutdlg"
10307 if test "$no_cache" != 1; then
10308 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10309 fi
10310
10311 if test "$wxUSE_ABOUTDLG" = yes; then
10312 echo "$as_me:$LINENO: result: yes" >&5
10313 echo "${ECHO_T}yes" >&6
10314 else
10315 echo "$as_me:$LINENO: result: no" >&5
10316 echo "${ECHO_T}no" >&6
10317 fi
10318
10319
10320 enablestring=
10321 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10322 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10323 no_cache=0
10324 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10325 if test "${enable_choicedlg+set}" = set; then
10326 enableval="$enable_choicedlg"
10327
10328 if test "$enableval" = yes; then
10329 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
10330 else
10331 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
10332 fi
10333
10334 else
10335
10336 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10337 if test "x$LINE" != x ; then
10338 eval "DEFAULT_$LINE"
10339 else
10340 no_cache=1
10341 fi
10342
10343 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10344
10345 fi;
10346
10347 eval "$ac_cv_use_choicedlg"
10348 if test "$no_cache" != 1; then
10349 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10350 fi
10351
10352 if test "$wxUSE_CHOICEDLG" = yes; then
10353 echo "$as_me:$LINENO: result: yes" >&5
10354 echo "${ECHO_T}yes" >&6
10355 else
10356 echo "$as_me:$LINENO: result: no" >&5
10357 echo "${ECHO_T}no" >&6
10358 fi
10359
10360
10361 enablestring=
10362 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10363 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10364 no_cache=0
10365 # Check whether --enable-coldlg or --disable-coldlg was given.
10366 if test "${enable_coldlg+set}" = set; then
10367 enableval="$enable_coldlg"
10368
10369 if test "$enableval" = yes; then
10370 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
10371 else
10372 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
10373 fi
10374
10375 else
10376
10377 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10378 if test "x$LINE" != x ; then
10379 eval "DEFAULT_$LINE"
10380 else
10381 no_cache=1
10382 fi
10383
10384 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10385
10386 fi;
10387
10388 eval "$ac_cv_use_coldlg"
10389 if test "$no_cache" != 1; then
10390 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10391 fi
10392
10393 if test "$wxUSE_COLOURDLG" = yes; then
10394 echo "$as_me:$LINENO: result: yes" >&5
10395 echo "${ECHO_T}yes" >&6
10396 else
10397 echo "$as_me:$LINENO: result: no" >&5
10398 echo "${ECHO_T}no" >&6
10399 fi
10400
10401
10402 enablestring=
10403 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10404 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10405 no_cache=0
10406 # Check whether --enable-filedlg or --disable-filedlg was given.
10407 if test "${enable_filedlg+set}" = set; then
10408 enableval="$enable_filedlg"
10409
10410 if test "$enableval" = yes; then
10411 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
10412 else
10413 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
10414 fi
10415
10416 else
10417
10418 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10419 if test "x$LINE" != x ; then
10420 eval "DEFAULT_$LINE"
10421 else
10422 no_cache=1
10423 fi
10424
10425 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10426
10427 fi;
10428
10429 eval "$ac_cv_use_filedlg"
10430 if test "$no_cache" != 1; then
10431 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10432 fi
10433
10434 if test "$wxUSE_FILEDLG" = yes; then
10435 echo "$as_me:$LINENO: result: yes" >&5
10436 echo "${ECHO_T}yes" >&6
10437 else
10438 echo "$as_me:$LINENO: result: no" >&5
10439 echo "${ECHO_T}no" >&6
10440 fi
10441
10442
10443 enablestring=
10444 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10445 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10446 no_cache=0
10447 # Check whether --enable-finddlg or --disable-finddlg was given.
10448 if test "${enable_finddlg+set}" = set; then
10449 enableval="$enable_finddlg"
10450
10451 if test "$enableval" = yes; then
10452 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
10453 else
10454 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
10455 fi
10456
10457 else
10458
10459 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10460 if test "x$LINE" != x ; then
10461 eval "DEFAULT_$LINE"
10462 else
10463 no_cache=1
10464 fi
10465
10466 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10467
10468 fi;
10469
10470 eval "$ac_cv_use_finddlg"
10471 if test "$no_cache" != 1; then
10472 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10473 fi
10474
10475 if test "$wxUSE_FINDREPLDLG" = yes; then
10476 echo "$as_me:$LINENO: result: yes" >&5
10477 echo "${ECHO_T}yes" >&6
10478 else
10479 echo "$as_me:$LINENO: result: no" >&5
10480 echo "${ECHO_T}no" >&6
10481 fi
10482
10483
10484 enablestring=
10485 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10486 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10487 no_cache=0
10488 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10489 if test "${enable_fontdlg+set}" = set; then
10490 enableval="$enable_fontdlg"
10491
10492 if test "$enableval" = yes; then
10493 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
10494 else
10495 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
10496 fi
10497
10498 else
10499
10500 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10501 if test "x$LINE" != x ; then
10502 eval "DEFAULT_$LINE"
10503 else
10504 no_cache=1
10505 fi
10506
10507 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10508
10509 fi;
10510
10511 eval "$ac_cv_use_fontdlg"
10512 if test "$no_cache" != 1; then
10513 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10514 fi
10515
10516 if test "$wxUSE_FONTDLG" = yes; then
10517 echo "$as_me:$LINENO: result: yes" >&5
10518 echo "${ECHO_T}yes" >&6
10519 else
10520 echo "$as_me:$LINENO: result: no" >&5
10521 echo "${ECHO_T}no" >&6
10522 fi
10523
10524
10525 enablestring=
10526 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10527 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10528 no_cache=0
10529 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10530 if test "${enable_dirdlg+set}" = set; then
10531 enableval="$enable_dirdlg"
10532
10533 if test "$enableval" = yes; then
10534 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
10535 else
10536 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
10537 fi
10538
10539 else
10540
10541 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10542 if test "x$LINE" != x ; then
10543 eval "DEFAULT_$LINE"
10544 else
10545 no_cache=1
10546 fi
10547
10548 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10549
10550 fi;
10551
10552 eval "$ac_cv_use_dirdlg"
10553 if test "$no_cache" != 1; then
10554 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10555 fi
10556
10557 if test "$wxUSE_DIRDLG" = yes; then
10558 echo "$as_me:$LINENO: result: yes" >&5
10559 echo "${ECHO_T}yes" >&6
10560 else
10561 echo "$as_me:$LINENO: result: no" >&5
10562 echo "${ECHO_T}no" >&6
10563 fi
10564
10565
10566 enablestring=
10567 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10568 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10569 no_cache=0
10570 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10571 if test "${enable_msgdlg+set}" = set; then
10572 enableval="$enable_msgdlg"
10573
10574 if test "$enableval" = yes; then
10575 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
10576 else
10577 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
10578 fi
10579
10580 else
10581
10582 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10583 if test "x$LINE" != x ; then
10584 eval "DEFAULT_$LINE"
10585 else
10586 no_cache=1
10587 fi
10588
10589 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10590
10591 fi;
10592
10593 eval "$ac_cv_use_msgdlg"
10594 if test "$no_cache" != 1; then
10595 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10596 fi
10597
10598 if test "$wxUSE_MSGDLG" = yes; then
10599 echo "$as_me:$LINENO: result: yes" >&5
10600 echo "${ECHO_T}yes" >&6
10601 else
10602 echo "$as_me:$LINENO: result: no" >&5
10603 echo "${ECHO_T}no" >&6
10604 fi
10605
10606
10607 enablestring=
10608 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10609 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10610 no_cache=0
10611 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10612 if test "${enable_numberdlg+set}" = set; then
10613 enableval="$enable_numberdlg"
10614
10615 if test "$enableval" = yes; then
10616 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
10617 else
10618 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
10619 fi
10620
10621 else
10622
10623 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10624 if test "x$LINE" != x ; then
10625 eval "DEFAULT_$LINE"
10626 else
10627 no_cache=1
10628 fi
10629
10630 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10631
10632 fi;
10633
10634 eval "$ac_cv_use_numberdlg"
10635 if test "$no_cache" != 1; then
10636 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10637 fi
10638
10639 if test "$wxUSE_NUMBERDLG" = yes; then
10640 echo "$as_me:$LINENO: result: yes" >&5
10641 echo "${ECHO_T}yes" >&6
10642 else
10643 echo "$as_me:$LINENO: result: no" >&5
10644 echo "${ECHO_T}no" >&6
10645 fi
10646
10647
10648 enablestring=
10649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10650 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10651 no_cache=0
10652 # Check whether --enable-splash or --disable-splash was given.
10653 if test "${enable_splash+set}" = set; then
10654 enableval="$enable_splash"
10655
10656 if test "$enableval" = yes; then
10657 ac_cv_use_splash='wxUSE_SPLASH=yes'
10658 else
10659 ac_cv_use_splash='wxUSE_SPLASH=no'
10660 fi
10661
10662 else
10663
10664 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10665 if test "x$LINE" != x ; then
10666 eval "DEFAULT_$LINE"
10667 else
10668 no_cache=1
10669 fi
10670
10671 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10672
10673 fi;
10674
10675 eval "$ac_cv_use_splash"
10676 if test "$no_cache" != 1; then
10677 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10678 fi
10679
10680 if test "$wxUSE_SPLASH" = yes; then
10681 echo "$as_me:$LINENO: result: yes" >&5
10682 echo "${ECHO_T}yes" >&6
10683 else
10684 echo "$as_me:$LINENO: result: no" >&5
10685 echo "${ECHO_T}no" >&6
10686 fi
10687
10688
10689 enablestring=
10690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10691 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10692 no_cache=0
10693 # Check whether --enable-textdlg or --disable-textdlg was given.
10694 if test "${enable_textdlg+set}" = set; then
10695 enableval="$enable_textdlg"
10696
10697 if test "$enableval" = yes; then
10698 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
10699 else
10700 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
10701 fi
10702
10703 else
10704
10705 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10706 if test "x$LINE" != x ; then
10707 eval "DEFAULT_$LINE"
10708 else
10709 no_cache=1
10710 fi
10711
10712 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10713
10714 fi;
10715
10716 eval "$ac_cv_use_textdlg"
10717 if test "$no_cache" != 1; then
10718 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10719 fi
10720
10721 if test "$wxUSE_TEXTDLG" = yes; then
10722 echo "$as_me:$LINENO: result: yes" >&5
10723 echo "${ECHO_T}yes" >&6
10724 else
10725 echo "$as_me:$LINENO: result: no" >&5
10726 echo "${ECHO_T}no" >&6
10727 fi
10728
10729
10730 enablestring=
10731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10732 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10733 no_cache=0
10734 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10735 if test "${enable_tipdlg+set}" = set; then
10736 enableval="$enable_tipdlg"
10737
10738 if test "$enableval" = yes; then
10739 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
10740 else
10741 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
10742 fi
10743
10744 else
10745
10746 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10747 if test "x$LINE" != x ; then
10748 eval "DEFAULT_$LINE"
10749 else
10750 no_cache=1
10751 fi
10752
10753 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10754
10755 fi;
10756
10757 eval "$ac_cv_use_tipdlg"
10758 if test "$no_cache" != 1; then
10759 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10760 fi
10761
10762 if test "$wxUSE_STARTUP_TIPS" = yes; then
10763 echo "$as_me:$LINENO: result: yes" >&5
10764 echo "${ECHO_T}yes" >&6
10765 else
10766 echo "$as_me:$LINENO: result: no" >&5
10767 echo "${ECHO_T}no" >&6
10768 fi
10769
10770
10771 enablestring=
10772 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10773 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10774 no_cache=0
10775 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10776 if test "${enable_progressdlg+set}" = set; then
10777 enableval="$enable_progressdlg"
10778
10779 if test "$enableval" = yes; then
10780 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
10781 else
10782 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
10783 fi
10784
10785 else
10786
10787 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10788 if test "x$LINE" != x ; then
10789 eval "DEFAULT_$LINE"
10790 else
10791 no_cache=1
10792 fi
10793
10794 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10795
10796 fi;
10797
10798 eval "$ac_cv_use_progressdlg"
10799 if test "$no_cache" != 1; then
10800 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10801 fi
10802
10803 if test "$wxUSE_PROGRESSDLG" = yes; then
10804 echo "$as_me:$LINENO: result: yes" >&5
10805 echo "${ECHO_T}yes" >&6
10806 else
10807 echo "$as_me:$LINENO: result: no" >&5
10808 echo "${ECHO_T}no" >&6
10809 fi
10810
10811
10812 enablestring=
10813 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10814 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10815 no_cache=0
10816 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10817 if test "${enable_wizarddlg+set}" = set; then
10818 enableval="$enable_wizarddlg"
10819
10820 if test "$enableval" = yes; then
10821 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
10822 else
10823 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
10824 fi
10825
10826 else
10827
10828 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10829 if test "x$LINE" != x ; then
10830 eval "DEFAULT_$LINE"
10831 else
10832 no_cache=1
10833 fi
10834
10835 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10836
10837 fi;
10838
10839 eval "$ac_cv_use_wizarddlg"
10840 if test "$no_cache" != 1; then
10841 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10842 fi
10843
10844 if test "$wxUSE_WIZARDDLG" = yes; then
10845 echo "$as_me:$LINENO: result: yes" >&5
10846 echo "${ECHO_T}yes" >&6
10847 else
10848 echo "$as_me:$LINENO: result: no" >&5
10849 echo "${ECHO_T}no" >&6
10850 fi
10851
10852
10853
10854
10855 enablestring=
10856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10857 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10858 no_cache=0
10859 # Check whether --enable-menus or --disable-menus was given.
10860 if test "${enable_menus+set}" = set; then
10861 enableval="$enable_menus"
10862
10863 if test "$enableval" = yes; then
10864 ac_cv_use_menus='wxUSE_MENUS=yes'
10865 else
10866 ac_cv_use_menus='wxUSE_MENUS=no'
10867 fi
10868
10869 else
10870
10871 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10872 if test "x$LINE" != x ; then
10873 eval "DEFAULT_$LINE"
10874 else
10875 no_cache=1
10876 fi
10877
10878 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10879
10880 fi;
10881
10882 eval "$ac_cv_use_menus"
10883 if test "$no_cache" != 1; then
10884 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10885 fi
10886
10887 if test "$wxUSE_MENUS" = yes; then
10888 echo "$as_me:$LINENO: result: yes" >&5
10889 echo "${ECHO_T}yes" >&6
10890 else
10891 echo "$as_me:$LINENO: result: no" >&5
10892 echo "${ECHO_T}no" >&6
10893 fi
10894
10895
10896 enablestring=
10897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10898 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10899 no_cache=0
10900 # Check whether --enable-miniframe or --disable-miniframe was given.
10901 if test "${enable_miniframe+set}" = set; then
10902 enableval="$enable_miniframe"
10903
10904 if test "$enableval" = yes; then
10905 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
10906 else
10907 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
10908 fi
10909
10910 else
10911
10912 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10913 if test "x$LINE" != x ; then
10914 eval "DEFAULT_$LINE"
10915 else
10916 no_cache=1
10917 fi
10918
10919 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10920
10921 fi;
10922
10923 eval "$ac_cv_use_miniframe"
10924 if test "$no_cache" != 1; then
10925 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10926 fi
10927
10928 if test "$wxUSE_MINIFRAME" = yes; then
10929 echo "$as_me:$LINENO: result: yes" >&5
10930 echo "${ECHO_T}yes" >&6
10931 else
10932 echo "$as_me:$LINENO: result: no" >&5
10933 echo "${ECHO_T}no" >&6
10934 fi
10935
10936
10937 enablestring=
10938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10939 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10940 no_cache=0
10941 # Check whether --enable-tooltips or --disable-tooltips was given.
10942 if test "${enable_tooltips+set}" = set; then
10943 enableval="$enable_tooltips"
10944
10945 if test "$enableval" = yes; then
10946 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
10947 else
10948 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
10949 fi
10950
10951 else
10952
10953 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10954 if test "x$LINE" != x ; then
10955 eval "DEFAULT_$LINE"
10956 else
10957 no_cache=1
10958 fi
10959
10960 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10961
10962 fi;
10963
10964 eval "$ac_cv_use_tooltips"
10965 if test "$no_cache" != 1; then
10966 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10967 fi
10968
10969 if test "$wxUSE_TOOLTIPS" = yes; then
10970 echo "$as_me:$LINENO: result: yes" >&5
10971 echo "${ECHO_T}yes" >&6
10972 else
10973 echo "$as_me:$LINENO: result: no" >&5
10974 echo "${ECHO_T}no" >&6
10975 fi
10976
10977
10978 enablestring=
10979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10980 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10981 no_cache=0
10982 # Check whether --enable-splines or --disable-splines was given.
10983 if test "${enable_splines+set}" = set; then
10984 enableval="$enable_splines"
10985
10986 if test "$enableval" = yes; then
10987 ac_cv_use_splines='wxUSE_SPLINES=yes'
10988 else
10989 ac_cv_use_splines='wxUSE_SPLINES=no'
10990 fi
10991
10992 else
10993
10994 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10995 if test "x$LINE" != x ; then
10996 eval "DEFAULT_$LINE"
10997 else
10998 no_cache=1
10999 fi
11000
11001 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11002
11003 fi;
11004
11005 eval "$ac_cv_use_splines"
11006 if test "$no_cache" != 1; then
11007 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11008 fi
11009
11010 if test "$wxUSE_SPLINES" = yes; then
11011 echo "$as_me:$LINENO: result: yes" >&5
11012 echo "${ECHO_T}yes" >&6
11013 else
11014 echo "$as_me:$LINENO: result: no" >&5
11015 echo "${ECHO_T}no" >&6
11016 fi
11017
11018
11019 enablestring=
11020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11021 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
11022 no_cache=0
11023 # Check whether --enable-mousewheel or --disable-mousewheel was given.
11024 if test "${enable_mousewheel+set}" = set; then
11025 enableval="$enable_mousewheel"
11026
11027 if test "$enableval" = yes; then
11028 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11029 else
11030 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11031 fi
11032
11033 else
11034
11035 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11036 if test "x$LINE" != x ; then
11037 eval "DEFAULT_$LINE"
11038 else
11039 no_cache=1
11040 fi
11041
11042 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11043
11044 fi;
11045
11046 eval "$ac_cv_use_mousewheel"
11047 if test "$no_cache" != 1; then
11048 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11049 fi
11050
11051 if test "$wxUSE_MOUSEWHEEL" = yes; then
11052 echo "$as_me:$LINENO: result: yes" >&5
11053 echo "${ECHO_T}yes" >&6
11054 else
11055 echo "$as_me:$LINENO: result: no" >&5
11056 echo "${ECHO_T}no" >&6
11057 fi
11058
11059
11060 enablestring=
11061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11062 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
11063 no_cache=0
11064 # Check whether --enable-validators or --disable-validators was given.
11065 if test "${enable_validators+set}" = set; then
11066 enableval="$enable_validators"
11067
11068 if test "$enableval" = yes; then
11069 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11070 else
11071 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11072 fi
11073
11074 else
11075
11076 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11077 if test "x$LINE" != x ; then
11078 eval "DEFAULT_$LINE"
11079 else
11080 no_cache=1
11081 fi
11082
11083 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11084
11085 fi;
11086
11087 eval "$ac_cv_use_validators"
11088 if test "$no_cache" != 1; then
11089 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11090 fi
11091
11092 if test "$wxUSE_VALIDATORS" = yes; then
11093 echo "$as_me:$LINENO: result: yes" >&5
11094 echo "${ECHO_T}yes" >&6
11095 else
11096 echo "$as_me:$LINENO: result: no" >&5
11097 echo "${ECHO_T}no" >&6
11098 fi
11099
11100
11101 enablestring=
11102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11103 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
11104 no_cache=0
11105 # Check whether --enable-busyinfo or --disable-busyinfo was given.
11106 if test "${enable_busyinfo+set}" = set; then
11107 enableval="$enable_busyinfo"
11108
11109 if test "$enableval" = yes; then
11110 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11111 else
11112 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11113 fi
11114
11115 else
11116
11117 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11118 if test "x$LINE" != x ; then
11119 eval "DEFAULT_$LINE"
11120 else
11121 no_cache=1
11122 fi
11123
11124 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11125
11126 fi;
11127
11128 eval "$ac_cv_use_busyinfo"
11129 if test "$no_cache" != 1; then
11130 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11131 fi
11132
11133 if test "$wxUSE_BUSYINFO" = yes; then
11134 echo "$as_me:$LINENO: result: yes" >&5
11135 echo "${ECHO_T}yes" >&6
11136 else
11137 echo "$as_me:$LINENO: result: no" >&5
11138 echo "${ECHO_T}no" >&6
11139 fi
11140
11141
11142 enablestring=
11143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11144 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
11145 no_cache=0
11146 # Check whether --enable-joystick or --disable-joystick was given.
11147 if test "${enable_joystick+set}" = set; then
11148 enableval="$enable_joystick"
11149
11150 if test "$enableval" = yes; then
11151 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11152 else
11153 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11154 fi
11155
11156 else
11157
11158 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11159 if test "x$LINE" != x ; then
11160 eval "DEFAULT_$LINE"
11161 else
11162 no_cache=1
11163 fi
11164
11165 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11166
11167 fi;
11168
11169 eval "$ac_cv_use_joystick"
11170 if test "$no_cache" != 1; then
11171 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11172 fi
11173
11174 if test "$wxUSE_JOYSTICK" = yes; then
11175 echo "$as_me:$LINENO: result: yes" >&5
11176 echo "${ECHO_T}yes" >&6
11177 else
11178 echo "$as_me:$LINENO: result: no" >&5
11179 echo "${ECHO_T}no" >&6
11180 fi
11181
11182
11183 enablestring=
11184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11185 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
11186 no_cache=0
11187 # Check whether --enable-metafile or --disable-metafile was given.
11188 if test "${enable_metafile+set}" = set; then
11189 enableval="$enable_metafile"
11190
11191 if test "$enableval" = yes; then
11192 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11193 else
11194 ac_cv_use_metafile='wxUSE_METAFILE=no'
11195 fi
11196
11197 else
11198
11199 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11200 if test "x$LINE" != x ; then
11201 eval "DEFAULT_$LINE"
11202 else
11203 no_cache=1
11204 fi
11205
11206 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11207
11208 fi;
11209
11210 eval "$ac_cv_use_metafile"
11211 if test "$no_cache" != 1; then
11212 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11213 fi
11214
11215 if test "$wxUSE_METAFILE" = yes; then
11216 echo "$as_me:$LINENO: result: yes" >&5
11217 echo "${ECHO_T}yes" >&6
11218 else
11219 echo "$as_me:$LINENO: result: no" >&5
11220 echo "${ECHO_T}no" >&6
11221 fi
11222
11223
11224 enablestring=
11225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11226 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11227 no_cache=0
11228 # Check whether --enable-dragimage or --disable-dragimage was given.
11229 if test "${enable_dragimage+set}" = set; then
11230 enableval="$enable_dragimage"
11231
11232 if test "$enableval" = yes; then
11233 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
11234 else
11235 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
11236 fi
11237
11238 else
11239
11240 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11241 if test "x$LINE" != x ; then
11242 eval "DEFAULT_$LINE"
11243 else
11244 no_cache=1
11245 fi
11246
11247 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11248
11249 fi;
11250
11251 eval "$ac_cv_use_dragimage"
11252 if test "$no_cache" != 1; then
11253 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11254 fi
11255
11256 if test "$wxUSE_DRAGIMAGE" = yes; then
11257 echo "$as_me:$LINENO: result: yes" >&5
11258 echo "${ECHO_T}yes" >&6
11259 else
11260 echo "$as_me:$LINENO: result: no" >&5
11261 echo "${ECHO_T}no" >&6
11262 fi
11263
11264
11265 enablestring=
11266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11267 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11268 no_cache=0
11269 # Check whether --enable-accessibility or --disable-accessibility was given.
11270 if test "${enable_accessibility+set}" = set; then
11271 enableval="$enable_accessibility"
11272
11273 if test "$enableval" = yes; then
11274 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
11275 else
11276 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
11277 fi
11278
11279 else
11280
11281 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11282 if test "x$LINE" != x ; then
11283 eval "DEFAULT_$LINE"
11284 else
11285 no_cache=1
11286 fi
11287
11288 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11289
11290 fi;
11291
11292 eval "$ac_cv_use_accessibility"
11293 if test "$no_cache" != 1; then
11294 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11295 fi
11296
11297 if test "$wxUSE_ACCESSIBILITY" = yes; then
11298 echo "$as_me:$LINENO: result: yes" >&5
11299 echo "${ECHO_T}yes" >&6
11300 else
11301 echo "$as_me:$LINENO: result: no" >&5
11302 echo "${ECHO_T}no" >&6
11303 fi
11304
11305
11306 if test "$wxUSE_MSW" = "1"; then
11307
11308 enablestring=
11309 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11310 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11311 no_cache=0
11312 # Check whether --enable-dccache or --disable-dccache was given.
11313 if test "${enable_dccache+set}" = set; then
11314 enableval="$enable_dccache"
11315
11316 if test "$enableval" = yes; then
11317 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
11318 else
11319 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
11320 fi
11321
11322 else
11323
11324 LINE=`grep "wxUSE_DC_CACHEING" ${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_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11332
11333 fi;
11334
11335 eval "$ac_cv_use_dccache"
11336 if test "$no_cache" != 1; then
11337 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11338 fi
11339
11340 if test "$wxUSE_DC_CACHEING" = 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 fi
11349
11350
11351
11352 enablestring=
11353 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11354 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11355 no_cache=0
11356 # Check whether --enable-palette or --disable-palette was given.
11357 if test "${enable_palette+set}" = set; then
11358 enableval="$enable_palette"
11359
11360 if test "$enableval" = yes; then
11361 ac_cv_use_palette='wxUSE_PALETTE=yes'
11362 else
11363 ac_cv_use_palette='wxUSE_PALETTE=no'
11364 fi
11365
11366 else
11367
11368 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11369 if test "x$LINE" != x ; then
11370 eval "DEFAULT_$LINE"
11371 else
11372 no_cache=1
11373 fi
11374
11375 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11376
11377 fi;
11378
11379 eval "$ac_cv_use_palette"
11380 if test "$no_cache" != 1; then
11381 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11382 fi
11383
11384 if test "$wxUSE_PALETTE" = yes; then
11385 echo "$as_me:$LINENO: result: yes" >&5
11386 echo "${ECHO_T}yes" >&6
11387 else
11388 echo "$as_me:$LINENO: result: no" >&5
11389 echo "${ECHO_T}no" >&6
11390 fi
11391
11392
11393 enablestring=
11394 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11395 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11396 no_cache=0
11397 # Check whether --enable-image or --disable-image was given.
11398 if test "${enable_image+set}" = set; then
11399 enableval="$enable_image"
11400
11401 if test "$enableval" = yes; then
11402 ac_cv_use_image='wxUSE_IMAGE=yes'
11403 else
11404 ac_cv_use_image='wxUSE_IMAGE=no'
11405 fi
11406
11407 else
11408
11409 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11410 if test "x$LINE" != x ; then
11411 eval "DEFAULT_$LINE"
11412 else
11413 no_cache=1
11414 fi
11415
11416 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11417
11418 fi;
11419
11420 eval "$ac_cv_use_image"
11421 if test "$no_cache" != 1; then
11422 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11423 fi
11424
11425 if test "$wxUSE_IMAGE" = yes; then
11426 echo "$as_me:$LINENO: result: yes" >&5
11427 echo "${ECHO_T}yes" >&6
11428 else
11429 echo "$as_me:$LINENO: result: no" >&5
11430 echo "${ECHO_T}no" >&6
11431 fi
11432
11433
11434 enablestring=
11435 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11436 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11437 no_cache=0
11438 # Check whether --enable-gif or --disable-gif was given.
11439 if test "${enable_gif+set}" = set; then
11440 enableval="$enable_gif"
11441
11442 if test "$enableval" = yes; then
11443 ac_cv_use_gif='wxUSE_GIF=yes'
11444 else
11445 ac_cv_use_gif='wxUSE_GIF=no'
11446 fi
11447
11448 else
11449
11450 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11451 if test "x$LINE" != x ; then
11452 eval "DEFAULT_$LINE"
11453 else
11454 no_cache=1
11455 fi
11456
11457 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11458
11459 fi;
11460
11461 eval "$ac_cv_use_gif"
11462 if test "$no_cache" != 1; then
11463 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11464 fi
11465
11466 if test "$wxUSE_GIF" = yes; then
11467 echo "$as_me:$LINENO: result: yes" >&5
11468 echo "${ECHO_T}yes" >&6
11469 else
11470 echo "$as_me:$LINENO: result: no" >&5
11471 echo "${ECHO_T}no" >&6
11472 fi
11473
11474
11475 enablestring=
11476 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11477 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11478 no_cache=0
11479 # Check whether --enable-pcx or --disable-pcx was given.
11480 if test "${enable_pcx+set}" = set; then
11481 enableval="$enable_pcx"
11482
11483 if test "$enableval" = yes; then
11484 ac_cv_use_pcx='wxUSE_PCX=yes'
11485 else
11486 ac_cv_use_pcx='wxUSE_PCX=no'
11487 fi
11488
11489 else
11490
11491 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11492 if test "x$LINE" != x ; then
11493 eval "DEFAULT_$LINE"
11494 else
11495 no_cache=1
11496 fi
11497
11498 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11499
11500 fi;
11501
11502 eval "$ac_cv_use_pcx"
11503 if test "$no_cache" != 1; then
11504 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11505 fi
11506
11507 if test "$wxUSE_PCX" = yes; then
11508 echo "$as_me:$LINENO: result: yes" >&5
11509 echo "${ECHO_T}yes" >&6
11510 else
11511 echo "$as_me:$LINENO: result: no" >&5
11512 echo "${ECHO_T}no" >&6
11513 fi
11514
11515
11516 enablestring=
11517 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11518 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11519 no_cache=0
11520 # Check whether --enable-iff or --disable-iff was given.
11521 if test "${enable_iff+set}" = set; then
11522 enableval="$enable_iff"
11523
11524 if test "$enableval" = yes; then
11525 ac_cv_use_iff='wxUSE_IFF=yes'
11526 else
11527 ac_cv_use_iff='wxUSE_IFF=no'
11528 fi
11529
11530 else
11531
11532 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11533 if test "x$LINE" != x ; then
11534 eval "DEFAULT_$LINE"
11535 else
11536 no_cache=1
11537 fi
11538
11539 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11540
11541 fi;
11542
11543 eval "$ac_cv_use_iff"
11544 if test "$no_cache" != 1; then
11545 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11546 fi
11547
11548 if test "$wxUSE_IFF" = yes; then
11549 echo "$as_me:$LINENO: result: yes" >&5
11550 echo "${ECHO_T}yes" >&6
11551 else
11552 echo "$as_me:$LINENO: result: no" >&5
11553 echo "${ECHO_T}no" >&6
11554 fi
11555
11556
11557 enablestring=
11558 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11559 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11560 no_cache=0
11561 # Check whether --enable-pnm or --disable-pnm was given.
11562 if test "${enable_pnm+set}" = set; then
11563 enableval="$enable_pnm"
11564
11565 if test "$enableval" = yes; then
11566 ac_cv_use_pnm='wxUSE_PNM=yes'
11567 else
11568 ac_cv_use_pnm='wxUSE_PNM=no'
11569 fi
11570
11571 else
11572
11573 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11574 if test "x$LINE" != x ; then
11575 eval "DEFAULT_$LINE"
11576 else
11577 no_cache=1
11578 fi
11579
11580 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11581
11582 fi;
11583
11584 eval "$ac_cv_use_pnm"
11585 if test "$no_cache" != 1; then
11586 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11587 fi
11588
11589 if test "$wxUSE_PNM" = yes; then
11590 echo "$as_me:$LINENO: result: yes" >&5
11591 echo "${ECHO_T}yes" >&6
11592 else
11593 echo "$as_me:$LINENO: result: no" >&5
11594 echo "${ECHO_T}no" >&6
11595 fi
11596
11597
11598 enablestring=
11599 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11600 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11601 no_cache=0
11602 # Check whether --enable-xpm or --disable-xpm was given.
11603 if test "${enable_xpm+set}" = set; then
11604 enableval="$enable_xpm"
11605
11606 if test "$enableval" = yes; then
11607 ac_cv_use_xpm='wxUSE_XPM=yes'
11608 else
11609 ac_cv_use_xpm='wxUSE_XPM=no'
11610 fi
11611
11612 else
11613
11614 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11615 if test "x$LINE" != x ; then
11616 eval "DEFAULT_$LINE"
11617 else
11618 no_cache=1
11619 fi
11620
11621 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11622
11623 fi;
11624
11625 eval "$ac_cv_use_xpm"
11626 if test "$no_cache" != 1; then
11627 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11628 fi
11629
11630 if test "$wxUSE_XPM" = yes; then
11631 echo "$as_me:$LINENO: result: yes" >&5
11632 echo "${ECHO_T}yes" >&6
11633 else
11634 echo "$as_me:$LINENO: result: no" >&5
11635 echo "${ECHO_T}no" >&6
11636 fi
11637
11638
11639 enablestring=
11640 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11641 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11642 no_cache=0
11643 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11644 if test "${enable_ico_cur+set}" = set; then
11645 enableval="$enable_ico_cur"
11646
11647 if test "$enableval" = yes; then
11648 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
11649 else
11650 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
11651 fi
11652
11653 else
11654
11655 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11656 if test "x$LINE" != x ; then
11657 eval "DEFAULT_$LINE"
11658 else
11659 no_cache=1
11660 fi
11661
11662 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11663
11664 fi;
11665
11666 eval "$ac_cv_use_ico_cur"
11667 if test "$no_cache" != 1; then
11668 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11669 fi
11670
11671 if test "$wxUSE_ICO_CUR" = yes; then
11672 echo "$as_me:$LINENO: result: yes" >&5
11673 echo "${ECHO_T}yes" >&6
11674 else
11675 echo "$as_me:$LINENO: result: no" >&5
11676 echo "${ECHO_T}no" >&6
11677 fi
11678
11679
11680 fi
11681
11682
11683
11684 # Check whether --with-flavour or --without-flavour was given.
11685 if test "${with_flavour+set}" = set; then
11686 withval="$with_flavour"
11687 WX_FLAVOUR="$withval"
11688 fi;
11689
11690
11691
11692 enablestring=
11693 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11694 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11695 no_cache=0
11696 # Check whether --enable-official_build or --disable-official_build was given.
11697 if test "${enable_official_build+set}" = set; then
11698 enableval="$enable_official_build"
11699
11700 if test "$enableval" = yes; then
11701 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
11702 else
11703 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
11704 fi
11705
11706 else
11707
11708 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11709 if test "x$LINE" != x ; then
11710 eval "DEFAULT_$LINE"
11711 else
11712 no_cache=1
11713 fi
11714
11715 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11716
11717 fi;
11718
11719 eval "$ac_cv_use_official_build"
11720 if test "$no_cache" != 1; then
11721 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11722 fi
11723
11724 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11725 echo "$as_me:$LINENO: result: yes" >&5
11726 echo "${ECHO_T}yes" >&6
11727 else
11728 echo "$as_me:$LINENO: result: no" >&5
11729 echo "${ECHO_T}no" >&6
11730 fi
11731
11732 # Check whether --enable-vendor or --disable-vendor was given.
11733 if test "${enable_vendor+set}" = set; then
11734 enableval="$enable_vendor"
11735 VENDOR="$enableval"
11736 fi;
11737 if test "x$VENDOR" = "x"; then
11738 VENDOR="custom"
11739 fi
11740
11741
11742
11743
11744 echo "saving argument cache $wx_arg_cache_file"
11745 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
11746
11747
11748
11749 echo "$as_me:$LINENO: checking for toolkit" >&5
11750 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11751
11752 # In Wine, we need to default to MSW, not GTK or MOTIF
11753 if test "$wxUSE_WINE" = "yes"; then
11754 DEFAULT_DEFAULT_wxUSE_GTK=0
11755 DEFAULT_DEFAULT_wxUSE_MOTIF=0
11756 DEFAULT_DEFAULT_wxUSE_MSW=1
11757 wxUSE_SHARED=no
11758 fi
11759
11760
11761 if test "$wxUSE_GUI" = "yes"; then
11762
11763 if test "$USE_BEOS" = 1; then
11764 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11765 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11766 { (exit 1); exit 1; }; }
11767 fi
11768
11769 if test "$TOOLKIT_GIVEN" = 1; then
11770 for toolkit in `echo $ALL_TOOLKITS`; do
11771 var=wxUSE_$toolkit
11772 eval "value=\$${var}"
11773 if test "x$value" = "xno"; then
11774 eval "$var=0"
11775 elif test "x$value" != "x"; then
11776 eval "$var=1"
11777 fi
11778
11779 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11780 eval "wx${toolkit}_VERSION=$value"
11781 fi
11782 done
11783 else
11784 for toolkit in `echo $ALL_TOOLKITS`; do
11785 if test "$has_toolkit_in_cache" != 1; then
11786 var=DEFAULT_DEFAULT_wxUSE_$toolkit
11787 else
11788 var=DEFAULT_wxUSE_$toolkit
11789
11790 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11791 if test "x$version" != "x"; then
11792 eval "wx${toolkit}_VERSION=$version"
11793 fi
11794 fi
11795 eval "wxUSE_$toolkit=\$${var}"
11796 done
11797 fi
11798
11799 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11800 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11801 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11802
11803 case "${host}" in
11804 *-pc-os2_emx | *-pc-os2-emx )
11805 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11806 esac
11807
11808 case "$NUM_TOOLKITS" in
11809 1)
11810 ;;
11811 0)
11812 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11813 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11814 { (exit 1); exit 1; }; }
11815 ;;
11816 *)
11817 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11818 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11819 { (exit 1); exit 1; }; }
11820 esac
11821
11822 # to be removed when --disable-gtk2 isn't needed
11823 if test "x$wxUSE_GTK2" = "xyes"; then
11824 wxGTK_VERSION=2
11825 elif test "x$wxUSE_GTK2" = "xno"; then
11826 wxGTK_VERSION=1
11827 fi
11828
11829 for toolkit in `echo $ALL_TOOLKITS`; do
11830 var=wxUSE_$toolkit
11831 eval "value=\$${var}"
11832 if test "x$value" != x; then
11833 cache_var=CACHE_$toolkit
11834 eval "cache=\$${cache_var}"
11835 if test "$cache" = 1; then
11836 echo "$var=$value" >> ${wx_arg_cache_file}
11837 eval "version=\$wx${toolkit}_VERSION"
11838 if test "x$version" != "x"; then
11839 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11840 fi
11841 fi
11842 if test "$value" = 1; then
11843 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11844 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11845 echo "${ECHO_T}$toolkit_echo" >&6
11846 fi
11847 fi
11848 done
11849 else
11850 if test "x$host_alias" != "x"; then
11851 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11852 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11853 else
11854 echo "$as_me:$LINENO: result: base only" >&5
11855 echo "${ECHO_T}base only" >&6
11856 fi
11857 fi
11858
11859 wants_win32=0
11860 doesnt_want_win32=0
11861 case "${host}" in
11862 *-*-cygwin*)
11863 if test "$wxUSE_MSW" = 1 ; then
11864 wants_win32=1
11865 BAKEFILE_FORCE_PLATFORM=win32
11866 else
11867 doesnt_want_win32=1
11868 fi
11869 ;;
11870 *-*-mingw*)
11871 wants_win32=1
11872 ;;
11873 esac
11874
11875 if test "$wxUSE_WINE" = "yes"; then
11876 wants_win32=1
11877 CC=winegcc
11878 CXX=wineg++
11879 LDFLAGS_GUI="-mwindows"
11880 fi
11881
11882 if test "$wants_win32" = 1 ; then
11883 USE_UNIX=0
11884 USE_WIN32=1
11885 cat >>confdefs.h <<\_ACEOF
11886 #define __WIN32__ 1
11887 _ACEOF
11888
11889 cat >>confdefs.h <<\_ACEOF
11890 #define __WIN95__ 1
11891 _ACEOF
11892
11893 cat >>confdefs.h <<\_ACEOF
11894 #define __WINDOWS__ 1
11895 _ACEOF
11896
11897 cat >>confdefs.h <<\_ACEOF
11898 #define __GNUWIN32__ 1
11899 _ACEOF
11900
11901 cat >>confdefs.h <<\_ACEOF
11902 #define STRICT 1
11903 _ACEOF
11904
11905 cat >>confdefs.h <<\_ACEOF
11906 #define WINVER 0x0400
11907 _ACEOF
11908
11909 fi
11910 if test "$doesnt_want_win32" = 1 ; then
11911 USE_UNIX=1
11912 USE_WIN32=0
11913 fi
11914
11915 if test "$USE_UNIX" = 1 ; then
11916 wxUSE_UNIX=yes
11917 cat >>confdefs.h <<\_ACEOF
11918 #define __UNIX__ 1
11919 _ACEOF
11920
11921 fi
11922
11923
11924 cat >confcache <<\_ACEOF
11925 # This file is a shell script that caches the results of configure
11926 # tests run on this system so they can be shared between configure
11927 # scripts and configure runs, see configure's option --config-cache.
11928 # It is not useful on other systems. If it contains results you don't
11929 # want to keep, you may remove or edit it.
11930 #
11931 # config.status only pays attention to the cache file if you give it
11932 # the --recheck option to rerun configure.
11933 #
11934 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11935 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11936 # following values.
11937
11938 _ACEOF
11939
11940 # The following way of writing the cache mishandles newlines in values,
11941 # but we know of no workaround that is simple, portable, and efficient.
11942 # So, don't put newlines in cache variables' values.
11943 # Ultrix sh set writes to stderr and can't be redirected directly,
11944 # and sets the high bit in the cache file unless we assign to the vars.
11945 {
11946 (set) 2>&1 |
11947 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11948 *ac_space=\ *)
11949 # `set' does not quote correctly, so add quotes (double-quote
11950 # substitution turns \\\\ into \\, and sed turns \\ into \).
11951 sed -n \
11952 "s/'/'\\\\''/g;
11953 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11954 ;;
11955 *)
11956 # `set' quotes correctly as required by POSIX, so do not add quotes.
11957 sed -n \
11958 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11959 ;;
11960 esac;
11961 } |
11962 sed '
11963 t clear
11964 : clear
11965 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11966 t end
11967 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11968 : end' >>confcache
11969 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11970 if test -w $cache_file; then
11971 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11972 cat confcache >$cache_file
11973 else
11974 echo "not updating unwritable cache $cache_file"
11975 fi
11976 fi
11977 rm -f confcache
11978
11979 CFLAGS=${CFLAGS:=}
11980
11981
11982
11983 ac_ext=c
11984 ac_cpp='$CPP $CPPFLAGS'
11985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11988 if test -n "$ac_tool_prefix"; then
11989 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11990 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11991 echo "$as_me:$LINENO: checking for $ac_word" >&5
11992 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11993 if test "${ac_cv_prog_CC+set}" = set; then
11994 echo $ECHO_N "(cached) $ECHO_C" >&6
11995 else
11996 if test -n "$CC"; then
11997 ac_cv_prog_CC="$CC" # Let the user override the test.
11998 else
11999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12000 for as_dir in $PATH
12001 do
12002 IFS=$as_save_IFS
12003 test -z "$as_dir" && as_dir=.
12004 for ac_exec_ext in '' $ac_executable_extensions; do
12005 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12006 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12007 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12008 break 2
12009 fi
12010 done
12011 done
12012
12013 fi
12014 fi
12015 CC=$ac_cv_prog_CC
12016 if test -n "$CC"; then
12017 echo "$as_me:$LINENO: result: $CC" >&5
12018 echo "${ECHO_T}$CC" >&6
12019 else
12020 echo "$as_me:$LINENO: result: no" >&5
12021 echo "${ECHO_T}no" >&6
12022 fi
12023
12024 fi
12025 if test -z "$ac_cv_prog_CC"; then
12026 ac_ct_CC=$CC
12027 # Extract the first word of "gcc", so it can be a program name with args.
12028 set dummy gcc; ac_word=$2
12029 echo "$as_me:$LINENO: checking for $ac_word" >&5
12030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12031 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12032 echo $ECHO_N "(cached) $ECHO_C" >&6
12033 else
12034 if test -n "$ac_ct_CC"; then
12035 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12036 else
12037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12038 for as_dir in $PATH
12039 do
12040 IFS=$as_save_IFS
12041 test -z "$as_dir" && as_dir=.
12042 for ac_exec_ext in '' $ac_executable_extensions; do
12043 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12044 ac_cv_prog_ac_ct_CC="gcc"
12045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12046 break 2
12047 fi
12048 done
12049 done
12050
12051 fi
12052 fi
12053 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12054 if test -n "$ac_ct_CC"; then
12055 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12056 echo "${ECHO_T}$ac_ct_CC" >&6
12057 else
12058 echo "$as_me:$LINENO: result: no" >&5
12059 echo "${ECHO_T}no" >&6
12060 fi
12061
12062 CC=$ac_ct_CC
12063 else
12064 CC="$ac_cv_prog_CC"
12065 fi
12066
12067 if test -z "$CC"; then
12068 if test -n "$ac_tool_prefix"; then
12069 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12070 set dummy ${ac_tool_prefix}cc; ac_word=$2
12071 echo "$as_me:$LINENO: checking for $ac_word" >&5
12072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12073 if test "${ac_cv_prog_CC+set}" = set; then
12074 echo $ECHO_N "(cached) $ECHO_C" >&6
12075 else
12076 if test -n "$CC"; then
12077 ac_cv_prog_CC="$CC" # Let the user override the test.
12078 else
12079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12080 for as_dir in $PATH
12081 do
12082 IFS=$as_save_IFS
12083 test -z "$as_dir" && as_dir=.
12084 for ac_exec_ext in '' $ac_executable_extensions; do
12085 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12086 ac_cv_prog_CC="${ac_tool_prefix}cc"
12087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12088 break 2
12089 fi
12090 done
12091 done
12092
12093 fi
12094 fi
12095 CC=$ac_cv_prog_CC
12096 if test -n "$CC"; then
12097 echo "$as_me:$LINENO: result: $CC" >&5
12098 echo "${ECHO_T}$CC" >&6
12099 else
12100 echo "$as_me:$LINENO: result: no" >&5
12101 echo "${ECHO_T}no" >&6
12102 fi
12103
12104 fi
12105 if test -z "$ac_cv_prog_CC"; then
12106 ac_ct_CC=$CC
12107 # Extract the first word of "cc", so it can be a program name with args.
12108 set dummy cc; ac_word=$2
12109 echo "$as_me:$LINENO: checking for $ac_word" >&5
12110 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12111 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12112 echo $ECHO_N "(cached) $ECHO_C" >&6
12113 else
12114 if test -n "$ac_ct_CC"; then
12115 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12116 else
12117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12118 for as_dir in $PATH
12119 do
12120 IFS=$as_save_IFS
12121 test -z "$as_dir" && as_dir=.
12122 for ac_exec_ext in '' $ac_executable_extensions; do
12123 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12124 ac_cv_prog_ac_ct_CC="cc"
12125 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12126 break 2
12127 fi
12128 done
12129 done
12130
12131 fi
12132 fi
12133 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12134 if test -n "$ac_ct_CC"; then
12135 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12136 echo "${ECHO_T}$ac_ct_CC" >&6
12137 else
12138 echo "$as_me:$LINENO: result: no" >&5
12139 echo "${ECHO_T}no" >&6
12140 fi
12141
12142 CC=$ac_ct_CC
12143 else
12144 CC="$ac_cv_prog_CC"
12145 fi
12146
12147 fi
12148 if test -z "$CC"; then
12149 # Extract the first word of "cc", so it can be a program name with args.
12150 set dummy cc; ac_word=$2
12151 echo "$as_me:$LINENO: checking for $ac_word" >&5
12152 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12153 if test "${ac_cv_prog_CC+set}" = set; then
12154 echo $ECHO_N "(cached) $ECHO_C" >&6
12155 else
12156 if test -n "$CC"; then
12157 ac_cv_prog_CC="$CC" # Let the user override the test.
12158 else
12159 ac_prog_rejected=no
12160 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12161 for as_dir in $PATH
12162 do
12163 IFS=$as_save_IFS
12164 test -z "$as_dir" && as_dir=.
12165 for ac_exec_ext in '' $ac_executable_extensions; do
12166 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12167 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12168 ac_prog_rejected=yes
12169 continue
12170 fi
12171 ac_cv_prog_CC="cc"
12172 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12173 break 2
12174 fi
12175 done
12176 done
12177
12178 if test $ac_prog_rejected = yes; then
12179 # We found a bogon in the path, so make sure we never use it.
12180 set dummy $ac_cv_prog_CC
12181 shift
12182 if test $# != 0; then
12183 # We chose a different compiler from the bogus one.
12184 # However, it has the same basename, so the bogon will be chosen
12185 # first if we set CC to just the basename; use the full file name.
12186 shift
12187 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12188 fi
12189 fi
12190 fi
12191 fi
12192 CC=$ac_cv_prog_CC
12193 if test -n "$CC"; then
12194 echo "$as_me:$LINENO: result: $CC" >&5
12195 echo "${ECHO_T}$CC" >&6
12196 else
12197 echo "$as_me:$LINENO: result: no" >&5
12198 echo "${ECHO_T}no" >&6
12199 fi
12200
12201 fi
12202 if test -z "$CC"; then
12203 if test -n "$ac_tool_prefix"; then
12204 for ac_prog in cl
12205 do
12206 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12207 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12208 echo "$as_me:$LINENO: checking for $ac_word" >&5
12209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12210 if test "${ac_cv_prog_CC+set}" = set; then
12211 echo $ECHO_N "(cached) $ECHO_C" >&6
12212 else
12213 if test -n "$CC"; then
12214 ac_cv_prog_CC="$CC" # Let the user override the test.
12215 else
12216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12217 for as_dir in $PATH
12218 do
12219 IFS=$as_save_IFS
12220 test -z "$as_dir" && as_dir=.
12221 for ac_exec_ext in '' $ac_executable_extensions; do
12222 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12223 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12225 break 2
12226 fi
12227 done
12228 done
12229
12230 fi
12231 fi
12232 CC=$ac_cv_prog_CC
12233 if test -n "$CC"; then
12234 echo "$as_me:$LINENO: result: $CC" >&5
12235 echo "${ECHO_T}$CC" >&6
12236 else
12237 echo "$as_me:$LINENO: result: no" >&5
12238 echo "${ECHO_T}no" >&6
12239 fi
12240
12241 test -n "$CC" && break
12242 done
12243 fi
12244 if test -z "$CC"; then
12245 ac_ct_CC=$CC
12246 for ac_prog in cl
12247 do
12248 # Extract the first word of "$ac_prog", so it can be a program name with args.
12249 set dummy $ac_prog; ac_word=$2
12250 echo "$as_me:$LINENO: checking for $ac_word" >&5
12251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12252 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12253 echo $ECHO_N "(cached) $ECHO_C" >&6
12254 else
12255 if test -n "$ac_ct_CC"; then
12256 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12257 else
12258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12259 for as_dir in $PATH
12260 do
12261 IFS=$as_save_IFS
12262 test -z "$as_dir" && as_dir=.
12263 for ac_exec_ext in '' $ac_executable_extensions; do
12264 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12265 ac_cv_prog_ac_ct_CC="$ac_prog"
12266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12267 break 2
12268 fi
12269 done
12270 done
12271
12272 fi
12273 fi
12274 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12275 if test -n "$ac_ct_CC"; then
12276 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12277 echo "${ECHO_T}$ac_ct_CC" >&6
12278 else
12279 echo "$as_me:$LINENO: result: no" >&5
12280 echo "${ECHO_T}no" >&6
12281 fi
12282
12283 test -n "$ac_ct_CC" && break
12284 done
12285
12286 CC=$ac_ct_CC
12287 fi
12288
12289 fi
12290
12291
12292 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12293 See \`config.log' for more details." >&5
12294 echo "$as_me: error: no acceptable C compiler found in \$PATH
12295 See \`config.log' for more details." >&2;}
12296 { (exit 1); exit 1; }; }
12297
12298 # Provide some information about the compiler.
12299 echo "$as_me:$LINENO:" \
12300 "checking for C compiler version" >&5
12301 ac_compiler=`set X $ac_compile; echo $2`
12302 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12303 (eval $ac_compiler --version </dev/null >&5) 2>&5
12304 ac_status=$?
12305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12306 (exit $ac_status); }
12307 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12308 (eval $ac_compiler -v </dev/null >&5) 2>&5
12309 ac_status=$?
12310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12311 (exit $ac_status); }
12312 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12313 (eval $ac_compiler -V </dev/null >&5) 2>&5
12314 ac_status=$?
12315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12316 (exit $ac_status); }
12317
12318 cat >conftest.$ac_ext <<_ACEOF
12319 /* confdefs.h. */
12320 _ACEOF
12321 cat confdefs.h >>conftest.$ac_ext
12322 cat >>conftest.$ac_ext <<_ACEOF
12323 /* end confdefs.h. */
12324
12325 int
12326 main ()
12327 {
12328
12329 ;
12330 return 0;
12331 }
12332 _ACEOF
12333 ac_clean_files_save=$ac_clean_files
12334 ac_clean_files="$ac_clean_files a.out a.exe b.out"
12335 # Try to create an executable without -o first, disregard a.out.
12336 # It will help us diagnose broken compilers, and finding out an intuition
12337 # of exeext.
12338 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12339 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12340 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12341 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12342 (eval $ac_link_default) 2>&5
12343 ac_status=$?
12344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12345 (exit $ac_status); }; then
12346 # Find the output, starting from the most likely. This scheme is
12347 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12348 # resort.
12349
12350 # Be careful to initialize this variable, since it used to be cached.
12351 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12352 ac_cv_exeext=
12353 # b.out is created by i960 compilers.
12354 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
12355 do
12356 test -f "$ac_file" || continue
12357 case $ac_file in
12358 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
12359 ;;
12360 conftest.$ac_ext )
12361 # This is the source file.
12362 ;;
12363 [ab].out )
12364 # We found the default executable, but exeext='' is most
12365 # certainly right.
12366 break;;
12367 *.* )
12368 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12369 # FIXME: I believe we export ac_cv_exeext for Libtool,
12370 # but it would be cool to find out if it's true. Does anybody
12371 # maintain Libtool? --akim.
12372 export ac_cv_exeext
12373 break;;
12374 * )
12375 break;;
12376 esac
12377 done
12378 else
12379 echo "$as_me: failed program was:" >&5
12380 sed 's/^/| /' conftest.$ac_ext >&5
12381
12382 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12383 See \`config.log' for more details." >&5
12384 echo "$as_me: error: C compiler cannot create executables
12385 See \`config.log' for more details." >&2;}
12386 { (exit 77); exit 77; }; }
12387 fi
12388
12389 ac_exeext=$ac_cv_exeext
12390 echo "$as_me:$LINENO: result: $ac_file" >&5
12391 echo "${ECHO_T}$ac_file" >&6
12392
12393 # Check the compiler produces executables we can run. If not, either
12394 # the compiler is broken, or we cross compile.
12395 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12396 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12397 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12398 # If not cross compiling, check that we can run a simple program.
12399 if test "$cross_compiling" != yes; then
12400 if { ac_try='./$ac_file'
12401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12402 (eval $ac_try) 2>&5
12403 ac_status=$?
12404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12405 (exit $ac_status); }; }; then
12406 cross_compiling=no
12407 else
12408 if test "$cross_compiling" = maybe; then
12409 cross_compiling=yes
12410 else
12411 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12412 If you meant to cross compile, use \`--host'.
12413 See \`config.log' for more details." >&5
12414 echo "$as_me: error: cannot run C compiled programs.
12415 If you meant to cross compile, use \`--host'.
12416 See \`config.log' for more details." >&2;}
12417 { (exit 1); exit 1; }; }
12418 fi
12419 fi
12420 fi
12421 echo "$as_me:$LINENO: result: yes" >&5
12422 echo "${ECHO_T}yes" >&6
12423
12424 rm -f a.out a.exe conftest$ac_cv_exeext b.out
12425 ac_clean_files=$ac_clean_files_save
12426 # Check the compiler produces executables we can run. If not, either
12427 # the compiler is broken, or we cross compile.
12428 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12429 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12430 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12431 echo "${ECHO_T}$cross_compiling" >&6
12432
12433 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12434 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12435 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12436 (eval $ac_link) 2>&5
12437 ac_status=$?
12438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12439 (exit $ac_status); }; then
12440 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12441 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12442 # work properly (i.e., refer to `conftest.exe'), while it won't with
12443 # `rm'.
12444 for ac_file in conftest.exe conftest conftest.*; do
12445 test -f "$ac_file" || continue
12446 case $ac_file in
12447 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
12448 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12449 export ac_cv_exeext
12450 break;;
12451 * ) break;;
12452 esac
12453 done
12454 else
12455 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12456 See \`config.log' for more details." >&5
12457 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12458 See \`config.log' for more details." >&2;}
12459 { (exit 1); exit 1; }; }
12460 fi
12461
12462 rm -f conftest$ac_cv_exeext
12463 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12464 echo "${ECHO_T}$ac_cv_exeext" >&6
12465
12466 rm -f conftest.$ac_ext
12467 EXEEXT=$ac_cv_exeext
12468 ac_exeext=$EXEEXT
12469 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12470 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12471 if test "${ac_cv_objext+set}" = set; then
12472 echo $ECHO_N "(cached) $ECHO_C" >&6
12473 else
12474 cat >conftest.$ac_ext <<_ACEOF
12475 /* confdefs.h. */
12476 _ACEOF
12477 cat confdefs.h >>conftest.$ac_ext
12478 cat >>conftest.$ac_ext <<_ACEOF
12479 /* end confdefs.h. */
12480
12481 int
12482 main ()
12483 {
12484
12485 ;
12486 return 0;
12487 }
12488 _ACEOF
12489 rm -f conftest.o conftest.obj
12490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12491 (eval $ac_compile) 2>&5
12492 ac_status=$?
12493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12494 (exit $ac_status); }; then
12495 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12496 case $ac_file in
12497 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12498 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12499 break;;
12500 esac
12501 done
12502 else
12503 echo "$as_me: failed program was:" >&5
12504 sed 's/^/| /' conftest.$ac_ext >&5
12505
12506 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12507 See \`config.log' for more details." >&5
12508 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12509 See \`config.log' for more details." >&2;}
12510 { (exit 1); exit 1; }; }
12511 fi
12512
12513 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12514 fi
12515 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12516 echo "${ECHO_T}$ac_cv_objext" >&6
12517 OBJEXT=$ac_cv_objext
12518 ac_objext=$OBJEXT
12519 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12520 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12521 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12522 echo $ECHO_N "(cached) $ECHO_C" >&6
12523 else
12524 cat >conftest.$ac_ext <<_ACEOF
12525 /* confdefs.h. */
12526 _ACEOF
12527 cat confdefs.h >>conftest.$ac_ext
12528 cat >>conftest.$ac_ext <<_ACEOF
12529 /* end confdefs.h. */
12530
12531 int
12532 main ()
12533 {
12534 #ifndef __GNUC__
12535 choke me
12536 #endif
12537
12538 ;
12539 return 0;
12540 }
12541 _ACEOF
12542 rm -f conftest.$ac_objext
12543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12544 (eval $ac_compile) 2>conftest.er1
12545 ac_status=$?
12546 grep -v '^ *+' conftest.er1 >conftest.err
12547 rm -f conftest.er1
12548 cat conftest.err >&5
12549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12550 (exit $ac_status); } &&
12551 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12553 (eval $ac_try) 2>&5
12554 ac_status=$?
12555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12556 (exit $ac_status); }; } &&
12557 { ac_try='test -s conftest.$ac_objext'
12558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12559 (eval $ac_try) 2>&5
12560 ac_status=$?
12561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12562 (exit $ac_status); }; }; then
12563 ac_compiler_gnu=yes
12564 else
12565 echo "$as_me: failed program was:" >&5
12566 sed 's/^/| /' conftest.$ac_ext >&5
12567
12568 ac_compiler_gnu=no
12569 fi
12570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12571 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12572
12573 fi
12574 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12575 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12576 GCC=`test $ac_compiler_gnu = yes && echo yes`
12577 ac_test_CFLAGS=${CFLAGS+set}
12578 ac_save_CFLAGS=$CFLAGS
12579 CFLAGS="-g"
12580 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12581 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12582 if test "${ac_cv_prog_cc_g+set}" = set; then
12583 echo $ECHO_N "(cached) $ECHO_C" >&6
12584 else
12585 cat >conftest.$ac_ext <<_ACEOF
12586 /* confdefs.h. */
12587 _ACEOF
12588 cat confdefs.h >>conftest.$ac_ext
12589 cat >>conftest.$ac_ext <<_ACEOF
12590 /* end confdefs.h. */
12591
12592 int
12593 main ()
12594 {
12595
12596 ;
12597 return 0;
12598 }
12599 _ACEOF
12600 rm -f conftest.$ac_objext
12601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12602 (eval $ac_compile) 2>conftest.er1
12603 ac_status=$?
12604 grep -v '^ *+' conftest.er1 >conftest.err
12605 rm -f conftest.er1
12606 cat conftest.err >&5
12607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12608 (exit $ac_status); } &&
12609 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12611 (eval $ac_try) 2>&5
12612 ac_status=$?
12613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12614 (exit $ac_status); }; } &&
12615 { ac_try='test -s conftest.$ac_objext'
12616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12617 (eval $ac_try) 2>&5
12618 ac_status=$?
12619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12620 (exit $ac_status); }; }; then
12621 ac_cv_prog_cc_g=yes
12622 else
12623 echo "$as_me: failed program was:" >&5
12624 sed 's/^/| /' conftest.$ac_ext >&5
12625
12626 ac_cv_prog_cc_g=no
12627 fi
12628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12629 fi
12630 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12631 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12632 if test "$ac_test_CFLAGS" = set; then
12633 CFLAGS=$ac_save_CFLAGS
12634 elif test $ac_cv_prog_cc_g = yes; then
12635 if test "$GCC" = yes; then
12636 CFLAGS="-g -O2"
12637 else
12638 CFLAGS="-g"
12639 fi
12640 else
12641 if test "$GCC" = yes; then
12642 CFLAGS="-O2"
12643 else
12644 CFLAGS=
12645 fi
12646 fi
12647 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12648 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12649 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12650 echo $ECHO_N "(cached) $ECHO_C" >&6
12651 else
12652 ac_cv_prog_cc_stdc=no
12653 ac_save_CC=$CC
12654 cat >conftest.$ac_ext <<_ACEOF
12655 /* confdefs.h. */
12656 _ACEOF
12657 cat confdefs.h >>conftest.$ac_ext
12658 cat >>conftest.$ac_ext <<_ACEOF
12659 /* end confdefs.h. */
12660 #include <stdarg.h>
12661 #include <stdio.h>
12662 #include <sys/types.h>
12663 #include <sys/stat.h>
12664 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12665 struct buf { int x; };
12666 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12667 static char *e (p, i)
12668 char **p;
12669 int i;
12670 {
12671 return p[i];
12672 }
12673 static char *f (char * (*g) (char **, int), char **p, ...)
12674 {
12675 char *s;
12676 va_list v;
12677 va_start (v,p);
12678 s = g (p, va_arg (v,int));
12679 va_end (v);
12680 return s;
12681 }
12682
12683 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12684 function prototypes and stuff, but not '\xHH' hex character constants.
12685 These don't provoke an error unfortunately, instead are silently treated
12686 as 'x'. The following induces an error, until -std1 is added to get
12687 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12688 array size at least. It's necessary to write '\x00'==0 to get something
12689 that's true only with -std1. */
12690 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12691
12692 int test (int i, double x);
12693 struct s1 {int (*f) (int a);};
12694 struct s2 {int (*f) (double a);};
12695 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12696 int argc;
12697 char **argv;
12698 int
12699 main ()
12700 {
12701 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12702 ;
12703 return 0;
12704 }
12705 _ACEOF
12706 # Don't try gcc -ansi; that turns off useful extensions and
12707 # breaks some systems' header files.
12708 # AIX -qlanglvl=ansi
12709 # Ultrix and OSF/1 -std1
12710 # HP-UX 10.20 and later -Ae
12711 # HP-UX older versions -Aa -D_HPUX_SOURCE
12712 # SVR4 -Xc -D__EXTENSIONS__
12713 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12714 do
12715 CC="$ac_save_CC $ac_arg"
12716 rm -f conftest.$ac_objext
12717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12718 (eval $ac_compile) 2>conftest.er1
12719 ac_status=$?
12720 grep -v '^ *+' conftest.er1 >conftest.err
12721 rm -f conftest.er1
12722 cat conftest.err >&5
12723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12724 (exit $ac_status); } &&
12725 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12727 (eval $ac_try) 2>&5
12728 ac_status=$?
12729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12730 (exit $ac_status); }; } &&
12731 { ac_try='test -s conftest.$ac_objext'
12732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12733 (eval $ac_try) 2>&5
12734 ac_status=$?
12735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12736 (exit $ac_status); }; }; then
12737 ac_cv_prog_cc_stdc=$ac_arg
12738 break
12739 else
12740 echo "$as_me: failed program was:" >&5
12741 sed 's/^/| /' conftest.$ac_ext >&5
12742
12743 fi
12744 rm -f conftest.err conftest.$ac_objext
12745 done
12746 rm -f conftest.$ac_ext conftest.$ac_objext
12747 CC=$ac_save_CC
12748
12749 fi
12750
12751 case "x$ac_cv_prog_cc_stdc" in
12752 x|xno)
12753 echo "$as_me:$LINENO: result: none needed" >&5
12754 echo "${ECHO_T}none needed" >&6 ;;
12755 *)
12756 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12757 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12758 CC="$CC $ac_cv_prog_cc_stdc" ;;
12759 esac
12760
12761 # Some people use a C++ compiler to compile C. Since we use `exit',
12762 # in C++ we need to declare it. In case someone uses the same compiler
12763 # for both compiling C and C++ we need to have the C++ compiler decide
12764 # the declaration of exit, since it's the most demanding environment.
12765 cat >conftest.$ac_ext <<_ACEOF
12766 #ifndef __cplusplus
12767 choke me
12768 #endif
12769 _ACEOF
12770 rm -f conftest.$ac_objext
12771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12772 (eval $ac_compile) 2>conftest.er1
12773 ac_status=$?
12774 grep -v '^ *+' conftest.er1 >conftest.err
12775 rm -f conftest.er1
12776 cat conftest.err >&5
12777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12778 (exit $ac_status); } &&
12779 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12781 (eval $ac_try) 2>&5
12782 ac_status=$?
12783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12784 (exit $ac_status); }; } &&
12785 { ac_try='test -s conftest.$ac_objext'
12786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12787 (eval $ac_try) 2>&5
12788 ac_status=$?
12789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12790 (exit $ac_status); }; }; then
12791 for ac_declaration in \
12792 '' \
12793 'extern "C" void std::exit (int) throw (); using std::exit;' \
12794 'extern "C" void std::exit (int); using std::exit;' \
12795 'extern "C" void exit (int) throw ();' \
12796 'extern "C" void exit (int);' \
12797 'void exit (int);'
12798 do
12799 cat >conftest.$ac_ext <<_ACEOF
12800 /* confdefs.h. */
12801 _ACEOF
12802 cat confdefs.h >>conftest.$ac_ext
12803 cat >>conftest.$ac_ext <<_ACEOF
12804 /* end confdefs.h. */
12805 $ac_declaration
12806 #include <stdlib.h>
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 :
12837 else
12838 echo "$as_me: failed program was:" >&5
12839 sed 's/^/| /' conftest.$ac_ext >&5
12840
12841 continue
12842 fi
12843 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12844 cat >conftest.$ac_ext <<_ACEOF
12845 /* confdefs.h. */
12846 _ACEOF
12847 cat confdefs.h >>conftest.$ac_ext
12848 cat >>conftest.$ac_ext <<_ACEOF
12849 /* end confdefs.h. */
12850 $ac_declaration
12851 int
12852 main ()
12853 {
12854 exit (42);
12855 ;
12856 return 0;
12857 }
12858 _ACEOF
12859 rm -f conftest.$ac_objext
12860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12861 (eval $ac_compile) 2>conftest.er1
12862 ac_status=$?
12863 grep -v '^ *+' conftest.er1 >conftest.err
12864 rm -f conftest.er1
12865 cat conftest.err >&5
12866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12867 (exit $ac_status); } &&
12868 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12870 (eval $ac_try) 2>&5
12871 ac_status=$?
12872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12873 (exit $ac_status); }; } &&
12874 { ac_try='test -s conftest.$ac_objext'
12875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12876 (eval $ac_try) 2>&5
12877 ac_status=$?
12878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12879 (exit $ac_status); }; }; then
12880 break
12881 else
12882 echo "$as_me: failed program was:" >&5
12883 sed 's/^/| /' conftest.$ac_ext >&5
12884
12885 fi
12886 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12887 done
12888 rm -f conftest*
12889 if test -n "$ac_declaration"; then
12890 echo '#ifdef __cplusplus' >>confdefs.h
12891 echo $ac_declaration >>confdefs.h
12892 echo '#endif' >>confdefs.h
12893 fi
12894
12895 else
12896 echo "$as_me: failed program was:" >&5
12897 sed 's/^/| /' conftest.$ac_ext >&5
12898
12899 fi
12900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12901 ac_ext=c
12902 ac_cpp='$CPP $CPPFLAGS'
12903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12906
12907
12908
12909 ac_ext=c
12910 ac_cpp='$CPP $CPPFLAGS'
12911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12914
12915 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12916 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12917 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12918 echo $ECHO_N "(cached) $ECHO_C" >&6
12919 else
12920 cat >conftest.$ac_ext <<_ACEOF
12921 /* confdefs.h. */
12922 _ACEOF
12923 cat confdefs.h >>conftest.$ac_ext
12924 cat >>conftest.$ac_ext <<_ACEOF
12925 /* end confdefs.h. */
12926
12927 int
12928 main ()
12929 {
12930
12931 #ifndef __INTEL_COMPILER
12932 choke me
12933 #endif
12934
12935 ;
12936 return 0;
12937 }
12938 _ACEOF
12939 rm -f conftest.$ac_objext
12940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12941 (eval $ac_compile) 2>conftest.er1
12942 ac_status=$?
12943 grep -v '^ *+' conftest.er1 >conftest.err
12944 rm -f conftest.er1
12945 cat conftest.err >&5
12946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12947 (exit $ac_status); } &&
12948 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12950 (eval $ac_try) 2>&5
12951 ac_status=$?
12952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12953 (exit $ac_status); }; } &&
12954 { ac_try='test -s conftest.$ac_objext'
12955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12956 (eval $ac_try) 2>&5
12957 ac_status=$?
12958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12959 (exit $ac_status); }; }; then
12960 bakefile_cv_c_compiler___INTEL_COMPILER=yes
12961 else
12962 echo "$as_me: failed program was:" >&5
12963 sed 's/^/| /' conftest.$ac_ext >&5
12964
12965 bakefile_cv_c_compiler___INTEL_COMPILER=no
12966
12967 fi
12968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12969
12970
12971 fi
12972 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12973 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12974 ac_ext=c
12975 ac_cpp='$CPP $CPPFLAGS'
12976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12979
12980 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12981 :; INTELCC=yes
12982 else
12983 :;
12984 fi
12985
12986
12987 if test "x$GCC" != "xyes"; then
12988 if test "xCC" = "xC"; then
12989 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12990 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12991 if test "${bakefile_cv_c_exto+set}" = set; then
12992 echo $ECHO_N "(cached) $ECHO_C" >&6
12993 else
12994 cat >conftest.$ac_ext <<_ACEOF
12995 /* confdefs.h. */
12996 _ACEOF
12997 cat confdefs.h >>conftest.$ac_ext
12998 cat >>conftest.$ac_ext <<_ACEOF
12999 /* end confdefs.h. */
13000
13001 int
13002 main ()
13003 {
13004
13005 ;
13006 return 0;
13007 }
13008 _ACEOF
13009 rm -f conftest.$ac_objext conftest.$ac_ext.o
13010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13011 (eval $ac_compile) 2>&5
13012 ac_status=$?
13013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13014 (exit $ac_status); }; then
13015 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13016 case $ac_file in
13017 conftest.$ac_ext.o)
13018 bakefile_cv_c_exto="-ext o"
13019 ;;
13020 *)
13021 ;;
13022 esac
13023 done
13024 else
13025 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13026 See \`config.log' for more details." >&5
13027 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13028 See \`config.log' for more details." >&2;}
13029 { (exit 1); exit 1; }; }
13030
13031 fi
13032
13033 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13034
13035 fi
13036 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13037 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
13038 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13039 if test "c" = "c"; then
13040 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13041 fi
13042 if test "c" = "cxx"; then
13043 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13044 fi
13045 fi
13046
13047 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13048 unset ac_cv_prog_cc_g
13049 ac_test_CFLAGS=${CFLAGS+set}
13050 ac_save_CFLAGS=$CFLAGS
13051 CFLAGS="-g"
13052 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13053 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13054 if test "${ac_cv_prog_cc_g+set}" = set; then
13055 echo $ECHO_N "(cached) $ECHO_C" >&6
13056 else
13057 cat >conftest.$ac_ext <<_ACEOF
13058 /* confdefs.h. */
13059 _ACEOF
13060 cat confdefs.h >>conftest.$ac_ext
13061 cat >>conftest.$ac_ext <<_ACEOF
13062 /* end confdefs.h. */
13063
13064 int
13065 main ()
13066 {
13067
13068 ;
13069 return 0;
13070 }
13071 _ACEOF
13072 rm -f conftest.$ac_objext
13073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13074 (eval $ac_compile) 2>conftest.er1
13075 ac_status=$?
13076 grep -v '^ *+' conftest.er1 >conftest.err
13077 rm -f conftest.er1
13078 cat conftest.err >&5
13079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13080 (exit $ac_status); } &&
13081 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13083 (eval $ac_try) 2>&5
13084 ac_status=$?
13085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13086 (exit $ac_status); }; } &&
13087 { ac_try='test -s conftest.$ac_objext'
13088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13089 (eval $ac_try) 2>&5
13090 ac_status=$?
13091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13092 (exit $ac_status); }; }; then
13093 ac_cv_prog_cc_g=yes
13094 else
13095 echo "$as_me: failed program was:" >&5
13096 sed 's/^/| /' conftest.$ac_ext >&5
13097
13098 ac_cv_prog_cc_g=no
13099 fi
13100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13101 fi
13102 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13103 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13104 if test "$ac_test_CFLAGS" = set; then
13105 CFLAGS=$ac_save_CFLAGS
13106 elif test $ac_cv_prog_cc_g = yes; then
13107 if test "$GCC" = yes; then
13108 CFLAGS="-g -O2"
13109 else
13110 CFLAGS="-g"
13111 fi
13112 else
13113 if test "$GCC" = yes; then
13114 CFLAGS="-O2"
13115 else
13116 CFLAGS=
13117 fi
13118 fi
13119 fi
13120 fi
13121
13122 case `uname -s` in
13123 AIX*)
13124 ac_ext=c
13125 ac_cpp='$CPP $CPPFLAGS'
13126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13129
13130 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13131 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13132 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13133 echo $ECHO_N "(cached) $ECHO_C" >&6
13134 else
13135 cat >conftest.$ac_ext <<_ACEOF
13136 /* confdefs.h. */
13137 _ACEOF
13138 cat confdefs.h >>conftest.$ac_ext
13139 cat >>conftest.$ac_ext <<_ACEOF
13140 /* end confdefs.h. */
13141
13142 int
13143 main ()
13144 {
13145 #ifndef __xlC__
13146 choke me
13147 #endif
13148
13149 ;
13150 return 0;
13151 }
13152 _ACEOF
13153 rm -f conftest.$ac_objext
13154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13155 (eval $ac_compile) 2>conftest.er1
13156 ac_status=$?
13157 grep -v '^ *+' conftest.er1 >conftest.err
13158 rm -f conftest.er1
13159 cat conftest.err >&5
13160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13161 (exit $ac_status); } &&
13162 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13164 (eval $ac_try) 2>&5
13165 ac_status=$?
13166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13167 (exit $ac_status); }; } &&
13168 { ac_try='test -s conftest.$ac_objext'
13169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13170 (eval $ac_try) 2>&5
13171 ac_status=$?
13172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13173 (exit $ac_status); }; }; then
13174 bakefile_compiler_xlc=yes
13175 else
13176 echo "$as_me: failed program was:" >&5
13177 sed 's/^/| /' conftest.$ac_ext >&5
13178
13179 bakefile_compiler_xlc=no
13180 fi
13181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13182 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13183
13184 fi
13185 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13186 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13187
13188 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13189 ac_ext=c
13190 ac_cpp='$CPP $CPPFLAGS'
13191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13194
13195
13196 ;;
13197
13198 Darwin)
13199 ac_ext=c
13200 ac_cpp='$CPP $CPPFLAGS'
13201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13204
13205 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13206 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13207 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13208 echo $ECHO_N "(cached) $ECHO_C" >&6
13209 else
13210 cat >conftest.$ac_ext <<_ACEOF
13211 /* confdefs.h. */
13212 _ACEOF
13213 cat confdefs.h >>conftest.$ac_ext
13214 cat >>conftest.$ac_ext <<_ACEOF
13215 /* end confdefs.h. */
13216
13217 int
13218 main ()
13219 {
13220 #ifndef __MWERKS__
13221 choke me
13222 #endif
13223
13224 ;
13225 return 0;
13226 }
13227 _ACEOF
13228 rm -f conftest.$ac_objext
13229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13230 (eval $ac_compile) 2>conftest.er1
13231 ac_status=$?
13232 grep -v '^ *+' conftest.er1 >conftest.err
13233 rm -f conftest.er1
13234 cat conftest.err >&5
13235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13236 (exit $ac_status); } &&
13237 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13239 (eval $ac_try) 2>&5
13240 ac_status=$?
13241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13242 (exit $ac_status); }; } &&
13243 { ac_try='test -s conftest.$ac_objext'
13244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13245 (eval $ac_try) 2>&5
13246 ac_status=$?
13247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13248 (exit $ac_status); }; }; then
13249 bakefile_compiler_mwerks=yes
13250 else
13251 echo "$as_me: failed program was:" >&5
13252 sed 's/^/| /' conftest.$ac_ext >&5
13253
13254 bakefile_compiler_mwerks=no
13255 fi
13256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13257 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
13258
13259 fi
13260 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13261 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13262
13263 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13264 ac_ext=c
13265 ac_cpp='$CPP $CPPFLAGS'
13266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13269
13270
13271 ac_ext=c
13272 ac_cpp='$CPP $CPPFLAGS'
13273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13276
13277 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13278 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13279 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13280 echo $ECHO_N "(cached) $ECHO_C" >&6
13281 else
13282 cat >conftest.$ac_ext <<_ACEOF
13283 /* confdefs.h. */
13284 _ACEOF
13285 cat confdefs.h >>conftest.$ac_ext
13286 cat >>conftest.$ac_ext <<_ACEOF
13287 /* end confdefs.h. */
13288
13289 int
13290 main ()
13291 {
13292 #ifndef __xlC__
13293 choke me
13294 #endif
13295
13296 ;
13297 return 0;
13298 }
13299 _ACEOF
13300 rm -f conftest.$ac_objext
13301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13302 (eval $ac_compile) 2>conftest.er1
13303 ac_status=$?
13304 grep -v '^ *+' conftest.er1 >conftest.err
13305 rm -f conftest.er1
13306 cat conftest.err >&5
13307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13308 (exit $ac_status); } &&
13309 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13311 (eval $ac_try) 2>&5
13312 ac_status=$?
13313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13314 (exit $ac_status); }; } &&
13315 { ac_try='test -s conftest.$ac_objext'
13316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13317 (eval $ac_try) 2>&5
13318 ac_status=$?
13319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13320 (exit $ac_status); }; }; then
13321 bakefile_compiler_xlc=yes
13322 else
13323 echo "$as_me: failed program was:" >&5
13324 sed 's/^/| /' conftest.$ac_ext >&5
13325
13326 bakefile_compiler_xlc=no
13327 fi
13328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13329 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13330
13331 fi
13332 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13333 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13334
13335 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13336 ac_ext=c
13337 ac_cpp='$CPP $CPPFLAGS'
13338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13341
13342
13343 ;;
13344
13345 IRIX*)
13346
13347
13348 ac_ext=c
13349 ac_cpp='$CPP $CPPFLAGS'
13350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13353
13354 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13355 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13356 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13357 echo $ECHO_N "(cached) $ECHO_C" >&6
13358 else
13359 cat >conftest.$ac_ext <<_ACEOF
13360 /* confdefs.h. */
13361 _ACEOF
13362 cat confdefs.h >>conftest.$ac_ext
13363 cat >>conftest.$ac_ext <<_ACEOF
13364 /* end confdefs.h. */
13365
13366 int
13367 main ()
13368 {
13369
13370 #ifndef _SGI_COMPILER_VERSION
13371 choke me
13372 #endif
13373
13374 ;
13375 return 0;
13376 }
13377 _ACEOF
13378 rm -f conftest.$ac_objext
13379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13380 (eval $ac_compile) 2>conftest.er1
13381 ac_status=$?
13382 grep -v '^ *+' conftest.er1 >conftest.err
13383 rm -f conftest.er1
13384 cat conftest.err >&5
13385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13386 (exit $ac_status); } &&
13387 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13389 (eval $ac_try) 2>&5
13390 ac_status=$?
13391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13392 (exit $ac_status); }; } &&
13393 { ac_try='test -s conftest.$ac_objext'
13394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13395 (eval $ac_try) 2>&5
13396 ac_status=$?
13397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13398 (exit $ac_status); }; }; then
13399 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
13400 else
13401 echo "$as_me: failed program was:" >&5
13402 sed 's/^/| /' conftest.$ac_ext >&5
13403
13404 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
13405
13406 fi
13407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13408
13409
13410 fi
13411 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13412 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13413 ac_ext=c
13414 ac_cpp='$CPP $CPPFLAGS'
13415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13418
13419 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13420 :; SGICC=yes
13421 else
13422 :;
13423 fi
13424
13425
13426 ;;
13427
13428 HP-UX*)
13429
13430
13431 ac_ext=c
13432 ac_cpp='$CPP $CPPFLAGS'
13433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13436
13437 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13438 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13439 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13440 echo $ECHO_N "(cached) $ECHO_C" >&6
13441 else
13442 cat >conftest.$ac_ext <<_ACEOF
13443 /* confdefs.h. */
13444 _ACEOF
13445 cat confdefs.h >>conftest.$ac_ext
13446 cat >>conftest.$ac_ext <<_ACEOF
13447 /* end confdefs.h. */
13448
13449 int
13450 main ()
13451 {
13452
13453 #ifndef __HP_cc
13454 choke me
13455 #endif
13456
13457 ;
13458 return 0;
13459 }
13460 _ACEOF
13461 rm -f conftest.$ac_objext
13462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13463 (eval $ac_compile) 2>conftest.er1
13464 ac_status=$?
13465 grep -v '^ *+' conftest.er1 >conftest.err
13466 rm -f conftest.er1
13467 cat conftest.err >&5
13468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13469 (exit $ac_status); } &&
13470 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13472 (eval $ac_try) 2>&5
13473 ac_status=$?
13474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13475 (exit $ac_status); }; } &&
13476 { ac_try='test -s conftest.$ac_objext'
13477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13478 (eval $ac_try) 2>&5
13479 ac_status=$?
13480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13481 (exit $ac_status); }; }; then
13482 bakefile_cv_c_compiler___HP_cc=yes
13483 else
13484 echo "$as_me: failed program was:" >&5
13485 sed 's/^/| /' conftest.$ac_ext >&5
13486
13487 bakefile_cv_c_compiler___HP_cc=no
13488
13489 fi
13490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13491
13492
13493 fi
13494 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13495 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13496 ac_ext=c
13497 ac_cpp='$CPP $CPPFLAGS'
13498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13501
13502 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13503 :; HPCC=yes
13504 else
13505 :;
13506 fi
13507
13508
13509 ;;
13510
13511 OSF1)
13512
13513
13514 ac_ext=c
13515 ac_cpp='$CPP $CPPFLAGS'
13516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13519
13520 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13521 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13522 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13523 echo $ECHO_N "(cached) $ECHO_C" >&6
13524 else
13525 cat >conftest.$ac_ext <<_ACEOF
13526 /* confdefs.h. */
13527 _ACEOF
13528 cat confdefs.h >>conftest.$ac_ext
13529 cat >>conftest.$ac_ext <<_ACEOF
13530 /* end confdefs.h. */
13531
13532 int
13533 main ()
13534 {
13535
13536 #ifndef __DECC
13537 choke me
13538 #endif
13539
13540 ;
13541 return 0;
13542 }
13543 _ACEOF
13544 rm -f conftest.$ac_objext
13545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13546 (eval $ac_compile) 2>conftest.er1
13547 ac_status=$?
13548 grep -v '^ *+' conftest.er1 >conftest.err
13549 rm -f conftest.er1
13550 cat conftest.err >&5
13551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13552 (exit $ac_status); } &&
13553 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13555 (eval $ac_try) 2>&5
13556 ac_status=$?
13557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13558 (exit $ac_status); }; } &&
13559 { ac_try='test -s conftest.$ac_objext'
13560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13561 (eval $ac_try) 2>&5
13562 ac_status=$?
13563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13564 (exit $ac_status); }; }; then
13565 bakefile_cv_c_compiler___DECC=yes
13566 else
13567 echo "$as_me: failed program was:" >&5
13568 sed 's/^/| /' conftest.$ac_ext >&5
13569
13570 bakefile_cv_c_compiler___DECC=no
13571
13572 fi
13573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13574
13575
13576 fi
13577 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13578 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13579 ac_ext=c
13580 ac_cpp='$CPP $CPPFLAGS'
13581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13584
13585 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13586 :; COMPAQCC=yes
13587 else
13588 :;
13589 fi
13590
13591
13592 ;;
13593
13594 SunOS)
13595
13596
13597 ac_ext=c
13598 ac_cpp='$CPP $CPPFLAGS'
13599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13602
13603 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13604 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13605 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13606 echo $ECHO_N "(cached) $ECHO_C" >&6
13607 else
13608 cat >conftest.$ac_ext <<_ACEOF
13609 /* confdefs.h. */
13610 _ACEOF
13611 cat confdefs.h >>conftest.$ac_ext
13612 cat >>conftest.$ac_ext <<_ACEOF
13613 /* end confdefs.h. */
13614
13615 int
13616 main ()
13617 {
13618
13619 #ifndef __SUNPRO_C
13620 choke me
13621 #endif
13622
13623 ;
13624 return 0;
13625 }
13626 _ACEOF
13627 rm -f conftest.$ac_objext
13628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13629 (eval $ac_compile) 2>conftest.er1
13630 ac_status=$?
13631 grep -v '^ *+' conftest.er1 >conftest.err
13632 rm -f conftest.er1
13633 cat conftest.err >&5
13634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13635 (exit $ac_status); } &&
13636 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13638 (eval $ac_try) 2>&5
13639 ac_status=$?
13640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13641 (exit $ac_status); }; } &&
13642 { ac_try='test -s conftest.$ac_objext'
13643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13644 (eval $ac_try) 2>&5
13645 ac_status=$?
13646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13647 (exit $ac_status); }; }; then
13648 bakefile_cv_c_compiler___SUNPRO_C=yes
13649 else
13650 echo "$as_me: failed program was:" >&5
13651 sed 's/^/| /' conftest.$ac_ext >&5
13652
13653 bakefile_cv_c_compiler___SUNPRO_C=no
13654
13655 fi
13656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13657
13658
13659 fi
13660 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13661 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13662 ac_ext=c
13663 ac_cpp='$CPP $CPPFLAGS'
13664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13667
13668 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13669 :; SUNCC=yes
13670 else
13671 :;
13672 fi
13673
13674
13675 ;;
13676 esac
13677 fi
13678
13679
13680
13681 ac_ext=c
13682 ac_cpp='$CPP $CPPFLAGS'
13683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13686 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13687 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13688 # On Suns, sometimes $CPP names a directory.
13689 if test -n "$CPP" && test -d "$CPP"; then
13690 CPP=
13691 fi
13692 if test -z "$CPP"; then
13693 if test "${ac_cv_prog_CPP+set}" = set; then
13694 echo $ECHO_N "(cached) $ECHO_C" >&6
13695 else
13696 # Double quotes because CPP needs to be expanded
13697 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13698 do
13699 ac_preproc_ok=false
13700 for ac_c_preproc_warn_flag in '' yes
13701 do
13702 # Use a header file that comes with gcc, so configuring glibc
13703 # with a fresh cross-compiler works.
13704 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13705 # <limits.h> exists even on freestanding compilers.
13706 # On the NeXT, cc -E runs the code through the compiler's parser,
13707 # not just through cpp. "Syntax error" is here to catch this case.
13708 cat >conftest.$ac_ext <<_ACEOF
13709 /* confdefs.h. */
13710 _ACEOF
13711 cat confdefs.h >>conftest.$ac_ext
13712 cat >>conftest.$ac_ext <<_ACEOF
13713 /* end confdefs.h. */
13714 #ifdef __STDC__
13715 # include <limits.h>
13716 #else
13717 # include <assert.h>
13718 #endif
13719 Syntax error
13720 _ACEOF
13721 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13722 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13723 ac_status=$?
13724 grep -v '^ *+' conftest.er1 >conftest.err
13725 rm -f conftest.er1
13726 cat conftest.err >&5
13727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13728 (exit $ac_status); } >/dev/null; then
13729 if test -s conftest.err; then
13730 ac_cpp_err=$ac_c_preproc_warn_flag
13731 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13732 else
13733 ac_cpp_err=
13734 fi
13735 else
13736 ac_cpp_err=yes
13737 fi
13738 if test -z "$ac_cpp_err"; then
13739 :
13740 else
13741 echo "$as_me: failed program was:" >&5
13742 sed 's/^/| /' conftest.$ac_ext >&5
13743
13744 # Broken: fails on valid input.
13745 continue
13746 fi
13747 rm -f conftest.err conftest.$ac_ext
13748
13749 # OK, works on sane cases. Now check whether non-existent headers
13750 # can be detected and how.
13751 cat >conftest.$ac_ext <<_ACEOF
13752 /* confdefs.h. */
13753 _ACEOF
13754 cat confdefs.h >>conftest.$ac_ext
13755 cat >>conftest.$ac_ext <<_ACEOF
13756 /* end confdefs.h. */
13757 #include <ac_nonexistent.h>
13758 _ACEOF
13759 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13760 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13761 ac_status=$?
13762 grep -v '^ *+' conftest.er1 >conftest.err
13763 rm -f conftest.er1
13764 cat conftest.err >&5
13765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13766 (exit $ac_status); } >/dev/null; then
13767 if test -s conftest.err; then
13768 ac_cpp_err=$ac_c_preproc_warn_flag
13769 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13770 else
13771 ac_cpp_err=
13772 fi
13773 else
13774 ac_cpp_err=yes
13775 fi
13776 if test -z "$ac_cpp_err"; then
13777 # Broken: success on invalid input.
13778 continue
13779 else
13780 echo "$as_me: failed program was:" >&5
13781 sed 's/^/| /' conftest.$ac_ext >&5
13782
13783 # Passes both tests.
13784 ac_preproc_ok=:
13785 break
13786 fi
13787 rm -f conftest.err conftest.$ac_ext
13788
13789 done
13790 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13791 rm -f conftest.err conftest.$ac_ext
13792 if $ac_preproc_ok; then
13793 break
13794 fi
13795
13796 done
13797 ac_cv_prog_CPP=$CPP
13798
13799 fi
13800 CPP=$ac_cv_prog_CPP
13801 else
13802 ac_cv_prog_CPP=$CPP
13803 fi
13804 echo "$as_me:$LINENO: result: $CPP" >&5
13805 echo "${ECHO_T}$CPP" >&6
13806 ac_preproc_ok=false
13807 for ac_c_preproc_warn_flag in '' yes
13808 do
13809 # Use a header file that comes with gcc, so configuring glibc
13810 # with a fresh cross-compiler works.
13811 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13812 # <limits.h> exists even on freestanding compilers.
13813 # On the NeXT, cc -E runs the code through the compiler's parser,
13814 # not just through cpp. "Syntax error" is here to catch this case.
13815 cat >conftest.$ac_ext <<_ACEOF
13816 /* confdefs.h. */
13817 _ACEOF
13818 cat confdefs.h >>conftest.$ac_ext
13819 cat >>conftest.$ac_ext <<_ACEOF
13820 /* end confdefs.h. */
13821 #ifdef __STDC__
13822 # include <limits.h>
13823 #else
13824 # include <assert.h>
13825 #endif
13826 Syntax error
13827 _ACEOF
13828 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13829 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13830 ac_status=$?
13831 grep -v '^ *+' conftest.er1 >conftest.err
13832 rm -f conftest.er1
13833 cat conftest.err >&5
13834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13835 (exit $ac_status); } >/dev/null; then
13836 if test -s conftest.err; then
13837 ac_cpp_err=$ac_c_preproc_warn_flag
13838 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13839 else
13840 ac_cpp_err=
13841 fi
13842 else
13843 ac_cpp_err=yes
13844 fi
13845 if test -z "$ac_cpp_err"; then
13846 :
13847 else
13848 echo "$as_me: failed program was:" >&5
13849 sed 's/^/| /' conftest.$ac_ext >&5
13850
13851 # Broken: fails on valid input.
13852 continue
13853 fi
13854 rm -f conftest.err conftest.$ac_ext
13855
13856 # OK, works on sane cases. Now check whether non-existent headers
13857 # can be detected and how.
13858 cat >conftest.$ac_ext <<_ACEOF
13859 /* confdefs.h. */
13860 _ACEOF
13861 cat confdefs.h >>conftest.$ac_ext
13862 cat >>conftest.$ac_ext <<_ACEOF
13863 /* end confdefs.h. */
13864 #include <ac_nonexistent.h>
13865 _ACEOF
13866 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13867 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13868 ac_status=$?
13869 grep -v '^ *+' conftest.er1 >conftest.err
13870 rm -f conftest.er1
13871 cat conftest.err >&5
13872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13873 (exit $ac_status); } >/dev/null; then
13874 if test -s conftest.err; then
13875 ac_cpp_err=$ac_c_preproc_warn_flag
13876 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13877 else
13878 ac_cpp_err=
13879 fi
13880 else
13881 ac_cpp_err=yes
13882 fi
13883 if test -z "$ac_cpp_err"; then
13884 # Broken: success on invalid input.
13885 continue
13886 else
13887 echo "$as_me: failed program was:" >&5
13888 sed 's/^/| /' conftest.$ac_ext >&5
13889
13890 # Passes both tests.
13891 ac_preproc_ok=:
13892 break
13893 fi
13894 rm -f conftest.err conftest.$ac_ext
13895
13896 done
13897 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13898 rm -f conftest.err conftest.$ac_ext
13899 if $ac_preproc_ok; then
13900 :
13901 else
13902 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13903 See \`config.log' for more details." >&5
13904 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13905 See \`config.log' for more details." >&2;}
13906 { (exit 1); exit 1; }; }
13907 fi
13908
13909 ac_ext=c
13910 ac_cpp='$CPP $CPPFLAGS'
13911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13914
13915
13916 echo "$as_me:$LINENO: checking for egrep" >&5
13917 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13918 if test "${ac_cv_prog_egrep+set}" = set; then
13919 echo $ECHO_N "(cached) $ECHO_C" >&6
13920 else
13921 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13922 then ac_cv_prog_egrep='grep -E'
13923 else ac_cv_prog_egrep='egrep'
13924 fi
13925 fi
13926 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13927 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13928 EGREP=$ac_cv_prog_egrep
13929
13930
13931 if test $ac_cv_c_compiler_gnu = yes; then
13932 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13933 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13934 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13935 echo $ECHO_N "(cached) $ECHO_C" >&6
13936 else
13937 ac_pattern="Autoconf.*'x'"
13938 cat >conftest.$ac_ext <<_ACEOF
13939 /* confdefs.h. */
13940 _ACEOF
13941 cat confdefs.h >>conftest.$ac_ext
13942 cat >>conftest.$ac_ext <<_ACEOF
13943 /* end confdefs.h. */
13944 #include <sgtty.h>
13945 Autoconf TIOCGETP
13946 _ACEOF
13947 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13948 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13949 ac_cv_prog_gcc_traditional=yes
13950 else
13951 ac_cv_prog_gcc_traditional=no
13952 fi
13953 rm -f conftest*
13954
13955
13956 if test $ac_cv_prog_gcc_traditional = no; then
13957 cat >conftest.$ac_ext <<_ACEOF
13958 /* confdefs.h. */
13959 _ACEOF
13960 cat confdefs.h >>conftest.$ac_ext
13961 cat >>conftest.$ac_ext <<_ACEOF
13962 /* end confdefs.h. */
13963 #include <termio.h>
13964 Autoconf TCGETA
13965 _ACEOF
13966 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13967 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13968 ac_cv_prog_gcc_traditional=yes
13969 fi
13970 rm -f conftest*
13971
13972 fi
13973 fi
13974 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13975 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13976 if test $ac_cv_prog_gcc_traditional = yes; then
13977 CC="$CC -traditional"
13978 fi
13979 fi
13980
13981
13982 ac_ext=cc
13983 ac_cpp='$CXXCPP $CPPFLAGS'
13984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13987
13988
13989 CXXFLAGS=${CXXFLAGS:=}
13990
13991
13992
13993 ac_ext=cc
13994 ac_cpp='$CXXCPP $CPPFLAGS'
13995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13998 if test -n "$ac_tool_prefix"; then
13999 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
14000 do
14001 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14002 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14003 echo "$as_me:$LINENO: checking for $ac_word" >&5
14004 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14005 if test "${ac_cv_prog_CXX+set}" = set; then
14006 echo $ECHO_N "(cached) $ECHO_C" >&6
14007 else
14008 if test -n "$CXX"; then
14009 ac_cv_prog_CXX="$CXX" # Let the user override the test.
14010 else
14011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14012 for as_dir in $PATH
14013 do
14014 IFS=$as_save_IFS
14015 test -z "$as_dir" && as_dir=.
14016 for ac_exec_ext in '' $ac_executable_extensions; do
14017 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14018 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
14019 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14020 break 2
14021 fi
14022 done
14023 done
14024
14025 fi
14026 fi
14027 CXX=$ac_cv_prog_CXX
14028 if test -n "$CXX"; then
14029 echo "$as_me:$LINENO: result: $CXX" >&5
14030 echo "${ECHO_T}$CXX" >&6
14031 else
14032 echo "$as_me:$LINENO: result: no" >&5
14033 echo "${ECHO_T}no" >&6
14034 fi
14035
14036 test -n "$CXX" && break
14037 done
14038 fi
14039 if test -z "$CXX"; then
14040 ac_ct_CXX=$CXX
14041 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
14042 do
14043 # Extract the first word of "$ac_prog", so it can be a program name with args.
14044 set dummy $ac_prog; ac_word=$2
14045 echo "$as_me:$LINENO: checking for $ac_word" >&5
14046 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14047 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
14048 echo $ECHO_N "(cached) $ECHO_C" >&6
14049 else
14050 if test -n "$ac_ct_CXX"; then
14051 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
14052 else
14053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14054 for as_dir in $PATH
14055 do
14056 IFS=$as_save_IFS
14057 test -z "$as_dir" && as_dir=.
14058 for ac_exec_ext in '' $ac_executable_extensions; do
14059 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14060 ac_cv_prog_ac_ct_CXX="$ac_prog"
14061 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14062 break 2
14063 fi
14064 done
14065 done
14066
14067 fi
14068 fi
14069 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
14070 if test -n "$ac_ct_CXX"; then
14071 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
14072 echo "${ECHO_T}$ac_ct_CXX" >&6
14073 else
14074 echo "$as_me:$LINENO: result: no" >&5
14075 echo "${ECHO_T}no" >&6
14076 fi
14077
14078 test -n "$ac_ct_CXX" && break
14079 done
14080 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
14081
14082 CXX=$ac_ct_CXX
14083 fi
14084
14085
14086 # Provide some information about the compiler.
14087 echo "$as_me:$LINENO:" \
14088 "checking for C++ compiler version" >&5
14089 ac_compiler=`set X $ac_compile; echo $2`
14090 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
14091 (eval $ac_compiler --version </dev/null >&5) 2>&5
14092 ac_status=$?
14093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14094 (exit $ac_status); }
14095 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
14096 (eval $ac_compiler -v </dev/null >&5) 2>&5
14097 ac_status=$?
14098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14099 (exit $ac_status); }
14100 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
14101 (eval $ac_compiler -V </dev/null >&5) 2>&5
14102 ac_status=$?
14103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14104 (exit $ac_status); }
14105
14106 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
14107 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
14108 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
14109 echo $ECHO_N "(cached) $ECHO_C" >&6
14110 else
14111 cat >conftest.$ac_ext <<_ACEOF
14112 /* confdefs.h. */
14113 _ACEOF
14114 cat confdefs.h >>conftest.$ac_ext
14115 cat >>conftest.$ac_ext <<_ACEOF
14116 /* end confdefs.h. */
14117
14118 int
14119 main ()
14120 {
14121 #ifndef __GNUC__
14122 choke me
14123 #endif
14124
14125 ;
14126 return 0;
14127 }
14128 _ACEOF
14129 rm -f conftest.$ac_objext
14130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14131 (eval $ac_compile) 2>conftest.er1
14132 ac_status=$?
14133 grep -v '^ *+' conftest.er1 >conftest.err
14134 rm -f conftest.er1
14135 cat conftest.err >&5
14136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14137 (exit $ac_status); } &&
14138 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14140 (eval $ac_try) 2>&5
14141 ac_status=$?
14142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14143 (exit $ac_status); }; } &&
14144 { ac_try='test -s conftest.$ac_objext'
14145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14146 (eval $ac_try) 2>&5
14147 ac_status=$?
14148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14149 (exit $ac_status); }; }; then
14150 ac_compiler_gnu=yes
14151 else
14152 echo "$as_me: failed program was:" >&5
14153 sed 's/^/| /' conftest.$ac_ext >&5
14154
14155 ac_compiler_gnu=no
14156 fi
14157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14158 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14159
14160 fi
14161 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
14162 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
14163 GXX=`test $ac_compiler_gnu = yes && echo yes`
14164 ac_test_CXXFLAGS=${CXXFLAGS+set}
14165 ac_save_CXXFLAGS=$CXXFLAGS
14166 CXXFLAGS="-g"
14167 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
14168 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
14169 if test "${ac_cv_prog_cxx_g+set}" = set; then
14170 echo $ECHO_N "(cached) $ECHO_C" >&6
14171 else
14172 cat >conftest.$ac_ext <<_ACEOF
14173 /* confdefs.h. */
14174 _ACEOF
14175 cat confdefs.h >>conftest.$ac_ext
14176 cat >>conftest.$ac_ext <<_ACEOF
14177 /* end confdefs.h. */
14178
14179 int
14180 main ()
14181 {
14182
14183 ;
14184 return 0;
14185 }
14186 _ACEOF
14187 rm -f conftest.$ac_objext
14188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14189 (eval $ac_compile) 2>conftest.er1
14190 ac_status=$?
14191 grep -v '^ *+' conftest.er1 >conftest.err
14192 rm -f conftest.er1
14193 cat conftest.err >&5
14194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14195 (exit $ac_status); } &&
14196 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14198 (eval $ac_try) 2>&5
14199 ac_status=$?
14200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14201 (exit $ac_status); }; } &&
14202 { ac_try='test -s conftest.$ac_objext'
14203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14204 (eval $ac_try) 2>&5
14205 ac_status=$?
14206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14207 (exit $ac_status); }; }; then
14208 ac_cv_prog_cxx_g=yes
14209 else
14210 echo "$as_me: failed program was:" >&5
14211 sed 's/^/| /' conftest.$ac_ext >&5
14212
14213 ac_cv_prog_cxx_g=no
14214 fi
14215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14216 fi
14217 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14218 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14219 if test "$ac_test_CXXFLAGS" = set; then
14220 CXXFLAGS=$ac_save_CXXFLAGS
14221 elif test $ac_cv_prog_cxx_g = yes; then
14222 if test "$GXX" = yes; then
14223 CXXFLAGS="-g -O2"
14224 else
14225 CXXFLAGS="-g"
14226 fi
14227 else
14228 if test "$GXX" = yes; then
14229 CXXFLAGS="-O2"
14230 else
14231 CXXFLAGS=
14232 fi
14233 fi
14234 for ac_declaration in \
14235 '' \
14236 'extern "C" void std::exit (int) throw (); using std::exit;' \
14237 'extern "C" void std::exit (int); using std::exit;' \
14238 'extern "C" void exit (int) throw ();' \
14239 'extern "C" void exit (int);' \
14240 'void exit (int);'
14241 do
14242 cat >conftest.$ac_ext <<_ACEOF
14243 /* confdefs.h. */
14244 _ACEOF
14245 cat confdefs.h >>conftest.$ac_ext
14246 cat >>conftest.$ac_ext <<_ACEOF
14247 /* end confdefs.h. */
14248 $ac_declaration
14249 #include <stdlib.h>
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 :
14280 else
14281 echo "$as_me: failed program was:" >&5
14282 sed 's/^/| /' conftest.$ac_ext >&5
14283
14284 continue
14285 fi
14286 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14287 cat >conftest.$ac_ext <<_ACEOF
14288 /* confdefs.h. */
14289 _ACEOF
14290 cat confdefs.h >>conftest.$ac_ext
14291 cat >>conftest.$ac_ext <<_ACEOF
14292 /* end confdefs.h. */
14293 $ac_declaration
14294 int
14295 main ()
14296 {
14297 exit (42);
14298 ;
14299 return 0;
14300 }
14301 _ACEOF
14302 rm -f conftest.$ac_objext
14303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14304 (eval $ac_compile) 2>conftest.er1
14305 ac_status=$?
14306 grep -v '^ *+' conftest.er1 >conftest.err
14307 rm -f conftest.er1
14308 cat conftest.err >&5
14309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14310 (exit $ac_status); } &&
14311 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14313 (eval $ac_try) 2>&5
14314 ac_status=$?
14315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14316 (exit $ac_status); }; } &&
14317 { ac_try='test -s conftest.$ac_objext'
14318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14319 (eval $ac_try) 2>&5
14320 ac_status=$?
14321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14322 (exit $ac_status); }; }; then
14323 break
14324 else
14325 echo "$as_me: failed program was:" >&5
14326 sed 's/^/| /' conftest.$ac_ext >&5
14327
14328 fi
14329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14330 done
14331 rm -f conftest*
14332 if test -n "$ac_declaration"; then
14333 echo '#ifdef __cplusplus' >>confdefs.h
14334 echo $ac_declaration >>confdefs.h
14335 echo '#endif' >>confdefs.h
14336 fi
14337
14338 ac_ext=cc
14339 ac_cpp='$CXXCPP $CPPFLAGS'
14340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14343
14344
14345
14346 ac_ext=cc
14347 ac_cpp='$CXXCPP $CPPFLAGS'
14348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14351
14352 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14353 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14354 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14355 echo $ECHO_N "(cached) $ECHO_C" >&6
14356 else
14357 cat >conftest.$ac_ext <<_ACEOF
14358 /* confdefs.h. */
14359 _ACEOF
14360 cat confdefs.h >>conftest.$ac_ext
14361 cat >>conftest.$ac_ext <<_ACEOF
14362 /* end confdefs.h. */
14363
14364 int
14365 main ()
14366 {
14367
14368 #ifndef __INTEL_COMPILER
14369 choke me
14370 #endif
14371
14372 ;
14373 return 0;
14374 }
14375 _ACEOF
14376 rm -f conftest.$ac_objext
14377 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14378 (eval $ac_compile) 2>conftest.er1
14379 ac_status=$?
14380 grep -v '^ *+' conftest.er1 >conftest.err
14381 rm -f conftest.er1
14382 cat conftest.err >&5
14383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14384 (exit $ac_status); } &&
14385 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14387 (eval $ac_try) 2>&5
14388 ac_status=$?
14389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14390 (exit $ac_status); }; } &&
14391 { ac_try='test -s conftest.$ac_objext'
14392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14393 (eval $ac_try) 2>&5
14394 ac_status=$?
14395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14396 (exit $ac_status); }; }; then
14397 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
14398 else
14399 echo "$as_me: failed program was:" >&5
14400 sed 's/^/| /' conftest.$ac_ext >&5
14401
14402 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
14403
14404 fi
14405 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14406
14407
14408 fi
14409 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14410 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14411 ac_ext=cc
14412 ac_cpp='$CXXCPP $CPPFLAGS'
14413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14416
14417 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14418 :; INTELCXX=yes
14419 else
14420 :;
14421 fi
14422
14423
14424 if test "x$GCXX" != "xyes"; then
14425 if test "xCXX" = "xC"; then
14426 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14427 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14428 if test "${bakefile_cv_cxx_exto+set}" = set; then
14429 echo $ECHO_N "(cached) $ECHO_C" >&6
14430 else
14431 cat >conftest.$ac_ext <<_ACEOF
14432 /* confdefs.h. */
14433 _ACEOF
14434 cat confdefs.h >>conftest.$ac_ext
14435 cat >>conftest.$ac_ext <<_ACEOF
14436 /* end confdefs.h. */
14437
14438 int
14439 main ()
14440 {
14441
14442 ;
14443 return 0;
14444 }
14445 _ACEOF
14446 rm -f conftest.$ac_objext conftest.$ac_ext.o
14447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14448 (eval $ac_compile) 2>&5
14449 ac_status=$?
14450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14451 (exit $ac_status); }; then
14452 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14453 case $ac_file in
14454 conftest.$ac_ext.o)
14455 bakefile_cv_cxx_exto="-ext o"
14456 ;;
14457 *)
14458 ;;
14459 esac
14460 done
14461 else
14462 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14463 See \`config.log' for more details." >&5
14464 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14465 See \`config.log' for more details." >&2;}
14466 { (exit 1); exit 1; }; }
14467
14468 fi
14469
14470 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14471
14472 fi
14473 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14474 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14475 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14476 if test "cxx" = "c"; then
14477 CFLAGS="$bakefile_cv_cxx_exto $CFLAGS"
14478 fi
14479 if test "cxx" = "cxx"; then
14480 CXXFLAGS="$bakefile_cv_cxx_exto $CXXFLAGS"
14481 fi
14482 fi
14483
14484 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14485 unset ac_cv_prog_cc_g
14486 ac_test_CFLAGS=${CFLAGS+set}
14487 ac_save_CFLAGS=$CFLAGS
14488 CFLAGS="-g"
14489 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14490 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14491 if test "${ac_cv_prog_cc_g+set}" = set; then
14492 echo $ECHO_N "(cached) $ECHO_C" >&6
14493 else
14494 cat >conftest.$ac_ext <<_ACEOF
14495 /* confdefs.h. */
14496 _ACEOF
14497 cat confdefs.h >>conftest.$ac_ext
14498 cat >>conftest.$ac_ext <<_ACEOF
14499 /* end confdefs.h. */
14500
14501 int
14502 main ()
14503 {
14504
14505 ;
14506 return 0;
14507 }
14508 _ACEOF
14509 rm -f conftest.$ac_objext
14510 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14511 (eval $ac_compile) 2>conftest.er1
14512 ac_status=$?
14513 grep -v '^ *+' conftest.er1 >conftest.err
14514 rm -f conftest.er1
14515 cat conftest.err >&5
14516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14517 (exit $ac_status); } &&
14518 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14520 (eval $ac_try) 2>&5
14521 ac_status=$?
14522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14523 (exit $ac_status); }; } &&
14524 { ac_try='test -s conftest.$ac_objext'
14525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14526 (eval $ac_try) 2>&5
14527 ac_status=$?
14528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14529 (exit $ac_status); }; }; then
14530 ac_cv_prog_cc_g=yes
14531 else
14532 echo "$as_me: failed program was:" >&5
14533 sed 's/^/| /' conftest.$ac_ext >&5
14534
14535 ac_cv_prog_cc_g=no
14536 fi
14537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14538 fi
14539 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14540 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14541 if test "$ac_test_CFLAGS" = set; then
14542 CFLAGS=$ac_save_CFLAGS
14543 elif test $ac_cv_prog_cc_g = yes; then
14544 if test "$GCC" = yes; then
14545 CFLAGS="-g -O2"
14546 else
14547 CFLAGS="-g"
14548 fi
14549 else
14550 if test "$GCC" = yes; then
14551 CFLAGS="-O2"
14552 else
14553 CFLAGS=
14554 fi
14555 fi
14556 fi
14557 fi
14558
14559 case `uname -s` in
14560 AIX*)
14561 ac_ext=cc
14562 ac_cpp='$CXXCPP $CPPFLAGS'
14563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14566
14567 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14568 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14569 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14570 echo $ECHO_N "(cached) $ECHO_C" >&6
14571 else
14572 cat >conftest.$ac_ext <<_ACEOF
14573 /* confdefs.h. */
14574 _ACEOF
14575 cat confdefs.h >>conftest.$ac_ext
14576 cat >>conftest.$ac_ext <<_ACEOF
14577 /* end confdefs.h. */
14578
14579 int
14580 main ()
14581 {
14582 #ifndef __xlC__
14583 choke me
14584 #endif
14585
14586 ;
14587 return 0;
14588 }
14589 _ACEOF
14590 rm -f conftest.$ac_objext
14591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14592 (eval $ac_compile) 2>conftest.er1
14593 ac_status=$?
14594 grep -v '^ *+' conftest.er1 >conftest.err
14595 rm -f conftest.er1
14596 cat conftest.err >&5
14597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14598 (exit $ac_status); } &&
14599 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14601 (eval $ac_try) 2>&5
14602 ac_status=$?
14603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14604 (exit $ac_status); }; } &&
14605 { ac_try='test -s conftest.$ac_objext'
14606 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14607 (eval $ac_try) 2>&5
14608 ac_status=$?
14609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14610 (exit $ac_status); }; }; then
14611 bakefile_compiler_xlc=yes
14612 else
14613 echo "$as_me: failed program was:" >&5
14614 sed 's/^/| /' conftest.$ac_ext >&5
14615
14616 bakefile_compiler_xlc=no
14617 fi
14618 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14619 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14620
14621 fi
14622 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14623 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14624
14625 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14626 ac_ext=cc
14627 ac_cpp='$CXXCPP $CPPFLAGS'
14628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14631
14632
14633 ;;
14634
14635 Darwin)
14636 ac_ext=cc
14637 ac_cpp='$CXXCPP $CPPFLAGS'
14638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14641
14642 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14643 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14644 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14645 echo $ECHO_N "(cached) $ECHO_C" >&6
14646 else
14647 cat >conftest.$ac_ext <<_ACEOF
14648 /* confdefs.h. */
14649 _ACEOF
14650 cat confdefs.h >>conftest.$ac_ext
14651 cat >>conftest.$ac_ext <<_ACEOF
14652 /* end confdefs.h. */
14653
14654 int
14655 main ()
14656 {
14657 #ifndef __MWERKS__
14658 choke me
14659 #endif
14660
14661 ;
14662 return 0;
14663 }
14664 _ACEOF
14665 rm -f conftest.$ac_objext
14666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14667 (eval $ac_compile) 2>conftest.er1
14668 ac_status=$?
14669 grep -v '^ *+' conftest.er1 >conftest.err
14670 rm -f conftest.er1
14671 cat conftest.err >&5
14672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14673 (exit $ac_status); } &&
14674 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14676 (eval $ac_try) 2>&5
14677 ac_status=$?
14678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14679 (exit $ac_status); }; } &&
14680 { ac_try='test -s conftest.$ac_objext'
14681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14682 (eval $ac_try) 2>&5
14683 ac_status=$?
14684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14685 (exit $ac_status); }; }; then
14686 bakefile_compiler_mwerks=yes
14687 else
14688 echo "$as_me: failed program was:" >&5
14689 sed 's/^/| /' conftest.$ac_ext >&5
14690
14691 bakefile_compiler_mwerks=no
14692 fi
14693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14694 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
14695
14696 fi
14697 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14698 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14699
14700 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14701 ac_ext=cc
14702 ac_cpp='$CXXCPP $CPPFLAGS'
14703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14706
14707
14708 ac_ext=cc
14709 ac_cpp='$CXXCPP $CPPFLAGS'
14710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14713
14714 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14715 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14716 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14717 echo $ECHO_N "(cached) $ECHO_C" >&6
14718 else
14719 cat >conftest.$ac_ext <<_ACEOF
14720 /* confdefs.h. */
14721 _ACEOF
14722 cat confdefs.h >>conftest.$ac_ext
14723 cat >>conftest.$ac_ext <<_ACEOF
14724 /* end confdefs.h. */
14725
14726 int
14727 main ()
14728 {
14729 #ifndef __xlC__
14730 choke me
14731 #endif
14732
14733 ;
14734 return 0;
14735 }
14736 _ACEOF
14737 rm -f conftest.$ac_objext
14738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14739 (eval $ac_compile) 2>conftest.er1
14740 ac_status=$?
14741 grep -v '^ *+' conftest.er1 >conftest.err
14742 rm -f conftest.er1
14743 cat conftest.err >&5
14744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14745 (exit $ac_status); } &&
14746 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14748 (eval $ac_try) 2>&5
14749 ac_status=$?
14750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14751 (exit $ac_status); }; } &&
14752 { ac_try='test -s conftest.$ac_objext'
14753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14754 (eval $ac_try) 2>&5
14755 ac_status=$?
14756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14757 (exit $ac_status); }; }; then
14758 bakefile_compiler_xlc=yes
14759 else
14760 echo "$as_me: failed program was:" >&5
14761 sed 's/^/| /' conftest.$ac_ext >&5
14762
14763 bakefile_compiler_xlc=no
14764 fi
14765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14766 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14767
14768 fi
14769 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14770 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14771
14772 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14773 ac_ext=cc
14774 ac_cpp='$CXXCPP $CPPFLAGS'
14775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14778
14779
14780 ;;
14781
14782 IRIX*)
14783
14784
14785 ac_ext=cc
14786 ac_cpp='$CXXCPP $CPPFLAGS'
14787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14790
14791 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14792 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14793 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14794 echo $ECHO_N "(cached) $ECHO_C" >&6
14795 else
14796 cat >conftest.$ac_ext <<_ACEOF
14797 /* confdefs.h. */
14798 _ACEOF
14799 cat confdefs.h >>conftest.$ac_ext
14800 cat >>conftest.$ac_ext <<_ACEOF
14801 /* end confdefs.h. */
14802
14803 int
14804 main ()
14805 {
14806
14807 #ifndef _SGI_COMPILER_VERSION
14808 choke me
14809 #endif
14810
14811 ;
14812 return 0;
14813 }
14814 _ACEOF
14815 rm -f conftest.$ac_objext
14816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14817 (eval $ac_compile) 2>conftest.er1
14818 ac_status=$?
14819 grep -v '^ *+' conftest.er1 >conftest.err
14820 rm -f conftest.er1
14821 cat conftest.err >&5
14822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14823 (exit $ac_status); } &&
14824 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14826 (eval $ac_try) 2>&5
14827 ac_status=$?
14828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14829 (exit $ac_status); }; } &&
14830 { ac_try='test -s conftest.$ac_objext'
14831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14832 (eval $ac_try) 2>&5
14833 ac_status=$?
14834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14835 (exit $ac_status); }; }; then
14836 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
14837 else
14838 echo "$as_me: failed program was:" >&5
14839 sed 's/^/| /' conftest.$ac_ext >&5
14840
14841 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
14842
14843 fi
14844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14845
14846
14847 fi
14848 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14849 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14850 ac_ext=cc
14851 ac_cpp='$CXXCPP $CPPFLAGS'
14852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14855
14856 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14857 :; SGICXX=yes
14858 else
14859 :;
14860 fi
14861
14862
14863 ;;
14864
14865 HP-UX*)
14866
14867
14868 ac_ext=cc
14869 ac_cpp='$CXXCPP $CPPFLAGS'
14870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14873
14874 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14875 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14876 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14877 echo $ECHO_N "(cached) $ECHO_C" >&6
14878 else
14879 cat >conftest.$ac_ext <<_ACEOF
14880 /* confdefs.h. */
14881 _ACEOF
14882 cat confdefs.h >>conftest.$ac_ext
14883 cat >>conftest.$ac_ext <<_ACEOF
14884 /* end confdefs.h. */
14885
14886 int
14887 main ()
14888 {
14889
14890 #ifndef __HP_aCC
14891 choke me
14892 #endif
14893
14894 ;
14895 return 0;
14896 }
14897 _ACEOF
14898 rm -f conftest.$ac_objext
14899 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14900 (eval $ac_compile) 2>conftest.er1
14901 ac_status=$?
14902 grep -v '^ *+' conftest.er1 >conftest.err
14903 rm -f conftest.er1
14904 cat conftest.err >&5
14905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14906 (exit $ac_status); } &&
14907 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14909 (eval $ac_try) 2>&5
14910 ac_status=$?
14911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14912 (exit $ac_status); }; } &&
14913 { ac_try='test -s conftest.$ac_objext'
14914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14915 (eval $ac_try) 2>&5
14916 ac_status=$?
14917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14918 (exit $ac_status); }; }; then
14919 bakefile_cv_cxx_compiler___HP_aCC=yes
14920 else
14921 echo "$as_me: failed program was:" >&5
14922 sed 's/^/| /' conftest.$ac_ext >&5
14923
14924 bakefile_cv_cxx_compiler___HP_aCC=no
14925
14926 fi
14927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14928
14929
14930 fi
14931 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14932 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14933 ac_ext=cc
14934 ac_cpp='$CXXCPP $CPPFLAGS'
14935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14938
14939 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14940 :; HPCXX=yes
14941 else
14942 :;
14943 fi
14944
14945
14946 ;;
14947
14948 OSF1)
14949
14950
14951 ac_ext=cc
14952 ac_cpp='$CXXCPP $CPPFLAGS'
14953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14956
14957 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14958 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14959 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14960 echo $ECHO_N "(cached) $ECHO_C" >&6
14961 else
14962 cat >conftest.$ac_ext <<_ACEOF
14963 /* confdefs.h. */
14964 _ACEOF
14965 cat confdefs.h >>conftest.$ac_ext
14966 cat >>conftest.$ac_ext <<_ACEOF
14967 /* end confdefs.h. */
14968
14969 int
14970 main ()
14971 {
14972
14973 #ifndef __DECCXX
14974 choke me
14975 #endif
14976
14977 ;
14978 return 0;
14979 }
14980 _ACEOF
14981 rm -f conftest.$ac_objext
14982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14983 (eval $ac_compile) 2>conftest.er1
14984 ac_status=$?
14985 grep -v '^ *+' conftest.er1 >conftest.err
14986 rm -f conftest.er1
14987 cat conftest.err >&5
14988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14989 (exit $ac_status); } &&
14990 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14992 (eval $ac_try) 2>&5
14993 ac_status=$?
14994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14995 (exit $ac_status); }; } &&
14996 { ac_try='test -s conftest.$ac_objext'
14997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14998 (eval $ac_try) 2>&5
14999 ac_status=$?
15000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15001 (exit $ac_status); }; }; then
15002 bakefile_cv_cxx_compiler___DECCXX=yes
15003 else
15004 echo "$as_me: failed program was:" >&5
15005 sed 's/^/| /' conftest.$ac_ext >&5
15006
15007 bakefile_cv_cxx_compiler___DECCXX=no
15008
15009 fi
15010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15011
15012
15013 fi
15014 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
15015 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
15016 ac_ext=cc
15017 ac_cpp='$CXXCPP $CPPFLAGS'
15018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15021
15022 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
15023 :; COMPAQCXX=yes
15024 else
15025 :;
15026 fi
15027
15028
15029 ;;
15030
15031 SunOS)
15032
15033
15034 ac_ext=cc
15035 ac_cpp='$CXXCPP $CPPFLAGS'
15036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15039
15040 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
15041 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
15042 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
15043 echo $ECHO_N "(cached) $ECHO_C" >&6
15044 else
15045 cat >conftest.$ac_ext <<_ACEOF
15046 /* confdefs.h. */
15047 _ACEOF
15048 cat confdefs.h >>conftest.$ac_ext
15049 cat >>conftest.$ac_ext <<_ACEOF
15050 /* end confdefs.h. */
15051
15052 int
15053 main ()
15054 {
15055
15056 #ifndef __SUNPRO_CC
15057 choke me
15058 #endif
15059
15060 ;
15061 return 0;
15062 }
15063 _ACEOF
15064 rm -f conftest.$ac_objext
15065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15066 (eval $ac_compile) 2>conftest.er1
15067 ac_status=$?
15068 grep -v '^ *+' conftest.er1 >conftest.err
15069 rm -f conftest.er1
15070 cat conftest.err >&5
15071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15072 (exit $ac_status); } &&
15073 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15075 (eval $ac_try) 2>&5
15076 ac_status=$?
15077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15078 (exit $ac_status); }; } &&
15079 { ac_try='test -s conftest.$ac_objext'
15080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15081 (eval $ac_try) 2>&5
15082 ac_status=$?
15083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15084 (exit $ac_status); }; }; then
15085 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
15086 else
15087 echo "$as_me: failed program was:" >&5
15088 sed 's/^/| /' conftest.$ac_ext >&5
15089
15090 bakefile_cv_cxx_compiler___SUNPRO_CC=no
15091
15092 fi
15093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15094
15095
15096 fi
15097 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
15098 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
15099 ac_ext=cc
15100 ac_cpp='$CXXCPP $CPPFLAGS'
15101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15104
15105 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
15106 :; SUNCXX=yes
15107 else
15108 :;
15109 fi
15110
15111
15112 ;;
15113 esac
15114 fi
15115
15116
15117
15118 if test -n "$ac_tool_prefix"; then
15119 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15120 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
15121 echo "$as_me:$LINENO: checking for $ac_word" >&5
15122 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15123 if test "${ac_cv_prog_RANLIB+set}" = set; then
15124 echo $ECHO_N "(cached) $ECHO_C" >&6
15125 else
15126 if test -n "$RANLIB"; then
15127 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
15128 else
15129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15130 for as_dir in $PATH
15131 do
15132 IFS=$as_save_IFS
15133 test -z "$as_dir" && as_dir=.
15134 for ac_exec_ext in '' $ac_executable_extensions; do
15135 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15136 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
15137 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15138 break 2
15139 fi
15140 done
15141 done
15142
15143 fi
15144 fi
15145 RANLIB=$ac_cv_prog_RANLIB
15146 if test -n "$RANLIB"; then
15147 echo "$as_me:$LINENO: result: $RANLIB" >&5
15148 echo "${ECHO_T}$RANLIB" >&6
15149 else
15150 echo "$as_me:$LINENO: result: no" >&5
15151 echo "${ECHO_T}no" >&6
15152 fi
15153
15154 fi
15155 if test -z "$ac_cv_prog_RANLIB"; then
15156 ac_ct_RANLIB=$RANLIB
15157 # Extract the first word of "ranlib", so it can be a program name with args.
15158 set dummy ranlib; ac_word=$2
15159 echo "$as_me:$LINENO: checking for $ac_word" >&5
15160 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15161 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15162 echo $ECHO_N "(cached) $ECHO_C" >&6
15163 else
15164 if test -n "$ac_ct_RANLIB"; then
15165 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
15166 else
15167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15168 for as_dir in $PATH
15169 do
15170 IFS=$as_save_IFS
15171 test -z "$as_dir" && as_dir=.
15172 for ac_exec_ext in '' $ac_executable_extensions; do
15173 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15174 ac_cv_prog_ac_ct_RANLIB="ranlib"
15175 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15176 break 2
15177 fi
15178 done
15179 done
15180
15181 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
15182 fi
15183 fi
15184 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
15185 if test -n "$ac_ct_RANLIB"; then
15186 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15187 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15188 else
15189 echo "$as_me:$LINENO: result: no" >&5
15190 echo "${ECHO_T}no" >&6
15191 fi
15192
15193 RANLIB=$ac_ct_RANLIB
15194 else
15195 RANLIB="$ac_cv_prog_RANLIB"
15196 fi
15197
15198
15199 if test -n "$ac_tool_prefix"; then
15200 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15201 set dummy ${ac_tool_prefix}ar; ac_word=$2
15202 echo "$as_me:$LINENO: checking for $ac_word" >&5
15203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15204 if test "${ac_cv_prog_AR+set}" = set; then
15205 echo $ECHO_N "(cached) $ECHO_C" >&6
15206 else
15207 if test -n "$AR"; then
15208 ac_cv_prog_AR="$AR" # Let the user override the test.
15209 else
15210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15211 for as_dir in $PATH
15212 do
15213 IFS=$as_save_IFS
15214 test -z "$as_dir" && as_dir=.
15215 for ac_exec_ext in '' $ac_executable_extensions; do
15216 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15217 ac_cv_prog_AR="${ac_tool_prefix}ar"
15218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15219 break 2
15220 fi
15221 done
15222 done
15223
15224 fi
15225 fi
15226 AR=$ac_cv_prog_AR
15227 if test -n "$AR"; then
15228 echo "$as_me:$LINENO: result: $AR" >&5
15229 echo "${ECHO_T}$AR" >&6
15230 else
15231 echo "$as_me:$LINENO: result: no" >&5
15232 echo "${ECHO_T}no" >&6
15233 fi
15234
15235 fi
15236 if test -z "$ac_cv_prog_AR"; then
15237 ac_ct_AR=$AR
15238 # Extract the first word of "ar", so it can be a program name with args.
15239 set dummy ar; ac_word=$2
15240 echo "$as_me:$LINENO: checking for $ac_word" >&5
15241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15242 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15243 echo $ECHO_N "(cached) $ECHO_C" >&6
15244 else
15245 if test -n "$ac_ct_AR"; then
15246 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
15247 else
15248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15249 for as_dir in $PATH
15250 do
15251 IFS=$as_save_IFS
15252 test -z "$as_dir" && as_dir=.
15253 for ac_exec_ext in '' $ac_executable_extensions; do
15254 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15255 ac_cv_prog_ac_ct_AR="ar"
15256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15257 break 2
15258 fi
15259 done
15260 done
15261
15262 fi
15263 fi
15264 ac_ct_AR=$ac_cv_prog_ac_ct_AR
15265 if test -n "$ac_ct_AR"; then
15266 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15267 echo "${ECHO_T}$ac_ct_AR" >&6
15268 else
15269 echo "$as_me:$LINENO: result: no" >&5
15270 echo "${ECHO_T}no" >&6
15271 fi
15272
15273 AR=$ac_ct_AR
15274 else
15275 AR="$ac_cv_prog_AR"
15276 fi
15277
15278 if test "x$AR" = "x" ; then
15279 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15280 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15281 { (exit 1); exit 1; }; }
15282 fi
15283
15284 # Find a good install program. We prefer a C program (faster),
15285 # so one script is as good as another. But avoid the broken or
15286 # incompatible versions:
15287 # SysV /etc/install, /usr/sbin/install
15288 # SunOS /usr/etc/install
15289 # IRIX /sbin/install
15290 # AIX /bin/install
15291 # AmigaOS /C/install, which installs bootblocks on floppy discs
15292 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15293 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15294 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15295 # OS/2's system install, which has a completely different semantic
15296 # ./install, which can be erroneously created by make from ./install.sh.
15297 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15298 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15299 if test -z "$INSTALL"; then
15300 if test "${ac_cv_path_install+set}" = set; then
15301 echo $ECHO_N "(cached) $ECHO_C" >&6
15302 else
15303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15304 for as_dir in $PATH
15305 do
15306 IFS=$as_save_IFS
15307 test -z "$as_dir" && as_dir=.
15308 # Account for people who put trailing slashes in PATH elements.
15309 case $as_dir/ in
15310 ./ | .// | /cC/* | \
15311 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
15312 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
15313 /usr/ucb/* ) ;;
15314 *)
15315 # OSF1 and SCO ODT 3.0 have their own names for install.
15316 # Don't use installbsd from OSF since it installs stuff as root
15317 # by default.
15318 for ac_prog in ginstall scoinst install; do
15319 for ac_exec_ext in '' $ac_executable_extensions; do
15320 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15321 if test $ac_prog = install &&
15322 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15323 # AIX install. It has an incompatible calling convention.
15324 :
15325 elif test $ac_prog = install &&
15326 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15327 # program-specific install script used by HP pwplus--don't use.
15328 :
15329 else
15330 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
15331 break 3
15332 fi
15333 fi
15334 done
15335 done
15336 ;;
15337 esac
15338 done
15339
15340
15341 fi
15342 if test "${ac_cv_path_install+set}" = set; then
15343 INSTALL=$ac_cv_path_install
15344 else
15345 # As a last resort, use the slow shell script. We don't cache a
15346 # path for INSTALL within a source directory, because that will
15347 # break other packages using the cache if that directory is
15348 # removed, or if the path is relative.
15349 INSTALL=$ac_install_sh
15350 fi
15351 fi
15352 echo "$as_me:$LINENO: result: $INSTALL" >&5
15353 echo "${ECHO_T}$INSTALL" >&6
15354
15355 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15356 # It thinks the first close brace ends the variable substitution.
15357 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
15358
15359 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
15360
15361 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
15362
15363
15364 case ${INSTALL} in
15365 /* ) # Absolute
15366 ;;
15367 ?:* ) # Drive letter, considered as absolute.
15368 ;;
15369 *)
15370 INSTALL=`pwd`/${INSTALL} ;;
15371 esac
15372
15373
15374 case "${host}" in
15375
15376 *-*-darwin* )
15377 INSTALL_PROGRAM="cp -fp"
15378 INSTALL_DATA="cp -fp"
15379 ;;
15380 *)
15381 ;;
15382 esac
15383
15384 if test -n "$ac_tool_prefix"; then
15385 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15386 set dummy ${ac_tool_prefix}strip; ac_word=$2
15387 echo "$as_me:$LINENO: checking for $ac_word" >&5
15388 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15389 if test "${ac_cv_prog_STRIP+set}" = set; then
15390 echo $ECHO_N "(cached) $ECHO_C" >&6
15391 else
15392 if test -n "$STRIP"; then
15393 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
15394 else
15395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15396 for as_dir in $PATH
15397 do
15398 IFS=$as_save_IFS
15399 test -z "$as_dir" && as_dir=.
15400 for ac_exec_ext in '' $ac_executable_extensions; do
15401 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15402 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
15403 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15404 break 2
15405 fi
15406 done
15407 done
15408
15409 fi
15410 fi
15411 STRIP=$ac_cv_prog_STRIP
15412 if test -n "$STRIP"; then
15413 echo "$as_me:$LINENO: result: $STRIP" >&5
15414 echo "${ECHO_T}$STRIP" >&6
15415 else
15416 echo "$as_me:$LINENO: result: no" >&5
15417 echo "${ECHO_T}no" >&6
15418 fi
15419
15420 fi
15421 if test -z "$ac_cv_prog_STRIP"; then
15422 ac_ct_STRIP=$STRIP
15423 # Extract the first word of "strip", so it can be a program name with args.
15424 set dummy strip; 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_ac_ct_STRIP+set}" = set; then
15428 echo $ECHO_N "(cached) $ECHO_C" >&6
15429 else
15430 if test -n "$ac_ct_STRIP"; then
15431 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # 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_ac_ct_STRIP="strip"
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 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
15448 fi
15449 fi
15450 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
15451 if test -n "$ac_ct_STRIP"; then
15452 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15453 echo "${ECHO_T}$ac_ct_STRIP" >&6
15454 else
15455 echo "$as_me:$LINENO: result: no" >&5
15456 echo "${ECHO_T}no" >&6
15457 fi
15458
15459 STRIP=$ac_ct_STRIP
15460 else
15461 STRIP="$ac_cv_prog_STRIP"
15462 fi
15463
15464
15465 if test "$wxUSE_WINE" = "yes"; then
15466 if test -n "$ac_tool_prefix"; then
15467 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15468 set dummy ${ac_tool_prefix}wrc; ac_word=$2
15469 echo "$as_me:$LINENO: checking for $ac_word" >&5
15470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15471 if test "${ac_cv_prog_WINDRES+set}" = set; then
15472 echo $ECHO_N "(cached) $ECHO_C" >&6
15473 else
15474 if test -n "$WINDRES"; then
15475 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15476 else
15477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15478 for as_dir in $PATH
15479 do
15480 IFS=$as_save_IFS
15481 test -z "$as_dir" && as_dir=.
15482 for ac_exec_ext in '' $ac_executable_extensions; do
15483 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15484 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
15485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15486 break 2
15487 fi
15488 done
15489 done
15490
15491 fi
15492 fi
15493 WINDRES=$ac_cv_prog_WINDRES
15494 if test -n "$WINDRES"; then
15495 echo "$as_me:$LINENO: result: $WINDRES" >&5
15496 echo "${ECHO_T}$WINDRES" >&6
15497 else
15498 echo "$as_me:$LINENO: result: no" >&5
15499 echo "${ECHO_T}no" >&6
15500 fi
15501
15502 fi
15503 if test -z "$ac_cv_prog_WINDRES"; then
15504 ac_ct_WINDRES=$WINDRES
15505 # Extract the first word of "wrc", so it can be a program name with args.
15506 set dummy wrc; ac_word=$2
15507 echo "$as_me:$LINENO: checking for $ac_word" >&5
15508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15509 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15510 echo $ECHO_N "(cached) $ECHO_C" >&6
15511 else
15512 if test -n "$ac_ct_WINDRES"; then
15513 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15514 else
15515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15516 for as_dir in $PATH
15517 do
15518 IFS=$as_save_IFS
15519 test -z "$as_dir" && as_dir=.
15520 for ac_exec_ext in '' $ac_executable_extensions; do
15521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15522 ac_cv_prog_ac_ct_WINDRES="wrc"
15523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15524 break 2
15525 fi
15526 done
15527 done
15528
15529 fi
15530 fi
15531 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15532 if test -n "$ac_ct_WINDRES"; then
15533 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15534 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15535 else
15536 echo "$as_me:$LINENO: result: no" >&5
15537 echo "${ECHO_T}no" >&6
15538 fi
15539
15540 WINDRES=$ac_ct_WINDRES
15541 else
15542 WINDRES="$ac_cv_prog_WINDRES"
15543 fi
15544
15545 RESCOMP="$WINDRES"
15546 else
15547 case "${host}" in
15548 *-*-cygwin* | *-*-mingw32* )
15549 if test -n "$ac_tool_prefix"; then
15550 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15551 set dummy ${ac_tool_prefix}windres; ac_word=$2
15552 echo "$as_me:$LINENO: checking for $ac_word" >&5
15553 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15554 if test "${ac_cv_prog_WINDRES+set}" = set; then
15555 echo $ECHO_N "(cached) $ECHO_C" >&6
15556 else
15557 if test -n "$WINDRES"; then
15558 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15559 else
15560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15561 for as_dir in $PATH
15562 do
15563 IFS=$as_save_IFS
15564 test -z "$as_dir" && as_dir=.
15565 for ac_exec_ext in '' $ac_executable_extensions; do
15566 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15567 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
15568 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15569 break 2
15570 fi
15571 done
15572 done
15573
15574 fi
15575 fi
15576 WINDRES=$ac_cv_prog_WINDRES
15577 if test -n "$WINDRES"; then
15578 echo "$as_me:$LINENO: result: $WINDRES" >&5
15579 echo "${ECHO_T}$WINDRES" >&6
15580 else
15581 echo "$as_me:$LINENO: result: no" >&5
15582 echo "${ECHO_T}no" >&6
15583 fi
15584
15585 fi
15586 if test -z "$ac_cv_prog_WINDRES"; then
15587 ac_ct_WINDRES=$WINDRES
15588 # Extract the first word of "windres", so it can be a program name with args.
15589 set dummy windres; ac_word=$2
15590 echo "$as_me:$LINENO: checking for $ac_word" >&5
15591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15592 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15593 echo $ECHO_N "(cached) $ECHO_C" >&6
15594 else
15595 if test -n "$ac_ct_WINDRES"; then
15596 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15597 else
15598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15599 for as_dir in $PATH
15600 do
15601 IFS=$as_save_IFS
15602 test -z "$as_dir" && as_dir=.
15603 for ac_exec_ext in '' $ac_executable_extensions; do
15604 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15605 ac_cv_prog_ac_ct_WINDRES="windres"
15606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15607 break 2
15608 fi
15609 done
15610 done
15611
15612 fi
15613 fi
15614 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15615 if test -n "$ac_ct_WINDRES"; then
15616 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15617 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15618 else
15619 echo "$as_me:$LINENO: result: no" >&5
15620 echo "${ECHO_T}no" >&6
15621 fi
15622
15623 WINDRES=$ac_ct_WINDRES
15624 else
15625 WINDRES="$ac_cv_prog_WINDRES"
15626 fi
15627
15628 RESCOMP="$WINDRES"
15629 if test -n "$ac_tool_prefix"; then
15630 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15631 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15632 echo "$as_me:$LINENO: checking for $ac_word" >&5
15633 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15634 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15635 echo $ECHO_N "(cached) $ECHO_C" >&6
15636 else
15637 if test -n "$DLLTOOL"; then
15638 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15639 else
15640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15641 for as_dir in $PATH
15642 do
15643 IFS=$as_save_IFS
15644 test -z "$as_dir" && as_dir=.
15645 for ac_exec_ext in '' $ac_executable_extensions; do
15646 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15647 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15648 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15649 break 2
15650 fi
15651 done
15652 done
15653
15654 fi
15655 fi
15656 DLLTOOL=$ac_cv_prog_DLLTOOL
15657 if test -n "$DLLTOOL"; then
15658 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15659 echo "${ECHO_T}$DLLTOOL" >&6
15660 else
15661 echo "$as_me:$LINENO: result: no" >&5
15662 echo "${ECHO_T}no" >&6
15663 fi
15664
15665 fi
15666 if test -z "$ac_cv_prog_DLLTOOL"; then
15667 ac_ct_DLLTOOL=$DLLTOOL
15668 # Extract the first word of "dlltool", so it can be a program name with args.
15669 set dummy dlltool; ac_word=$2
15670 echo "$as_me:$LINENO: checking for $ac_word" >&5
15671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15672 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15673 echo $ECHO_N "(cached) $ECHO_C" >&6
15674 else
15675 if test -n "$ac_ct_DLLTOOL"; then
15676 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15677 else
15678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15679 for as_dir in $PATH
15680 do
15681 IFS=$as_save_IFS
15682 test -z "$as_dir" && as_dir=.
15683 for ac_exec_ext in '' $ac_executable_extensions; do
15684 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15685 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15687 break 2
15688 fi
15689 done
15690 done
15691
15692 fi
15693 fi
15694 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15695 if test -n "$ac_ct_DLLTOOL"; then
15696 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15697 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15698 else
15699 echo "$as_me:$LINENO: result: no" >&5
15700 echo "${ECHO_T}no" >&6
15701 fi
15702
15703 DLLTOOL=$ac_ct_DLLTOOL
15704 else
15705 DLLTOOL="$ac_cv_prog_DLLTOOL"
15706 fi
15707
15708 ;;
15709 esac
15710 fi
15711
15712 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15713 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15714 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15715 echo $ECHO_N "(cached) $ECHO_C" >&6
15716 else
15717
15718 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
15719 egrep -s GNU > /dev/null); then
15720 wx_cv_prog_makeisgnu="yes"
15721 else
15722 wx_cv_prog_makeisgnu="no"
15723 fi
15724
15725 fi
15726 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15727 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15728
15729 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15730 IF_GNU_MAKE=""
15731 else
15732 IF_GNU_MAKE="#"
15733 fi
15734
15735
15736
15737 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15738 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15739 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15740 if test "${wx_cv_prog_makevpath+set}" = set; then
15741 echo $ECHO_N "(cached) $ECHO_C" >&6
15742 else
15743
15744 cat - << EOF > confMake
15745 check : file
15746 cp \$? \$@
15747 cp \$? final_file
15748 EOF
15749
15750 if test ! -d sub ; then
15751 mkdir sub
15752 fi
15753 echo dummy > sub/file
15754 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
15755 RESULT=$?
15756 rm -f sub/file check final_file confMake
15757 rmdir sub
15758 if test "$RESULT" = 0; then
15759 wx_cv_prog_makevpath="yes"
15760 else
15761 wx_cv_prog_makevpath="no"
15762 fi
15763
15764 fi
15765 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15766 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15767
15768 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15769 { { echo "$as_me:$LINENO: error:
15770 You need a make-utility that is able to use the variable
15771 VPATH correctly.
15772 If your version of make does not support VPATH correctly,
15773 please install GNU-make (possibly as gmake), and start
15774 configure with the following command:
15775 export MAKE=gmake; ./configure for sh-type shells
15776 setenv MAKE gmake; ./configure for csh-type shells
15777 Also please do remember to use gmake in this case every time
15778 you are trying to compile.
15779 " >&5
15780 echo "$as_me: error:
15781 You need a make-utility that is able to use the variable
15782 VPATH correctly.
15783 If your version of make does not support VPATH correctly,
15784 please install GNU-make (possibly as gmake), and start
15785 configure with the following command:
15786 export MAKE=gmake; ./configure for sh-type shells
15787 setenv MAKE gmake; ./configure for csh-type shells
15788 Also please do remember to use gmake in this case every time
15789 you are trying to compile.
15790 " >&2;}
15791 { (exit 1); exit 1; }; }
15792 fi fi
15793 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15794 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15795 LN_S=$as_ln_s
15796 if test "$LN_S" = "ln -s"; then
15797 echo "$as_me:$LINENO: result: yes" >&5
15798 echo "${ECHO_T}yes" >&6
15799 else
15800 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15801 echo "${ECHO_T}no, using $LN_S" >&6
15802 fi
15803
15804
15805
15806
15807 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15808 CXXFLAGS="-qunique $CXXFLAGS"
15809 fi
15810
15811 case "${host}" in
15812 powerpc-*-darwin* )
15813 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15814 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15815 cat >conftest.$ac_ext <<_ACEOF
15816 /* confdefs.h. */
15817 _ACEOF
15818 cat confdefs.h >>conftest.$ac_ext
15819 cat >>conftest.$ac_ext <<_ACEOF
15820 /* end confdefs.h. */
15821
15822 int
15823 main ()
15824 {
15825 #ifndef __POWERPC__
15826 choke me for lack of PowerPC
15827 #endif
15828
15829 ;
15830 return 0;
15831 }
15832 _ACEOF
15833 rm -f conftest.$ac_objext
15834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15835 (eval $ac_compile) 2>conftest.er1
15836 ac_status=$?
15837 grep -v '^ *+' conftest.er1 >conftest.err
15838 rm -f conftest.er1
15839 cat conftest.err >&5
15840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15841 (exit $ac_status); } &&
15842 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15844 (eval $ac_try) 2>&5
15845 ac_status=$?
15846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15847 (exit $ac_status); }; } &&
15848 { ac_try='test -s conftest.$ac_objext'
15849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15850 (eval $ac_try) 2>&5
15851 ac_status=$?
15852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15853 (exit $ac_status); }; }; then
15854 echo "$as_me:$LINENO: result: yes" >&5
15855 echo "${ECHO_T}yes" >&6
15856 else
15857 echo "$as_me: failed program was:" >&5
15858 sed 's/^/| /' conftest.$ac_ext >&5
15859
15860 echo "$as_me:$LINENO: result: no" >&5
15861 echo "${ECHO_T}no" >&6
15862 cat >>confdefs.h <<\_ACEOF
15863 #define __POWERPC__ 1
15864 _ACEOF
15865
15866
15867 fi
15868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15869 ;;
15870 esac
15871
15872 case "${host}" in
15873 *-*-darwin* )
15874 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15875 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15876 cat >conftest.$ac_ext <<_ACEOF
15877 /* confdefs.h. */
15878 _ACEOF
15879 cat confdefs.h >>conftest.$ac_ext
15880 cat >>conftest.$ac_ext <<_ACEOF
15881 /* end confdefs.h. */
15882 #include <CoreFoundation/CFBase.h>
15883
15884 int
15885 main ()
15886 {
15887
15888 ;
15889 return 0;
15890 }
15891 _ACEOF
15892 rm -f conftest.$ac_objext
15893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15894 (eval $ac_compile) 2>conftest.er1
15895 ac_status=$?
15896 grep -v '^ *+' conftest.er1 >conftest.err
15897 rm -f conftest.er1
15898 cat conftest.err >&5
15899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15900 (exit $ac_status); } &&
15901 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15903 (eval $ac_try) 2>&5
15904 ac_status=$?
15905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15906 (exit $ac_status); }; } &&
15907 { ac_try='test -s conftest.$ac_objext'
15908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15909 (eval $ac_try) 2>&5
15910 ac_status=$?
15911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15912 (exit $ac_status); }; }; then
15913 echo "$as_me:$LINENO: result: yes" >&5
15914 echo "${ECHO_T}yes" >&6
15915 else
15916 echo "$as_me: failed program was:" >&5
15917 sed 's/^/| /' conftest.$ac_ext >&5
15918
15919 echo "$as_me:$LINENO: result: no" >&5
15920 echo "${ECHO_T}no" >&6
15921 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15922 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15923 cat >conftest.$ac_ext <<_ACEOF
15924 /* confdefs.h. */
15925 _ACEOF
15926 cat confdefs.h >>conftest.$ac_ext
15927 cat >>conftest.$ac_ext <<_ACEOF
15928 /* end confdefs.h. */
15929 #define __CF_USE_FRAMEWORK_INCLUDES__
15930 #include <CoreFoundation/CFBase.h>
15931
15932 int
15933 main ()
15934 {
15935
15936 ;
15937 return 0;
15938 }
15939 _ACEOF
15940 rm -f conftest.$ac_objext
15941 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15942 (eval $ac_compile) 2>conftest.er1
15943 ac_status=$?
15944 grep -v '^ *+' conftest.er1 >conftest.err
15945 rm -f conftest.er1
15946 cat conftest.err >&5
15947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15948 (exit $ac_status); } &&
15949 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15951 (eval $ac_try) 2>&5
15952 ac_status=$?
15953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15954 (exit $ac_status); }; } &&
15955 { ac_try='test -s conftest.$ac_objext'
15956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15957 (eval $ac_try) 2>&5
15958 ac_status=$?
15959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15960 (exit $ac_status); }; }; then
15961 echo "$as_me:$LINENO: result: yes" >&5
15962 echo "${ECHO_T}yes" >&6
15963 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15964 else
15965 echo "$as_me: failed program was:" >&5
15966 sed 's/^/| /' conftest.$ac_ext >&5
15967
15968 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15969 See \`config.log' for more details." >&5
15970 echo "$as_me: error: no. CoreFoundation not available.
15971 See \`config.log' for more details." >&2;}
15972 { (exit 1); exit 1; }; }
15973
15974 fi
15975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15976
15977
15978 fi
15979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15980 ;;
15981 esac
15982
15983 case "${host}" in
15984 *-pc-os2_emx | *-pc-os2-emx )
15985 ac_ext=c
15986 ac_cpp='$CPP $CPPFLAGS'
15987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15990
15991 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15992 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15993 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15994 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15995 echo $ECHO_N "(cached) $ECHO_C" >&6
15996 else
15997 ac_check_lib_save_LIBS=$LIBS
15998 LIBS="-lcExt $LIBS"
15999 cat >conftest.$ac_ext <<_ACEOF
16000 /* confdefs.h. */
16001 _ACEOF
16002 cat confdefs.h >>conftest.$ac_ext
16003 cat >>conftest.$ac_ext <<_ACEOF
16004 /* end confdefs.h. */
16005
16006 /* Override any gcc2 internal prototype to avoid an error. */
16007 #ifdef __cplusplus
16008 extern "C"
16009 #endif
16010 /* We use char because int might match the return type of a gcc2
16011 builtin and then its argument prototype would still apply. */
16012 char drand48 ();
16013 int
16014 main ()
16015 {
16016 drand48 ();
16017 ;
16018 return 0;
16019 }
16020 _ACEOF
16021 rm -f conftest.$ac_objext conftest$ac_exeext
16022 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16023 (eval $ac_link) 2>conftest.er1
16024 ac_status=$?
16025 grep -v '^ *+' conftest.er1 >conftest.err
16026 rm -f conftest.er1
16027 cat conftest.err >&5
16028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16029 (exit $ac_status); } &&
16030 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16032 (eval $ac_try) 2>&5
16033 ac_status=$?
16034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16035 (exit $ac_status); }; } &&
16036 { ac_try='test -s conftest$ac_exeext'
16037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16038 (eval $ac_try) 2>&5
16039 ac_status=$?
16040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16041 (exit $ac_status); }; }; then
16042 ac_cv_lib_cExt_drand48=yes
16043 else
16044 echo "$as_me: failed program was:" >&5
16045 sed 's/^/| /' conftest.$ac_ext >&5
16046
16047 ac_cv_lib_cExt_drand48=no
16048 fi
16049 rm -f conftest.err conftest.$ac_objext \
16050 conftest$ac_exeext conftest.$ac_ext
16051 LIBS=$ac_check_lib_save_LIBS
16052 fi
16053 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
16054 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
16055 if test $ac_cv_lib_cExt_drand48 = yes; then
16056 LIBS="$LIBS -lcExt"
16057 fi
16058
16059 else
16060 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
16061 fi
16062 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
16063 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
16064 if test "${wx_cv_gccversion+set}" = set; then
16065 echo $ECHO_N "(cached) $ECHO_C" >&6
16066 else
16067
16068 if test "$cross_compiling" = yes; then
16069 wx_cv_gccversion="EMX2"
16070
16071 else
16072 cat >conftest.$ac_ext <<_ACEOF
16073 /* confdefs.h. */
16074 _ACEOF
16075 cat confdefs.h >>conftest.$ac_ext
16076 cat >>conftest.$ac_ext <<_ACEOF
16077 /* end confdefs.h. */
16078
16079 #include <stdio.h>
16080
16081 int main()
16082 {
16083 FILE *f=fopen("conftestval", "w");
16084 if (!f) exit(1);
16085 fprintf(f,
16086 #if (__GNUC__ < 3)
16087 "EMX2"
16088 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
16089 "EMX3"
16090 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
16091 "Innotek5"
16092 #else
16093 "Innotek6"
16094 #endif
16095 );
16096 exit(0);
16097 }
16098
16099 _ACEOF
16100 rm -f conftest$ac_exeext
16101 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16102 (eval $ac_link) 2>&5
16103 ac_status=$?
16104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16105 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16107 (eval $ac_try) 2>&5
16108 ac_status=$?
16109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16110 (exit $ac_status); }; }; then
16111 wx_cv_gccversion=`cat conftestval`
16112 else
16113 echo "$as_me: program exited with status $ac_status" >&5
16114 echo "$as_me: failed program was:" >&5
16115 sed 's/^/| /' conftest.$ac_ext >&5
16116
16117 ( exit $ac_status )
16118 wx_cv_gccversion="EMX2"
16119 fi
16120 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16121 fi
16122
16123 fi
16124 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
16125 echo "${ECHO_T}$wx_cv_gccversion" >&6
16126 ac_ext=cc
16127 ac_cpp='$CXXCPP $CPPFLAGS'
16128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16131
16132 if test "$wx_cv_gccversion" = "EMX2"; then
16133 LIBS="$LIBS -lstdcpp"
16134 LDFLAGS="$LDFLAGS -Zsysv-signals"
16135 else
16136 if test "$wx_cv_gccversion" = "EMX3"; then
16137 LIBS="$LIBS -lstdcxx -lgcc"
16138 LDFLAGS="$LDFLAGS -Zsysv-signals"
16139 else
16140 LIBS="$LIBS -lstdc++"
16141 fi
16142 fi
16143 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
16144 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
16145 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
16146 wxUSE_OMF=yes
16147 enable_omf=yes
16148 fi
16149 ;;
16150 *)
16151
16152 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
16153 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
16154 if test "${ac_cv_string_strcasecmp+set}" = set; then
16155 echo $ECHO_N "(cached) $ECHO_C" >&6
16156 else
16157
16158 cat >conftest.$ac_ext <<_ACEOF
16159 /* confdefs.h. */
16160 _ACEOF
16161 cat confdefs.h >>conftest.$ac_ext
16162 cat >>conftest.$ac_ext <<_ACEOF
16163 /* end confdefs.h. */
16164
16165 #include <string.h>
16166
16167 int
16168 main ()
16169 {
16170
16171 strcasecmp("foo", "bar");
16172
16173 ;
16174 return 0;
16175 }
16176 _ACEOF
16177 rm -f conftest.$ac_objext conftest$ac_exeext
16178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16179 (eval $ac_link) 2>conftest.er1
16180 ac_status=$?
16181 grep -v '^ *+' conftest.er1 >conftest.err
16182 rm -f conftest.er1
16183 cat conftest.err >&5
16184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16185 (exit $ac_status); } &&
16186 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16188 (eval $ac_try) 2>&5
16189 ac_status=$?
16190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16191 (exit $ac_status); }; } &&
16192 { ac_try='test -s conftest$ac_exeext'
16193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16194 (eval $ac_try) 2>&5
16195 ac_status=$?
16196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16197 (exit $ac_status); }; }; then
16198 ac_cv_string_strcasecmp=yes
16199 else
16200 echo "$as_me: failed program was:" >&5
16201 sed 's/^/| /' conftest.$ac_ext >&5
16202
16203 ac_cv_string_strcasecmp=no
16204
16205 fi
16206 rm -f conftest.err conftest.$ac_objext \
16207 conftest$ac_exeext conftest.$ac_ext
16208
16209 fi
16210 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16211 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16212
16213 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
16214 cat >>confdefs.h <<\_ACEOF
16215 #define HAVE_STRCASECMP_IN_STRING_H 1
16216 _ACEOF
16217
16218 else
16219 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16220 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16221 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16222 echo $ECHO_N "(cached) $ECHO_C" >&6
16223 else
16224
16225 cat >conftest.$ac_ext <<_ACEOF
16226 /* confdefs.h. */
16227 _ACEOF
16228 cat confdefs.h >>conftest.$ac_ext
16229 cat >>conftest.$ac_ext <<_ACEOF
16230 /* end confdefs.h. */
16231
16232 #include <strings.h>
16233
16234 int
16235 main ()
16236 {
16237
16238 strcasecmp("foo", "bar");
16239
16240 ;
16241 return 0;
16242 }
16243 _ACEOF
16244 rm -f conftest.$ac_objext conftest$ac_exeext
16245 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16246 (eval $ac_link) 2>conftest.er1
16247 ac_status=$?
16248 grep -v '^ *+' conftest.er1 >conftest.err
16249 rm -f conftest.er1
16250 cat conftest.err >&5
16251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16252 (exit $ac_status); } &&
16253 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16255 (eval $ac_try) 2>&5
16256 ac_status=$?
16257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16258 (exit $ac_status); }; } &&
16259 { ac_try='test -s conftest$ac_exeext'
16260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16261 (eval $ac_try) 2>&5
16262 ac_status=$?
16263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16264 (exit $ac_status); }; }; then
16265 ac_cv_strings_strcasecmp=yes
16266 else
16267 echo "$as_me: failed program was:" >&5
16268 sed 's/^/| /' conftest.$ac_ext >&5
16269
16270 ac_cv_strings_strcasecmp=no
16271
16272 fi
16273 rm -f conftest.err conftest.$ac_objext \
16274 conftest$ac_exeext conftest.$ac_ext
16275
16276 fi
16277 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16278 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16279
16280 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
16281 cat >>confdefs.h <<\_ACEOF
16282 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16283 _ACEOF
16284
16285 else
16286 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16287 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16288 { (exit 1); exit 1; }; }
16289 fi
16290 fi
16291
16292 ;;
16293 esac
16294
16295
16296 ac_ext=cc
16297 ac_cpp='$CXXCPP $CPPFLAGS'
16298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16301 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16302 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16303 if test -z "$CXXCPP"; then
16304 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16305 echo $ECHO_N "(cached) $ECHO_C" >&6
16306 else
16307 # Double quotes because CXXCPP needs to be expanded
16308 for CXXCPP in "$CXX -E" "/lib/cpp"
16309 do
16310 ac_preproc_ok=false
16311 for ac_cxx_preproc_warn_flag in '' yes
16312 do
16313 # Use a header file that comes with gcc, so configuring glibc
16314 # with a fresh cross-compiler works.
16315 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16316 # <limits.h> exists even on freestanding compilers.
16317 # On the NeXT, cc -E runs the code through the compiler's parser,
16318 # not just through cpp. "Syntax error" is here to catch this case.
16319 cat >conftest.$ac_ext <<_ACEOF
16320 /* confdefs.h. */
16321 _ACEOF
16322 cat confdefs.h >>conftest.$ac_ext
16323 cat >>conftest.$ac_ext <<_ACEOF
16324 /* end confdefs.h. */
16325 #ifdef __STDC__
16326 # include <limits.h>
16327 #else
16328 # include <assert.h>
16329 #endif
16330 Syntax error
16331 _ACEOF
16332 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16333 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16334 ac_status=$?
16335 grep -v '^ *+' conftest.er1 >conftest.err
16336 rm -f conftest.er1
16337 cat conftest.err >&5
16338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16339 (exit $ac_status); } >/dev/null; then
16340 if test -s conftest.err; then
16341 ac_cpp_err=$ac_cxx_preproc_warn_flag
16342 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16343 else
16344 ac_cpp_err=
16345 fi
16346 else
16347 ac_cpp_err=yes
16348 fi
16349 if test -z "$ac_cpp_err"; then
16350 :
16351 else
16352 echo "$as_me: failed program was:" >&5
16353 sed 's/^/| /' conftest.$ac_ext >&5
16354
16355 # Broken: fails on valid input.
16356 continue
16357 fi
16358 rm -f conftest.err conftest.$ac_ext
16359
16360 # OK, works on sane cases. Now check whether non-existent headers
16361 # can be detected and how.
16362 cat >conftest.$ac_ext <<_ACEOF
16363 /* confdefs.h. */
16364 _ACEOF
16365 cat confdefs.h >>conftest.$ac_ext
16366 cat >>conftest.$ac_ext <<_ACEOF
16367 /* end confdefs.h. */
16368 #include <ac_nonexistent.h>
16369 _ACEOF
16370 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16371 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16372 ac_status=$?
16373 grep -v '^ *+' conftest.er1 >conftest.err
16374 rm -f conftest.er1
16375 cat conftest.err >&5
16376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16377 (exit $ac_status); } >/dev/null; then
16378 if test -s conftest.err; then
16379 ac_cpp_err=$ac_cxx_preproc_warn_flag
16380 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16381 else
16382 ac_cpp_err=
16383 fi
16384 else
16385 ac_cpp_err=yes
16386 fi
16387 if test -z "$ac_cpp_err"; then
16388 # Broken: success on invalid input.
16389 continue
16390 else
16391 echo "$as_me: failed program was:" >&5
16392 sed 's/^/| /' conftest.$ac_ext >&5
16393
16394 # Passes both tests.
16395 ac_preproc_ok=:
16396 break
16397 fi
16398 rm -f conftest.err conftest.$ac_ext
16399
16400 done
16401 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16402 rm -f conftest.err conftest.$ac_ext
16403 if $ac_preproc_ok; then
16404 break
16405 fi
16406
16407 done
16408 ac_cv_prog_CXXCPP=$CXXCPP
16409
16410 fi
16411 CXXCPP=$ac_cv_prog_CXXCPP
16412 else
16413 ac_cv_prog_CXXCPP=$CXXCPP
16414 fi
16415 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16416 echo "${ECHO_T}$CXXCPP" >&6
16417 ac_preproc_ok=false
16418 for ac_cxx_preproc_warn_flag in '' yes
16419 do
16420 # Use a header file that comes with gcc, so configuring glibc
16421 # with a fresh cross-compiler works.
16422 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16423 # <limits.h> exists even on freestanding compilers.
16424 # On the NeXT, cc -E runs the code through the compiler's parser,
16425 # not just through cpp. "Syntax error" is here to catch this case.
16426 cat >conftest.$ac_ext <<_ACEOF
16427 /* confdefs.h. */
16428 _ACEOF
16429 cat confdefs.h >>conftest.$ac_ext
16430 cat >>conftest.$ac_ext <<_ACEOF
16431 /* end confdefs.h. */
16432 #ifdef __STDC__
16433 # include <limits.h>
16434 #else
16435 # include <assert.h>
16436 #endif
16437 Syntax error
16438 _ACEOF
16439 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16440 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16441 ac_status=$?
16442 grep -v '^ *+' conftest.er1 >conftest.err
16443 rm -f conftest.er1
16444 cat conftest.err >&5
16445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16446 (exit $ac_status); } >/dev/null; then
16447 if test -s conftest.err; then
16448 ac_cpp_err=$ac_cxx_preproc_warn_flag
16449 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16450 else
16451 ac_cpp_err=
16452 fi
16453 else
16454 ac_cpp_err=yes
16455 fi
16456 if test -z "$ac_cpp_err"; then
16457 :
16458 else
16459 echo "$as_me: failed program was:" >&5
16460 sed 's/^/| /' conftest.$ac_ext >&5
16461
16462 # Broken: fails on valid input.
16463 continue
16464 fi
16465 rm -f conftest.err conftest.$ac_ext
16466
16467 # OK, works on sane cases. Now check whether non-existent headers
16468 # can be detected and how.
16469 cat >conftest.$ac_ext <<_ACEOF
16470 /* confdefs.h. */
16471 _ACEOF
16472 cat confdefs.h >>conftest.$ac_ext
16473 cat >>conftest.$ac_ext <<_ACEOF
16474 /* end confdefs.h. */
16475 #include <ac_nonexistent.h>
16476 _ACEOF
16477 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16478 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16479 ac_status=$?
16480 grep -v '^ *+' conftest.er1 >conftest.err
16481 rm -f conftest.er1
16482 cat conftest.err >&5
16483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16484 (exit $ac_status); } >/dev/null; then
16485 if test -s conftest.err; then
16486 ac_cpp_err=$ac_cxx_preproc_warn_flag
16487 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16488 else
16489 ac_cpp_err=
16490 fi
16491 else
16492 ac_cpp_err=yes
16493 fi
16494 if test -z "$ac_cpp_err"; then
16495 # Broken: success on invalid input.
16496 continue
16497 else
16498 echo "$as_me: failed program was:" >&5
16499 sed 's/^/| /' conftest.$ac_ext >&5
16500
16501 # Passes both tests.
16502 ac_preproc_ok=:
16503 break
16504 fi
16505 rm -f conftest.err conftest.$ac_ext
16506
16507 done
16508 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16509 rm -f conftest.err conftest.$ac_ext
16510 if $ac_preproc_ok; then
16511 :
16512 else
16513 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16514 See \`config.log' for more details." >&5
16515 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16516 See \`config.log' for more details." >&2;}
16517 { (exit 1); exit 1; }; }
16518 fi
16519
16520 ac_ext=cc
16521 ac_cpp='$CXXCPP $CPPFLAGS'
16522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16525
16526
16527 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16528 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16529 if test "${ac_cv_header_stdc+set}" = set; then
16530 echo $ECHO_N "(cached) $ECHO_C" >&6
16531 else
16532 cat >conftest.$ac_ext <<_ACEOF
16533 /* confdefs.h. */
16534 _ACEOF
16535 cat confdefs.h >>conftest.$ac_ext
16536 cat >>conftest.$ac_ext <<_ACEOF
16537 /* end confdefs.h. */
16538 #include <stdlib.h>
16539 #include <stdarg.h>
16540 #include <string.h>
16541 #include <float.h>
16542
16543 int
16544 main ()
16545 {
16546
16547 ;
16548 return 0;
16549 }
16550 _ACEOF
16551 rm -f conftest.$ac_objext
16552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16553 (eval $ac_compile) 2>conftest.er1
16554 ac_status=$?
16555 grep -v '^ *+' conftest.er1 >conftest.err
16556 rm -f conftest.er1
16557 cat conftest.err >&5
16558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16559 (exit $ac_status); } &&
16560 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16562 (eval $ac_try) 2>&5
16563 ac_status=$?
16564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16565 (exit $ac_status); }; } &&
16566 { ac_try='test -s conftest.$ac_objext'
16567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16568 (eval $ac_try) 2>&5
16569 ac_status=$?
16570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16571 (exit $ac_status); }; }; then
16572 ac_cv_header_stdc=yes
16573 else
16574 echo "$as_me: failed program was:" >&5
16575 sed 's/^/| /' conftest.$ac_ext >&5
16576
16577 ac_cv_header_stdc=no
16578 fi
16579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16580
16581 if test $ac_cv_header_stdc = yes; then
16582 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16583 cat >conftest.$ac_ext <<_ACEOF
16584 /* confdefs.h. */
16585 _ACEOF
16586 cat confdefs.h >>conftest.$ac_ext
16587 cat >>conftest.$ac_ext <<_ACEOF
16588 /* end confdefs.h. */
16589 #include <string.h>
16590
16591 _ACEOF
16592 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16593 $EGREP "memchr" >/dev/null 2>&1; then
16594 :
16595 else
16596 ac_cv_header_stdc=no
16597 fi
16598 rm -f conftest*
16599
16600 fi
16601
16602 if test $ac_cv_header_stdc = yes; then
16603 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16604 cat >conftest.$ac_ext <<_ACEOF
16605 /* confdefs.h. */
16606 _ACEOF
16607 cat confdefs.h >>conftest.$ac_ext
16608 cat >>conftest.$ac_ext <<_ACEOF
16609 /* end confdefs.h. */
16610 #include <stdlib.h>
16611
16612 _ACEOF
16613 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16614 $EGREP "free" >/dev/null 2>&1; then
16615 :
16616 else
16617 ac_cv_header_stdc=no
16618 fi
16619 rm -f conftest*
16620
16621 fi
16622
16623 if test $ac_cv_header_stdc = yes; then
16624 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16625 if test "$cross_compiling" = yes; then
16626 :
16627 else
16628 cat >conftest.$ac_ext <<_ACEOF
16629 /* confdefs.h. */
16630 _ACEOF
16631 cat confdefs.h >>conftest.$ac_ext
16632 cat >>conftest.$ac_ext <<_ACEOF
16633 /* end confdefs.h. */
16634 #include <ctype.h>
16635 #if ((' ' & 0x0FF) == 0x020)
16636 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16637 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16638 #else
16639 # define ISLOWER(c) \
16640 (('a' <= (c) && (c) <= 'i') \
16641 || ('j' <= (c) && (c) <= 'r') \
16642 || ('s' <= (c) && (c) <= 'z'))
16643 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16644 #endif
16645
16646 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16647 int
16648 main ()
16649 {
16650 int i;
16651 for (i = 0; i < 256; i++)
16652 if (XOR (islower (i), ISLOWER (i))
16653 || toupper (i) != TOUPPER (i))
16654 exit(2);
16655 exit (0);
16656 }
16657 _ACEOF
16658 rm -f conftest$ac_exeext
16659 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16660 (eval $ac_link) 2>&5
16661 ac_status=$?
16662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16663 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16665 (eval $ac_try) 2>&5
16666 ac_status=$?
16667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16668 (exit $ac_status); }; }; then
16669 :
16670 else
16671 echo "$as_me: program exited with status $ac_status" >&5
16672 echo "$as_me: failed program was:" >&5
16673 sed 's/^/| /' conftest.$ac_ext >&5
16674
16675 ( exit $ac_status )
16676 ac_cv_header_stdc=no
16677 fi
16678 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16679 fi
16680 fi
16681 fi
16682 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16683 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16684 if test $ac_cv_header_stdc = yes; then
16685
16686 cat >>confdefs.h <<\_ACEOF
16687 #define STDC_HEADERS 1
16688 _ACEOF
16689
16690 fi
16691
16692 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16693
16694
16695
16696
16697
16698
16699
16700
16701
16702 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
16703 inttypes.h stdint.h unistd.h
16704 do
16705 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16706 echo "$as_me:$LINENO: checking for $ac_header" >&5
16707 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16708 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16709 echo $ECHO_N "(cached) $ECHO_C" >&6
16710 else
16711 cat >conftest.$ac_ext <<_ACEOF
16712 /* confdefs.h. */
16713 _ACEOF
16714 cat confdefs.h >>conftest.$ac_ext
16715 cat >>conftest.$ac_ext <<_ACEOF
16716 /* end confdefs.h. */
16717 $ac_includes_default
16718
16719 #include <$ac_header>
16720 _ACEOF
16721 rm -f conftest.$ac_objext
16722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16723 (eval $ac_compile) 2>conftest.er1
16724 ac_status=$?
16725 grep -v '^ *+' conftest.er1 >conftest.err
16726 rm -f conftest.er1
16727 cat conftest.err >&5
16728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16729 (exit $ac_status); } &&
16730 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16732 (eval $ac_try) 2>&5
16733 ac_status=$?
16734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16735 (exit $ac_status); }; } &&
16736 { ac_try='test -s conftest.$ac_objext'
16737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16738 (eval $ac_try) 2>&5
16739 ac_status=$?
16740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16741 (exit $ac_status); }; }; then
16742 eval "$as_ac_Header=yes"
16743 else
16744 echo "$as_me: failed program was:" >&5
16745 sed 's/^/| /' conftest.$ac_ext >&5
16746
16747 eval "$as_ac_Header=no"
16748 fi
16749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16750 fi
16751 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16752 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16753 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16754 cat >>confdefs.h <<_ACEOF
16755 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16756 _ACEOF
16757
16758 fi
16759
16760 done
16761
16762
16763
16764 for ac_header in stdlib.h
16765 do
16766 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16767 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16768 echo "$as_me:$LINENO: checking for $ac_header" >&5
16769 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16770 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16771 echo $ECHO_N "(cached) $ECHO_C" >&6
16772 fi
16773 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16774 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16775 else
16776 # Is the header compilable?
16777 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16778 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
16786 #include <$ac_header>
16787 _ACEOF
16788 rm -f conftest.$ac_objext
16789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16790 (eval $ac_compile) 2>conftest.er1
16791 ac_status=$?
16792 grep -v '^ *+' conftest.er1 >conftest.err
16793 rm -f conftest.er1
16794 cat conftest.err >&5
16795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16796 (exit $ac_status); } &&
16797 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16799 (eval $ac_try) 2>&5
16800 ac_status=$?
16801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16802 (exit $ac_status); }; } &&
16803 { ac_try='test -s conftest.$ac_objext'
16804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16805 (eval $ac_try) 2>&5
16806 ac_status=$?
16807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16808 (exit $ac_status); }; }; then
16809 ac_header_compiler=yes
16810 else
16811 echo "$as_me: failed program was:" >&5
16812 sed 's/^/| /' conftest.$ac_ext >&5
16813
16814 ac_header_compiler=no
16815 fi
16816 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16817 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16818 echo "${ECHO_T}$ac_header_compiler" >&6
16819
16820 # Is the header present?
16821 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16822 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16823 cat >conftest.$ac_ext <<_ACEOF
16824 /* confdefs.h. */
16825 _ACEOF
16826 cat confdefs.h >>conftest.$ac_ext
16827 cat >>conftest.$ac_ext <<_ACEOF
16828 /* end confdefs.h. */
16829 #include <$ac_header>
16830 _ACEOF
16831 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16832 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16833 ac_status=$?
16834 grep -v '^ *+' conftest.er1 >conftest.err
16835 rm -f conftest.er1
16836 cat conftest.err >&5
16837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16838 (exit $ac_status); } >/dev/null; then
16839 if test -s conftest.err; then
16840 ac_cpp_err=$ac_cxx_preproc_warn_flag
16841 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16842 else
16843 ac_cpp_err=
16844 fi
16845 else
16846 ac_cpp_err=yes
16847 fi
16848 if test -z "$ac_cpp_err"; then
16849 ac_header_preproc=yes
16850 else
16851 echo "$as_me: failed program was:" >&5
16852 sed 's/^/| /' conftest.$ac_ext >&5
16853
16854 ac_header_preproc=no
16855 fi
16856 rm -f conftest.err conftest.$ac_ext
16857 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16858 echo "${ECHO_T}$ac_header_preproc" >&6
16859
16860 # So? What about this header?
16861 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16862 yes:no: )
16863 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16864 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16865 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16866 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16867 ac_header_preproc=yes
16868 ;;
16869 no:yes:* )
16870 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16871 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16872 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16873 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16874 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16875 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16876 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16877 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16878 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16879 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16880 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16881 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16882 (
16883 cat <<\_ASBOX
16884 ## ----------------------------------------- ##
16885 ## Report this to wx-dev@lists.wxwidgets.org ##
16886 ## ----------------------------------------- ##
16887 _ASBOX
16888 ) |
16889 sed "s/^/$as_me: WARNING: /" >&2
16890 ;;
16891 esac
16892 echo "$as_me:$LINENO: checking for $ac_header" >&5
16893 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16894 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16895 echo $ECHO_N "(cached) $ECHO_C" >&6
16896 else
16897 eval "$as_ac_Header=\$ac_header_preproc"
16898 fi
16899 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16900 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16901
16902 fi
16903 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16904 cat >>confdefs.h <<_ACEOF
16905 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16906 _ACEOF
16907
16908 fi
16909
16910 done
16911
16912
16913 for ac_header in malloc.h
16914 do
16915 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16916 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16917 echo "$as_me:$LINENO: checking for $ac_header" >&5
16918 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16919 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16920 echo $ECHO_N "(cached) $ECHO_C" >&6
16921 fi
16922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16923 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16924 else
16925 # Is the header compilable?
16926 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16927 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
16935 #include <$ac_header>
16936 _ACEOF
16937 rm -f conftest.$ac_objext
16938 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16939 (eval $ac_compile) 2>conftest.er1
16940 ac_status=$?
16941 grep -v '^ *+' conftest.er1 >conftest.err
16942 rm -f conftest.er1
16943 cat conftest.err >&5
16944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16945 (exit $ac_status); } &&
16946 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16948 (eval $ac_try) 2>&5
16949 ac_status=$?
16950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16951 (exit $ac_status); }; } &&
16952 { ac_try='test -s conftest.$ac_objext'
16953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16954 (eval $ac_try) 2>&5
16955 ac_status=$?
16956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16957 (exit $ac_status); }; }; then
16958 ac_header_compiler=yes
16959 else
16960 echo "$as_me: failed program was:" >&5
16961 sed 's/^/| /' conftest.$ac_ext >&5
16962
16963 ac_header_compiler=no
16964 fi
16965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16966 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16967 echo "${ECHO_T}$ac_header_compiler" >&6
16968
16969 # Is the header present?
16970 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16971 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16972 cat >conftest.$ac_ext <<_ACEOF
16973 /* confdefs.h. */
16974 _ACEOF
16975 cat confdefs.h >>conftest.$ac_ext
16976 cat >>conftest.$ac_ext <<_ACEOF
16977 /* end confdefs.h. */
16978 #include <$ac_header>
16979 _ACEOF
16980 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16981 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16982 ac_status=$?
16983 grep -v '^ *+' conftest.er1 >conftest.err
16984 rm -f conftest.er1
16985 cat conftest.err >&5
16986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16987 (exit $ac_status); } >/dev/null; then
16988 if test -s conftest.err; then
16989 ac_cpp_err=$ac_cxx_preproc_warn_flag
16990 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16991 else
16992 ac_cpp_err=
16993 fi
16994 else
16995 ac_cpp_err=yes
16996 fi
16997 if test -z "$ac_cpp_err"; then
16998 ac_header_preproc=yes
16999 else
17000 echo "$as_me: failed program was:" >&5
17001 sed 's/^/| /' conftest.$ac_ext >&5
17002
17003 ac_header_preproc=no
17004 fi
17005 rm -f conftest.err conftest.$ac_ext
17006 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17007 echo "${ECHO_T}$ac_header_preproc" >&6
17008
17009 # So? What about this header?
17010 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17011 yes:no: )
17012 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17013 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17014 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17015 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17016 ac_header_preproc=yes
17017 ;;
17018 no:yes:* )
17019 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17020 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17021 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17022 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17023 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17024 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17025 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17026 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17027 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17028 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17029 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17030 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17031 (
17032 cat <<\_ASBOX
17033 ## ----------------------------------------- ##
17034 ## Report this to wx-dev@lists.wxwidgets.org ##
17035 ## ----------------------------------------- ##
17036 _ASBOX
17037 ) |
17038 sed "s/^/$as_me: WARNING: /" >&2
17039 ;;
17040 esac
17041 echo "$as_me:$LINENO: checking for $ac_header" >&5
17042 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17043 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17044 echo $ECHO_N "(cached) $ECHO_C" >&6
17045 else
17046 eval "$as_ac_Header=\$ac_header_preproc"
17047 fi
17048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17049 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17050
17051 fi
17052 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17053 cat >>confdefs.h <<_ACEOF
17054 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17055 _ACEOF
17056
17057 fi
17058
17059 done
17060
17061
17062 for ac_header in unistd.h
17063 do
17064 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17065 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17066 echo "$as_me:$LINENO: checking for $ac_header" >&5
17067 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17068 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17069 echo $ECHO_N "(cached) $ECHO_C" >&6
17070 fi
17071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17072 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17073 else
17074 # Is the header compilable?
17075 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17076 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
17084 #include <$ac_header>
17085 _ACEOF
17086 rm -f conftest.$ac_objext
17087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17088 (eval $ac_compile) 2>conftest.er1
17089 ac_status=$?
17090 grep -v '^ *+' conftest.er1 >conftest.err
17091 rm -f conftest.er1
17092 cat conftest.err >&5
17093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17094 (exit $ac_status); } &&
17095 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17097 (eval $ac_try) 2>&5
17098 ac_status=$?
17099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17100 (exit $ac_status); }; } &&
17101 { ac_try='test -s conftest.$ac_objext'
17102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17103 (eval $ac_try) 2>&5
17104 ac_status=$?
17105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17106 (exit $ac_status); }; }; then
17107 ac_header_compiler=yes
17108 else
17109 echo "$as_me: failed program was:" >&5
17110 sed 's/^/| /' conftest.$ac_ext >&5
17111
17112 ac_header_compiler=no
17113 fi
17114 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17115 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17116 echo "${ECHO_T}$ac_header_compiler" >&6
17117
17118 # Is the header present?
17119 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17120 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17121 cat >conftest.$ac_ext <<_ACEOF
17122 /* confdefs.h. */
17123 _ACEOF
17124 cat confdefs.h >>conftest.$ac_ext
17125 cat >>conftest.$ac_ext <<_ACEOF
17126 /* end confdefs.h. */
17127 #include <$ac_header>
17128 _ACEOF
17129 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17130 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17131 ac_status=$?
17132 grep -v '^ *+' conftest.er1 >conftest.err
17133 rm -f conftest.er1
17134 cat conftest.err >&5
17135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17136 (exit $ac_status); } >/dev/null; then
17137 if test -s conftest.err; then
17138 ac_cpp_err=$ac_cxx_preproc_warn_flag
17139 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17140 else
17141 ac_cpp_err=
17142 fi
17143 else
17144 ac_cpp_err=yes
17145 fi
17146 if test -z "$ac_cpp_err"; then
17147 ac_header_preproc=yes
17148 else
17149 echo "$as_me: failed program was:" >&5
17150 sed 's/^/| /' conftest.$ac_ext >&5
17151
17152 ac_header_preproc=no
17153 fi
17154 rm -f conftest.err conftest.$ac_ext
17155 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17156 echo "${ECHO_T}$ac_header_preproc" >&6
17157
17158 # So? What about this header?
17159 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17160 yes:no: )
17161 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17162 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17163 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17164 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17165 ac_header_preproc=yes
17166 ;;
17167 no:yes:* )
17168 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17169 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17170 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17171 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17172 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17173 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17174 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17175 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17176 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17177 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17178 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17179 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17180 (
17181 cat <<\_ASBOX
17182 ## ----------------------------------------- ##
17183 ## Report this to wx-dev@lists.wxwidgets.org ##
17184 ## ----------------------------------------- ##
17185 _ASBOX
17186 ) |
17187 sed "s/^/$as_me: WARNING: /" >&2
17188 ;;
17189 esac
17190 echo "$as_me:$LINENO: checking for $ac_header" >&5
17191 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17192 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17193 echo $ECHO_N "(cached) $ECHO_C" >&6
17194 else
17195 eval "$as_ac_Header=\$ac_header_preproc"
17196 fi
17197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17198 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17199
17200 fi
17201 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17202 cat >>confdefs.h <<_ACEOF
17203 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17204 _ACEOF
17205
17206 fi
17207
17208 done
17209
17210
17211 for ac_header in wchar.h
17212 do
17213 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17214 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17215 echo "$as_me:$LINENO: checking for $ac_header" >&5
17216 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17218 echo $ECHO_N "(cached) $ECHO_C" >&6
17219 fi
17220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17221 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17222 else
17223 # Is the header compilable?
17224 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17225 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
17233 #include <$ac_header>
17234 _ACEOF
17235 rm -f conftest.$ac_objext
17236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17237 (eval $ac_compile) 2>conftest.er1
17238 ac_status=$?
17239 grep -v '^ *+' conftest.er1 >conftest.err
17240 rm -f conftest.er1
17241 cat conftest.err >&5
17242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17243 (exit $ac_status); } &&
17244 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17246 (eval $ac_try) 2>&5
17247 ac_status=$?
17248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17249 (exit $ac_status); }; } &&
17250 { ac_try='test -s conftest.$ac_objext'
17251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17252 (eval $ac_try) 2>&5
17253 ac_status=$?
17254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17255 (exit $ac_status); }; }; then
17256 ac_header_compiler=yes
17257 else
17258 echo "$as_me: failed program was:" >&5
17259 sed 's/^/| /' conftest.$ac_ext >&5
17260
17261 ac_header_compiler=no
17262 fi
17263 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17264 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17265 echo "${ECHO_T}$ac_header_compiler" >&6
17266
17267 # Is the header present?
17268 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17269 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17270 cat >conftest.$ac_ext <<_ACEOF
17271 /* confdefs.h. */
17272 _ACEOF
17273 cat confdefs.h >>conftest.$ac_ext
17274 cat >>conftest.$ac_ext <<_ACEOF
17275 /* end confdefs.h. */
17276 #include <$ac_header>
17277 _ACEOF
17278 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17279 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17280 ac_status=$?
17281 grep -v '^ *+' conftest.er1 >conftest.err
17282 rm -f conftest.er1
17283 cat conftest.err >&5
17284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17285 (exit $ac_status); } >/dev/null; then
17286 if test -s conftest.err; then
17287 ac_cpp_err=$ac_cxx_preproc_warn_flag
17288 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17289 else
17290 ac_cpp_err=
17291 fi
17292 else
17293 ac_cpp_err=yes
17294 fi
17295 if test -z "$ac_cpp_err"; then
17296 ac_header_preproc=yes
17297 else
17298 echo "$as_me: failed program was:" >&5
17299 sed 's/^/| /' conftest.$ac_ext >&5
17300
17301 ac_header_preproc=no
17302 fi
17303 rm -f conftest.err conftest.$ac_ext
17304 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17305 echo "${ECHO_T}$ac_header_preproc" >&6
17306
17307 # So? What about this header?
17308 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17309 yes:no: )
17310 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17311 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17312 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17313 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17314 ac_header_preproc=yes
17315 ;;
17316 no:yes:* )
17317 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17318 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17319 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17320 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17321 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17322 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17323 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17324 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17325 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17326 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17327 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17328 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17329 (
17330 cat <<\_ASBOX
17331 ## ----------------------------------------- ##
17332 ## Report this to wx-dev@lists.wxwidgets.org ##
17333 ## ----------------------------------------- ##
17334 _ASBOX
17335 ) |
17336 sed "s/^/$as_me: WARNING: /" >&2
17337 ;;
17338 esac
17339 echo "$as_me:$LINENO: checking for $ac_header" >&5
17340 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17341 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17342 echo $ECHO_N "(cached) $ECHO_C" >&6
17343 else
17344 eval "$as_ac_Header=\$ac_header_preproc"
17345 fi
17346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17347 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17348
17349 fi
17350 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17351 cat >>confdefs.h <<_ACEOF
17352 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17353 _ACEOF
17354
17355 fi
17356
17357 done
17358
17359
17360 if test "$ac_cv_header_wchar_h" != "yes"; then
17361
17362 for ac_header in wcstr.h
17363 do
17364 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17366 echo "$as_me:$LINENO: checking for $ac_header" >&5
17367 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17368 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17369 echo $ECHO_N "(cached) $ECHO_C" >&6
17370 fi
17371 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17372 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17373 else
17374 # Is the header compilable?
17375 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17376 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
17384 #include <$ac_header>
17385 _ACEOF
17386 rm -f conftest.$ac_objext
17387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17388 (eval $ac_compile) 2>conftest.er1
17389 ac_status=$?
17390 grep -v '^ *+' conftest.er1 >conftest.err
17391 rm -f conftest.er1
17392 cat conftest.err >&5
17393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17394 (exit $ac_status); } &&
17395 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17397 (eval $ac_try) 2>&5
17398 ac_status=$?
17399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17400 (exit $ac_status); }; } &&
17401 { ac_try='test -s conftest.$ac_objext'
17402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17403 (eval $ac_try) 2>&5
17404 ac_status=$?
17405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17406 (exit $ac_status); }; }; then
17407 ac_header_compiler=yes
17408 else
17409 echo "$as_me: failed program was:" >&5
17410 sed 's/^/| /' conftest.$ac_ext >&5
17411
17412 ac_header_compiler=no
17413 fi
17414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17415 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17416 echo "${ECHO_T}$ac_header_compiler" >&6
17417
17418 # Is the header present?
17419 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17420 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17421 cat >conftest.$ac_ext <<_ACEOF
17422 /* confdefs.h. */
17423 _ACEOF
17424 cat confdefs.h >>conftest.$ac_ext
17425 cat >>conftest.$ac_ext <<_ACEOF
17426 /* end confdefs.h. */
17427 #include <$ac_header>
17428 _ACEOF
17429 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17430 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17431 ac_status=$?
17432 grep -v '^ *+' conftest.er1 >conftest.err
17433 rm -f conftest.er1
17434 cat conftest.err >&5
17435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17436 (exit $ac_status); } >/dev/null; then
17437 if test -s conftest.err; then
17438 ac_cpp_err=$ac_cxx_preproc_warn_flag
17439 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17440 else
17441 ac_cpp_err=
17442 fi
17443 else
17444 ac_cpp_err=yes
17445 fi
17446 if test -z "$ac_cpp_err"; then
17447 ac_header_preproc=yes
17448 else
17449 echo "$as_me: failed program was:" >&5
17450 sed 's/^/| /' conftest.$ac_ext >&5
17451
17452 ac_header_preproc=no
17453 fi
17454 rm -f conftest.err conftest.$ac_ext
17455 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17456 echo "${ECHO_T}$ac_header_preproc" >&6
17457
17458 # So? What about this header?
17459 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17460 yes:no: )
17461 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17462 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17463 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17464 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17465 ac_header_preproc=yes
17466 ;;
17467 no:yes:* )
17468 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17469 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17470 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17471 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17472 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17473 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17474 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17475 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17476 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17477 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17478 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17479 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17480 (
17481 cat <<\_ASBOX
17482 ## ----------------------------------------- ##
17483 ## Report this to wx-dev@lists.wxwidgets.org ##
17484 ## ----------------------------------------- ##
17485 _ASBOX
17486 ) |
17487 sed "s/^/$as_me: WARNING: /" >&2
17488 ;;
17489 esac
17490 echo "$as_me:$LINENO: checking for $ac_header" >&5
17491 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17492 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17493 echo $ECHO_N "(cached) $ECHO_C" >&6
17494 else
17495 eval "$as_ac_Header=\$ac_header_preproc"
17496 fi
17497 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17498 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17499
17500 fi
17501 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17502 cat >>confdefs.h <<_ACEOF
17503 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17504 _ACEOF
17505
17506 fi
17507
17508 done
17509
17510 fi
17511
17512
17513 for ac_header in fnmatch.h
17514 do
17515 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17516 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17517 echo "$as_me:$LINENO: checking for $ac_header" >&5
17518 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17519 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17520 echo $ECHO_N "(cached) $ECHO_C" >&6
17521 fi
17522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17523 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17524 else
17525 # Is the header compilable?
17526 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17527 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
17535 #include <$ac_header>
17536 _ACEOF
17537 rm -f conftest.$ac_objext
17538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17539 (eval $ac_compile) 2>conftest.er1
17540 ac_status=$?
17541 grep -v '^ *+' conftest.er1 >conftest.err
17542 rm -f conftest.er1
17543 cat conftest.err >&5
17544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17545 (exit $ac_status); } &&
17546 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17548 (eval $ac_try) 2>&5
17549 ac_status=$?
17550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17551 (exit $ac_status); }; } &&
17552 { ac_try='test -s conftest.$ac_objext'
17553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17554 (eval $ac_try) 2>&5
17555 ac_status=$?
17556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17557 (exit $ac_status); }; }; then
17558 ac_header_compiler=yes
17559 else
17560 echo "$as_me: failed program was:" >&5
17561 sed 's/^/| /' conftest.$ac_ext >&5
17562
17563 ac_header_compiler=no
17564 fi
17565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17566 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17567 echo "${ECHO_T}$ac_header_compiler" >&6
17568
17569 # Is the header present?
17570 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17571 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17572 cat >conftest.$ac_ext <<_ACEOF
17573 /* confdefs.h. */
17574 _ACEOF
17575 cat confdefs.h >>conftest.$ac_ext
17576 cat >>conftest.$ac_ext <<_ACEOF
17577 /* end confdefs.h. */
17578 #include <$ac_header>
17579 _ACEOF
17580 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17581 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17582 ac_status=$?
17583 grep -v '^ *+' conftest.er1 >conftest.err
17584 rm -f conftest.er1
17585 cat conftest.err >&5
17586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17587 (exit $ac_status); } >/dev/null; then
17588 if test -s conftest.err; then
17589 ac_cpp_err=$ac_cxx_preproc_warn_flag
17590 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17591 else
17592 ac_cpp_err=
17593 fi
17594 else
17595 ac_cpp_err=yes
17596 fi
17597 if test -z "$ac_cpp_err"; then
17598 ac_header_preproc=yes
17599 else
17600 echo "$as_me: failed program was:" >&5
17601 sed 's/^/| /' conftest.$ac_ext >&5
17602
17603 ac_header_preproc=no
17604 fi
17605 rm -f conftest.err conftest.$ac_ext
17606 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17607 echo "${ECHO_T}$ac_header_preproc" >&6
17608
17609 # So? What about this header?
17610 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17611 yes:no: )
17612 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17613 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17614 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17615 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17616 ac_header_preproc=yes
17617 ;;
17618 no:yes:* )
17619 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17620 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17621 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17622 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17623 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17624 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17625 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17626 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17627 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17628 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17629 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17630 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17631 (
17632 cat <<\_ASBOX
17633 ## ----------------------------------------- ##
17634 ## Report this to wx-dev@lists.wxwidgets.org ##
17635 ## ----------------------------------------- ##
17636 _ASBOX
17637 ) |
17638 sed "s/^/$as_me: WARNING: /" >&2
17639 ;;
17640 esac
17641 echo "$as_me:$LINENO: checking for $ac_header" >&5
17642 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17643 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17644 echo $ECHO_N "(cached) $ECHO_C" >&6
17645 else
17646 eval "$as_ac_Header=\$ac_header_preproc"
17647 fi
17648 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17649 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17650
17651 fi
17652 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17653 cat >>confdefs.h <<_ACEOF
17654 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17655 _ACEOF
17656
17657 fi
17658
17659 done
17660
17661
17662
17663 for ac_header in langinfo.h
17664 do
17665 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17666 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17667 echo "$as_me:$LINENO: checking for $ac_header" >&5
17668 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17669 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17670 echo $ECHO_N "(cached) $ECHO_C" >&6
17671 fi
17672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17673 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17674 else
17675 # Is the header compilable?
17676 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17677 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
17685 #include <$ac_header>
17686 _ACEOF
17687 rm -f conftest.$ac_objext
17688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17689 (eval $ac_compile) 2>conftest.er1
17690 ac_status=$?
17691 grep -v '^ *+' conftest.er1 >conftest.err
17692 rm -f conftest.er1
17693 cat conftest.err >&5
17694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17695 (exit $ac_status); } &&
17696 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17698 (eval $ac_try) 2>&5
17699 ac_status=$?
17700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17701 (exit $ac_status); }; } &&
17702 { ac_try='test -s conftest.$ac_objext'
17703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17704 (eval $ac_try) 2>&5
17705 ac_status=$?
17706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17707 (exit $ac_status); }; }; then
17708 ac_header_compiler=yes
17709 else
17710 echo "$as_me: failed program was:" >&5
17711 sed 's/^/| /' conftest.$ac_ext >&5
17712
17713 ac_header_compiler=no
17714 fi
17715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17716 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17717 echo "${ECHO_T}$ac_header_compiler" >&6
17718
17719 # Is the header present?
17720 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17721 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17722 cat >conftest.$ac_ext <<_ACEOF
17723 /* confdefs.h. */
17724 _ACEOF
17725 cat confdefs.h >>conftest.$ac_ext
17726 cat >>conftest.$ac_ext <<_ACEOF
17727 /* end confdefs.h. */
17728 #include <$ac_header>
17729 _ACEOF
17730 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17731 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17732 ac_status=$?
17733 grep -v '^ *+' conftest.er1 >conftest.err
17734 rm -f conftest.er1
17735 cat conftest.err >&5
17736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17737 (exit $ac_status); } >/dev/null; then
17738 if test -s conftest.err; then
17739 ac_cpp_err=$ac_cxx_preproc_warn_flag
17740 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17741 else
17742 ac_cpp_err=
17743 fi
17744 else
17745 ac_cpp_err=yes
17746 fi
17747 if test -z "$ac_cpp_err"; then
17748 ac_header_preproc=yes
17749 else
17750 echo "$as_me: failed program was:" >&5
17751 sed 's/^/| /' conftest.$ac_ext >&5
17752
17753 ac_header_preproc=no
17754 fi
17755 rm -f conftest.err conftest.$ac_ext
17756 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17757 echo "${ECHO_T}$ac_header_preproc" >&6
17758
17759 # So? What about this header?
17760 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17761 yes:no: )
17762 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17763 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17764 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17765 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17766 ac_header_preproc=yes
17767 ;;
17768 no:yes:* )
17769 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17770 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17771 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17772 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17773 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17774 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17775 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17776 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17777 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17778 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17779 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17780 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17781 (
17782 cat <<\_ASBOX
17783 ## ----------------------------------------- ##
17784 ## Report this to wx-dev@lists.wxwidgets.org ##
17785 ## ----------------------------------------- ##
17786 _ASBOX
17787 ) |
17788 sed "s/^/$as_me: WARNING: /" >&2
17789 ;;
17790 esac
17791 echo "$as_me:$LINENO: checking for $ac_header" >&5
17792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17794 echo $ECHO_N "(cached) $ECHO_C" >&6
17795 else
17796 eval "$as_ac_Header=\$ac_header_preproc"
17797 fi
17798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17799 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17800
17801 fi
17802 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17803 cat >>confdefs.h <<_ACEOF
17804 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17805 _ACEOF
17806
17807 fi
17808
17809 done
17810
17811
17812 case "${host}" in
17813 *-pc-os2_emx | *-pc-os2-emx )
17814 if test $ac_cv_header_langinfo_h = "yes" \
17815 -a \( "$wx_cv_gccversion" = "EMX2" \
17816 -o "$wx_cv_gccversion" = "EMX3" \
17817 -o "$wx_cv_gccversion" = "Innotek5" \); then
17818 LIBS="$LIBS -lintl"
17819 fi
17820 ;;
17821 esac
17822
17823 if test "$USE_UNIX" = 1 ; then
17824
17825 for ac_header in sys/select.h
17826 do
17827 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17828 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17829 echo "$as_me:$LINENO: checking for $ac_header" >&5
17830 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17831 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17832 echo $ECHO_N "(cached) $ECHO_C" >&6
17833 fi
17834 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17835 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17836 else
17837 # Is the header compilable?
17838 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17839 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
17847 #include <$ac_header>
17848 _ACEOF
17849 rm -f conftest.$ac_objext
17850 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17851 (eval $ac_compile) 2>conftest.er1
17852 ac_status=$?
17853 grep -v '^ *+' conftest.er1 >conftest.err
17854 rm -f conftest.er1
17855 cat conftest.err >&5
17856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17857 (exit $ac_status); } &&
17858 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17860 (eval $ac_try) 2>&5
17861 ac_status=$?
17862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17863 (exit $ac_status); }; } &&
17864 { ac_try='test -s conftest.$ac_objext'
17865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17866 (eval $ac_try) 2>&5
17867 ac_status=$?
17868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17869 (exit $ac_status); }; }; then
17870 ac_header_compiler=yes
17871 else
17872 echo "$as_me: failed program was:" >&5
17873 sed 's/^/| /' conftest.$ac_ext >&5
17874
17875 ac_header_compiler=no
17876 fi
17877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17878 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17879 echo "${ECHO_T}$ac_header_compiler" >&6
17880
17881 # Is the header present?
17882 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17883 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17884 cat >conftest.$ac_ext <<_ACEOF
17885 /* confdefs.h. */
17886 _ACEOF
17887 cat confdefs.h >>conftest.$ac_ext
17888 cat >>conftest.$ac_ext <<_ACEOF
17889 /* end confdefs.h. */
17890 #include <$ac_header>
17891 _ACEOF
17892 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17893 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17894 ac_status=$?
17895 grep -v '^ *+' conftest.er1 >conftest.err
17896 rm -f conftest.er1
17897 cat conftest.err >&5
17898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17899 (exit $ac_status); } >/dev/null; then
17900 if test -s conftest.err; then
17901 ac_cpp_err=$ac_cxx_preproc_warn_flag
17902 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17903 else
17904 ac_cpp_err=
17905 fi
17906 else
17907 ac_cpp_err=yes
17908 fi
17909 if test -z "$ac_cpp_err"; then
17910 ac_header_preproc=yes
17911 else
17912 echo "$as_me: failed program was:" >&5
17913 sed 's/^/| /' conftest.$ac_ext >&5
17914
17915 ac_header_preproc=no
17916 fi
17917 rm -f conftest.err conftest.$ac_ext
17918 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17919 echo "${ECHO_T}$ac_header_preproc" >&6
17920
17921 # So? What about this header?
17922 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17923 yes:no: )
17924 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17925 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17926 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17927 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17928 ac_header_preproc=yes
17929 ;;
17930 no:yes:* )
17931 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17932 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17933 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17934 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17935 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17936 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17937 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17938 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17939 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17940 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17941 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17942 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17943 (
17944 cat <<\_ASBOX
17945 ## ----------------------------------------- ##
17946 ## Report this to wx-dev@lists.wxwidgets.org ##
17947 ## ----------------------------------------- ##
17948 _ASBOX
17949 ) |
17950 sed "s/^/$as_me: WARNING: /" >&2
17951 ;;
17952 esac
17953 echo "$as_me:$LINENO: checking for $ac_header" >&5
17954 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17955 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17956 echo $ECHO_N "(cached) $ECHO_C" >&6
17957 else
17958 eval "$as_ac_Header=\$ac_header_preproc"
17959 fi
17960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17961 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17962
17963 fi
17964 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17965 cat >>confdefs.h <<_ACEOF
17966 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17967 _ACEOF
17968
17969 fi
17970
17971 done
17972
17973 fi
17974
17975
17976 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17977 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17978 if test "${ac_cv_c_const+set}" = set; then
17979 echo $ECHO_N "(cached) $ECHO_C" >&6
17980 else
17981 cat >conftest.$ac_ext <<_ACEOF
17982 /* confdefs.h. */
17983 _ACEOF
17984 cat confdefs.h >>conftest.$ac_ext
17985 cat >>conftest.$ac_ext <<_ACEOF
17986 /* end confdefs.h. */
17987
17988 int
17989 main ()
17990 {
17991 /* FIXME: Include the comments suggested by Paul. */
17992 #ifndef __cplusplus
17993 /* Ultrix mips cc rejects this. */
17994 typedef int charset[2];
17995 const charset x;
17996 /* SunOS 4.1.1 cc rejects this. */
17997 char const *const *ccp;
17998 char **p;
17999 /* NEC SVR4.0.2 mips cc rejects this. */
18000 struct point {int x, y;};
18001 static struct point const zero = {0,0};
18002 /* AIX XL C 1.02.0.0 rejects this.
18003 It does not let you subtract one const X* pointer from another in
18004 an arm of an if-expression whose if-part is not a constant
18005 expression */
18006 const char *g = "string";
18007 ccp = &g + (g ? g-g : 0);
18008 /* HPUX 7.0 cc rejects these. */
18009 ++ccp;
18010 p = (char**) ccp;
18011 ccp = (char const *const *) p;
18012 { /* SCO 3.2v4 cc rejects this. */
18013 char *t;
18014 char const *s = 0 ? (char *) 0 : (char const *) 0;
18015
18016 *t++ = 0;
18017 }
18018 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18019 int x[] = {25, 17};
18020 const int *foo = &x[0];
18021 ++foo;
18022 }
18023 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18024 typedef const int *iptr;
18025 iptr p = 0;
18026 ++p;
18027 }
18028 { /* AIX XL C 1.02.0.0 rejects this saying
18029 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18030 struct s { int j; const int *ap[3]; };
18031 struct s *b; b->j = 5;
18032 }
18033 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18034 const int foo = 10;
18035 }
18036 #endif
18037
18038 ;
18039 return 0;
18040 }
18041 _ACEOF
18042 rm -f conftest.$ac_objext
18043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18044 (eval $ac_compile) 2>conftest.er1
18045 ac_status=$?
18046 grep -v '^ *+' conftest.er1 >conftest.err
18047 rm -f conftest.er1
18048 cat conftest.err >&5
18049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18050 (exit $ac_status); } &&
18051 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18053 (eval $ac_try) 2>&5
18054 ac_status=$?
18055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18056 (exit $ac_status); }; } &&
18057 { ac_try='test -s conftest.$ac_objext'
18058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18059 (eval $ac_try) 2>&5
18060 ac_status=$?
18061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18062 (exit $ac_status); }; }; then
18063 ac_cv_c_const=yes
18064 else
18065 echo "$as_me: failed program was:" >&5
18066 sed 's/^/| /' conftest.$ac_ext >&5
18067
18068 ac_cv_c_const=no
18069 fi
18070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18071 fi
18072 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18073 echo "${ECHO_T}$ac_cv_c_const" >&6
18074 if test $ac_cv_c_const = no; then
18075
18076 cat >>confdefs.h <<\_ACEOF
18077 #define const
18078 _ACEOF
18079
18080 fi
18081
18082 echo "$as_me:$LINENO: checking for inline" >&5
18083 echo $ECHO_N "checking for inline... $ECHO_C" >&6
18084 if test "${ac_cv_c_inline+set}" = set; then
18085 echo $ECHO_N "(cached) $ECHO_C" >&6
18086 else
18087 ac_cv_c_inline=no
18088 for ac_kw in inline __inline__ __inline; do
18089 cat >conftest.$ac_ext <<_ACEOF
18090 /* confdefs.h. */
18091 _ACEOF
18092 cat confdefs.h >>conftest.$ac_ext
18093 cat >>conftest.$ac_ext <<_ACEOF
18094 /* end confdefs.h. */
18095 #ifndef __cplusplus
18096 typedef int foo_t;
18097 static $ac_kw foo_t static_foo () {return 0; }
18098 $ac_kw foo_t foo () {return 0; }
18099 #endif
18100
18101 _ACEOF
18102 rm -f conftest.$ac_objext
18103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18104 (eval $ac_compile) 2>conftest.er1
18105 ac_status=$?
18106 grep -v '^ *+' conftest.er1 >conftest.err
18107 rm -f conftest.er1
18108 cat conftest.err >&5
18109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18110 (exit $ac_status); } &&
18111 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18113 (eval $ac_try) 2>&5
18114 ac_status=$?
18115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18116 (exit $ac_status); }; } &&
18117 { ac_try='test -s conftest.$ac_objext'
18118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18119 (eval $ac_try) 2>&5
18120 ac_status=$?
18121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18122 (exit $ac_status); }; }; then
18123 ac_cv_c_inline=$ac_kw; break
18124 else
18125 echo "$as_me: failed program was:" >&5
18126 sed 's/^/| /' conftest.$ac_ext >&5
18127
18128 fi
18129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18130 done
18131
18132 fi
18133 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18134 echo "${ECHO_T}$ac_cv_c_inline" >&6
18135
18136
18137 case $ac_cv_c_inline in
18138 inline | yes) ;;
18139 *)
18140 case $ac_cv_c_inline in
18141 no) ac_val=;;
18142 *) ac_val=$ac_cv_c_inline;;
18143 esac
18144 cat >>confdefs.h <<_ACEOF
18145 #ifndef __cplusplus
18146 #define inline $ac_val
18147 #endif
18148 _ACEOF
18149 ;;
18150 esac
18151
18152
18153 echo "$as_me:$LINENO: checking for char" >&5
18154 echo $ECHO_N "checking for char... $ECHO_C" >&6
18155 if test "${ac_cv_type_char+set}" = set; then
18156 echo $ECHO_N "(cached) $ECHO_C" >&6
18157 else
18158 cat >conftest.$ac_ext <<_ACEOF
18159 /* confdefs.h. */
18160 _ACEOF
18161 cat confdefs.h >>conftest.$ac_ext
18162 cat >>conftest.$ac_ext <<_ACEOF
18163 /* end confdefs.h. */
18164 $ac_includes_default
18165 int
18166 main ()
18167 {
18168 if ((char *) 0)
18169 return 0;
18170 if (sizeof (char))
18171 return 0;
18172 ;
18173 return 0;
18174 }
18175 _ACEOF
18176 rm -f conftest.$ac_objext
18177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18178 (eval $ac_compile) 2>conftest.er1
18179 ac_status=$?
18180 grep -v '^ *+' conftest.er1 >conftest.err
18181 rm -f conftest.er1
18182 cat conftest.err >&5
18183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18184 (exit $ac_status); } &&
18185 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18187 (eval $ac_try) 2>&5
18188 ac_status=$?
18189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18190 (exit $ac_status); }; } &&
18191 { ac_try='test -s conftest.$ac_objext'
18192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18193 (eval $ac_try) 2>&5
18194 ac_status=$?
18195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18196 (exit $ac_status); }; }; then
18197 ac_cv_type_char=yes
18198 else
18199 echo "$as_me: failed program was:" >&5
18200 sed 's/^/| /' conftest.$ac_ext >&5
18201
18202 ac_cv_type_char=no
18203 fi
18204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18205 fi
18206 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18207 echo "${ECHO_T}$ac_cv_type_char" >&6
18208
18209 echo "$as_me:$LINENO: checking size of char" >&5
18210 echo $ECHO_N "checking size of char... $ECHO_C" >&6
18211 if test "${ac_cv_sizeof_char+set}" = set; then
18212 echo $ECHO_N "(cached) $ECHO_C" >&6
18213 else
18214 if test "$ac_cv_type_char" = yes; then
18215 # The cast to unsigned long works around a bug in the HP C Compiler
18216 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18217 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18218 # This bug is HP SR number 8606223364.
18219 if test "$cross_compiling" = yes; then
18220 # Depending upon the size, compute the lo and hi bounds.
18221 cat >conftest.$ac_ext <<_ACEOF
18222 /* confdefs.h. */
18223 _ACEOF
18224 cat confdefs.h >>conftest.$ac_ext
18225 cat >>conftest.$ac_ext <<_ACEOF
18226 /* end confdefs.h. */
18227 $ac_includes_default
18228 int
18229 main ()
18230 {
18231 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
18232 test_array [0] = 0
18233
18234 ;
18235 return 0;
18236 }
18237 _ACEOF
18238 rm -f conftest.$ac_objext
18239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18240 (eval $ac_compile) 2>conftest.er1
18241 ac_status=$?
18242 grep -v '^ *+' conftest.er1 >conftest.err
18243 rm -f conftest.er1
18244 cat conftest.err >&5
18245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18246 (exit $ac_status); } &&
18247 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18249 (eval $ac_try) 2>&5
18250 ac_status=$?
18251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18252 (exit $ac_status); }; } &&
18253 { ac_try='test -s conftest.$ac_objext'
18254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18255 (eval $ac_try) 2>&5
18256 ac_status=$?
18257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18258 (exit $ac_status); }; }; then
18259 ac_lo=0 ac_mid=0
18260 while :; do
18261 cat >conftest.$ac_ext <<_ACEOF
18262 /* confdefs.h. */
18263 _ACEOF
18264 cat confdefs.h >>conftest.$ac_ext
18265 cat >>conftest.$ac_ext <<_ACEOF
18266 /* end confdefs.h. */
18267 $ac_includes_default
18268 int
18269 main ()
18270 {
18271 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18272 test_array [0] = 0
18273
18274 ;
18275 return 0;
18276 }
18277 _ACEOF
18278 rm -f conftest.$ac_objext
18279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18280 (eval $ac_compile) 2>conftest.er1
18281 ac_status=$?
18282 grep -v '^ *+' conftest.er1 >conftest.err
18283 rm -f conftest.er1
18284 cat conftest.err >&5
18285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18286 (exit $ac_status); } &&
18287 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18289 (eval $ac_try) 2>&5
18290 ac_status=$?
18291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18292 (exit $ac_status); }; } &&
18293 { ac_try='test -s conftest.$ac_objext'
18294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18295 (eval $ac_try) 2>&5
18296 ac_status=$?
18297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18298 (exit $ac_status); }; }; then
18299 ac_hi=$ac_mid; break
18300 else
18301 echo "$as_me: failed program was:" >&5
18302 sed 's/^/| /' conftest.$ac_ext >&5
18303
18304 ac_lo=`expr $ac_mid + 1`
18305 if test $ac_lo -le $ac_mid; then
18306 ac_lo= ac_hi=
18307 break
18308 fi
18309 ac_mid=`expr 2 '*' $ac_mid + 1`
18310 fi
18311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18312 done
18313 else
18314 echo "$as_me: failed program was:" >&5
18315 sed 's/^/| /' conftest.$ac_ext >&5
18316
18317 cat >conftest.$ac_ext <<_ACEOF
18318 /* confdefs.h. */
18319 _ACEOF
18320 cat confdefs.h >>conftest.$ac_ext
18321 cat >>conftest.$ac_ext <<_ACEOF
18322 /* end confdefs.h. */
18323 $ac_includes_default
18324 int
18325 main ()
18326 {
18327 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18328 test_array [0] = 0
18329
18330 ;
18331 return 0;
18332 }
18333 _ACEOF
18334 rm -f conftest.$ac_objext
18335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18336 (eval $ac_compile) 2>conftest.er1
18337 ac_status=$?
18338 grep -v '^ *+' conftest.er1 >conftest.err
18339 rm -f conftest.er1
18340 cat conftest.err >&5
18341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18342 (exit $ac_status); } &&
18343 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18345 (eval $ac_try) 2>&5
18346 ac_status=$?
18347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18348 (exit $ac_status); }; } &&
18349 { ac_try='test -s conftest.$ac_objext'
18350 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18351 (eval $ac_try) 2>&5
18352 ac_status=$?
18353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18354 (exit $ac_status); }; }; then
18355 ac_hi=-1 ac_mid=-1
18356 while :; do
18357 cat >conftest.$ac_ext <<_ACEOF
18358 /* confdefs.h. */
18359 _ACEOF
18360 cat confdefs.h >>conftest.$ac_ext
18361 cat >>conftest.$ac_ext <<_ACEOF
18362 /* end confdefs.h. */
18363 $ac_includes_default
18364 int
18365 main ()
18366 {
18367 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18368 test_array [0] = 0
18369
18370 ;
18371 return 0;
18372 }
18373 _ACEOF
18374 rm -f conftest.$ac_objext
18375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18376 (eval $ac_compile) 2>conftest.er1
18377 ac_status=$?
18378 grep -v '^ *+' conftest.er1 >conftest.err
18379 rm -f conftest.er1
18380 cat conftest.err >&5
18381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18382 (exit $ac_status); } &&
18383 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18385 (eval $ac_try) 2>&5
18386 ac_status=$?
18387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18388 (exit $ac_status); }; } &&
18389 { ac_try='test -s conftest.$ac_objext'
18390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18391 (eval $ac_try) 2>&5
18392 ac_status=$?
18393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18394 (exit $ac_status); }; }; then
18395 ac_lo=$ac_mid; break
18396 else
18397 echo "$as_me: failed program was:" >&5
18398 sed 's/^/| /' conftest.$ac_ext >&5
18399
18400 ac_hi=`expr '(' $ac_mid ')' - 1`
18401 if test $ac_mid -le $ac_hi; then
18402 ac_lo= ac_hi=
18403 break
18404 fi
18405 ac_mid=`expr 2 '*' $ac_mid`
18406 fi
18407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18408 done
18409 else
18410 echo "$as_me: failed program was:" >&5
18411 sed 's/^/| /' conftest.$ac_ext >&5
18412
18413 ac_lo= ac_hi=
18414 fi
18415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18416 fi
18417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18418 # Binary search between lo and hi bounds.
18419 while test "x$ac_lo" != "x$ac_hi"; do
18420 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18421 cat >conftest.$ac_ext <<_ACEOF
18422 /* confdefs.h. */
18423 _ACEOF
18424 cat confdefs.h >>conftest.$ac_ext
18425 cat >>conftest.$ac_ext <<_ACEOF
18426 /* end confdefs.h. */
18427 $ac_includes_default
18428 int
18429 main ()
18430 {
18431 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18432 test_array [0] = 0
18433
18434 ;
18435 return 0;
18436 }
18437 _ACEOF
18438 rm -f conftest.$ac_objext
18439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18440 (eval $ac_compile) 2>conftest.er1
18441 ac_status=$?
18442 grep -v '^ *+' conftest.er1 >conftest.err
18443 rm -f conftest.er1
18444 cat conftest.err >&5
18445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18446 (exit $ac_status); } &&
18447 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18449 (eval $ac_try) 2>&5
18450 ac_status=$?
18451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18452 (exit $ac_status); }; } &&
18453 { ac_try='test -s conftest.$ac_objext'
18454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18455 (eval $ac_try) 2>&5
18456 ac_status=$?
18457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18458 (exit $ac_status); }; }; then
18459 ac_hi=$ac_mid
18460 else
18461 echo "$as_me: failed program was:" >&5
18462 sed 's/^/| /' conftest.$ac_ext >&5
18463
18464 ac_lo=`expr '(' $ac_mid ')' + 1`
18465 fi
18466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18467 done
18468 case $ac_lo in
18469 ?*) ac_cv_sizeof_char=$ac_lo;;
18470 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18471 See \`config.log' for more details." >&5
18472 echo "$as_me: error: cannot compute sizeof (char), 77
18473 See \`config.log' for more details." >&2;}
18474 { (exit 1); exit 1; }; } ;;
18475 esac
18476 else
18477 if test "$cross_compiling" = yes; then
18478 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18479 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18480 { (exit 1); exit 1; }; }
18481 else
18482 cat >conftest.$ac_ext <<_ACEOF
18483 /* confdefs.h. */
18484 _ACEOF
18485 cat confdefs.h >>conftest.$ac_ext
18486 cat >>conftest.$ac_ext <<_ACEOF
18487 /* end confdefs.h. */
18488 $ac_includes_default
18489 long longval () { return (long) (sizeof (char)); }
18490 unsigned long ulongval () { return (long) (sizeof (char)); }
18491 #include <stdio.h>
18492 #include <stdlib.h>
18493 int
18494 main ()
18495 {
18496
18497 FILE *f = fopen ("conftest.val", "w");
18498 if (! f)
18499 exit (1);
18500 if (((long) (sizeof (char))) < 0)
18501 {
18502 long i = longval ();
18503 if (i != ((long) (sizeof (char))))
18504 exit (1);
18505 fprintf (f, "%ld\n", i);
18506 }
18507 else
18508 {
18509 unsigned long i = ulongval ();
18510 if (i != ((long) (sizeof (char))))
18511 exit (1);
18512 fprintf (f, "%lu\n", i);
18513 }
18514 exit (ferror (f) || fclose (f) != 0);
18515
18516 ;
18517 return 0;
18518 }
18519 _ACEOF
18520 rm -f conftest$ac_exeext
18521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18522 (eval $ac_link) 2>&5
18523 ac_status=$?
18524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18525 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18527 (eval $ac_try) 2>&5
18528 ac_status=$?
18529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18530 (exit $ac_status); }; }; then
18531 ac_cv_sizeof_char=`cat conftest.val`
18532 else
18533 echo "$as_me: program exited with status $ac_status" >&5
18534 echo "$as_me: failed program was:" >&5
18535 sed 's/^/| /' conftest.$ac_ext >&5
18536
18537 ( exit $ac_status )
18538 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18539 See \`config.log' for more details." >&5
18540 echo "$as_me: error: cannot compute sizeof (char), 77
18541 See \`config.log' for more details." >&2;}
18542 { (exit 1); exit 1; }; }
18543 fi
18544 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18545 fi
18546 fi
18547 rm -f conftest.val
18548 else
18549 ac_cv_sizeof_char=0
18550 fi
18551 fi
18552 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18553 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18554 cat >>confdefs.h <<_ACEOF
18555 #define SIZEOF_CHAR $ac_cv_sizeof_char
18556 _ACEOF
18557
18558
18559 echo "$as_me:$LINENO: checking for short" >&5
18560 echo $ECHO_N "checking for short... $ECHO_C" >&6
18561 if test "${ac_cv_type_short+set}" = set; then
18562 echo $ECHO_N "(cached) $ECHO_C" >&6
18563 else
18564 cat >conftest.$ac_ext <<_ACEOF
18565 /* confdefs.h. */
18566 _ACEOF
18567 cat confdefs.h >>conftest.$ac_ext
18568 cat >>conftest.$ac_ext <<_ACEOF
18569 /* end confdefs.h. */
18570 $ac_includes_default
18571 int
18572 main ()
18573 {
18574 if ((short *) 0)
18575 return 0;
18576 if (sizeof (short))
18577 return 0;
18578 ;
18579 return 0;
18580 }
18581 _ACEOF
18582 rm -f conftest.$ac_objext
18583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18584 (eval $ac_compile) 2>conftest.er1
18585 ac_status=$?
18586 grep -v '^ *+' conftest.er1 >conftest.err
18587 rm -f conftest.er1
18588 cat conftest.err >&5
18589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18590 (exit $ac_status); } &&
18591 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18593 (eval $ac_try) 2>&5
18594 ac_status=$?
18595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18596 (exit $ac_status); }; } &&
18597 { ac_try='test -s conftest.$ac_objext'
18598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18599 (eval $ac_try) 2>&5
18600 ac_status=$?
18601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18602 (exit $ac_status); }; }; then
18603 ac_cv_type_short=yes
18604 else
18605 echo "$as_me: failed program was:" >&5
18606 sed 's/^/| /' conftest.$ac_ext >&5
18607
18608 ac_cv_type_short=no
18609 fi
18610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18611 fi
18612 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18613 echo "${ECHO_T}$ac_cv_type_short" >&6
18614
18615 echo "$as_me:$LINENO: checking size of short" >&5
18616 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18617 if test "${ac_cv_sizeof_short+set}" = set; then
18618 echo $ECHO_N "(cached) $ECHO_C" >&6
18619 else
18620 if test "$ac_cv_type_short" = yes; then
18621 # The cast to unsigned long works around a bug in the HP C Compiler
18622 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18623 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18624 # This bug is HP SR number 8606223364.
18625 if test "$cross_compiling" = yes; then
18626 # Depending upon the size, compute the lo and hi bounds.
18627 cat >conftest.$ac_ext <<_ACEOF
18628 /* confdefs.h. */
18629 _ACEOF
18630 cat confdefs.h >>conftest.$ac_ext
18631 cat >>conftest.$ac_ext <<_ACEOF
18632 /* end confdefs.h. */
18633 $ac_includes_default
18634 int
18635 main ()
18636 {
18637 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18638 test_array [0] = 0
18639
18640 ;
18641 return 0;
18642 }
18643 _ACEOF
18644 rm -f conftest.$ac_objext
18645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18646 (eval $ac_compile) 2>conftest.er1
18647 ac_status=$?
18648 grep -v '^ *+' conftest.er1 >conftest.err
18649 rm -f conftest.er1
18650 cat conftest.err >&5
18651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18652 (exit $ac_status); } &&
18653 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18655 (eval $ac_try) 2>&5
18656 ac_status=$?
18657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18658 (exit $ac_status); }; } &&
18659 { ac_try='test -s conftest.$ac_objext'
18660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18661 (eval $ac_try) 2>&5
18662 ac_status=$?
18663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18664 (exit $ac_status); }; }; then
18665 ac_lo=0 ac_mid=0
18666 while :; do
18667 cat >conftest.$ac_ext <<_ACEOF
18668 /* confdefs.h. */
18669 _ACEOF
18670 cat confdefs.h >>conftest.$ac_ext
18671 cat >>conftest.$ac_ext <<_ACEOF
18672 /* end confdefs.h. */
18673 $ac_includes_default
18674 int
18675 main ()
18676 {
18677 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18678 test_array [0] = 0
18679
18680 ;
18681 return 0;
18682 }
18683 _ACEOF
18684 rm -f conftest.$ac_objext
18685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18686 (eval $ac_compile) 2>conftest.er1
18687 ac_status=$?
18688 grep -v '^ *+' conftest.er1 >conftest.err
18689 rm -f conftest.er1
18690 cat conftest.err >&5
18691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18692 (exit $ac_status); } &&
18693 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18695 (eval $ac_try) 2>&5
18696 ac_status=$?
18697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18698 (exit $ac_status); }; } &&
18699 { ac_try='test -s conftest.$ac_objext'
18700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18701 (eval $ac_try) 2>&5
18702 ac_status=$?
18703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18704 (exit $ac_status); }; }; then
18705 ac_hi=$ac_mid; break
18706 else
18707 echo "$as_me: failed program was:" >&5
18708 sed 's/^/| /' conftest.$ac_ext >&5
18709
18710 ac_lo=`expr $ac_mid + 1`
18711 if test $ac_lo -le $ac_mid; then
18712 ac_lo= ac_hi=
18713 break
18714 fi
18715 ac_mid=`expr 2 '*' $ac_mid + 1`
18716 fi
18717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18718 done
18719 else
18720 echo "$as_me: failed program was:" >&5
18721 sed 's/^/| /' conftest.$ac_ext >&5
18722
18723 cat >conftest.$ac_ext <<_ACEOF
18724 /* confdefs.h. */
18725 _ACEOF
18726 cat confdefs.h >>conftest.$ac_ext
18727 cat >>conftest.$ac_ext <<_ACEOF
18728 /* end confdefs.h. */
18729 $ac_includes_default
18730 int
18731 main ()
18732 {
18733 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18734 test_array [0] = 0
18735
18736 ;
18737 return 0;
18738 }
18739 _ACEOF
18740 rm -f conftest.$ac_objext
18741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18742 (eval $ac_compile) 2>conftest.er1
18743 ac_status=$?
18744 grep -v '^ *+' conftest.er1 >conftest.err
18745 rm -f conftest.er1
18746 cat conftest.err >&5
18747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18748 (exit $ac_status); } &&
18749 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18751 (eval $ac_try) 2>&5
18752 ac_status=$?
18753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18754 (exit $ac_status); }; } &&
18755 { ac_try='test -s conftest.$ac_objext'
18756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18757 (eval $ac_try) 2>&5
18758 ac_status=$?
18759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18760 (exit $ac_status); }; }; then
18761 ac_hi=-1 ac_mid=-1
18762 while :; do
18763 cat >conftest.$ac_ext <<_ACEOF
18764 /* confdefs.h. */
18765 _ACEOF
18766 cat confdefs.h >>conftest.$ac_ext
18767 cat >>conftest.$ac_ext <<_ACEOF
18768 /* end confdefs.h. */
18769 $ac_includes_default
18770 int
18771 main ()
18772 {
18773 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18774 test_array [0] = 0
18775
18776 ;
18777 return 0;
18778 }
18779 _ACEOF
18780 rm -f conftest.$ac_objext
18781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18782 (eval $ac_compile) 2>conftest.er1
18783 ac_status=$?
18784 grep -v '^ *+' conftest.er1 >conftest.err
18785 rm -f conftest.er1
18786 cat conftest.err >&5
18787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18788 (exit $ac_status); } &&
18789 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18791 (eval $ac_try) 2>&5
18792 ac_status=$?
18793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18794 (exit $ac_status); }; } &&
18795 { ac_try='test -s conftest.$ac_objext'
18796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18797 (eval $ac_try) 2>&5
18798 ac_status=$?
18799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18800 (exit $ac_status); }; }; then
18801 ac_lo=$ac_mid; break
18802 else
18803 echo "$as_me: failed program was:" >&5
18804 sed 's/^/| /' conftest.$ac_ext >&5
18805
18806 ac_hi=`expr '(' $ac_mid ')' - 1`
18807 if test $ac_mid -le $ac_hi; then
18808 ac_lo= ac_hi=
18809 break
18810 fi
18811 ac_mid=`expr 2 '*' $ac_mid`
18812 fi
18813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18814 done
18815 else
18816 echo "$as_me: failed program was:" >&5
18817 sed 's/^/| /' conftest.$ac_ext >&5
18818
18819 ac_lo= ac_hi=
18820 fi
18821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18822 fi
18823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18824 # Binary search between lo and hi bounds.
18825 while test "x$ac_lo" != "x$ac_hi"; do
18826 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18827 cat >conftest.$ac_ext <<_ACEOF
18828 /* confdefs.h. */
18829 _ACEOF
18830 cat confdefs.h >>conftest.$ac_ext
18831 cat >>conftest.$ac_ext <<_ACEOF
18832 /* end confdefs.h. */
18833 $ac_includes_default
18834 int
18835 main ()
18836 {
18837 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18838 test_array [0] = 0
18839
18840 ;
18841 return 0;
18842 }
18843 _ACEOF
18844 rm -f conftest.$ac_objext
18845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18846 (eval $ac_compile) 2>conftest.er1
18847 ac_status=$?
18848 grep -v '^ *+' conftest.er1 >conftest.err
18849 rm -f conftest.er1
18850 cat conftest.err >&5
18851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18852 (exit $ac_status); } &&
18853 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18855 (eval $ac_try) 2>&5
18856 ac_status=$?
18857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18858 (exit $ac_status); }; } &&
18859 { ac_try='test -s conftest.$ac_objext'
18860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18861 (eval $ac_try) 2>&5
18862 ac_status=$?
18863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18864 (exit $ac_status); }; }; then
18865 ac_hi=$ac_mid
18866 else
18867 echo "$as_me: failed program was:" >&5
18868 sed 's/^/| /' conftest.$ac_ext >&5
18869
18870 ac_lo=`expr '(' $ac_mid ')' + 1`
18871 fi
18872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18873 done
18874 case $ac_lo in
18875 ?*) ac_cv_sizeof_short=$ac_lo;;
18876 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18877 See \`config.log' for more details." >&5
18878 echo "$as_me: error: cannot compute sizeof (short), 77
18879 See \`config.log' for more details." >&2;}
18880 { (exit 1); exit 1; }; } ;;
18881 esac
18882 else
18883 if test "$cross_compiling" = yes; then
18884 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18885 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18886 { (exit 1); exit 1; }; }
18887 else
18888 cat >conftest.$ac_ext <<_ACEOF
18889 /* confdefs.h. */
18890 _ACEOF
18891 cat confdefs.h >>conftest.$ac_ext
18892 cat >>conftest.$ac_ext <<_ACEOF
18893 /* end confdefs.h. */
18894 $ac_includes_default
18895 long longval () { return (long) (sizeof (short)); }
18896 unsigned long ulongval () { return (long) (sizeof (short)); }
18897 #include <stdio.h>
18898 #include <stdlib.h>
18899 int
18900 main ()
18901 {
18902
18903 FILE *f = fopen ("conftest.val", "w");
18904 if (! f)
18905 exit (1);
18906 if (((long) (sizeof (short))) < 0)
18907 {
18908 long i = longval ();
18909 if (i != ((long) (sizeof (short))))
18910 exit (1);
18911 fprintf (f, "%ld\n", i);
18912 }
18913 else
18914 {
18915 unsigned long i = ulongval ();
18916 if (i != ((long) (sizeof (short))))
18917 exit (1);
18918 fprintf (f, "%lu\n", i);
18919 }
18920 exit (ferror (f) || fclose (f) != 0);
18921
18922 ;
18923 return 0;
18924 }
18925 _ACEOF
18926 rm -f conftest$ac_exeext
18927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18928 (eval $ac_link) 2>&5
18929 ac_status=$?
18930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18931 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18933 (eval $ac_try) 2>&5
18934 ac_status=$?
18935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18936 (exit $ac_status); }; }; then
18937 ac_cv_sizeof_short=`cat conftest.val`
18938 else
18939 echo "$as_me: program exited with status $ac_status" >&5
18940 echo "$as_me: failed program was:" >&5
18941 sed 's/^/| /' conftest.$ac_ext >&5
18942
18943 ( exit $ac_status )
18944 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18945 See \`config.log' for more details." >&5
18946 echo "$as_me: error: cannot compute sizeof (short), 77
18947 See \`config.log' for more details." >&2;}
18948 { (exit 1); exit 1; }; }
18949 fi
18950 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18951 fi
18952 fi
18953 rm -f conftest.val
18954 else
18955 ac_cv_sizeof_short=0
18956 fi
18957 fi
18958 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18959 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18960 cat >>confdefs.h <<_ACEOF
18961 #define SIZEOF_SHORT $ac_cv_sizeof_short
18962 _ACEOF
18963
18964
18965 echo "$as_me:$LINENO: checking for void *" >&5
18966 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18967 if test "${ac_cv_type_void_p+set}" = set; then
18968 echo $ECHO_N "(cached) $ECHO_C" >&6
18969 else
18970 cat >conftest.$ac_ext <<_ACEOF
18971 /* confdefs.h. */
18972 _ACEOF
18973 cat confdefs.h >>conftest.$ac_ext
18974 cat >>conftest.$ac_ext <<_ACEOF
18975 /* end confdefs.h. */
18976 $ac_includes_default
18977 int
18978 main ()
18979 {
18980 if ((void * *) 0)
18981 return 0;
18982 if (sizeof (void *))
18983 return 0;
18984 ;
18985 return 0;
18986 }
18987 _ACEOF
18988 rm -f conftest.$ac_objext
18989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18990 (eval $ac_compile) 2>conftest.er1
18991 ac_status=$?
18992 grep -v '^ *+' conftest.er1 >conftest.err
18993 rm -f conftest.er1
18994 cat conftest.err >&5
18995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18996 (exit $ac_status); } &&
18997 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18999 (eval $ac_try) 2>&5
19000 ac_status=$?
19001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19002 (exit $ac_status); }; } &&
19003 { ac_try='test -s conftest.$ac_objext'
19004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19005 (eval $ac_try) 2>&5
19006 ac_status=$?
19007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19008 (exit $ac_status); }; }; then
19009 ac_cv_type_void_p=yes
19010 else
19011 echo "$as_me: failed program was:" >&5
19012 sed 's/^/| /' conftest.$ac_ext >&5
19013
19014 ac_cv_type_void_p=no
19015 fi
19016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19017 fi
19018 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19019 echo "${ECHO_T}$ac_cv_type_void_p" >&6
19020
19021 echo "$as_me:$LINENO: checking size of void *" >&5
19022 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
19023 if test "${ac_cv_sizeof_void_p+set}" = set; then
19024 echo $ECHO_N "(cached) $ECHO_C" >&6
19025 else
19026 if test "$ac_cv_type_void_p" = yes; then
19027 # The cast to unsigned long works around a bug in the HP C Compiler
19028 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19029 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19030 # This bug is HP SR number 8606223364.
19031 if test "$cross_compiling" = yes; then
19032 # Depending upon the size, compute the lo and hi bounds.
19033 cat >conftest.$ac_ext <<_ACEOF
19034 /* confdefs.h. */
19035 _ACEOF
19036 cat confdefs.h >>conftest.$ac_ext
19037 cat >>conftest.$ac_ext <<_ACEOF
19038 /* end confdefs.h. */
19039 $ac_includes_default
19040 int
19041 main ()
19042 {
19043 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
19044 test_array [0] = 0
19045
19046 ;
19047 return 0;
19048 }
19049 _ACEOF
19050 rm -f conftest.$ac_objext
19051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19052 (eval $ac_compile) 2>conftest.er1
19053 ac_status=$?
19054 grep -v '^ *+' conftest.er1 >conftest.err
19055 rm -f conftest.er1
19056 cat conftest.err >&5
19057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19058 (exit $ac_status); } &&
19059 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19061 (eval $ac_try) 2>&5
19062 ac_status=$?
19063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19064 (exit $ac_status); }; } &&
19065 { ac_try='test -s conftest.$ac_objext'
19066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19067 (eval $ac_try) 2>&5
19068 ac_status=$?
19069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19070 (exit $ac_status); }; }; then
19071 ac_lo=0 ac_mid=0
19072 while :; do
19073 cat >conftest.$ac_ext <<_ACEOF
19074 /* confdefs.h. */
19075 _ACEOF
19076 cat confdefs.h >>conftest.$ac_ext
19077 cat >>conftest.$ac_ext <<_ACEOF
19078 /* end confdefs.h. */
19079 $ac_includes_default
19080 int
19081 main ()
19082 {
19083 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19084 test_array [0] = 0
19085
19086 ;
19087 return 0;
19088 }
19089 _ACEOF
19090 rm -f conftest.$ac_objext
19091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19092 (eval $ac_compile) 2>conftest.er1
19093 ac_status=$?
19094 grep -v '^ *+' conftest.er1 >conftest.err
19095 rm -f conftest.er1
19096 cat conftest.err >&5
19097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19098 (exit $ac_status); } &&
19099 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19101 (eval $ac_try) 2>&5
19102 ac_status=$?
19103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19104 (exit $ac_status); }; } &&
19105 { ac_try='test -s conftest.$ac_objext'
19106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19107 (eval $ac_try) 2>&5
19108 ac_status=$?
19109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19110 (exit $ac_status); }; }; then
19111 ac_hi=$ac_mid; break
19112 else
19113 echo "$as_me: failed program was:" >&5
19114 sed 's/^/| /' conftest.$ac_ext >&5
19115
19116 ac_lo=`expr $ac_mid + 1`
19117 if test $ac_lo -le $ac_mid; then
19118 ac_lo= ac_hi=
19119 break
19120 fi
19121 ac_mid=`expr 2 '*' $ac_mid + 1`
19122 fi
19123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19124 done
19125 else
19126 echo "$as_me: failed program was:" >&5
19127 sed 's/^/| /' conftest.$ac_ext >&5
19128
19129 cat >conftest.$ac_ext <<_ACEOF
19130 /* confdefs.h. */
19131 _ACEOF
19132 cat confdefs.h >>conftest.$ac_ext
19133 cat >>conftest.$ac_ext <<_ACEOF
19134 /* end confdefs.h. */
19135 $ac_includes_default
19136 int
19137 main ()
19138 {
19139 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
19140 test_array [0] = 0
19141
19142 ;
19143 return 0;
19144 }
19145 _ACEOF
19146 rm -f conftest.$ac_objext
19147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19148 (eval $ac_compile) 2>conftest.er1
19149 ac_status=$?
19150 grep -v '^ *+' conftest.er1 >conftest.err
19151 rm -f conftest.er1
19152 cat conftest.err >&5
19153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19154 (exit $ac_status); } &&
19155 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19157 (eval $ac_try) 2>&5
19158 ac_status=$?
19159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19160 (exit $ac_status); }; } &&
19161 { ac_try='test -s conftest.$ac_objext'
19162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19163 (eval $ac_try) 2>&5
19164 ac_status=$?
19165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19166 (exit $ac_status); }; }; then
19167 ac_hi=-1 ac_mid=-1
19168 while :; do
19169 cat >conftest.$ac_ext <<_ACEOF
19170 /* confdefs.h. */
19171 _ACEOF
19172 cat confdefs.h >>conftest.$ac_ext
19173 cat >>conftest.$ac_ext <<_ACEOF
19174 /* end confdefs.h. */
19175 $ac_includes_default
19176 int
19177 main ()
19178 {
19179 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
19180 test_array [0] = 0
19181
19182 ;
19183 return 0;
19184 }
19185 _ACEOF
19186 rm -f conftest.$ac_objext
19187 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19188 (eval $ac_compile) 2>conftest.er1
19189 ac_status=$?
19190 grep -v '^ *+' conftest.er1 >conftest.err
19191 rm -f conftest.er1
19192 cat conftest.err >&5
19193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19194 (exit $ac_status); } &&
19195 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19197 (eval $ac_try) 2>&5
19198 ac_status=$?
19199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19200 (exit $ac_status); }; } &&
19201 { ac_try='test -s conftest.$ac_objext'
19202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19203 (eval $ac_try) 2>&5
19204 ac_status=$?
19205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19206 (exit $ac_status); }; }; then
19207 ac_lo=$ac_mid; break
19208 else
19209 echo "$as_me: failed program was:" >&5
19210 sed 's/^/| /' conftest.$ac_ext >&5
19211
19212 ac_hi=`expr '(' $ac_mid ')' - 1`
19213 if test $ac_mid -le $ac_hi; then
19214 ac_lo= ac_hi=
19215 break
19216 fi
19217 ac_mid=`expr 2 '*' $ac_mid`
19218 fi
19219 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19220 done
19221 else
19222 echo "$as_me: failed program was:" >&5
19223 sed 's/^/| /' conftest.$ac_ext >&5
19224
19225 ac_lo= ac_hi=
19226 fi
19227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19228 fi
19229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19230 # Binary search between lo and hi bounds.
19231 while test "x$ac_lo" != "x$ac_hi"; do
19232 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19233 cat >conftest.$ac_ext <<_ACEOF
19234 /* confdefs.h. */
19235 _ACEOF
19236 cat confdefs.h >>conftest.$ac_ext
19237 cat >>conftest.$ac_ext <<_ACEOF
19238 /* end confdefs.h. */
19239 $ac_includes_default
19240 int
19241 main ()
19242 {
19243 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19244 test_array [0] = 0
19245
19246 ;
19247 return 0;
19248 }
19249 _ACEOF
19250 rm -f conftest.$ac_objext
19251 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19252 (eval $ac_compile) 2>conftest.er1
19253 ac_status=$?
19254 grep -v '^ *+' conftest.er1 >conftest.err
19255 rm -f conftest.er1
19256 cat conftest.err >&5
19257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19258 (exit $ac_status); } &&
19259 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19261 (eval $ac_try) 2>&5
19262 ac_status=$?
19263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19264 (exit $ac_status); }; } &&
19265 { ac_try='test -s conftest.$ac_objext'
19266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19267 (eval $ac_try) 2>&5
19268 ac_status=$?
19269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19270 (exit $ac_status); }; }; then
19271 ac_hi=$ac_mid
19272 else
19273 echo "$as_me: failed program was:" >&5
19274 sed 's/^/| /' conftest.$ac_ext >&5
19275
19276 ac_lo=`expr '(' $ac_mid ')' + 1`
19277 fi
19278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19279 done
19280 case $ac_lo in
19281 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19282 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19283 See \`config.log' for more details." >&5
19284 echo "$as_me: error: cannot compute sizeof (void *), 77
19285 See \`config.log' for more details." >&2;}
19286 { (exit 1); exit 1; }; } ;;
19287 esac
19288 else
19289 if test "$cross_compiling" = yes; then
19290 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19291 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19292 { (exit 1); exit 1; }; }
19293 else
19294 cat >conftest.$ac_ext <<_ACEOF
19295 /* confdefs.h. */
19296 _ACEOF
19297 cat confdefs.h >>conftest.$ac_ext
19298 cat >>conftest.$ac_ext <<_ACEOF
19299 /* end confdefs.h. */
19300 $ac_includes_default
19301 long longval () { return (long) (sizeof (void *)); }
19302 unsigned long ulongval () { return (long) (sizeof (void *)); }
19303 #include <stdio.h>
19304 #include <stdlib.h>
19305 int
19306 main ()
19307 {
19308
19309 FILE *f = fopen ("conftest.val", "w");
19310 if (! f)
19311 exit (1);
19312 if (((long) (sizeof (void *))) < 0)
19313 {
19314 long i = longval ();
19315 if (i != ((long) (sizeof (void *))))
19316 exit (1);
19317 fprintf (f, "%ld\n", i);
19318 }
19319 else
19320 {
19321 unsigned long i = ulongval ();
19322 if (i != ((long) (sizeof (void *))))
19323 exit (1);
19324 fprintf (f, "%lu\n", i);
19325 }
19326 exit (ferror (f) || fclose (f) != 0);
19327
19328 ;
19329 return 0;
19330 }
19331 _ACEOF
19332 rm -f conftest$ac_exeext
19333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19334 (eval $ac_link) 2>&5
19335 ac_status=$?
19336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19337 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19339 (eval $ac_try) 2>&5
19340 ac_status=$?
19341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19342 (exit $ac_status); }; }; then
19343 ac_cv_sizeof_void_p=`cat conftest.val`
19344 else
19345 echo "$as_me: program exited with status $ac_status" >&5
19346 echo "$as_me: failed program was:" >&5
19347 sed 's/^/| /' conftest.$ac_ext >&5
19348
19349 ( exit $ac_status )
19350 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19351 See \`config.log' for more details." >&5
19352 echo "$as_me: error: cannot compute sizeof (void *), 77
19353 See \`config.log' for more details." >&2;}
19354 { (exit 1); exit 1; }; }
19355 fi
19356 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19357 fi
19358 fi
19359 rm -f conftest.val
19360 else
19361 ac_cv_sizeof_void_p=0
19362 fi
19363 fi
19364 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19365 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
19366 cat >>confdefs.h <<_ACEOF
19367 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19368 _ACEOF
19369
19370
19371 echo "$as_me:$LINENO: checking for int" >&5
19372 echo $ECHO_N "checking for int... $ECHO_C" >&6
19373 if test "${ac_cv_type_int+set}" = set; then
19374 echo $ECHO_N "(cached) $ECHO_C" >&6
19375 else
19376 cat >conftest.$ac_ext <<_ACEOF
19377 /* confdefs.h. */
19378 _ACEOF
19379 cat confdefs.h >>conftest.$ac_ext
19380 cat >>conftest.$ac_ext <<_ACEOF
19381 /* end confdefs.h. */
19382 $ac_includes_default
19383 int
19384 main ()
19385 {
19386 if ((int *) 0)
19387 return 0;
19388 if (sizeof (int))
19389 return 0;
19390 ;
19391 return 0;
19392 }
19393 _ACEOF
19394 rm -f conftest.$ac_objext
19395 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19396 (eval $ac_compile) 2>conftest.er1
19397 ac_status=$?
19398 grep -v '^ *+' conftest.er1 >conftest.err
19399 rm -f conftest.er1
19400 cat conftest.err >&5
19401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19402 (exit $ac_status); } &&
19403 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19405 (eval $ac_try) 2>&5
19406 ac_status=$?
19407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19408 (exit $ac_status); }; } &&
19409 { ac_try='test -s conftest.$ac_objext'
19410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19411 (eval $ac_try) 2>&5
19412 ac_status=$?
19413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19414 (exit $ac_status); }; }; then
19415 ac_cv_type_int=yes
19416 else
19417 echo "$as_me: failed program was:" >&5
19418 sed 's/^/| /' conftest.$ac_ext >&5
19419
19420 ac_cv_type_int=no
19421 fi
19422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19423 fi
19424 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19425 echo "${ECHO_T}$ac_cv_type_int" >&6
19426
19427 echo "$as_me:$LINENO: checking size of int" >&5
19428 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19429 if test "${ac_cv_sizeof_int+set}" = set; then
19430 echo $ECHO_N "(cached) $ECHO_C" >&6
19431 else
19432 if test "$ac_cv_type_int" = yes; then
19433 # The cast to unsigned long works around a bug in the HP C Compiler
19434 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19435 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19436 # This bug is HP SR number 8606223364.
19437 if test "$cross_compiling" = yes; then
19438 # Depending upon the size, compute the lo and hi bounds.
19439 cat >conftest.$ac_ext <<_ACEOF
19440 /* confdefs.h. */
19441 _ACEOF
19442 cat confdefs.h >>conftest.$ac_ext
19443 cat >>conftest.$ac_ext <<_ACEOF
19444 /* end confdefs.h. */
19445 $ac_includes_default
19446 int
19447 main ()
19448 {
19449 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19450 test_array [0] = 0
19451
19452 ;
19453 return 0;
19454 }
19455 _ACEOF
19456 rm -f conftest.$ac_objext
19457 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19458 (eval $ac_compile) 2>conftest.er1
19459 ac_status=$?
19460 grep -v '^ *+' conftest.er1 >conftest.err
19461 rm -f conftest.er1
19462 cat conftest.err >&5
19463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19464 (exit $ac_status); } &&
19465 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19467 (eval $ac_try) 2>&5
19468 ac_status=$?
19469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19470 (exit $ac_status); }; } &&
19471 { ac_try='test -s conftest.$ac_objext'
19472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19473 (eval $ac_try) 2>&5
19474 ac_status=$?
19475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19476 (exit $ac_status); }; }; then
19477 ac_lo=0 ac_mid=0
19478 while :; do
19479 cat >conftest.$ac_ext <<_ACEOF
19480 /* confdefs.h. */
19481 _ACEOF
19482 cat confdefs.h >>conftest.$ac_ext
19483 cat >>conftest.$ac_ext <<_ACEOF
19484 /* end confdefs.h. */
19485 $ac_includes_default
19486 int
19487 main ()
19488 {
19489 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19490 test_array [0] = 0
19491
19492 ;
19493 return 0;
19494 }
19495 _ACEOF
19496 rm -f conftest.$ac_objext
19497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19498 (eval $ac_compile) 2>conftest.er1
19499 ac_status=$?
19500 grep -v '^ *+' conftest.er1 >conftest.err
19501 rm -f conftest.er1
19502 cat conftest.err >&5
19503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19504 (exit $ac_status); } &&
19505 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19507 (eval $ac_try) 2>&5
19508 ac_status=$?
19509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19510 (exit $ac_status); }; } &&
19511 { ac_try='test -s conftest.$ac_objext'
19512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19513 (eval $ac_try) 2>&5
19514 ac_status=$?
19515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19516 (exit $ac_status); }; }; then
19517 ac_hi=$ac_mid; break
19518 else
19519 echo "$as_me: failed program was:" >&5
19520 sed 's/^/| /' conftest.$ac_ext >&5
19521
19522 ac_lo=`expr $ac_mid + 1`
19523 if test $ac_lo -le $ac_mid; then
19524 ac_lo= ac_hi=
19525 break
19526 fi
19527 ac_mid=`expr 2 '*' $ac_mid + 1`
19528 fi
19529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19530 done
19531 else
19532 echo "$as_me: failed program was:" >&5
19533 sed 's/^/| /' conftest.$ac_ext >&5
19534
19535 cat >conftest.$ac_ext <<_ACEOF
19536 /* confdefs.h. */
19537 _ACEOF
19538 cat confdefs.h >>conftest.$ac_ext
19539 cat >>conftest.$ac_ext <<_ACEOF
19540 /* end confdefs.h. */
19541 $ac_includes_default
19542 int
19543 main ()
19544 {
19545 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19546 test_array [0] = 0
19547
19548 ;
19549 return 0;
19550 }
19551 _ACEOF
19552 rm -f conftest.$ac_objext
19553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19554 (eval $ac_compile) 2>conftest.er1
19555 ac_status=$?
19556 grep -v '^ *+' conftest.er1 >conftest.err
19557 rm -f conftest.er1
19558 cat conftest.err >&5
19559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19560 (exit $ac_status); } &&
19561 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19563 (eval $ac_try) 2>&5
19564 ac_status=$?
19565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19566 (exit $ac_status); }; } &&
19567 { ac_try='test -s conftest.$ac_objext'
19568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19569 (eval $ac_try) 2>&5
19570 ac_status=$?
19571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19572 (exit $ac_status); }; }; then
19573 ac_hi=-1 ac_mid=-1
19574 while :; do
19575 cat >conftest.$ac_ext <<_ACEOF
19576 /* confdefs.h. */
19577 _ACEOF
19578 cat confdefs.h >>conftest.$ac_ext
19579 cat >>conftest.$ac_ext <<_ACEOF
19580 /* end confdefs.h. */
19581 $ac_includes_default
19582 int
19583 main ()
19584 {
19585 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19586 test_array [0] = 0
19587
19588 ;
19589 return 0;
19590 }
19591 _ACEOF
19592 rm -f conftest.$ac_objext
19593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19594 (eval $ac_compile) 2>conftest.er1
19595 ac_status=$?
19596 grep -v '^ *+' conftest.er1 >conftest.err
19597 rm -f conftest.er1
19598 cat conftest.err >&5
19599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19600 (exit $ac_status); } &&
19601 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19603 (eval $ac_try) 2>&5
19604 ac_status=$?
19605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19606 (exit $ac_status); }; } &&
19607 { ac_try='test -s conftest.$ac_objext'
19608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19609 (eval $ac_try) 2>&5
19610 ac_status=$?
19611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19612 (exit $ac_status); }; }; then
19613 ac_lo=$ac_mid; break
19614 else
19615 echo "$as_me: failed program was:" >&5
19616 sed 's/^/| /' conftest.$ac_ext >&5
19617
19618 ac_hi=`expr '(' $ac_mid ')' - 1`
19619 if test $ac_mid -le $ac_hi; then
19620 ac_lo= ac_hi=
19621 break
19622 fi
19623 ac_mid=`expr 2 '*' $ac_mid`
19624 fi
19625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19626 done
19627 else
19628 echo "$as_me: failed program was:" >&5
19629 sed 's/^/| /' conftest.$ac_ext >&5
19630
19631 ac_lo= ac_hi=
19632 fi
19633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19634 fi
19635 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19636 # Binary search between lo and hi bounds.
19637 while test "x$ac_lo" != "x$ac_hi"; do
19638 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19639 cat >conftest.$ac_ext <<_ACEOF
19640 /* confdefs.h. */
19641 _ACEOF
19642 cat confdefs.h >>conftest.$ac_ext
19643 cat >>conftest.$ac_ext <<_ACEOF
19644 /* end confdefs.h. */
19645 $ac_includes_default
19646 int
19647 main ()
19648 {
19649 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19650 test_array [0] = 0
19651
19652 ;
19653 return 0;
19654 }
19655 _ACEOF
19656 rm -f conftest.$ac_objext
19657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19658 (eval $ac_compile) 2>conftest.er1
19659 ac_status=$?
19660 grep -v '^ *+' conftest.er1 >conftest.err
19661 rm -f conftest.er1
19662 cat conftest.err >&5
19663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19664 (exit $ac_status); } &&
19665 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19667 (eval $ac_try) 2>&5
19668 ac_status=$?
19669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19670 (exit $ac_status); }; } &&
19671 { ac_try='test -s conftest.$ac_objext'
19672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19673 (eval $ac_try) 2>&5
19674 ac_status=$?
19675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19676 (exit $ac_status); }; }; then
19677 ac_hi=$ac_mid
19678 else
19679 echo "$as_me: failed program was:" >&5
19680 sed 's/^/| /' conftest.$ac_ext >&5
19681
19682 ac_lo=`expr '(' $ac_mid ')' + 1`
19683 fi
19684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19685 done
19686 case $ac_lo in
19687 ?*) ac_cv_sizeof_int=$ac_lo;;
19688 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19689 See \`config.log' for more details." >&5
19690 echo "$as_me: error: cannot compute sizeof (int), 77
19691 See \`config.log' for more details." >&2;}
19692 { (exit 1); exit 1; }; } ;;
19693 esac
19694 else
19695 if test "$cross_compiling" = yes; then
19696 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19697 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19698 { (exit 1); exit 1; }; }
19699 else
19700 cat >conftest.$ac_ext <<_ACEOF
19701 /* confdefs.h. */
19702 _ACEOF
19703 cat confdefs.h >>conftest.$ac_ext
19704 cat >>conftest.$ac_ext <<_ACEOF
19705 /* end confdefs.h. */
19706 $ac_includes_default
19707 long longval () { return (long) (sizeof (int)); }
19708 unsigned long ulongval () { return (long) (sizeof (int)); }
19709 #include <stdio.h>
19710 #include <stdlib.h>
19711 int
19712 main ()
19713 {
19714
19715 FILE *f = fopen ("conftest.val", "w");
19716 if (! f)
19717 exit (1);
19718 if (((long) (sizeof (int))) < 0)
19719 {
19720 long i = longval ();
19721 if (i != ((long) (sizeof (int))))
19722 exit (1);
19723 fprintf (f, "%ld\n", i);
19724 }
19725 else
19726 {
19727 unsigned long i = ulongval ();
19728 if (i != ((long) (sizeof (int))))
19729 exit (1);
19730 fprintf (f, "%lu\n", i);
19731 }
19732 exit (ferror (f) || fclose (f) != 0);
19733
19734 ;
19735 return 0;
19736 }
19737 _ACEOF
19738 rm -f conftest$ac_exeext
19739 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19740 (eval $ac_link) 2>&5
19741 ac_status=$?
19742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19743 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19745 (eval $ac_try) 2>&5
19746 ac_status=$?
19747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19748 (exit $ac_status); }; }; then
19749 ac_cv_sizeof_int=`cat conftest.val`
19750 else
19751 echo "$as_me: program exited with status $ac_status" >&5
19752 echo "$as_me: failed program was:" >&5
19753 sed 's/^/| /' conftest.$ac_ext >&5
19754
19755 ( exit $ac_status )
19756 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19757 See \`config.log' for more details." >&5
19758 echo "$as_me: error: cannot compute sizeof (int), 77
19759 See \`config.log' for more details." >&2;}
19760 { (exit 1); exit 1; }; }
19761 fi
19762 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19763 fi
19764 fi
19765 rm -f conftest.val
19766 else
19767 ac_cv_sizeof_int=0
19768 fi
19769 fi
19770 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19771 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19772 cat >>confdefs.h <<_ACEOF
19773 #define SIZEOF_INT $ac_cv_sizeof_int
19774 _ACEOF
19775
19776
19777 echo "$as_me:$LINENO: checking for long" >&5
19778 echo $ECHO_N "checking for long... $ECHO_C" >&6
19779 if test "${ac_cv_type_long+set}" = set; then
19780 echo $ECHO_N "(cached) $ECHO_C" >&6
19781 else
19782 cat >conftest.$ac_ext <<_ACEOF
19783 /* confdefs.h. */
19784 _ACEOF
19785 cat confdefs.h >>conftest.$ac_ext
19786 cat >>conftest.$ac_ext <<_ACEOF
19787 /* end confdefs.h. */
19788 $ac_includes_default
19789 int
19790 main ()
19791 {
19792 if ((long *) 0)
19793 return 0;
19794 if (sizeof (long))
19795 return 0;
19796 ;
19797 return 0;
19798 }
19799 _ACEOF
19800 rm -f conftest.$ac_objext
19801 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19802 (eval $ac_compile) 2>conftest.er1
19803 ac_status=$?
19804 grep -v '^ *+' conftest.er1 >conftest.err
19805 rm -f conftest.er1
19806 cat conftest.err >&5
19807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808 (exit $ac_status); } &&
19809 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19811 (eval $ac_try) 2>&5
19812 ac_status=$?
19813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19814 (exit $ac_status); }; } &&
19815 { ac_try='test -s conftest.$ac_objext'
19816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19817 (eval $ac_try) 2>&5
19818 ac_status=$?
19819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19820 (exit $ac_status); }; }; then
19821 ac_cv_type_long=yes
19822 else
19823 echo "$as_me: failed program was:" >&5
19824 sed 's/^/| /' conftest.$ac_ext >&5
19825
19826 ac_cv_type_long=no
19827 fi
19828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19829 fi
19830 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19831 echo "${ECHO_T}$ac_cv_type_long" >&6
19832
19833 echo "$as_me:$LINENO: checking size of long" >&5
19834 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19835 if test "${ac_cv_sizeof_long+set}" = set; then
19836 echo $ECHO_N "(cached) $ECHO_C" >&6
19837 else
19838 if test "$ac_cv_type_long" = yes; then
19839 # The cast to unsigned long works around a bug in the HP C Compiler
19840 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19841 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19842 # This bug is HP SR number 8606223364.
19843 if test "$cross_compiling" = yes; then
19844 # Depending upon the size, compute the lo and hi bounds.
19845 cat >conftest.$ac_ext <<_ACEOF
19846 /* confdefs.h. */
19847 _ACEOF
19848 cat confdefs.h >>conftest.$ac_ext
19849 cat >>conftest.$ac_ext <<_ACEOF
19850 /* end confdefs.h. */
19851 $ac_includes_default
19852 int
19853 main ()
19854 {
19855 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19856 test_array [0] = 0
19857
19858 ;
19859 return 0;
19860 }
19861 _ACEOF
19862 rm -f conftest.$ac_objext
19863 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19864 (eval $ac_compile) 2>conftest.er1
19865 ac_status=$?
19866 grep -v '^ *+' conftest.er1 >conftest.err
19867 rm -f conftest.er1
19868 cat conftest.err >&5
19869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19870 (exit $ac_status); } &&
19871 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19873 (eval $ac_try) 2>&5
19874 ac_status=$?
19875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19876 (exit $ac_status); }; } &&
19877 { ac_try='test -s conftest.$ac_objext'
19878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19879 (eval $ac_try) 2>&5
19880 ac_status=$?
19881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19882 (exit $ac_status); }; }; then
19883 ac_lo=0 ac_mid=0
19884 while :; do
19885 cat >conftest.$ac_ext <<_ACEOF
19886 /* confdefs.h. */
19887 _ACEOF
19888 cat confdefs.h >>conftest.$ac_ext
19889 cat >>conftest.$ac_ext <<_ACEOF
19890 /* end confdefs.h. */
19891 $ac_includes_default
19892 int
19893 main ()
19894 {
19895 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19896 test_array [0] = 0
19897
19898 ;
19899 return 0;
19900 }
19901 _ACEOF
19902 rm -f conftest.$ac_objext
19903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19904 (eval $ac_compile) 2>conftest.er1
19905 ac_status=$?
19906 grep -v '^ *+' conftest.er1 >conftest.err
19907 rm -f conftest.er1
19908 cat conftest.err >&5
19909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19910 (exit $ac_status); } &&
19911 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19913 (eval $ac_try) 2>&5
19914 ac_status=$?
19915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19916 (exit $ac_status); }; } &&
19917 { ac_try='test -s conftest.$ac_objext'
19918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19919 (eval $ac_try) 2>&5
19920 ac_status=$?
19921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19922 (exit $ac_status); }; }; then
19923 ac_hi=$ac_mid; break
19924 else
19925 echo "$as_me: failed program was:" >&5
19926 sed 's/^/| /' conftest.$ac_ext >&5
19927
19928 ac_lo=`expr $ac_mid + 1`
19929 if test $ac_lo -le $ac_mid; then
19930 ac_lo= ac_hi=
19931 break
19932 fi
19933 ac_mid=`expr 2 '*' $ac_mid + 1`
19934 fi
19935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19936 done
19937 else
19938 echo "$as_me: failed program was:" >&5
19939 sed 's/^/| /' conftest.$ac_ext >&5
19940
19941 cat >conftest.$ac_ext <<_ACEOF
19942 /* confdefs.h. */
19943 _ACEOF
19944 cat confdefs.h >>conftest.$ac_ext
19945 cat >>conftest.$ac_ext <<_ACEOF
19946 /* end confdefs.h. */
19947 $ac_includes_default
19948 int
19949 main ()
19950 {
19951 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19952 test_array [0] = 0
19953
19954 ;
19955 return 0;
19956 }
19957 _ACEOF
19958 rm -f conftest.$ac_objext
19959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19960 (eval $ac_compile) 2>conftest.er1
19961 ac_status=$?
19962 grep -v '^ *+' conftest.er1 >conftest.err
19963 rm -f conftest.er1
19964 cat conftest.err >&5
19965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19966 (exit $ac_status); } &&
19967 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19969 (eval $ac_try) 2>&5
19970 ac_status=$?
19971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19972 (exit $ac_status); }; } &&
19973 { ac_try='test -s conftest.$ac_objext'
19974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19975 (eval $ac_try) 2>&5
19976 ac_status=$?
19977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19978 (exit $ac_status); }; }; then
19979 ac_hi=-1 ac_mid=-1
19980 while :; do
19981 cat >conftest.$ac_ext <<_ACEOF
19982 /* confdefs.h. */
19983 _ACEOF
19984 cat confdefs.h >>conftest.$ac_ext
19985 cat >>conftest.$ac_ext <<_ACEOF
19986 /* end confdefs.h. */
19987 $ac_includes_default
19988 int
19989 main ()
19990 {
19991 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19992 test_array [0] = 0
19993
19994 ;
19995 return 0;
19996 }
19997 _ACEOF
19998 rm -f conftest.$ac_objext
19999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20000 (eval $ac_compile) 2>conftest.er1
20001 ac_status=$?
20002 grep -v '^ *+' conftest.er1 >conftest.err
20003 rm -f conftest.er1
20004 cat conftest.err >&5
20005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20006 (exit $ac_status); } &&
20007 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20009 (eval $ac_try) 2>&5
20010 ac_status=$?
20011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20012 (exit $ac_status); }; } &&
20013 { ac_try='test -s conftest.$ac_objext'
20014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20015 (eval $ac_try) 2>&5
20016 ac_status=$?
20017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20018 (exit $ac_status); }; }; then
20019 ac_lo=$ac_mid; break
20020 else
20021 echo "$as_me: failed program was:" >&5
20022 sed 's/^/| /' conftest.$ac_ext >&5
20023
20024 ac_hi=`expr '(' $ac_mid ')' - 1`
20025 if test $ac_mid -le $ac_hi; then
20026 ac_lo= ac_hi=
20027 break
20028 fi
20029 ac_mid=`expr 2 '*' $ac_mid`
20030 fi
20031 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20032 done
20033 else
20034 echo "$as_me: failed program was:" >&5
20035 sed 's/^/| /' conftest.$ac_ext >&5
20036
20037 ac_lo= ac_hi=
20038 fi
20039 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20040 fi
20041 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20042 # Binary search between lo and hi bounds.
20043 while test "x$ac_lo" != "x$ac_hi"; do
20044 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20045 cat >conftest.$ac_ext <<_ACEOF
20046 /* confdefs.h. */
20047 _ACEOF
20048 cat confdefs.h >>conftest.$ac_ext
20049 cat >>conftest.$ac_ext <<_ACEOF
20050 /* end confdefs.h. */
20051 $ac_includes_default
20052 int
20053 main ()
20054 {
20055 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
20056 test_array [0] = 0
20057
20058 ;
20059 return 0;
20060 }
20061 _ACEOF
20062 rm -f conftest.$ac_objext
20063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20064 (eval $ac_compile) 2>conftest.er1
20065 ac_status=$?
20066 grep -v '^ *+' conftest.er1 >conftest.err
20067 rm -f conftest.er1
20068 cat conftest.err >&5
20069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20070 (exit $ac_status); } &&
20071 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20073 (eval $ac_try) 2>&5
20074 ac_status=$?
20075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20076 (exit $ac_status); }; } &&
20077 { ac_try='test -s conftest.$ac_objext'
20078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20079 (eval $ac_try) 2>&5
20080 ac_status=$?
20081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082 (exit $ac_status); }; }; then
20083 ac_hi=$ac_mid
20084 else
20085 echo "$as_me: failed program was:" >&5
20086 sed 's/^/| /' conftest.$ac_ext >&5
20087
20088 ac_lo=`expr '(' $ac_mid ')' + 1`
20089 fi
20090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20091 done
20092 case $ac_lo in
20093 ?*) ac_cv_sizeof_long=$ac_lo;;
20094 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20095 See \`config.log' for more details." >&5
20096 echo "$as_me: error: cannot compute sizeof (long), 77
20097 See \`config.log' for more details." >&2;}
20098 { (exit 1); exit 1; }; } ;;
20099 esac
20100 else
20101 if test "$cross_compiling" = yes; then
20102 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20103 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20104 { (exit 1); exit 1; }; }
20105 else
20106 cat >conftest.$ac_ext <<_ACEOF
20107 /* confdefs.h. */
20108 _ACEOF
20109 cat confdefs.h >>conftest.$ac_ext
20110 cat >>conftest.$ac_ext <<_ACEOF
20111 /* end confdefs.h. */
20112 $ac_includes_default
20113 long longval () { return (long) (sizeof (long)); }
20114 unsigned long ulongval () { return (long) (sizeof (long)); }
20115 #include <stdio.h>
20116 #include <stdlib.h>
20117 int
20118 main ()
20119 {
20120
20121 FILE *f = fopen ("conftest.val", "w");
20122 if (! f)
20123 exit (1);
20124 if (((long) (sizeof (long))) < 0)
20125 {
20126 long i = longval ();
20127 if (i != ((long) (sizeof (long))))
20128 exit (1);
20129 fprintf (f, "%ld\n", i);
20130 }
20131 else
20132 {
20133 unsigned long i = ulongval ();
20134 if (i != ((long) (sizeof (long))))
20135 exit (1);
20136 fprintf (f, "%lu\n", i);
20137 }
20138 exit (ferror (f) || fclose (f) != 0);
20139
20140 ;
20141 return 0;
20142 }
20143 _ACEOF
20144 rm -f conftest$ac_exeext
20145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20146 (eval $ac_link) 2>&5
20147 ac_status=$?
20148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20149 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20151 (eval $ac_try) 2>&5
20152 ac_status=$?
20153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20154 (exit $ac_status); }; }; then
20155 ac_cv_sizeof_long=`cat conftest.val`
20156 else
20157 echo "$as_me: program exited with status $ac_status" >&5
20158 echo "$as_me: failed program was:" >&5
20159 sed 's/^/| /' conftest.$ac_ext >&5
20160
20161 ( exit $ac_status )
20162 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20163 See \`config.log' for more details." >&5
20164 echo "$as_me: error: cannot compute sizeof (long), 77
20165 See \`config.log' for more details." >&2;}
20166 { (exit 1); exit 1; }; }
20167 fi
20168 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20169 fi
20170 fi
20171 rm -f conftest.val
20172 else
20173 ac_cv_sizeof_long=0
20174 fi
20175 fi
20176 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20177 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
20178 cat >>confdefs.h <<_ACEOF
20179 #define SIZEOF_LONG $ac_cv_sizeof_long
20180 _ACEOF
20181
20182
20183 echo "$as_me:$LINENO: checking for size_t" >&5
20184 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20185 if test "${ac_cv_type_size_t+set}" = set; then
20186 echo $ECHO_N "(cached) $ECHO_C" >&6
20187 else
20188 cat >conftest.$ac_ext <<_ACEOF
20189 /* confdefs.h. */
20190 _ACEOF
20191 cat confdefs.h >>conftest.$ac_ext
20192 cat >>conftest.$ac_ext <<_ACEOF
20193 /* end confdefs.h. */
20194 $ac_includes_default
20195 int
20196 main ()
20197 {
20198 if ((size_t *) 0)
20199 return 0;
20200 if (sizeof (size_t))
20201 return 0;
20202 ;
20203 return 0;
20204 }
20205 _ACEOF
20206 rm -f conftest.$ac_objext
20207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20208 (eval $ac_compile) 2>conftest.er1
20209 ac_status=$?
20210 grep -v '^ *+' conftest.er1 >conftest.err
20211 rm -f conftest.er1
20212 cat conftest.err >&5
20213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20214 (exit $ac_status); } &&
20215 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20217 (eval $ac_try) 2>&5
20218 ac_status=$?
20219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20220 (exit $ac_status); }; } &&
20221 { ac_try='test -s conftest.$ac_objext'
20222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20223 (eval $ac_try) 2>&5
20224 ac_status=$?
20225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20226 (exit $ac_status); }; }; then
20227 ac_cv_type_size_t=yes
20228 else
20229 echo "$as_me: failed program was:" >&5
20230 sed 's/^/| /' conftest.$ac_ext >&5
20231
20232 ac_cv_type_size_t=no
20233 fi
20234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20235 fi
20236 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20237 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20238
20239 echo "$as_me:$LINENO: checking size of size_t" >&5
20240 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
20241 if test "${ac_cv_sizeof_size_t+set}" = set; then
20242 echo $ECHO_N "(cached) $ECHO_C" >&6
20243 else
20244 if test "$ac_cv_type_size_t" = yes; then
20245 # The cast to unsigned long works around a bug in the HP C Compiler
20246 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20247 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20248 # This bug is HP SR number 8606223364.
20249 if test "$cross_compiling" = yes; then
20250 # Depending upon the size, compute the lo and hi bounds.
20251 cat >conftest.$ac_ext <<_ACEOF
20252 /* confdefs.h. */
20253 _ACEOF
20254 cat confdefs.h >>conftest.$ac_ext
20255 cat >>conftest.$ac_ext <<_ACEOF
20256 /* end confdefs.h. */
20257 $ac_includes_default
20258 int
20259 main ()
20260 {
20261 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
20262 test_array [0] = 0
20263
20264 ;
20265 return 0;
20266 }
20267 _ACEOF
20268 rm -f conftest.$ac_objext
20269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20270 (eval $ac_compile) 2>conftest.er1
20271 ac_status=$?
20272 grep -v '^ *+' conftest.er1 >conftest.err
20273 rm -f conftest.er1
20274 cat conftest.err >&5
20275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20276 (exit $ac_status); } &&
20277 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20279 (eval $ac_try) 2>&5
20280 ac_status=$?
20281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20282 (exit $ac_status); }; } &&
20283 { ac_try='test -s conftest.$ac_objext'
20284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20285 (eval $ac_try) 2>&5
20286 ac_status=$?
20287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20288 (exit $ac_status); }; }; then
20289 ac_lo=0 ac_mid=0
20290 while :; do
20291 cat >conftest.$ac_ext <<_ACEOF
20292 /* confdefs.h. */
20293 _ACEOF
20294 cat confdefs.h >>conftest.$ac_ext
20295 cat >>conftest.$ac_ext <<_ACEOF
20296 /* end confdefs.h. */
20297 $ac_includes_default
20298 int
20299 main ()
20300 {
20301 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20302 test_array [0] = 0
20303
20304 ;
20305 return 0;
20306 }
20307 _ACEOF
20308 rm -f conftest.$ac_objext
20309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20310 (eval $ac_compile) 2>conftest.er1
20311 ac_status=$?
20312 grep -v '^ *+' conftest.er1 >conftest.err
20313 rm -f conftest.er1
20314 cat conftest.err >&5
20315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20316 (exit $ac_status); } &&
20317 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20319 (eval $ac_try) 2>&5
20320 ac_status=$?
20321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20322 (exit $ac_status); }; } &&
20323 { ac_try='test -s conftest.$ac_objext'
20324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20325 (eval $ac_try) 2>&5
20326 ac_status=$?
20327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20328 (exit $ac_status); }; }; then
20329 ac_hi=$ac_mid; break
20330 else
20331 echo "$as_me: failed program was:" >&5
20332 sed 's/^/| /' conftest.$ac_ext >&5
20333
20334 ac_lo=`expr $ac_mid + 1`
20335 if test $ac_lo -le $ac_mid; then
20336 ac_lo= ac_hi=
20337 break
20338 fi
20339 ac_mid=`expr 2 '*' $ac_mid + 1`
20340 fi
20341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20342 done
20343 else
20344 echo "$as_me: failed program was:" >&5
20345 sed 's/^/| /' conftest.$ac_ext >&5
20346
20347 cat >conftest.$ac_ext <<_ACEOF
20348 /* confdefs.h. */
20349 _ACEOF
20350 cat confdefs.h >>conftest.$ac_ext
20351 cat >>conftest.$ac_ext <<_ACEOF
20352 /* end confdefs.h. */
20353 $ac_includes_default
20354 int
20355 main ()
20356 {
20357 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
20358 test_array [0] = 0
20359
20360 ;
20361 return 0;
20362 }
20363 _ACEOF
20364 rm -f conftest.$ac_objext
20365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20366 (eval $ac_compile) 2>conftest.er1
20367 ac_status=$?
20368 grep -v '^ *+' conftest.er1 >conftest.err
20369 rm -f conftest.er1
20370 cat conftest.err >&5
20371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20372 (exit $ac_status); } &&
20373 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20375 (eval $ac_try) 2>&5
20376 ac_status=$?
20377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20378 (exit $ac_status); }; } &&
20379 { ac_try='test -s conftest.$ac_objext'
20380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20381 (eval $ac_try) 2>&5
20382 ac_status=$?
20383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20384 (exit $ac_status); }; }; then
20385 ac_hi=-1 ac_mid=-1
20386 while :; do
20387 cat >conftest.$ac_ext <<_ACEOF
20388 /* confdefs.h. */
20389 _ACEOF
20390 cat confdefs.h >>conftest.$ac_ext
20391 cat >>conftest.$ac_ext <<_ACEOF
20392 /* end confdefs.h. */
20393 $ac_includes_default
20394 int
20395 main ()
20396 {
20397 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20398 test_array [0] = 0
20399
20400 ;
20401 return 0;
20402 }
20403 _ACEOF
20404 rm -f conftest.$ac_objext
20405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20406 (eval $ac_compile) 2>conftest.er1
20407 ac_status=$?
20408 grep -v '^ *+' conftest.er1 >conftest.err
20409 rm -f conftest.er1
20410 cat conftest.err >&5
20411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20412 (exit $ac_status); } &&
20413 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20415 (eval $ac_try) 2>&5
20416 ac_status=$?
20417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20418 (exit $ac_status); }; } &&
20419 { ac_try='test -s conftest.$ac_objext'
20420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20421 (eval $ac_try) 2>&5
20422 ac_status=$?
20423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20424 (exit $ac_status); }; }; then
20425 ac_lo=$ac_mid; break
20426 else
20427 echo "$as_me: failed program was:" >&5
20428 sed 's/^/| /' conftest.$ac_ext >&5
20429
20430 ac_hi=`expr '(' $ac_mid ')' - 1`
20431 if test $ac_mid -le $ac_hi; then
20432 ac_lo= ac_hi=
20433 break
20434 fi
20435 ac_mid=`expr 2 '*' $ac_mid`
20436 fi
20437 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20438 done
20439 else
20440 echo "$as_me: failed program was:" >&5
20441 sed 's/^/| /' conftest.$ac_ext >&5
20442
20443 ac_lo= ac_hi=
20444 fi
20445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20446 fi
20447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20448 # Binary search between lo and hi bounds.
20449 while test "x$ac_lo" != "x$ac_hi"; do
20450 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20451 cat >conftest.$ac_ext <<_ACEOF
20452 /* confdefs.h. */
20453 _ACEOF
20454 cat confdefs.h >>conftest.$ac_ext
20455 cat >>conftest.$ac_ext <<_ACEOF
20456 /* end confdefs.h. */
20457 $ac_includes_default
20458 int
20459 main ()
20460 {
20461 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20462 test_array [0] = 0
20463
20464 ;
20465 return 0;
20466 }
20467 _ACEOF
20468 rm -f conftest.$ac_objext
20469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20470 (eval $ac_compile) 2>conftest.er1
20471 ac_status=$?
20472 grep -v '^ *+' conftest.er1 >conftest.err
20473 rm -f conftest.er1
20474 cat conftest.err >&5
20475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20476 (exit $ac_status); } &&
20477 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20479 (eval $ac_try) 2>&5
20480 ac_status=$?
20481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20482 (exit $ac_status); }; } &&
20483 { ac_try='test -s conftest.$ac_objext'
20484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20485 (eval $ac_try) 2>&5
20486 ac_status=$?
20487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20488 (exit $ac_status); }; }; then
20489 ac_hi=$ac_mid
20490 else
20491 echo "$as_me: failed program was:" >&5
20492 sed 's/^/| /' conftest.$ac_ext >&5
20493
20494 ac_lo=`expr '(' $ac_mid ')' + 1`
20495 fi
20496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20497 done
20498 case $ac_lo in
20499 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20500 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20501 See \`config.log' for more details." >&5
20502 echo "$as_me: error: cannot compute sizeof (size_t), 77
20503 See \`config.log' for more details." >&2;}
20504 { (exit 1); exit 1; }; } ;;
20505 esac
20506 else
20507 if test "$cross_compiling" = yes; then
20508 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20509 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20510 { (exit 1); exit 1; }; }
20511 else
20512 cat >conftest.$ac_ext <<_ACEOF
20513 /* confdefs.h. */
20514 _ACEOF
20515 cat confdefs.h >>conftest.$ac_ext
20516 cat >>conftest.$ac_ext <<_ACEOF
20517 /* end confdefs.h. */
20518 $ac_includes_default
20519 long longval () { return (long) (sizeof (size_t)); }
20520 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20521 #include <stdio.h>
20522 #include <stdlib.h>
20523 int
20524 main ()
20525 {
20526
20527 FILE *f = fopen ("conftest.val", "w");
20528 if (! f)
20529 exit (1);
20530 if (((long) (sizeof (size_t))) < 0)
20531 {
20532 long i = longval ();
20533 if (i != ((long) (sizeof (size_t))))
20534 exit (1);
20535 fprintf (f, "%ld\n", i);
20536 }
20537 else
20538 {
20539 unsigned long i = ulongval ();
20540 if (i != ((long) (sizeof (size_t))))
20541 exit (1);
20542 fprintf (f, "%lu\n", i);
20543 }
20544 exit (ferror (f) || fclose (f) != 0);
20545
20546 ;
20547 return 0;
20548 }
20549 _ACEOF
20550 rm -f conftest$ac_exeext
20551 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20552 (eval $ac_link) 2>&5
20553 ac_status=$?
20554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20555 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20557 (eval $ac_try) 2>&5
20558 ac_status=$?
20559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20560 (exit $ac_status); }; }; then
20561 ac_cv_sizeof_size_t=`cat conftest.val`
20562 else
20563 echo "$as_me: program exited with status $ac_status" >&5
20564 echo "$as_me: failed program was:" >&5
20565 sed 's/^/| /' conftest.$ac_ext >&5
20566
20567 ( exit $ac_status )
20568 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20569 See \`config.log' for more details." >&5
20570 echo "$as_me: error: cannot compute sizeof (size_t), 77
20571 See \`config.log' for more details." >&2;}
20572 { (exit 1); exit 1; }; }
20573 fi
20574 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20575 fi
20576 fi
20577 rm -f conftest.val
20578 else
20579 ac_cv_sizeof_size_t=0
20580 fi
20581 fi
20582 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20583 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20584 cat >>confdefs.h <<_ACEOF
20585 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20586 _ACEOF
20587
20588
20589
20590 case "${host}" in
20591 arm-*-linux* )
20592 echo "$as_me:$LINENO: checking for long long" >&5
20593 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20594 if test "${ac_cv_type_long_long+set}" = set; then
20595 echo $ECHO_N "(cached) $ECHO_C" >&6
20596 else
20597 cat >conftest.$ac_ext <<_ACEOF
20598 /* confdefs.h. */
20599 _ACEOF
20600 cat confdefs.h >>conftest.$ac_ext
20601 cat >>conftest.$ac_ext <<_ACEOF
20602 /* end confdefs.h. */
20603 $ac_includes_default
20604 int
20605 main ()
20606 {
20607 if ((long long *) 0)
20608 return 0;
20609 if (sizeof (long long))
20610 return 0;
20611 ;
20612 return 0;
20613 }
20614 _ACEOF
20615 rm -f conftest.$ac_objext
20616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20617 (eval $ac_compile) 2>conftest.er1
20618 ac_status=$?
20619 grep -v '^ *+' conftest.er1 >conftest.err
20620 rm -f conftest.er1
20621 cat conftest.err >&5
20622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20623 (exit $ac_status); } &&
20624 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20626 (eval $ac_try) 2>&5
20627 ac_status=$?
20628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20629 (exit $ac_status); }; } &&
20630 { ac_try='test -s conftest.$ac_objext'
20631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20632 (eval $ac_try) 2>&5
20633 ac_status=$?
20634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20635 (exit $ac_status); }; }; then
20636 ac_cv_type_long_long=yes
20637 else
20638 echo "$as_me: failed program was:" >&5
20639 sed 's/^/| /' conftest.$ac_ext >&5
20640
20641 ac_cv_type_long_long=no
20642 fi
20643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20644 fi
20645 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20646 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20647
20648 echo "$as_me:$LINENO: checking size of long long" >&5
20649 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20650 if test "${ac_cv_sizeof_long_long+set}" = set; then
20651 echo $ECHO_N "(cached) $ECHO_C" >&6
20652 else
20653 if test "$ac_cv_type_long_long" = yes; then
20654 # The cast to unsigned long works around a bug in the HP C Compiler
20655 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20656 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20657 # This bug is HP SR number 8606223364.
20658 if test "$cross_compiling" = yes; then
20659 # Depending upon the size, compute the lo and hi bounds.
20660 cat >conftest.$ac_ext <<_ACEOF
20661 /* confdefs.h. */
20662 _ACEOF
20663 cat confdefs.h >>conftest.$ac_ext
20664 cat >>conftest.$ac_ext <<_ACEOF
20665 /* end confdefs.h. */
20666 $ac_includes_default
20667 int
20668 main ()
20669 {
20670 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20671 test_array [0] = 0
20672
20673 ;
20674 return 0;
20675 }
20676 _ACEOF
20677 rm -f conftest.$ac_objext
20678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20679 (eval $ac_compile) 2>conftest.er1
20680 ac_status=$?
20681 grep -v '^ *+' conftest.er1 >conftest.err
20682 rm -f conftest.er1
20683 cat conftest.err >&5
20684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20685 (exit $ac_status); } &&
20686 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20688 (eval $ac_try) 2>&5
20689 ac_status=$?
20690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20691 (exit $ac_status); }; } &&
20692 { ac_try='test -s conftest.$ac_objext'
20693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20694 (eval $ac_try) 2>&5
20695 ac_status=$?
20696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20697 (exit $ac_status); }; }; then
20698 ac_lo=0 ac_mid=0
20699 while :; do
20700 cat >conftest.$ac_ext <<_ACEOF
20701 /* confdefs.h. */
20702 _ACEOF
20703 cat confdefs.h >>conftest.$ac_ext
20704 cat >>conftest.$ac_ext <<_ACEOF
20705 /* end confdefs.h. */
20706 $ac_includes_default
20707 int
20708 main ()
20709 {
20710 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20711 test_array [0] = 0
20712
20713 ;
20714 return 0;
20715 }
20716 _ACEOF
20717 rm -f conftest.$ac_objext
20718 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20719 (eval $ac_compile) 2>conftest.er1
20720 ac_status=$?
20721 grep -v '^ *+' conftest.er1 >conftest.err
20722 rm -f conftest.er1
20723 cat conftest.err >&5
20724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20725 (exit $ac_status); } &&
20726 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20728 (eval $ac_try) 2>&5
20729 ac_status=$?
20730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20731 (exit $ac_status); }; } &&
20732 { ac_try='test -s conftest.$ac_objext'
20733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20734 (eval $ac_try) 2>&5
20735 ac_status=$?
20736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20737 (exit $ac_status); }; }; then
20738 ac_hi=$ac_mid; break
20739 else
20740 echo "$as_me: failed program was:" >&5
20741 sed 's/^/| /' conftest.$ac_ext >&5
20742
20743 ac_lo=`expr $ac_mid + 1`
20744 if test $ac_lo -le $ac_mid; then
20745 ac_lo= ac_hi=
20746 break
20747 fi
20748 ac_mid=`expr 2 '*' $ac_mid + 1`
20749 fi
20750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20751 done
20752 else
20753 echo "$as_me: failed program was:" >&5
20754 sed 's/^/| /' conftest.$ac_ext >&5
20755
20756 cat >conftest.$ac_ext <<_ACEOF
20757 /* confdefs.h. */
20758 _ACEOF
20759 cat confdefs.h >>conftest.$ac_ext
20760 cat >>conftest.$ac_ext <<_ACEOF
20761 /* end confdefs.h. */
20762 $ac_includes_default
20763 int
20764 main ()
20765 {
20766 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20767 test_array [0] = 0
20768
20769 ;
20770 return 0;
20771 }
20772 _ACEOF
20773 rm -f conftest.$ac_objext
20774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20775 (eval $ac_compile) 2>conftest.er1
20776 ac_status=$?
20777 grep -v '^ *+' conftest.er1 >conftest.err
20778 rm -f conftest.er1
20779 cat conftest.err >&5
20780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20781 (exit $ac_status); } &&
20782 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20784 (eval $ac_try) 2>&5
20785 ac_status=$?
20786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787 (exit $ac_status); }; } &&
20788 { ac_try='test -s conftest.$ac_objext'
20789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20790 (eval $ac_try) 2>&5
20791 ac_status=$?
20792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20793 (exit $ac_status); }; }; then
20794 ac_hi=-1 ac_mid=-1
20795 while :; do
20796 cat >conftest.$ac_ext <<_ACEOF
20797 /* confdefs.h. */
20798 _ACEOF
20799 cat confdefs.h >>conftest.$ac_ext
20800 cat >>conftest.$ac_ext <<_ACEOF
20801 /* end confdefs.h. */
20802 $ac_includes_default
20803 int
20804 main ()
20805 {
20806 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20807 test_array [0] = 0
20808
20809 ;
20810 return 0;
20811 }
20812 _ACEOF
20813 rm -f conftest.$ac_objext
20814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20815 (eval $ac_compile) 2>conftest.er1
20816 ac_status=$?
20817 grep -v '^ *+' conftest.er1 >conftest.err
20818 rm -f conftest.er1
20819 cat conftest.err >&5
20820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20821 (exit $ac_status); } &&
20822 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20824 (eval $ac_try) 2>&5
20825 ac_status=$?
20826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20827 (exit $ac_status); }; } &&
20828 { ac_try='test -s conftest.$ac_objext'
20829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20830 (eval $ac_try) 2>&5
20831 ac_status=$?
20832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20833 (exit $ac_status); }; }; then
20834 ac_lo=$ac_mid; break
20835 else
20836 echo "$as_me: failed program was:" >&5
20837 sed 's/^/| /' conftest.$ac_ext >&5
20838
20839 ac_hi=`expr '(' $ac_mid ')' - 1`
20840 if test $ac_mid -le $ac_hi; then
20841 ac_lo= ac_hi=
20842 break
20843 fi
20844 ac_mid=`expr 2 '*' $ac_mid`
20845 fi
20846 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20847 done
20848 else
20849 echo "$as_me: failed program was:" >&5
20850 sed 's/^/| /' conftest.$ac_ext >&5
20851
20852 ac_lo= ac_hi=
20853 fi
20854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20855 fi
20856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20857 # Binary search between lo and hi bounds.
20858 while test "x$ac_lo" != "x$ac_hi"; do
20859 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20860 cat >conftest.$ac_ext <<_ACEOF
20861 /* confdefs.h. */
20862 _ACEOF
20863 cat confdefs.h >>conftest.$ac_ext
20864 cat >>conftest.$ac_ext <<_ACEOF
20865 /* end confdefs.h. */
20866 $ac_includes_default
20867 int
20868 main ()
20869 {
20870 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20871 test_array [0] = 0
20872
20873 ;
20874 return 0;
20875 }
20876 _ACEOF
20877 rm -f conftest.$ac_objext
20878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20879 (eval $ac_compile) 2>conftest.er1
20880 ac_status=$?
20881 grep -v '^ *+' conftest.er1 >conftest.err
20882 rm -f conftest.er1
20883 cat conftest.err >&5
20884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20885 (exit $ac_status); } &&
20886 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20888 (eval $ac_try) 2>&5
20889 ac_status=$?
20890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20891 (exit $ac_status); }; } &&
20892 { ac_try='test -s conftest.$ac_objext'
20893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20894 (eval $ac_try) 2>&5
20895 ac_status=$?
20896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20897 (exit $ac_status); }; }; then
20898 ac_hi=$ac_mid
20899 else
20900 echo "$as_me: failed program was:" >&5
20901 sed 's/^/| /' conftest.$ac_ext >&5
20902
20903 ac_lo=`expr '(' $ac_mid ')' + 1`
20904 fi
20905 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20906 done
20907 case $ac_lo in
20908 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20909 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20910 See \`config.log' for more details." >&5
20911 echo "$as_me: error: cannot compute sizeof (long long), 77
20912 See \`config.log' for more details." >&2;}
20913 { (exit 1); exit 1; }; } ;;
20914 esac
20915 else
20916 if test "$cross_compiling" = yes; then
20917 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20918 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20919 { (exit 1); exit 1; }; }
20920 else
20921 cat >conftest.$ac_ext <<_ACEOF
20922 /* confdefs.h. */
20923 _ACEOF
20924 cat confdefs.h >>conftest.$ac_ext
20925 cat >>conftest.$ac_ext <<_ACEOF
20926 /* end confdefs.h. */
20927 $ac_includes_default
20928 long longval () { return (long) (sizeof (long long)); }
20929 unsigned long ulongval () { return (long) (sizeof (long long)); }
20930 #include <stdio.h>
20931 #include <stdlib.h>
20932 int
20933 main ()
20934 {
20935
20936 FILE *f = fopen ("conftest.val", "w");
20937 if (! f)
20938 exit (1);
20939 if (((long) (sizeof (long long))) < 0)
20940 {
20941 long i = longval ();
20942 if (i != ((long) (sizeof (long long))))
20943 exit (1);
20944 fprintf (f, "%ld\n", i);
20945 }
20946 else
20947 {
20948 unsigned long i = ulongval ();
20949 if (i != ((long) (sizeof (long long))))
20950 exit (1);
20951 fprintf (f, "%lu\n", i);
20952 }
20953 exit (ferror (f) || fclose (f) != 0);
20954
20955 ;
20956 return 0;
20957 }
20958 _ACEOF
20959 rm -f conftest$ac_exeext
20960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20961 (eval $ac_link) 2>&5
20962 ac_status=$?
20963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20964 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20966 (eval $ac_try) 2>&5
20967 ac_status=$?
20968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20969 (exit $ac_status); }; }; then
20970 ac_cv_sizeof_long_long=`cat conftest.val`
20971 else
20972 echo "$as_me: program exited with status $ac_status" >&5
20973 echo "$as_me: failed program was:" >&5
20974 sed 's/^/| /' conftest.$ac_ext >&5
20975
20976 ( exit $ac_status )
20977 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20978 See \`config.log' for more details." >&5
20979 echo "$as_me: error: cannot compute sizeof (long long), 77
20980 See \`config.log' for more details." >&2;}
20981 { (exit 1); exit 1; }; }
20982 fi
20983 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20984 fi
20985 fi
20986 rm -f conftest.val
20987 else
20988 ac_cv_sizeof_long_long=0
20989 fi
20990 fi
20991 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20992 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20993 cat >>confdefs.h <<_ACEOF
20994 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20995 _ACEOF
20996
20997
20998 ;;
20999 *-hp-hpux* )
21000 echo "$as_me:$LINENO: checking for long long" >&5
21001 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21002 if test "${ac_cv_type_long_long+set}" = set; then
21003 echo $ECHO_N "(cached) $ECHO_C" >&6
21004 else
21005 cat >conftest.$ac_ext <<_ACEOF
21006 /* confdefs.h. */
21007 _ACEOF
21008 cat confdefs.h >>conftest.$ac_ext
21009 cat >>conftest.$ac_ext <<_ACEOF
21010 /* end confdefs.h. */
21011 $ac_includes_default
21012 int
21013 main ()
21014 {
21015 if ((long long *) 0)
21016 return 0;
21017 if (sizeof (long long))
21018 return 0;
21019 ;
21020 return 0;
21021 }
21022 _ACEOF
21023 rm -f conftest.$ac_objext
21024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21025 (eval $ac_compile) 2>conftest.er1
21026 ac_status=$?
21027 grep -v '^ *+' conftest.er1 >conftest.err
21028 rm -f conftest.er1
21029 cat conftest.err >&5
21030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21031 (exit $ac_status); } &&
21032 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21034 (eval $ac_try) 2>&5
21035 ac_status=$?
21036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21037 (exit $ac_status); }; } &&
21038 { ac_try='test -s conftest.$ac_objext'
21039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21040 (eval $ac_try) 2>&5
21041 ac_status=$?
21042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21043 (exit $ac_status); }; }; then
21044 ac_cv_type_long_long=yes
21045 else
21046 echo "$as_me: failed program was:" >&5
21047 sed 's/^/| /' conftest.$ac_ext >&5
21048
21049 ac_cv_type_long_long=no
21050 fi
21051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21052 fi
21053 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21054 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21055
21056 echo "$as_me:$LINENO: checking size of long long" >&5
21057 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21058 if test "${ac_cv_sizeof_long_long+set}" = set; then
21059 echo $ECHO_N "(cached) $ECHO_C" >&6
21060 else
21061 if test "$ac_cv_type_long_long" = yes; then
21062 # The cast to unsigned long works around a bug in the HP C Compiler
21063 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21064 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21065 # This bug is HP SR number 8606223364.
21066 if test "$cross_compiling" = yes; then
21067 # Depending upon the size, compute the lo and hi bounds.
21068 cat >conftest.$ac_ext <<_ACEOF
21069 /* confdefs.h. */
21070 _ACEOF
21071 cat confdefs.h >>conftest.$ac_ext
21072 cat >>conftest.$ac_ext <<_ACEOF
21073 /* end confdefs.h. */
21074 $ac_includes_default
21075 int
21076 main ()
21077 {
21078 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21079 test_array [0] = 0
21080
21081 ;
21082 return 0;
21083 }
21084 _ACEOF
21085 rm -f conftest.$ac_objext
21086 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21087 (eval $ac_compile) 2>conftest.er1
21088 ac_status=$?
21089 grep -v '^ *+' conftest.er1 >conftest.err
21090 rm -f conftest.er1
21091 cat conftest.err >&5
21092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21093 (exit $ac_status); } &&
21094 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21096 (eval $ac_try) 2>&5
21097 ac_status=$?
21098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21099 (exit $ac_status); }; } &&
21100 { ac_try='test -s conftest.$ac_objext'
21101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21102 (eval $ac_try) 2>&5
21103 ac_status=$?
21104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21105 (exit $ac_status); }; }; then
21106 ac_lo=0 ac_mid=0
21107 while :; do
21108 cat >conftest.$ac_ext <<_ACEOF
21109 /* confdefs.h. */
21110 _ACEOF
21111 cat confdefs.h >>conftest.$ac_ext
21112 cat >>conftest.$ac_ext <<_ACEOF
21113 /* end confdefs.h. */
21114 $ac_includes_default
21115 int
21116 main ()
21117 {
21118 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21119 test_array [0] = 0
21120
21121 ;
21122 return 0;
21123 }
21124 _ACEOF
21125 rm -f conftest.$ac_objext
21126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21127 (eval $ac_compile) 2>conftest.er1
21128 ac_status=$?
21129 grep -v '^ *+' conftest.er1 >conftest.err
21130 rm -f conftest.er1
21131 cat conftest.err >&5
21132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21133 (exit $ac_status); } &&
21134 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21136 (eval $ac_try) 2>&5
21137 ac_status=$?
21138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21139 (exit $ac_status); }; } &&
21140 { ac_try='test -s conftest.$ac_objext'
21141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21142 (eval $ac_try) 2>&5
21143 ac_status=$?
21144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21145 (exit $ac_status); }; }; then
21146 ac_hi=$ac_mid; break
21147 else
21148 echo "$as_me: failed program was:" >&5
21149 sed 's/^/| /' conftest.$ac_ext >&5
21150
21151 ac_lo=`expr $ac_mid + 1`
21152 if test $ac_lo -le $ac_mid; then
21153 ac_lo= ac_hi=
21154 break
21155 fi
21156 ac_mid=`expr 2 '*' $ac_mid + 1`
21157 fi
21158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21159 done
21160 else
21161 echo "$as_me: failed program was:" >&5
21162 sed 's/^/| /' conftest.$ac_ext >&5
21163
21164 cat >conftest.$ac_ext <<_ACEOF
21165 /* confdefs.h. */
21166 _ACEOF
21167 cat confdefs.h >>conftest.$ac_ext
21168 cat >>conftest.$ac_ext <<_ACEOF
21169 /* end confdefs.h. */
21170 $ac_includes_default
21171 int
21172 main ()
21173 {
21174 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21175 test_array [0] = 0
21176
21177 ;
21178 return 0;
21179 }
21180 _ACEOF
21181 rm -f conftest.$ac_objext
21182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21183 (eval $ac_compile) 2>conftest.er1
21184 ac_status=$?
21185 grep -v '^ *+' conftest.er1 >conftest.err
21186 rm -f conftest.er1
21187 cat conftest.err >&5
21188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21189 (exit $ac_status); } &&
21190 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21192 (eval $ac_try) 2>&5
21193 ac_status=$?
21194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21195 (exit $ac_status); }; } &&
21196 { ac_try='test -s conftest.$ac_objext'
21197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21198 (eval $ac_try) 2>&5
21199 ac_status=$?
21200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21201 (exit $ac_status); }; }; then
21202 ac_hi=-1 ac_mid=-1
21203 while :; do
21204 cat >conftest.$ac_ext <<_ACEOF
21205 /* confdefs.h. */
21206 _ACEOF
21207 cat confdefs.h >>conftest.$ac_ext
21208 cat >>conftest.$ac_ext <<_ACEOF
21209 /* end confdefs.h. */
21210 $ac_includes_default
21211 int
21212 main ()
21213 {
21214 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21215 test_array [0] = 0
21216
21217 ;
21218 return 0;
21219 }
21220 _ACEOF
21221 rm -f conftest.$ac_objext
21222 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21223 (eval $ac_compile) 2>conftest.er1
21224 ac_status=$?
21225 grep -v '^ *+' conftest.er1 >conftest.err
21226 rm -f conftest.er1
21227 cat conftest.err >&5
21228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21229 (exit $ac_status); } &&
21230 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21232 (eval $ac_try) 2>&5
21233 ac_status=$?
21234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21235 (exit $ac_status); }; } &&
21236 { ac_try='test -s conftest.$ac_objext'
21237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21238 (eval $ac_try) 2>&5
21239 ac_status=$?
21240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21241 (exit $ac_status); }; }; then
21242 ac_lo=$ac_mid; break
21243 else
21244 echo "$as_me: failed program was:" >&5
21245 sed 's/^/| /' conftest.$ac_ext >&5
21246
21247 ac_hi=`expr '(' $ac_mid ')' - 1`
21248 if test $ac_mid -le $ac_hi; then
21249 ac_lo= ac_hi=
21250 break
21251 fi
21252 ac_mid=`expr 2 '*' $ac_mid`
21253 fi
21254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21255 done
21256 else
21257 echo "$as_me: failed program was:" >&5
21258 sed 's/^/| /' conftest.$ac_ext >&5
21259
21260 ac_lo= ac_hi=
21261 fi
21262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21263 fi
21264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21265 # Binary search between lo and hi bounds.
21266 while test "x$ac_lo" != "x$ac_hi"; do
21267 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21268 cat >conftest.$ac_ext <<_ACEOF
21269 /* confdefs.h. */
21270 _ACEOF
21271 cat confdefs.h >>conftest.$ac_ext
21272 cat >>conftest.$ac_ext <<_ACEOF
21273 /* end confdefs.h. */
21274 $ac_includes_default
21275 int
21276 main ()
21277 {
21278 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21279 test_array [0] = 0
21280
21281 ;
21282 return 0;
21283 }
21284 _ACEOF
21285 rm -f conftest.$ac_objext
21286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21287 (eval $ac_compile) 2>conftest.er1
21288 ac_status=$?
21289 grep -v '^ *+' conftest.er1 >conftest.err
21290 rm -f conftest.er1
21291 cat conftest.err >&5
21292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21293 (exit $ac_status); } &&
21294 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21296 (eval $ac_try) 2>&5
21297 ac_status=$?
21298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21299 (exit $ac_status); }; } &&
21300 { ac_try='test -s conftest.$ac_objext'
21301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21302 (eval $ac_try) 2>&5
21303 ac_status=$?
21304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21305 (exit $ac_status); }; }; then
21306 ac_hi=$ac_mid
21307 else
21308 echo "$as_me: failed program was:" >&5
21309 sed 's/^/| /' conftest.$ac_ext >&5
21310
21311 ac_lo=`expr '(' $ac_mid ')' + 1`
21312 fi
21313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21314 done
21315 case $ac_lo in
21316 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21317 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21318 See \`config.log' for more details." >&5
21319 echo "$as_me: error: cannot compute sizeof (long long), 77
21320 See \`config.log' for more details." >&2;}
21321 { (exit 1); exit 1; }; } ;;
21322 esac
21323 else
21324 if test "$cross_compiling" = yes; then
21325 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21326 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21327 { (exit 1); exit 1; }; }
21328 else
21329 cat >conftest.$ac_ext <<_ACEOF
21330 /* confdefs.h. */
21331 _ACEOF
21332 cat confdefs.h >>conftest.$ac_ext
21333 cat >>conftest.$ac_ext <<_ACEOF
21334 /* end confdefs.h. */
21335 $ac_includes_default
21336 long longval () { return (long) (sizeof (long long)); }
21337 unsigned long ulongval () { return (long) (sizeof (long long)); }
21338 #include <stdio.h>
21339 #include <stdlib.h>
21340 int
21341 main ()
21342 {
21343
21344 FILE *f = fopen ("conftest.val", "w");
21345 if (! f)
21346 exit (1);
21347 if (((long) (sizeof (long long))) < 0)
21348 {
21349 long i = longval ();
21350 if (i != ((long) (sizeof (long long))))
21351 exit (1);
21352 fprintf (f, "%ld\n", i);
21353 }
21354 else
21355 {
21356 unsigned long i = ulongval ();
21357 if (i != ((long) (sizeof (long long))))
21358 exit (1);
21359 fprintf (f, "%lu\n", i);
21360 }
21361 exit (ferror (f) || fclose (f) != 0);
21362
21363 ;
21364 return 0;
21365 }
21366 _ACEOF
21367 rm -f conftest$ac_exeext
21368 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21369 (eval $ac_link) 2>&5
21370 ac_status=$?
21371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21372 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21374 (eval $ac_try) 2>&5
21375 ac_status=$?
21376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21377 (exit $ac_status); }; }; then
21378 ac_cv_sizeof_long_long=`cat conftest.val`
21379 else
21380 echo "$as_me: program exited with status $ac_status" >&5
21381 echo "$as_me: failed program was:" >&5
21382 sed 's/^/| /' conftest.$ac_ext >&5
21383
21384 ( exit $ac_status )
21385 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21386 See \`config.log' for more details." >&5
21387 echo "$as_me: error: cannot compute sizeof (long long), 77
21388 See \`config.log' for more details." >&2;}
21389 { (exit 1); exit 1; }; }
21390 fi
21391 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21392 fi
21393 fi
21394 rm -f conftest.val
21395 else
21396 ac_cv_sizeof_long_long=0
21397 fi
21398 fi
21399 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21400 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21401 cat >>confdefs.h <<_ACEOF
21402 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21403 _ACEOF
21404
21405
21406 if test "$ac_cv_sizeof_long_long" != "0"; then
21407 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21408 fi
21409 ;;
21410 * )
21411 echo "$as_me:$LINENO: checking for long long" >&5
21412 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21413 if test "${ac_cv_type_long_long+set}" = set; then
21414 echo $ECHO_N "(cached) $ECHO_C" >&6
21415 else
21416 cat >conftest.$ac_ext <<_ACEOF
21417 /* confdefs.h. */
21418 _ACEOF
21419 cat confdefs.h >>conftest.$ac_ext
21420 cat >>conftest.$ac_ext <<_ACEOF
21421 /* end confdefs.h. */
21422 $ac_includes_default
21423 int
21424 main ()
21425 {
21426 if ((long long *) 0)
21427 return 0;
21428 if (sizeof (long long))
21429 return 0;
21430 ;
21431 return 0;
21432 }
21433 _ACEOF
21434 rm -f conftest.$ac_objext
21435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21436 (eval $ac_compile) 2>conftest.er1
21437 ac_status=$?
21438 grep -v '^ *+' conftest.er1 >conftest.err
21439 rm -f conftest.er1
21440 cat conftest.err >&5
21441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21442 (exit $ac_status); } &&
21443 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21445 (eval $ac_try) 2>&5
21446 ac_status=$?
21447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21448 (exit $ac_status); }; } &&
21449 { ac_try='test -s conftest.$ac_objext'
21450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21451 (eval $ac_try) 2>&5
21452 ac_status=$?
21453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21454 (exit $ac_status); }; }; then
21455 ac_cv_type_long_long=yes
21456 else
21457 echo "$as_me: failed program was:" >&5
21458 sed 's/^/| /' conftest.$ac_ext >&5
21459
21460 ac_cv_type_long_long=no
21461 fi
21462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21463 fi
21464 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21465 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21466
21467 echo "$as_me:$LINENO: checking size of long long" >&5
21468 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21469 if test "${ac_cv_sizeof_long_long+set}" = set; then
21470 echo $ECHO_N "(cached) $ECHO_C" >&6
21471 else
21472 if test "$ac_cv_type_long_long" = yes; then
21473 # The cast to unsigned long works around a bug in the HP C Compiler
21474 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21475 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21476 # This bug is HP SR number 8606223364.
21477 if test "$cross_compiling" = yes; then
21478 # Depending upon the size, compute the lo and hi bounds.
21479 cat >conftest.$ac_ext <<_ACEOF
21480 /* confdefs.h. */
21481 _ACEOF
21482 cat confdefs.h >>conftest.$ac_ext
21483 cat >>conftest.$ac_ext <<_ACEOF
21484 /* end confdefs.h. */
21485 $ac_includes_default
21486 int
21487 main ()
21488 {
21489 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21490 test_array [0] = 0
21491
21492 ;
21493 return 0;
21494 }
21495 _ACEOF
21496 rm -f conftest.$ac_objext
21497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21498 (eval $ac_compile) 2>conftest.er1
21499 ac_status=$?
21500 grep -v '^ *+' conftest.er1 >conftest.err
21501 rm -f conftest.er1
21502 cat conftest.err >&5
21503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21504 (exit $ac_status); } &&
21505 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21507 (eval $ac_try) 2>&5
21508 ac_status=$?
21509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21510 (exit $ac_status); }; } &&
21511 { ac_try='test -s conftest.$ac_objext'
21512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21513 (eval $ac_try) 2>&5
21514 ac_status=$?
21515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21516 (exit $ac_status); }; }; then
21517 ac_lo=0 ac_mid=0
21518 while :; do
21519 cat >conftest.$ac_ext <<_ACEOF
21520 /* confdefs.h. */
21521 _ACEOF
21522 cat confdefs.h >>conftest.$ac_ext
21523 cat >>conftest.$ac_ext <<_ACEOF
21524 /* end confdefs.h. */
21525 $ac_includes_default
21526 int
21527 main ()
21528 {
21529 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21530 test_array [0] = 0
21531
21532 ;
21533 return 0;
21534 }
21535 _ACEOF
21536 rm -f conftest.$ac_objext
21537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21538 (eval $ac_compile) 2>conftest.er1
21539 ac_status=$?
21540 grep -v '^ *+' conftest.er1 >conftest.err
21541 rm -f conftest.er1
21542 cat conftest.err >&5
21543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21544 (exit $ac_status); } &&
21545 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21547 (eval $ac_try) 2>&5
21548 ac_status=$?
21549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21550 (exit $ac_status); }; } &&
21551 { ac_try='test -s conftest.$ac_objext'
21552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21553 (eval $ac_try) 2>&5
21554 ac_status=$?
21555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21556 (exit $ac_status); }; }; then
21557 ac_hi=$ac_mid; break
21558 else
21559 echo "$as_me: failed program was:" >&5
21560 sed 's/^/| /' conftest.$ac_ext >&5
21561
21562 ac_lo=`expr $ac_mid + 1`
21563 if test $ac_lo -le $ac_mid; then
21564 ac_lo= ac_hi=
21565 break
21566 fi
21567 ac_mid=`expr 2 '*' $ac_mid + 1`
21568 fi
21569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21570 done
21571 else
21572 echo "$as_me: failed program was:" >&5
21573 sed 's/^/| /' conftest.$ac_ext >&5
21574
21575 cat >conftest.$ac_ext <<_ACEOF
21576 /* confdefs.h. */
21577 _ACEOF
21578 cat confdefs.h >>conftest.$ac_ext
21579 cat >>conftest.$ac_ext <<_ACEOF
21580 /* end confdefs.h. */
21581 $ac_includes_default
21582 int
21583 main ()
21584 {
21585 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21586 test_array [0] = 0
21587
21588 ;
21589 return 0;
21590 }
21591 _ACEOF
21592 rm -f conftest.$ac_objext
21593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21594 (eval $ac_compile) 2>conftest.er1
21595 ac_status=$?
21596 grep -v '^ *+' conftest.er1 >conftest.err
21597 rm -f conftest.er1
21598 cat conftest.err >&5
21599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21600 (exit $ac_status); } &&
21601 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21603 (eval $ac_try) 2>&5
21604 ac_status=$?
21605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21606 (exit $ac_status); }; } &&
21607 { ac_try='test -s conftest.$ac_objext'
21608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21609 (eval $ac_try) 2>&5
21610 ac_status=$?
21611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21612 (exit $ac_status); }; }; then
21613 ac_hi=-1 ac_mid=-1
21614 while :; do
21615 cat >conftest.$ac_ext <<_ACEOF
21616 /* confdefs.h. */
21617 _ACEOF
21618 cat confdefs.h >>conftest.$ac_ext
21619 cat >>conftest.$ac_ext <<_ACEOF
21620 /* end confdefs.h. */
21621 $ac_includes_default
21622 int
21623 main ()
21624 {
21625 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21626 test_array [0] = 0
21627
21628 ;
21629 return 0;
21630 }
21631 _ACEOF
21632 rm -f conftest.$ac_objext
21633 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21634 (eval $ac_compile) 2>conftest.er1
21635 ac_status=$?
21636 grep -v '^ *+' conftest.er1 >conftest.err
21637 rm -f conftest.er1
21638 cat conftest.err >&5
21639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21640 (exit $ac_status); } &&
21641 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21643 (eval $ac_try) 2>&5
21644 ac_status=$?
21645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21646 (exit $ac_status); }; } &&
21647 { ac_try='test -s conftest.$ac_objext'
21648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21649 (eval $ac_try) 2>&5
21650 ac_status=$?
21651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21652 (exit $ac_status); }; }; then
21653 ac_lo=$ac_mid; break
21654 else
21655 echo "$as_me: failed program was:" >&5
21656 sed 's/^/| /' conftest.$ac_ext >&5
21657
21658 ac_hi=`expr '(' $ac_mid ')' - 1`
21659 if test $ac_mid -le $ac_hi; then
21660 ac_lo= ac_hi=
21661 break
21662 fi
21663 ac_mid=`expr 2 '*' $ac_mid`
21664 fi
21665 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21666 done
21667 else
21668 echo "$as_me: failed program was:" >&5
21669 sed 's/^/| /' conftest.$ac_ext >&5
21670
21671 ac_lo= ac_hi=
21672 fi
21673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21674 fi
21675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21676 # Binary search between lo and hi bounds.
21677 while test "x$ac_lo" != "x$ac_hi"; do
21678 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21679 cat >conftest.$ac_ext <<_ACEOF
21680 /* confdefs.h. */
21681 _ACEOF
21682 cat confdefs.h >>conftest.$ac_ext
21683 cat >>conftest.$ac_ext <<_ACEOF
21684 /* end confdefs.h. */
21685 $ac_includes_default
21686 int
21687 main ()
21688 {
21689 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21690 test_array [0] = 0
21691
21692 ;
21693 return 0;
21694 }
21695 _ACEOF
21696 rm -f conftest.$ac_objext
21697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21698 (eval $ac_compile) 2>conftest.er1
21699 ac_status=$?
21700 grep -v '^ *+' conftest.er1 >conftest.err
21701 rm -f conftest.er1
21702 cat conftest.err >&5
21703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21704 (exit $ac_status); } &&
21705 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21707 (eval $ac_try) 2>&5
21708 ac_status=$?
21709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21710 (exit $ac_status); }; } &&
21711 { ac_try='test -s conftest.$ac_objext'
21712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21713 (eval $ac_try) 2>&5
21714 ac_status=$?
21715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21716 (exit $ac_status); }; }; then
21717 ac_hi=$ac_mid
21718 else
21719 echo "$as_me: failed program was:" >&5
21720 sed 's/^/| /' conftest.$ac_ext >&5
21721
21722 ac_lo=`expr '(' $ac_mid ')' + 1`
21723 fi
21724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21725 done
21726 case $ac_lo in
21727 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21728 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21729 See \`config.log' for more details." >&5
21730 echo "$as_me: error: cannot compute sizeof (long long), 77
21731 See \`config.log' for more details." >&2;}
21732 { (exit 1); exit 1; }; } ;;
21733 esac
21734 else
21735 if test "$cross_compiling" = yes; then
21736 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21737 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21738 { (exit 1); exit 1; }; }
21739 else
21740 cat >conftest.$ac_ext <<_ACEOF
21741 /* confdefs.h. */
21742 _ACEOF
21743 cat confdefs.h >>conftest.$ac_ext
21744 cat >>conftest.$ac_ext <<_ACEOF
21745 /* end confdefs.h. */
21746 $ac_includes_default
21747 long longval () { return (long) (sizeof (long long)); }
21748 unsigned long ulongval () { return (long) (sizeof (long long)); }
21749 #include <stdio.h>
21750 #include <stdlib.h>
21751 int
21752 main ()
21753 {
21754
21755 FILE *f = fopen ("conftest.val", "w");
21756 if (! f)
21757 exit (1);
21758 if (((long) (sizeof (long long))) < 0)
21759 {
21760 long i = longval ();
21761 if (i != ((long) (sizeof (long long))))
21762 exit (1);
21763 fprintf (f, "%ld\n", i);
21764 }
21765 else
21766 {
21767 unsigned long i = ulongval ();
21768 if (i != ((long) (sizeof (long long))))
21769 exit (1);
21770 fprintf (f, "%lu\n", i);
21771 }
21772 exit (ferror (f) || fclose (f) != 0);
21773
21774 ;
21775 return 0;
21776 }
21777 _ACEOF
21778 rm -f conftest$ac_exeext
21779 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21780 (eval $ac_link) 2>&5
21781 ac_status=$?
21782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21783 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21785 (eval $ac_try) 2>&5
21786 ac_status=$?
21787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21788 (exit $ac_status); }; }; then
21789 ac_cv_sizeof_long_long=`cat conftest.val`
21790 else
21791 echo "$as_me: program exited with status $ac_status" >&5
21792 echo "$as_me: failed program was:" >&5
21793 sed 's/^/| /' conftest.$ac_ext >&5
21794
21795 ( exit $ac_status )
21796 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21797 See \`config.log' for more details." >&5
21798 echo "$as_me: error: cannot compute sizeof (long long), 77
21799 See \`config.log' for more details." >&2;}
21800 { (exit 1); exit 1; }; }
21801 fi
21802 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21803 fi
21804 fi
21805 rm -f conftest.val
21806 else
21807 ac_cv_sizeof_long_long=0
21808 fi
21809 fi
21810 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21811 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21812 cat >>confdefs.h <<_ACEOF
21813 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21814 _ACEOF
21815
21816
21817 esac
21818
21819 echo "$as_me:$LINENO: checking for wchar_t" >&5
21820 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21821 if test "${ac_cv_type_wchar_t+set}" = set; then
21822 echo $ECHO_N "(cached) $ECHO_C" >&6
21823 else
21824 cat >conftest.$ac_ext <<_ACEOF
21825 /* confdefs.h. */
21826 _ACEOF
21827 cat confdefs.h >>conftest.$ac_ext
21828 cat >>conftest.$ac_ext <<_ACEOF
21829 /* end confdefs.h. */
21830
21831 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21832 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21833 # error "fake wchar_t"
21834 #endif
21835 #ifdef HAVE_WCHAR_H
21836 # ifdef __CYGWIN__
21837 # include <stddef.h>
21838 # endif
21839 # include <wchar.h>
21840 #endif
21841 #ifdef HAVE_STDLIB_H
21842 # include <stdlib.h>
21843 #endif
21844 #include <stdio.h>
21845
21846
21847
21848 int
21849 main ()
21850 {
21851 if ((wchar_t *) 0)
21852 return 0;
21853 if (sizeof (wchar_t))
21854 return 0;
21855 ;
21856 return 0;
21857 }
21858 _ACEOF
21859 rm -f conftest.$ac_objext
21860 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21861 (eval $ac_compile) 2>conftest.er1
21862 ac_status=$?
21863 grep -v '^ *+' conftest.er1 >conftest.err
21864 rm -f conftest.er1
21865 cat conftest.err >&5
21866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21867 (exit $ac_status); } &&
21868 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21870 (eval $ac_try) 2>&5
21871 ac_status=$?
21872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21873 (exit $ac_status); }; } &&
21874 { ac_try='test -s conftest.$ac_objext'
21875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21876 (eval $ac_try) 2>&5
21877 ac_status=$?
21878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21879 (exit $ac_status); }; }; then
21880 ac_cv_type_wchar_t=yes
21881 else
21882 echo "$as_me: failed program was:" >&5
21883 sed 's/^/| /' conftest.$ac_ext >&5
21884
21885 ac_cv_type_wchar_t=no
21886 fi
21887 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21888 fi
21889 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21890 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21891
21892 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21893 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21894 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21895 echo $ECHO_N "(cached) $ECHO_C" >&6
21896 else
21897 if test "$ac_cv_type_wchar_t" = yes; then
21898 # The cast to unsigned long works around a bug in the HP C Compiler
21899 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21900 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21901 # This bug is HP SR number 8606223364.
21902 if test "$cross_compiling" = yes; then
21903 # Depending upon the size, compute the lo and hi bounds.
21904 cat >conftest.$ac_ext <<_ACEOF
21905 /* confdefs.h. */
21906 _ACEOF
21907 cat confdefs.h >>conftest.$ac_ext
21908 cat >>conftest.$ac_ext <<_ACEOF
21909 /* end confdefs.h. */
21910
21911 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21912 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21913 # error "fake wchar_t"
21914 #endif
21915 #ifdef HAVE_WCHAR_H
21916 # ifdef __CYGWIN__
21917 # include <stddef.h>
21918 # endif
21919 # include <wchar.h>
21920 #endif
21921 #ifdef HAVE_STDLIB_H
21922 # include <stdlib.h>
21923 #endif
21924 #include <stdio.h>
21925
21926
21927
21928 int
21929 main ()
21930 {
21931 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21932 test_array [0] = 0
21933
21934 ;
21935 return 0;
21936 }
21937 _ACEOF
21938 rm -f conftest.$ac_objext
21939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21940 (eval $ac_compile) 2>conftest.er1
21941 ac_status=$?
21942 grep -v '^ *+' conftest.er1 >conftest.err
21943 rm -f conftest.er1
21944 cat conftest.err >&5
21945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21946 (exit $ac_status); } &&
21947 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21949 (eval $ac_try) 2>&5
21950 ac_status=$?
21951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21952 (exit $ac_status); }; } &&
21953 { ac_try='test -s conftest.$ac_objext'
21954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21955 (eval $ac_try) 2>&5
21956 ac_status=$?
21957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21958 (exit $ac_status); }; }; then
21959 ac_lo=0 ac_mid=0
21960 while :; do
21961 cat >conftest.$ac_ext <<_ACEOF
21962 /* confdefs.h. */
21963 _ACEOF
21964 cat confdefs.h >>conftest.$ac_ext
21965 cat >>conftest.$ac_ext <<_ACEOF
21966 /* end confdefs.h. */
21967
21968 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21969 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21970 # error "fake wchar_t"
21971 #endif
21972 #ifdef HAVE_WCHAR_H
21973 # ifdef __CYGWIN__
21974 # include <stddef.h>
21975 # endif
21976 # include <wchar.h>
21977 #endif
21978 #ifdef HAVE_STDLIB_H
21979 # include <stdlib.h>
21980 #endif
21981 #include <stdio.h>
21982
21983
21984
21985 int
21986 main ()
21987 {
21988 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21989 test_array [0] = 0
21990
21991 ;
21992 return 0;
21993 }
21994 _ACEOF
21995 rm -f conftest.$ac_objext
21996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21997 (eval $ac_compile) 2>conftest.er1
21998 ac_status=$?
21999 grep -v '^ *+' conftest.er1 >conftest.err
22000 rm -f conftest.er1
22001 cat conftest.err >&5
22002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22003 (exit $ac_status); } &&
22004 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22006 (eval $ac_try) 2>&5
22007 ac_status=$?
22008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22009 (exit $ac_status); }; } &&
22010 { ac_try='test -s conftest.$ac_objext'
22011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22012 (eval $ac_try) 2>&5
22013 ac_status=$?
22014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22015 (exit $ac_status); }; }; then
22016 ac_hi=$ac_mid; break
22017 else
22018 echo "$as_me: failed program was:" >&5
22019 sed 's/^/| /' conftest.$ac_ext >&5
22020
22021 ac_lo=`expr $ac_mid + 1`
22022 if test $ac_lo -le $ac_mid; then
22023 ac_lo= ac_hi=
22024 break
22025 fi
22026 ac_mid=`expr 2 '*' $ac_mid + 1`
22027 fi
22028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22029 done
22030 else
22031 echo "$as_me: failed program was:" >&5
22032 sed 's/^/| /' conftest.$ac_ext >&5
22033
22034 cat >conftest.$ac_ext <<_ACEOF
22035 /* confdefs.h. */
22036 _ACEOF
22037 cat confdefs.h >>conftest.$ac_ext
22038 cat >>conftest.$ac_ext <<_ACEOF
22039 /* end confdefs.h. */
22040
22041 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22042 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22043 # error "fake wchar_t"
22044 #endif
22045 #ifdef HAVE_WCHAR_H
22046 # ifdef __CYGWIN__
22047 # include <stddef.h>
22048 # endif
22049 # include <wchar.h>
22050 #endif
22051 #ifdef HAVE_STDLIB_H
22052 # include <stdlib.h>
22053 #endif
22054 #include <stdio.h>
22055
22056
22057
22058 int
22059 main ()
22060 {
22061 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
22062 test_array [0] = 0
22063
22064 ;
22065 return 0;
22066 }
22067 _ACEOF
22068 rm -f conftest.$ac_objext
22069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22070 (eval $ac_compile) 2>conftest.er1
22071 ac_status=$?
22072 grep -v '^ *+' conftest.er1 >conftest.err
22073 rm -f conftest.er1
22074 cat conftest.err >&5
22075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22076 (exit $ac_status); } &&
22077 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22079 (eval $ac_try) 2>&5
22080 ac_status=$?
22081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22082 (exit $ac_status); }; } &&
22083 { ac_try='test -s conftest.$ac_objext'
22084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22085 (eval $ac_try) 2>&5
22086 ac_status=$?
22087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22088 (exit $ac_status); }; }; then
22089 ac_hi=-1 ac_mid=-1
22090 while :; do
22091 cat >conftest.$ac_ext <<_ACEOF
22092 /* confdefs.h. */
22093 _ACEOF
22094 cat confdefs.h >>conftest.$ac_ext
22095 cat >>conftest.$ac_ext <<_ACEOF
22096 /* end confdefs.h. */
22097
22098 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22099 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22100 # error "fake wchar_t"
22101 #endif
22102 #ifdef HAVE_WCHAR_H
22103 # ifdef __CYGWIN__
22104 # include <stddef.h>
22105 # endif
22106 # include <wchar.h>
22107 #endif
22108 #ifdef HAVE_STDLIB_H
22109 # include <stdlib.h>
22110 #endif
22111 #include <stdio.h>
22112
22113
22114
22115 int
22116 main ()
22117 {
22118 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
22119 test_array [0] = 0
22120
22121 ;
22122 return 0;
22123 }
22124 _ACEOF
22125 rm -f conftest.$ac_objext
22126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22127 (eval $ac_compile) 2>conftest.er1
22128 ac_status=$?
22129 grep -v '^ *+' conftest.er1 >conftest.err
22130 rm -f conftest.er1
22131 cat conftest.err >&5
22132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22133 (exit $ac_status); } &&
22134 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22136 (eval $ac_try) 2>&5
22137 ac_status=$?
22138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22139 (exit $ac_status); }; } &&
22140 { ac_try='test -s conftest.$ac_objext'
22141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22142 (eval $ac_try) 2>&5
22143 ac_status=$?
22144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22145 (exit $ac_status); }; }; then
22146 ac_lo=$ac_mid; break
22147 else
22148 echo "$as_me: failed program was:" >&5
22149 sed 's/^/| /' conftest.$ac_ext >&5
22150
22151 ac_hi=`expr '(' $ac_mid ')' - 1`
22152 if test $ac_mid -le $ac_hi; then
22153 ac_lo= ac_hi=
22154 break
22155 fi
22156 ac_mid=`expr 2 '*' $ac_mid`
22157 fi
22158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22159 done
22160 else
22161 echo "$as_me: failed program was:" >&5
22162 sed 's/^/| /' conftest.$ac_ext >&5
22163
22164 ac_lo= ac_hi=
22165 fi
22166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22167 fi
22168 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22169 # Binary search between lo and hi bounds.
22170 while test "x$ac_lo" != "x$ac_hi"; do
22171 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22172 cat >conftest.$ac_ext <<_ACEOF
22173 /* confdefs.h. */
22174 _ACEOF
22175 cat confdefs.h >>conftest.$ac_ext
22176 cat >>conftest.$ac_ext <<_ACEOF
22177 /* end confdefs.h. */
22178
22179 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22180 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22181 # error "fake wchar_t"
22182 #endif
22183 #ifdef HAVE_WCHAR_H
22184 # ifdef __CYGWIN__
22185 # include <stddef.h>
22186 # endif
22187 # include <wchar.h>
22188 #endif
22189 #ifdef HAVE_STDLIB_H
22190 # include <stdlib.h>
22191 #endif
22192 #include <stdio.h>
22193
22194
22195
22196 int
22197 main ()
22198 {
22199 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
22200 test_array [0] = 0
22201
22202 ;
22203 return 0;
22204 }
22205 _ACEOF
22206 rm -f conftest.$ac_objext
22207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22208 (eval $ac_compile) 2>conftest.er1
22209 ac_status=$?
22210 grep -v '^ *+' conftest.er1 >conftest.err
22211 rm -f conftest.er1
22212 cat conftest.err >&5
22213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22214 (exit $ac_status); } &&
22215 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22217 (eval $ac_try) 2>&5
22218 ac_status=$?
22219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22220 (exit $ac_status); }; } &&
22221 { ac_try='test -s conftest.$ac_objext'
22222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22223 (eval $ac_try) 2>&5
22224 ac_status=$?
22225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22226 (exit $ac_status); }; }; then
22227 ac_hi=$ac_mid
22228 else
22229 echo "$as_me: failed program was:" >&5
22230 sed 's/^/| /' conftest.$ac_ext >&5
22231
22232 ac_lo=`expr '(' $ac_mid ')' + 1`
22233 fi
22234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22235 done
22236 case $ac_lo in
22237 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22238 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22239 See \`config.log' for more details." >&5
22240 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22241 See \`config.log' for more details." >&2;}
22242 { (exit 1); exit 1; }; } ;;
22243 esac
22244 else
22245 if test "$cross_compiling" = yes; then
22246 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22247 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22248 { (exit 1); exit 1; }; }
22249 else
22250 cat >conftest.$ac_ext <<_ACEOF
22251 /* confdefs.h. */
22252 _ACEOF
22253 cat confdefs.h >>conftest.$ac_ext
22254 cat >>conftest.$ac_ext <<_ACEOF
22255 /* end confdefs.h. */
22256
22257 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22258 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22259 # error "fake wchar_t"
22260 #endif
22261 #ifdef HAVE_WCHAR_H
22262 # ifdef __CYGWIN__
22263 # include <stddef.h>
22264 # endif
22265 # include <wchar.h>
22266 #endif
22267 #ifdef HAVE_STDLIB_H
22268 # include <stdlib.h>
22269 #endif
22270 #include <stdio.h>
22271
22272
22273
22274 long longval () { return (long) (sizeof (wchar_t)); }
22275 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
22276 #include <stdio.h>
22277 #include <stdlib.h>
22278 int
22279 main ()
22280 {
22281
22282 FILE *f = fopen ("conftest.val", "w");
22283 if (! f)
22284 exit (1);
22285 if (((long) (sizeof (wchar_t))) < 0)
22286 {
22287 long i = longval ();
22288 if (i != ((long) (sizeof (wchar_t))))
22289 exit (1);
22290 fprintf (f, "%ld\n", i);
22291 }
22292 else
22293 {
22294 unsigned long i = ulongval ();
22295 if (i != ((long) (sizeof (wchar_t))))
22296 exit (1);
22297 fprintf (f, "%lu\n", i);
22298 }
22299 exit (ferror (f) || fclose (f) != 0);
22300
22301 ;
22302 return 0;
22303 }
22304 _ACEOF
22305 rm -f conftest$ac_exeext
22306 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22307 (eval $ac_link) 2>&5
22308 ac_status=$?
22309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22310 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22312 (eval $ac_try) 2>&5
22313 ac_status=$?
22314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22315 (exit $ac_status); }; }; then
22316 ac_cv_sizeof_wchar_t=`cat conftest.val`
22317 else
22318 echo "$as_me: program exited with status $ac_status" >&5
22319 echo "$as_me: failed program was:" >&5
22320 sed 's/^/| /' conftest.$ac_ext >&5
22321
22322 ( exit $ac_status )
22323 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22324 See \`config.log' for more details." >&5
22325 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22326 See \`config.log' for more details." >&2;}
22327 { (exit 1); exit 1; }; }
22328 fi
22329 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22330 fi
22331 fi
22332 rm -f conftest.val
22333 else
22334 ac_cv_sizeof_wchar_t=0
22335 fi
22336 fi
22337 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22338 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
22339 cat >>confdefs.h <<_ACEOF
22340 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22341 _ACEOF
22342
22343
22344 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22345 wxUSE_WCHAR_T=yes
22346 else
22347 wxUSE_WCHAR_T=no
22348 fi
22349
22350 echo "$as_me:$LINENO: checking for va_copy" >&5
22351 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
22352 if test "${wx_cv_func_va_copy+set}" = set; then
22353 echo $ECHO_N "(cached) $ECHO_C" >&6
22354 else
22355
22356 cat >conftest.$ac_ext <<_ACEOF
22357
22358 #include <stdarg.h>
22359 void foo(char *f, ...)
22360 {
22361 va_list ap1, ap2;
22362 va_start(ap1, f);
22363 va_copy(ap2, ap1);
22364 va_end(ap2);
22365 va_end(ap1);
22366 }
22367 int main()
22368 {
22369 foo("hi", 17);
22370 return 0;
22371 }
22372 _ACEOF
22373 rm -f conftest.$ac_objext conftest$ac_exeext
22374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22375 (eval $ac_link) 2>conftest.er1
22376 ac_status=$?
22377 grep -v '^ *+' conftest.er1 >conftest.err
22378 rm -f conftest.er1
22379 cat conftest.err >&5
22380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22381 (exit $ac_status); } &&
22382 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22383 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22384 (eval $ac_try) 2>&5
22385 ac_status=$?
22386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22387 (exit $ac_status); }; } &&
22388 { ac_try='test -s conftest$ac_exeext'
22389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22390 (eval $ac_try) 2>&5
22391 ac_status=$?
22392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22393 (exit $ac_status); }; }; then
22394 wx_cv_func_va_copy=yes
22395 else
22396 echo "$as_me: failed program was:" >&5
22397 sed 's/^/| /' conftest.$ac_ext >&5
22398
22399 wx_cv_func_va_copy=no
22400
22401 fi
22402 rm -f conftest.err conftest.$ac_objext \
22403 conftest$ac_exeext conftest.$ac_ext
22404
22405
22406 fi
22407 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22408 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22409
22410 if test $wx_cv_func_va_copy = "yes"; then
22411 cat >>confdefs.h <<\_ACEOF
22412 #define HAVE_VA_COPY 1
22413 _ACEOF
22414
22415 else
22416 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22417 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22418 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22419 echo $ECHO_N "(cached) $ECHO_C" >&6
22420 else
22421
22422 if test "$cross_compiling" = yes; then
22423 wx_cv_type_va_list_lvalue=yes
22424
22425 else
22426 cat >conftest.$ac_ext <<_ACEOF
22427
22428 #include <stdarg.h>
22429 int foo(char *f, ...)
22430 {
22431 va_list ap1, ap2;
22432 va_start(ap1, f);
22433 ap2 = ap1;
22434 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22435 return 1;
22436 va_end(ap2);
22437 va_end(ap1);
22438 return 0;
22439 }
22440 int main()
22441 {
22442 return foo("hi", 17);
22443 }
22444 _ACEOF
22445 rm -f conftest$ac_exeext
22446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22447 (eval $ac_link) 2>&5
22448 ac_status=$?
22449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22450 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22452 (eval $ac_try) 2>&5
22453 ac_status=$?
22454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22455 (exit $ac_status); }; }; then
22456 wx_cv_type_va_list_lvalue=yes
22457 else
22458 echo "$as_me: program exited with status $ac_status" >&5
22459 echo "$as_me: failed program was:" >&5
22460 sed 's/^/| /' conftest.$ac_ext >&5
22461
22462 ( exit $ac_status )
22463 wx_cv_type_va_list_lvalue=no
22464 fi
22465 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22466 fi
22467
22468
22469 fi
22470 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22471 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22472
22473 if test $wx_cv_type_va_list_lvalue != "yes"; then
22474 cat >>confdefs.h <<\_ACEOF
22475 #define VA_LIST_IS_ARRAY 1
22476 _ACEOF
22477
22478 fi
22479 fi
22480
22481 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22482 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
22483 if test "${wx_cv_have_variadic_macros+set}" = set; then
22484 echo $ECHO_N "(cached) $ECHO_C" >&6
22485 else
22486
22487 cat >conftest.$ac_ext <<_ACEOF
22488 /* confdefs.h. */
22489 _ACEOF
22490 cat confdefs.h >>conftest.$ac_ext
22491 cat >>conftest.$ac_ext <<_ACEOF
22492 /* end confdefs.h. */
22493
22494 #include <stdio.h>
22495 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22496
22497 int
22498 main ()
22499 {
22500
22501 test("%s %d %p", "test", 1, 0);
22502
22503
22504 ;
22505 return 0;
22506 }
22507 _ACEOF
22508 rm -f conftest.$ac_objext
22509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22510 (eval $ac_compile) 2>conftest.er1
22511 ac_status=$?
22512 grep -v '^ *+' conftest.er1 >conftest.err
22513 rm -f conftest.er1
22514 cat conftest.err >&5
22515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22516 (exit $ac_status); } &&
22517 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22519 (eval $ac_try) 2>&5
22520 ac_status=$?
22521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22522 (exit $ac_status); }; } &&
22523 { ac_try='test -s conftest.$ac_objext'
22524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22525 (eval $ac_try) 2>&5
22526 ac_status=$?
22527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22528 (exit $ac_status); }; }; then
22529 wx_cv_have_variadic_macros=yes
22530 else
22531 echo "$as_me: failed program was:" >&5
22532 sed 's/^/| /' conftest.$ac_ext >&5
22533
22534 wx_cv_have_variadic_macros=no
22535
22536 fi
22537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22538
22539
22540 fi
22541 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22542 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
22543
22544 if test $wx_cv_have_variadic_macros = "yes"; then
22545 cat >>confdefs.h <<\_ACEOF
22546 #define HAVE_VARIADIC_MACROS 1
22547 _ACEOF
22548
22549 fi
22550
22551 # Check whether --enable-largefile or --disable-largefile was given.
22552 if test "${enable_largefile+set}" = set; then
22553 enableval="$enable_largefile"
22554
22555 fi;
22556 if test "$enable_largefile" != no; then
22557 wx_largefile=no
22558
22559 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22560 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22561 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22562 echo $ECHO_N "(cached) $ECHO_C" >&6
22563 else
22564
22565 cat >conftest.$ac_ext <<_ACEOF
22566 /* confdefs.h. */
22567 _ACEOF
22568 cat confdefs.h >>conftest.$ac_ext
22569 cat >>conftest.$ac_ext <<_ACEOF
22570 /* end confdefs.h. */
22571 #define _FILE_OFFSET_BITS 64
22572 #include <sys/types.h>
22573 int
22574 main ()
22575 {
22576 typedef struct {
22577 unsigned int field: sizeof(off_t) == 8;
22578 } wxlf;
22579
22580 ;
22581 return 0;
22582 }
22583 _ACEOF
22584 rm -f conftest.$ac_objext
22585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22586 (eval $ac_compile) 2>conftest.er1
22587 ac_status=$?
22588 grep -v '^ *+' conftest.er1 >conftest.err
22589 rm -f conftest.er1
22590 cat conftest.err >&5
22591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22592 (exit $ac_status); } &&
22593 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22595 (eval $ac_try) 2>&5
22596 ac_status=$?
22597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22598 (exit $ac_status); }; } &&
22599 { ac_try='test -s conftest.$ac_objext'
22600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22601 (eval $ac_try) 2>&5
22602 ac_status=$?
22603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22604 (exit $ac_status); }; }; then
22605 ac_cv_sys_file_offset_bits=64
22606 else
22607 echo "$as_me: failed program was:" >&5
22608 sed 's/^/| /' conftest.$ac_ext >&5
22609
22610 ac_cv_sys_file_offset_bits=no
22611 fi
22612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22613
22614
22615 fi
22616 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22617 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22618
22619 if test "$ac_cv_sys_file_offset_bits" != no; then
22620 wx_largefile=yes
22621 cat >>confdefs.h <<_ACEOF
22622 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22623 _ACEOF
22624
22625 fi
22626
22627 if test "x$wx_largefile" != "xyes"; then
22628
22629 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22630 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22631 if test "${ac_cv_sys_large_files+set}" = set; then
22632 echo $ECHO_N "(cached) $ECHO_C" >&6
22633 else
22634
22635 cat >conftest.$ac_ext <<_ACEOF
22636 /* confdefs.h. */
22637 _ACEOF
22638 cat confdefs.h >>conftest.$ac_ext
22639 cat >>conftest.$ac_ext <<_ACEOF
22640 /* end confdefs.h. */
22641 #define _LARGE_FILES 1
22642 #include <sys/types.h>
22643 int
22644 main ()
22645 {
22646 typedef struct {
22647 unsigned int field: sizeof(off_t) == 8;
22648 } wxlf;
22649
22650 ;
22651 return 0;
22652 }
22653 _ACEOF
22654 rm -f conftest.$ac_objext
22655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22656 (eval $ac_compile) 2>conftest.er1
22657 ac_status=$?
22658 grep -v '^ *+' conftest.er1 >conftest.err
22659 rm -f conftest.er1
22660 cat conftest.err >&5
22661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22662 (exit $ac_status); } &&
22663 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22665 (eval $ac_try) 2>&5
22666 ac_status=$?
22667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22668 (exit $ac_status); }; } &&
22669 { ac_try='test -s conftest.$ac_objext'
22670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22671 (eval $ac_try) 2>&5
22672 ac_status=$?
22673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22674 (exit $ac_status); }; }; then
22675 ac_cv_sys_large_files=1
22676 else
22677 echo "$as_me: failed program was:" >&5
22678 sed 's/^/| /' conftest.$ac_ext >&5
22679
22680 ac_cv_sys_large_files=no
22681 fi
22682 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22683
22684
22685 fi
22686 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22687 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22688
22689 if test "$ac_cv_sys_large_files" != no; then
22690 wx_largefile=yes
22691 cat >>confdefs.h <<_ACEOF
22692 #define _LARGE_FILES $ac_cv_sys_large_files
22693 _ACEOF
22694
22695 fi
22696
22697 fi
22698
22699 echo "$as_me:$LINENO: checking if large file support is available" >&5
22700 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22701 if test "x$wx_largefile" = "xyes"; then
22702 cat >>confdefs.h <<\_ACEOF
22703 #define HAVE_LARGEFILE_SUPPORT 1
22704 _ACEOF
22705
22706 fi
22707 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22708 echo "${ECHO_T}$wx_largefile" >&6
22709 fi
22710
22711
22712 if test "x$wx_largefile" = "xyes"; then
22713 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22714 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22715
22716 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22717 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22718 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22719 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22720 echo $ECHO_N "(cached) $ECHO_C" >&6
22721 else
22722
22723 cat >conftest.$ac_ext <<_ACEOF
22724 /* confdefs.h. */
22725 _ACEOF
22726 cat confdefs.h >>conftest.$ac_ext
22727 cat >>conftest.$ac_ext <<_ACEOF
22728 /* end confdefs.h. */
22729
22730 int
22731 main ()
22732 {
22733
22734 #ifndef __STDC_EXT__
22735 choke me
22736 #endif
22737
22738 ;
22739 return 0;
22740 }
22741 _ACEOF
22742 rm -f conftest.$ac_objext
22743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22744 (eval $ac_compile) 2>conftest.er1
22745 ac_status=$?
22746 grep -v '^ *+' conftest.er1 >conftest.err
22747 rm -f conftest.er1
22748 cat conftest.err >&5
22749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22750 (exit $ac_status); } &&
22751 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22753 (eval $ac_try) 2>&5
22754 ac_status=$?
22755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22756 (exit $ac_status); }; } &&
22757 { ac_try='test -s conftest.$ac_objext'
22758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22759 (eval $ac_try) 2>&5
22760 ac_status=$?
22761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22762 (exit $ac_status); }; }; then
22763 wx_cv_STDC_EXT_required=no
22764 else
22765 echo "$as_me: failed program was:" >&5
22766 sed 's/^/| /' conftest.$ac_ext >&5
22767
22768 wx_cv_STDC_EXT_required=yes
22769
22770 fi
22771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22772
22773
22774 fi
22775 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22776 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22777 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22778 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22779 fi
22780 fi
22781 else
22782 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22783 fi
22784 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22785 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22786 if test "${ac_cv_sys_largefile_source+set}" = set; then
22787 echo $ECHO_N "(cached) $ECHO_C" >&6
22788 else
22789 while :; do
22790 ac_cv_sys_largefile_source=no
22791 cat >conftest.$ac_ext <<_ACEOF
22792 /* confdefs.h. */
22793 _ACEOF
22794 cat confdefs.h >>conftest.$ac_ext
22795 cat >>conftest.$ac_ext <<_ACEOF
22796 /* end confdefs.h. */
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 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 cat >conftest.$ac_ext <<_ACEOF
22835 /* confdefs.h. */
22836 _ACEOF
22837 cat confdefs.h >>conftest.$ac_ext
22838 cat >>conftest.$ac_ext <<_ACEOF
22839 /* end confdefs.h. */
22840 #define _LARGEFILE_SOURCE 1
22841 #include <stdio.h>
22842 int
22843 main ()
22844 {
22845 return !fseeko;
22846 ;
22847 return 0;
22848 }
22849 _ACEOF
22850 rm -f conftest.$ac_objext
22851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22852 (eval $ac_compile) 2>conftest.er1
22853 ac_status=$?
22854 grep -v '^ *+' conftest.er1 >conftest.err
22855 rm -f conftest.er1
22856 cat conftest.err >&5
22857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22858 (exit $ac_status); } &&
22859 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22861 (eval $ac_try) 2>&5
22862 ac_status=$?
22863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22864 (exit $ac_status); }; } &&
22865 { ac_try='test -s conftest.$ac_objext'
22866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22867 (eval $ac_try) 2>&5
22868 ac_status=$?
22869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22870 (exit $ac_status); }; }; then
22871 ac_cv_sys_largefile_source=1; break
22872 else
22873 echo "$as_me: failed program was:" >&5
22874 sed 's/^/| /' conftest.$ac_ext >&5
22875
22876 fi
22877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22878 break
22879 done
22880 fi
22881 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22882 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22883 if test "$ac_cv_sys_largefile_source" != no; then
22884
22885 cat >>confdefs.h <<_ACEOF
22886 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22887 _ACEOF
22888
22889 fi
22890 rm -f conftest*
22891
22892 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22893 # in glibc 2.1.3, but that breaks too many other things.
22894 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22895 echo "$as_me:$LINENO: checking for fseeko" >&5
22896 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22897 if test "${ac_cv_func_fseeko+set}" = set; then
22898 echo $ECHO_N "(cached) $ECHO_C" >&6
22899 else
22900 cat >conftest.$ac_ext <<_ACEOF
22901 /* confdefs.h. */
22902 _ACEOF
22903 cat confdefs.h >>conftest.$ac_ext
22904 cat >>conftest.$ac_ext <<_ACEOF
22905 /* end confdefs.h. */
22906 #include <stdio.h>
22907 int
22908 main ()
22909 {
22910 return fseeko && fseeko (stdin, 0, 0);
22911 ;
22912 return 0;
22913 }
22914 _ACEOF
22915 rm -f conftest.$ac_objext conftest$ac_exeext
22916 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22917 (eval $ac_link) 2>conftest.er1
22918 ac_status=$?
22919 grep -v '^ *+' conftest.er1 >conftest.err
22920 rm -f conftest.er1
22921 cat conftest.err >&5
22922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22923 (exit $ac_status); } &&
22924 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22926 (eval $ac_try) 2>&5
22927 ac_status=$?
22928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22929 (exit $ac_status); }; } &&
22930 { ac_try='test -s conftest$ac_exeext'
22931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22932 (eval $ac_try) 2>&5
22933 ac_status=$?
22934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22935 (exit $ac_status); }; }; then
22936 ac_cv_func_fseeko=yes
22937 else
22938 echo "$as_me: failed program was:" >&5
22939 sed 's/^/| /' conftest.$ac_ext >&5
22940
22941 ac_cv_func_fseeko=no
22942 fi
22943 rm -f conftest.err conftest.$ac_objext \
22944 conftest$ac_exeext conftest.$ac_ext
22945 fi
22946 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22947 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22948 if test $ac_cv_func_fseeko = yes; then
22949
22950 cat >>confdefs.h <<\_ACEOF
22951 #define HAVE_FSEEKO 1
22952 _ACEOF
22953
22954 fi
22955
22956 if test "$ac_cv_sys_largefile_source" != no; then
22957 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22958 fi
22959 fi
22960
22961 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22962 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22963 if test "${ac_cv_c_bigendian+set}" = set; then
22964 echo $ECHO_N "(cached) $ECHO_C" >&6
22965 else
22966 ac_cv_c_bigendian=unknown
22967 # See if sys/param.h defines the BYTE_ORDER macro.
22968 cat >conftest.$ac_ext <<_ACEOF
22969 /* confdefs.h. */
22970 _ACEOF
22971 cat confdefs.h >>conftest.$ac_ext
22972 cat >>conftest.$ac_ext <<_ACEOF
22973 /* end confdefs.h. */
22974 #include <sys/types.h>
22975 #include <sys/param.h>
22976 int
22977 main ()
22978 {
22979
22980 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22981 bogus endian macros
22982 #endif
22983 ;
22984 return 0;
22985 }
22986 _ACEOF
22987 rm -f conftest.$ac_objext
22988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22989 (eval $ac_compile) 2>conftest.er1
22990 ac_status=$?
22991 grep -v '^ *+' conftest.er1 >conftest.err
22992 rm -f conftest.er1
22993 cat conftest.err >&5
22994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22995 (exit $ac_status); } &&
22996 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22998 (eval $ac_try) 2>&5
22999 ac_status=$?
23000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23001 (exit $ac_status); }; } &&
23002 { ac_try='test -s conftest.$ac_objext'
23003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23004 (eval $ac_try) 2>&5
23005 ac_status=$?
23006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23007 (exit $ac_status); }; }; then
23008 # It does; now see whether it defined to BIG_ENDIAN or not.
23009 cat >conftest.$ac_ext <<_ACEOF
23010 /* confdefs.h. */
23011 _ACEOF
23012 cat confdefs.h >>conftest.$ac_ext
23013 cat >>conftest.$ac_ext <<_ACEOF
23014 /* end confdefs.h. */
23015 #include <sys/types.h>
23016 #include <sys/param.h>
23017 int
23018 main ()
23019 {
23020
23021 #if BYTE_ORDER != BIG_ENDIAN
23022 not big endian
23023 #endif
23024 ;
23025 return 0;
23026 }
23027 _ACEOF
23028 rm -f conftest.$ac_objext
23029 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23030 (eval $ac_compile) 2>conftest.er1
23031 ac_status=$?
23032 grep -v '^ *+' conftest.er1 >conftest.err
23033 rm -f conftest.er1
23034 cat conftest.err >&5
23035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23036 (exit $ac_status); } &&
23037 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23039 (eval $ac_try) 2>&5
23040 ac_status=$?
23041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23042 (exit $ac_status); }; } &&
23043 { ac_try='test -s conftest.$ac_objext'
23044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23045 (eval $ac_try) 2>&5
23046 ac_status=$?
23047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23048 (exit $ac_status); }; }; then
23049 ac_cv_c_bigendian=yes
23050 else
23051 echo "$as_me: failed program was:" >&5
23052 sed 's/^/| /' conftest.$ac_ext >&5
23053
23054 ac_cv_c_bigendian=no
23055 fi
23056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23057 else
23058 echo "$as_me: failed program was:" >&5
23059 sed 's/^/| /' conftest.$ac_ext >&5
23060
23061 fi
23062 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23063 if test $ac_cv_c_bigendian = unknown; then
23064 if test "$cross_compiling" = yes; then
23065 ac_cv_c_bigendian=unknown
23066 else
23067 cat >conftest.$ac_ext <<_ACEOF
23068 /* confdefs.h. */
23069 _ACEOF
23070 cat confdefs.h >>conftest.$ac_ext
23071 cat >>conftest.$ac_ext <<_ACEOF
23072 /* end confdefs.h. */
23073 main () {
23074 /* Are we little or big endian? From Harbison&Steele. */
23075 union
23076 {
23077 long l;
23078 char c[sizeof (long)];
23079 } u;
23080 u.l = 1;
23081 exit (u.c[sizeof (long) - 1] == 1);
23082 }
23083 _ACEOF
23084 rm -f conftest$ac_exeext
23085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23086 (eval $ac_link) 2>&5
23087 ac_status=$?
23088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23089 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23091 (eval $ac_try) 2>&5
23092 ac_status=$?
23093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23094 (exit $ac_status); }; }; then
23095 ac_cv_c_bigendian=no
23096 else
23097 echo "$as_me: program exited with status $ac_status" >&5
23098 echo "$as_me: failed program was:" >&5
23099 sed 's/^/| /' conftest.$ac_ext >&5
23100
23101 ( exit $ac_status )
23102 ac_cv_c_bigendian=yes
23103 fi
23104 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23105 fi
23106 fi
23107 fi
23108 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23109 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
23110 if test $ac_cv_c_bigendian = unknown; then
23111 { 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
23112 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;}
23113 fi
23114 if test $ac_cv_c_bigendian = yes; then
23115 cat >>confdefs.h <<\_ACEOF
23116 #define WORDS_BIGENDIAN 1
23117 _ACEOF
23118
23119 fi
23120
23121
23122
23123
23124
23125 ac_ext=cc
23126 ac_cpp='$CXXCPP $CPPFLAGS'
23127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23130
23131
23132
23133 for ac_header in iostream
23134 do
23135 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23136 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23137 echo "$as_me:$LINENO: checking for $ac_header" >&5
23138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23139 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23140 echo $ECHO_N "(cached) $ECHO_C" >&6
23141 fi
23142 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23143 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23144 else
23145 # Is the header compilable?
23146 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23147 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
23155 #include <$ac_header>
23156 _ACEOF
23157 rm -f conftest.$ac_objext
23158 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23159 (eval $ac_compile) 2>conftest.er1
23160 ac_status=$?
23161 grep -v '^ *+' conftest.er1 >conftest.err
23162 rm -f conftest.er1
23163 cat conftest.err >&5
23164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23165 (exit $ac_status); } &&
23166 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23168 (eval $ac_try) 2>&5
23169 ac_status=$?
23170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23171 (exit $ac_status); }; } &&
23172 { ac_try='test -s conftest.$ac_objext'
23173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23174 (eval $ac_try) 2>&5
23175 ac_status=$?
23176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23177 (exit $ac_status); }; }; then
23178 ac_header_compiler=yes
23179 else
23180 echo "$as_me: failed program was:" >&5
23181 sed 's/^/| /' conftest.$ac_ext >&5
23182
23183 ac_header_compiler=no
23184 fi
23185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23186 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23187 echo "${ECHO_T}$ac_header_compiler" >&6
23188
23189 # Is the header present?
23190 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23191 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23192 cat >conftest.$ac_ext <<_ACEOF
23193 /* confdefs.h. */
23194 _ACEOF
23195 cat confdefs.h >>conftest.$ac_ext
23196 cat >>conftest.$ac_ext <<_ACEOF
23197 /* end confdefs.h. */
23198 #include <$ac_header>
23199 _ACEOF
23200 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23201 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23202 ac_status=$?
23203 grep -v '^ *+' conftest.er1 >conftest.err
23204 rm -f conftest.er1
23205 cat conftest.err >&5
23206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23207 (exit $ac_status); } >/dev/null; then
23208 if test -s conftest.err; then
23209 ac_cpp_err=$ac_cxx_preproc_warn_flag
23210 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23211 else
23212 ac_cpp_err=
23213 fi
23214 else
23215 ac_cpp_err=yes
23216 fi
23217 if test -z "$ac_cpp_err"; then
23218 ac_header_preproc=yes
23219 else
23220 echo "$as_me: failed program was:" >&5
23221 sed 's/^/| /' conftest.$ac_ext >&5
23222
23223 ac_header_preproc=no
23224 fi
23225 rm -f conftest.err conftest.$ac_ext
23226 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23227 echo "${ECHO_T}$ac_header_preproc" >&6
23228
23229 # So? What about this header?
23230 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23231 yes:no: )
23232 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23233 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23234 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23235 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23236 ac_header_preproc=yes
23237 ;;
23238 no:yes:* )
23239 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23240 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23241 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23242 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23243 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23244 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23245 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23246 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23247 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23248 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23249 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23250 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23251 (
23252 cat <<\_ASBOX
23253 ## ----------------------------------------- ##
23254 ## Report this to wx-dev@lists.wxwidgets.org ##
23255 ## ----------------------------------------- ##
23256 _ASBOX
23257 ) |
23258 sed "s/^/$as_me: WARNING: /" >&2
23259 ;;
23260 esac
23261 echo "$as_me:$LINENO: checking for $ac_header" >&5
23262 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23263 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23264 echo $ECHO_N "(cached) $ECHO_C" >&6
23265 else
23266 eval "$as_ac_Header=\$ac_header_preproc"
23267 fi
23268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23269 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23270
23271 fi
23272 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23273 cat >>confdefs.h <<_ACEOF
23274 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23275 _ACEOF
23276
23277 fi
23278
23279 done
23280
23281
23282 if test "$ac_cv_header_iostream" = "yes" ; then
23283 :
23284 else
23285 cat >>confdefs.h <<\_ACEOF
23286 #define wxUSE_IOSTREAMH 1
23287 _ACEOF
23288
23289 fi
23290
23291 ac_ext=cc
23292 ac_cpp='$CXXCPP $CPPFLAGS'
23293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23296
23297
23298
23299
23300 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23301 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
23302 if test "${wx_cv_cpp_bool+set}" = set; then
23303 echo $ECHO_N "(cached) $ECHO_C" >&6
23304 else
23305
23306
23307
23308 ac_ext=cc
23309 ac_cpp='$CXXCPP $CPPFLAGS'
23310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23313
23314
23315 cat >conftest.$ac_ext <<_ACEOF
23316 /* confdefs.h. */
23317 _ACEOF
23318 cat confdefs.h >>conftest.$ac_ext
23319 cat >>conftest.$ac_ext <<_ACEOF
23320 /* end confdefs.h. */
23321
23322
23323 int
23324 main ()
23325 {
23326
23327 bool b = true;
23328
23329 return 0;
23330
23331 ;
23332 return 0;
23333 }
23334 _ACEOF
23335 rm -f conftest.$ac_objext
23336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23337 (eval $ac_compile) 2>conftest.er1
23338 ac_status=$?
23339 grep -v '^ *+' conftest.er1 >conftest.err
23340 rm -f conftest.er1
23341 cat conftest.err >&5
23342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23343 (exit $ac_status); } &&
23344 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23346 (eval $ac_try) 2>&5
23347 ac_status=$?
23348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23349 (exit $ac_status); }; } &&
23350 { ac_try='test -s conftest.$ac_objext'
23351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23352 (eval $ac_try) 2>&5
23353 ac_status=$?
23354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23355 (exit $ac_status); }; }; then
23356
23357 wx_cv_cpp_bool=yes
23358
23359 else
23360 echo "$as_me: failed program was:" >&5
23361 sed 's/^/| /' conftest.$ac_ext >&5
23362
23363
23364 wx_cv_cpp_bool=no
23365
23366
23367 fi
23368 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23369
23370 ac_ext=cc
23371 ac_cpp='$CXXCPP $CPPFLAGS'
23372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23375
23376
23377 fi
23378 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23379 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
23380
23381 if test "$wx_cv_cpp_bool" = "yes"; then
23382 cat >>confdefs.h <<\_ACEOF
23383 #define HAVE_BOOL 1
23384 _ACEOF
23385
23386 fi
23387
23388
23389
23390 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23391 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
23392 if test "${wx_cv_explicit+set}" = set; then
23393 echo $ECHO_N "(cached) $ECHO_C" >&6
23394 else
23395
23396
23397
23398 ac_ext=cc
23399 ac_cpp='$CXXCPP $CPPFLAGS'
23400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23403
23404
23405 cat >conftest.$ac_ext <<_ACEOF
23406 /* confdefs.h. */
23407 _ACEOF
23408 cat confdefs.h >>conftest.$ac_ext
23409 cat >>conftest.$ac_ext <<_ACEOF
23410 /* end confdefs.h. */
23411
23412 class Foo { public: explicit Foo(int) {} };
23413
23414 int
23415 main ()
23416 {
23417
23418 return 0;
23419
23420 ;
23421 return 0;
23422 }
23423 _ACEOF
23424 rm -f conftest.$ac_objext
23425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23426 (eval $ac_compile) 2>conftest.er1
23427 ac_status=$?
23428 grep -v '^ *+' conftest.er1 >conftest.err
23429 rm -f conftest.er1
23430 cat conftest.err >&5
23431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23432 (exit $ac_status); } &&
23433 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23435 (eval $ac_try) 2>&5
23436 ac_status=$?
23437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23438 (exit $ac_status); }; } &&
23439 { ac_try='test -s conftest.$ac_objext'
23440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23441 (eval $ac_try) 2>&5
23442 ac_status=$?
23443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23444 (exit $ac_status); }; }; then
23445
23446 cat >conftest.$ac_ext <<_ACEOF
23447 /* confdefs.h. */
23448 _ACEOF
23449 cat confdefs.h >>conftest.$ac_ext
23450 cat >>conftest.$ac_ext <<_ACEOF
23451 /* end confdefs.h. */
23452
23453 class Foo { public: explicit Foo(int) {} };
23454 static void TakeFoo(const Foo& foo) { }
23455
23456 int
23457 main ()
23458 {
23459
23460 TakeFoo(17);
23461 return 0;
23462
23463 ;
23464 return 0;
23465 }
23466 _ACEOF
23467 rm -f conftest.$ac_objext
23468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23469 (eval $ac_compile) 2>conftest.er1
23470 ac_status=$?
23471 grep -v '^ *+' conftest.er1 >conftest.err
23472 rm -f conftest.er1
23473 cat conftest.err >&5
23474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23475 (exit $ac_status); } &&
23476 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23478 (eval $ac_try) 2>&5
23479 ac_status=$?
23480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23481 (exit $ac_status); }; } &&
23482 { ac_try='test -s conftest.$ac_objext'
23483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23484 (eval $ac_try) 2>&5
23485 ac_status=$?
23486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23487 (exit $ac_status); }; }; then
23488 wx_cv_explicit=no
23489 else
23490 echo "$as_me: failed program was:" >&5
23491 sed 's/^/| /' conftest.$ac_ext >&5
23492
23493 wx_cv_explicit=yes
23494
23495 fi
23496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23497
23498 else
23499 echo "$as_me: failed program was:" >&5
23500 sed 's/^/| /' conftest.$ac_ext >&5
23501
23502 wx_cv_explicit=no
23503
23504 fi
23505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23506
23507 ac_ext=cc
23508 ac_cpp='$CXXCPP $CPPFLAGS'
23509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23512
23513
23514 fi
23515 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23516 echo "${ECHO_T}$wx_cv_explicit" >&6
23517
23518 if test "$wx_cv_explicit" = "yes"; then
23519 cat >>confdefs.h <<\_ACEOF
23520 #define HAVE_EXPLICIT 1
23521 _ACEOF
23522
23523 fi
23524
23525
23526 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23527 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23528 if test "${ac_cv_cxx_const_cast+set}" = set; then
23529 echo $ECHO_N "(cached) $ECHO_C" >&6
23530 else
23531
23532
23533 ac_ext=cc
23534 ac_cpp='$CXXCPP $CPPFLAGS'
23535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23538
23539 cat >conftest.$ac_ext <<_ACEOF
23540 /* confdefs.h. */
23541 _ACEOF
23542 cat confdefs.h >>conftest.$ac_ext
23543 cat >>conftest.$ac_ext <<_ACEOF
23544 /* end confdefs.h. */
23545
23546 int
23547 main ()
23548 {
23549 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23550 ;
23551 return 0;
23552 }
23553 _ACEOF
23554 rm -f conftest.$ac_objext
23555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23556 (eval $ac_compile) 2>conftest.er1
23557 ac_status=$?
23558 grep -v '^ *+' conftest.er1 >conftest.err
23559 rm -f conftest.er1
23560 cat conftest.err >&5
23561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23562 (exit $ac_status); } &&
23563 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23565 (eval $ac_try) 2>&5
23566 ac_status=$?
23567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23568 (exit $ac_status); }; } &&
23569 { ac_try='test -s conftest.$ac_objext'
23570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23571 (eval $ac_try) 2>&5
23572 ac_status=$?
23573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23574 (exit $ac_status); }; }; then
23575 ac_cv_cxx_const_cast=yes
23576 else
23577 echo "$as_me: failed program was:" >&5
23578 sed 's/^/| /' conftest.$ac_ext >&5
23579
23580 ac_cv_cxx_const_cast=no
23581 fi
23582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23583 ac_ext=cc
23584 ac_cpp='$CXXCPP $CPPFLAGS'
23585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23588
23589
23590 fi
23591 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23592 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23593 if test "$ac_cv_cxx_const_cast" = yes; then
23594
23595 cat >>confdefs.h <<\_ACEOF
23596 #define HAVE_CONST_CAST
23597 _ACEOF
23598
23599 fi
23600
23601 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23602 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23603 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23604 echo $ECHO_N "(cached) $ECHO_C" >&6
23605 else
23606
23607
23608 ac_ext=cc
23609 ac_cpp='$CXXCPP $CPPFLAGS'
23610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23613
23614 cat >conftest.$ac_ext <<_ACEOF
23615 /* confdefs.h. */
23616 _ACEOF
23617 cat confdefs.h >>conftest.$ac_ext
23618 cat >>conftest.$ac_ext <<_ACEOF
23619 /* end confdefs.h. */
23620 #include <typeinfo>
23621 class Base { public : Base () {} virtual void f () = 0;};
23622 class Derived : public Base { public : Derived () {} virtual void f () {} };
23623 class Unrelated { public : Unrelated () {} };
23624 int g (Unrelated&) { return 0; }
23625 int
23626 main ()
23627 {
23628
23629 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23630 ;
23631 return 0;
23632 }
23633 _ACEOF
23634 rm -f conftest.$ac_objext
23635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23636 (eval $ac_compile) 2>conftest.er1
23637 ac_status=$?
23638 grep -v '^ *+' conftest.er1 >conftest.err
23639 rm -f conftest.er1
23640 cat conftest.err >&5
23641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23642 (exit $ac_status); } &&
23643 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23645 (eval $ac_try) 2>&5
23646 ac_status=$?
23647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23648 (exit $ac_status); }; } &&
23649 { ac_try='test -s conftest.$ac_objext'
23650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23651 (eval $ac_try) 2>&5
23652 ac_status=$?
23653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23654 (exit $ac_status); }; }; then
23655 ac_cv_cxx_reinterpret_cast=yes
23656 else
23657 echo "$as_me: failed program was:" >&5
23658 sed 's/^/| /' conftest.$ac_ext >&5
23659
23660 ac_cv_cxx_reinterpret_cast=no
23661 fi
23662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23663 ac_ext=cc
23664 ac_cpp='$CXXCPP $CPPFLAGS'
23665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23668
23669
23670 fi
23671 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23672 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23673 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23674
23675 cat >>confdefs.h <<\_ACEOF
23676 #define HAVE_REINTERPRET_CAST
23677 _ACEOF
23678
23679 fi
23680
23681 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23682 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23683 if test "${ac_cv_cxx_static_cast+set}" = set; then
23684 echo $ECHO_N "(cached) $ECHO_C" >&6
23685 else
23686
23687
23688 ac_ext=cc
23689 ac_cpp='$CXXCPP $CPPFLAGS'
23690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23693
23694 cat >conftest.$ac_ext <<_ACEOF
23695 /* confdefs.h. */
23696 _ACEOF
23697 cat confdefs.h >>conftest.$ac_ext
23698 cat >>conftest.$ac_ext <<_ACEOF
23699 /* end confdefs.h. */
23700 #include <typeinfo>
23701 class Base { public : Base () {} virtual void f () = 0; };
23702 class Derived : public Base { public : Derived () {} virtual void f () {} };
23703 int g (Derived&) { return 0; }
23704 int
23705 main ()
23706 {
23707
23708 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23709 ;
23710 return 0;
23711 }
23712 _ACEOF
23713 rm -f conftest.$ac_objext
23714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23715 (eval $ac_compile) 2>conftest.er1
23716 ac_status=$?
23717 grep -v '^ *+' conftest.er1 >conftest.err
23718 rm -f conftest.er1
23719 cat conftest.err >&5
23720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23721 (exit $ac_status); } &&
23722 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23724 (eval $ac_try) 2>&5
23725 ac_status=$?
23726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23727 (exit $ac_status); }; } &&
23728 { ac_try='test -s conftest.$ac_objext'
23729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23730 (eval $ac_try) 2>&5
23731 ac_status=$?
23732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23733 (exit $ac_status); }; }; then
23734 ac_cv_cxx_static_cast=yes
23735 else
23736 echo "$as_me: failed program was:" >&5
23737 sed 's/^/| /' conftest.$ac_ext >&5
23738
23739 ac_cv_cxx_static_cast=no
23740 fi
23741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23742 ac_ext=cc
23743 ac_cpp='$CXXCPP $CPPFLAGS'
23744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23747
23748
23749 fi
23750 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23751 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23752 if test "$ac_cv_cxx_static_cast" = yes; then
23753
23754 cat >>confdefs.h <<\_ACEOF
23755 #define HAVE_STATIC_CAST
23756 _ACEOF
23757
23758 fi
23759
23760
23761 if test "x$SUNCXX" = xyes; then
23762 CXXFLAGS="-features=tmplife $CXXFLAGS"
23763 fi
23764
23765 if test "x$SUNCC" = xyes; then
23766 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23767 fi
23768
23769 if test "x$SGICC" = "xyes"; then
23770 CFLAGS="-woff 3970 $CFLAGS"
23771 fi
23772 if test "x$SGICXX" = "xyes"; then
23773 CXXFLAGS="-woff 3970 $CXXFLAGS"
23774 fi
23775
23776 if test "x$HPCC" = "xyes"; then
23777 CFLAGS="+W 2011,2450 $CFLAGS"
23778 fi
23779 if test "x$HPCXX" = "xyes"; then
23780 CXXFLAGS="+W 2340 $CXXFLAGS"
23781 fi
23782
23783 if test "x$COMPAQCXX" = "xyes"; then
23784 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23785 fi
23786
23787 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23788 if test "$wxUSE_UNICODE" = "yes"; then
23789 std_string="std::wstring"
23790 char_type="wchar_t"
23791 else
23792 std_string="std::string"
23793 char_type="char"
23794 fi
23795
23796 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23797 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23798 cat >conftest.$ac_ext <<_ACEOF
23799 /* confdefs.h. */
23800 _ACEOF
23801 cat confdefs.h >>conftest.$ac_ext
23802 cat >>conftest.$ac_ext <<_ACEOF
23803 /* end confdefs.h. */
23804 #include <string>
23805 int
23806 main ()
23807 {
23808 $std_string foo;
23809 ;
23810 return 0;
23811 }
23812 _ACEOF
23813 rm -f conftest.$ac_objext
23814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23815 (eval $ac_compile) 2>conftest.er1
23816 ac_status=$?
23817 grep -v '^ *+' conftest.er1 >conftest.err
23818 rm -f conftest.er1
23819 cat conftest.err >&5
23820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23821 (exit $ac_status); } &&
23822 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23824 (eval $ac_try) 2>&5
23825 ac_status=$?
23826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23827 (exit $ac_status); }; } &&
23828 { ac_try='test -s conftest.$ac_objext'
23829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23830 (eval $ac_try) 2>&5
23831 ac_status=$?
23832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23833 (exit $ac_status); }; }; then
23834 echo "$as_me:$LINENO: result: yes" >&5
23835 echo "${ECHO_T}yes" >&6
23836 cat >>confdefs.h <<\_ACEOF
23837 #define HAVE_STD_WSTRING 1
23838 _ACEOF
23839
23840 else
23841 echo "$as_me: failed program was:" >&5
23842 sed 's/^/| /' conftest.$ac_ext >&5
23843
23844 echo "$as_me:$LINENO: result: no" >&5
23845 echo "${ECHO_T}no" >&6
23846 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23847 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23848 cat >conftest.$ac_ext <<_ACEOF
23849 /* confdefs.h. */
23850 _ACEOF
23851 cat confdefs.h >>conftest.$ac_ext
23852 cat >>conftest.$ac_ext <<_ACEOF
23853 /* end confdefs.h. */
23854
23855 #ifdef HAVE_WCHAR_H
23856 # ifdef __CYGWIN__
23857 # include <stddef.h>
23858 # endif
23859 # include <wchar.h>
23860 #endif
23861 #ifdef HAVE_STDLIB_H
23862 # include <stdlib.h>
23863 #endif
23864 #include <stdio.h>
23865 #include <string>
23866
23867 int
23868 main ()
23869 {
23870 std::basic_string<$char_type> foo;
23871 const $char_type* dummy = foo.c_str();
23872 ;
23873 return 0;
23874 }
23875 _ACEOF
23876 rm -f conftest.$ac_objext
23877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23878 (eval $ac_compile) 2>conftest.er1
23879 ac_status=$?
23880 grep -v '^ *+' conftest.er1 >conftest.err
23881 rm -f conftest.er1
23882 cat conftest.err >&5
23883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23884 (exit $ac_status); } &&
23885 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23887 (eval $ac_try) 2>&5
23888 ac_status=$?
23889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23890 (exit $ac_status); }; } &&
23891 { ac_try='test -s conftest.$ac_objext'
23892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23893 (eval $ac_try) 2>&5
23894 ac_status=$?
23895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23896 (exit $ac_status); }; }; then
23897 echo "$as_me:$LINENO: result: yes" >&5
23898 echo "${ECHO_T}yes" >&6
23899 else
23900 echo "$as_me: failed program was:" >&5
23901 sed 's/^/| /' conftest.$ac_ext >&5
23902
23903 echo "$as_me:$LINENO: result: no" >&5
23904 echo "${ECHO_T}no" >&6
23905 if test "$wxUSE_STL" = "yes"; then
23906 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23907 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23908 { (exit 1); exit 1; }; }
23909 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23910 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23911 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23912 { (exit 1); exit 1; }; }
23913 else
23914 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23915 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23916 wxUSE_STD_STRING=no
23917 fi
23918
23919
23920 fi
23921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23922
23923 fi
23924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23925 fi
23926
23927 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23928 echo "$as_me:$LINENO: checking for std::istream" >&5
23929 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23930 if test "${ac_cv_type_std__istream+set}" = set; then
23931 echo $ECHO_N "(cached) $ECHO_C" >&6
23932 else
23933 cat >conftest.$ac_ext <<_ACEOF
23934 /* confdefs.h. */
23935 _ACEOF
23936 cat confdefs.h >>conftest.$ac_ext
23937 cat >>conftest.$ac_ext <<_ACEOF
23938 /* end confdefs.h. */
23939 #include <iostream>
23940
23941 int
23942 main ()
23943 {
23944 if ((std::istream *) 0)
23945 return 0;
23946 if (sizeof (std::istream))
23947 return 0;
23948 ;
23949 return 0;
23950 }
23951 _ACEOF
23952 rm -f conftest.$ac_objext
23953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23954 (eval $ac_compile) 2>conftest.er1
23955 ac_status=$?
23956 grep -v '^ *+' conftest.er1 >conftest.err
23957 rm -f conftest.er1
23958 cat conftest.err >&5
23959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23960 (exit $ac_status); } &&
23961 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23963 (eval $ac_try) 2>&5
23964 ac_status=$?
23965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23966 (exit $ac_status); }; } &&
23967 { ac_try='test -s conftest.$ac_objext'
23968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23969 (eval $ac_try) 2>&5
23970 ac_status=$?
23971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23972 (exit $ac_status); }; }; then
23973 ac_cv_type_std__istream=yes
23974 else
23975 echo "$as_me: failed program was:" >&5
23976 sed 's/^/| /' conftest.$ac_ext >&5
23977
23978 ac_cv_type_std__istream=no
23979 fi
23980 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23981 fi
23982 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23983 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23984 if test $ac_cv_type_std__istream = yes; then
23985
23986 cat >>confdefs.h <<_ACEOF
23987 #define HAVE_STD__ISTREAM 1
23988 _ACEOF
23989
23990
23991 else
23992 wxUSE_STD_IOSTREAM=no
23993 fi
23994 echo "$as_me:$LINENO: checking for std::ostream" >&5
23995 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23996 if test "${ac_cv_type_std__ostream+set}" = set; then
23997 echo $ECHO_N "(cached) $ECHO_C" >&6
23998 else
23999 cat >conftest.$ac_ext <<_ACEOF
24000 /* confdefs.h. */
24001 _ACEOF
24002 cat confdefs.h >>conftest.$ac_ext
24003 cat >>conftest.$ac_ext <<_ACEOF
24004 /* end confdefs.h. */
24005 #include <iostream>
24006
24007 int
24008 main ()
24009 {
24010 if ((std::ostream *) 0)
24011 return 0;
24012 if (sizeof (std::ostream))
24013 return 0;
24014 ;
24015 return 0;
24016 }
24017 _ACEOF
24018 rm -f conftest.$ac_objext
24019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24020 (eval $ac_compile) 2>conftest.er1
24021 ac_status=$?
24022 grep -v '^ *+' conftest.er1 >conftest.err
24023 rm -f conftest.er1
24024 cat conftest.err >&5
24025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24026 (exit $ac_status); } &&
24027 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24029 (eval $ac_try) 2>&5
24030 ac_status=$?
24031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24032 (exit $ac_status); }; } &&
24033 { ac_try='test -s conftest.$ac_objext'
24034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24035 (eval $ac_try) 2>&5
24036 ac_status=$?
24037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24038 (exit $ac_status); }; }; then
24039 ac_cv_type_std__ostream=yes
24040 else
24041 echo "$as_me: failed program was:" >&5
24042 sed 's/^/| /' conftest.$ac_ext >&5
24043
24044 ac_cv_type_std__ostream=no
24045 fi
24046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24047 fi
24048 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24049 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
24050 if test $ac_cv_type_std__ostream = yes; then
24051
24052 cat >>confdefs.h <<_ACEOF
24053 #define HAVE_STD__OSTREAM 1
24054 _ACEOF
24055
24056
24057 else
24058 wxUSE_STD_IOSTREAM=no
24059 fi
24060
24061
24062 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24063 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
24064 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24065 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24066 { (exit 1); exit 1; }; }
24067 else
24068 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24069 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24070 fi
24071 fi
24072 fi
24073
24074 if test "$wxUSE_STL" = "yes"; then
24075 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24076 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
24077 cat >conftest.$ac_ext <<_ACEOF
24078 /* confdefs.h. */
24079 _ACEOF
24080 cat confdefs.h >>conftest.$ac_ext
24081 cat >>conftest.$ac_ext <<_ACEOF
24082 /* end confdefs.h. */
24083 #include <string>
24084 #include <functional>
24085 #include <algorithm>
24086 #include <vector>
24087 #include <list>
24088 int
24089 main ()
24090 {
24091 std::vector<int> moo;
24092 std::list<int> foo;
24093 std::vector<int>::iterator it =
24094 std::find_if(moo.begin(), moo.end(),
24095 std::bind2nd(std::less<int>(), 3));
24096 ;
24097 return 0;
24098 }
24099 _ACEOF
24100 rm -f conftest.$ac_objext
24101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24102 (eval $ac_compile) 2>conftest.er1
24103 ac_status=$?
24104 grep -v '^ *+' conftest.er1 >conftest.err
24105 rm -f conftest.er1
24106 cat conftest.err >&5
24107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24108 (exit $ac_status); } &&
24109 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24111 (eval $ac_try) 2>&5
24112 ac_status=$?
24113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24114 (exit $ac_status); }; } &&
24115 { ac_try='test -s conftest.$ac_objext'
24116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24117 (eval $ac_try) 2>&5
24118 ac_status=$?
24119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24120 (exit $ac_status); }; }; then
24121 echo "$as_me:$LINENO: result: yes" >&5
24122 echo "${ECHO_T}yes" >&6
24123 else
24124 echo "$as_me: failed program was:" >&5
24125 sed 's/^/| /' conftest.$ac_ext >&5
24126
24127 echo "$as_me:$LINENO: result: no" >&5
24128 echo "${ECHO_T}no" >&6
24129 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
24130 echo "$as_me: error: Basic STL functionality missing" >&2;}
24131 { (exit 1); exit 1; }; }
24132 fi
24133 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24134
24135 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24136 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
24137 cat >conftest.$ac_ext <<_ACEOF
24138 /* confdefs.h. */
24139 _ACEOF
24140 cat confdefs.h >>conftest.$ac_ext
24141 cat >>conftest.$ac_ext <<_ACEOF
24142 /* end confdefs.h. */
24143 #include <string>
24144 int
24145 main ()
24146 {
24147 std::string foo, bar;
24148 foo.compare(bar);
24149 foo.compare(1, 1, bar);
24150 foo.compare(1, 1, bar, 1, 1);
24151 foo.compare("");
24152 foo.compare(1, 1, "");
24153 foo.compare(1, 1, "", 2);
24154 ;
24155 return 0;
24156 }
24157 _ACEOF
24158 rm -f conftest.$ac_objext
24159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24160 (eval $ac_compile) 2>conftest.er1
24161 ac_status=$?
24162 grep -v '^ *+' conftest.er1 >conftest.err
24163 rm -f conftest.er1
24164 cat conftest.err >&5
24165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24166 (exit $ac_status); } &&
24167 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24169 (eval $ac_try) 2>&5
24170 ac_status=$?
24171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24172 (exit $ac_status); }; } &&
24173 { ac_try='test -s conftest.$ac_objext'
24174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24175 (eval $ac_try) 2>&5
24176 ac_status=$?
24177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24178 (exit $ac_status); }; }; then
24179 echo "$as_me:$LINENO: result: yes" >&5
24180 echo "${ECHO_T}yes" >&6
24181 cat >>confdefs.h <<\_ACEOF
24182 #define HAVE_STD_STRING_COMPARE 1
24183 _ACEOF
24184
24185 else
24186 echo "$as_me: failed program was:" >&5
24187 sed 's/^/| /' conftest.$ac_ext >&5
24188
24189 echo "$as_me:$LINENO: result: no" >&5
24190 echo "${ECHO_T}no" >&6
24191 fi
24192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24193
24194 if test "${ac_cv_header_hash_map+set}" = set; then
24195 echo "$as_me:$LINENO: checking for hash_map" >&5
24196 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24197 if test "${ac_cv_header_hash_map+set}" = set; then
24198 echo $ECHO_N "(cached) $ECHO_C" >&6
24199 fi
24200 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24201 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24202 else
24203 # Is the header compilable?
24204 echo "$as_me:$LINENO: checking hash_map usability" >&5
24205 echo $ECHO_N "checking hash_map usability... $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 $ac_includes_default
24213 #include <hash_map>
24214 _ACEOF
24215 rm -f conftest.$ac_objext
24216 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24217 (eval $ac_compile) 2>conftest.er1
24218 ac_status=$?
24219 grep -v '^ *+' conftest.er1 >conftest.err
24220 rm -f conftest.er1
24221 cat conftest.err >&5
24222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24223 (exit $ac_status); } &&
24224 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24226 (eval $ac_try) 2>&5
24227 ac_status=$?
24228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24229 (exit $ac_status); }; } &&
24230 { ac_try='test -s conftest.$ac_objext'
24231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24232 (eval $ac_try) 2>&5
24233 ac_status=$?
24234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24235 (exit $ac_status); }; }; then
24236 ac_header_compiler=yes
24237 else
24238 echo "$as_me: failed program was:" >&5
24239 sed 's/^/| /' conftest.$ac_ext >&5
24240
24241 ac_header_compiler=no
24242 fi
24243 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24244 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24245 echo "${ECHO_T}$ac_header_compiler" >&6
24246
24247 # Is the header present?
24248 echo "$as_me:$LINENO: checking hash_map presence" >&5
24249 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
24250 cat >conftest.$ac_ext <<_ACEOF
24251 /* confdefs.h. */
24252 _ACEOF
24253 cat confdefs.h >>conftest.$ac_ext
24254 cat >>conftest.$ac_ext <<_ACEOF
24255 /* end confdefs.h. */
24256 #include <hash_map>
24257 _ACEOF
24258 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24259 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24260 ac_status=$?
24261 grep -v '^ *+' conftest.er1 >conftest.err
24262 rm -f conftest.er1
24263 cat conftest.err >&5
24264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24265 (exit $ac_status); } >/dev/null; then
24266 if test -s conftest.err; then
24267 ac_cpp_err=$ac_cxx_preproc_warn_flag
24268 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24269 else
24270 ac_cpp_err=
24271 fi
24272 else
24273 ac_cpp_err=yes
24274 fi
24275 if test -z "$ac_cpp_err"; then
24276 ac_header_preproc=yes
24277 else
24278 echo "$as_me: failed program was:" >&5
24279 sed 's/^/| /' conftest.$ac_ext >&5
24280
24281 ac_header_preproc=no
24282 fi
24283 rm -f conftest.err conftest.$ac_ext
24284 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24285 echo "${ECHO_T}$ac_header_preproc" >&6
24286
24287 # So? What about this header?
24288 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24289 yes:no: )
24290 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24291 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24292 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
24293 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
24294 ac_header_preproc=yes
24295 ;;
24296 no:yes:* )
24297 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
24298 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
24299 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
24300 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
24301 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
24302 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
24303 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
24304 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24305 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
24306 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
24307 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
24308 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
24309 (
24310 cat <<\_ASBOX
24311 ## ----------------------------------------- ##
24312 ## Report this to wx-dev@lists.wxwidgets.org ##
24313 ## ----------------------------------------- ##
24314 _ASBOX
24315 ) |
24316 sed "s/^/$as_me: WARNING: /" >&2
24317 ;;
24318 esac
24319 echo "$as_me:$LINENO: checking for hash_map" >&5
24320 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24321 if test "${ac_cv_header_hash_map+set}" = set; then
24322 echo $ECHO_N "(cached) $ECHO_C" >&6
24323 else
24324 ac_cv_header_hash_map=$ac_header_preproc
24325 fi
24326 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24327 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24328
24329 fi
24330 if test $ac_cv_header_hash_map = yes; then
24331 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24332 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24333 cat >conftest.$ac_ext <<_ACEOF
24334 /* confdefs.h. */
24335 _ACEOF
24336 cat confdefs.h >>conftest.$ac_ext
24337 cat >>conftest.$ac_ext <<_ACEOF
24338 /* end confdefs.h. */
24339 #include <hash_map>
24340 #include <hash_set>
24341 int
24342 main ()
24343 {
24344 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24345 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24346 ;
24347 return 0;
24348 }
24349 _ACEOF
24350 rm -f conftest.$ac_objext
24351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24352 (eval $ac_compile) 2>conftest.er1
24353 ac_status=$?
24354 grep -v '^ *+' conftest.er1 >conftest.err
24355 rm -f conftest.er1
24356 cat conftest.err >&5
24357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24358 (exit $ac_status); } &&
24359 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24361 (eval $ac_try) 2>&5
24362 ac_status=$?
24363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24364 (exit $ac_status); }; } &&
24365 { ac_try='test -s conftest.$ac_objext'
24366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24367 (eval $ac_try) 2>&5
24368 ac_status=$?
24369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24370 (exit $ac_status); }; }; then
24371 echo "$as_me:$LINENO: result: yes" >&5
24372 echo "${ECHO_T}yes" >&6
24373 cat >>confdefs.h <<\_ACEOF
24374 #define HAVE_HASH_MAP 1
24375 _ACEOF
24376
24377 cat >>confdefs.h <<\_ACEOF
24378 #define HAVE_STD_HASH_MAP 1
24379 _ACEOF
24380
24381 else
24382 echo "$as_me: failed program was:" >&5
24383 sed 's/^/| /' conftest.$ac_ext >&5
24384
24385 echo "$as_me:$LINENO: result: no" >&5
24386 echo "${ECHO_T}no" >&6
24387 fi
24388 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24389
24390 fi
24391
24392
24393
24394 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24395 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24396 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24397 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24398 echo $ECHO_N "(cached) $ECHO_C" >&6
24399 fi
24400 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24401 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24402 else
24403 # Is the header compilable?
24404 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24405 echo $ECHO_N "checking ext/hash_map usability... $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 $ac_includes_default
24413 #include <ext/hash_map>
24414 _ACEOF
24415 rm -f conftest.$ac_objext
24416 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24417 (eval $ac_compile) 2>conftest.er1
24418 ac_status=$?
24419 grep -v '^ *+' conftest.er1 >conftest.err
24420 rm -f conftest.er1
24421 cat conftest.err >&5
24422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24423 (exit $ac_status); } &&
24424 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24426 (eval $ac_try) 2>&5
24427 ac_status=$?
24428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24429 (exit $ac_status); }; } &&
24430 { ac_try='test -s conftest.$ac_objext'
24431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24432 (eval $ac_try) 2>&5
24433 ac_status=$?
24434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24435 (exit $ac_status); }; }; then
24436 ac_header_compiler=yes
24437 else
24438 echo "$as_me: failed program was:" >&5
24439 sed 's/^/| /' conftest.$ac_ext >&5
24440
24441 ac_header_compiler=no
24442 fi
24443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24444 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24445 echo "${ECHO_T}$ac_header_compiler" >&6
24446
24447 # Is the header present?
24448 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24449 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
24450 cat >conftest.$ac_ext <<_ACEOF
24451 /* confdefs.h. */
24452 _ACEOF
24453 cat confdefs.h >>conftest.$ac_ext
24454 cat >>conftest.$ac_ext <<_ACEOF
24455 /* end confdefs.h. */
24456 #include <ext/hash_map>
24457 _ACEOF
24458 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24459 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24460 ac_status=$?
24461 grep -v '^ *+' conftest.er1 >conftest.err
24462 rm -f conftest.er1
24463 cat conftest.err >&5
24464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24465 (exit $ac_status); } >/dev/null; then
24466 if test -s conftest.err; then
24467 ac_cpp_err=$ac_cxx_preproc_warn_flag
24468 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24469 else
24470 ac_cpp_err=
24471 fi
24472 else
24473 ac_cpp_err=yes
24474 fi
24475 if test -z "$ac_cpp_err"; then
24476 ac_header_preproc=yes
24477 else
24478 echo "$as_me: failed program was:" >&5
24479 sed 's/^/| /' conftest.$ac_ext >&5
24480
24481 ac_header_preproc=no
24482 fi
24483 rm -f conftest.err conftest.$ac_ext
24484 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24485 echo "${ECHO_T}$ac_header_preproc" >&6
24486
24487 # So? What about this header?
24488 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24489 yes:no: )
24490 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24491 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24492 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24493 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24494 ac_header_preproc=yes
24495 ;;
24496 no:yes:* )
24497 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24498 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24499 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24500 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24501 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24502 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24503 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24504 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24505 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24506 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24507 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24508 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24509 (
24510 cat <<\_ASBOX
24511 ## ----------------------------------------- ##
24512 ## Report this to wx-dev@lists.wxwidgets.org ##
24513 ## ----------------------------------------- ##
24514 _ASBOX
24515 ) |
24516 sed "s/^/$as_me: WARNING: /" >&2
24517 ;;
24518 esac
24519 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24520 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24521 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24522 echo $ECHO_N "(cached) $ECHO_C" >&6
24523 else
24524 ac_cv_header_ext_hash_map=$ac_header_preproc
24525 fi
24526 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24527 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24528
24529 fi
24530 if test $ac_cv_header_ext_hash_map = yes; then
24531 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24532 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24533 cat >conftest.$ac_ext <<_ACEOF
24534 /* confdefs.h. */
24535 _ACEOF
24536 cat confdefs.h >>conftest.$ac_ext
24537 cat >>conftest.$ac_ext <<_ACEOF
24538 /* end confdefs.h. */
24539 #include <ext/hash_map>
24540 #include <ext/hash_set>
24541 int
24542 main ()
24543 {
24544 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24545 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24546 ;
24547 return 0;
24548 }
24549 _ACEOF
24550 rm -f conftest.$ac_objext
24551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24552 (eval $ac_compile) 2>conftest.er1
24553 ac_status=$?
24554 grep -v '^ *+' conftest.er1 >conftest.err
24555 rm -f conftest.er1
24556 cat conftest.err >&5
24557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24558 (exit $ac_status); } &&
24559 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24561 (eval $ac_try) 2>&5
24562 ac_status=$?
24563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24564 (exit $ac_status); }; } &&
24565 { ac_try='test -s conftest.$ac_objext'
24566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24567 (eval $ac_try) 2>&5
24568 ac_status=$?
24569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24570 (exit $ac_status); }; }; then
24571 echo "$as_me:$LINENO: result: yes" >&5
24572 echo "${ECHO_T}yes" >&6
24573 cat >>confdefs.h <<\_ACEOF
24574 #define HAVE_EXT_HASH_MAP 1
24575 _ACEOF
24576
24577 cat >>confdefs.h <<\_ACEOF
24578 #define HAVE_GNU_CXX_HASH_MAP 1
24579 _ACEOF
24580
24581 else
24582 echo "$as_me: failed program was:" >&5
24583 sed 's/^/| /' conftest.$ac_ext >&5
24584
24585 echo "$as_me:$LINENO: result: no" >&5
24586 echo "${ECHO_T}no" >&6
24587 fi
24588 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24589
24590 fi
24591
24592
24593 fi
24594
24595
24596 SEARCH_INCLUDE="\
24597 /usr/local/include \
24598 \
24599 /usr/Motif-2.1/include \
24600 /usr/Motif-1.2/include \
24601 /usr/include/Motif1.2 \
24602 \
24603 /usr/dt/include \
24604 /usr/openwin/include \
24605 \
24606 /usr/include/Xm \
24607 \
24608 /usr/X11R6/include \
24609 /usr/X11R6.4/include \
24610 /usr/X11R5/include \
24611 /usr/X11R4/include \
24612 \
24613 /usr/include/X11R6 \
24614 /usr/include/X11R5 \
24615 /usr/include/X11R4 \
24616 \
24617 /usr/local/X11R6/include \
24618 /usr/local/X11R5/include \
24619 /usr/local/X11R4/include \
24620 \
24621 /usr/local/include/X11R6 \
24622 /usr/local/include/X11R5 \
24623 /usr/local/include/X11R4 \
24624 \
24625 /usr/X11/include \
24626 /usr/include/X11 \
24627 /usr/local/X11/include \
24628 /usr/local/include/X11 \
24629 \
24630 /usr/XFree86/include/X11 \
24631 /usr/pkg/include \
24632 \
24633 /usr/openwin/share/include"
24634
24635 echo "$as_me:$LINENO: checking for libraries directory" >&5
24636 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24637
24638 case "${host}" in
24639 *-*-irix6* )
24640 if test "${wx_cv_std_libpath+set}" = set; then
24641 echo $ECHO_N "(cached) $ECHO_C" >&6
24642 else
24643
24644 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24645 for e in a so sl dylib dll.a; do
24646 libc="$d/libc.$e"
24647 if test -f $libc; then
24648 save_LIBS="$LIBS"
24649 LIBS="$libc"
24650 cat >conftest.$ac_ext <<_ACEOF
24651 int main() { return 0; }
24652 _ACEOF
24653 rm -f conftest.$ac_objext conftest$ac_exeext
24654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24655 (eval $ac_link) 2>conftest.er1
24656 ac_status=$?
24657 grep -v '^ *+' conftest.er1 >conftest.err
24658 rm -f conftest.er1
24659 cat conftest.err >&5
24660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24661 (exit $ac_status); } &&
24662 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24664 (eval $ac_try) 2>&5
24665 ac_status=$?
24666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24667 (exit $ac_status); }; } &&
24668 { ac_try='test -s conftest$ac_exeext'
24669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24670 (eval $ac_try) 2>&5
24671 ac_status=$?
24672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24673 (exit $ac_status); }; }; then
24674 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24675 else
24676 echo "$as_me: failed program was:" >&5
24677 sed 's/^/| /' conftest.$ac_ext >&5
24678
24679 fi
24680 rm -f conftest.err conftest.$ac_objext \
24681 conftest$ac_exeext conftest.$ac_ext
24682 LIBS="$save_LIBS"
24683 if test "x$wx_cv_std_libpath" != "x"; then
24684 break 2
24685 fi
24686 fi
24687 done
24688 done
24689 if test "x$wx_cv_std_libpath" = "x"; then
24690 wx_cv_std_libpath="lib"
24691 fi
24692
24693
24694 fi
24695
24696 ;;
24697
24698 *-*-solaris2* )
24699 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24700 wx_cv_std_libpath="lib/64"
24701 else
24702 wx_cv_std_libpath="lib"
24703 fi
24704 ;;
24705
24706 *-*-linux* )
24707 if test "$ac_cv_sizeof_void_p" = 8 -a \
24708 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24709 wx_cv_std_libpath="lib64"
24710 else
24711 wx_cv_std_libpath="lib"
24712 fi
24713 ;;
24714
24715 *)
24716 wx_cv_std_libpath="lib";
24717 ;;
24718 esac
24719
24720 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24721 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24722
24723 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24724
24725 if test "$build" != "$host" -a "$GCC" = yes; then
24726 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24727 cross_root=`dirname $cross_root`
24728 cross_root=`dirname $cross_root`
24729
24730 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24731 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24732 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24733
24734 if test -z "$PKG_CONFIG_PATH"; then
24735 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24736 export PKG_CONFIG_PATH
24737 fi
24738
24739 if test -z "$x_includes" -o "$x_includes" = NONE; then
24740
24741 ac_find_includes=
24742 for ac_dir in $SEARCH_INCLUDE /usr/include;
24743 do
24744 if test -f "$ac_dir/X11/Intrinsic.h"; then
24745 ac_find_includes=$ac_dir
24746 break
24747 fi
24748 done
24749
24750 x_includes=$ac_find_includes
24751 fi
24752 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24753
24754 ac_find_libraries=
24755 for ac_dir in $SEARCH_LIB;
24756 do
24757 for ac_extension in a so sl dylib dll.a; do
24758 if test -f "$ac_dir/libXt.$ac_extension"; then
24759 ac_find_libraries=$ac_dir
24760 break 2
24761 fi
24762 done
24763 done
24764
24765 x_libraries=$ac_find_libraries
24766 fi
24767 fi
24768 fi
24769
24770
24771 cat >confcache <<\_ACEOF
24772 # This file is a shell script that caches the results of configure
24773 # tests run on this system so they can be shared between configure
24774 # scripts and configure runs, see configure's option --config-cache.
24775 # It is not useful on other systems. If it contains results you don't
24776 # want to keep, you may remove or edit it.
24777 #
24778 # config.status only pays attention to the cache file if you give it
24779 # the --recheck option to rerun configure.
24780 #
24781 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24782 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24783 # following values.
24784
24785 _ACEOF
24786
24787 # The following way of writing the cache mishandles newlines in values,
24788 # but we know of no workaround that is simple, portable, and efficient.
24789 # So, don't put newlines in cache variables' values.
24790 # Ultrix sh set writes to stderr and can't be redirected directly,
24791 # and sets the high bit in the cache file unless we assign to the vars.
24792 {
24793 (set) 2>&1 |
24794 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24795 *ac_space=\ *)
24796 # `set' does not quote correctly, so add quotes (double-quote
24797 # substitution turns \\\\ into \\, and sed turns \\ into \).
24798 sed -n \
24799 "s/'/'\\\\''/g;
24800 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24801 ;;
24802 *)
24803 # `set' quotes correctly as required by POSIX, so do not add quotes.
24804 sed -n \
24805 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24806 ;;
24807 esac;
24808 } |
24809 sed '
24810 t clear
24811 : clear
24812 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24813 t end
24814 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24815 : end' >>confcache
24816 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24817 if test -w $cache_file; then
24818 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24819 cat confcache >$cache_file
24820 else
24821 echo "not updating unwritable cache $cache_file"
24822 fi
24823 fi
24824 rm -f confcache
24825
24826 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24827 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24828 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24829 if test "${wx_cv_lib_glibc21+set}" = set; then
24830 echo $ECHO_N "(cached) $ECHO_C" >&6
24831 else
24832
24833 cat >conftest.$ac_ext <<_ACEOF
24834 /* confdefs.h. */
24835 _ACEOF
24836 cat confdefs.h >>conftest.$ac_ext
24837 cat >>conftest.$ac_ext <<_ACEOF
24838 /* end confdefs.h. */
24839 #include <features.h>
24840 int
24841 main ()
24842 {
24843
24844 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24845 not glibc 2.1
24846 #endif
24847
24848 ;
24849 return 0;
24850 }
24851 _ACEOF
24852 rm -f conftest.$ac_objext
24853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24854 (eval $ac_compile) 2>conftest.er1
24855 ac_status=$?
24856 grep -v '^ *+' conftest.er1 >conftest.err
24857 rm -f conftest.er1
24858 cat conftest.err >&5
24859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24860 (exit $ac_status); } &&
24861 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24863 (eval $ac_try) 2>&5
24864 ac_status=$?
24865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24866 (exit $ac_status); }; } &&
24867 { ac_try='test -s conftest.$ac_objext'
24868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24869 (eval $ac_try) 2>&5
24870 ac_status=$?
24871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24872 (exit $ac_status); }; }; then
24873
24874 wx_cv_lib_glibc21=yes
24875
24876 else
24877 echo "$as_me: failed program was:" >&5
24878 sed 's/^/| /' conftest.$ac_ext >&5
24879
24880
24881 wx_cv_lib_glibc21=no
24882
24883
24884 fi
24885 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24886
24887 fi
24888 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24889 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24890 if test "$wx_cv_lib_glibc21" = "yes"; then
24891 cat >>confdefs.h <<\_ACEOF
24892 #define wxHAVE_GLIBC2 1
24893 _ACEOF
24894
24895 fi
24896 fi
24897
24898 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24899 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24900 cat >>confdefs.h <<\_ACEOF
24901 #define _GNU_SOURCE 1
24902 _ACEOF
24903
24904 fi
24905 fi
24906
24907 have_cos=0
24908 have_floor=0
24909
24910 for ac_func in cos
24911 do
24912 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24913 echo "$as_me:$LINENO: checking for $ac_func" >&5
24914 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24915 if eval "test \"\${$as_ac_var+set}\" = set"; then
24916 echo $ECHO_N "(cached) $ECHO_C" >&6
24917 else
24918 cat >conftest.$ac_ext <<_ACEOF
24919 /* confdefs.h. */
24920 _ACEOF
24921 cat confdefs.h >>conftest.$ac_ext
24922 cat >>conftest.$ac_ext <<_ACEOF
24923 /* end confdefs.h. */
24924 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24925 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24926 #define $ac_func innocuous_$ac_func
24927
24928 /* System header to define __stub macros and hopefully few prototypes,
24929 which can conflict with char $ac_func (); below.
24930 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24931 <limits.h> exists even on freestanding compilers. */
24932
24933 #ifdef __STDC__
24934 # include <limits.h>
24935 #else
24936 # include <assert.h>
24937 #endif
24938
24939 #undef $ac_func
24940
24941 /* Override any gcc2 internal prototype to avoid an error. */
24942 #ifdef __cplusplus
24943 extern "C"
24944 {
24945 #endif
24946 /* We use char because int might match the return type of a gcc2
24947 builtin and then its argument prototype would still apply. */
24948 char $ac_func ();
24949 /* The GNU C library defines this for functions which it implements
24950 to always fail with ENOSYS. Some functions are actually named
24951 something starting with __ and the normal name is an alias. */
24952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24953 choke me
24954 #else
24955 char (*f) () = $ac_func;
24956 #endif
24957 #ifdef __cplusplus
24958 }
24959 #endif
24960
24961 int
24962 main ()
24963 {
24964 return f != $ac_func;
24965 ;
24966 return 0;
24967 }
24968 _ACEOF
24969 rm -f conftest.$ac_objext conftest$ac_exeext
24970 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24971 (eval $ac_link) 2>conftest.er1
24972 ac_status=$?
24973 grep -v '^ *+' conftest.er1 >conftest.err
24974 rm -f conftest.er1
24975 cat conftest.err >&5
24976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24977 (exit $ac_status); } &&
24978 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24980 (eval $ac_try) 2>&5
24981 ac_status=$?
24982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24983 (exit $ac_status); }; } &&
24984 { ac_try='test -s conftest$ac_exeext'
24985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24986 (eval $ac_try) 2>&5
24987 ac_status=$?
24988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24989 (exit $ac_status); }; }; then
24990 eval "$as_ac_var=yes"
24991 else
24992 echo "$as_me: failed program was:" >&5
24993 sed 's/^/| /' conftest.$ac_ext >&5
24994
24995 eval "$as_ac_var=no"
24996 fi
24997 rm -f conftest.err conftest.$ac_objext \
24998 conftest$ac_exeext conftest.$ac_ext
24999 fi
25000 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25001 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25002 if test `eval echo '${'$as_ac_var'}'` = yes; then
25003 cat >>confdefs.h <<_ACEOF
25004 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25005 _ACEOF
25006 have_cos=1
25007 fi
25008 done
25009
25010
25011 for ac_func in floor
25012 do
25013 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25014 echo "$as_me:$LINENO: checking for $ac_func" >&5
25015 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25016 if eval "test \"\${$as_ac_var+set}\" = set"; then
25017 echo $ECHO_N "(cached) $ECHO_C" >&6
25018 else
25019 cat >conftest.$ac_ext <<_ACEOF
25020 /* confdefs.h. */
25021 _ACEOF
25022 cat confdefs.h >>conftest.$ac_ext
25023 cat >>conftest.$ac_ext <<_ACEOF
25024 /* end confdefs.h. */
25025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25027 #define $ac_func innocuous_$ac_func
25028
25029 /* System header to define __stub macros and hopefully few prototypes,
25030 which can conflict with char $ac_func (); below.
25031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25032 <limits.h> exists even on freestanding compilers. */
25033
25034 #ifdef __STDC__
25035 # include <limits.h>
25036 #else
25037 # include <assert.h>
25038 #endif
25039
25040 #undef $ac_func
25041
25042 /* Override any gcc2 internal prototype to avoid an error. */
25043 #ifdef __cplusplus
25044 extern "C"
25045 {
25046 #endif
25047 /* We use char because int might match the return type of a gcc2
25048 builtin and then its argument prototype would still apply. */
25049 char $ac_func ();
25050 /* The GNU C library defines this for functions which it implements
25051 to always fail with ENOSYS. Some functions are actually named
25052 something starting with __ and the normal name is an alias. */
25053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25054 choke me
25055 #else
25056 char (*f) () = $ac_func;
25057 #endif
25058 #ifdef __cplusplus
25059 }
25060 #endif
25061
25062 int
25063 main ()
25064 {
25065 return f != $ac_func;
25066 ;
25067 return 0;
25068 }
25069 _ACEOF
25070 rm -f conftest.$ac_objext conftest$ac_exeext
25071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25072 (eval $ac_link) 2>conftest.er1
25073 ac_status=$?
25074 grep -v '^ *+' conftest.er1 >conftest.err
25075 rm -f conftest.er1
25076 cat conftest.err >&5
25077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25078 (exit $ac_status); } &&
25079 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25081 (eval $ac_try) 2>&5
25082 ac_status=$?
25083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25084 (exit $ac_status); }; } &&
25085 { ac_try='test -s conftest$ac_exeext'
25086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25087 (eval $ac_try) 2>&5
25088 ac_status=$?
25089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25090 (exit $ac_status); }; }; then
25091 eval "$as_ac_var=yes"
25092 else
25093 echo "$as_me: failed program was:" >&5
25094 sed 's/^/| /' conftest.$ac_ext >&5
25095
25096 eval "$as_ac_var=no"
25097 fi
25098 rm -f conftest.err conftest.$ac_objext \
25099 conftest$ac_exeext conftest.$ac_ext
25100 fi
25101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25103 if test `eval echo '${'$as_ac_var'}'` = yes; then
25104 cat >>confdefs.h <<_ACEOF
25105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25106 _ACEOF
25107 have_floor=1
25108 fi
25109 done
25110
25111 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25112 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
25113 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25114 echo "$as_me:$LINENO: result: yes" >&5
25115 echo "${ECHO_T}yes" >&6
25116 else
25117 echo "$as_me:$LINENO: result: no" >&5
25118 echo "${ECHO_T}no" >&6
25119 LIBS="$LIBS -lm"
25120 # use different functions to avoid configure caching
25121 have_sin=0
25122 have_ceil=0
25123
25124 for ac_func in sin
25125 do
25126 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25127 echo "$as_me:$LINENO: checking for $ac_func" >&5
25128 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25129 if eval "test \"\${$as_ac_var+set}\" = set"; then
25130 echo $ECHO_N "(cached) $ECHO_C" >&6
25131 else
25132 cat >conftest.$ac_ext <<_ACEOF
25133 /* confdefs.h. */
25134 _ACEOF
25135 cat confdefs.h >>conftest.$ac_ext
25136 cat >>conftest.$ac_ext <<_ACEOF
25137 /* end confdefs.h. */
25138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25140 #define $ac_func innocuous_$ac_func
25141
25142 /* System header to define __stub macros and hopefully few prototypes,
25143 which can conflict with char $ac_func (); below.
25144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25145 <limits.h> exists even on freestanding compilers. */
25146
25147 #ifdef __STDC__
25148 # include <limits.h>
25149 #else
25150 # include <assert.h>
25151 #endif
25152
25153 #undef $ac_func
25154
25155 /* Override any gcc2 internal prototype to avoid an error. */
25156 #ifdef __cplusplus
25157 extern "C"
25158 {
25159 #endif
25160 /* We use char because int might match the return type of a gcc2
25161 builtin and then its argument prototype would still apply. */
25162 char $ac_func ();
25163 /* The GNU C library defines this for functions which it implements
25164 to always fail with ENOSYS. Some functions are actually named
25165 something starting with __ and the normal name is an alias. */
25166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25167 choke me
25168 #else
25169 char (*f) () = $ac_func;
25170 #endif
25171 #ifdef __cplusplus
25172 }
25173 #endif
25174
25175 int
25176 main ()
25177 {
25178 return f != $ac_func;
25179 ;
25180 return 0;
25181 }
25182 _ACEOF
25183 rm -f conftest.$ac_objext conftest$ac_exeext
25184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25185 (eval $ac_link) 2>conftest.er1
25186 ac_status=$?
25187 grep -v '^ *+' conftest.er1 >conftest.err
25188 rm -f conftest.er1
25189 cat conftest.err >&5
25190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25191 (exit $ac_status); } &&
25192 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25194 (eval $ac_try) 2>&5
25195 ac_status=$?
25196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25197 (exit $ac_status); }; } &&
25198 { ac_try='test -s conftest$ac_exeext'
25199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25200 (eval $ac_try) 2>&5
25201 ac_status=$?
25202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25203 (exit $ac_status); }; }; then
25204 eval "$as_ac_var=yes"
25205 else
25206 echo "$as_me: failed program was:" >&5
25207 sed 's/^/| /' conftest.$ac_ext >&5
25208
25209 eval "$as_ac_var=no"
25210 fi
25211 rm -f conftest.err conftest.$ac_objext \
25212 conftest$ac_exeext conftest.$ac_ext
25213 fi
25214 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25215 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25216 if test `eval echo '${'$as_ac_var'}'` = yes; then
25217 cat >>confdefs.h <<_ACEOF
25218 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25219 _ACEOF
25220 have_sin=1
25221 fi
25222 done
25223
25224
25225 for ac_func in ceil
25226 do
25227 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25228 echo "$as_me:$LINENO: checking for $ac_func" >&5
25229 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25230 if eval "test \"\${$as_ac_var+set}\" = set"; then
25231 echo $ECHO_N "(cached) $ECHO_C" >&6
25232 else
25233 cat >conftest.$ac_ext <<_ACEOF
25234 /* confdefs.h. */
25235 _ACEOF
25236 cat confdefs.h >>conftest.$ac_ext
25237 cat >>conftest.$ac_ext <<_ACEOF
25238 /* end confdefs.h. */
25239 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25240 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25241 #define $ac_func innocuous_$ac_func
25242
25243 /* System header to define __stub macros and hopefully few prototypes,
25244 which can conflict with char $ac_func (); below.
25245 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25246 <limits.h> exists even on freestanding compilers. */
25247
25248 #ifdef __STDC__
25249 # include <limits.h>
25250 #else
25251 # include <assert.h>
25252 #endif
25253
25254 #undef $ac_func
25255
25256 /* Override any gcc2 internal prototype to avoid an error. */
25257 #ifdef __cplusplus
25258 extern "C"
25259 {
25260 #endif
25261 /* We use char because int might match the return type of a gcc2
25262 builtin and then its argument prototype would still apply. */
25263 char $ac_func ();
25264 /* The GNU C library defines this for functions which it implements
25265 to always fail with ENOSYS. Some functions are actually named
25266 something starting with __ and the normal name is an alias. */
25267 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25268 choke me
25269 #else
25270 char (*f) () = $ac_func;
25271 #endif
25272 #ifdef __cplusplus
25273 }
25274 #endif
25275
25276 int
25277 main ()
25278 {
25279 return f != $ac_func;
25280 ;
25281 return 0;
25282 }
25283 _ACEOF
25284 rm -f conftest.$ac_objext conftest$ac_exeext
25285 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25286 (eval $ac_link) 2>conftest.er1
25287 ac_status=$?
25288 grep -v '^ *+' conftest.er1 >conftest.err
25289 rm -f conftest.er1
25290 cat conftest.err >&5
25291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25292 (exit $ac_status); } &&
25293 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25295 (eval $ac_try) 2>&5
25296 ac_status=$?
25297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25298 (exit $ac_status); }; } &&
25299 { ac_try='test -s conftest$ac_exeext'
25300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25301 (eval $ac_try) 2>&5
25302 ac_status=$?
25303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25304 (exit $ac_status); }; }; then
25305 eval "$as_ac_var=yes"
25306 else
25307 echo "$as_me: failed program was:" >&5
25308 sed 's/^/| /' conftest.$ac_ext >&5
25309
25310 eval "$as_ac_var=no"
25311 fi
25312 rm -f conftest.err conftest.$ac_objext \
25313 conftest$ac_exeext conftest.$ac_ext
25314 fi
25315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25317 if test `eval echo '${'$as_ac_var'}'` = yes; then
25318 cat >>confdefs.h <<_ACEOF
25319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25320 _ACEOF
25321 have_ceil=1
25322 fi
25323 done
25324
25325 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25326 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
25327 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25328 echo "$as_me:$LINENO: result: yes" >&5
25329 echo "${ECHO_T}yes" >&6
25330 else
25331 echo "$as_me:$LINENO: result: no" >&5
25332 echo "${ECHO_T}no" >&6
25333 # not sure we should warn the user, crash, etc.
25334 fi
25335 fi
25336
25337 if test "wxUSE_UNICODE" = "yes"; then
25338
25339 for ac_func in wcstoull
25340 do
25341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25342 echo "$as_me:$LINENO: checking for $ac_func" >&5
25343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25344 if eval "test \"\${$as_ac_var+set}\" = set"; then
25345 echo $ECHO_N "(cached) $ECHO_C" >&6
25346 else
25347 cat >conftest.$ac_ext <<_ACEOF
25348 /* confdefs.h. */
25349 _ACEOF
25350 cat confdefs.h >>conftest.$ac_ext
25351 cat >>conftest.$ac_ext <<_ACEOF
25352 /* end confdefs.h. */
25353 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25354 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25355 #define $ac_func innocuous_$ac_func
25356
25357 /* System header to define __stub macros and hopefully few prototypes,
25358 which can conflict with char $ac_func (); below.
25359 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25360 <limits.h> exists even on freestanding compilers. */
25361
25362 #ifdef __STDC__
25363 # include <limits.h>
25364 #else
25365 # include <assert.h>
25366 #endif
25367
25368 #undef $ac_func
25369
25370 /* Override any gcc2 internal prototype to avoid an error. */
25371 #ifdef __cplusplus
25372 extern "C"
25373 {
25374 #endif
25375 /* We use char because int might match the return type of a gcc2
25376 builtin and then its argument prototype would still apply. */
25377 char $ac_func ();
25378 /* The GNU C library defines this for functions which it implements
25379 to always fail with ENOSYS. Some functions are actually named
25380 something starting with __ and the normal name is an alias. */
25381 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25382 choke me
25383 #else
25384 char (*f) () = $ac_func;
25385 #endif
25386 #ifdef __cplusplus
25387 }
25388 #endif
25389
25390 int
25391 main ()
25392 {
25393 return f != $ac_func;
25394 ;
25395 return 0;
25396 }
25397 _ACEOF
25398 rm -f conftest.$ac_objext conftest$ac_exeext
25399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25400 (eval $ac_link) 2>conftest.er1
25401 ac_status=$?
25402 grep -v '^ *+' conftest.er1 >conftest.err
25403 rm -f conftest.er1
25404 cat conftest.err >&5
25405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25406 (exit $ac_status); } &&
25407 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25409 (eval $ac_try) 2>&5
25410 ac_status=$?
25411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25412 (exit $ac_status); }; } &&
25413 { ac_try='test -s conftest$ac_exeext'
25414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25415 (eval $ac_try) 2>&5
25416 ac_status=$?
25417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25418 (exit $ac_status); }; }; then
25419 eval "$as_ac_var=yes"
25420 else
25421 echo "$as_me: failed program was:" >&5
25422 sed 's/^/| /' conftest.$ac_ext >&5
25423
25424 eval "$as_ac_var=no"
25425 fi
25426 rm -f conftest.err conftest.$ac_objext \
25427 conftest$ac_exeext conftest.$ac_ext
25428 fi
25429 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25430 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25431 if test `eval echo '${'$as_ac_var'}'` = yes; then
25432 cat >>confdefs.h <<_ACEOF
25433 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25434 _ACEOF
25435
25436 fi
25437 done
25438
25439 else
25440
25441 for ac_func in strtoull
25442 do
25443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25444 echo "$as_me:$LINENO: checking for $ac_func" >&5
25445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25446 if eval "test \"\${$as_ac_var+set}\" = set"; then
25447 echo $ECHO_N "(cached) $ECHO_C" >&6
25448 else
25449 cat >conftest.$ac_ext <<_ACEOF
25450 /* confdefs.h. */
25451 _ACEOF
25452 cat confdefs.h >>conftest.$ac_ext
25453 cat >>conftest.$ac_ext <<_ACEOF
25454 /* end confdefs.h. */
25455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25457 #define $ac_func innocuous_$ac_func
25458
25459 /* System header to define __stub macros and hopefully few prototypes,
25460 which can conflict with char $ac_func (); below.
25461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25462 <limits.h> exists even on freestanding compilers. */
25463
25464 #ifdef __STDC__
25465 # include <limits.h>
25466 #else
25467 # include <assert.h>
25468 #endif
25469
25470 #undef $ac_func
25471
25472 /* Override any gcc2 internal prototype to avoid an error. */
25473 #ifdef __cplusplus
25474 extern "C"
25475 {
25476 #endif
25477 /* We use char because int might match the return type of a gcc2
25478 builtin and then its argument prototype would still apply. */
25479 char $ac_func ();
25480 /* The GNU C library defines this for functions which it implements
25481 to always fail with ENOSYS. Some functions are actually named
25482 something starting with __ and the normal name is an alias. */
25483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25484 choke me
25485 #else
25486 char (*f) () = $ac_func;
25487 #endif
25488 #ifdef __cplusplus
25489 }
25490 #endif
25491
25492 int
25493 main ()
25494 {
25495 return f != $ac_func;
25496 ;
25497 return 0;
25498 }
25499 _ACEOF
25500 rm -f conftest.$ac_objext conftest$ac_exeext
25501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25502 (eval $ac_link) 2>conftest.er1
25503 ac_status=$?
25504 grep -v '^ *+' conftest.er1 >conftest.err
25505 rm -f conftest.er1
25506 cat conftest.err >&5
25507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25508 (exit $ac_status); } &&
25509 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25511 (eval $ac_try) 2>&5
25512 ac_status=$?
25513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25514 (exit $ac_status); }; } &&
25515 { ac_try='test -s conftest$ac_exeext'
25516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25517 (eval $ac_try) 2>&5
25518 ac_status=$?
25519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25520 (exit $ac_status); }; }; then
25521 eval "$as_ac_var=yes"
25522 else
25523 echo "$as_me: failed program was:" >&5
25524 sed 's/^/| /' conftest.$ac_ext >&5
25525
25526 eval "$as_ac_var=no"
25527 fi
25528 rm -f conftest.err conftest.$ac_objext \
25529 conftest$ac_exeext conftest.$ac_ext
25530 fi
25531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25532 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25533 if test `eval echo '${'$as_ac_var'}'` = yes; then
25534 cat >>confdefs.h <<_ACEOF
25535 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25536 _ACEOF
25537
25538 fi
25539 done
25540
25541 fi
25542
25543
25544
25545 if test "$wxUSE_REGEX" != "no"; then
25546 cat >>confdefs.h <<\_ACEOF
25547 #define wxUSE_REGEX 1
25548 _ACEOF
25549
25550
25551 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25552 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25553 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25554 wxUSE_REGEX=builtin
25555 fi
25556
25557 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25558 if test "${ac_cv_header_regex_h+set}" = set; then
25559 echo "$as_me:$LINENO: checking for regex.h" >&5
25560 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25561 if test "${ac_cv_header_regex_h+set}" = set; then
25562 echo $ECHO_N "(cached) $ECHO_C" >&6
25563 fi
25564 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25565 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25566 else
25567 # Is the header compilable?
25568 echo "$as_me:$LINENO: checking regex.h usability" >&5
25569 echo $ECHO_N "checking regex.h usability... $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 $ac_includes_default
25577 #include <regex.h>
25578 _ACEOF
25579 rm -f conftest.$ac_objext
25580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25581 (eval $ac_compile) 2>conftest.er1
25582 ac_status=$?
25583 grep -v '^ *+' conftest.er1 >conftest.err
25584 rm -f conftest.er1
25585 cat conftest.err >&5
25586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25587 (exit $ac_status); } &&
25588 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25590 (eval $ac_try) 2>&5
25591 ac_status=$?
25592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25593 (exit $ac_status); }; } &&
25594 { ac_try='test -s conftest.$ac_objext'
25595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25596 (eval $ac_try) 2>&5
25597 ac_status=$?
25598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25599 (exit $ac_status); }; }; then
25600 ac_header_compiler=yes
25601 else
25602 echo "$as_me: failed program was:" >&5
25603 sed 's/^/| /' conftest.$ac_ext >&5
25604
25605 ac_header_compiler=no
25606 fi
25607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25608 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25609 echo "${ECHO_T}$ac_header_compiler" >&6
25610
25611 # Is the header present?
25612 echo "$as_me:$LINENO: checking regex.h presence" >&5
25613 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25614 cat >conftest.$ac_ext <<_ACEOF
25615 /* confdefs.h. */
25616 _ACEOF
25617 cat confdefs.h >>conftest.$ac_ext
25618 cat >>conftest.$ac_ext <<_ACEOF
25619 /* end confdefs.h. */
25620 #include <regex.h>
25621 _ACEOF
25622 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25623 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25624 ac_status=$?
25625 grep -v '^ *+' conftest.er1 >conftest.err
25626 rm -f conftest.er1
25627 cat conftest.err >&5
25628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25629 (exit $ac_status); } >/dev/null; then
25630 if test -s conftest.err; then
25631 ac_cpp_err=$ac_cxx_preproc_warn_flag
25632 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25633 else
25634 ac_cpp_err=
25635 fi
25636 else
25637 ac_cpp_err=yes
25638 fi
25639 if test -z "$ac_cpp_err"; then
25640 ac_header_preproc=yes
25641 else
25642 echo "$as_me: failed program was:" >&5
25643 sed 's/^/| /' conftest.$ac_ext >&5
25644
25645 ac_header_preproc=no
25646 fi
25647 rm -f conftest.err conftest.$ac_ext
25648 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25649 echo "${ECHO_T}$ac_header_preproc" >&6
25650
25651 # So? What about this header?
25652 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25653 yes:no: )
25654 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25655 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25656 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25657 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25658 ac_header_preproc=yes
25659 ;;
25660 no:yes:* )
25661 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25662 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25663 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25664 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25665 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25666 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25667 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25668 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25669 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25670 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25671 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25672 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25673 (
25674 cat <<\_ASBOX
25675 ## ----------------------------------------- ##
25676 ## Report this to wx-dev@lists.wxwidgets.org ##
25677 ## ----------------------------------------- ##
25678 _ASBOX
25679 ) |
25680 sed "s/^/$as_me: WARNING: /" >&2
25681 ;;
25682 esac
25683 echo "$as_me:$LINENO: checking for regex.h" >&5
25684 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25685 if test "${ac_cv_header_regex_h+set}" = set; then
25686 echo $ECHO_N "(cached) $ECHO_C" >&6
25687 else
25688 ac_cv_header_regex_h=$ac_header_preproc
25689 fi
25690 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25691 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25692
25693 fi
25694 if test $ac_cv_header_regex_h = yes; then
25695
25696
25697 for ac_func in regcomp re_search
25698 do
25699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25700 echo "$as_me:$LINENO: checking for $ac_func" >&5
25701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25702 if eval "test \"\${$as_ac_var+set}\" = set"; then
25703 echo $ECHO_N "(cached) $ECHO_C" >&6
25704 else
25705 cat >conftest.$ac_ext <<_ACEOF
25706 /* confdefs.h. */
25707 _ACEOF
25708 cat confdefs.h >>conftest.$ac_ext
25709 cat >>conftest.$ac_ext <<_ACEOF
25710 /* end confdefs.h. */
25711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25713 #define $ac_func innocuous_$ac_func
25714
25715 /* System header to define __stub macros and hopefully few prototypes,
25716 which can conflict with char $ac_func (); below.
25717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25718 <limits.h> exists even on freestanding compilers. */
25719
25720 #ifdef __STDC__
25721 # include <limits.h>
25722 #else
25723 # include <assert.h>
25724 #endif
25725
25726 #undef $ac_func
25727
25728 /* Override any gcc2 internal prototype to avoid an error. */
25729 #ifdef __cplusplus
25730 extern "C"
25731 {
25732 #endif
25733 /* We use char because int might match the return type of a gcc2
25734 builtin and then its argument prototype would still apply. */
25735 char $ac_func ();
25736 /* The GNU C library defines this for functions which it implements
25737 to always fail with ENOSYS. Some functions are actually named
25738 something starting with __ and the normal name is an alias. */
25739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25740 choke me
25741 #else
25742 char (*f) () = $ac_func;
25743 #endif
25744 #ifdef __cplusplus
25745 }
25746 #endif
25747
25748 int
25749 main ()
25750 {
25751 return f != $ac_func;
25752 ;
25753 return 0;
25754 }
25755 _ACEOF
25756 rm -f conftest.$ac_objext conftest$ac_exeext
25757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25758 (eval $ac_link) 2>conftest.er1
25759 ac_status=$?
25760 grep -v '^ *+' conftest.er1 >conftest.err
25761 rm -f conftest.er1
25762 cat conftest.err >&5
25763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25764 (exit $ac_status); } &&
25765 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25767 (eval $ac_try) 2>&5
25768 ac_status=$?
25769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25770 (exit $ac_status); }; } &&
25771 { ac_try='test -s conftest$ac_exeext'
25772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25773 (eval $ac_try) 2>&5
25774 ac_status=$?
25775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25776 (exit $ac_status); }; }; then
25777 eval "$as_ac_var=yes"
25778 else
25779 echo "$as_me: failed program was:" >&5
25780 sed 's/^/| /' conftest.$ac_ext >&5
25781
25782 eval "$as_ac_var=no"
25783 fi
25784 rm -f conftest.err conftest.$ac_objext \
25785 conftest$ac_exeext conftest.$ac_ext
25786 fi
25787 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25788 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25789 if test `eval echo '${'$as_ac_var'}'` = yes; then
25790 cat >>confdefs.h <<_ACEOF
25791 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25792 _ACEOF
25793
25794 fi
25795 done
25796
25797 fi
25798
25799
25800
25801 if test "x$ac_cv_func_regcomp" != "xyes"; then
25802 if test "$wxUSE_REGEX" = "sys" ; then
25803 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25804 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25805 { (exit 1); exit 1; }; }
25806 else
25807 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25808 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25809 wxUSE_REGEX=builtin
25810 fi
25811 else
25812 wxUSE_REGEX=sys
25813 cat >>confdefs.h <<\_ACEOF
25814 #define WX_NO_REGEX_ADVANCED 1
25815 _ACEOF
25816
25817 fi
25818 fi
25819 fi
25820
25821
25822 ZLIB_LINK=
25823 if test "$wxUSE_ZLIB" != "no" ; then
25824 cat >>confdefs.h <<\_ACEOF
25825 #define wxUSE_ZLIB 1
25826 _ACEOF
25827
25828
25829 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25830 if test "$USE_DARWIN" = 1; then
25831 system_zlib_h_ok="yes"
25832 else
25833 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25834 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25835 if test "${ac_cv_header_zlib_h+set}" = set; then
25836 echo $ECHO_N "(cached) $ECHO_C" >&6
25837 else
25838 if test "$cross_compiling" = yes; then
25839 unset ac_cv_header_zlib_h
25840
25841 else
25842 cat >conftest.$ac_ext <<_ACEOF
25843 /* confdefs.h. */
25844 _ACEOF
25845 cat confdefs.h >>conftest.$ac_ext
25846 cat >>conftest.$ac_ext <<_ACEOF
25847 /* end confdefs.h. */
25848
25849 #include <zlib.h>
25850 #include <stdio.h>
25851
25852 int main()
25853 {
25854 FILE *f=fopen("conftestval", "w");
25855 if (!f) exit(1);
25856 fprintf(f, "%s",
25857 ZLIB_VERSION[0] == '1' &&
25858 (ZLIB_VERSION[2] > '1' ||
25859 (ZLIB_VERSION[2] == '1' &&
25860 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25861 exit(0);
25862 }
25863
25864 _ACEOF
25865 rm -f conftest$ac_exeext
25866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25867 (eval $ac_link) 2>&5
25868 ac_status=$?
25869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25870 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25872 (eval $ac_try) 2>&5
25873 ac_status=$?
25874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25875 (exit $ac_status); }; }; then
25876 ac_cv_header_zlib_h=`cat conftestval`
25877 else
25878 echo "$as_me: program exited with status $ac_status" >&5
25879 echo "$as_me: failed program was:" >&5
25880 sed 's/^/| /' conftest.$ac_ext >&5
25881
25882 ( exit $ac_status )
25883 ac_cv_header_zlib_h=no
25884 fi
25885 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25886 fi
25887
25888 fi
25889 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25890 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25891 if test "${ac_cv_header_zlib_h+set}" = set; then
25892 echo "$as_me:$LINENO: checking for zlib.h" >&5
25893 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25894 if test "${ac_cv_header_zlib_h+set}" = set; then
25895 echo $ECHO_N "(cached) $ECHO_C" >&6
25896 fi
25897 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25898 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25899 else
25900 # Is the header compilable?
25901 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25902 echo $ECHO_N "checking zlib.h usability... $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 $ac_includes_default
25910 #include <zlib.h>
25911 _ACEOF
25912 rm -f conftest.$ac_objext
25913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25914 (eval $ac_compile) 2>conftest.er1
25915 ac_status=$?
25916 grep -v '^ *+' conftest.er1 >conftest.err
25917 rm -f conftest.er1
25918 cat conftest.err >&5
25919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25920 (exit $ac_status); } &&
25921 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25923 (eval $ac_try) 2>&5
25924 ac_status=$?
25925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25926 (exit $ac_status); }; } &&
25927 { ac_try='test -s conftest.$ac_objext'
25928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25929 (eval $ac_try) 2>&5
25930 ac_status=$?
25931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25932 (exit $ac_status); }; }; then
25933 ac_header_compiler=yes
25934 else
25935 echo "$as_me: failed program was:" >&5
25936 sed 's/^/| /' conftest.$ac_ext >&5
25937
25938 ac_header_compiler=no
25939 fi
25940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25941 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25942 echo "${ECHO_T}$ac_header_compiler" >&6
25943
25944 # Is the header present?
25945 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25946 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25947 cat >conftest.$ac_ext <<_ACEOF
25948 /* confdefs.h. */
25949 _ACEOF
25950 cat confdefs.h >>conftest.$ac_ext
25951 cat >>conftest.$ac_ext <<_ACEOF
25952 /* end confdefs.h. */
25953 #include <zlib.h>
25954 _ACEOF
25955 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25956 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25957 ac_status=$?
25958 grep -v '^ *+' conftest.er1 >conftest.err
25959 rm -f conftest.er1
25960 cat conftest.err >&5
25961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25962 (exit $ac_status); } >/dev/null; then
25963 if test -s conftest.err; then
25964 ac_cpp_err=$ac_cxx_preproc_warn_flag
25965 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25966 else
25967 ac_cpp_err=
25968 fi
25969 else
25970 ac_cpp_err=yes
25971 fi
25972 if test -z "$ac_cpp_err"; then
25973 ac_header_preproc=yes
25974 else
25975 echo "$as_me: failed program was:" >&5
25976 sed 's/^/| /' conftest.$ac_ext >&5
25977
25978 ac_header_preproc=no
25979 fi
25980 rm -f conftest.err conftest.$ac_ext
25981 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25982 echo "${ECHO_T}$ac_header_preproc" >&6
25983
25984 # So? What about this header?
25985 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25986 yes:no: )
25987 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25988 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25989 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25990 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25991 ac_header_preproc=yes
25992 ;;
25993 no:yes:* )
25994 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25995 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25996 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25997 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25998 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25999 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
26000 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
26001 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
26002 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
26003 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
26004 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
26005 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
26006 (
26007 cat <<\_ASBOX
26008 ## ----------------------------------------- ##
26009 ## Report this to wx-dev@lists.wxwidgets.org ##
26010 ## ----------------------------------------- ##
26011 _ASBOX
26012 ) |
26013 sed "s/^/$as_me: WARNING: /" >&2
26014 ;;
26015 esac
26016 echo "$as_me:$LINENO: checking for zlib.h" >&5
26017 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
26018 if test "${ac_cv_header_zlib_h+set}" = set; then
26019 echo $ECHO_N "(cached) $ECHO_C" >&6
26020 else
26021 ac_cv_header_zlib_h=$ac_header_preproc
26022 fi
26023 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26024 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
26025
26026 fi
26027
26028
26029
26030 system_zlib_h_ok=$ac_cv_header_zlib_h
26031 fi
26032
26033 if test "$system_zlib_h_ok" = "yes"; then
26034 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26035 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
26036 if test "${ac_cv_lib_z_deflate+set}" = set; then
26037 echo $ECHO_N "(cached) $ECHO_C" >&6
26038 else
26039 ac_check_lib_save_LIBS=$LIBS
26040 LIBS="-lz $LIBS"
26041 cat >conftest.$ac_ext <<_ACEOF
26042 /* confdefs.h. */
26043 _ACEOF
26044 cat confdefs.h >>conftest.$ac_ext
26045 cat >>conftest.$ac_ext <<_ACEOF
26046 /* end confdefs.h. */
26047
26048 /* Override any gcc2 internal prototype to avoid an error. */
26049 #ifdef __cplusplus
26050 extern "C"
26051 #endif
26052 /* We use char because int might match the return type of a gcc2
26053 builtin and then its argument prototype would still apply. */
26054 char deflate ();
26055 int
26056 main ()
26057 {
26058 deflate ();
26059 ;
26060 return 0;
26061 }
26062 _ACEOF
26063 rm -f conftest.$ac_objext conftest$ac_exeext
26064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26065 (eval $ac_link) 2>conftest.er1
26066 ac_status=$?
26067 grep -v '^ *+' conftest.er1 >conftest.err
26068 rm -f conftest.er1
26069 cat conftest.err >&5
26070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26071 (exit $ac_status); } &&
26072 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26074 (eval $ac_try) 2>&5
26075 ac_status=$?
26076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26077 (exit $ac_status); }; } &&
26078 { ac_try='test -s conftest$ac_exeext'
26079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26080 (eval $ac_try) 2>&5
26081 ac_status=$?
26082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26083 (exit $ac_status); }; }; then
26084 ac_cv_lib_z_deflate=yes
26085 else
26086 echo "$as_me: failed program was:" >&5
26087 sed 's/^/| /' conftest.$ac_ext >&5
26088
26089 ac_cv_lib_z_deflate=no
26090 fi
26091 rm -f conftest.err conftest.$ac_objext \
26092 conftest$ac_exeext conftest.$ac_ext
26093 LIBS=$ac_check_lib_save_LIBS
26094 fi
26095 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26096 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
26097 if test $ac_cv_lib_z_deflate = yes; then
26098 ZLIB_LINK=" -lz"
26099 fi
26100
26101 fi
26102
26103 if test "x$ZLIB_LINK" = "x" ; then
26104 if test "$wxUSE_ZLIB" = "sys" ; then
26105 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26106 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26107 { (exit 1); exit 1; }; }
26108 else
26109 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26110 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26111 wxUSE_ZLIB=builtin
26112 fi
26113 else
26114 wxUSE_ZLIB=sys
26115 fi
26116 fi
26117 fi
26118
26119
26120 PNG_LINK=
26121 if test "$wxUSE_LIBPNG" != "no" ; then
26122 cat >>confdefs.h <<\_ACEOF
26123 #define wxUSE_LIBPNG 1
26124 _ACEOF
26125
26126
26127 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26128 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26129 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26130 wxUSE_LIBPNG=sys
26131 fi
26132
26133 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26134 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26135 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26136 wxUSE_LIBPNG=builtin
26137 fi
26138
26139 if test "$wxUSE_MGL" != 1 ; then
26140 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26141 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26142 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
26143 if test "${ac_cv_header_png_h+set}" = set; then
26144 echo $ECHO_N "(cached) $ECHO_C" >&6
26145 else
26146 if test "$cross_compiling" = yes; then
26147 unset ac_cv_header_png_h
26148
26149 else
26150 cat >conftest.$ac_ext <<_ACEOF
26151 /* confdefs.h. */
26152 _ACEOF
26153 cat confdefs.h >>conftest.$ac_ext
26154 cat >>conftest.$ac_ext <<_ACEOF
26155 /* end confdefs.h. */
26156
26157 #include <png.h>
26158 #include <stdio.h>
26159
26160 int main()
26161 {
26162 FILE *f=fopen("conftestval", "w");
26163 if (!f) exit(1);
26164 fprintf(f, "%s",
26165 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26166 exit(0);
26167 }
26168
26169 _ACEOF
26170 rm -f conftest$ac_exeext
26171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26172 (eval $ac_link) 2>&5
26173 ac_status=$?
26174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26175 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26177 (eval $ac_try) 2>&5
26178 ac_status=$?
26179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26180 (exit $ac_status); }; }; then
26181 ac_cv_header_png_h=`cat conftestval`
26182 else
26183 echo "$as_me: program exited with status $ac_status" >&5
26184 echo "$as_me: failed program was:" >&5
26185 sed 's/^/| /' conftest.$ac_ext >&5
26186
26187 ( exit $ac_status )
26188 ac_cv_header_png_h=no
26189 fi
26190 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26191 fi
26192
26193 fi
26194 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26195 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26196 if test "${ac_cv_header_png_h+set}" = set; then
26197 echo "$as_me:$LINENO: checking for png.h" >&5
26198 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
26199 if test "${ac_cv_header_png_h+set}" = set; then
26200 echo $ECHO_N "(cached) $ECHO_C" >&6
26201 fi
26202 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26203 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26204 else
26205 # Is the header compilable?
26206 echo "$as_me:$LINENO: checking png.h usability" >&5
26207 echo $ECHO_N "checking png.h usability... $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 $ac_includes_default
26215 #include <png.h>
26216 _ACEOF
26217 rm -f conftest.$ac_objext
26218 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26219 (eval $ac_compile) 2>conftest.er1
26220 ac_status=$?
26221 grep -v '^ *+' conftest.er1 >conftest.err
26222 rm -f conftest.er1
26223 cat conftest.err >&5
26224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26225 (exit $ac_status); } &&
26226 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26228 (eval $ac_try) 2>&5
26229 ac_status=$?
26230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26231 (exit $ac_status); }; } &&
26232 { ac_try='test -s conftest.$ac_objext'
26233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26234 (eval $ac_try) 2>&5
26235 ac_status=$?
26236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26237 (exit $ac_status); }; }; then
26238 ac_header_compiler=yes
26239 else
26240 echo "$as_me: failed program was:" >&5
26241 sed 's/^/| /' conftest.$ac_ext >&5
26242
26243 ac_header_compiler=no
26244 fi
26245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26246 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26247 echo "${ECHO_T}$ac_header_compiler" >&6
26248
26249 # Is the header present?
26250 echo "$as_me:$LINENO: checking png.h presence" >&5
26251 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
26252 cat >conftest.$ac_ext <<_ACEOF
26253 /* confdefs.h. */
26254 _ACEOF
26255 cat confdefs.h >>conftest.$ac_ext
26256 cat >>conftest.$ac_ext <<_ACEOF
26257 /* end confdefs.h. */
26258 #include <png.h>
26259 _ACEOF
26260 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26261 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26262 ac_status=$?
26263 grep -v '^ *+' conftest.er1 >conftest.err
26264 rm -f conftest.er1
26265 cat conftest.err >&5
26266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26267 (exit $ac_status); } >/dev/null; then
26268 if test -s conftest.err; then
26269 ac_cpp_err=$ac_cxx_preproc_warn_flag
26270 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26271 else
26272 ac_cpp_err=
26273 fi
26274 else
26275 ac_cpp_err=yes
26276 fi
26277 if test -z "$ac_cpp_err"; then
26278 ac_header_preproc=yes
26279 else
26280 echo "$as_me: failed program was:" >&5
26281 sed 's/^/| /' conftest.$ac_ext >&5
26282
26283 ac_header_preproc=no
26284 fi
26285 rm -f conftest.err conftest.$ac_ext
26286 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26287 echo "${ECHO_T}$ac_header_preproc" >&6
26288
26289 # So? What about this header?
26290 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26291 yes:no: )
26292 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
26293 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26294 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
26295 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
26296 ac_header_preproc=yes
26297 ;;
26298 no:yes:* )
26299 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
26300 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
26301 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
26302 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
26303 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
26304 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
26305 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
26306 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
26307 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
26308 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
26309 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
26310 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
26311 (
26312 cat <<\_ASBOX
26313 ## ----------------------------------------- ##
26314 ## Report this to wx-dev@lists.wxwidgets.org ##
26315 ## ----------------------------------------- ##
26316 _ASBOX
26317 ) |
26318 sed "s/^/$as_me: WARNING: /" >&2
26319 ;;
26320 esac
26321 echo "$as_me:$LINENO: checking for png.h" >&5
26322 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
26323 if test "${ac_cv_header_png_h+set}" = set; then
26324 echo $ECHO_N "(cached) $ECHO_C" >&6
26325 else
26326 ac_cv_header_png_h=$ac_header_preproc
26327 fi
26328 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26329 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26330
26331 fi
26332
26333
26334
26335 if test "$ac_cv_header_png_h" = "yes"; then
26336 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26337 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
26338 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26339 echo $ECHO_N "(cached) $ECHO_C" >&6
26340 else
26341 ac_check_lib_save_LIBS=$LIBS
26342 LIBS="-lpng -lz -lm $LIBS"
26343 cat >conftest.$ac_ext <<_ACEOF
26344 /* confdefs.h. */
26345 _ACEOF
26346 cat confdefs.h >>conftest.$ac_ext
26347 cat >>conftest.$ac_ext <<_ACEOF
26348 /* end confdefs.h. */
26349
26350 /* Override any gcc2 internal prototype to avoid an error. */
26351 #ifdef __cplusplus
26352 extern "C"
26353 #endif
26354 /* We use char because int might match the return type of a gcc2
26355 builtin and then its argument prototype would still apply. */
26356 char png_check_sig ();
26357 int
26358 main ()
26359 {
26360 png_check_sig ();
26361 ;
26362 return 0;
26363 }
26364 _ACEOF
26365 rm -f conftest.$ac_objext conftest$ac_exeext
26366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26367 (eval $ac_link) 2>conftest.er1
26368 ac_status=$?
26369 grep -v '^ *+' conftest.er1 >conftest.err
26370 rm -f conftest.er1
26371 cat conftest.err >&5
26372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26373 (exit $ac_status); } &&
26374 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26376 (eval $ac_try) 2>&5
26377 ac_status=$?
26378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26379 (exit $ac_status); }; } &&
26380 { ac_try='test -s conftest$ac_exeext'
26381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26382 (eval $ac_try) 2>&5
26383 ac_status=$?
26384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26385 (exit $ac_status); }; }; then
26386 ac_cv_lib_png_png_check_sig=yes
26387 else
26388 echo "$as_me: failed program was:" >&5
26389 sed 's/^/| /' conftest.$ac_ext >&5
26390
26391 ac_cv_lib_png_png_check_sig=no
26392 fi
26393 rm -f conftest.err conftest.$ac_objext \
26394 conftest$ac_exeext conftest.$ac_ext
26395 LIBS=$ac_check_lib_save_LIBS
26396 fi
26397 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26398 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
26399 if test $ac_cv_lib_png_png_check_sig = yes; then
26400 PNG_LINK=" -lpng -lz"
26401 fi
26402
26403 fi
26404
26405 if test "x$PNG_LINK" = "x" ; then
26406 if test "$wxUSE_LIBPNG" = "sys" ; then
26407 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26408 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26409 { (exit 1); exit 1; }; }
26410 else
26411 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26412 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26413 wxUSE_LIBPNG=builtin
26414 fi
26415 else
26416 wxUSE_LIBPNG=sys
26417 fi
26418 fi
26419 fi
26420
26421 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
26422 fi
26423
26424
26425 JPEG_LINK=
26426 if test "$wxUSE_LIBJPEG" != "no" ; then
26427 cat >>confdefs.h <<\_ACEOF
26428 #define wxUSE_LIBJPEG 1
26429 _ACEOF
26430
26431
26432 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26433 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26434 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26435 wxUSE_LIBJPEG=sys
26436 fi
26437
26438 if test "$wxUSE_MGL" != 1 ; then
26439 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26440 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26441 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
26442 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26443 echo $ECHO_N "(cached) $ECHO_C" >&6
26444 else
26445 cat >conftest.$ac_ext <<_ACEOF
26446 /* confdefs.h. */
26447 _ACEOF
26448 cat confdefs.h >>conftest.$ac_ext
26449 cat >>conftest.$ac_ext <<_ACEOF
26450 /* end confdefs.h. */
26451
26452 #undef HAVE_STDLIB_H
26453 #include <stdio.h>
26454 #include <jpeglib.h>
26455
26456 int
26457 main ()
26458 {
26459
26460
26461 ;
26462 return 0;
26463 }
26464 _ACEOF
26465 rm -f conftest.$ac_objext
26466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26467 (eval $ac_compile) 2>conftest.er1
26468 ac_status=$?
26469 grep -v '^ *+' conftest.er1 >conftest.err
26470 rm -f conftest.er1
26471 cat conftest.err >&5
26472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26473 (exit $ac_status); } &&
26474 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26476 (eval $ac_try) 2>&5
26477 ac_status=$?
26478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26479 (exit $ac_status); }; } &&
26480 { ac_try='test -s conftest.$ac_objext'
26481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26482 (eval $ac_try) 2>&5
26483 ac_status=$?
26484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26485 (exit $ac_status); }; }; then
26486 ac_cv_header_jpeglib_h=yes
26487 else
26488 echo "$as_me: failed program was:" >&5
26489 sed 's/^/| /' conftest.$ac_ext >&5
26490
26491 ac_cv_header_jpeglib_h=no
26492
26493 fi
26494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26495
26496 fi
26497
26498 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26499 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
26500
26501 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26502 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26503 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
26504 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26505 echo $ECHO_N "(cached) $ECHO_C" >&6
26506 else
26507 ac_check_lib_save_LIBS=$LIBS
26508 LIBS="-ljpeg $LIBS"
26509 cat >conftest.$ac_ext <<_ACEOF
26510 /* confdefs.h. */
26511 _ACEOF
26512 cat confdefs.h >>conftest.$ac_ext
26513 cat >>conftest.$ac_ext <<_ACEOF
26514 /* end confdefs.h. */
26515
26516 /* Override any gcc2 internal prototype to avoid an error. */
26517 #ifdef __cplusplus
26518 extern "C"
26519 #endif
26520 /* We use char because int might match the return type of a gcc2
26521 builtin and then its argument prototype would still apply. */
26522 char jpeg_read_header ();
26523 int
26524 main ()
26525 {
26526 jpeg_read_header ();
26527 ;
26528 return 0;
26529 }
26530 _ACEOF
26531 rm -f conftest.$ac_objext conftest$ac_exeext
26532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26533 (eval $ac_link) 2>conftest.er1
26534 ac_status=$?
26535 grep -v '^ *+' conftest.er1 >conftest.err
26536 rm -f conftest.er1
26537 cat conftest.err >&5
26538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26539 (exit $ac_status); } &&
26540 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26542 (eval $ac_try) 2>&5
26543 ac_status=$?
26544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26545 (exit $ac_status); }; } &&
26546 { ac_try='test -s conftest$ac_exeext'
26547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26548 (eval $ac_try) 2>&5
26549 ac_status=$?
26550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26551 (exit $ac_status); }; }; then
26552 ac_cv_lib_jpeg_jpeg_read_header=yes
26553 else
26554 echo "$as_me: failed program was:" >&5
26555 sed 's/^/| /' conftest.$ac_ext >&5
26556
26557 ac_cv_lib_jpeg_jpeg_read_header=no
26558 fi
26559 rm -f conftest.err conftest.$ac_objext \
26560 conftest$ac_exeext conftest.$ac_ext
26561 LIBS=$ac_check_lib_save_LIBS
26562 fi
26563 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26564 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26565 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26566 JPEG_LINK=" -ljpeg"
26567 fi
26568
26569 fi
26570
26571 if test "x$JPEG_LINK" = "x" ; then
26572 if test "$wxUSE_LIBJPEG" = "sys" ; then
26573 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26574 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26575 { (exit 1); exit 1; }; }
26576 else
26577 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26578 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26579 wxUSE_LIBJPEG=builtin
26580 fi
26581 else
26582 wxUSE_LIBJPEG=sys
26583 fi
26584 fi
26585 fi
26586 fi
26587
26588
26589 TIFF_LINK=
26590 TIFF_PREREQ_LINKS=-lm
26591 if test "$wxUSE_LIBTIFF" != "no" ; then
26592 cat >>confdefs.h <<\_ACEOF
26593 #define wxUSE_LIBTIFF 1
26594 _ACEOF
26595
26596
26597 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26598 if test "$wxUSE_LIBJPEG" = "sys"; then
26599 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26600 fi
26601 if test "$wxUSE_ZLIB" = "sys"; then
26602 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26603 fi
26604 if test "${ac_cv_header_tiffio_h+set}" = set; then
26605 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26606 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26607 if test "${ac_cv_header_tiffio_h+set}" = set; then
26608 echo $ECHO_N "(cached) $ECHO_C" >&6
26609 fi
26610 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26611 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26612 else
26613 # Is the header compilable?
26614 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26615 echo $ECHO_N "checking tiffio.h usability... $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 $ac_includes_default
26623 #include <tiffio.h>
26624 _ACEOF
26625 rm -f conftest.$ac_objext
26626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26627 (eval $ac_compile) 2>conftest.er1
26628 ac_status=$?
26629 grep -v '^ *+' conftest.er1 >conftest.err
26630 rm -f conftest.er1
26631 cat conftest.err >&5
26632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26633 (exit $ac_status); } &&
26634 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26636 (eval $ac_try) 2>&5
26637 ac_status=$?
26638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26639 (exit $ac_status); }; } &&
26640 { ac_try='test -s conftest.$ac_objext'
26641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26642 (eval $ac_try) 2>&5
26643 ac_status=$?
26644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26645 (exit $ac_status); }; }; then
26646 ac_header_compiler=yes
26647 else
26648 echo "$as_me: failed program was:" >&5
26649 sed 's/^/| /' conftest.$ac_ext >&5
26650
26651 ac_header_compiler=no
26652 fi
26653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26654 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26655 echo "${ECHO_T}$ac_header_compiler" >&6
26656
26657 # Is the header present?
26658 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26659 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26660 cat >conftest.$ac_ext <<_ACEOF
26661 /* confdefs.h. */
26662 _ACEOF
26663 cat confdefs.h >>conftest.$ac_ext
26664 cat >>conftest.$ac_ext <<_ACEOF
26665 /* end confdefs.h. */
26666 #include <tiffio.h>
26667 _ACEOF
26668 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26669 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26670 ac_status=$?
26671 grep -v '^ *+' conftest.er1 >conftest.err
26672 rm -f conftest.er1
26673 cat conftest.err >&5
26674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26675 (exit $ac_status); } >/dev/null; then
26676 if test -s conftest.err; then
26677 ac_cpp_err=$ac_cxx_preproc_warn_flag
26678 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26679 else
26680 ac_cpp_err=
26681 fi
26682 else
26683 ac_cpp_err=yes
26684 fi
26685 if test -z "$ac_cpp_err"; then
26686 ac_header_preproc=yes
26687 else
26688 echo "$as_me: failed program was:" >&5
26689 sed 's/^/| /' conftest.$ac_ext >&5
26690
26691 ac_header_preproc=no
26692 fi
26693 rm -f conftest.err conftest.$ac_ext
26694 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26695 echo "${ECHO_T}$ac_header_preproc" >&6
26696
26697 # So? What about this header?
26698 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26699 yes:no: )
26700 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26701 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26702 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26703 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26704 ac_header_preproc=yes
26705 ;;
26706 no:yes:* )
26707 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26708 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26709 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26710 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26711 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26712 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26713 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26714 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26715 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26716 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26717 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26718 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26719 (
26720 cat <<\_ASBOX
26721 ## ----------------------------------------- ##
26722 ## Report this to wx-dev@lists.wxwidgets.org ##
26723 ## ----------------------------------------- ##
26724 _ASBOX
26725 ) |
26726 sed "s/^/$as_me: WARNING: /" >&2
26727 ;;
26728 esac
26729 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26730 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26731 if test "${ac_cv_header_tiffio_h+set}" = set; then
26732 echo $ECHO_N "(cached) $ECHO_C" >&6
26733 else
26734 ac_cv_header_tiffio_h=$ac_header_preproc
26735 fi
26736 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26737 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26738
26739 fi
26740 if test $ac_cv_header_tiffio_h = yes; then
26741
26742 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26743 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26744 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26745 echo $ECHO_N "(cached) $ECHO_C" >&6
26746 else
26747 ac_check_lib_save_LIBS=$LIBS
26748 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26749 cat >conftest.$ac_ext <<_ACEOF
26750 /* confdefs.h. */
26751 _ACEOF
26752 cat confdefs.h >>conftest.$ac_ext
26753 cat >>conftest.$ac_ext <<_ACEOF
26754 /* end confdefs.h. */
26755
26756 /* Override any gcc2 internal prototype to avoid an error. */
26757 #ifdef __cplusplus
26758 extern "C"
26759 #endif
26760 /* We use char because int might match the return type of a gcc2
26761 builtin and then its argument prototype would still apply. */
26762 char TIFFError ();
26763 int
26764 main ()
26765 {
26766 TIFFError ();
26767 ;
26768 return 0;
26769 }
26770 _ACEOF
26771 rm -f conftest.$ac_objext conftest$ac_exeext
26772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26773 (eval $ac_link) 2>conftest.er1
26774 ac_status=$?
26775 grep -v '^ *+' conftest.er1 >conftest.err
26776 rm -f conftest.er1
26777 cat conftest.err >&5
26778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26779 (exit $ac_status); } &&
26780 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26782 (eval $ac_try) 2>&5
26783 ac_status=$?
26784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26785 (exit $ac_status); }; } &&
26786 { ac_try='test -s conftest$ac_exeext'
26787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26788 (eval $ac_try) 2>&5
26789 ac_status=$?
26790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26791 (exit $ac_status); }; }; then
26792 ac_cv_lib_tiff_TIFFError=yes
26793 else
26794 echo "$as_me: failed program was:" >&5
26795 sed 's/^/| /' conftest.$ac_ext >&5
26796
26797 ac_cv_lib_tiff_TIFFError=no
26798 fi
26799 rm -f conftest.err conftest.$ac_objext \
26800 conftest$ac_exeext conftest.$ac_ext
26801 LIBS=$ac_check_lib_save_LIBS
26802 fi
26803 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26804 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26805 if test $ac_cv_lib_tiff_TIFFError = yes; then
26806 TIFF_LINK=" -ltiff"
26807 fi
26808
26809
26810
26811 fi
26812
26813
26814
26815 if test "x$TIFF_LINK" = "x" ; then
26816 if test "$wxUSE_LIBTIFF" = "sys" ; then
26817 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26818 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26819 { (exit 1); exit 1; }; }
26820 else
26821 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26822 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26823 wxUSE_LIBTIFF=builtin
26824 fi
26825 else
26826 wxUSE_LIBTIFF=sys
26827 fi
26828 fi
26829 fi
26830
26831
26832 if test "$wxUSE_WCHAR_T" != "yes"; then
26833 if test "$wxUSE_EXPAT" != "no"; then
26834 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26835 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26836 wxUSE_EXPAT=no
26837 fi
26838 if test "$wxUSE_XML" != "no"; then
26839 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26840 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26841 wxUSE_XML=no
26842 fi
26843 fi
26844
26845 if test "$wxUSE_EXPAT" != "no"; then
26846 wxUSE_XML=yes
26847 cat >>confdefs.h <<\_ACEOF
26848 #define wxUSE_EXPAT 1
26849 _ACEOF
26850
26851 cat >>confdefs.h <<\_ACEOF
26852 #define wxUSE_XML 1
26853 _ACEOF
26854
26855
26856 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26857 if test "${ac_cv_header_expat_h+set}" = set; then
26858 echo "$as_me:$LINENO: checking for expat.h" >&5
26859 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26860 if test "${ac_cv_header_expat_h+set}" = set; then
26861 echo $ECHO_N "(cached) $ECHO_C" >&6
26862 fi
26863 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26864 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26865 else
26866 # Is the header compilable?
26867 echo "$as_me:$LINENO: checking expat.h usability" >&5
26868 echo $ECHO_N "checking expat.h usability... $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 $ac_includes_default
26876 #include <expat.h>
26877 _ACEOF
26878 rm -f conftest.$ac_objext
26879 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26880 (eval $ac_compile) 2>conftest.er1
26881 ac_status=$?
26882 grep -v '^ *+' conftest.er1 >conftest.err
26883 rm -f conftest.er1
26884 cat conftest.err >&5
26885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26886 (exit $ac_status); } &&
26887 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26889 (eval $ac_try) 2>&5
26890 ac_status=$?
26891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26892 (exit $ac_status); }; } &&
26893 { ac_try='test -s conftest.$ac_objext'
26894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26895 (eval $ac_try) 2>&5
26896 ac_status=$?
26897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26898 (exit $ac_status); }; }; then
26899 ac_header_compiler=yes
26900 else
26901 echo "$as_me: failed program was:" >&5
26902 sed 's/^/| /' conftest.$ac_ext >&5
26903
26904 ac_header_compiler=no
26905 fi
26906 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26907 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26908 echo "${ECHO_T}$ac_header_compiler" >&6
26909
26910 # Is the header present?
26911 echo "$as_me:$LINENO: checking expat.h presence" >&5
26912 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26913 cat >conftest.$ac_ext <<_ACEOF
26914 /* confdefs.h. */
26915 _ACEOF
26916 cat confdefs.h >>conftest.$ac_ext
26917 cat >>conftest.$ac_ext <<_ACEOF
26918 /* end confdefs.h. */
26919 #include <expat.h>
26920 _ACEOF
26921 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26922 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26923 ac_status=$?
26924 grep -v '^ *+' conftest.er1 >conftest.err
26925 rm -f conftest.er1
26926 cat conftest.err >&5
26927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26928 (exit $ac_status); } >/dev/null; then
26929 if test -s conftest.err; then
26930 ac_cpp_err=$ac_cxx_preproc_warn_flag
26931 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26932 else
26933 ac_cpp_err=
26934 fi
26935 else
26936 ac_cpp_err=yes
26937 fi
26938 if test -z "$ac_cpp_err"; then
26939 ac_header_preproc=yes
26940 else
26941 echo "$as_me: failed program was:" >&5
26942 sed 's/^/| /' conftest.$ac_ext >&5
26943
26944 ac_header_preproc=no
26945 fi
26946 rm -f conftest.err conftest.$ac_ext
26947 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26948 echo "${ECHO_T}$ac_header_preproc" >&6
26949
26950 # So? What about this header?
26951 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26952 yes:no: )
26953 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26954 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26955 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26956 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26957 ac_header_preproc=yes
26958 ;;
26959 no:yes:* )
26960 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26961 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26962 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26963 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26964 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26965 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26966 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26967 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26968 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26969 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26970 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26971 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26972 (
26973 cat <<\_ASBOX
26974 ## ----------------------------------------- ##
26975 ## Report this to wx-dev@lists.wxwidgets.org ##
26976 ## ----------------------------------------- ##
26977 _ASBOX
26978 ) |
26979 sed "s/^/$as_me: WARNING: /" >&2
26980 ;;
26981 esac
26982 echo "$as_me:$LINENO: checking for expat.h" >&5
26983 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26984 if test "${ac_cv_header_expat_h+set}" = set; then
26985 echo $ECHO_N "(cached) $ECHO_C" >&6
26986 else
26987 ac_cv_header_expat_h=$ac_header_preproc
26988 fi
26989 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26990 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26991
26992 fi
26993 if test $ac_cv_header_expat_h = yes; then
26994 found_expat_h=1
26995 fi
26996
26997
26998 if test "x$found_expat_h" = "x1"; then
26999 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27000 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
27001 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27002 echo $ECHO_N "(cached) $ECHO_C" >&6
27003 else
27004
27005 cat >conftest.$ac_ext <<_ACEOF
27006 /* confdefs.h. */
27007 _ACEOF
27008 cat confdefs.h >>conftest.$ac_ext
27009 cat >>conftest.$ac_ext <<_ACEOF
27010 /* end confdefs.h. */
27011 #include <expat.h>
27012 int
27013 main ()
27014 {
27015
27016 ;
27017 return 0;
27018 }
27019 _ACEOF
27020 rm -f conftest.$ac_objext
27021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27022 (eval $ac_compile) 2>conftest.er1
27023 ac_status=$?
27024 grep -v '^ *+' conftest.er1 >conftest.err
27025 rm -f conftest.er1
27026 cat conftest.err >&5
27027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27028 (exit $ac_status); } &&
27029 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27031 (eval $ac_try) 2>&5
27032 ac_status=$?
27033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27034 (exit $ac_status); }; } &&
27035 { ac_try='test -s conftest.$ac_objext'
27036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27037 (eval $ac_try) 2>&5
27038 ac_status=$?
27039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27040 (exit $ac_status); }; }; then
27041 wx_cv_expat_is_not_broken=yes
27042 else
27043 echo "$as_me: failed program was:" >&5
27044 sed 's/^/| /' conftest.$ac_ext >&5
27045
27046 wx_cv_expat_is_not_broken=no
27047
27048 fi
27049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27050
27051
27052 fi
27053 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27054 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
27055 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27056 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27057 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
27058 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27059 echo $ECHO_N "(cached) $ECHO_C" >&6
27060 else
27061 ac_check_lib_save_LIBS=$LIBS
27062 LIBS="-lexpat $LIBS"
27063 cat >conftest.$ac_ext <<_ACEOF
27064 /* confdefs.h. */
27065 _ACEOF
27066 cat confdefs.h >>conftest.$ac_ext
27067 cat >>conftest.$ac_ext <<_ACEOF
27068 /* end confdefs.h. */
27069
27070 /* Override any gcc2 internal prototype to avoid an error. */
27071 #ifdef __cplusplus
27072 extern "C"
27073 #endif
27074 /* We use char because int might match the return type of a gcc2
27075 builtin and then its argument prototype would still apply. */
27076 char XML_ParserCreate ();
27077 int
27078 main ()
27079 {
27080 XML_ParserCreate ();
27081 ;
27082 return 0;
27083 }
27084 _ACEOF
27085 rm -f conftest.$ac_objext conftest$ac_exeext
27086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27087 (eval $ac_link) 2>conftest.er1
27088 ac_status=$?
27089 grep -v '^ *+' conftest.er1 >conftest.err
27090 rm -f conftest.er1
27091 cat conftest.err >&5
27092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27093 (exit $ac_status); } &&
27094 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27096 (eval $ac_try) 2>&5
27097 ac_status=$?
27098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27099 (exit $ac_status); }; } &&
27100 { ac_try='test -s conftest$ac_exeext'
27101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27102 (eval $ac_try) 2>&5
27103 ac_status=$?
27104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27105 (exit $ac_status); }; }; then
27106 ac_cv_lib_expat_XML_ParserCreate=yes
27107 else
27108 echo "$as_me: failed program was:" >&5
27109 sed 's/^/| /' conftest.$ac_ext >&5
27110
27111 ac_cv_lib_expat_XML_ParserCreate=no
27112 fi
27113 rm -f conftest.err conftest.$ac_objext \
27114 conftest$ac_exeext conftest.$ac_ext
27115 LIBS=$ac_check_lib_save_LIBS
27116 fi
27117 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27118 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
27119 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27120 EXPAT_LINK=" -lexpat"
27121 fi
27122
27123 fi
27124 fi
27125 if test "x$EXPAT_LINK" = "x" ; then
27126 if test "$wxUSE_EXPAT" = "sys" ; then
27127 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27128 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27129 { (exit 1); exit 1; }; }
27130 else
27131 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27132 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27133 wxUSE_EXPAT=builtin
27134 fi
27135 else
27136 wxUSE_EXPAT=sys
27137 fi
27138 fi
27139 if test "$wxUSE_EXPAT" = "builtin" ; then
27140
27141
27142 subdirs="$subdirs src/expat"
27143
27144 fi
27145 fi
27146
27147
27148
27149 if test "$wxUSE_LIBMSPACK" != "no"; then
27150 if test "${ac_cv_header_mspack_h+set}" = set; then
27151 echo "$as_me:$LINENO: checking for mspack.h" >&5
27152 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27153 if test "${ac_cv_header_mspack_h+set}" = set; then
27154 echo $ECHO_N "(cached) $ECHO_C" >&6
27155 fi
27156 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27157 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27158 else
27159 # Is the header compilable?
27160 echo "$as_me:$LINENO: checking mspack.h usability" >&5
27161 echo $ECHO_N "checking mspack.h usability... $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 $ac_includes_default
27169 #include <mspack.h>
27170 _ACEOF
27171 rm -f conftest.$ac_objext
27172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27173 (eval $ac_compile) 2>conftest.er1
27174 ac_status=$?
27175 grep -v '^ *+' conftest.er1 >conftest.err
27176 rm -f conftest.er1
27177 cat conftest.err >&5
27178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27179 (exit $ac_status); } &&
27180 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27182 (eval $ac_try) 2>&5
27183 ac_status=$?
27184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27185 (exit $ac_status); }; } &&
27186 { ac_try='test -s conftest.$ac_objext'
27187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27188 (eval $ac_try) 2>&5
27189 ac_status=$?
27190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27191 (exit $ac_status); }; }; then
27192 ac_header_compiler=yes
27193 else
27194 echo "$as_me: failed program was:" >&5
27195 sed 's/^/| /' conftest.$ac_ext >&5
27196
27197 ac_header_compiler=no
27198 fi
27199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27200 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27201 echo "${ECHO_T}$ac_header_compiler" >&6
27202
27203 # Is the header present?
27204 echo "$as_me:$LINENO: checking mspack.h presence" >&5
27205 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
27206 cat >conftest.$ac_ext <<_ACEOF
27207 /* confdefs.h. */
27208 _ACEOF
27209 cat confdefs.h >>conftest.$ac_ext
27210 cat >>conftest.$ac_ext <<_ACEOF
27211 /* end confdefs.h. */
27212 #include <mspack.h>
27213 _ACEOF
27214 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27215 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27216 ac_status=$?
27217 grep -v '^ *+' conftest.er1 >conftest.err
27218 rm -f conftest.er1
27219 cat conftest.err >&5
27220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27221 (exit $ac_status); } >/dev/null; then
27222 if test -s conftest.err; then
27223 ac_cpp_err=$ac_cxx_preproc_warn_flag
27224 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27225 else
27226 ac_cpp_err=
27227 fi
27228 else
27229 ac_cpp_err=yes
27230 fi
27231 if test -z "$ac_cpp_err"; then
27232 ac_header_preproc=yes
27233 else
27234 echo "$as_me: failed program was:" >&5
27235 sed 's/^/| /' conftest.$ac_ext >&5
27236
27237 ac_header_preproc=no
27238 fi
27239 rm -f conftest.err conftest.$ac_ext
27240 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27241 echo "${ECHO_T}$ac_header_preproc" >&6
27242
27243 # So? What about this header?
27244 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27245 yes:no: )
27246 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
27247 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27248 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
27249 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
27250 ac_header_preproc=yes
27251 ;;
27252 no:yes:* )
27253 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
27254 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
27255 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
27256 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
27257 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
27258 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
27259 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
27260 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
27261 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
27262 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
27263 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
27264 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
27265 (
27266 cat <<\_ASBOX
27267 ## ----------------------------------------- ##
27268 ## Report this to wx-dev@lists.wxwidgets.org ##
27269 ## ----------------------------------------- ##
27270 _ASBOX
27271 ) |
27272 sed "s/^/$as_me: WARNING: /" >&2
27273 ;;
27274 esac
27275 echo "$as_me:$LINENO: checking for mspack.h" >&5
27276 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27277 if test "${ac_cv_header_mspack_h+set}" = set; then
27278 echo $ECHO_N "(cached) $ECHO_C" >&6
27279 else
27280 ac_cv_header_mspack_h=$ac_header_preproc
27281 fi
27282 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27283 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27284
27285 fi
27286 if test $ac_cv_header_mspack_h = yes; then
27287 found_mspack_h=1
27288 fi
27289
27290
27291 if test "x$found_mspack_h" = "x1"; then
27292 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27293 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
27294 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27295 echo $ECHO_N "(cached) $ECHO_C" >&6
27296 else
27297 ac_check_lib_save_LIBS=$LIBS
27298 LIBS="-lmspack $LIBS"
27299 cat >conftest.$ac_ext <<_ACEOF
27300 /* confdefs.h. */
27301 _ACEOF
27302 cat confdefs.h >>conftest.$ac_ext
27303 cat >>conftest.$ac_ext <<_ACEOF
27304 /* end confdefs.h. */
27305
27306 /* Override any gcc2 internal prototype to avoid an error. */
27307 #ifdef __cplusplus
27308 extern "C"
27309 #endif
27310 /* We use char because int might match the return type of a gcc2
27311 builtin and then its argument prototype would still apply. */
27312 char mspack_create_chm_decompressor ();
27313 int
27314 main ()
27315 {
27316 mspack_create_chm_decompressor ();
27317 ;
27318 return 0;
27319 }
27320 _ACEOF
27321 rm -f conftest.$ac_objext conftest$ac_exeext
27322 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27323 (eval $ac_link) 2>conftest.er1
27324 ac_status=$?
27325 grep -v '^ *+' conftest.er1 >conftest.err
27326 rm -f conftest.er1
27327 cat conftest.err >&5
27328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27329 (exit $ac_status); } &&
27330 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27332 (eval $ac_try) 2>&5
27333 ac_status=$?
27334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27335 (exit $ac_status); }; } &&
27336 { ac_try='test -s conftest$ac_exeext'
27337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27338 (eval $ac_try) 2>&5
27339 ac_status=$?
27340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27341 (exit $ac_status); }; }; then
27342 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27343 else
27344 echo "$as_me: failed program was:" >&5
27345 sed 's/^/| /' conftest.$ac_ext >&5
27346
27347 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27348 fi
27349 rm -f conftest.err conftest.$ac_objext \
27350 conftest$ac_exeext conftest.$ac_ext
27351 LIBS=$ac_check_lib_save_LIBS
27352 fi
27353 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27354 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
27355 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27356 MSPACK_LINK=" -lmspack"
27357 fi
27358
27359 fi
27360 if test "x$MSPACK_LINK" = "x" ; then
27361 wxUSE_LIBMSPACK=no
27362 fi
27363 fi
27364
27365 if test "$wxUSE_LIBMSPACK" != "no"; then
27366 cat >>confdefs.h <<\_ACEOF
27367 #define wxUSE_LIBMSPACK 1
27368 _ACEOF
27369
27370 fi
27371
27372
27373
27374 AFMINSTALL=
27375 WIN32INSTALL=
27376
27377 TOOLKIT=
27378 TOOLKIT_INCLUDE=
27379 WIDGET_SET=
27380
27381 if test "$USE_WIN32" = 1 ; then
27382
27383 for ac_header in w32api.h
27384 do
27385 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27386 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27387 echo "$as_me:$LINENO: checking for $ac_header" >&5
27388 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27389 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27390 echo $ECHO_N "(cached) $ECHO_C" >&6
27391 fi
27392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27393 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27394 else
27395 # Is the header compilable?
27396 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27397 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
27405 #include <$ac_header>
27406 _ACEOF
27407 rm -f conftest.$ac_objext
27408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27409 (eval $ac_compile) 2>conftest.er1
27410 ac_status=$?
27411 grep -v '^ *+' conftest.er1 >conftest.err
27412 rm -f conftest.er1
27413 cat conftest.err >&5
27414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27415 (exit $ac_status); } &&
27416 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27418 (eval $ac_try) 2>&5
27419 ac_status=$?
27420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27421 (exit $ac_status); }; } &&
27422 { ac_try='test -s conftest.$ac_objext'
27423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27424 (eval $ac_try) 2>&5
27425 ac_status=$?
27426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27427 (exit $ac_status); }; }; then
27428 ac_header_compiler=yes
27429 else
27430 echo "$as_me: failed program was:" >&5
27431 sed 's/^/| /' conftest.$ac_ext >&5
27432
27433 ac_header_compiler=no
27434 fi
27435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27436 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27437 echo "${ECHO_T}$ac_header_compiler" >&6
27438
27439 # Is the header present?
27440 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27441 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27442 cat >conftest.$ac_ext <<_ACEOF
27443 /* confdefs.h. */
27444 _ACEOF
27445 cat confdefs.h >>conftest.$ac_ext
27446 cat >>conftest.$ac_ext <<_ACEOF
27447 /* end confdefs.h. */
27448 #include <$ac_header>
27449 _ACEOF
27450 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27451 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27452 ac_status=$?
27453 grep -v '^ *+' conftest.er1 >conftest.err
27454 rm -f conftest.er1
27455 cat conftest.err >&5
27456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27457 (exit $ac_status); } >/dev/null; then
27458 if test -s conftest.err; then
27459 ac_cpp_err=$ac_cxx_preproc_warn_flag
27460 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27461 else
27462 ac_cpp_err=
27463 fi
27464 else
27465 ac_cpp_err=yes
27466 fi
27467 if test -z "$ac_cpp_err"; then
27468 ac_header_preproc=yes
27469 else
27470 echo "$as_me: failed program was:" >&5
27471 sed 's/^/| /' conftest.$ac_ext >&5
27472
27473 ac_header_preproc=no
27474 fi
27475 rm -f conftest.err conftest.$ac_ext
27476 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27477 echo "${ECHO_T}$ac_header_preproc" >&6
27478
27479 # So? What about this header?
27480 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27481 yes:no: )
27482 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27483 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27484 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27485 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27486 ac_header_preproc=yes
27487 ;;
27488 no:yes:* )
27489 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27490 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27491 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27492 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27493 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27494 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27495 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27496 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27497 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27498 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27499 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27500 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27501 (
27502 cat <<\_ASBOX
27503 ## ----------------------------------------- ##
27504 ## Report this to wx-dev@lists.wxwidgets.org ##
27505 ## ----------------------------------------- ##
27506 _ASBOX
27507 ) |
27508 sed "s/^/$as_me: WARNING: /" >&2
27509 ;;
27510 esac
27511 echo "$as_me:$LINENO: checking for $ac_header" >&5
27512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27514 echo $ECHO_N "(cached) $ECHO_C" >&6
27515 else
27516 eval "$as_ac_Header=\$ac_header_preproc"
27517 fi
27518 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27519 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27520
27521 fi
27522 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27523 cat >>confdefs.h <<_ACEOF
27524 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27525 _ACEOF
27526
27527 fi
27528
27529 done
27530
27531 if test "${ac_cv_header_windows_h+set}" = set; then
27532 echo "$as_me:$LINENO: checking for windows.h" >&5
27533 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27534 if test "${ac_cv_header_windows_h+set}" = set; then
27535 echo $ECHO_N "(cached) $ECHO_C" >&6
27536 fi
27537 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27538 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27539 else
27540 # Is the header compilable?
27541 echo "$as_me:$LINENO: checking windows.h usability" >&5
27542 echo $ECHO_N "checking windows.h usability... $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 $ac_includes_default
27550 #include <windows.h>
27551 _ACEOF
27552 rm -f conftest.$ac_objext
27553 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27554 (eval $ac_compile) 2>conftest.er1
27555 ac_status=$?
27556 grep -v '^ *+' conftest.er1 >conftest.err
27557 rm -f conftest.er1
27558 cat conftest.err >&5
27559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27560 (exit $ac_status); } &&
27561 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27563 (eval $ac_try) 2>&5
27564 ac_status=$?
27565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27566 (exit $ac_status); }; } &&
27567 { ac_try='test -s conftest.$ac_objext'
27568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27569 (eval $ac_try) 2>&5
27570 ac_status=$?
27571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27572 (exit $ac_status); }; }; then
27573 ac_header_compiler=yes
27574 else
27575 echo "$as_me: failed program was:" >&5
27576 sed 's/^/| /' conftest.$ac_ext >&5
27577
27578 ac_header_compiler=no
27579 fi
27580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27581 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27582 echo "${ECHO_T}$ac_header_compiler" >&6
27583
27584 # Is the header present?
27585 echo "$as_me:$LINENO: checking windows.h presence" >&5
27586 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27587 cat >conftest.$ac_ext <<_ACEOF
27588 /* confdefs.h. */
27589 _ACEOF
27590 cat confdefs.h >>conftest.$ac_ext
27591 cat >>conftest.$ac_ext <<_ACEOF
27592 /* end confdefs.h. */
27593 #include <windows.h>
27594 _ACEOF
27595 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27596 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27597 ac_status=$?
27598 grep -v '^ *+' conftest.er1 >conftest.err
27599 rm -f conftest.er1
27600 cat conftest.err >&5
27601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27602 (exit $ac_status); } >/dev/null; then
27603 if test -s conftest.err; then
27604 ac_cpp_err=$ac_cxx_preproc_warn_flag
27605 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27606 else
27607 ac_cpp_err=
27608 fi
27609 else
27610 ac_cpp_err=yes
27611 fi
27612 if test -z "$ac_cpp_err"; then
27613 ac_header_preproc=yes
27614 else
27615 echo "$as_me: failed program was:" >&5
27616 sed 's/^/| /' conftest.$ac_ext >&5
27617
27618 ac_header_preproc=no
27619 fi
27620 rm -f conftest.err conftest.$ac_ext
27621 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27622 echo "${ECHO_T}$ac_header_preproc" >&6
27623
27624 # So? What about this header?
27625 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27626 yes:no: )
27627 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27628 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27629 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27630 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27631 ac_header_preproc=yes
27632 ;;
27633 no:yes:* )
27634 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27635 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27636 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27637 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27638 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27639 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27640 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27641 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27642 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27643 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27644 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27645 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27646 (
27647 cat <<\_ASBOX
27648 ## ----------------------------------------- ##
27649 ## Report this to wx-dev@lists.wxwidgets.org ##
27650 ## ----------------------------------------- ##
27651 _ASBOX
27652 ) |
27653 sed "s/^/$as_me: WARNING: /" >&2
27654 ;;
27655 esac
27656 echo "$as_me:$LINENO: checking for windows.h" >&5
27657 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27658 if test "${ac_cv_header_windows_h+set}" = set; then
27659 echo $ECHO_N "(cached) $ECHO_C" >&6
27660 else
27661 ac_cv_header_windows_h=$ac_header_preproc
27662 fi
27663 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27664 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27665
27666 fi
27667 if test $ac_cv_header_windows_h = yes; then
27668 :
27669 else
27670
27671 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27672 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27673 { (exit 1); exit 1; }; }
27674
27675 fi
27676
27677
27678
27679 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27680
27681 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27682 LIBS="$LIBS -loleacc"
27683 fi
27684
27685 case "${host}" in
27686 *-*-cygwin* )
27687 LIBS="$LIBS -lkernel32 -luser32"
27688 esac
27689
27690 if test "$wxUSE_ODBC" = "sys" ; then
27691 wxUSE_ODBC = "yes"
27692 fi
27693 if test "$wxUSE_ODBC" = "yes" ; then
27694 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27695 cat >>confdefs.h <<\_ACEOF
27696 #define wxUSE_ODBC 1
27697 _ACEOF
27698
27699 fi
27700
27701 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27702 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27703
27704 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27705
27706 WIN32INSTALL=win32install
27707
27708 echo "$as_me:$LINENO: checking for boolean" >&5
27709 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27710 if test "${ac_cv_type_boolean+set}" = set; then
27711 echo $ECHO_N "(cached) $ECHO_C" >&6
27712 else
27713 cat >conftest.$ac_ext <<_ACEOF
27714 /* confdefs.h. */
27715 _ACEOF
27716 cat confdefs.h >>conftest.$ac_ext
27717 cat >>conftest.$ac_ext <<_ACEOF
27718 /* end confdefs.h. */
27719 #include <windows.h>
27720
27721 int
27722 main ()
27723 {
27724 if ((boolean *) 0)
27725 return 0;
27726 if (sizeof (boolean))
27727 return 0;
27728 ;
27729 return 0;
27730 }
27731 _ACEOF
27732 rm -f conftest.$ac_objext
27733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27734 (eval $ac_compile) 2>conftest.er1
27735 ac_status=$?
27736 grep -v '^ *+' conftest.er1 >conftest.err
27737 rm -f conftest.er1
27738 cat conftest.err >&5
27739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27740 (exit $ac_status); } &&
27741 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27743 (eval $ac_try) 2>&5
27744 ac_status=$?
27745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27746 (exit $ac_status); }; } &&
27747 { ac_try='test -s conftest.$ac_objext'
27748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27749 (eval $ac_try) 2>&5
27750 ac_status=$?
27751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27752 (exit $ac_status); }; }; then
27753 ac_cv_type_boolean=yes
27754 else
27755 echo "$as_me: failed program was:" >&5
27756 sed 's/^/| /' conftest.$ac_ext >&5
27757
27758 ac_cv_type_boolean=no
27759 fi
27760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27761 fi
27762 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27763 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27764 if test $ac_cv_type_boolean = yes; then
27765
27766 cat >>confdefs.h <<_ACEOF
27767 #define HAVE_BOOLEAN 1
27768 _ACEOF
27769
27770
27771 fi
27772
27773
27774
27775 for ac_header in pbt.h
27776 do
27777 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27778 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27779 echo "$as_me:$LINENO: checking for $ac_header" >&5
27780 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27781 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27782 echo $ECHO_N "(cached) $ECHO_C" >&6
27783 fi
27784 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27785 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27786 else
27787 # Is the header compilable?
27788 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27789 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
27797 #include <$ac_header>
27798 _ACEOF
27799 rm -f conftest.$ac_objext
27800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27801 (eval $ac_compile) 2>conftest.er1
27802 ac_status=$?
27803 grep -v '^ *+' conftest.er1 >conftest.err
27804 rm -f conftest.er1
27805 cat conftest.err >&5
27806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27807 (exit $ac_status); } &&
27808 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27810 (eval $ac_try) 2>&5
27811 ac_status=$?
27812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27813 (exit $ac_status); }; } &&
27814 { ac_try='test -s conftest.$ac_objext'
27815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27816 (eval $ac_try) 2>&5
27817 ac_status=$?
27818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27819 (exit $ac_status); }; }; then
27820 ac_header_compiler=yes
27821 else
27822 echo "$as_me: failed program was:" >&5
27823 sed 's/^/| /' conftest.$ac_ext >&5
27824
27825 ac_header_compiler=no
27826 fi
27827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27828 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27829 echo "${ECHO_T}$ac_header_compiler" >&6
27830
27831 # Is the header present?
27832 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27833 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27834 cat >conftest.$ac_ext <<_ACEOF
27835 /* confdefs.h. */
27836 _ACEOF
27837 cat confdefs.h >>conftest.$ac_ext
27838 cat >>conftest.$ac_ext <<_ACEOF
27839 /* end confdefs.h. */
27840 #include <$ac_header>
27841 _ACEOF
27842 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27843 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27844 ac_status=$?
27845 grep -v '^ *+' conftest.er1 >conftest.err
27846 rm -f conftest.er1
27847 cat conftest.err >&5
27848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27849 (exit $ac_status); } >/dev/null; then
27850 if test -s conftest.err; then
27851 ac_cpp_err=$ac_cxx_preproc_warn_flag
27852 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27853 else
27854 ac_cpp_err=
27855 fi
27856 else
27857 ac_cpp_err=yes
27858 fi
27859 if test -z "$ac_cpp_err"; then
27860 ac_header_preproc=yes
27861 else
27862 echo "$as_me: failed program was:" >&5
27863 sed 's/^/| /' conftest.$ac_ext >&5
27864
27865 ac_header_preproc=no
27866 fi
27867 rm -f conftest.err conftest.$ac_ext
27868 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27869 echo "${ECHO_T}$ac_header_preproc" >&6
27870
27871 # So? What about this header?
27872 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27873 yes:no: )
27874 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27875 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27876 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27877 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27878 ac_header_preproc=yes
27879 ;;
27880 no:yes:* )
27881 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27882 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27883 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27884 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27885 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27886 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27887 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27888 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27889 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27890 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27891 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27892 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27893 (
27894 cat <<\_ASBOX
27895 ## ----------------------------------------- ##
27896 ## Report this to wx-dev@lists.wxwidgets.org ##
27897 ## ----------------------------------------- ##
27898 _ASBOX
27899 ) |
27900 sed "s/^/$as_me: WARNING: /" >&2
27901 ;;
27902 esac
27903 echo "$as_me:$LINENO: checking for $ac_header" >&5
27904 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27906 echo $ECHO_N "(cached) $ECHO_C" >&6
27907 else
27908 eval "$as_ac_Header=\$ac_header_preproc"
27909 fi
27910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27911 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27912
27913 fi
27914 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27915 cat >>confdefs.h <<_ACEOF
27916 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27917 _ACEOF
27918
27919 else
27920 cat >>confdefs.h <<\_ACEOF
27921 #define NEED_PBT_H 1
27922 _ACEOF
27923
27924 fi
27925
27926 done
27927
27928 fi
27929
27930 if test "$wxUSE_GUI" = "yes"; then
27931 USE_GUI=1
27932
27933 GUI_TK_LIBRARY=
27934
27935 WXGTK12=
27936 WXGTK127=
27937 WXGTK20=
27938 WXGPE=
27939
27940 if test "$wxUSE_COCOA" = 1 ; then
27941 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27942 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27943 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27944 wxUSE_PRINTING_ARCHITECTURE=no
27945 fi
27946 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27947 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27948 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27949 wxUSE_DRAG_AND_DROP=no
27950 fi
27951 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27952 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27953 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27954 wxUSE_DRAGIMAGE=no
27955 fi
27956 fi
27957
27958 if test "$wxUSE_MSW" = 1 ; then
27959 TOOLKIT=MSW
27960 GUIDIST=MSW_DIST
27961
27962 case "${host}" in
27963 *-*-mingw32* )
27964 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27965 esac
27966 fi
27967
27968 if test "$wxUSE_GTK" = 1; then
27969 ac_ext=c
27970 ac_cpp='$CPP $CPPFLAGS'
27971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27974
27975
27976 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27977 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27978
27979 gtk_version_cached=1
27980 if test "${wx_cv_lib_gtk+set}" = set; then
27981 echo $ECHO_N "(cached) $ECHO_C" >&6
27982 else
27983
27984 gtk_version_cached=0
27985 echo "$as_me:$LINENO: result: " >&5
27986 echo "${ECHO_T}" >&6
27987
27988 GTK_MODULES=
27989 if test "$wxUSE_THREADS" = "yes"; then
27990 GTK_MODULES=gthread
27991 fi
27992
27993 wx_cv_lib_gtk=
27994 if test "x$wxGTK_VERSION" != "x1"
27995 then
27996 case "${host}" in
27997 *-*-solaris2* )
27998 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27999 enable_gtktest=no
28000 fi
28001 esac
28002
28003 # Check whether --enable-gtktest or --disable-gtktest was given.
28004 if test "${enable_gtktest+set}" = set; then
28005 enableval="$enable_gtktest"
28006
28007 else
28008 enable_gtktest=yes
28009 fi;
28010
28011 pkg_config_args=gtk+-2.0
28012 for module in . $GTK_MODULES
28013 do
28014 case "$module" in
28015 gthread)
28016 pkg_config_args="$pkg_config_args gthread-2.0"
28017 ;;
28018 esac
28019 done
28020
28021 no_gtk=""
28022
28023 # Extract the first word of "pkg-config", so it can be a program name with args.
28024 set dummy pkg-config; ac_word=$2
28025 echo "$as_me:$LINENO: checking for $ac_word" >&5
28026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28027 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28028 echo $ECHO_N "(cached) $ECHO_C" >&6
28029 else
28030 case $PKG_CONFIG in
28031 [\\/]* | ?:[\\/]*)
28032 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28033 ;;
28034 *)
28035 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28036 for as_dir in $PATH
28037 do
28038 IFS=$as_save_IFS
28039 test -z "$as_dir" && as_dir=.
28040 for ac_exec_ext in '' $ac_executable_extensions; do
28041 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28042 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28043 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28044 break 2
28045 fi
28046 done
28047 done
28048
28049 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28050 ;;
28051 esac
28052 fi
28053 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28054
28055 if test -n "$PKG_CONFIG"; then
28056 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28057 echo "${ECHO_T}$PKG_CONFIG" >&6
28058 else
28059 echo "$as_me:$LINENO: result: no" >&5
28060 echo "${ECHO_T}no" >&6
28061 fi
28062
28063
28064 if test x$PKG_CONFIG != xno ; then
28065 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28066 :
28067 else
28068 echo "*** pkg-config too old; version 0.7 or better required."
28069 no_gtk=yes
28070 PKG_CONFIG=no
28071 fi
28072 else
28073 no_gtk=yes
28074 fi
28075
28076 min_gtk_version=2.0.0
28077 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28078 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
28079
28080 if test x$PKG_CONFIG != xno ; then
28081 ## don't try to run the test against uninstalled libtool libs
28082 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28083 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28084 enable_gtktest=no
28085 fi
28086
28087 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28088 :
28089 else
28090 no_gtk=yes
28091 fi
28092 fi
28093
28094 if test x"$no_gtk" = x ; then
28095 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28096 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28097 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28098 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28099 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28100 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28101 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28102 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28103 if test "x$enable_gtktest" = "xyes" ; then
28104 ac_save_CFLAGS="$CFLAGS"
28105 ac_save_LIBS="$LIBS"
28106 CFLAGS="$CFLAGS $GTK_CFLAGS"
28107 LIBS="$GTK_LIBS $LIBS"
28108 rm -f conf.gtktest
28109 if test "$cross_compiling" = yes; then
28110 echo $ac_n "cross compiling; assumed OK... $ac_c"
28111 else
28112 cat >conftest.$ac_ext <<_ACEOF
28113 /* confdefs.h. */
28114 _ACEOF
28115 cat confdefs.h >>conftest.$ac_ext
28116 cat >>conftest.$ac_ext <<_ACEOF
28117 /* end confdefs.h. */
28118
28119 #include <gtk/gtk.h>
28120 #include <stdio.h>
28121 #include <stdlib.h>
28122
28123 int
28124 main ()
28125 {
28126 int major, minor, micro;
28127 char *tmp_version;
28128
28129 system ("touch conf.gtktest");
28130
28131 /* HP/UX 9 (%@#!) writes to sscanf strings */
28132 tmp_version = g_strdup("$min_gtk_version");
28133 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28134 printf("%s, bad version string\n", "$min_gtk_version");
28135 exit(1);
28136 }
28137
28138 if ((gtk_major_version != $gtk_config_major_version) ||
28139 (gtk_minor_version != $gtk_config_minor_version) ||
28140 (gtk_micro_version != $gtk_config_micro_version))
28141 {
28142 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28143 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28144 gtk_major_version, gtk_minor_version, gtk_micro_version);
28145 printf ("*** was found! If pkg-config was correct, then it is best\n");
28146 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28147 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28148 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28149 printf("*** required on your system.\n");
28150 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28151 printf("*** to point to the correct configuration files\n");
28152 }
28153 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28154 (gtk_minor_version != GTK_MINOR_VERSION) ||
28155 (gtk_micro_version != GTK_MICRO_VERSION))
28156 {
28157 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28158 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28159 printf("*** library (version %d.%d.%d)\n",
28160 gtk_major_version, gtk_minor_version, gtk_micro_version);
28161 }
28162 else
28163 {
28164 if ((gtk_major_version > major) ||
28165 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28166 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28167 {
28168 return 0;
28169 }
28170 else
28171 {
28172 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28173 gtk_major_version, gtk_minor_version, gtk_micro_version);
28174 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28175 major, minor, micro);
28176 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28177 printf("***\n");
28178 printf("*** If you have already installed a sufficiently new version, this error\n");
28179 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28180 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28181 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28182 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28183 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28184 printf("*** so that the correct libraries are found at run-time))\n");
28185 }
28186 }
28187 return 1;
28188 }
28189
28190 _ACEOF
28191 rm -f conftest$ac_exeext
28192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28193 (eval $ac_link) 2>&5
28194 ac_status=$?
28195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28196 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28198 (eval $ac_try) 2>&5
28199 ac_status=$?
28200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28201 (exit $ac_status); }; }; then
28202 :
28203 else
28204 echo "$as_me: program exited with status $ac_status" >&5
28205 echo "$as_me: failed program was:" >&5
28206 sed 's/^/| /' conftest.$ac_ext >&5
28207
28208 ( exit $ac_status )
28209 no_gtk=yes
28210 fi
28211 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28212 fi
28213 CFLAGS="$ac_save_CFLAGS"
28214 LIBS="$ac_save_LIBS"
28215 fi
28216 fi
28217 if test "x$no_gtk" = x ; then
28218 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28219 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
28220 wx_cv_lib_gtk=2.0
28221 else
28222 echo "$as_me:$LINENO: result: no" >&5
28223 echo "${ECHO_T}no" >&6
28224 if test "$PKG_CONFIG" = "no" ; then
28225 echo "*** A new enough version of pkg-config was not found."
28226 echo "*** See http://pkgconfig.sourceforge.net"
28227 else
28228 if test -f conf.gtktest ; then
28229 :
28230 else
28231 echo "*** Could not run GTK+ test program, checking why..."
28232 ac_save_CFLAGS="$CFLAGS"
28233 ac_save_LIBS="$LIBS"
28234 CFLAGS="$CFLAGS $GTK_CFLAGS"
28235 LIBS="$LIBS $GTK_LIBS"
28236 cat >conftest.$ac_ext <<_ACEOF
28237 /* confdefs.h. */
28238 _ACEOF
28239 cat confdefs.h >>conftest.$ac_ext
28240 cat >>conftest.$ac_ext <<_ACEOF
28241 /* end confdefs.h. */
28242
28243 #include <gtk/gtk.h>
28244 #include <stdio.h>
28245
28246 int
28247 main ()
28248 {
28249 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28250 ;
28251 return 0;
28252 }
28253 _ACEOF
28254 rm -f conftest.$ac_objext conftest$ac_exeext
28255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28256 (eval $ac_link) 2>conftest.er1
28257 ac_status=$?
28258 grep -v '^ *+' conftest.er1 >conftest.err
28259 rm -f conftest.er1
28260 cat conftest.err >&5
28261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28262 (exit $ac_status); } &&
28263 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28265 (eval $ac_try) 2>&5
28266 ac_status=$?
28267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28268 (exit $ac_status); }; } &&
28269 { ac_try='test -s conftest$ac_exeext'
28270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28271 (eval $ac_try) 2>&5
28272 ac_status=$?
28273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28274 (exit $ac_status); }; }; then
28275 echo "*** The test program compiled, but did not run. This usually means"
28276 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28277 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28278 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28279 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28280 echo "*** is required on your system"
28281 echo "***"
28282 echo "*** If you have an old version installed, it is best to remove it, although"
28283 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28284 else
28285 echo "$as_me: failed program was:" >&5
28286 sed 's/^/| /' conftest.$ac_ext >&5
28287
28288 echo "*** The test program failed to compile or link. See the file config.log for the"
28289 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28290 fi
28291 rm -f conftest.err conftest.$ac_objext \
28292 conftest$ac_exeext conftest.$ac_ext
28293 CFLAGS="$ac_save_CFLAGS"
28294 LIBS="$ac_save_LIBS"
28295 fi
28296 fi
28297 GTK_CFLAGS=""
28298 GTK_LIBS=""
28299 :
28300 fi
28301
28302
28303 rm -f conf.gtktest
28304
28305
28306 case "${host}" in
28307 *-*-solaris2* )
28308 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28309 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
28310 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
28311 fi
28312 if test "$wxUSE_SHARED" != "yes"; then
28313 GTK_LIBS="$GTK_LIBS -lX11"
28314 fi
28315 esac
28316 fi
28317
28318 if test -z "$wx_cv_lib_gtk"; then
28319 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28320
28321 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28322 if test "${with_gtk_prefix+set}" = set; then
28323 withval="$with_gtk_prefix"
28324 gtk_config_prefix="$withval"
28325 else
28326 gtk_config_prefix=""
28327 fi;
28328
28329 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28330 if test "${with_gtk_exec_prefix+set}" = set; then
28331 withval="$with_gtk_exec_prefix"
28332 gtk_config_exec_prefix="$withval"
28333 else
28334 gtk_config_exec_prefix=""
28335 fi;
28336 # Check whether --enable-gtktest or --disable-gtktest was given.
28337 if test "${enable_gtktest+set}" = set; then
28338 enableval="$enable_gtktest"
28339
28340 else
28341 enable_gtktest=yes
28342 fi;
28343
28344 for module in . $GTK_MODULES
28345 do
28346 case "$module" in
28347 gthread)
28348 gtk_config_args="$gtk_config_args gthread"
28349 ;;
28350 esac
28351 done
28352
28353 if test x$gtk_config_exec_prefix != x ; then
28354 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28355 if test x${GTK_CONFIG+set} != xset ; then
28356 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28357 fi
28358 fi
28359 if test x$gtk_config_prefix != x ; then
28360 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28361 if test x${GTK_CONFIG+set} != xset ; then
28362 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28363 fi
28364 fi
28365
28366 # Extract the first word of "gtk-config", so it can be a program name with args.
28367 set dummy gtk-config; ac_word=$2
28368 echo "$as_me:$LINENO: checking for $ac_word" >&5
28369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28370 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28371 echo $ECHO_N "(cached) $ECHO_C" >&6
28372 else
28373 case $GTK_CONFIG in
28374 [\\/]* | ?:[\\/]*)
28375 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28376 ;;
28377 *)
28378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28379 for as_dir in $PATH
28380 do
28381 IFS=$as_save_IFS
28382 test -z "$as_dir" && as_dir=.
28383 for ac_exec_ext in '' $ac_executable_extensions; do
28384 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28385 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28386 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28387 break 2
28388 fi
28389 done
28390 done
28391
28392 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28393 ;;
28394 esac
28395 fi
28396 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28397
28398 if test -n "$GTK_CONFIG"; then
28399 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28400 echo "${ECHO_T}$GTK_CONFIG" >&6
28401 else
28402 echo "$as_me:$LINENO: result: no" >&5
28403 echo "${ECHO_T}no" >&6
28404 fi
28405
28406 min_gtk_version=1.2.7
28407 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28408 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28409 no_gtk=""
28410 if test "$GTK_CONFIG" = "no" ; then
28411 no_gtk=yes
28412 else
28413 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28414 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28415 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28416 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28417 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28418 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28419 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28420 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28421 if test "x$enable_gtktest" = "xyes" ; then
28422 ac_save_CFLAGS="$CFLAGS"
28423 ac_save_LIBS="$LIBS"
28424 CFLAGS="$CFLAGS $GTK_CFLAGS"
28425 LIBS="$GTK_LIBS $LIBS"
28426 rm -f conf.gtktest
28427 if test "$cross_compiling" = yes; then
28428 echo $ac_n "cross compiling; assumed OK... $ac_c"
28429 else
28430 cat >conftest.$ac_ext <<_ACEOF
28431 /* confdefs.h. */
28432 _ACEOF
28433 cat confdefs.h >>conftest.$ac_ext
28434 cat >>conftest.$ac_ext <<_ACEOF
28435 /* end confdefs.h. */
28436
28437 #include <gtk/gtk.h>
28438 #include <stdio.h>
28439 #include <stdlib.h>
28440
28441 int
28442 main ()
28443 {
28444 int major, minor, micro;
28445 char *tmp_version;
28446
28447 system ("touch conf.gtktest");
28448
28449 /* HP/UX 9 (%@#!) writes to sscanf strings */
28450 tmp_version = g_strdup("$min_gtk_version");
28451 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28452 printf("%s, bad version string\n", "$min_gtk_version");
28453 exit(1);
28454 }
28455
28456 if ((gtk_major_version != $gtk_config_major_version) ||
28457 (gtk_minor_version != $gtk_config_minor_version) ||
28458 (gtk_micro_version != $gtk_config_micro_version))
28459 {
28460 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28461 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28462 gtk_major_version, gtk_minor_version, gtk_micro_version);
28463 printf ("*** was found! If gtk-config was correct, then it is best\n");
28464 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28465 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28466 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28467 printf("*** required on your system.\n");
28468 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28469 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28470 printf("*** before re-running configure\n");
28471 }
28472 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28473 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28474 (gtk_minor_version != GTK_MINOR_VERSION) ||
28475 (gtk_micro_version != GTK_MICRO_VERSION))
28476 {
28477 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28478 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28479 printf("*** library (version %d.%d.%d)\n",
28480 gtk_major_version, gtk_minor_version, gtk_micro_version);
28481 }
28482 #endif /* defined (GTK_MAJOR_VERSION) ... */
28483 else
28484 {
28485 if ((gtk_major_version > major) ||
28486 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28487 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28488 {
28489 return 0;
28490 }
28491 else
28492 {
28493 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28494 gtk_major_version, gtk_minor_version, gtk_micro_version);
28495 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28496 major, minor, micro);
28497 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28498 printf("***\n");
28499 printf("*** If you have already installed a sufficiently new version, this error\n");
28500 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28501 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28502 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28503 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28504 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28505 printf("*** so that the correct libraries are found at run-time))\n");
28506 }
28507 }
28508 return 1;
28509 }
28510
28511 _ACEOF
28512 rm -f conftest$ac_exeext
28513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28514 (eval $ac_link) 2>&5
28515 ac_status=$?
28516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28517 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28519 (eval $ac_try) 2>&5
28520 ac_status=$?
28521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28522 (exit $ac_status); }; }; then
28523 :
28524 else
28525 echo "$as_me: program exited with status $ac_status" >&5
28526 echo "$as_me: failed program was:" >&5
28527 sed 's/^/| /' conftest.$ac_ext >&5
28528
28529 ( exit $ac_status )
28530 no_gtk=yes
28531 fi
28532 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28533 fi
28534 CFLAGS="$ac_save_CFLAGS"
28535 LIBS="$ac_save_LIBS"
28536 fi
28537 fi
28538 if test "x$no_gtk" = x ; then
28539 echo "$as_me:$LINENO: result: yes" >&5
28540 echo "${ECHO_T}yes" >&6
28541 wx_cv_lib_gtk=1.2.7
28542 else
28543 echo "$as_me:$LINENO: result: no" >&5
28544 echo "${ECHO_T}no" >&6
28545 if test "$GTK_CONFIG" = "no" ; then
28546 echo "*** The gtk-config script installed by GTK could not be found"
28547 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28548 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28549 echo "*** full path to gtk-config."
28550 else
28551 if test -f conf.gtktest ; then
28552 :
28553 else
28554 echo "*** Could not run GTK test program, checking why..."
28555 CFLAGS="$CFLAGS $GTK_CFLAGS"
28556 LIBS="$LIBS $GTK_LIBS"
28557 cat >conftest.$ac_ext <<_ACEOF
28558 /* confdefs.h. */
28559 _ACEOF
28560 cat confdefs.h >>conftest.$ac_ext
28561 cat >>conftest.$ac_ext <<_ACEOF
28562 /* end confdefs.h. */
28563
28564 #include <gtk/gtk.h>
28565 #include <stdio.h>
28566
28567 int
28568 main ()
28569 {
28570 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28571 ;
28572 return 0;
28573 }
28574 _ACEOF
28575 rm -f conftest.$ac_objext conftest$ac_exeext
28576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28577 (eval $ac_link) 2>conftest.er1
28578 ac_status=$?
28579 grep -v '^ *+' conftest.er1 >conftest.err
28580 rm -f conftest.er1
28581 cat conftest.err >&5
28582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28583 (exit $ac_status); } &&
28584 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28586 (eval $ac_try) 2>&5
28587 ac_status=$?
28588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28589 (exit $ac_status); }; } &&
28590 { ac_try='test -s conftest$ac_exeext'
28591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28592 (eval $ac_try) 2>&5
28593 ac_status=$?
28594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28595 (exit $ac_status); }; }; then
28596 echo "*** The test program compiled, but did not run. This usually means"
28597 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28598 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28599 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28600 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28601 echo "*** is required on your system"
28602 echo "***"
28603 echo "*** If you have an old version installed, it is best to remove it, although"
28604 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28605 echo "***"
28606 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28607 echo "*** came with the system with the command"
28608 echo "***"
28609 echo "*** rpm --erase --nodeps gtk gtk-devel"
28610 else
28611 echo "$as_me: failed program was:" >&5
28612 sed 's/^/| /' conftest.$ac_ext >&5
28613
28614 echo "*** The test program failed to compile or link. See the file config.log for the"
28615 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28616 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28617 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28618 fi
28619 rm -f conftest.err conftest.$ac_objext \
28620 conftest$ac_exeext conftest.$ac_ext
28621 CFLAGS="$ac_save_CFLAGS"
28622 LIBS="$ac_save_LIBS"
28623 fi
28624 fi
28625 GTK_CFLAGS=""
28626 GTK_LIBS=""
28627 :
28628 fi
28629
28630
28631 rm -f conf.gtktest
28632
28633
28634 if test -z "$wx_cv_lib_gtk"; then
28635
28636 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28637 if test "${with_gtk_prefix+set}" = set; then
28638 withval="$with_gtk_prefix"
28639 gtk_config_prefix="$withval"
28640 else
28641 gtk_config_prefix=""
28642 fi;
28643
28644 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28645 if test "${with_gtk_exec_prefix+set}" = set; then
28646 withval="$with_gtk_exec_prefix"
28647 gtk_config_exec_prefix="$withval"
28648 else
28649 gtk_config_exec_prefix=""
28650 fi;
28651 # Check whether --enable-gtktest or --disable-gtktest was given.
28652 if test "${enable_gtktest+set}" = set; then
28653 enableval="$enable_gtktest"
28654
28655 else
28656 enable_gtktest=yes
28657 fi;
28658
28659 for module in . $GTK_MODULES
28660 do
28661 case "$module" in
28662 gthread)
28663 gtk_config_args="$gtk_config_args gthread"
28664 ;;
28665 esac
28666 done
28667
28668 if test x$gtk_config_exec_prefix != x ; then
28669 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28670 if test x${GTK_CONFIG+set} != xset ; then
28671 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28672 fi
28673 fi
28674 if test x$gtk_config_prefix != x ; then
28675 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28676 if test x${GTK_CONFIG+set} != xset ; then
28677 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28678 fi
28679 fi
28680
28681 # Extract the first word of "gtk-config", so it can be a program name with args.
28682 set dummy gtk-config; ac_word=$2
28683 echo "$as_me:$LINENO: checking for $ac_word" >&5
28684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28685 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28686 echo $ECHO_N "(cached) $ECHO_C" >&6
28687 else
28688 case $GTK_CONFIG in
28689 [\\/]* | ?:[\\/]*)
28690 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28691 ;;
28692 *)
28693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28694 for as_dir in $PATH
28695 do
28696 IFS=$as_save_IFS
28697 test -z "$as_dir" && as_dir=.
28698 for ac_exec_ext in '' $ac_executable_extensions; do
28699 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28700 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28701 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28702 break 2
28703 fi
28704 done
28705 done
28706
28707 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28708 ;;
28709 esac
28710 fi
28711 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28712
28713 if test -n "$GTK_CONFIG"; then
28714 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28715 echo "${ECHO_T}$GTK_CONFIG" >&6
28716 else
28717 echo "$as_me:$LINENO: result: no" >&5
28718 echo "${ECHO_T}no" >&6
28719 fi
28720
28721 min_gtk_version=1.2.3
28722 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28723 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28724 no_gtk=""
28725 if test "$GTK_CONFIG" = "no" ; then
28726 no_gtk=yes
28727 else
28728 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28729 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28730 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28731 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28732 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28733 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28734 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28735 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28736 if test "x$enable_gtktest" = "xyes" ; then
28737 ac_save_CFLAGS="$CFLAGS"
28738 ac_save_LIBS="$LIBS"
28739 CFLAGS="$CFLAGS $GTK_CFLAGS"
28740 LIBS="$GTK_LIBS $LIBS"
28741 rm -f conf.gtktest
28742 if test "$cross_compiling" = yes; then
28743 echo $ac_n "cross compiling; assumed OK... $ac_c"
28744 else
28745 cat >conftest.$ac_ext <<_ACEOF
28746 /* confdefs.h. */
28747 _ACEOF
28748 cat confdefs.h >>conftest.$ac_ext
28749 cat >>conftest.$ac_ext <<_ACEOF
28750 /* end confdefs.h. */
28751
28752 #include <gtk/gtk.h>
28753 #include <stdio.h>
28754 #include <stdlib.h>
28755
28756 int
28757 main ()
28758 {
28759 int major, minor, micro;
28760 char *tmp_version;
28761
28762 system ("touch conf.gtktest");
28763
28764 /* HP/UX 9 (%@#!) writes to sscanf strings */
28765 tmp_version = g_strdup("$min_gtk_version");
28766 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28767 printf("%s, bad version string\n", "$min_gtk_version");
28768 exit(1);
28769 }
28770
28771 if ((gtk_major_version != $gtk_config_major_version) ||
28772 (gtk_minor_version != $gtk_config_minor_version) ||
28773 (gtk_micro_version != $gtk_config_micro_version))
28774 {
28775 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28776 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28777 gtk_major_version, gtk_minor_version, gtk_micro_version);
28778 printf ("*** was found! If gtk-config was correct, then it is best\n");
28779 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28780 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28781 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28782 printf("*** required on your system.\n");
28783 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28784 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28785 printf("*** before re-running configure\n");
28786 }
28787 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28788 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28789 (gtk_minor_version != GTK_MINOR_VERSION) ||
28790 (gtk_micro_version != GTK_MICRO_VERSION))
28791 {
28792 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28793 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28794 printf("*** library (version %d.%d.%d)\n",
28795 gtk_major_version, gtk_minor_version, gtk_micro_version);
28796 }
28797 #endif /* defined (GTK_MAJOR_VERSION) ... */
28798 else
28799 {
28800 if ((gtk_major_version > major) ||
28801 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28802 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28803 {
28804 return 0;
28805 }
28806 else
28807 {
28808 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28809 gtk_major_version, gtk_minor_version, gtk_micro_version);
28810 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28811 major, minor, micro);
28812 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28813 printf("***\n");
28814 printf("*** If you have already installed a sufficiently new version, this error\n");
28815 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28816 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28817 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28818 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28819 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28820 printf("*** so that the correct libraries are found at run-time))\n");
28821 }
28822 }
28823 return 1;
28824 }
28825
28826 _ACEOF
28827 rm -f conftest$ac_exeext
28828 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28829 (eval $ac_link) 2>&5
28830 ac_status=$?
28831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28832 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28834 (eval $ac_try) 2>&5
28835 ac_status=$?
28836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28837 (exit $ac_status); }; }; then
28838 :
28839 else
28840 echo "$as_me: program exited with status $ac_status" >&5
28841 echo "$as_me: failed program was:" >&5
28842 sed 's/^/| /' conftest.$ac_ext >&5
28843
28844 ( exit $ac_status )
28845 no_gtk=yes
28846 fi
28847 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28848 fi
28849 CFLAGS="$ac_save_CFLAGS"
28850 LIBS="$ac_save_LIBS"
28851 fi
28852 fi
28853 if test "x$no_gtk" = x ; then
28854 echo "$as_me:$LINENO: result: yes" >&5
28855 echo "${ECHO_T}yes" >&6
28856 wx_cv_lib_gtk=1.2.3
28857 else
28858 echo "$as_me:$LINENO: result: no" >&5
28859 echo "${ECHO_T}no" >&6
28860 if test "$GTK_CONFIG" = "no" ; then
28861 echo "*** The gtk-config script installed by GTK could not be found"
28862 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28863 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28864 echo "*** full path to gtk-config."
28865 else
28866 if test -f conf.gtktest ; then
28867 :
28868 else
28869 echo "*** Could not run GTK test program, checking why..."
28870 CFLAGS="$CFLAGS $GTK_CFLAGS"
28871 LIBS="$LIBS $GTK_LIBS"
28872 cat >conftest.$ac_ext <<_ACEOF
28873 /* confdefs.h. */
28874 _ACEOF
28875 cat confdefs.h >>conftest.$ac_ext
28876 cat >>conftest.$ac_ext <<_ACEOF
28877 /* end confdefs.h. */
28878
28879 #include <gtk/gtk.h>
28880 #include <stdio.h>
28881
28882 int
28883 main ()
28884 {
28885 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28886 ;
28887 return 0;
28888 }
28889 _ACEOF
28890 rm -f conftest.$ac_objext conftest$ac_exeext
28891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28892 (eval $ac_link) 2>conftest.er1
28893 ac_status=$?
28894 grep -v '^ *+' conftest.er1 >conftest.err
28895 rm -f conftest.er1
28896 cat conftest.err >&5
28897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28898 (exit $ac_status); } &&
28899 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28901 (eval $ac_try) 2>&5
28902 ac_status=$?
28903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28904 (exit $ac_status); }; } &&
28905 { ac_try='test -s conftest$ac_exeext'
28906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28907 (eval $ac_try) 2>&5
28908 ac_status=$?
28909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28910 (exit $ac_status); }; }; then
28911 echo "*** The test program compiled, but did not run. This usually means"
28912 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28913 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28914 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28915 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28916 echo "*** is required on your system"
28917 echo "***"
28918 echo "*** If you have an old version installed, it is best to remove it, although"
28919 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28920 echo "***"
28921 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28922 echo "*** came with the system with the command"
28923 echo "***"
28924 echo "*** rpm --erase --nodeps gtk gtk-devel"
28925 else
28926 echo "$as_me: failed program was:" >&5
28927 sed 's/^/| /' conftest.$ac_ext >&5
28928
28929 echo "*** The test program failed to compile or link. See the file config.log for the"
28930 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28931 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28932 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28933 fi
28934 rm -f conftest.err conftest.$ac_objext \
28935 conftest$ac_exeext conftest.$ac_ext
28936 CFLAGS="$ac_save_CFLAGS"
28937 LIBS="$ac_save_LIBS"
28938 fi
28939 fi
28940 GTK_CFLAGS=""
28941 GTK_LIBS=""
28942 :
28943 fi
28944
28945
28946 rm -f conf.gtktest
28947
28948 fi
28949 fi
28950 fi
28951
28952 if test -z "$wx_cv_lib_gtk"; then
28953 wx_cv_lib_gtk=none
28954 else
28955 wx_cv_cflags_gtk=$GTK_CFLAGS
28956 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28957 fi
28958
28959
28960 fi
28961
28962
28963 if test "$gtk_version_cached" = 1; then
28964 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28965 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28966 fi
28967
28968 case "$wx_cv_lib_gtk" in
28969 2.0) WXGTK20=1
28970 TOOLKIT_VERSION=2
28971 ;;
28972 1.2.7) WXGTK127=1
28973 WXGTK12=1
28974 ;;
28975 1.2.3) WXGTK12=1
28976 ;;
28977 *) { { echo "$as_me:$LINENO: error:
28978 The development files for GTK+ were not found. For GTK+ 2, please
28979 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28980 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28981 and that the version is 1.2.3 or above. Also check that the
28982 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28983 --libs' are in the LD_LIBRARY_PATH or equivalent.
28984 " >&5
28985 echo "$as_me: error:
28986 The development files for GTK+ were not found. For GTK+ 2, please
28987 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28988 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28989 and that the version is 1.2.3 or above. Also check that the
28990 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28991 --libs' are in the LD_LIBRARY_PATH or equivalent.
28992 " >&2;}
28993 { (exit 1); exit 1; }; }
28994 ;;
28995 esac
28996
28997 if test "$WXGTK20" = 1; then
28998 save_CFLAGS="$CFLAGS"
28999 save_LIBS="$LIBS"
29000 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29001 LIBS="$LIBS $wx_cv_libs_gtk"
29002
29003 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
29004 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
29005 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
29006 echo $ECHO_N "(cached) $ECHO_C" >&6
29007 else
29008 cat >conftest.$ac_ext <<_ACEOF
29009 /* confdefs.h. */
29010 _ACEOF
29011 cat confdefs.h >>conftest.$ac_ext
29012 cat >>conftest.$ac_ext <<_ACEOF
29013 /* end confdefs.h. */
29014 #include <gtk/gtk.h>
29015
29016 int
29017 main ()
29018 {
29019 #ifndef gtk_icon_size_lookup
29020 char *p = (char *) gtk_icon_size_lookup;
29021 #endif
29022
29023 ;
29024 return 0;
29025 }
29026 _ACEOF
29027 rm -f conftest.$ac_objext
29028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29029 (eval $ac_compile) 2>conftest.er1
29030 ac_status=$?
29031 grep -v '^ *+' conftest.er1 >conftest.err
29032 rm -f conftest.er1
29033 cat conftest.err >&5
29034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29035 (exit $ac_status); } &&
29036 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29038 (eval $ac_try) 2>&5
29039 ac_status=$?
29040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29041 (exit $ac_status); }; } &&
29042 { ac_try='test -s conftest.$ac_objext'
29043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29044 (eval $ac_try) 2>&5
29045 ac_status=$?
29046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29047 (exit $ac_status); }; }; then
29048 ac_cv_have_decl_gtk_icon_size_lookup=yes
29049 else
29050 echo "$as_me: failed program was:" >&5
29051 sed 's/^/| /' conftest.$ac_ext >&5
29052
29053 ac_cv_have_decl_gtk_icon_size_lookup=no
29054 fi
29055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29056 fi
29057 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
29058 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
29059 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
29060
29061 cat >>confdefs.h <<_ACEOF
29062 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
29063 _ACEOF
29064
29065
29066 else
29067 cat >>confdefs.h <<_ACEOF
29068 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
29069 _ACEOF
29070
29071 cat >>confdefs.h <<\_ACEOF
29072 #define NEED_GTK_ICON_SIZE_LOOKUP 1
29073 _ACEOF
29074
29075 fi
29076
29077
29078
29079 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29080 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
29081 cat >conftest.$ac_ext <<_ACEOF
29082 /* confdefs.h. */
29083 _ACEOF
29084 cat confdefs.h >>conftest.$ac_ext
29085 cat >>conftest.$ac_ext <<_ACEOF
29086 /* end confdefs.h. */
29087
29088 #include <gtk/gtk.h>
29089
29090 int
29091 main ()
29092 {
29093
29094 #if !GTK_CHECK_VERSION(2,6,0)
29095 Not GTK+ 2.6
29096 #endif
29097
29098 ;
29099 return 0;
29100 }
29101 _ACEOF
29102 rm -f conftest.$ac_objext
29103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29104 (eval $ac_compile) 2>conftest.er1
29105 ac_status=$?
29106 grep -v '^ *+' conftest.er1 >conftest.err
29107 rm -f conftest.er1
29108 cat conftest.err >&5
29109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29110 (exit $ac_status); } &&
29111 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29113 (eval $ac_try) 2>&5
29114 ac_status=$?
29115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29116 (exit $ac_status); }; } &&
29117 { ac_try='test -s conftest.$ac_objext'
29118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29119 (eval $ac_try) 2>&5
29120 ac_status=$?
29121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29122 (exit $ac_status); }; }; then
29123
29124 cat >>confdefs.h <<\_ACEOF
29125 #define __WXGTK26__ 1
29126 _ACEOF
29127
29128 cat >>confdefs.h <<\_ACEOF
29129 #define __WXGTK24__ 1
29130 _ACEOF
29131
29132 echo "$as_me:$LINENO: result: yes" >&5
29133 echo "${ECHO_T}yes" >&6
29134 ac_wxgtk26=1
29135
29136 else
29137 echo "$as_me: failed program was:" >&5
29138 sed 's/^/| /' conftest.$ac_ext >&5
29139
29140
29141 echo "$as_me:$LINENO: result: no" >&5
29142 echo "${ECHO_T}no" >&6
29143 ac_wxgtk26=0
29144
29145 fi
29146 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29147
29148 if test "$ac_wxgtk26" = 0; then
29149 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
29150 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
29151 cat >conftest.$ac_ext <<_ACEOF
29152 /* confdefs.h. */
29153 _ACEOF
29154 cat confdefs.h >>conftest.$ac_ext
29155 cat >>conftest.$ac_ext <<_ACEOF
29156 /* end confdefs.h. */
29157
29158 #include <gtk/gtk.h>
29159
29160 int
29161 main ()
29162 {
29163
29164 #if !GTK_CHECK_VERSION(2,4,0)
29165 Not GTK+ 2.4
29166 #endif
29167
29168 ;
29169 return 0;
29170 }
29171 _ACEOF
29172 rm -f conftest.$ac_objext
29173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29174 (eval $ac_compile) 2>conftest.er1
29175 ac_status=$?
29176 grep -v '^ *+' conftest.er1 >conftest.err
29177 rm -f conftest.er1
29178 cat conftest.err >&5
29179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29180 (exit $ac_status); } &&
29181 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29183 (eval $ac_try) 2>&5
29184 ac_status=$?
29185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29186 (exit $ac_status); }; } &&
29187 { ac_try='test -s conftest.$ac_objext'
29188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29189 (eval $ac_try) 2>&5
29190 ac_status=$?
29191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29192 (exit $ac_status); }; }; then
29193
29194 cat >>confdefs.h <<\_ACEOF
29195 #define __WXGTK24__ 1
29196 _ACEOF
29197
29198 echo "$as_me:$LINENO: result: yes" >&5
29199 echo "${ECHO_T}yes" >&6
29200
29201 else
29202 echo "$as_me: failed program was:" >&5
29203 sed 's/^/| /' conftest.$ac_ext >&5
29204
29205
29206 echo "$as_me:$LINENO: result: no" >&5
29207 echo "${ECHO_T}no" >&6
29208
29209 fi
29210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29211 fi
29212
29213 CFLAGS="$save_CFLAGS"
29214 LIBS="$save_LIBS"
29215 else
29216 if test "$wxUSE_UNICODE" = "yes"; then
29217 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29218 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29219 wxUSE_UNICODE=no
29220 fi
29221
29222 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29223 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
29224 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29225 echo $ECHO_N "(cached) $ECHO_C" >&6
29226 else
29227 ac_check_lib_save_LIBS=$LIBS
29228 LIBS="-lgdk $LIBS"
29229 cat >conftest.$ac_ext <<_ACEOF
29230 /* confdefs.h. */
29231 _ACEOF
29232 cat confdefs.h >>conftest.$ac_ext
29233 cat >>conftest.$ac_ext <<_ACEOF
29234 /* end confdefs.h. */
29235
29236 /* Override any gcc2 internal prototype to avoid an error. */
29237 #ifdef __cplusplus
29238 extern "C"
29239 #endif
29240 /* We use char because int might match the return type of a gcc2
29241 builtin and then its argument prototype would still apply. */
29242 char gdk_im_open ();
29243 int
29244 main ()
29245 {
29246 gdk_im_open ();
29247 ;
29248 return 0;
29249 }
29250 _ACEOF
29251 rm -f conftest.$ac_objext conftest$ac_exeext
29252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29253 (eval $ac_link) 2>conftest.er1
29254 ac_status=$?
29255 grep -v '^ *+' conftest.er1 >conftest.err
29256 rm -f conftest.er1
29257 cat conftest.err >&5
29258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29259 (exit $ac_status); } &&
29260 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29262 (eval $ac_try) 2>&5
29263 ac_status=$?
29264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29265 (exit $ac_status); }; } &&
29266 { ac_try='test -s conftest$ac_exeext'
29267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29268 (eval $ac_try) 2>&5
29269 ac_status=$?
29270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29271 (exit $ac_status); }; }; then
29272 ac_cv_lib_gdk_gdk_im_open=yes
29273 else
29274 echo "$as_me: failed program was:" >&5
29275 sed 's/^/| /' conftest.$ac_ext >&5
29276
29277 ac_cv_lib_gdk_gdk_im_open=no
29278 fi
29279 rm -f conftest.err conftest.$ac_objext \
29280 conftest$ac_exeext conftest.$ac_ext
29281 LIBS=$ac_check_lib_save_LIBS
29282 fi
29283 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29284 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
29285 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29286 cat >>confdefs.h <<\_ACEOF
29287 #define HAVE_XIM 1
29288 _ACEOF
29289
29290 fi
29291
29292 fi
29293
29294 ac_ext=cc
29295 ac_cpp='$CXXCPP $CPPFLAGS'
29296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29299
29300
29301 if test "$USE_DARWIN" != 1; then
29302
29303 for ac_func in poll
29304 do
29305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29306 echo "$as_me:$LINENO: checking for $ac_func" >&5
29307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29308 if eval "test \"\${$as_ac_var+set}\" = set"; then
29309 echo $ECHO_N "(cached) $ECHO_C" >&6
29310 else
29311 cat >conftest.$ac_ext <<_ACEOF
29312 /* confdefs.h. */
29313 _ACEOF
29314 cat confdefs.h >>conftest.$ac_ext
29315 cat >>conftest.$ac_ext <<_ACEOF
29316 /* end confdefs.h. */
29317 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29318 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29319 #define $ac_func innocuous_$ac_func
29320
29321 /* System header to define __stub macros and hopefully few prototypes,
29322 which can conflict with char $ac_func (); below.
29323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29324 <limits.h> exists even on freestanding compilers. */
29325
29326 #ifdef __STDC__
29327 # include <limits.h>
29328 #else
29329 # include <assert.h>
29330 #endif
29331
29332 #undef $ac_func
29333
29334 /* Override any gcc2 internal prototype to avoid an error. */
29335 #ifdef __cplusplus
29336 extern "C"
29337 {
29338 #endif
29339 /* We use char because int might match the return type of a gcc2
29340 builtin and then its argument prototype would still apply. */
29341 char $ac_func ();
29342 /* The GNU C library defines this for functions which it implements
29343 to always fail with ENOSYS. Some functions are actually named
29344 something starting with __ and the normal name is an alias. */
29345 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29346 choke me
29347 #else
29348 char (*f) () = $ac_func;
29349 #endif
29350 #ifdef __cplusplus
29351 }
29352 #endif
29353
29354 int
29355 main ()
29356 {
29357 return f != $ac_func;
29358 ;
29359 return 0;
29360 }
29361 _ACEOF
29362 rm -f conftest.$ac_objext conftest$ac_exeext
29363 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29364 (eval $ac_link) 2>conftest.er1
29365 ac_status=$?
29366 grep -v '^ *+' conftest.er1 >conftest.err
29367 rm -f conftest.er1
29368 cat conftest.err >&5
29369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29370 (exit $ac_status); } &&
29371 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29373 (eval $ac_try) 2>&5
29374 ac_status=$?
29375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29376 (exit $ac_status); }; } &&
29377 { ac_try='test -s conftest$ac_exeext'
29378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29379 (eval $ac_try) 2>&5
29380 ac_status=$?
29381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29382 (exit $ac_status); }; }; then
29383 eval "$as_ac_var=yes"
29384 else
29385 echo "$as_me: failed program was:" >&5
29386 sed 's/^/| /' conftest.$ac_ext >&5
29387
29388 eval "$as_ac_var=no"
29389 fi
29390 rm -f conftest.err conftest.$ac_objext \
29391 conftest$ac_exeext conftest.$ac_ext
29392 fi
29393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29395 if test `eval echo '${'$as_ac_var'}'` = yes; then
29396 cat >>confdefs.h <<_ACEOF
29397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29398 _ACEOF
29399
29400 fi
29401 done
29402
29403 fi
29404
29405 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29406 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29407
29408 AFMINSTALL=afminstall
29409 TOOLKIT=GTK
29410 GUIDIST=GTK_DIST
29411
29412 if test "$wxUSE_GPE" = "yes"; then
29413 echo "$as_me:$LINENO: checking for gpewidget library" >&5
29414 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
29415
29416 ac_find_libraries=
29417 for ac_dir in $SEARCH_LIB;
29418 do
29419 for ac_extension in a so sl dylib dll.a; do
29420 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29421 ac_find_libraries=$ac_dir
29422 break 2
29423 fi
29424 done
29425 done
29426
29427 if test "$ac_find_libraries" != "" ; then
29428
29429 if test "$ac_find_libraries" = "default location"; then
29430 ac_path_to_link=""
29431 else
29432 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29433 result=$?
29434 if test $result = 0; then
29435 ac_path_to_link=""
29436 else
29437 ac_path_to_link=" -L$ac_find_libraries"
29438 fi
29439 fi
29440
29441 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29442 WXGPE=1
29443 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29444 echo "${ECHO_T}found in $ac_find_libraries" >&6
29445 else
29446 echo "$as_me:$LINENO: result: not found" >&5
29447 echo "${ECHO_T}not found" >&6
29448 fi
29449
29450 fi
29451 fi
29452
29453 if test "$wxUSE_MGL" = 1; then
29454 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29455 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
29456 if test "x$MGL_ROOT" = x ; then
29457 echo "$as_me:$LINENO: result: not found" >&5
29458 echo "${ECHO_T}not found" >&6
29459 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29460 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29461 { (exit 1); exit 1; }; }
29462 else
29463 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29464 echo "${ECHO_T}$MGL_ROOT" >&6
29465 fi
29466
29467 echo "$as_me:$LINENO: checking for libmgl location" >&5
29468 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
29469 case "${host}" in
29470 *-*-linux* )
29471 if test "x$wxUSE_SHARED" = xyes ; then
29472 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29473 else
29474 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29475 fi
29476 ;;
29477 *-pc-msdosdjgpp )
29478 mgl_os_candidates="dos32/dj2"
29479 ;;
29480 *)
29481 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29482 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29483 { (exit 1); exit 1; }; }
29484 esac
29485
29486 mgl_lib_type=""
29487 mgl_os=""
29488
29489 for mgl_os_i in $mgl_os_candidates ; do
29490 if test "x$mgl_os" = x ; then
29491 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29492 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29493 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29494 mgl_lib_type=debug
29495 mgl_os=$mgl_os_i
29496 fi
29497 fi
29498 if test "x$mgl_lib_type" = x ; then
29499 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29500 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29501 mgl_lib_type=release
29502 mgl_os=$mgl_os_i
29503 fi
29504 fi
29505 fi
29506 done
29507
29508 if test "x$mgl_os" = x ; then
29509 echo "$as_me:$LINENO: result: not found" >&5
29510 echo "${ECHO_T}not found" >&6
29511 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29512 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29513 { (exit 1); exit 1; }; }
29514 fi
29515 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29516 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29517
29518 wxUSE_UNIVERSAL="yes"
29519
29520 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29521 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29522
29523 AFMINSTALL=afminstall
29524 TOOLKIT=MGL
29525 GUIDIST=MGL_DIST
29526 fi
29527
29528 if test "$wxUSE_DFB" = 1; then
29529
29530
29531 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29532 if test -n "$ac_tool_prefix"; then
29533 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29534 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29535 echo "$as_me:$LINENO: checking for $ac_word" >&5
29536 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29537 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29538 echo $ECHO_N "(cached) $ECHO_C" >&6
29539 else
29540 case $PKG_CONFIG in
29541 [\\/]* | ?:[\\/]*)
29542 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29543 ;;
29544 *)
29545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29546 for as_dir in $PATH
29547 do
29548 IFS=$as_save_IFS
29549 test -z "$as_dir" && as_dir=.
29550 for ac_exec_ext in '' $ac_executable_extensions; do
29551 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29552 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29553 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29554 break 2
29555 fi
29556 done
29557 done
29558
29559 ;;
29560 esac
29561 fi
29562 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29563
29564 if test -n "$PKG_CONFIG"; then
29565 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29566 echo "${ECHO_T}$PKG_CONFIG" >&6
29567 else
29568 echo "$as_me:$LINENO: result: no" >&5
29569 echo "${ECHO_T}no" >&6
29570 fi
29571
29572 fi
29573 if test -z "$ac_cv_path_PKG_CONFIG"; then
29574 ac_pt_PKG_CONFIG=$PKG_CONFIG
29575 # Extract the first word of "pkg-config", so it can be a program name with args.
29576 set dummy pkg-config; ac_word=$2
29577 echo "$as_me:$LINENO: checking for $ac_word" >&5
29578 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29579 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29580 echo $ECHO_N "(cached) $ECHO_C" >&6
29581 else
29582 case $ac_pt_PKG_CONFIG in
29583 [\\/]* | ?:[\\/]*)
29584 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29585 ;;
29586 *)
29587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29588 for as_dir in $PATH
29589 do
29590 IFS=$as_save_IFS
29591 test -z "$as_dir" && as_dir=.
29592 for ac_exec_ext in '' $ac_executable_extensions; do
29593 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29594 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29595 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29596 break 2
29597 fi
29598 done
29599 done
29600
29601 ;;
29602 esac
29603 fi
29604 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29605
29606 if test -n "$ac_pt_PKG_CONFIG"; then
29607 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29608 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29609 else
29610 echo "$as_me:$LINENO: result: no" >&5
29611 echo "${ECHO_T}no" >&6
29612 fi
29613
29614 PKG_CONFIG=$ac_pt_PKG_CONFIG
29615 else
29616 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29617 fi
29618
29619 fi
29620 if test -n "$PKG_CONFIG"; then
29621 _pkg_min_version=0.9.0
29622 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29623 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29624 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29625 echo "$as_me:$LINENO: result: yes" >&5
29626 echo "${ECHO_T}yes" >&6
29627 else
29628 echo "$as_me:$LINENO: result: no" >&5
29629 echo "${ECHO_T}no" >&6
29630 PKG_CONFIG=""
29631 fi
29632
29633 fi
29634
29635
29636 pkg_failed=no
29637 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29638 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29639
29640 if test -n "$PKG_CONFIG"; then
29641 if test -n "$DIRECTFB_CFLAGS"; then
29642 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29643 else
29644 if test -n "$PKG_CONFIG" && \
29645 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29646 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29647 ac_status=$?
29648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29649 (exit $ac_status); }; then
29650 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29651 else
29652 pkg_failed=yes
29653 fi
29654 fi
29655 else
29656 pkg_failed=untried
29657 fi
29658 if test -n "$PKG_CONFIG"; then
29659 if test -n "$DIRECTFB_LIBS"; then
29660 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29661 else
29662 if test -n "$PKG_CONFIG" && \
29663 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29664 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29665 ac_status=$?
29666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29667 (exit $ac_status); }; then
29668 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29669 else
29670 pkg_failed=yes
29671 fi
29672 fi
29673 else
29674 pkg_failed=untried
29675 fi
29676
29677
29678
29679 if test $pkg_failed = yes; then
29680
29681 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29682 _pkg_short_errors_supported=yes
29683 else
29684 _pkg_short_errors_supported=no
29685 fi
29686 if test $_pkg_short_errors_supported = yes; then
29687 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29688 else
29689 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29690 fi
29691 # Put the nasty error message in config.log where it belongs
29692 echo "$DIRECTFB_PKG_ERRORS" >&5
29693
29694
29695 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29696 echo "$as_me: error: DirectFB not found." >&2;}
29697 { (exit 1); exit 1; }; }
29698
29699
29700 elif test $pkg_failed = untried; then
29701
29702 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29703 echo "$as_me: error: DirectFB not found." >&2;}
29704 { (exit 1); exit 1; }; }
29705
29706
29707 else
29708 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29709 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29710 echo "$as_me:$LINENO: result: yes" >&5
29711 echo "${ECHO_T}yes" >&6
29712
29713 wxUSE_UNIVERSAL="yes"
29714 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29715 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29716 TOOLKIT=DFB
29717 GUIDIST=DFB_DIST
29718
29719 fi
29720 fi
29721
29722 if test "$wxUSE_MICROWIN" = 1; then
29723 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29724 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29725 if test "x$MICROWINDOWS" = x ; then
29726 echo "$as_me:$LINENO: result: not found" >&5
29727 echo "${ECHO_T}not found" >&6
29728 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29729 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29730 { (exit 1); exit 1; }; }
29731 else
29732 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29733 echo "${ECHO_T}$MICROWINDOWS" >&6
29734 fi
29735
29736 if test -f $MICROWINDOWS/lib/libmwin.a; then
29737 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29738 echo "${ECHO_T}MicroWindows' libraries found." >&6
29739 else
29740 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29741 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29742 { (exit 1); exit 1; }; }
29743 fi
29744
29745 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29746 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29747
29748 wxUSE_UNIVERSAL="yes"
29749
29750 AFMINSTALL=afminstall
29751 TOOLKIT=MICROWIN
29752 GUIDIST=MICROWIN_DIST
29753
29754 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29755 fi
29756
29757 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29758
29759 if test "x$ac_path_x_has_been_run" != xyes; then
29760 echo "$as_me:$LINENO: checking for X" >&5
29761 echo $ECHO_N "checking for X... $ECHO_C" >&6
29762
29763 ac_path_x_has_been_run=yes
29764
29765 # Check whether --with-x or --without-x was given.
29766 if test "${with_x+set}" = set; then
29767 withval="$with_x"
29768
29769 fi;
29770 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29771 if test "x$with_x" = xno; then
29772 # The user explicitly disabled X.
29773 have_x=disabled
29774 else
29775 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
29776 # Both variables are already set.
29777 have_x=yes
29778 else
29779 if test "${ac_cv_have_x+set}" = set; then
29780 echo $ECHO_N "(cached) $ECHO_C" >&6
29781 else
29782 # One or both of the vars are not set, and there is no cached value.
29783 ac_x_includes=no ac_x_libraries=no
29784 rm -fr conftest.dir
29785 if mkdir conftest.dir; then
29786 cd conftest.dir
29787 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29788 cat >Imakefile <<'_ACEOF'
29789 acfindx:
29790 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29791 _ACEOF
29792 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
29793 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29794 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29795 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29796 for ac_extension in a so sl; do
29797 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
29798 test -f $ac_im_libdir/libX11.$ac_extension; then
29799 ac_im_usrlibdir=$ac_im_libdir; break
29800 fi
29801 done
29802 # Screen out bogus values from the imake configuration. They are
29803 # bogus both because they are the default anyway, and because
29804 # using them would break gcc on systems where it needs fixed includes.
29805 case $ac_im_incroot in
29806 /usr/include) ;;
29807 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29808 esac
29809 case $ac_im_usrlibdir in
29810 /usr/lib | /lib) ;;
29811 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29812 esac
29813 fi
29814 cd ..
29815 rm -fr conftest.dir
29816 fi
29817
29818 # Standard set of common directories for X headers.
29819 # Check X11 before X11Rn because it is often a symlink to the current release.
29820 ac_x_header_dirs='
29821 /usr/X11/include
29822 /usr/X11R6/include
29823 /usr/X11R5/include
29824 /usr/X11R4/include
29825
29826 /usr/include/X11
29827 /usr/include/X11R6
29828 /usr/include/X11R5
29829 /usr/include/X11R4
29830
29831 /usr/local/X11/include
29832 /usr/local/X11R6/include
29833 /usr/local/X11R5/include
29834 /usr/local/X11R4/include
29835
29836 /usr/local/include/X11
29837 /usr/local/include/X11R6
29838 /usr/local/include/X11R5
29839 /usr/local/include/X11R4
29840
29841 /usr/X386/include
29842 /usr/x386/include
29843 /usr/XFree86/include/X11
29844
29845 /usr/include
29846 /usr/local/include
29847 /usr/unsupported/include
29848 /usr/athena/include
29849 /usr/local/x11r5/include
29850 /usr/lpp/Xamples/include
29851
29852 /usr/openwin/include
29853 /usr/openwin/share/include'
29854
29855 if test "$ac_x_includes" = no; then
29856 # Guess where to find include files, by looking for a specified header file.
29857 # First, try using that file with no special directory specified.
29858 cat >conftest.$ac_ext <<_ACEOF
29859 /* confdefs.h. */
29860 _ACEOF
29861 cat confdefs.h >>conftest.$ac_ext
29862 cat >>conftest.$ac_ext <<_ACEOF
29863 /* end confdefs.h. */
29864 #include <X11/Xlib.h>
29865 _ACEOF
29866 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29867 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29868 ac_status=$?
29869 grep -v '^ *+' conftest.er1 >conftest.err
29870 rm -f conftest.er1
29871 cat conftest.err >&5
29872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29873 (exit $ac_status); } >/dev/null; then
29874 if test -s conftest.err; then
29875 ac_cpp_err=$ac_cxx_preproc_warn_flag
29876 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
29877 else
29878 ac_cpp_err=
29879 fi
29880 else
29881 ac_cpp_err=yes
29882 fi
29883 if test -z "$ac_cpp_err"; then
29884 # We can compile using X headers with no special include directory.
29885 ac_x_includes=
29886 else
29887 echo "$as_me: failed program was:" >&5
29888 sed 's/^/| /' conftest.$ac_ext >&5
29889
29890 for ac_dir in $ac_x_header_dirs; do
29891 if test -r "$ac_dir/X11/Xlib.h"; then
29892 ac_x_includes=$ac_dir
29893 break
29894 fi
29895 done
29896 fi
29897 rm -f conftest.err conftest.$ac_ext
29898 fi # $ac_x_includes = no
29899
29900 if test "$ac_x_libraries" = no; then
29901 # Check for the libraries.
29902 # See if we find them without any special options.
29903 # Don't add to $LIBS permanently.
29904 ac_save_LIBS=$LIBS
29905 LIBS="-lX11 $LIBS"
29906 cat >conftest.$ac_ext <<_ACEOF
29907 /* confdefs.h. */
29908 _ACEOF
29909 cat confdefs.h >>conftest.$ac_ext
29910 cat >>conftest.$ac_ext <<_ACEOF
29911 /* end confdefs.h. */
29912 #include <X11/Xlib.h>
29913 int
29914 main ()
29915 {
29916 XrmInitialize ()
29917 ;
29918 return 0;
29919 }
29920 _ACEOF
29921 rm -f conftest.$ac_objext conftest$ac_exeext
29922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29923 (eval $ac_link) 2>conftest.er1
29924 ac_status=$?
29925 grep -v '^ *+' conftest.er1 >conftest.err
29926 rm -f conftest.er1
29927 cat conftest.err >&5
29928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29929 (exit $ac_status); } &&
29930 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29932 (eval $ac_try) 2>&5
29933 ac_status=$?
29934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29935 (exit $ac_status); }; } &&
29936 { ac_try='test -s conftest$ac_exeext'
29937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29938 (eval $ac_try) 2>&5
29939 ac_status=$?
29940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29941 (exit $ac_status); }; }; then
29942 LIBS=$ac_save_LIBS
29943 # We can link X programs with no special library path.
29944 ac_x_libraries=
29945 else
29946 echo "$as_me: failed program was:" >&5
29947 sed 's/^/| /' conftest.$ac_ext >&5
29948
29949 LIBS=$ac_save_LIBS
29950 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29951 do
29952 # Don't even attempt the hair of trying to link an X program!
29953 for ac_extension in a so sl; do
29954 if test -r $ac_dir/libX11.$ac_extension; then
29955 ac_x_libraries=$ac_dir
29956 break 2
29957 fi
29958 done
29959 done
29960 fi
29961 rm -f conftest.err conftest.$ac_objext \
29962 conftest$ac_exeext conftest.$ac_ext
29963 fi # $ac_x_libraries = no
29964
29965 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
29966 # Didn't find X anywhere. Cache the known absence of X.
29967 ac_cv_have_x="have_x=no"
29968 else
29969 # Record where we found X for the cache.
29970 ac_cv_have_x="have_x=yes \
29971 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29972 fi
29973 fi
29974
29975 fi
29976 eval "$ac_cv_have_x"
29977 fi # $with_x != no
29978
29979 if test "$have_x" != yes; then
29980 echo "$as_me:$LINENO: result: $have_x" >&5
29981 echo "${ECHO_T}$have_x" >&6
29982 no_x=yes
29983 else
29984 # If each of the values was on the command line, it overrides each guess.
29985 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29986 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29987 # Update the cache value to reflect the command line values.
29988 ac_cv_have_x="have_x=yes \
29989 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29990 # It might be that x_includes is empty (headers are found in the
29991 # standard search path. Then output the corresponding message
29992 ac_out_x_includes=$x_includes
29993 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
29994 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
29995 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
29996 fi
29997
29998 fi
29999 if test "$no_x" = yes; then
30000 # Not all programs may use this symbol, but it does not hurt to define it.
30001
30002 cat >>confdefs.h <<\_ACEOF
30003 #define X_DISPLAY_MISSING 1
30004 _ACEOF
30005
30006 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30007 else
30008 if test -n "$x_includes"; then
30009 X_CFLAGS="$X_CFLAGS -I$x_includes"
30010 fi
30011
30012 # It would also be nice to do this for all -L options, not just this one.
30013 if test -n "$x_libraries"; then
30014 X_LIBS="$X_LIBS -L$x_libraries"
30015 # For Solaris; some versions of Sun CC require a space after -R and
30016 # others require no space. Words are not sufficient . . . .
30017 case `(uname -sr) 2>/dev/null` in
30018 "SunOS 5"*)
30019 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30020 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
30021 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30022 cat >conftest.$ac_ext <<_ACEOF
30023 /* confdefs.h. */
30024 _ACEOF
30025 cat confdefs.h >>conftest.$ac_ext
30026 cat >>conftest.$ac_ext <<_ACEOF
30027 /* end confdefs.h. */
30028
30029 int
30030 main ()
30031 {
30032
30033 ;
30034 return 0;
30035 }
30036 _ACEOF
30037 rm -f conftest.$ac_objext conftest$ac_exeext
30038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30039 (eval $ac_link) 2>conftest.er1
30040 ac_status=$?
30041 grep -v '^ *+' conftest.er1 >conftest.err
30042 rm -f conftest.er1
30043 cat conftest.err >&5
30044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30045 (exit $ac_status); } &&
30046 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30048 (eval $ac_try) 2>&5
30049 ac_status=$?
30050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30051 (exit $ac_status); }; } &&
30052 { ac_try='test -s conftest$ac_exeext'
30053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30054 (eval $ac_try) 2>&5
30055 ac_status=$?
30056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30057 (exit $ac_status); }; }; then
30058 ac_R_nospace=yes
30059 else
30060 echo "$as_me: failed program was:" >&5
30061 sed 's/^/| /' conftest.$ac_ext >&5
30062
30063 ac_R_nospace=no
30064 fi
30065 rm -f conftest.err conftest.$ac_objext \
30066 conftest$ac_exeext conftest.$ac_ext
30067 if test $ac_R_nospace = yes; then
30068 echo "$as_me:$LINENO: result: no" >&5
30069 echo "${ECHO_T}no" >&6
30070 X_LIBS="$X_LIBS -R$x_libraries"
30071 else
30072 LIBS="$ac_xsave_LIBS -R $x_libraries"
30073 cat >conftest.$ac_ext <<_ACEOF
30074 /* confdefs.h. */
30075 _ACEOF
30076 cat confdefs.h >>conftest.$ac_ext
30077 cat >>conftest.$ac_ext <<_ACEOF
30078 /* end confdefs.h. */
30079
30080 int
30081 main ()
30082 {
30083
30084 ;
30085 return 0;
30086 }
30087 _ACEOF
30088 rm -f conftest.$ac_objext conftest$ac_exeext
30089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30090 (eval $ac_link) 2>conftest.er1
30091 ac_status=$?
30092 grep -v '^ *+' conftest.er1 >conftest.err
30093 rm -f conftest.er1
30094 cat conftest.err >&5
30095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30096 (exit $ac_status); } &&
30097 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30099 (eval $ac_try) 2>&5
30100 ac_status=$?
30101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30102 (exit $ac_status); }; } &&
30103 { ac_try='test -s conftest$ac_exeext'
30104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30105 (eval $ac_try) 2>&5
30106 ac_status=$?
30107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30108 (exit $ac_status); }; }; then
30109 ac_R_space=yes
30110 else
30111 echo "$as_me: failed program was:" >&5
30112 sed 's/^/| /' conftest.$ac_ext >&5
30113
30114 ac_R_space=no
30115 fi
30116 rm -f conftest.err conftest.$ac_objext \
30117 conftest$ac_exeext conftest.$ac_ext
30118 if test $ac_R_space = yes; then
30119 echo "$as_me:$LINENO: result: yes" >&5
30120 echo "${ECHO_T}yes" >&6
30121 X_LIBS="$X_LIBS -R $x_libraries"
30122 else
30123 echo "$as_me:$LINENO: result: neither works" >&5
30124 echo "${ECHO_T}neither works" >&6
30125 fi
30126 fi
30127 LIBS=$ac_xsave_LIBS
30128 esac
30129 fi
30130
30131 # Check for system-dependent libraries X programs must link with.
30132 # Do this before checking for the system-independent R6 libraries
30133 # (-lICE), since we may need -lsocket or whatever for X linking.
30134
30135 if test "$ISC" = yes; then
30136 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30137 else
30138 # Martyn Johnson says this is needed for Ultrix, if the X
30139 # libraries were built with DECnet support. And Karl Berry says
30140 # the Alpha needs dnet_stub (dnet does not exist).
30141 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30142 cat >conftest.$ac_ext <<_ACEOF
30143 /* confdefs.h. */
30144 _ACEOF
30145 cat confdefs.h >>conftest.$ac_ext
30146 cat >>conftest.$ac_ext <<_ACEOF
30147 /* end confdefs.h. */
30148
30149 /* Override any gcc2 internal prototype to avoid an error. */
30150 #ifdef __cplusplus
30151 extern "C"
30152 #endif
30153 /* We use char because int might match the return type of a gcc2
30154 builtin and then its argument prototype would still apply. */
30155 char XOpenDisplay ();
30156 int
30157 main ()
30158 {
30159 XOpenDisplay ();
30160 ;
30161 return 0;
30162 }
30163 _ACEOF
30164 rm -f conftest.$ac_objext conftest$ac_exeext
30165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30166 (eval $ac_link) 2>conftest.er1
30167 ac_status=$?
30168 grep -v '^ *+' conftest.er1 >conftest.err
30169 rm -f conftest.er1
30170 cat conftest.err >&5
30171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30172 (exit $ac_status); } &&
30173 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30175 (eval $ac_try) 2>&5
30176 ac_status=$?
30177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30178 (exit $ac_status); }; } &&
30179 { ac_try='test -s conftest$ac_exeext'
30180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30181 (eval $ac_try) 2>&5
30182 ac_status=$?
30183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30184 (exit $ac_status); }; }; then
30185 :
30186 else
30187 echo "$as_me: failed program was:" >&5
30188 sed 's/^/| /' conftest.$ac_ext >&5
30189
30190 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30191 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
30192 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30193 echo $ECHO_N "(cached) $ECHO_C" >&6
30194 else
30195 ac_check_lib_save_LIBS=$LIBS
30196 LIBS="-ldnet $LIBS"
30197 cat >conftest.$ac_ext <<_ACEOF
30198 /* confdefs.h. */
30199 _ACEOF
30200 cat confdefs.h >>conftest.$ac_ext
30201 cat >>conftest.$ac_ext <<_ACEOF
30202 /* end confdefs.h. */
30203
30204 /* Override any gcc2 internal prototype to avoid an error. */
30205 #ifdef __cplusplus
30206 extern "C"
30207 #endif
30208 /* We use char because int might match the return type of a gcc2
30209 builtin and then its argument prototype would still apply. */
30210 char dnet_ntoa ();
30211 int
30212 main ()
30213 {
30214 dnet_ntoa ();
30215 ;
30216 return 0;
30217 }
30218 _ACEOF
30219 rm -f conftest.$ac_objext conftest$ac_exeext
30220 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30221 (eval $ac_link) 2>conftest.er1
30222 ac_status=$?
30223 grep -v '^ *+' conftest.er1 >conftest.err
30224 rm -f conftest.er1
30225 cat conftest.err >&5
30226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30227 (exit $ac_status); } &&
30228 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30230 (eval $ac_try) 2>&5
30231 ac_status=$?
30232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30233 (exit $ac_status); }; } &&
30234 { ac_try='test -s conftest$ac_exeext'
30235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30236 (eval $ac_try) 2>&5
30237 ac_status=$?
30238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30239 (exit $ac_status); }; }; then
30240 ac_cv_lib_dnet_dnet_ntoa=yes
30241 else
30242 echo "$as_me: failed program was:" >&5
30243 sed 's/^/| /' conftest.$ac_ext >&5
30244
30245 ac_cv_lib_dnet_dnet_ntoa=no
30246 fi
30247 rm -f conftest.err conftest.$ac_objext \
30248 conftest$ac_exeext conftest.$ac_ext
30249 LIBS=$ac_check_lib_save_LIBS
30250 fi
30251 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30252 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
30253 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30254 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30255 fi
30256
30257 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30258 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30259 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
30260 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30261 echo $ECHO_N "(cached) $ECHO_C" >&6
30262 else
30263 ac_check_lib_save_LIBS=$LIBS
30264 LIBS="-ldnet_stub $LIBS"
30265 cat >conftest.$ac_ext <<_ACEOF
30266 /* confdefs.h. */
30267 _ACEOF
30268 cat confdefs.h >>conftest.$ac_ext
30269 cat >>conftest.$ac_ext <<_ACEOF
30270 /* end confdefs.h. */
30271
30272 /* Override any gcc2 internal prototype to avoid an error. */
30273 #ifdef __cplusplus
30274 extern "C"
30275 #endif
30276 /* We use char because int might match the return type of a gcc2
30277 builtin and then its argument prototype would still apply. */
30278 char dnet_ntoa ();
30279 int
30280 main ()
30281 {
30282 dnet_ntoa ();
30283 ;
30284 return 0;
30285 }
30286 _ACEOF
30287 rm -f conftest.$ac_objext conftest$ac_exeext
30288 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30289 (eval $ac_link) 2>conftest.er1
30290 ac_status=$?
30291 grep -v '^ *+' conftest.er1 >conftest.err
30292 rm -f conftest.er1
30293 cat conftest.err >&5
30294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30295 (exit $ac_status); } &&
30296 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30298 (eval $ac_try) 2>&5
30299 ac_status=$?
30300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30301 (exit $ac_status); }; } &&
30302 { ac_try='test -s conftest$ac_exeext'
30303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30304 (eval $ac_try) 2>&5
30305 ac_status=$?
30306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30307 (exit $ac_status); }; }; then
30308 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30309 else
30310 echo "$as_me: failed program was:" >&5
30311 sed 's/^/| /' conftest.$ac_ext >&5
30312
30313 ac_cv_lib_dnet_stub_dnet_ntoa=no
30314 fi
30315 rm -f conftest.err conftest.$ac_objext \
30316 conftest$ac_exeext conftest.$ac_ext
30317 LIBS=$ac_check_lib_save_LIBS
30318 fi
30319 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30320 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
30321 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30322 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30323 fi
30324
30325 fi
30326 fi
30327 rm -f conftest.err conftest.$ac_objext \
30328 conftest$ac_exeext conftest.$ac_ext
30329 LIBS="$ac_xsave_LIBS"
30330
30331 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30332 # to get the SysV transport functions.
30333 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30334 # needs -lnsl.
30335 # The nsl library prevents programs from opening the X display
30336 # on Irix 5.2, according to T.E. Dickey.
30337 # The functions gethostbyname, getservbyname, and inet_addr are
30338 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30339 echo "$as_me:$LINENO: checking for gethostbyname" >&5
30340 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
30341 if test "${ac_cv_func_gethostbyname+set}" = set; then
30342 echo $ECHO_N "(cached) $ECHO_C" >&6
30343 else
30344 cat >conftest.$ac_ext <<_ACEOF
30345 /* confdefs.h. */
30346 _ACEOF
30347 cat confdefs.h >>conftest.$ac_ext
30348 cat >>conftest.$ac_ext <<_ACEOF
30349 /* end confdefs.h. */
30350 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30352 #define gethostbyname innocuous_gethostbyname
30353
30354 /* System header to define __stub macros and hopefully few prototypes,
30355 which can conflict with char gethostbyname (); below.
30356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30357 <limits.h> exists even on freestanding compilers. */
30358
30359 #ifdef __STDC__
30360 # include <limits.h>
30361 #else
30362 # include <assert.h>
30363 #endif
30364
30365 #undef gethostbyname
30366
30367 /* Override any gcc2 internal prototype to avoid an error. */
30368 #ifdef __cplusplus
30369 extern "C"
30370 {
30371 #endif
30372 /* We use char because int might match the return type of a gcc2
30373 builtin and then its argument prototype would still apply. */
30374 char gethostbyname ();
30375 /* The GNU C library defines this for functions which it implements
30376 to always fail with ENOSYS. Some functions are actually named
30377 something starting with __ and the normal name is an alias. */
30378 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
30379 choke me
30380 #else
30381 char (*f) () = gethostbyname;
30382 #endif
30383 #ifdef __cplusplus
30384 }
30385 #endif
30386
30387 int
30388 main ()
30389 {
30390 return f != gethostbyname;
30391 ;
30392 return 0;
30393 }
30394 _ACEOF
30395 rm -f conftest.$ac_objext conftest$ac_exeext
30396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30397 (eval $ac_link) 2>conftest.er1
30398 ac_status=$?
30399 grep -v '^ *+' conftest.er1 >conftest.err
30400 rm -f conftest.er1
30401 cat conftest.err >&5
30402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30403 (exit $ac_status); } &&
30404 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30406 (eval $ac_try) 2>&5
30407 ac_status=$?
30408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30409 (exit $ac_status); }; } &&
30410 { ac_try='test -s conftest$ac_exeext'
30411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30412 (eval $ac_try) 2>&5
30413 ac_status=$?
30414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30415 (exit $ac_status); }; }; then
30416 ac_cv_func_gethostbyname=yes
30417 else
30418 echo "$as_me: failed program was:" >&5
30419 sed 's/^/| /' conftest.$ac_ext >&5
30420
30421 ac_cv_func_gethostbyname=no
30422 fi
30423 rm -f conftest.err conftest.$ac_objext \
30424 conftest$ac_exeext conftest.$ac_ext
30425 fi
30426 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30427 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
30428
30429 if test $ac_cv_func_gethostbyname = no; then
30430 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30431 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
30432 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30433 echo $ECHO_N "(cached) $ECHO_C" >&6
30434 else
30435 ac_check_lib_save_LIBS=$LIBS
30436 LIBS="-lnsl $LIBS"
30437 cat >conftest.$ac_ext <<_ACEOF
30438 /* confdefs.h. */
30439 _ACEOF
30440 cat confdefs.h >>conftest.$ac_ext
30441 cat >>conftest.$ac_ext <<_ACEOF
30442 /* end confdefs.h. */
30443
30444 /* Override any gcc2 internal prototype to avoid an error. */
30445 #ifdef __cplusplus
30446 extern "C"
30447 #endif
30448 /* We use char because int might match the return type of a gcc2
30449 builtin and then its argument prototype would still apply. */
30450 char gethostbyname ();
30451 int
30452 main ()
30453 {
30454 gethostbyname ();
30455 ;
30456 return 0;
30457 }
30458 _ACEOF
30459 rm -f conftest.$ac_objext conftest$ac_exeext
30460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30461 (eval $ac_link) 2>conftest.er1
30462 ac_status=$?
30463 grep -v '^ *+' conftest.er1 >conftest.err
30464 rm -f conftest.er1
30465 cat conftest.err >&5
30466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30467 (exit $ac_status); } &&
30468 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30470 (eval $ac_try) 2>&5
30471 ac_status=$?
30472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30473 (exit $ac_status); }; } &&
30474 { ac_try='test -s conftest$ac_exeext'
30475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30476 (eval $ac_try) 2>&5
30477 ac_status=$?
30478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30479 (exit $ac_status); }; }; then
30480 ac_cv_lib_nsl_gethostbyname=yes
30481 else
30482 echo "$as_me: failed program was:" >&5
30483 sed 's/^/| /' conftest.$ac_ext >&5
30484
30485 ac_cv_lib_nsl_gethostbyname=no
30486 fi
30487 rm -f conftest.err conftest.$ac_objext \
30488 conftest$ac_exeext conftest.$ac_ext
30489 LIBS=$ac_check_lib_save_LIBS
30490 fi
30491 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30492 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30493 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30494 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30495 fi
30496
30497 if test $ac_cv_lib_nsl_gethostbyname = no; then
30498 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30499 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30500 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30501 echo $ECHO_N "(cached) $ECHO_C" >&6
30502 else
30503 ac_check_lib_save_LIBS=$LIBS
30504 LIBS="-lbsd $LIBS"
30505 cat >conftest.$ac_ext <<_ACEOF
30506 /* confdefs.h. */
30507 _ACEOF
30508 cat confdefs.h >>conftest.$ac_ext
30509 cat >>conftest.$ac_ext <<_ACEOF
30510 /* end confdefs.h. */
30511
30512 /* Override any gcc2 internal prototype to avoid an error. */
30513 #ifdef __cplusplus
30514 extern "C"
30515 #endif
30516 /* We use char because int might match the return type of a gcc2
30517 builtin and then its argument prototype would still apply. */
30518 char gethostbyname ();
30519 int
30520 main ()
30521 {
30522 gethostbyname ();
30523 ;
30524 return 0;
30525 }
30526 _ACEOF
30527 rm -f conftest.$ac_objext conftest$ac_exeext
30528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30529 (eval $ac_link) 2>conftest.er1
30530 ac_status=$?
30531 grep -v '^ *+' conftest.er1 >conftest.err
30532 rm -f conftest.er1
30533 cat conftest.err >&5
30534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30535 (exit $ac_status); } &&
30536 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30538 (eval $ac_try) 2>&5
30539 ac_status=$?
30540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30541 (exit $ac_status); }; } &&
30542 { ac_try='test -s conftest$ac_exeext'
30543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30544 (eval $ac_try) 2>&5
30545 ac_status=$?
30546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30547 (exit $ac_status); }; }; then
30548 ac_cv_lib_bsd_gethostbyname=yes
30549 else
30550 echo "$as_me: failed program was:" >&5
30551 sed 's/^/| /' conftest.$ac_ext >&5
30552
30553 ac_cv_lib_bsd_gethostbyname=no
30554 fi
30555 rm -f conftest.err conftest.$ac_objext \
30556 conftest$ac_exeext conftest.$ac_ext
30557 LIBS=$ac_check_lib_save_LIBS
30558 fi
30559 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30560 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30561 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30562 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30563 fi
30564
30565 fi
30566 fi
30567
30568 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30569 # socket/setsockopt and other routines are undefined under SCO ODT
30570 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30571 # on later versions), says Simon Leinen: it contains gethostby*
30572 # variants that don't use the name server (or something). -lsocket
30573 # must be given before -lnsl if both are needed. We assume that
30574 # if connect needs -lnsl, so does gethostbyname.
30575 echo "$as_me:$LINENO: checking for connect" >&5
30576 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30577 if test "${ac_cv_func_connect+set}" = set; then
30578 echo $ECHO_N "(cached) $ECHO_C" >&6
30579 else
30580 cat >conftest.$ac_ext <<_ACEOF
30581 /* confdefs.h. */
30582 _ACEOF
30583 cat confdefs.h >>conftest.$ac_ext
30584 cat >>conftest.$ac_ext <<_ACEOF
30585 /* end confdefs.h. */
30586 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30588 #define connect innocuous_connect
30589
30590 /* System header to define __stub macros and hopefully few prototypes,
30591 which can conflict with char connect (); below.
30592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30593 <limits.h> exists even on freestanding compilers. */
30594
30595 #ifdef __STDC__
30596 # include <limits.h>
30597 #else
30598 # include <assert.h>
30599 #endif
30600
30601 #undef connect
30602
30603 /* Override any gcc2 internal prototype to avoid an error. */
30604 #ifdef __cplusplus
30605 extern "C"
30606 {
30607 #endif
30608 /* We use char because int might match the return type of a gcc2
30609 builtin and then its argument prototype would still apply. */
30610 char connect ();
30611 /* The GNU C library defines this for functions which it implements
30612 to always fail with ENOSYS. Some functions are actually named
30613 something starting with __ and the normal name is an alias. */
30614 #if defined (__stub_connect) || defined (__stub___connect)
30615 choke me
30616 #else
30617 char (*f) () = connect;
30618 #endif
30619 #ifdef __cplusplus
30620 }
30621 #endif
30622
30623 int
30624 main ()
30625 {
30626 return f != connect;
30627 ;
30628 return 0;
30629 }
30630 _ACEOF
30631 rm -f conftest.$ac_objext conftest$ac_exeext
30632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30633 (eval $ac_link) 2>conftest.er1
30634 ac_status=$?
30635 grep -v '^ *+' conftest.er1 >conftest.err
30636 rm -f conftest.er1
30637 cat conftest.err >&5
30638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30639 (exit $ac_status); } &&
30640 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30642 (eval $ac_try) 2>&5
30643 ac_status=$?
30644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30645 (exit $ac_status); }; } &&
30646 { ac_try='test -s conftest$ac_exeext'
30647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30648 (eval $ac_try) 2>&5
30649 ac_status=$?
30650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30651 (exit $ac_status); }; }; then
30652 ac_cv_func_connect=yes
30653 else
30654 echo "$as_me: failed program was:" >&5
30655 sed 's/^/| /' conftest.$ac_ext >&5
30656
30657 ac_cv_func_connect=no
30658 fi
30659 rm -f conftest.err conftest.$ac_objext \
30660 conftest$ac_exeext conftest.$ac_ext
30661 fi
30662 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30663 echo "${ECHO_T}$ac_cv_func_connect" >&6
30664
30665 if test $ac_cv_func_connect = no; then
30666 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30667 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30668 if test "${ac_cv_lib_socket_connect+set}" = set; then
30669 echo $ECHO_N "(cached) $ECHO_C" >&6
30670 else
30671 ac_check_lib_save_LIBS=$LIBS
30672 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30673 cat >conftest.$ac_ext <<_ACEOF
30674 /* confdefs.h. */
30675 _ACEOF
30676 cat confdefs.h >>conftest.$ac_ext
30677 cat >>conftest.$ac_ext <<_ACEOF
30678 /* end confdefs.h. */
30679
30680 /* Override any gcc2 internal prototype to avoid an error. */
30681 #ifdef __cplusplus
30682 extern "C"
30683 #endif
30684 /* We use char because int might match the return type of a gcc2
30685 builtin and then its argument prototype would still apply. */
30686 char connect ();
30687 int
30688 main ()
30689 {
30690 connect ();
30691 ;
30692 return 0;
30693 }
30694 _ACEOF
30695 rm -f conftest.$ac_objext conftest$ac_exeext
30696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30697 (eval $ac_link) 2>conftest.er1
30698 ac_status=$?
30699 grep -v '^ *+' conftest.er1 >conftest.err
30700 rm -f conftest.er1
30701 cat conftest.err >&5
30702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30703 (exit $ac_status); } &&
30704 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30706 (eval $ac_try) 2>&5
30707 ac_status=$?
30708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30709 (exit $ac_status); }; } &&
30710 { ac_try='test -s conftest$ac_exeext'
30711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30712 (eval $ac_try) 2>&5
30713 ac_status=$?
30714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30715 (exit $ac_status); }; }; then
30716 ac_cv_lib_socket_connect=yes
30717 else
30718 echo "$as_me: failed program was:" >&5
30719 sed 's/^/| /' conftest.$ac_ext >&5
30720
30721 ac_cv_lib_socket_connect=no
30722 fi
30723 rm -f conftest.err conftest.$ac_objext \
30724 conftest$ac_exeext conftest.$ac_ext
30725 LIBS=$ac_check_lib_save_LIBS
30726 fi
30727 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30728 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30729 if test $ac_cv_lib_socket_connect = yes; then
30730 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30731 fi
30732
30733 fi
30734
30735 # Guillermo Gomez says -lposix is necessary on A/UX.
30736 echo "$as_me:$LINENO: checking for remove" >&5
30737 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30738 if test "${ac_cv_func_remove+set}" = set; then
30739 echo $ECHO_N "(cached) $ECHO_C" >&6
30740 else
30741 cat >conftest.$ac_ext <<_ACEOF
30742 /* confdefs.h. */
30743 _ACEOF
30744 cat confdefs.h >>conftest.$ac_ext
30745 cat >>conftest.$ac_ext <<_ACEOF
30746 /* end confdefs.h. */
30747 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30748 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30749 #define remove innocuous_remove
30750
30751 /* System header to define __stub macros and hopefully few prototypes,
30752 which can conflict with char remove (); below.
30753 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30754 <limits.h> exists even on freestanding compilers. */
30755
30756 #ifdef __STDC__
30757 # include <limits.h>
30758 #else
30759 # include <assert.h>
30760 #endif
30761
30762 #undef remove
30763
30764 /* Override any gcc2 internal prototype to avoid an error. */
30765 #ifdef __cplusplus
30766 extern "C"
30767 {
30768 #endif
30769 /* We use char because int might match the return type of a gcc2
30770 builtin and then its argument prototype would still apply. */
30771 char remove ();
30772 /* The GNU C library defines this for functions which it implements
30773 to always fail with ENOSYS. Some functions are actually named
30774 something starting with __ and the normal name is an alias. */
30775 #if defined (__stub_remove) || defined (__stub___remove)
30776 choke me
30777 #else
30778 char (*f) () = remove;
30779 #endif
30780 #ifdef __cplusplus
30781 }
30782 #endif
30783
30784 int
30785 main ()
30786 {
30787 return f != remove;
30788 ;
30789 return 0;
30790 }
30791 _ACEOF
30792 rm -f conftest.$ac_objext conftest$ac_exeext
30793 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30794 (eval $ac_link) 2>conftest.er1
30795 ac_status=$?
30796 grep -v '^ *+' conftest.er1 >conftest.err
30797 rm -f conftest.er1
30798 cat conftest.err >&5
30799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30800 (exit $ac_status); } &&
30801 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30803 (eval $ac_try) 2>&5
30804 ac_status=$?
30805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30806 (exit $ac_status); }; } &&
30807 { ac_try='test -s conftest$ac_exeext'
30808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30809 (eval $ac_try) 2>&5
30810 ac_status=$?
30811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30812 (exit $ac_status); }; }; then
30813 ac_cv_func_remove=yes
30814 else
30815 echo "$as_me: failed program was:" >&5
30816 sed 's/^/| /' conftest.$ac_ext >&5
30817
30818 ac_cv_func_remove=no
30819 fi
30820 rm -f conftest.err conftest.$ac_objext \
30821 conftest$ac_exeext conftest.$ac_ext
30822 fi
30823 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30824 echo "${ECHO_T}$ac_cv_func_remove" >&6
30825
30826 if test $ac_cv_func_remove = no; then
30827 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30828 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30829 if test "${ac_cv_lib_posix_remove+set}" = set; then
30830 echo $ECHO_N "(cached) $ECHO_C" >&6
30831 else
30832 ac_check_lib_save_LIBS=$LIBS
30833 LIBS="-lposix $LIBS"
30834 cat >conftest.$ac_ext <<_ACEOF
30835 /* confdefs.h. */
30836 _ACEOF
30837 cat confdefs.h >>conftest.$ac_ext
30838 cat >>conftest.$ac_ext <<_ACEOF
30839 /* end confdefs.h. */
30840
30841 /* Override any gcc2 internal prototype to avoid an error. */
30842 #ifdef __cplusplus
30843 extern "C"
30844 #endif
30845 /* We use char because int might match the return type of a gcc2
30846 builtin and then its argument prototype would still apply. */
30847 char remove ();
30848 int
30849 main ()
30850 {
30851 remove ();
30852 ;
30853 return 0;
30854 }
30855 _ACEOF
30856 rm -f conftest.$ac_objext conftest$ac_exeext
30857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30858 (eval $ac_link) 2>conftest.er1
30859 ac_status=$?
30860 grep -v '^ *+' conftest.er1 >conftest.err
30861 rm -f conftest.er1
30862 cat conftest.err >&5
30863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30864 (exit $ac_status); } &&
30865 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30867 (eval $ac_try) 2>&5
30868 ac_status=$?
30869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30870 (exit $ac_status); }; } &&
30871 { ac_try='test -s conftest$ac_exeext'
30872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30873 (eval $ac_try) 2>&5
30874 ac_status=$?
30875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30876 (exit $ac_status); }; }; then
30877 ac_cv_lib_posix_remove=yes
30878 else
30879 echo "$as_me: failed program was:" >&5
30880 sed 's/^/| /' conftest.$ac_ext >&5
30881
30882 ac_cv_lib_posix_remove=no
30883 fi
30884 rm -f conftest.err conftest.$ac_objext \
30885 conftest$ac_exeext conftest.$ac_ext
30886 LIBS=$ac_check_lib_save_LIBS
30887 fi
30888 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30889 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30890 if test $ac_cv_lib_posix_remove = yes; then
30891 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30892 fi
30893
30894 fi
30895
30896 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30897 echo "$as_me:$LINENO: checking for shmat" >&5
30898 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30899 if test "${ac_cv_func_shmat+set}" = set; then
30900 echo $ECHO_N "(cached) $ECHO_C" >&6
30901 else
30902 cat >conftest.$ac_ext <<_ACEOF
30903 /* confdefs.h. */
30904 _ACEOF
30905 cat confdefs.h >>conftest.$ac_ext
30906 cat >>conftest.$ac_ext <<_ACEOF
30907 /* end confdefs.h. */
30908 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30910 #define shmat innocuous_shmat
30911
30912 /* System header to define __stub macros and hopefully few prototypes,
30913 which can conflict with char shmat (); below.
30914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30915 <limits.h> exists even on freestanding compilers. */
30916
30917 #ifdef __STDC__
30918 # include <limits.h>
30919 #else
30920 # include <assert.h>
30921 #endif
30922
30923 #undef shmat
30924
30925 /* Override any gcc2 internal prototype to avoid an error. */
30926 #ifdef __cplusplus
30927 extern "C"
30928 {
30929 #endif
30930 /* We use char because int might match the return type of a gcc2
30931 builtin and then its argument prototype would still apply. */
30932 char shmat ();
30933 /* The GNU C library defines this for functions which it implements
30934 to always fail with ENOSYS. Some functions are actually named
30935 something starting with __ and the normal name is an alias. */
30936 #if defined (__stub_shmat) || defined (__stub___shmat)
30937 choke me
30938 #else
30939 char (*f) () = shmat;
30940 #endif
30941 #ifdef __cplusplus
30942 }
30943 #endif
30944
30945 int
30946 main ()
30947 {
30948 return f != shmat;
30949 ;
30950 return 0;
30951 }
30952 _ACEOF
30953 rm -f conftest.$ac_objext conftest$ac_exeext
30954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30955 (eval $ac_link) 2>conftest.er1
30956 ac_status=$?
30957 grep -v '^ *+' conftest.er1 >conftest.err
30958 rm -f conftest.er1
30959 cat conftest.err >&5
30960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30961 (exit $ac_status); } &&
30962 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30964 (eval $ac_try) 2>&5
30965 ac_status=$?
30966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30967 (exit $ac_status); }; } &&
30968 { ac_try='test -s conftest$ac_exeext'
30969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30970 (eval $ac_try) 2>&5
30971 ac_status=$?
30972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30973 (exit $ac_status); }; }; then
30974 ac_cv_func_shmat=yes
30975 else
30976 echo "$as_me: failed program was:" >&5
30977 sed 's/^/| /' conftest.$ac_ext >&5
30978
30979 ac_cv_func_shmat=no
30980 fi
30981 rm -f conftest.err conftest.$ac_objext \
30982 conftest$ac_exeext conftest.$ac_ext
30983 fi
30984 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30985 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30986
30987 if test $ac_cv_func_shmat = no; then
30988 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30989 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30990 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30991 echo $ECHO_N "(cached) $ECHO_C" >&6
30992 else
30993 ac_check_lib_save_LIBS=$LIBS
30994 LIBS="-lipc $LIBS"
30995 cat >conftest.$ac_ext <<_ACEOF
30996 /* confdefs.h. */
30997 _ACEOF
30998 cat confdefs.h >>conftest.$ac_ext
30999 cat >>conftest.$ac_ext <<_ACEOF
31000 /* end confdefs.h. */
31001
31002 /* Override any gcc2 internal prototype to avoid an error. */
31003 #ifdef __cplusplus
31004 extern "C"
31005 #endif
31006 /* We use char because int might match the return type of a gcc2
31007 builtin and then its argument prototype would still apply. */
31008 char shmat ();
31009 int
31010 main ()
31011 {
31012 shmat ();
31013 ;
31014 return 0;
31015 }
31016 _ACEOF
31017 rm -f conftest.$ac_objext conftest$ac_exeext
31018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31019 (eval $ac_link) 2>conftest.er1
31020 ac_status=$?
31021 grep -v '^ *+' conftest.er1 >conftest.err
31022 rm -f conftest.er1
31023 cat conftest.err >&5
31024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31025 (exit $ac_status); } &&
31026 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31028 (eval $ac_try) 2>&5
31029 ac_status=$?
31030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31031 (exit $ac_status); }; } &&
31032 { ac_try='test -s conftest$ac_exeext'
31033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31034 (eval $ac_try) 2>&5
31035 ac_status=$?
31036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31037 (exit $ac_status); }; }; then
31038 ac_cv_lib_ipc_shmat=yes
31039 else
31040 echo "$as_me: failed program was:" >&5
31041 sed 's/^/| /' conftest.$ac_ext >&5
31042
31043 ac_cv_lib_ipc_shmat=no
31044 fi
31045 rm -f conftest.err conftest.$ac_objext \
31046 conftest$ac_exeext conftest.$ac_ext
31047 LIBS=$ac_check_lib_save_LIBS
31048 fi
31049 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31050 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
31051 if test $ac_cv_lib_ipc_shmat = yes; then
31052 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31053 fi
31054
31055 fi
31056 fi
31057
31058 # Check for libraries that X11R6 Xt/Xaw programs need.
31059 ac_save_LDFLAGS=$LDFLAGS
31060 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31061 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31062 # check for ICE first), but we must link in the order -lSM -lICE or
31063 # we get undefined symbols. So assume we have SM if we have ICE.
31064 # These have to be linked with before -lX11, unlike the other
31065 # libraries we check for below, so use a different variable.
31066 # John Interrante, Karl Berry
31067 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31068 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
31069 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31070 echo $ECHO_N "(cached) $ECHO_C" >&6
31071 else
31072 ac_check_lib_save_LIBS=$LIBS
31073 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31074 cat >conftest.$ac_ext <<_ACEOF
31075 /* confdefs.h. */
31076 _ACEOF
31077 cat confdefs.h >>conftest.$ac_ext
31078 cat >>conftest.$ac_ext <<_ACEOF
31079 /* end confdefs.h. */
31080
31081 /* Override any gcc2 internal prototype to avoid an error. */
31082 #ifdef __cplusplus
31083 extern "C"
31084 #endif
31085 /* We use char because int might match the return type of a gcc2
31086 builtin and then its argument prototype would still apply. */
31087 char IceConnectionNumber ();
31088 int
31089 main ()
31090 {
31091 IceConnectionNumber ();
31092 ;
31093 return 0;
31094 }
31095 _ACEOF
31096 rm -f conftest.$ac_objext conftest$ac_exeext
31097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31098 (eval $ac_link) 2>conftest.er1
31099 ac_status=$?
31100 grep -v '^ *+' conftest.er1 >conftest.err
31101 rm -f conftest.er1
31102 cat conftest.err >&5
31103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31104 (exit $ac_status); } &&
31105 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31107 (eval $ac_try) 2>&5
31108 ac_status=$?
31109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31110 (exit $ac_status); }; } &&
31111 { ac_try='test -s conftest$ac_exeext'
31112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31113 (eval $ac_try) 2>&5
31114 ac_status=$?
31115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31116 (exit $ac_status); }; }; then
31117 ac_cv_lib_ICE_IceConnectionNumber=yes
31118 else
31119 echo "$as_me: failed program was:" >&5
31120 sed 's/^/| /' conftest.$ac_ext >&5
31121
31122 ac_cv_lib_ICE_IceConnectionNumber=no
31123 fi
31124 rm -f conftest.err conftest.$ac_objext \
31125 conftest$ac_exeext conftest.$ac_ext
31126 LIBS=$ac_check_lib_save_LIBS
31127 fi
31128 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31129 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
31130 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31131 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31132 fi
31133
31134 LDFLAGS=$ac_save_LDFLAGS
31135
31136 fi
31137
31138
31139 if test "$no_x" = "yes"; then
31140 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31141 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31142 { (exit 1); exit 1; }; }
31143 fi
31144
31145 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31146 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31147 AFMINSTALL=afminstall
31148 COMPILED_X_PROGRAM=0
31149
31150 fi
31151
31152 if test "$wxUSE_X11" = 1; then
31153 if test "$wxUSE_NANOX" = "yes"; then
31154 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31155 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
31156 if test "x$MICROWIN" = x ; then
31157 echo "$as_me:$LINENO: result: not found" >&5
31158 echo "${ECHO_T}not found" >&6
31159 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31160 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31161 { (exit 1); exit 1; }; }
31162 else
31163 echo "$as_me:$LINENO: result: $MICROWIN" >&5
31164 echo "${ECHO_T}$MICROWIN" >&6
31165 cat >>confdefs.h <<\_ACEOF
31166 #define wxUSE_NANOX 1
31167 _ACEOF
31168
31169 fi
31170 fi
31171
31172 if test "$wxUSE_UNICODE" = "yes"; then
31173
31174
31175 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31176 if test -n "$ac_tool_prefix"; then
31177 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31178 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31179 echo "$as_me:$LINENO: checking for $ac_word" >&5
31180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31181 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31182 echo $ECHO_N "(cached) $ECHO_C" >&6
31183 else
31184 case $PKG_CONFIG in
31185 [\\/]* | ?:[\\/]*)
31186 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31187 ;;
31188 *)
31189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31190 for as_dir in $PATH
31191 do
31192 IFS=$as_save_IFS
31193 test -z "$as_dir" && as_dir=.
31194 for ac_exec_ext in '' $ac_executable_extensions; do
31195 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31196 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31197 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31198 break 2
31199 fi
31200 done
31201 done
31202
31203 ;;
31204 esac
31205 fi
31206 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31207
31208 if test -n "$PKG_CONFIG"; then
31209 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31210 echo "${ECHO_T}$PKG_CONFIG" >&6
31211 else
31212 echo "$as_me:$LINENO: result: no" >&5
31213 echo "${ECHO_T}no" >&6
31214 fi
31215
31216 fi
31217 if test -z "$ac_cv_path_PKG_CONFIG"; then
31218 ac_pt_PKG_CONFIG=$PKG_CONFIG
31219 # Extract the first word of "pkg-config", so it can be a program name with args.
31220 set dummy pkg-config; ac_word=$2
31221 echo "$as_me:$LINENO: checking for $ac_word" >&5
31222 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31223 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31224 echo $ECHO_N "(cached) $ECHO_C" >&6
31225 else
31226 case $ac_pt_PKG_CONFIG in
31227 [\\/]* | ?:[\\/]*)
31228 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31229 ;;
31230 *)
31231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31232 for as_dir in $PATH
31233 do
31234 IFS=$as_save_IFS
31235 test -z "$as_dir" && as_dir=.
31236 for ac_exec_ext in '' $ac_executable_extensions; do
31237 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31238 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31240 break 2
31241 fi
31242 done
31243 done
31244
31245 ;;
31246 esac
31247 fi
31248 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31249
31250 if test -n "$ac_pt_PKG_CONFIG"; then
31251 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31252 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
31253 else
31254 echo "$as_me:$LINENO: result: no" >&5
31255 echo "${ECHO_T}no" >&6
31256 fi
31257
31258 PKG_CONFIG=$ac_pt_PKG_CONFIG
31259 else
31260 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31261 fi
31262
31263 fi
31264 if test -n "$PKG_CONFIG"; then
31265 _pkg_min_version=0.9.0
31266 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31267 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
31268 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31269 echo "$as_me:$LINENO: result: yes" >&5
31270 echo "${ECHO_T}yes" >&6
31271 else
31272 echo "$as_me:$LINENO: result: no" >&5
31273 echo "${ECHO_T}no" >&6
31274 PKG_CONFIG=""
31275 fi
31276
31277 fi
31278
31279
31280 pkg_failed=no
31281 echo "$as_me:$LINENO: checking for PANGOX" >&5
31282 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
31283
31284 if test -n "$PKG_CONFIG"; then
31285 if test -n "$PANGOX_CFLAGS"; then
31286 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31287 else
31288 if test -n "$PKG_CONFIG" && \
31289 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31290 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31291 ac_status=$?
31292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31293 (exit $ac_status); }; then
31294 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31295 else
31296 pkg_failed=yes
31297 fi
31298 fi
31299 else
31300 pkg_failed=untried
31301 fi
31302 if test -n "$PKG_CONFIG"; then
31303 if test -n "$PANGOX_LIBS"; then
31304 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31305 else
31306 if test -n "$PKG_CONFIG" && \
31307 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31308 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31309 ac_status=$?
31310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31311 (exit $ac_status); }; then
31312 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31313 else
31314 pkg_failed=yes
31315 fi
31316 fi
31317 else
31318 pkg_failed=untried
31319 fi
31320
31321
31322
31323 if test $pkg_failed = yes; then
31324
31325 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31326 _pkg_short_errors_supported=yes
31327 else
31328 _pkg_short_errors_supported=no
31329 fi
31330 if test $_pkg_short_errors_supported = yes; then
31331 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31332 else
31333 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31334 fi
31335 # Put the nasty error message in config.log where it belongs
31336 echo "$PANGOX_PKG_ERRORS" >&5
31337
31338
31339 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31340 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31341 { (exit 1); exit 1; }; }
31342
31343
31344 elif test $pkg_failed = untried; then
31345
31346 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31347 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31348 { (exit 1); exit 1; }; }
31349
31350
31351 else
31352 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31353 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31354 echo "$as_me:$LINENO: result: yes" >&5
31355 echo "${ECHO_T}yes" >&6
31356
31357 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31358 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31359
31360 fi
31361
31362 pkg_failed=no
31363 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31364 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
31365
31366 if test -n "$PKG_CONFIG"; then
31367 if test -n "$PANGOFT2_CFLAGS"; then
31368 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31369 else
31370 if test -n "$PKG_CONFIG" && \
31371 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31372 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31373 ac_status=$?
31374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31375 (exit $ac_status); }; then
31376 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31377 else
31378 pkg_failed=yes
31379 fi
31380 fi
31381 else
31382 pkg_failed=untried
31383 fi
31384 if test -n "$PKG_CONFIG"; then
31385 if test -n "$PANGOFT2_LIBS"; then
31386 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31387 else
31388 if test -n "$PKG_CONFIG" && \
31389 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31390 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31391 ac_status=$?
31392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31393 (exit $ac_status); }; then
31394 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31395 else
31396 pkg_failed=yes
31397 fi
31398 fi
31399 else
31400 pkg_failed=untried
31401 fi
31402
31403
31404
31405 if test $pkg_failed = yes; then
31406
31407 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31408 _pkg_short_errors_supported=yes
31409 else
31410 _pkg_short_errors_supported=no
31411 fi
31412 if test $_pkg_short_errors_supported = yes; then
31413 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31414 else
31415 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31416 fi
31417 # Put the nasty error message in config.log where it belongs
31418 echo "$PANGOFT2_PKG_ERRORS" >&5
31419
31420
31421 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31422 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31423 wxUSE_PRINTING_ARCHITECTURE="no"
31424
31425
31426 elif test $pkg_failed = untried; then
31427
31428 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31429 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31430 wxUSE_PRINTING_ARCHITECTURE="no"
31431
31432
31433 else
31434 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31435 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31436 echo "$as_me:$LINENO: result: yes" >&5
31437 echo "${ECHO_T}yes" >&6
31438
31439 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31440 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31441
31442 fi
31443
31444 pkg_failed=no
31445 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31446 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
31447
31448 if test -n "$PKG_CONFIG"; then
31449 if test -n "$PANGOXFT_CFLAGS"; then
31450 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31451 else
31452 if test -n "$PKG_CONFIG" && \
31453 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31454 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31455 ac_status=$?
31456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31457 (exit $ac_status); }; then
31458 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31459 else
31460 pkg_failed=yes
31461 fi
31462 fi
31463 else
31464 pkg_failed=untried
31465 fi
31466 if test -n "$PKG_CONFIG"; then
31467 if test -n "$PANGOXFT_LIBS"; then
31468 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31469 else
31470 if test -n "$PKG_CONFIG" && \
31471 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31472 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31473 ac_status=$?
31474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31475 (exit $ac_status); }; then
31476 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31477 else
31478 pkg_failed=yes
31479 fi
31480 fi
31481 else
31482 pkg_failed=untried
31483 fi
31484
31485
31486
31487 if test $pkg_failed = yes; then
31488
31489 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31490 _pkg_short_errors_supported=yes
31491 else
31492 _pkg_short_errors_supported=no
31493 fi
31494 if test $_pkg_short_errors_supported = yes; then
31495 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31496 else
31497 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31498 fi
31499 # Put the nasty error message in config.log where it belongs
31500 echo "$PANGOXFT_PKG_ERRORS" >&5
31501
31502
31503 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31504 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31505
31506
31507 elif test $pkg_failed = untried; then
31508
31509 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31510 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31511
31512
31513 else
31514 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31515 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31516 echo "$as_me:$LINENO: result: yes" >&5
31517 echo "${ECHO_T}yes" >&6
31518
31519 cat >>confdefs.h <<\_ACEOF
31520 #define HAVE_PANGO_XFT 1
31521 _ACEOF
31522
31523 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31524 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31525
31526 fi
31527 save_CXXFLAGS="$CXXFLAGS"
31528 save_LIBS="$LIBS"
31529 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31530 LIBS="$LIBS $PANGOX_LIBS"
31531
31532 for ac_func in pango_font_family_is_monospace
31533 do
31534 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31535 echo "$as_me:$LINENO: checking for $ac_func" >&5
31536 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31537 if eval "test \"\${$as_ac_var+set}\" = set"; then
31538 echo $ECHO_N "(cached) $ECHO_C" >&6
31539 else
31540 cat >conftest.$ac_ext <<_ACEOF
31541 /* confdefs.h. */
31542 _ACEOF
31543 cat confdefs.h >>conftest.$ac_ext
31544 cat >>conftest.$ac_ext <<_ACEOF
31545 /* end confdefs.h. */
31546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31548 #define $ac_func innocuous_$ac_func
31549
31550 /* System header to define __stub macros and hopefully few prototypes,
31551 which can conflict with char $ac_func (); below.
31552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31553 <limits.h> exists even on freestanding compilers. */
31554
31555 #ifdef __STDC__
31556 # include <limits.h>
31557 #else
31558 # include <assert.h>
31559 #endif
31560
31561 #undef $ac_func
31562
31563 /* Override any gcc2 internal prototype to avoid an error. */
31564 #ifdef __cplusplus
31565 extern "C"
31566 {
31567 #endif
31568 /* We use char because int might match the return type of a gcc2
31569 builtin and then its argument prototype would still apply. */
31570 char $ac_func ();
31571 /* The GNU C library defines this for functions which it implements
31572 to always fail with ENOSYS. Some functions are actually named
31573 something starting with __ and the normal name is an alias. */
31574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31575 choke me
31576 #else
31577 char (*f) () = $ac_func;
31578 #endif
31579 #ifdef __cplusplus
31580 }
31581 #endif
31582
31583 int
31584 main ()
31585 {
31586 return f != $ac_func;
31587 ;
31588 return 0;
31589 }
31590 _ACEOF
31591 rm -f conftest.$ac_objext conftest$ac_exeext
31592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31593 (eval $ac_link) 2>conftest.er1
31594 ac_status=$?
31595 grep -v '^ *+' conftest.er1 >conftest.err
31596 rm -f conftest.er1
31597 cat conftest.err >&5
31598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31599 (exit $ac_status); } &&
31600 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31602 (eval $ac_try) 2>&5
31603 ac_status=$?
31604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31605 (exit $ac_status); }; } &&
31606 { ac_try='test -s conftest$ac_exeext'
31607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31608 (eval $ac_try) 2>&5
31609 ac_status=$?
31610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31611 (exit $ac_status); }; }; then
31612 eval "$as_ac_var=yes"
31613 else
31614 echo "$as_me: failed program was:" >&5
31615 sed 's/^/| /' conftest.$ac_ext >&5
31616
31617 eval "$as_ac_var=no"
31618 fi
31619 rm -f conftest.err conftest.$ac_objext \
31620 conftest$ac_exeext conftest.$ac_ext
31621 fi
31622 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31623 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31624 if test `eval echo '${'$as_ac_var'}'` = yes; then
31625 cat >>confdefs.h <<_ACEOF
31626 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31627 _ACEOF
31628
31629 fi
31630 done
31631
31632 CXXFLAGS="$save_CXXFLAGS"
31633 LIBS="$save_LIBS"
31634 fi
31635
31636 wxUSE_UNIVERSAL="yes"
31637
31638 if test "$wxUSE_NANOX" = "yes"; then
31639 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31640 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"
31641 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31642 else
31643 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31644 fi
31645
31646 TOOLKIT=X11
31647 GUIDIST=X11_DIST
31648 fi
31649
31650 if test "$wxUSE_MOTIF" = 1; then
31651 if test "$wxUSE_UNICODE" = "yes"; then
31652 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31653 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31654 { (exit 1); exit 1; }; }
31655 fi
31656
31657 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31658 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31659
31660 ac_find_includes=
31661 for ac_dir in $SEARCH_INCLUDE /usr/include;
31662 do
31663 if test -f "$ac_dir/Xm/Xm.h"; then
31664 ac_find_includes=$ac_dir
31665 break
31666 fi
31667 done
31668
31669 if test "$ac_find_includes" != "" ; then
31670 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31671 echo "${ECHO_T}found in $ac_find_includes" >&6
31672
31673 if test "x$ac_find_includes" = "x/usr/include"; then
31674 ac_path_to_include=""
31675 else
31676 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31677 result=$?
31678 if test $result = 0; then
31679 ac_path_to_include=""
31680 else
31681 ac_path_to_include=" -I$ac_find_includes"
31682 fi
31683 fi
31684
31685 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31686 else
31687 save_CXXFLAGS=$CXXFLAGS
31688 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31689
31690 cat >conftest.$ac_ext <<_ACEOF
31691 /* confdefs.h. */
31692 _ACEOF
31693 cat confdefs.h >>conftest.$ac_ext
31694 cat >>conftest.$ac_ext <<_ACEOF
31695 /* end confdefs.h. */
31696
31697 #include <Xm/Xm.h>
31698
31699 int
31700 main ()
31701 {
31702
31703 int version;
31704 version = xmUseVersion;
31705
31706 ;
31707 return 0;
31708 }
31709 _ACEOF
31710 rm -f conftest.$ac_objext
31711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31712 (eval $ac_compile) 2>conftest.er1
31713 ac_status=$?
31714 grep -v '^ *+' conftest.er1 >conftest.err
31715 rm -f conftest.er1
31716 cat conftest.err >&5
31717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31718 (exit $ac_status); } &&
31719 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31721 (eval $ac_try) 2>&5
31722 ac_status=$?
31723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31724 (exit $ac_status); }; } &&
31725 { ac_try='test -s conftest.$ac_objext'
31726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31727 (eval $ac_try) 2>&5
31728 ac_status=$?
31729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31730 (exit $ac_status); }; }; then
31731
31732 echo "$as_me:$LINENO: result: found in default search path" >&5
31733 echo "${ECHO_T}found in default search path" >&6
31734 COMPILED_X_PROGRAM=1
31735
31736 else
31737 echo "$as_me: failed program was:" >&5
31738 sed 's/^/| /' conftest.$ac_ext >&5
31739
31740
31741 echo "$as_me:$LINENO: result: no" >&5
31742 echo "${ECHO_T}no" >&6
31743 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31744 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31745 { (exit 1); exit 1; }; }
31746
31747
31748 fi
31749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31750
31751 CXXFLAGS=$save_CXXFLAGS
31752 fi
31753
31754
31755 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31756 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31757
31758 ac_find_libraries=
31759 for ac_dir in $SEARCH_LIB;
31760 do
31761 for ac_extension in a so sl dylib dll.a; do
31762 if test -f "$ac_dir/libXm.$ac_extension"; then
31763 ac_find_libraries=$ac_dir
31764 break 2
31765 fi
31766 done
31767 done
31768
31769
31770 if test "x$ac_find_libraries" != "x" ; then
31771 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31772 echo "${ECHO_T}found in $ac_find_libraries" >&6
31773
31774
31775 if test "$ac_find_libraries" = "default location"; then
31776 ac_path_to_link=""
31777 else
31778 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31779 result=$?
31780 if test $result = 0; then
31781 ac_path_to_link=""
31782 else
31783 ac_path_to_link=" -L$ac_find_libraries"
31784 fi
31785 fi
31786
31787 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31788 else
31789 save_CXXFLAGS=$CXXFLAGS
31790 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31791 save_LIBS="$LIBS"
31792 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31793
31794 cat >conftest.$ac_ext <<_ACEOF
31795 /* confdefs.h. */
31796 _ACEOF
31797 cat confdefs.h >>conftest.$ac_ext
31798 cat >>conftest.$ac_ext <<_ACEOF
31799 /* end confdefs.h. */
31800
31801 #include <Xm/Xm.h>
31802
31803 int
31804 main ()
31805 {
31806
31807 int version;
31808 version = xmUseVersion;
31809
31810 ;
31811 return 0;
31812 }
31813 _ACEOF
31814 rm -f conftest.$ac_objext conftest$ac_exeext
31815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31816 (eval $ac_link) 2>conftest.er1
31817 ac_status=$?
31818 grep -v '^ *+' conftest.er1 >conftest.err
31819 rm -f conftest.er1
31820 cat conftest.err >&5
31821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31822 (exit $ac_status); } &&
31823 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31825 (eval $ac_try) 2>&5
31826 ac_status=$?
31827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31828 (exit $ac_status); }; } &&
31829 { ac_try='test -s conftest$ac_exeext'
31830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31831 (eval $ac_try) 2>&5
31832 ac_status=$?
31833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31834 (exit $ac_status); }; }; then
31835
31836 echo "$as_me:$LINENO: result: found in default search path" >&5
31837 echo "${ECHO_T}found in default search path" >&6
31838 COMPILED_X_PROGRAM=1
31839
31840 else
31841 echo "$as_me: failed program was:" >&5
31842 sed 's/^/| /' conftest.$ac_ext >&5
31843
31844
31845 echo "$as_me:$LINENO: result: no" >&5
31846 echo "${ECHO_T}no" >&6
31847 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31848 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31849 { (exit 1); exit 1; }; }
31850
31851
31852 fi
31853 rm -f conftest.err conftest.$ac_objext \
31854 conftest$ac_exeext conftest.$ac_ext
31855
31856 CXXFLAGS=$save_CXXFLAGS
31857 LIBS="$save_LIBS"
31858 fi
31859
31860 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31861 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31862 libp_link=""
31863 libsm_ice_link=""
31864 libs_found=0
31865 for libp in "" " -lXp"; do
31866 if test "$libs_found" = "0"; then
31867 for libsm_ice in "" " -lSM -lICE"; do
31868 if test "$libs_found" = "0"; then
31869 save_LIBS="$LIBS"
31870 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31871 save_CXXFLAGS=$CXXFLAGS
31872 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31873
31874 cat >conftest.$ac_ext <<_ACEOF
31875 /* confdefs.h. */
31876 _ACEOF
31877 cat confdefs.h >>conftest.$ac_ext
31878 cat >>conftest.$ac_ext <<_ACEOF
31879 /* end confdefs.h. */
31880
31881 #include <Xm/Xm.h>
31882 #include <Xm/List.h>
31883
31884 int
31885 main ()
31886 {
31887
31888 XmString string = NULL;
31889 Widget w = NULL;
31890 int position = 0;
31891 XmListAddItem(w, string, position);
31892
31893 ;
31894 return 0;
31895 }
31896 _ACEOF
31897 rm -f conftest.$ac_objext conftest$ac_exeext
31898 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31899 (eval $ac_link) 2>conftest.er1
31900 ac_status=$?
31901 grep -v '^ *+' conftest.er1 >conftest.err
31902 rm -f conftest.er1
31903 cat conftest.err >&5
31904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31905 (exit $ac_status); } &&
31906 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31908 (eval $ac_try) 2>&5
31909 ac_status=$?
31910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31911 (exit $ac_status); }; } &&
31912 { ac_try='test -s conftest$ac_exeext'
31913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31914 (eval $ac_try) 2>&5
31915 ac_status=$?
31916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31917 (exit $ac_status); }; }; then
31918
31919 libp_link="$libp"
31920 libsm_ice_link="$libsm_ice"
31921 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31922 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31923 libs_found=1
31924
31925 else
31926 echo "$as_me: failed program was:" >&5
31927 sed 's/^/| /' conftest.$ac_ext >&5
31928
31929
31930
31931 fi
31932 rm -f conftest.err conftest.$ac_objext \
31933 conftest$ac_exeext conftest.$ac_ext
31934
31935 LIBS="$save_LIBS"
31936 CXXFLAGS=$save_CXXFLAGS
31937 fi
31938 done
31939 fi
31940 done
31941
31942 if test "$libs_found" = "0"; then
31943 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31944 echo "${ECHO_T}can't find the right libraries" >&6
31945 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31946 echo "$as_me: error: can't link a simple motif program" >&2;}
31947 { (exit 1); exit 1; }; }
31948 fi
31949
31950 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31951 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31952 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31953 echo $ECHO_N "(cached) $ECHO_C" >&6
31954 else
31955 ac_check_lib_save_LIBS=$LIBS
31956 LIBS="-lSgm $LIBS"
31957 cat >conftest.$ac_ext <<_ACEOF
31958 /* confdefs.h. */
31959 _ACEOF
31960 cat confdefs.h >>conftest.$ac_ext
31961 cat >>conftest.$ac_ext <<_ACEOF
31962 /* end confdefs.h. */
31963
31964 /* Override any gcc2 internal prototype to avoid an error. */
31965 #ifdef __cplusplus
31966 extern "C"
31967 #endif
31968 /* We use char because int might match the return type of a gcc2
31969 builtin and then its argument prototype would still apply. */
31970 char SgCreateList ();
31971 int
31972 main ()
31973 {
31974 SgCreateList ();
31975 ;
31976 return 0;
31977 }
31978 _ACEOF
31979 rm -f conftest.$ac_objext conftest$ac_exeext
31980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31981 (eval $ac_link) 2>conftest.er1
31982 ac_status=$?
31983 grep -v '^ *+' conftest.er1 >conftest.err
31984 rm -f conftest.er1
31985 cat conftest.err >&5
31986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31987 (exit $ac_status); } &&
31988 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31990 (eval $ac_try) 2>&5
31991 ac_status=$?
31992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31993 (exit $ac_status); }; } &&
31994 { ac_try='test -s conftest$ac_exeext'
31995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31996 (eval $ac_try) 2>&5
31997 ac_status=$?
31998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31999 (exit $ac_status); }; }; then
32000 ac_cv_lib_Sgm_SgCreateList=yes
32001 else
32002 echo "$as_me: failed program was:" >&5
32003 sed 's/^/| /' conftest.$ac_ext >&5
32004
32005 ac_cv_lib_Sgm_SgCreateList=no
32006 fi
32007 rm -f conftest.err conftest.$ac_objext \
32008 conftest$ac_exeext conftest.$ac_ext
32009 LIBS=$ac_check_lib_save_LIBS
32010 fi
32011 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32012 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
32013 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32014 libsgm_link=" -lSgm"
32015 fi
32016
32017
32018 save_CXXFLAGS=$CXXFLAGS
32019 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
32020
32021 echo "$as_me:$LINENO: checking for Motif 2" >&5
32022 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
32023 if test "${wx_cv_lib_motif2+set}" = set; then
32024 echo $ECHO_N "(cached) $ECHO_C" >&6
32025 else
32026 cat >conftest.$ac_ext <<_ACEOF
32027 /* confdefs.h. */
32028 _ACEOF
32029 cat confdefs.h >>conftest.$ac_ext
32030 cat >>conftest.$ac_ext <<_ACEOF
32031 /* end confdefs.h. */
32032
32033 #include <Xm/Xm.h>
32034
32035 int
32036 main ()
32037 {
32038
32039 #if XmVersion < 2000
32040 Not Motif 2
32041 #endif
32042
32043 ;
32044 return 0;
32045 }
32046 _ACEOF
32047 rm -f conftest.$ac_objext
32048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32049 (eval $ac_compile) 2>conftest.er1
32050 ac_status=$?
32051 grep -v '^ *+' conftest.er1 >conftest.err
32052 rm -f conftest.er1
32053 cat conftest.err >&5
32054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32055 (exit $ac_status); } &&
32056 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32058 (eval $ac_try) 2>&5
32059 ac_status=$?
32060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32061 (exit $ac_status); }; } &&
32062 { ac_try='test -s conftest.$ac_objext'
32063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32064 (eval $ac_try) 2>&5
32065 ac_status=$?
32066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32067 (exit $ac_status); }; }; then
32068 wx_cv_lib_motif2="yes"
32069 else
32070 echo "$as_me: failed program was:" >&5
32071 sed 's/^/| /' conftest.$ac_ext >&5
32072
32073 wx_cv_lib_motif2="no"
32074 fi
32075 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32076 fi
32077 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32078 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
32079 if test "$wx_cv_lib_motif2" = "yes"; then
32080 cat >>confdefs.h <<\_ACEOF
32081 #define __WXMOTIF20__ 1
32082 _ACEOF
32083
32084 else
32085 cat >>confdefs.h <<\_ACEOF
32086 #define __WXMOTIF20__ 0
32087 _ACEOF
32088
32089 fi
32090
32091 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32092 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
32093 if test "${wx_cv_lib_lesstif+set}" = set; then
32094 echo $ECHO_N "(cached) $ECHO_C" >&6
32095 else
32096 cat >conftest.$ac_ext <<_ACEOF
32097 /* confdefs.h. */
32098 _ACEOF
32099 cat confdefs.h >>conftest.$ac_ext
32100 cat >>conftest.$ac_ext <<_ACEOF
32101 /* end confdefs.h. */
32102
32103 #include <Xm/Xm.h>
32104
32105 int
32106 main ()
32107 {
32108
32109 #if !defined(LesstifVersion) || LesstifVersion <= 0
32110 Not Lesstif
32111 #endif
32112
32113 ;
32114 return 0;
32115 }
32116 _ACEOF
32117 rm -f conftest.$ac_objext
32118 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32119 (eval $ac_compile) 2>conftest.er1
32120 ac_status=$?
32121 grep -v '^ *+' conftest.er1 >conftest.err
32122 rm -f conftest.er1
32123 cat conftest.err >&5
32124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32125 (exit $ac_status); } &&
32126 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32128 (eval $ac_try) 2>&5
32129 ac_status=$?
32130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32131 (exit $ac_status); }; } &&
32132 { ac_try='test -s conftest.$ac_objext'
32133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32134 (eval $ac_try) 2>&5
32135 ac_status=$?
32136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32137 (exit $ac_status); }; }; then
32138 wx_cv_lib_lesstif="yes"
32139 else
32140 echo "$as_me: failed program was:" >&5
32141 sed 's/^/| /' conftest.$ac_ext >&5
32142
32143 wx_cv_lib_lesstif="no"
32144 fi
32145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32146
32147 fi
32148 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32149 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
32150 if test "$wx_cv_lib_lesstif" = "yes"; then
32151 cat >>confdefs.h <<\_ACEOF
32152 #define __WXLESSTIF__ 1
32153 _ACEOF
32154
32155 else
32156 cat >>confdefs.h <<\_ACEOF
32157 #define __WXLESSTIF__ 0
32158 _ACEOF
32159
32160 fi
32161
32162 CXXFLAGS=$save_CXXFLAGS
32163
32164 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32165 TOOLKIT=MOTIF
32166 GUIDIST=MOTIF_DIST
32167 fi
32168
32169 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32170 if test "$wxUSE_LIBXPM" = "sys"; then
32171 echo "$as_me:$LINENO: checking for Xpm library" >&5
32172 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
32173
32174 ac_find_libraries=
32175 for ac_dir in $SEARCH_LIB;
32176 do
32177 for ac_extension in a so sl dylib dll.a; do
32178 if test -f "$ac_dir/libXpm.$ac_extension"; then
32179 ac_find_libraries=$ac_dir
32180 break 2
32181 fi
32182 done
32183 done
32184
32185 if test "$ac_find_libraries" != "" ; then
32186
32187 if test "$ac_find_libraries" = "default location"; then
32188 ac_path_to_link=""
32189 else
32190 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32191 result=$?
32192 if test $result = 0; then
32193 ac_path_to_link=""
32194 else
32195 ac_path_to_link=" -L$ac_find_libraries"
32196 fi
32197 fi
32198
32199 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32200 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32201 echo "${ECHO_T}found in $ac_find_libraries" >&6
32202
32203 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32204 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
32205 if test "${wx_cv_x11_xpm_h+set}" = set; then
32206 echo $ECHO_N "(cached) $ECHO_C" >&6
32207 else
32208
32209 save_CXXFLAGS=$CXXFLAGS
32210 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
32211
32212 cat >conftest.$ac_ext <<_ACEOF
32213 /* confdefs.h. */
32214 _ACEOF
32215 cat confdefs.h >>conftest.$ac_ext
32216 cat >>conftest.$ac_ext <<_ACEOF
32217 /* end confdefs.h. */
32218
32219 #include <X11/xpm.h>
32220
32221 int
32222 main ()
32223 {
32224
32225 int version;
32226 version = XpmLibraryVersion();
32227
32228 ;
32229 return 0;
32230 }
32231 _ACEOF
32232 rm -f conftest.$ac_objext
32233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32234 (eval $ac_compile) 2>conftest.er1
32235 ac_status=$?
32236 grep -v '^ *+' conftest.er1 >conftest.err
32237 rm -f conftest.er1
32238 cat conftest.err >&5
32239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32240 (exit $ac_status); } &&
32241 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32243 (eval $ac_try) 2>&5
32244 ac_status=$?
32245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32246 (exit $ac_status); }; } &&
32247 { ac_try='test -s conftest.$ac_objext'
32248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32249 (eval $ac_try) 2>&5
32250 ac_status=$?
32251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32252 (exit $ac_status); }; }; then
32253 wx_cv_x11_xpm_h=yes
32254 else
32255 echo "$as_me: failed program was:" >&5
32256 sed 's/^/| /' conftest.$ac_ext >&5
32257
32258 wx_cv_x11_xpm_h=no
32259
32260 fi
32261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32262
32263 CXXFLAGS=$save_CXXFLAGS
32264
32265
32266 fi
32267 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32268 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
32269
32270 if test $wx_cv_x11_xpm_h = "yes"; then
32271 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32272 cat >>confdefs.h <<\_ACEOF
32273 #define wxHAVE_LIB_XPM 1
32274 _ACEOF
32275
32276 else
32277 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32278 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32279 fi
32280 fi
32281
32282 fi
32283
32284 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32285 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
32286 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32287 echo $ECHO_N "(cached) $ECHO_C" >&6
32288 else
32289 ac_check_lib_save_LIBS=$LIBS
32290 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32291 cat >conftest.$ac_ext <<_ACEOF
32292 /* confdefs.h. */
32293 _ACEOF
32294 cat confdefs.h >>conftest.$ac_ext
32295 cat >>conftest.$ac_ext <<_ACEOF
32296 /* end confdefs.h. */
32297
32298 /* Override any gcc2 internal prototype to avoid an error. */
32299 #ifdef __cplusplus
32300 extern "C"
32301 #endif
32302 /* We use char because int might match the return type of a gcc2
32303 builtin and then its argument prototype would still apply. */
32304 char XShapeQueryExtension ();
32305 int
32306 main ()
32307 {
32308 XShapeQueryExtension ();
32309 ;
32310 return 0;
32311 }
32312 _ACEOF
32313 rm -f conftest.$ac_objext conftest$ac_exeext
32314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32315 (eval $ac_link) 2>conftest.er1
32316 ac_status=$?
32317 grep -v '^ *+' conftest.er1 >conftest.err
32318 rm -f conftest.er1
32319 cat conftest.err >&5
32320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32321 (exit $ac_status); } &&
32322 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32324 (eval $ac_try) 2>&5
32325 ac_status=$?
32326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32327 (exit $ac_status); }; } &&
32328 { ac_try='test -s conftest$ac_exeext'
32329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32330 (eval $ac_try) 2>&5
32331 ac_status=$?
32332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32333 (exit $ac_status); }; }; then
32334 ac_cv_lib_Xext_XShapeQueryExtension=yes
32335 else
32336 echo "$as_me: failed program was:" >&5
32337 sed 's/^/| /' conftest.$ac_ext >&5
32338
32339 ac_cv_lib_Xext_XShapeQueryExtension=no
32340 fi
32341 rm -f conftest.err conftest.$ac_objext \
32342 conftest$ac_exeext conftest.$ac_ext
32343 LIBS=$ac_check_lib_save_LIBS
32344 fi
32345 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32346 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
32347 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32348
32349 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32350 wxHAVE_XEXT_LIB=1
32351
32352 fi
32353
32354
32355 if test "$wxHAVE_XEXT_LIB" = 1; then
32356 save_CXXFLAGS="$CXXFLAGS"
32357 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
32358
32359 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32360 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
32361 cat >conftest.$ac_ext <<_ACEOF
32362 /* confdefs.h. */
32363 _ACEOF
32364 cat confdefs.h >>conftest.$ac_ext
32365 cat >>conftest.$ac_ext <<_ACEOF
32366 /* end confdefs.h. */
32367
32368 #include <X11/Xlib.h>
32369 #include <X11/extensions/shape.h>
32370
32371 int
32372 main ()
32373 {
32374
32375 int dummy1, dummy2;
32376 XShapeQueryExtension((Display*)NULL,
32377 (int*)NULL, (int*)NULL);
32378
32379 ;
32380 return 0;
32381 }
32382 _ACEOF
32383 rm -f conftest.$ac_objext
32384 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32385 (eval $ac_compile) 2>conftest.er1
32386 ac_status=$?
32387 grep -v '^ *+' conftest.er1 >conftest.err
32388 rm -f conftest.er1
32389 cat conftest.err >&5
32390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32391 (exit $ac_status); } &&
32392 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32394 (eval $ac_try) 2>&5
32395 ac_status=$?
32396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32397 (exit $ac_status); }; } &&
32398 { ac_try='test -s conftest.$ac_objext'
32399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32400 (eval $ac_try) 2>&5
32401 ac_status=$?
32402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32403 (exit $ac_status); }; }; then
32404
32405 cat >>confdefs.h <<\_ACEOF
32406 #define HAVE_XSHAPE 1
32407 _ACEOF
32408
32409 echo "$as_me:$LINENO: result: found" >&5
32410 echo "${ECHO_T}found" >&6
32411
32412 else
32413 echo "$as_me: failed program was:" >&5
32414 sed 's/^/| /' conftest.$ac_ext >&5
32415
32416
32417 echo "$as_me:$LINENO: result: not found" >&5
32418 echo "${ECHO_T}not found" >&6
32419
32420 fi
32421 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32422 CXXFLAGS="$save_CXXFLAGS"
32423
32424 fi
32425 fi
32426
32427 if test "$wxUSE_MAC" = 1; then
32428 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32429 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
32430 if test "$GCC" = yes; then
32431 echo "$as_me:$LINENO: result: gcc" >&5
32432 echo "${ECHO_T}gcc" >&6
32433 CPPFLAGS_PASCAL="-fpascal-strings"
32434 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32435 echo "$as_me:$LINENO: result: xlc" >&5
32436 echo "${ECHO_T}xlc" >&6
32437 CPPFLAGS_PASCAL="-qmacpstr"
32438 else
32439 echo "$as_me:$LINENO: result: none" >&5
32440 echo "${ECHO_T}none" >&6
32441 fi
32442
32443 if test "x$wxUSE_UNIX" = "xyes"; then
32444 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32445 else
32446 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32447 fi
32448
32449 TOOLKIT=MAC
32450 GUIDIST=MACX_DIST
32451 WXBASEPORT="_carbon"
32452 fi
32453
32454 if test "$wxUSE_COCOA" = 1; then
32455 TOOLKIT=COCOA
32456 GUIDIST=COCOA_DIST
32457 fi
32458
32459 if test "$wxUSE_PM" = 1; then
32460 TOOLKIT=PM
32461 GUIDIST=PM_DIST
32462 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32463 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
32464 if test "${wx_cv_spbcdata+set}" = set; then
32465 echo $ECHO_N "(cached) $ECHO_C" >&6
32466 else
32467
32468 cat >conftest.$ac_ext <<_ACEOF
32469 /* confdefs.h. */
32470 _ACEOF
32471 cat confdefs.h >>conftest.$ac_ext
32472 cat >>conftest.$ac_ext <<_ACEOF
32473 /* end confdefs.h. */
32474
32475 #define INCL_PM
32476 #include <os2.h>
32477
32478 int
32479 main ()
32480 {
32481
32482 SPBCDATA test;
32483
32484 ;
32485 return 0;
32486 }
32487 _ACEOF
32488 rm -f conftest.$ac_objext
32489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32490 (eval $ac_compile) 2>conftest.er1
32491 ac_status=$?
32492 grep -v '^ *+' conftest.er1 >conftest.err
32493 rm -f conftest.er1
32494 cat conftest.err >&5
32495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32496 (exit $ac_status); } &&
32497 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32499 (eval $ac_try) 2>&5
32500 ac_status=$?
32501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32502 (exit $ac_status); }; } &&
32503 { ac_try='test -s conftest.$ac_objext'
32504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32505 (eval $ac_try) 2>&5
32506 ac_status=$?
32507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32508 (exit $ac_status); }; }; then
32509 wx_cv_spbcdata=yes
32510 else
32511 echo "$as_me: failed program was:" >&5
32512 sed 's/^/| /' conftest.$ac_ext >&5
32513
32514 wx_cv_spbcdata=no
32515
32516 fi
32517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32518
32519
32520 fi
32521 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32522 echo "${ECHO_T}$wx_cv_spbcdata" >&6
32523
32524 if test $wx_cv_spbcdata = "yes"; then
32525 cat >>confdefs.h <<\_ACEOF
32526 #define HAVE_SPBCDATA 1
32527 _ACEOF
32528
32529 fi
32530 fi
32531
32532 if test "$TOOLKIT" = "PM" ; then
32533 TOOLKIT_DIR="os2"
32534 else
32535 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
32536 fi
32537
32538 if test "$wxUSE_UNIVERSAL" = "yes"; then
32539 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32540 WIDGET_SET=univ
32541 fi
32542
32543 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32544 DISTDIR="wx\$(TOOLKIT)"
32545 else
32546 USE_GUI=0
32547
32548 TOOLKIT_DIR="base"
32549
32550 if test "$USE_WIN32" = 1 ; then
32551 TOOLKIT="MSW"
32552 fi
32553
32554 GUIDIST="BASE_DIST"
32555 DISTDIR="wxBase"
32556 fi
32557
32558
32559 if test "$wxUSE_GUI" = "yes"; then
32560 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32561
32562 for ac_header in X11/Xlib.h
32563 do
32564 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32565 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32566 echo "$as_me:$LINENO: checking for $ac_header" >&5
32567 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32568 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32569 echo $ECHO_N "(cached) $ECHO_C" >&6
32570 fi
32571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32572 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32573 else
32574 # Is the header compilable?
32575 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32576 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
32584 #include <$ac_header>
32585 _ACEOF
32586 rm -f conftest.$ac_objext
32587 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32588 (eval $ac_compile) 2>conftest.er1
32589 ac_status=$?
32590 grep -v '^ *+' conftest.er1 >conftest.err
32591 rm -f conftest.er1
32592 cat conftest.err >&5
32593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32594 (exit $ac_status); } &&
32595 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32597 (eval $ac_try) 2>&5
32598 ac_status=$?
32599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32600 (exit $ac_status); }; } &&
32601 { ac_try='test -s conftest.$ac_objext'
32602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32603 (eval $ac_try) 2>&5
32604 ac_status=$?
32605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32606 (exit $ac_status); }; }; then
32607 ac_header_compiler=yes
32608 else
32609 echo "$as_me: failed program was:" >&5
32610 sed 's/^/| /' conftest.$ac_ext >&5
32611
32612 ac_header_compiler=no
32613 fi
32614 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32615 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32616 echo "${ECHO_T}$ac_header_compiler" >&6
32617
32618 # Is the header present?
32619 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32620 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32621 cat >conftest.$ac_ext <<_ACEOF
32622 /* confdefs.h. */
32623 _ACEOF
32624 cat confdefs.h >>conftest.$ac_ext
32625 cat >>conftest.$ac_ext <<_ACEOF
32626 /* end confdefs.h. */
32627 #include <$ac_header>
32628 _ACEOF
32629 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32630 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32631 ac_status=$?
32632 grep -v '^ *+' conftest.er1 >conftest.err
32633 rm -f conftest.er1
32634 cat conftest.err >&5
32635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32636 (exit $ac_status); } >/dev/null; then
32637 if test -s conftest.err; then
32638 ac_cpp_err=$ac_cxx_preproc_warn_flag
32639 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32640 else
32641 ac_cpp_err=
32642 fi
32643 else
32644 ac_cpp_err=yes
32645 fi
32646 if test -z "$ac_cpp_err"; then
32647 ac_header_preproc=yes
32648 else
32649 echo "$as_me: failed program was:" >&5
32650 sed 's/^/| /' conftest.$ac_ext >&5
32651
32652 ac_header_preproc=no
32653 fi
32654 rm -f conftest.err conftest.$ac_ext
32655 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32656 echo "${ECHO_T}$ac_header_preproc" >&6
32657
32658 # So? What about this header?
32659 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32660 yes:no: )
32661 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32662 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32663 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32664 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32665 ac_header_preproc=yes
32666 ;;
32667 no:yes:* )
32668 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32669 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32670 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32671 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32672 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32673 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32674 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32675 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32676 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32677 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32678 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32679 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32680 (
32681 cat <<\_ASBOX
32682 ## ----------------------------------------- ##
32683 ## Report this to wx-dev@lists.wxwidgets.org ##
32684 ## ----------------------------------------- ##
32685 _ASBOX
32686 ) |
32687 sed "s/^/$as_me: WARNING: /" >&2
32688 ;;
32689 esac
32690 echo "$as_me:$LINENO: checking for $ac_header" >&5
32691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32692 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32693 echo $ECHO_N "(cached) $ECHO_C" >&6
32694 else
32695 eval "$as_ac_Header=\$ac_header_preproc"
32696 fi
32697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32698 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32699
32700 fi
32701 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32702 cat >>confdefs.h <<_ACEOF
32703 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32704 _ACEOF
32705
32706 fi
32707
32708 done
32709
32710
32711 for ac_header in X11/XKBlib.h
32712 do
32713 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32714 echo "$as_me:$LINENO: checking for $ac_header" >&5
32715 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32716 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32717 echo $ECHO_N "(cached) $ECHO_C" >&6
32718 else
32719 cat >conftest.$ac_ext <<_ACEOF
32720 /* confdefs.h. */
32721 _ACEOF
32722 cat confdefs.h >>conftest.$ac_ext
32723 cat >>conftest.$ac_ext <<_ACEOF
32724 /* end confdefs.h. */
32725
32726 #if HAVE_X11_XLIB_H
32727 #include <X11/Xlib.h>
32728 #endif
32729
32730
32731 #include <$ac_header>
32732 _ACEOF
32733 rm -f conftest.$ac_objext
32734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32735 (eval $ac_compile) 2>conftest.er1
32736 ac_status=$?
32737 grep -v '^ *+' conftest.er1 >conftest.err
32738 rm -f conftest.er1
32739 cat conftest.err >&5
32740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32741 (exit $ac_status); } &&
32742 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32744 (eval $ac_try) 2>&5
32745 ac_status=$?
32746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32747 (exit $ac_status); }; } &&
32748 { ac_try='test -s conftest.$ac_objext'
32749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32750 (eval $ac_try) 2>&5
32751 ac_status=$?
32752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32753 (exit $ac_status); }; }; then
32754 eval "$as_ac_Header=yes"
32755 else
32756 echo "$as_me: failed program was:" >&5
32757 sed 's/^/| /' conftest.$ac_ext >&5
32758
32759 eval "$as_ac_Header=no"
32760 fi
32761 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32762 fi
32763 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32764 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32765 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32766 cat >>confdefs.h <<_ACEOF
32767 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32768 _ACEOF
32769
32770 fi
32771
32772 done
32773
32774 fi
32775 fi
32776
32777
32778
32779 IODBC_C_SRC=""
32780
32781
32782 if test "$TOOLKIT" != "MSW" ; then
32783
32784 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32785
32786 if test "${ac_cv_header_sql_h+set}" = set; then
32787 echo "$as_me:$LINENO: checking for sql.h" >&5
32788 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32789 if test "${ac_cv_header_sql_h+set}" = set; then
32790 echo $ECHO_N "(cached) $ECHO_C" >&6
32791 fi
32792 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32793 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32794 else
32795 # Is the header compilable?
32796 echo "$as_me:$LINENO: checking sql.h usability" >&5
32797 echo $ECHO_N "checking sql.h usability... $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 $ac_includes_default
32805 #include <sql.h>
32806 _ACEOF
32807 rm -f conftest.$ac_objext
32808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32809 (eval $ac_compile) 2>conftest.er1
32810 ac_status=$?
32811 grep -v '^ *+' conftest.er1 >conftest.err
32812 rm -f conftest.er1
32813 cat conftest.err >&5
32814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32815 (exit $ac_status); } &&
32816 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32818 (eval $ac_try) 2>&5
32819 ac_status=$?
32820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32821 (exit $ac_status); }; } &&
32822 { ac_try='test -s conftest.$ac_objext'
32823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32824 (eval $ac_try) 2>&5
32825 ac_status=$?
32826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32827 (exit $ac_status); }; }; then
32828 ac_header_compiler=yes
32829 else
32830 echo "$as_me: failed program was:" >&5
32831 sed 's/^/| /' conftest.$ac_ext >&5
32832
32833 ac_header_compiler=no
32834 fi
32835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32836 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32837 echo "${ECHO_T}$ac_header_compiler" >&6
32838
32839 # Is the header present?
32840 echo "$as_me:$LINENO: checking sql.h presence" >&5
32841 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32842 cat >conftest.$ac_ext <<_ACEOF
32843 /* confdefs.h. */
32844 _ACEOF
32845 cat confdefs.h >>conftest.$ac_ext
32846 cat >>conftest.$ac_ext <<_ACEOF
32847 /* end confdefs.h. */
32848 #include <sql.h>
32849 _ACEOF
32850 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32851 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32852 ac_status=$?
32853 grep -v '^ *+' conftest.er1 >conftest.err
32854 rm -f conftest.er1
32855 cat conftest.err >&5
32856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32857 (exit $ac_status); } >/dev/null; then
32858 if test -s conftest.err; then
32859 ac_cpp_err=$ac_cxx_preproc_warn_flag
32860 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32861 else
32862 ac_cpp_err=
32863 fi
32864 else
32865 ac_cpp_err=yes
32866 fi
32867 if test -z "$ac_cpp_err"; then
32868 ac_header_preproc=yes
32869 else
32870 echo "$as_me: failed program was:" >&5
32871 sed 's/^/| /' conftest.$ac_ext >&5
32872
32873 ac_header_preproc=no
32874 fi
32875 rm -f conftest.err conftest.$ac_ext
32876 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32877 echo "${ECHO_T}$ac_header_preproc" >&6
32878
32879 # So? What about this header?
32880 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32881 yes:no: )
32882 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32883 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32884 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32885 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32886 ac_header_preproc=yes
32887 ;;
32888 no:yes:* )
32889 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32890 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32891 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32892 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32893 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32894 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32895 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32896 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32897 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32898 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32899 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32900 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32901 (
32902 cat <<\_ASBOX
32903 ## ----------------------------------------- ##
32904 ## Report this to wx-dev@lists.wxwidgets.org ##
32905 ## ----------------------------------------- ##
32906 _ASBOX
32907 ) |
32908 sed "s/^/$as_me: WARNING: /" >&2
32909 ;;
32910 esac
32911 echo "$as_me:$LINENO: checking for sql.h" >&5
32912 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32913 if test "${ac_cv_header_sql_h+set}" = set; then
32914 echo $ECHO_N "(cached) $ECHO_C" >&6
32915 else
32916 ac_cv_header_sql_h=$ac_header_preproc
32917 fi
32918 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32919 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32920
32921 fi
32922 if test $ac_cv_header_sql_h = yes; then
32923 found_sql_h=1
32924 fi
32925
32926
32927 if test "x$found_sql_h" = "x1" ; then
32928 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32929 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32930 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32931 echo $ECHO_N "(cached) $ECHO_C" >&6
32932 else
32933 ac_check_lib_save_LIBS=$LIBS
32934 LIBS="-liodbc $LIBS"
32935 cat >conftest.$ac_ext <<_ACEOF
32936 /* confdefs.h. */
32937 _ACEOF
32938 cat confdefs.h >>conftest.$ac_ext
32939 cat >>conftest.$ac_ext <<_ACEOF
32940 /* end confdefs.h. */
32941
32942 /* Override any gcc2 internal prototype to avoid an error. */
32943 #ifdef __cplusplus
32944 extern "C"
32945 #endif
32946 /* We use char because int might match the return type of a gcc2
32947 builtin and then its argument prototype would still apply. */
32948 char SQLAllocEnv ();
32949 int
32950 main ()
32951 {
32952 SQLAllocEnv ();
32953 ;
32954 return 0;
32955 }
32956 _ACEOF
32957 rm -f conftest.$ac_objext conftest$ac_exeext
32958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32959 (eval $ac_link) 2>conftest.er1
32960 ac_status=$?
32961 grep -v '^ *+' conftest.er1 >conftest.err
32962 rm -f conftest.er1
32963 cat conftest.err >&5
32964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32965 (exit $ac_status); } &&
32966 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32968 (eval $ac_try) 2>&5
32969 ac_status=$?
32970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32971 (exit $ac_status); }; } &&
32972 { ac_try='test -s conftest$ac_exeext'
32973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32974 (eval $ac_try) 2>&5
32975 ac_status=$?
32976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32977 (exit $ac_status); }; }; then
32978 ac_cv_lib_iodbc_SQLAllocEnv=yes
32979 else
32980 echo "$as_me: failed program was:" >&5
32981 sed 's/^/| /' conftest.$ac_ext >&5
32982
32983 ac_cv_lib_iodbc_SQLAllocEnv=no
32984 fi
32985 rm -f conftest.err conftest.$ac_objext \
32986 conftest$ac_exeext conftest.$ac_ext
32987 LIBS=$ac_check_lib_save_LIBS
32988 fi
32989 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32990 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
32991 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32992 ODBC_LINK=" -liodbc"
32993 else
32994
32995 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32996 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
32997 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32998 echo $ECHO_N "(cached) $ECHO_C" >&6
32999 else
33000 ac_check_lib_save_LIBS=$LIBS
33001 LIBS="-lunixodbc $LIBS"
33002 cat >conftest.$ac_ext <<_ACEOF
33003 /* confdefs.h. */
33004 _ACEOF
33005 cat confdefs.h >>conftest.$ac_ext
33006 cat >>conftest.$ac_ext <<_ACEOF
33007 /* end confdefs.h. */
33008
33009 /* Override any gcc2 internal prototype to avoid an error. */
33010 #ifdef __cplusplus
33011 extern "C"
33012 #endif
33013 /* We use char because int might match the return type of a gcc2
33014 builtin and then its argument prototype would still apply. */
33015 char SQLAllocEnv ();
33016 int
33017 main ()
33018 {
33019 SQLAllocEnv ();
33020 ;
33021 return 0;
33022 }
33023 _ACEOF
33024 rm -f conftest.$ac_objext conftest$ac_exeext
33025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33026 (eval $ac_link) 2>conftest.er1
33027 ac_status=$?
33028 grep -v '^ *+' conftest.er1 >conftest.err
33029 rm -f conftest.er1
33030 cat conftest.err >&5
33031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33032 (exit $ac_status); } &&
33033 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33035 (eval $ac_try) 2>&5
33036 ac_status=$?
33037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33038 (exit $ac_status); }; } &&
33039 { ac_try='test -s conftest$ac_exeext'
33040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33041 (eval $ac_try) 2>&5
33042 ac_status=$?
33043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33044 (exit $ac_status); }; }; then
33045 ac_cv_lib_unixodbc_SQLAllocEnv=yes
33046 else
33047 echo "$as_me: failed program was:" >&5
33048 sed 's/^/| /' conftest.$ac_ext >&5
33049
33050 ac_cv_lib_unixodbc_SQLAllocEnv=no
33051 fi
33052 rm -f conftest.err conftest.$ac_objext \
33053 conftest$ac_exeext conftest.$ac_ext
33054 LIBS=$ac_check_lib_save_LIBS
33055 fi
33056 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
33057 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
33058 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
33059 ODBC_LINK=" -lunixodbc"
33060 else
33061
33062 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
33063 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
33064 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
33065 echo $ECHO_N "(cached) $ECHO_C" >&6
33066 else
33067 ac_check_lib_save_LIBS=$LIBS
33068 LIBS="-lodbc $LIBS"
33069 cat >conftest.$ac_ext <<_ACEOF
33070 /* confdefs.h. */
33071 _ACEOF
33072 cat confdefs.h >>conftest.$ac_ext
33073 cat >>conftest.$ac_ext <<_ACEOF
33074 /* end confdefs.h. */
33075
33076 /* Override any gcc2 internal prototype to avoid an error. */
33077 #ifdef __cplusplus
33078 extern "C"
33079 #endif
33080 /* We use char because int might match the return type of a gcc2
33081 builtin and then its argument prototype would still apply. */
33082 char SQLAllocEnv ();
33083 int
33084 main ()
33085 {
33086 SQLAllocEnv ();
33087 ;
33088 return 0;
33089 }
33090 _ACEOF
33091 rm -f conftest.$ac_objext conftest$ac_exeext
33092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33093 (eval $ac_link) 2>conftest.er1
33094 ac_status=$?
33095 grep -v '^ *+' conftest.er1 >conftest.err
33096 rm -f conftest.er1
33097 cat conftest.err >&5
33098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33099 (exit $ac_status); } &&
33100 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33102 (eval $ac_try) 2>&5
33103 ac_status=$?
33104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33105 (exit $ac_status); }; } &&
33106 { ac_try='test -s conftest$ac_exeext'
33107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33108 (eval $ac_try) 2>&5
33109 ac_status=$?
33110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33111 (exit $ac_status); }; }; then
33112 ac_cv_lib_odbc_SQLAllocEnv=yes
33113 else
33114 echo "$as_me: failed program was:" >&5
33115 sed 's/^/| /' conftest.$ac_ext >&5
33116
33117 ac_cv_lib_odbc_SQLAllocEnv=no
33118 fi
33119 rm -f conftest.err conftest.$ac_objext \
33120 conftest$ac_exeext conftest.$ac_ext
33121 LIBS=$ac_check_lib_save_LIBS
33122 fi
33123 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
33124 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
33125 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
33126 ODBC_LINK=" -lodbc"
33127 fi
33128
33129
33130 fi
33131
33132
33133 fi
33134
33135 fi
33136 if test "x$ODBC_LINK" = "x" ; then
33137 if test "$wxUSE_ODBC" = "sys" ; then
33138 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
33139 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
33140 { (exit 1); exit 1; }; }
33141 else
33142 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
33143 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
33144 wxUSE_ODBC=builtin
33145 fi
33146 else
33147 wxUSE_ODBC=sys
33148 fi
33149 fi
33150
33151 if test "$wxUSE_ODBC" = "builtin" ; then
33152 cat >>confdefs.h <<\_ACEOF
33153 #define wxUSE_BUILTIN_IODBC 1
33154 _ACEOF
33155
33156 fi
33157 fi
33158
33159 if test "$wxUSE_ODBC" != "no" ; then
33160 cat >>confdefs.h <<\_ACEOF
33161 #define wxUSE_ODBC 1
33162 _ACEOF
33163
33164 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
33165
33166 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
33167 fi
33168
33169
33170 if test "$wxUSE_DISPLAY" = "yes"; then
33171 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33172 echo "$as_me:$LINENO: checking for Xinerama" >&5
33173 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
33174
33175 ac_find_libraries=
33176 for ac_dir in $SEARCH_LIB;
33177 do
33178 for ac_extension in a so sl dylib dll.a; do
33179 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33180 ac_find_libraries=$ac_dir
33181 break 2
33182 fi
33183 done
33184 done
33185
33186 if test "$ac_find_libraries" != "" ; then
33187
33188 if test "$ac_find_libraries" = "default location"; then
33189 ac_path_to_link=""
33190 else
33191 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33192 result=$?
33193 if test $result = 0; then
33194 ac_path_to_link=""
33195 else
33196 ac_path_to_link=" -L$ac_find_libraries"
33197 fi
33198 fi
33199
33200 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33201 LDFLAGS="$LDFLAGS $ac_path_to_link"
33202 fi
33203 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33204 echo "$as_me:$LINENO: result: yes" >&5
33205 echo "${ECHO_T}yes" >&6
33206
33207 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33208 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
33209
33210 ac_find_libraries=
33211 for ac_dir in $SEARCH_LIB;
33212 do
33213 for ac_extension in a so sl dylib dll.a; do
33214 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33215 ac_find_libraries=$ac_dir
33216 break 2
33217 fi
33218 done
33219 done
33220
33221 if test "$ac_find_libraries" != "" ; then
33222 echo "$as_me:$LINENO: result: yes" >&5
33223 echo "${ECHO_T}yes" >&6
33224
33225 for ac_header in X11/extensions/xf86vmode.h
33226 do
33227 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33228 echo "$as_me:$LINENO: checking for $ac_header" >&5
33229 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33230 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33231 echo $ECHO_N "(cached) $ECHO_C" >&6
33232 else
33233 cat >conftest.$ac_ext <<_ACEOF
33234 /* confdefs.h. */
33235 _ACEOF
33236 cat confdefs.h >>conftest.$ac_ext
33237 cat >>conftest.$ac_ext <<_ACEOF
33238 /* end confdefs.h. */
33239
33240 #if HAVE_X11_XLIB_H
33241 #include <X11/Xlib.h>
33242 #endif
33243
33244
33245 #include <$ac_header>
33246 _ACEOF
33247 rm -f conftest.$ac_objext
33248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33249 (eval $ac_compile) 2>conftest.er1
33250 ac_status=$?
33251 grep -v '^ *+' conftest.er1 >conftest.err
33252 rm -f conftest.er1
33253 cat conftest.err >&5
33254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33255 (exit $ac_status); } &&
33256 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33258 (eval $ac_try) 2>&5
33259 ac_status=$?
33260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33261 (exit $ac_status); }; } &&
33262 { ac_try='test -s conftest.$ac_objext'
33263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33264 (eval $ac_try) 2>&5
33265 ac_status=$?
33266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33267 (exit $ac_status); }; }; then
33268 eval "$as_ac_Header=yes"
33269 else
33270 echo "$as_me: failed program was:" >&5
33271 sed 's/^/| /' conftest.$ac_ext >&5
33272
33273 eval "$as_ac_Header=no"
33274 fi
33275 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33276 fi
33277 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33278 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33279 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33280 cat >>confdefs.h <<_ACEOF
33281 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33282 _ACEOF
33283
33284 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33285
33286 fi
33287
33288 done
33289
33290 else
33291 echo "$as_me:$LINENO: result: no" >&5
33292 echo "${ECHO_T}no" >&6
33293 fi
33294
33295 else
33296 echo "$as_me:$LINENO: result: no" >&5
33297 echo "${ECHO_T}no" >&6
33298 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33299 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33300 wxUSE_DISPLAY="no"
33301 fi
33302 elif test "$wxUSE_MSW" = 1; then
33303
33304 for ac_header in ddraw.h
33305 do
33306 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33307 echo "$as_me:$LINENO: checking for $ac_header" >&5
33308 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33309 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33310 echo $ECHO_N "(cached) $ECHO_C" >&6
33311 else
33312 cat >conftest.$ac_ext <<_ACEOF
33313 /* confdefs.h. */
33314 _ACEOF
33315 cat confdefs.h >>conftest.$ac_ext
33316 cat >>conftest.$ac_ext <<_ACEOF
33317 /* end confdefs.h. */
33318 #include <windows.h>
33319
33320 #include <$ac_header>
33321 _ACEOF
33322 rm -f conftest.$ac_objext
33323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33324 (eval $ac_compile) 2>conftest.er1
33325 ac_status=$?
33326 grep -v '^ *+' conftest.er1 >conftest.err
33327 rm -f conftest.er1
33328 cat conftest.err >&5
33329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33330 (exit $ac_status); } &&
33331 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33333 (eval $ac_try) 2>&5
33334 ac_status=$?
33335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33336 (exit $ac_status); }; } &&
33337 { ac_try='test -s conftest.$ac_objext'
33338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33339 (eval $ac_try) 2>&5
33340 ac_status=$?
33341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33342 (exit $ac_status); }; }; then
33343 eval "$as_ac_Header=yes"
33344 else
33345 echo "$as_me: failed program was:" >&5
33346 sed 's/^/| /' conftest.$ac_ext >&5
33347
33348 eval "$as_ac_Header=no"
33349 fi
33350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33351 fi
33352 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33353 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33354 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33355 cat >>confdefs.h <<_ACEOF
33356 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33357 _ACEOF
33358
33359 fi
33360
33361 done
33362
33363 fi
33364 fi
33365
33366 if test "$wxUSE_DETECT_SM" = "yes"; then
33367 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33368 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33369 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
33370
33371 ac_find_libraries=
33372 for ac_dir in $SEARCH_LIB;
33373 do
33374 for ac_extension in a so sl dylib dll.a; do
33375 if test -f "$ac_dir/libSM.$ac_extension"; then
33376 ac_find_libraries=$ac_dir
33377 break 2
33378 fi
33379 done
33380 done
33381
33382 if test "$ac_find_libraries" != "" ; then
33383
33384 if test "$ac_find_libraries" = "default location"; then
33385 ac_path_to_link=""
33386 else
33387 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33388 result=$?
33389 if test $result = 0; then
33390 ac_path_to_link=""
33391 else
33392 ac_path_to_link=" -L$ac_find_libraries"
33393 fi
33394 fi
33395
33396 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33397 LDFLAGS="$LDFLAGS $ac_path_to_link"
33398 fi
33399 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33400 echo "$as_me:$LINENO: result: yes" >&5
33401 echo "${ECHO_T}yes" >&6
33402 else
33403 echo "$as_me:$LINENO: result: no" >&5
33404 echo "${ECHO_T}no" >&6
33405 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33406 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33407 wxUSE_DETECT_SM="no"
33408 fi
33409 else
33410 wxUSE_DETECT_SM="no"
33411 fi
33412 fi
33413
33414
33415
33416 USE_OPENGL=0
33417 if test "$wxUSE_OPENGL" = "yes"; then
33418 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
33419 OPENGL_LIBS="-framework OpenGL -framework AGL"
33420 elif test "$wxUSE_MSW" = 1; then
33421 OPENGL_LIBS="-lopengl32 -lglu32"
33422 else
33423
33424
33425 ac_find_includes=
33426 for ac_dir in $SEARCH_INCLUDE /usr/include;
33427 do
33428 if test -f "$ac_dir/GL/gl.h"; then
33429 ac_find_includes=$ac_dir
33430 break
33431 fi
33432 done
33433
33434 if test "$ac_find_includes" != "" ; then
33435 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33436 echo "${ECHO_T}found in $ac_find_includes" >&6
33437
33438 if test "x$ac_find_includes" = "x/usr/include"; then
33439 ac_path_to_include=""
33440 else
33441 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33442 result=$?
33443 if test $result = 0; then
33444 ac_path_to_include=""
33445 else
33446 ac_path_to_include=" -I$ac_find_includes"
33447 fi
33448 fi
33449
33450 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33451 fi
33452
33453 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33454 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33455 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33456 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33457 echo $ECHO_N "(cached) $ECHO_C" >&6
33458 fi
33459 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33460 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33461 else
33462 # Is the header compilable?
33463 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
33464 echo $ECHO_N "checking GL/gl.h usability... $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 $ac_includes_default
33472 #include <GL/gl.h>
33473 _ACEOF
33474 rm -f conftest.$ac_objext
33475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33476 (eval $ac_compile) 2>conftest.er1
33477 ac_status=$?
33478 grep -v '^ *+' conftest.er1 >conftest.err
33479 rm -f conftest.er1
33480 cat conftest.err >&5
33481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33482 (exit $ac_status); } &&
33483 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33485 (eval $ac_try) 2>&5
33486 ac_status=$?
33487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33488 (exit $ac_status); }; } &&
33489 { ac_try='test -s conftest.$ac_objext'
33490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33491 (eval $ac_try) 2>&5
33492 ac_status=$?
33493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33494 (exit $ac_status); }; }; then
33495 ac_header_compiler=yes
33496 else
33497 echo "$as_me: failed program was:" >&5
33498 sed 's/^/| /' conftest.$ac_ext >&5
33499
33500 ac_header_compiler=no
33501 fi
33502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33503 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33504 echo "${ECHO_T}$ac_header_compiler" >&6
33505
33506 # Is the header present?
33507 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
33508 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
33509 cat >conftest.$ac_ext <<_ACEOF
33510 /* confdefs.h. */
33511 _ACEOF
33512 cat confdefs.h >>conftest.$ac_ext
33513 cat >>conftest.$ac_ext <<_ACEOF
33514 /* end confdefs.h. */
33515 #include <GL/gl.h>
33516 _ACEOF
33517 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33518 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33519 ac_status=$?
33520 grep -v '^ *+' conftest.er1 >conftest.err
33521 rm -f conftest.er1
33522 cat conftest.err >&5
33523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33524 (exit $ac_status); } >/dev/null; then
33525 if test -s conftest.err; then
33526 ac_cpp_err=$ac_cxx_preproc_warn_flag
33527 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
33528 else
33529 ac_cpp_err=
33530 fi
33531 else
33532 ac_cpp_err=yes
33533 fi
33534 if test -z "$ac_cpp_err"; then
33535 ac_header_preproc=yes
33536 else
33537 echo "$as_me: failed program was:" >&5
33538 sed 's/^/| /' conftest.$ac_ext >&5
33539
33540 ac_header_preproc=no
33541 fi
33542 rm -f conftest.err conftest.$ac_ext
33543 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33544 echo "${ECHO_T}$ac_header_preproc" >&6
33545
33546 # So? What about this header?
33547 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
33548 yes:no: )
33549 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
33550 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33551 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
33552 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
33553 ac_header_preproc=yes
33554 ;;
33555 no:yes:* )
33556 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
33557 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
33558 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
33559 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
33560 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
33561 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
33562 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
33563 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
33564 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
33565 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
33566 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
33567 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
33568 (
33569 cat <<\_ASBOX
33570 ## ----------------------------------------- ##
33571 ## Report this to wx-dev@lists.wxwidgets.org ##
33572 ## ----------------------------------------- ##
33573 _ASBOX
33574 ) |
33575 sed "s/^/$as_me: WARNING: /" >&2
33576 ;;
33577 esac
33578 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33579 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33580 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33581 echo $ECHO_N "(cached) $ECHO_C" >&6
33582 else
33583 ac_cv_header_GL_gl_h=$ac_header_preproc
33584 fi
33585 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33586 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33587
33588 fi
33589 if test $ac_cv_header_GL_gl_h = yes; then
33590
33591 found_gl=0
33592
33593 echo "$as_me:$LINENO: checking for -lGL" >&5
33594 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33595
33596 ac_find_libraries=
33597 for ac_dir in $SEARCH_LIB;
33598 do
33599 for ac_extension in a so sl dylib dll.a; do
33600 if test -f "$ac_dir/libGL.$ac_extension"; then
33601 ac_find_libraries=$ac_dir
33602 break 2
33603 fi
33604 done
33605 done
33606
33607 if test "$ac_find_libraries" != "" ; then
33608 echo "$as_me:$LINENO: result: yes" >&5
33609 echo "${ECHO_T}yes" >&6
33610
33611
33612 if test "$ac_find_libraries" = "default location"; then
33613 ac_path_to_link=""
33614 else
33615 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33616 result=$?
33617 if test $result = 0; then
33618 ac_path_to_link=""
33619 else
33620 ac_path_to_link=" -L$ac_find_libraries"
33621 fi
33622 fi
33623
33624 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33625 LDFLAGS_GL="$ac_path_to_link"
33626 fi
33627
33628 echo "$as_me:$LINENO: checking for -lGLU" >&5
33629 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33630
33631 ac_find_libraries=
33632 for ac_dir in $SEARCH_LIB;
33633 do
33634 for ac_extension in a so sl dylib dll.a; do
33635 if test -f "$ac_dir/libGLU.$ac_extension"; then
33636 ac_find_libraries=$ac_dir
33637 break 2
33638 fi
33639 done
33640 done
33641
33642 if test "$ac_find_libraries" != "" ; then
33643
33644 if test "$ac_find_libraries" = "default location"; then
33645 ac_path_to_link=""
33646 else
33647 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33648 result=$?
33649 if test $result = 0; then
33650 ac_path_to_link=""
33651 else
33652 ac_path_to_link=" -L$ac_find_libraries"
33653 fi
33654 fi
33655
33656 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33657 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33658 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33659 fi
33660
33661 found_gl=1
33662 OPENGL_LIBS="-lGL -lGLU"
33663 echo "$as_me:$LINENO: result: yes" >&5
33664 echo "${ECHO_T}yes" >&6
33665 else
33666 echo "$as_me:$LINENO: result: no" >&5
33667 echo "${ECHO_T}no" >&6
33668 fi
33669 else
33670 echo "$as_me:$LINENO: result: no" >&5
33671 echo "${ECHO_T}no" >&6
33672 fi
33673
33674 if test "$found_gl" != 1; then
33675 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33676 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33677
33678 ac_find_libraries=
33679 for ac_dir in $SEARCH_LIB;
33680 do
33681 for ac_extension in a so sl dylib dll.a; do
33682 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33683 ac_find_libraries=$ac_dir
33684 break 2
33685 fi
33686 done
33687 done
33688
33689 if test "$ac_find_libraries" != "" ; then
33690
33691 if test "$ac_find_libraries" = "default location"; then
33692 ac_path_to_link=""
33693 else
33694 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33695 result=$?
33696 if test $result = 0; then
33697 ac_path_to_link=""
33698 else
33699 ac_path_to_link=" -L$ac_find_libraries"
33700 fi
33701 fi
33702
33703 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33704 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33705 echo "$as_me:$LINENO: result: yes" >&5
33706 echo "${ECHO_T}yes" >&6
33707 else
33708 echo "$as_me:$LINENO: result: no" >&5
33709 echo "${ECHO_T}no" >&6
33710 fi
33711 fi
33712
33713 fi
33714
33715
33716
33717 if test "x$OPENGL_LIBS" = "x"; then
33718 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33719 echo "$as_me: error: OpenGL libraries not available" >&2;}
33720 { (exit 1); exit 1; }; }
33721 fi
33722 fi
33723
33724 if test "$wxUSE_OPENGL" = "yes"; then
33725 USE_OPENGL=1
33726 cat >>confdefs.h <<\_ACEOF
33727 #define wxUSE_OPENGL 1
33728 _ACEOF
33729
33730 cat >>confdefs.h <<\_ACEOF
33731 #define wxUSE_GLCANVAS 1
33732 _ACEOF
33733
33734 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33735 fi
33736 fi
33737
33738
33739 if test -n "$TOOLKIT" ; then
33740 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33741 fi
33742
33743
33744
33745 if test "$wxUSE_SHARED" = "yes"; then
33746 case "${host}" in
33747 *-pc-msdosdjgpp )
33748 wxUSE_SHARED=no
33749 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33750 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33751 ;;
33752 esac
33753 fi
33754
33755 if test "$wxUSE_SHARED" = "yes"; then
33756
33757
33758 found_versioning=no
33759
33760
33761 if test $found_versioning = no ; then
33762 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33763 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33764 if test "${wx_cv_version_script+set}" = set; then
33765 echo $ECHO_N "(cached) $ECHO_C" >&6
33766 else
33767
33768 echo "VER_1 { *; };" >conftest.sym
33769 echo "int main() { return 0; }" >conftest.cpp
33770
33771 if { ac_try='
33772 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33773 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33775 (eval $ac_try) 2>&5
33776 ac_status=$?
33777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33778 (exit $ac_status); }; } ; then
33779 if test -s conftest.stderr ; then
33780 wx_cv_version_script=no
33781 else
33782 wx_cv_version_script=yes
33783 fi
33784 else
33785 wx_cv_version_script=no
33786 fi
33787
33788 if test $wx_cv_version_script = yes
33789 then
33790 echo "struct B { virtual ~B() { } }; \
33791 struct D : public B { }; \
33792 void F() { D d; }" > conftest.cpp
33793
33794 if { ac_try='
33795 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33796 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33798 (eval $ac_try) 2>&5
33799 ac_status=$?
33800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33801 (exit $ac_status); }; } &&
33802 { ac_try='
33803 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33804 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33806 (eval $ac_try) 2>&5
33807 ac_status=$?
33808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33809 (exit $ac_status); }; }
33810 then
33811 if { ac_try='
33812 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33813 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33815 (eval $ac_try) 2>&5
33816 ac_status=$?
33817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33818 (exit $ac_status); }; }
33819 then
33820 wx_cv_version_script=yes
33821 else
33822 wx_cv_version_script=no
33823 fi
33824 fi
33825 fi
33826
33827 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33828 rm -f conftest1.output conftest2.output conftest3.output
33829
33830 fi
33831 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33832 echo "${ECHO_T}$wx_cv_version_script" >&6
33833 if test $wx_cv_version_script = yes ; then
33834 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
33835 fi
33836 fi
33837
33838
33839 case "${host}" in
33840 *-*-linux* | *-*-gnu* )
33841 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
33842 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33843 ;;
33844
33845 *-*-solaris2* )
33846 if test "$GCC" = yes ; then
33847 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33848
33849 saveLdflags="$LDFLAGS"
33850 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33851 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33852 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33853 cat >conftest.$ac_ext <<_ACEOF
33854 /* confdefs.h. */
33855 _ACEOF
33856 cat confdefs.h >>conftest.$ac_ext
33857 cat >>conftest.$ac_ext <<_ACEOF
33858 /* end confdefs.h. */
33859
33860 int
33861 main ()
33862 {
33863
33864 ;
33865 return 0;
33866 }
33867 _ACEOF
33868 rm -f conftest.$ac_objext conftest$ac_exeext
33869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33870 (eval $ac_link) 2>conftest.er1
33871 ac_status=$?
33872 grep -v '^ *+' conftest.er1 >conftest.err
33873 rm -f conftest.er1
33874 cat conftest.err >&5
33875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33876 (exit $ac_status); } &&
33877 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33879 (eval $ac_try) 2>&5
33880 ac_status=$?
33881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33882 (exit $ac_status); }; } &&
33883 { ac_try='test -s conftest$ac_exeext'
33884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33885 (eval $ac_try) 2>&5
33886 ac_status=$?
33887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33888 (exit $ac_status); }; }; then
33889
33890 echo "$as_me:$LINENO: result: yes" >&5
33891 echo "${ECHO_T}yes" >&6
33892 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
33893 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33894
33895 else
33896 echo "$as_me: failed program was:" >&5
33897 sed 's/^/| /' conftest.$ac_ext >&5
33898
33899
33900 echo "$as_me:$LINENO: result: no" >&5
33901 echo "${ECHO_T}no" >&6
33902 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33903 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33904 LDFLAGS="$saveLdflags -Wl,-R,/"
33905 cat >conftest.$ac_ext <<_ACEOF
33906 /* confdefs.h. */
33907 _ACEOF
33908 cat confdefs.h >>conftest.$ac_ext
33909 cat >>conftest.$ac_ext <<_ACEOF
33910 /* end confdefs.h. */
33911
33912 int
33913 main ()
33914 {
33915
33916 ;
33917 return 0;
33918 }
33919 _ACEOF
33920 rm -f conftest.$ac_objext conftest$ac_exeext
33921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33922 (eval $ac_link) 2>conftest.er1
33923 ac_status=$?
33924 grep -v '^ *+' conftest.er1 >conftest.err
33925 rm -f conftest.er1
33926 cat conftest.err >&5
33927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33928 (exit $ac_status); } &&
33929 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33931 (eval $ac_try) 2>&5
33932 ac_status=$?
33933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33934 (exit $ac_status); }; } &&
33935 { ac_try='test -s conftest$ac_exeext'
33936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33937 (eval $ac_try) 2>&5
33938 ac_status=$?
33939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33940 (exit $ac_status); }; }; then
33941
33942 echo "$as_me:$LINENO: result: yes" >&5
33943 echo "${ECHO_T}yes" >&6
33944 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
33945 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33946
33947 else
33948 echo "$as_me: failed program was:" >&5
33949 sed 's/^/| /' conftest.$ac_ext >&5
33950
33951
33952 echo "$as_me:$LINENO: result: no" >&5
33953 echo "${ECHO_T}no" >&6
33954
33955 fi
33956 rm -f conftest.err conftest.$ac_objext \
33957 conftest$ac_exeext conftest.$ac_ext
33958
33959 fi
33960 rm -f conftest.err conftest.$ac_objext \
33961 conftest$ac_exeext conftest.$ac_ext
33962 LDFLAGS="$saveLdflags"
33963 else
33964 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
33965 WXCONFIG_RPATH="-R\$libdir"
33966 fi
33967 ;;
33968
33969 *-*-darwin* )
33970 install_name_tool=`which install_name_tool`
33971 if test "$install_name_tool" -a -x "$install_name_tool"; then
33972 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33973 cat <<EOF >change-install-names
33974 #!/bin/sh
33975 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33976 inst_cmd="install_name_tool "
33977 for i in \${libnames} ; do
33978 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33979 done
33980 \${inst_cmd} \${3}
33981 EOF
33982 chmod +x change-install-names
33983 fi
33984 ;;
33985
33986 *-*-cygwin* | *-*-mingw32* )
33987 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33988 ;;
33989
33990 *-*-hpux* )
33991 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
33992 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33993 ;;
33994
33995 esac
33996
33997 if test $wxUSE_RPATH = "no"; then
33998 SAMPLES_RPATH_FLAG=''
33999 SAMPLES_RPATH_POSTLINK=''
34000 WXCONFIG_RPATH=''
34001 fi
34002
34003 SHARED=1
34004
34005 else
34006
34007 config_linkage_component="-static"
34008 SHARED=0
34009
34010 fi
34011
34012
34013 UNICODE=0
34014 lib_unicode_suffix=
34015 WX_CHARTYPE="ansi"
34016 if test "$wxUSE_UNICODE" = "yes"; then
34017 lib_unicode_suffix=u
34018 WX_CHARTYPE="unicode"
34019 UNICODE=1
34020 fi
34021
34022 lib_debug_suffix=
34023 WX_DEBUGTYPE="release"
34024 DEBUG_FLAG=0
34025 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
34026 lib_debug_suffix=d
34027 WX_DEBUGTYPE="debug"
34028 DEBUG_FLAG=1
34029 fi
34030
34031 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
34032 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
34033
34034 DEBUG_INFO=0
34035 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34036 DEBUG_INFO=1
34037 fi
34038
34039 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
34040
34041 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
34042
34043 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34044
34045 if test "$cross_compiling" = "yes"; then
34046 HOST_SUFFIX="-$host_alias"
34047 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
34048 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
34049 fi
34050
34051 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34052 if test "${TOOLKIT_DIR}" = "os2"; then
34053 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34054 else
34055 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34056 fi
34057
34058
34059
34060 if test "$wxUSE_COCOA" = 1; then
34061
34062
34063 ac_ext=c
34064 ac_cpp='$CPP $CPPFLAGS'
34065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34068
34069 ac_ext=m
34070
34071 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34072 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
34073 cat >conftest.$ac_ext <<_ACEOF
34074 /* confdefs.h. */
34075 _ACEOF
34076 cat confdefs.h >>conftest.$ac_ext
34077 cat >>conftest.$ac_ext <<_ACEOF
34078 /* end confdefs.h. */
34079 #include <AppKit/NSEvent.h>
34080 #include <CoreFoundation/CoreFoundation.h>
34081
34082 int
34083 main ()
34084 {
34085
34086 ;
34087 return 0;
34088 }
34089 _ACEOF
34090 rm -f conftest.$ac_objext
34091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34092 (eval $ac_compile) 2>conftest.er1
34093 ac_status=$?
34094 grep -v '^ *+' conftest.er1 >conftest.err
34095 rm -f conftest.er1
34096 cat conftest.err >&5
34097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34098 (exit $ac_status); } &&
34099 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34101 (eval $ac_try) 2>&5
34102 ac_status=$?
34103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34104 (exit $ac_status); }; } &&
34105 { ac_try='test -s conftest.$ac_objext'
34106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34107 (eval $ac_try) 2>&5
34108 ac_status=$?
34109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34110 (exit $ac_status); }; }; then
34111 echo "$as_me:$LINENO: result: no" >&5
34112 echo "${ECHO_T}no" >&6
34113 else
34114 echo "$as_me: failed program was:" >&5
34115 sed 's/^/| /' conftest.$ac_ext >&5
34116
34117 echo "$as_me:$LINENO: result: yes" >&5
34118 echo "${ECHO_T}yes" >&6
34119 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34120 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
34121 cat >conftest.$ac_ext <<_ACEOF
34122 /* confdefs.h. */
34123 _ACEOF
34124 cat confdefs.h >>conftest.$ac_ext
34125 cat >>conftest.$ac_ext <<_ACEOF
34126 /* end confdefs.h. */
34127 #define __Point__ 1
34128 #include <AppKit/NSEvent.h>
34129 #include <CoreFoundation/CoreFoundation.h>
34130
34131 int
34132 main ()
34133 {
34134
34135 ;
34136 return 0;
34137 }
34138 _ACEOF
34139 rm -f conftest.$ac_objext
34140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34141 (eval $ac_compile) 2>conftest.er1
34142 ac_status=$?
34143 grep -v '^ *+' conftest.er1 >conftest.err
34144 rm -f conftest.er1
34145 cat conftest.err >&5
34146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34147 (exit $ac_status); } &&
34148 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34150 (eval $ac_try) 2>&5
34151 ac_status=$?
34152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34153 (exit $ac_status); }; } &&
34154 { ac_try='test -s conftest.$ac_objext'
34155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34156 (eval $ac_try) 2>&5
34157 ac_status=$?
34158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34159 (exit $ac_status); }; }; then
34160 echo "$as_me:$LINENO: result: yes" >&5
34161 echo "${ECHO_T}yes" >&6
34162 cat >>confdefs.h <<\_ACEOF
34163 #define __Point__ 1
34164 _ACEOF
34165
34166
34167 else
34168 echo "$as_me: failed program was:" >&5
34169 sed 's/^/| /' conftest.$ac_ext >&5
34170
34171 { { echo "$as_me:$LINENO: error: no
34172 See \`config.log' for more details." >&5
34173 echo "$as_me: error: no
34174 See \`config.log' for more details." >&2;}
34175 { (exit 1); exit 1; }; }
34176
34177 fi
34178 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34179
34180 fi
34181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34182 ac_ext=cc
34183 ac_cpp='$CXXCPP $CPPFLAGS'
34184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34187
34188 fi
34189
34190 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
34191 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
34192 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
34193
34194 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
34195
34196 # Extract the first word of "Rez", so it can be a program name with args.
34197 set dummy Rez; ac_word=$2
34198 echo "$as_me:$LINENO: checking for $ac_word" >&5
34199 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34200 if test "${ac_cv_prog_REZ+set}" = set; then
34201 echo $ECHO_N "(cached) $ECHO_C" >&6
34202 else
34203 if test -n "$REZ"; then
34204 ac_cv_prog_REZ="$REZ" # Let the user override the test.
34205 else
34206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34207 for as_dir in $PATH
34208 do
34209 IFS=$as_save_IFS
34210 test -z "$as_dir" && as_dir=.
34211 for ac_exec_ext in '' $ac_executable_extensions; do
34212 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34213 ac_cv_prog_REZ="Rez"
34214 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34215 break 2
34216 fi
34217 done
34218 done
34219
34220 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
34221 fi
34222 fi
34223 REZ=$ac_cv_prog_REZ
34224 if test -n "$REZ"; then
34225 echo "$as_me:$LINENO: result: $REZ" >&5
34226 echo "${ECHO_T}$REZ" >&6
34227 else
34228 echo "$as_me:$LINENO: result: no" >&5
34229 echo "${ECHO_T}no" >&6
34230 fi
34231
34232 # Extract the first word of "DeRez", so it can be a program name with args.
34233 set dummy DeRez; ac_word=$2
34234 echo "$as_me:$LINENO: checking for $ac_word" >&5
34235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34236 if test "${ac_cv_prog_DEREZ+set}" = set; then
34237 echo $ECHO_N "(cached) $ECHO_C" >&6
34238 else
34239 if test -n "$DEREZ"; then
34240 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
34241 else
34242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34243 for as_dir in $PATH
34244 do
34245 IFS=$as_save_IFS
34246 test -z "$as_dir" && as_dir=.
34247 for ac_exec_ext in '' $ac_executable_extensions; do
34248 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34249 ac_cv_prog_DEREZ="DeRez"
34250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34251 break 2
34252 fi
34253 done
34254 done
34255
34256 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
34257 fi
34258 fi
34259 DEREZ=$ac_cv_prog_DEREZ
34260 if test -n "$DEREZ"; then
34261 echo "$as_me:$LINENO: result: $DEREZ" >&5
34262 echo "${ECHO_T}$DEREZ" >&6
34263 else
34264 echo "$as_me:$LINENO: result: no" >&5
34265 echo "${ECHO_T}no" >&6
34266 fi
34267
34268 # Extract the first word of "SetFile", so it can be a program name with args.
34269 set dummy SetFile; ac_word=$2
34270 echo "$as_me:$LINENO: checking for $ac_word" >&5
34271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34272 if test "${ac_cv_prog_SETFILE+set}" = set; then
34273 echo $ECHO_N "(cached) $ECHO_C" >&6
34274 else
34275 if test -n "$SETFILE"; then
34276 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
34277 else
34278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34279 for as_dir in $PATH
34280 do
34281 IFS=$as_save_IFS
34282 test -z "$as_dir" && as_dir=.
34283 for ac_exec_ext in '' $ac_executable_extensions; do
34284 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34285 ac_cv_prog_SETFILE="SetFile"
34286 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34287 break 2
34288 fi
34289 done
34290 done
34291
34292 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
34293 fi
34294 fi
34295 SETFILE=$ac_cv_prog_SETFILE
34296 if test -n "$SETFILE"; then
34297 echo "$as_me:$LINENO: result: $SETFILE" >&5
34298 echo "${ECHO_T}$SETFILE" >&6
34299 else
34300 echo "$as_me:$LINENO: result: no" >&5
34301 echo "${ECHO_T}no" >&6
34302 fi
34303
34304
34305 MACSETFILE="\$(SETFILE)"
34306
34307 if test "$wxUSE_MAC" = 1; then
34308 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
34309 RESCOMP="$REZ"
34310 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
34311 else
34312 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
34313 RESCOMP="echo -n \| $REZ"
34314 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
34315 fi
34316
34317 else
34318 MACSETFILE="@true"
34319
34320 if test "$wxUSE_PM" = 1; then
34321 RESCOMP="emxbind"
34322 WXCONFIG_RESFLAGS="-ep"
34323
34324 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
34325 else
34326 POSTLINK_COMMAND="@true"
34327 fi
34328
34329 fi
34330
34331
34332
34333 echo "$as_me:$LINENO: checking for mode_t" >&5
34334 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
34335 if test "${ac_cv_type_mode_t+set}" = set; then
34336 echo $ECHO_N "(cached) $ECHO_C" >&6
34337 else
34338 cat >conftest.$ac_ext <<_ACEOF
34339 /* confdefs.h. */
34340 _ACEOF
34341 cat confdefs.h >>conftest.$ac_ext
34342 cat >>conftest.$ac_ext <<_ACEOF
34343 /* end confdefs.h. */
34344 $ac_includes_default
34345 int
34346 main ()
34347 {
34348 if ((mode_t *) 0)
34349 return 0;
34350 if (sizeof (mode_t))
34351 return 0;
34352 ;
34353 return 0;
34354 }
34355 _ACEOF
34356 rm -f conftest.$ac_objext
34357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34358 (eval $ac_compile) 2>conftest.er1
34359 ac_status=$?
34360 grep -v '^ *+' conftest.er1 >conftest.err
34361 rm -f conftest.er1
34362 cat conftest.err >&5
34363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34364 (exit $ac_status); } &&
34365 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34367 (eval $ac_try) 2>&5
34368 ac_status=$?
34369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34370 (exit $ac_status); }; } &&
34371 { ac_try='test -s conftest.$ac_objext'
34372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34373 (eval $ac_try) 2>&5
34374 ac_status=$?
34375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34376 (exit $ac_status); }; }; then
34377 ac_cv_type_mode_t=yes
34378 else
34379 echo "$as_me: failed program was:" >&5
34380 sed 's/^/| /' conftest.$ac_ext >&5
34381
34382 ac_cv_type_mode_t=no
34383 fi
34384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34385 fi
34386 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34387 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
34388 if test $ac_cv_type_mode_t = yes; then
34389 :
34390 else
34391
34392 cat >>confdefs.h <<_ACEOF
34393 #define mode_t int
34394 _ACEOF
34395
34396 fi
34397
34398 echo "$as_me:$LINENO: checking for off_t" >&5
34399 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
34400 if test "${ac_cv_type_off_t+set}" = set; then
34401 echo $ECHO_N "(cached) $ECHO_C" >&6
34402 else
34403 cat >conftest.$ac_ext <<_ACEOF
34404 /* confdefs.h. */
34405 _ACEOF
34406 cat confdefs.h >>conftest.$ac_ext
34407 cat >>conftest.$ac_ext <<_ACEOF
34408 /* end confdefs.h. */
34409 $ac_includes_default
34410 int
34411 main ()
34412 {
34413 if ((off_t *) 0)
34414 return 0;
34415 if (sizeof (off_t))
34416 return 0;
34417 ;
34418 return 0;
34419 }
34420 _ACEOF
34421 rm -f conftest.$ac_objext
34422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34423 (eval $ac_compile) 2>conftest.er1
34424 ac_status=$?
34425 grep -v '^ *+' conftest.er1 >conftest.err
34426 rm -f conftest.er1
34427 cat conftest.err >&5
34428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34429 (exit $ac_status); } &&
34430 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34432 (eval $ac_try) 2>&5
34433 ac_status=$?
34434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34435 (exit $ac_status); }; } &&
34436 { ac_try='test -s conftest.$ac_objext'
34437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34438 (eval $ac_try) 2>&5
34439 ac_status=$?
34440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34441 (exit $ac_status); }; }; then
34442 ac_cv_type_off_t=yes
34443 else
34444 echo "$as_me: failed program was:" >&5
34445 sed 's/^/| /' conftest.$ac_ext >&5
34446
34447 ac_cv_type_off_t=no
34448 fi
34449 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34450 fi
34451 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34452 echo "${ECHO_T}$ac_cv_type_off_t" >&6
34453 if test $ac_cv_type_off_t = yes; then
34454 :
34455 else
34456
34457 cat >>confdefs.h <<_ACEOF
34458 #define off_t long
34459 _ACEOF
34460
34461 fi
34462
34463 echo "$as_me:$LINENO: checking for pid_t" >&5
34464 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
34465 if test "${ac_cv_type_pid_t+set}" = set; then
34466 echo $ECHO_N "(cached) $ECHO_C" >&6
34467 else
34468 cat >conftest.$ac_ext <<_ACEOF
34469 /* confdefs.h. */
34470 _ACEOF
34471 cat confdefs.h >>conftest.$ac_ext
34472 cat >>conftest.$ac_ext <<_ACEOF
34473 /* end confdefs.h. */
34474 $ac_includes_default
34475 int
34476 main ()
34477 {
34478 if ((pid_t *) 0)
34479 return 0;
34480 if (sizeof (pid_t))
34481 return 0;
34482 ;
34483 return 0;
34484 }
34485 _ACEOF
34486 rm -f conftest.$ac_objext
34487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34488 (eval $ac_compile) 2>conftest.er1
34489 ac_status=$?
34490 grep -v '^ *+' conftest.er1 >conftest.err
34491 rm -f conftest.er1
34492 cat conftest.err >&5
34493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34494 (exit $ac_status); } &&
34495 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34496 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34497 (eval $ac_try) 2>&5
34498 ac_status=$?
34499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34500 (exit $ac_status); }; } &&
34501 { ac_try='test -s conftest.$ac_objext'
34502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34503 (eval $ac_try) 2>&5
34504 ac_status=$?
34505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34506 (exit $ac_status); }; }; then
34507 ac_cv_type_pid_t=yes
34508 else
34509 echo "$as_me: failed program was:" >&5
34510 sed 's/^/| /' conftest.$ac_ext >&5
34511
34512 ac_cv_type_pid_t=no
34513 fi
34514 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34515 fi
34516 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34517 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
34518 if test $ac_cv_type_pid_t = yes; then
34519 :
34520 else
34521
34522 cat >>confdefs.h <<_ACEOF
34523 #define pid_t int
34524 _ACEOF
34525
34526 fi
34527
34528 echo "$as_me:$LINENO: checking for size_t" >&5
34529 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
34530 if test "${ac_cv_type_size_t+set}" = set; then
34531 echo $ECHO_N "(cached) $ECHO_C" >&6
34532 else
34533 cat >conftest.$ac_ext <<_ACEOF
34534 /* confdefs.h. */
34535 _ACEOF
34536 cat confdefs.h >>conftest.$ac_ext
34537 cat >>conftest.$ac_ext <<_ACEOF
34538 /* end confdefs.h. */
34539 $ac_includes_default
34540 int
34541 main ()
34542 {
34543 if ((size_t *) 0)
34544 return 0;
34545 if (sizeof (size_t))
34546 return 0;
34547 ;
34548 return 0;
34549 }
34550 _ACEOF
34551 rm -f conftest.$ac_objext
34552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34553 (eval $ac_compile) 2>conftest.er1
34554 ac_status=$?
34555 grep -v '^ *+' conftest.er1 >conftest.err
34556 rm -f conftest.er1
34557 cat conftest.err >&5
34558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34559 (exit $ac_status); } &&
34560 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34562 (eval $ac_try) 2>&5
34563 ac_status=$?
34564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34565 (exit $ac_status); }; } &&
34566 { ac_try='test -s conftest.$ac_objext'
34567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34568 (eval $ac_try) 2>&5
34569 ac_status=$?
34570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34571 (exit $ac_status); }; }; then
34572 ac_cv_type_size_t=yes
34573 else
34574 echo "$as_me: failed program was:" >&5
34575 sed 's/^/| /' conftest.$ac_ext >&5
34576
34577 ac_cv_type_size_t=no
34578 fi
34579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34580 fi
34581 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34582 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34583 if test $ac_cv_type_size_t = yes; then
34584 :
34585 else
34586
34587 cat >>confdefs.h <<_ACEOF
34588 #define size_t unsigned
34589 _ACEOF
34590
34591 fi
34592
34593 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34594 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34595 if test "${ac_cv_type_uid_t+set}" = set; then
34596 echo $ECHO_N "(cached) $ECHO_C" >&6
34597 else
34598 cat >conftest.$ac_ext <<_ACEOF
34599 /* confdefs.h. */
34600 _ACEOF
34601 cat confdefs.h >>conftest.$ac_ext
34602 cat >>conftest.$ac_ext <<_ACEOF
34603 /* end confdefs.h. */
34604 #include <sys/types.h>
34605
34606 _ACEOF
34607 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34608 $EGREP "uid_t" >/dev/null 2>&1; then
34609 ac_cv_type_uid_t=yes
34610 else
34611 ac_cv_type_uid_t=no
34612 fi
34613 rm -f conftest*
34614
34615 fi
34616 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34617 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34618 if test $ac_cv_type_uid_t = no; then
34619
34620 cat >>confdefs.h <<\_ACEOF
34621 #define uid_t int
34622 _ACEOF
34623
34624
34625 cat >>confdefs.h <<\_ACEOF
34626 #define gid_t int
34627 _ACEOF
34628
34629 fi
34630
34631
34632 echo "$as_me:$LINENO: checking for ssize_t" >&5
34633 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34634 if test "${ac_cv_type_ssize_t+set}" = set; then
34635 echo $ECHO_N "(cached) $ECHO_C" >&6
34636 else
34637 cat >conftest.$ac_ext <<_ACEOF
34638 /* confdefs.h. */
34639 _ACEOF
34640 cat confdefs.h >>conftest.$ac_ext
34641 cat >>conftest.$ac_ext <<_ACEOF
34642 /* end confdefs.h. */
34643 $ac_includes_default
34644 int
34645 main ()
34646 {
34647 if ((ssize_t *) 0)
34648 return 0;
34649 if (sizeof (ssize_t))
34650 return 0;
34651 ;
34652 return 0;
34653 }
34654 _ACEOF
34655 rm -f conftest.$ac_objext
34656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34657 (eval $ac_compile) 2>conftest.er1
34658 ac_status=$?
34659 grep -v '^ *+' conftest.er1 >conftest.err
34660 rm -f conftest.er1
34661 cat conftest.err >&5
34662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34663 (exit $ac_status); } &&
34664 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34666 (eval $ac_try) 2>&5
34667 ac_status=$?
34668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34669 (exit $ac_status); }; } &&
34670 { ac_try='test -s conftest.$ac_objext'
34671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34672 (eval $ac_try) 2>&5
34673 ac_status=$?
34674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34675 (exit $ac_status); }; }; then
34676 ac_cv_type_ssize_t=yes
34677 else
34678 echo "$as_me: failed program was:" >&5
34679 sed 's/^/| /' conftest.$ac_ext >&5
34680
34681 ac_cv_type_ssize_t=no
34682 fi
34683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34684 fi
34685 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34686 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34687 if test $ac_cv_type_ssize_t = yes; then
34688
34689 cat >>confdefs.h <<_ACEOF
34690 #define HAVE_SSIZE_T 1
34691 _ACEOF
34692
34693
34694 fi
34695
34696
34697 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34698 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34699 if test "${wx_cv_size_t_is_uint+set}" = set; then
34700 echo $ECHO_N "(cached) $ECHO_C" >&6
34701 else
34702
34703 cat >conftest.$ac_ext <<_ACEOF
34704 /* confdefs.h. */
34705 _ACEOF
34706 cat confdefs.h >>conftest.$ac_ext
34707 cat >>conftest.$ac_ext <<_ACEOF
34708 /* end confdefs.h. */
34709 #include <stddef.h>
34710 int
34711 main ()
34712 {
34713
34714 return 0; }
34715
34716 struct Foo { void foo(size_t); void foo(unsigned int); };
34717
34718 int bar() {
34719
34720 ;
34721 return 0;
34722 }
34723 _ACEOF
34724 rm -f conftest.$ac_objext
34725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34726 (eval $ac_compile) 2>conftest.er1
34727 ac_status=$?
34728 grep -v '^ *+' conftest.er1 >conftest.err
34729 rm -f conftest.er1
34730 cat conftest.err >&5
34731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34732 (exit $ac_status); } &&
34733 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34735 (eval $ac_try) 2>&5
34736 ac_status=$?
34737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34738 (exit $ac_status); }; } &&
34739 { ac_try='test -s conftest.$ac_objext'
34740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34741 (eval $ac_try) 2>&5
34742 ac_status=$?
34743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34744 (exit $ac_status); }; }; then
34745 wx_cv_size_t_is_uint=no
34746 else
34747 echo "$as_me: failed program was:" >&5
34748 sed 's/^/| /' conftest.$ac_ext >&5
34749
34750 wx_cv_size_t_is_uint=yes
34751
34752 fi
34753 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34754
34755
34756 fi
34757 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34758 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34759
34760 if test "$wx_cv_size_t_is_uint" = "yes"; then
34761 cat >>confdefs.h <<\_ACEOF
34762 #define wxSIZE_T_IS_UINT 1
34763 _ACEOF
34764
34765 else
34766 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34767 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34768 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34769 echo $ECHO_N "(cached) $ECHO_C" >&6
34770 else
34771 cat >conftest.$ac_ext <<_ACEOF
34772 /* confdefs.h. */
34773 _ACEOF
34774 cat confdefs.h >>conftest.$ac_ext
34775 cat >>conftest.$ac_ext <<_ACEOF
34776 /* end confdefs.h. */
34777 #include <stddef.h>
34778 int
34779 main ()
34780 {
34781
34782 return 0; }
34783
34784 struct Foo { void foo(size_t); void foo(unsigned long); };
34785
34786 int bar() {
34787
34788 ;
34789 return 0;
34790 }
34791 _ACEOF
34792 rm -f conftest.$ac_objext
34793 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34794 (eval $ac_compile) 2>conftest.er1
34795 ac_status=$?
34796 grep -v '^ *+' conftest.er1 >conftest.err
34797 rm -f conftest.er1
34798 cat conftest.err >&5
34799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34800 (exit $ac_status); } &&
34801 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34803 (eval $ac_try) 2>&5
34804 ac_status=$?
34805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34806 (exit $ac_status); }; } &&
34807 { ac_try='test -s conftest.$ac_objext'
34808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34809 (eval $ac_try) 2>&5
34810 ac_status=$?
34811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34812 (exit $ac_status); }; }; then
34813 wx_cv_size_t_is_ulong=no
34814 else
34815 echo "$as_me: failed program was:" >&5
34816 sed 's/^/| /' conftest.$ac_ext >&5
34817
34818 wx_cv_size_t_is_ulong=yes
34819
34820 fi
34821 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34822
34823 fi
34824 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34825 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34826
34827 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34828 cat >>confdefs.h <<\_ACEOF
34829 #define wxSIZE_T_IS_ULONG 1
34830 _ACEOF
34831
34832 fi
34833 fi
34834
34835
34836 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34837 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34838 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34839 echo $ECHO_N "(cached) $ECHO_C" >&6
34840 else
34841
34842 cat >conftest.$ac_ext <<_ACEOF
34843 /* confdefs.h. */
34844 _ACEOF
34845 cat confdefs.h >>conftest.$ac_ext
34846 cat >>conftest.$ac_ext <<_ACEOF
34847 /* end confdefs.h. */
34848 #include <pwd.h>
34849 int
34850 main ()
34851 {
34852
34853 char *p;
34854 struct passwd *pw;
34855 p = pw->pw_gecos;
34856
34857 ;
34858 return 0;
34859 }
34860 _ACEOF
34861 rm -f conftest.$ac_objext
34862 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34863 (eval $ac_compile) 2>conftest.er1
34864 ac_status=$?
34865 grep -v '^ *+' conftest.er1 >conftest.err
34866 rm -f conftest.er1
34867 cat conftest.err >&5
34868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34869 (exit $ac_status); } &&
34870 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34872 (eval $ac_try) 2>&5
34873 ac_status=$?
34874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34875 (exit $ac_status); }; } &&
34876 { ac_try='test -s conftest.$ac_objext'
34877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34878 (eval $ac_try) 2>&5
34879 ac_status=$?
34880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34881 (exit $ac_status); }; }; then
34882
34883 wx_cv_struct_pw_gecos=yes
34884
34885 else
34886 echo "$as_me: failed program was:" >&5
34887 sed 's/^/| /' conftest.$ac_ext >&5
34888
34889
34890 wx_cv_struct_pw_gecos=no
34891
34892
34893 fi
34894 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34895
34896
34897 fi
34898 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34899 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34900
34901 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34902 cat >>confdefs.h <<\_ACEOF
34903 #define HAVE_PW_GECOS 1
34904 _ACEOF
34905
34906 fi
34907
34908
34909 if test "$wxUSE_WCHAR_T" = "yes"; then
34910 cat >>confdefs.h <<\_ACEOF
34911 #define wxUSE_WCHAR_T 1
34912 _ACEOF
34913
34914
34915 WCSLEN_FOUND=0
34916 WCHAR_LINK=
34917
34918 for ac_func in wcslen
34919 do
34920 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34921 echo "$as_me:$LINENO: checking for $ac_func" >&5
34922 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34923 if eval "test \"\${$as_ac_var+set}\" = set"; then
34924 echo $ECHO_N "(cached) $ECHO_C" >&6
34925 else
34926 cat >conftest.$ac_ext <<_ACEOF
34927 /* confdefs.h. */
34928 _ACEOF
34929 cat confdefs.h >>conftest.$ac_ext
34930 cat >>conftest.$ac_ext <<_ACEOF
34931 /* end confdefs.h. */
34932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34934 #define $ac_func innocuous_$ac_func
34935
34936 /* System header to define __stub macros and hopefully few prototypes,
34937 which can conflict with char $ac_func (); below.
34938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34939 <limits.h> exists even on freestanding compilers. */
34940
34941 #ifdef __STDC__
34942 # include <limits.h>
34943 #else
34944 # include <assert.h>
34945 #endif
34946
34947 #undef $ac_func
34948
34949 /* Override any gcc2 internal prototype to avoid an error. */
34950 #ifdef __cplusplus
34951 extern "C"
34952 {
34953 #endif
34954 /* We use char because int might match the return type of a gcc2
34955 builtin and then its argument prototype would still apply. */
34956 char $ac_func ();
34957 /* The GNU C library defines this for functions which it implements
34958 to always fail with ENOSYS. Some functions are actually named
34959 something starting with __ and the normal name is an alias. */
34960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34961 choke me
34962 #else
34963 char (*f) () = $ac_func;
34964 #endif
34965 #ifdef __cplusplus
34966 }
34967 #endif
34968
34969 int
34970 main ()
34971 {
34972 return f != $ac_func;
34973 ;
34974 return 0;
34975 }
34976 _ACEOF
34977 rm -f conftest.$ac_objext conftest$ac_exeext
34978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34979 (eval $ac_link) 2>conftest.er1
34980 ac_status=$?
34981 grep -v '^ *+' conftest.er1 >conftest.err
34982 rm -f conftest.er1
34983 cat conftest.err >&5
34984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34985 (exit $ac_status); } &&
34986 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34988 (eval $ac_try) 2>&5
34989 ac_status=$?
34990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34991 (exit $ac_status); }; } &&
34992 { ac_try='test -s conftest$ac_exeext'
34993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34994 (eval $ac_try) 2>&5
34995 ac_status=$?
34996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34997 (exit $ac_status); }; }; then
34998 eval "$as_ac_var=yes"
34999 else
35000 echo "$as_me: failed program was:" >&5
35001 sed 's/^/| /' conftest.$ac_ext >&5
35002
35003 eval "$as_ac_var=no"
35004 fi
35005 rm -f conftest.err conftest.$ac_objext \
35006 conftest$ac_exeext conftest.$ac_ext
35007 fi
35008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35010 if test `eval echo '${'$as_ac_var'}'` = yes; then
35011 cat >>confdefs.h <<_ACEOF
35012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35013 _ACEOF
35014 WCSLEN_FOUND=1
35015 fi
35016 done
35017
35018
35019 if test "$WCSLEN_FOUND" = 0; then
35020 if test "$TOOLKIT" = "MSW"; then
35021 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35022 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
35023 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35024 echo $ECHO_N "(cached) $ECHO_C" >&6
35025 else
35026 ac_check_lib_save_LIBS=$LIBS
35027 LIBS="-lmsvcrt $LIBS"
35028 cat >conftest.$ac_ext <<_ACEOF
35029 /* confdefs.h. */
35030 _ACEOF
35031 cat confdefs.h >>conftest.$ac_ext
35032 cat >>conftest.$ac_ext <<_ACEOF
35033 /* end confdefs.h. */
35034
35035 /* Override any gcc2 internal prototype to avoid an error. */
35036 #ifdef __cplusplus
35037 extern "C"
35038 #endif
35039 /* We use char because int might match the return type of a gcc2
35040 builtin and then its argument prototype would still apply. */
35041 char wcslen ();
35042 int
35043 main ()
35044 {
35045 wcslen ();
35046 ;
35047 return 0;
35048 }
35049 _ACEOF
35050 rm -f conftest.$ac_objext conftest$ac_exeext
35051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35052 (eval $ac_link) 2>conftest.er1
35053 ac_status=$?
35054 grep -v '^ *+' conftest.er1 >conftest.err
35055 rm -f conftest.er1
35056 cat conftest.err >&5
35057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35058 (exit $ac_status); } &&
35059 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35061 (eval $ac_try) 2>&5
35062 ac_status=$?
35063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35064 (exit $ac_status); }; } &&
35065 { ac_try='test -s conftest$ac_exeext'
35066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35067 (eval $ac_try) 2>&5
35068 ac_status=$?
35069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35070 (exit $ac_status); }; }; then
35071 ac_cv_lib_msvcrt_wcslen=yes
35072 else
35073 echo "$as_me: failed program was:" >&5
35074 sed 's/^/| /' conftest.$ac_ext >&5
35075
35076 ac_cv_lib_msvcrt_wcslen=no
35077 fi
35078 rm -f conftest.err conftest.$ac_objext \
35079 conftest$ac_exeext conftest.$ac_ext
35080 LIBS=$ac_check_lib_save_LIBS
35081 fi
35082 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35083 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
35084 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35085 WCHAR_OK=1
35086 fi
35087
35088 else
35089 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35090 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
35091 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35092 echo $ECHO_N "(cached) $ECHO_C" >&6
35093 else
35094 ac_check_lib_save_LIBS=$LIBS
35095 LIBS="-lw $LIBS"
35096 cat >conftest.$ac_ext <<_ACEOF
35097 /* confdefs.h. */
35098 _ACEOF
35099 cat confdefs.h >>conftest.$ac_ext
35100 cat >>conftest.$ac_ext <<_ACEOF
35101 /* end confdefs.h. */
35102
35103 /* Override any gcc2 internal prototype to avoid an error. */
35104 #ifdef __cplusplus
35105 extern "C"
35106 #endif
35107 /* We use char because int might match the return type of a gcc2
35108 builtin and then its argument prototype would still apply. */
35109 char wcslen ();
35110 int
35111 main ()
35112 {
35113 wcslen ();
35114 ;
35115 return 0;
35116 }
35117 _ACEOF
35118 rm -f conftest.$ac_objext conftest$ac_exeext
35119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35120 (eval $ac_link) 2>conftest.er1
35121 ac_status=$?
35122 grep -v '^ *+' conftest.er1 >conftest.err
35123 rm -f conftest.er1
35124 cat conftest.err >&5
35125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35126 (exit $ac_status); } &&
35127 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35129 (eval $ac_try) 2>&5
35130 ac_status=$?
35131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35132 (exit $ac_status); }; } &&
35133 { ac_try='test -s conftest$ac_exeext'
35134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35135 (eval $ac_try) 2>&5
35136 ac_status=$?
35137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35138 (exit $ac_status); }; }; then
35139 ac_cv_lib_w_wcslen=yes
35140 else
35141 echo "$as_me: failed program was:" >&5
35142 sed 's/^/| /' conftest.$ac_ext >&5
35143
35144 ac_cv_lib_w_wcslen=no
35145 fi
35146 rm -f conftest.err conftest.$ac_objext \
35147 conftest$ac_exeext conftest.$ac_ext
35148 LIBS=$ac_check_lib_save_LIBS
35149 fi
35150 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35151 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
35152 if test $ac_cv_lib_w_wcslen = yes; then
35153
35154 WCHAR_LINK=" -lw"
35155 WCSLEN_FOUND=1
35156
35157 fi
35158
35159 fi
35160 fi
35161
35162 if test "$WCSLEN_FOUND" = 1; then
35163 cat >>confdefs.h <<\_ACEOF
35164 #define HAVE_WCSLEN 1
35165 _ACEOF
35166
35167 fi
35168
35169 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35170 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35171 fi
35172
35173 echo "$as_me:$LINENO: checking for mbstate_t" >&5
35174 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
35175 if test "${ac_cv_type_mbstate_t+set}" = set; then
35176 echo $ECHO_N "(cached) $ECHO_C" >&6
35177 else
35178 cat >conftest.$ac_ext <<_ACEOF
35179 /* confdefs.h. */
35180 _ACEOF
35181 cat confdefs.h >>conftest.$ac_ext
35182 cat >>conftest.$ac_ext <<_ACEOF
35183 /* end confdefs.h. */
35184 #include <wchar.h>
35185
35186 int
35187 main ()
35188 {
35189 if ((mbstate_t *) 0)
35190 return 0;
35191 if (sizeof (mbstate_t))
35192 return 0;
35193 ;
35194 return 0;
35195 }
35196 _ACEOF
35197 rm -f conftest.$ac_objext
35198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35199 (eval $ac_compile) 2>conftest.er1
35200 ac_status=$?
35201 grep -v '^ *+' conftest.er1 >conftest.err
35202 rm -f conftest.er1
35203 cat conftest.err >&5
35204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35205 (exit $ac_status); } &&
35206 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35208 (eval $ac_try) 2>&5
35209 ac_status=$?
35210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35211 (exit $ac_status); }; } &&
35212 { ac_try='test -s conftest.$ac_objext'
35213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35214 (eval $ac_try) 2>&5
35215 ac_status=$?
35216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35217 (exit $ac_status); }; }; then
35218 ac_cv_type_mbstate_t=yes
35219 else
35220 echo "$as_me: failed program was:" >&5
35221 sed 's/^/| /' conftest.$ac_ext >&5
35222
35223 ac_cv_type_mbstate_t=no
35224 fi
35225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35226 fi
35227 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35228 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
35229 if test $ac_cv_type_mbstate_t = yes; then
35230
35231 cat >>confdefs.h <<_ACEOF
35232 #define HAVE_MBSTATE_T 1
35233 _ACEOF
35234
35235
35236 for ac_func in wcsrtombs
35237 do
35238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35239 echo "$as_me:$LINENO: checking for $ac_func" >&5
35240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35241 if eval "test \"\${$as_ac_var+set}\" = set"; then
35242 echo $ECHO_N "(cached) $ECHO_C" >&6
35243 else
35244 cat >conftest.$ac_ext <<_ACEOF
35245 /* confdefs.h. */
35246 _ACEOF
35247 cat confdefs.h >>conftest.$ac_ext
35248 cat >>conftest.$ac_ext <<_ACEOF
35249 /* end confdefs.h. */
35250 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35252 #define $ac_func innocuous_$ac_func
35253
35254 /* System header to define __stub macros and hopefully few prototypes,
35255 which can conflict with char $ac_func (); below.
35256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35257 <limits.h> exists even on freestanding compilers. */
35258
35259 #ifdef __STDC__
35260 # include <limits.h>
35261 #else
35262 # include <assert.h>
35263 #endif
35264
35265 #undef $ac_func
35266
35267 /* Override any gcc2 internal prototype to avoid an error. */
35268 #ifdef __cplusplus
35269 extern "C"
35270 {
35271 #endif
35272 /* We use char because int might match the return type of a gcc2
35273 builtin and then its argument prototype would still apply. */
35274 char $ac_func ();
35275 /* The GNU C library defines this for functions which it implements
35276 to always fail with ENOSYS. Some functions are actually named
35277 something starting with __ and the normal name is an alias. */
35278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35279 choke me
35280 #else
35281 char (*f) () = $ac_func;
35282 #endif
35283 #ifdef __cplusplus
35284 }
35285 #endif
35286
35287 int
35288 main ()
35289 {
35290 return f != $ac_func;
35291 ;
35292 return 0;
35293 }
35294 _ACEOF
35295 rm -f conftest.$ac_objext conftest$ac_exeext
35296 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35297 (eval $ac_link) 2>conftest.er1
35298 ac_status=$?
35299 grep -v '^ *+' conftest.er1 >conftest.err
35300 rm -f conftest.er1
35301 cat conftest.err >&5
35302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35303 (exit $ac_status); } &&
35304 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35306 (eval $ac_try) 2>&5
35307 ac_status=$?
35308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35309 (exit $ac_status); }; } &&
35310 { ac_try='test -s conftest$ac_exeext'
35311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35312 (eval $ac_try) 2>&5
35313 ac_status=$?
35314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35315 (exit $ac_status); }; }; then
35316 eval "$as_ac_var=yes"
35317 else
35318 echo "$as_me: failed program was:" >&5
35319 sed 's/^/| /' conftest.$ac_ext >&5
35320
35321 eval "$as_ac_var=no"
35322 fi
35323 rm -f conftest.err conftest.$ac_objext \
35324 conftest$ac_exeext conftest.$ac_ext
35325 fi
35326 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35327 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35328 if test `eval echo '${'$as_ac_var'}'` = yes; then
35329 cat >>confdefs.h <<_ACEOF
35330 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35331 _ACEOF
35332
35333 fi
35334 done
35335
35336 fi
35337
35338 else
35339 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35340 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35341 fi
35342
35343
35344
35345 for ac_func in snprintf vsnprintf
35346 do
35347 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35348 echo "$as_me:$LINENO: checking for $ac_func" >&5
35349 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35350 if eval "test \"\${$as_ac_var+set}\" = set"; then
35351 echo $ECHO_N "(cached) $ECHO_C" >&6
35352 else
35353 cat >conftest.$ac_ext <<_ACEOF
35354 /* confdefs.h. */
35355 _ACEOF
35356 cat confdefs.h >>conftest.$ac_ext
35357 cat >>conftest.$ac_ext <<_ACEOF
35358 /* end confdefs.h. */
35359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35361 #define $ac_func innocuous_$ac_func
35362
35363 /* System header to define __stub macros and hopefully few prototypes,
35364 which can conflict with char $ac_func (); below.
35365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35366 <limits.h> exists even on freestanding compilers. */
35367
35368 #ifdef __STDC__
35369 # include <limits.h>
35370 #else
35371 # include <assert.h>
35372 #endif
35373
35374 #undef $ac_func
35375
35376 /* Override any gcc2 internal prototype to avoid an error. */
35377 #ifdef __cplusplus
35378 extern "C"
35379 {
35380 #endif
35381 /* We use char because int might match the return type of a gcc2
35382 builtin and then its argument prototype would still apply. */
35383 char $ac_func ();
35384 /* The GNU C library defines this for functions which it implements
35385 to always fail with ENOSYS. Some functions are actually named
35386 something starting with __ and the normal name is an alias. */
35387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35388 choke me
35389 #else
35390 char (*f) () = $ac_func;
35391 #endif
35392 #ifdef __cplusplus
35393 }
35394 #endif
35395
35396 int
35397 main ()
35398 {
35399 return f != $ac_func;
35400 ;
35401 return 0;
35402 }
35403 _ACEOF
35404 rm -f conftest.$ac_objext conftest$ac_exeext
35405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35406 (eval $ac_link) 2>conftest.er1
35407 ac_status=$?
35408 grep -v '^ *+' conftest.er1 >conftest.err
35409 rm -f conftest.er1
35410 cat conftest.err >&5
35411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35412 (exit $ac_status); } &&
35413 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35415 (eval $ac_try) 2>&5
35416 ac_status=$?
35417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35418 (exit $ac_status); }; } &&
35419 { ac_try='test -s conftest$ac_exeext'
35420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35421 (eval $ac_try) 2>&5
35422 ac_status=$?
35423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35424 (exit $ac_status); }; }; then
35425 eval "$as_ac_var=yes"
35426 else
35427 echo "$as_me: failed program was:" >&5
35428 sed 's/^/| /' conftest.$ac_ext >&5
35429
35430 eval "$as_ac_var=no"
35431 fi
35432 rm -f conftest.err conftest.$ac_objext \
35433 conftest$ac_exeext conftest.$ac_ext
35434 fi
35435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35437 if test `eval echo '${'$as_ac_var'}'` = yes; then
35438 cat >>confdefs.h <<_ACEOF
35439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35440 _ACEOF
35441
35442 fi
35443 done
35444
35445
35446 if test "$ac_cv_func_vsnprintf" = "yes"; then
35447 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35448 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
35449 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35450 echo $ECHO_N "(cached) $ECHO_C" >&6
35451 else
35452
35453 cat >conftest.$ac_ext <<_ACEOF
35454 /* confdefs.h. */
35455 _ACEOF
35456 cat confdefs.h >>conftest.$ac_ext
35457 cat >>conftest.$ac_ext <<_ACEOF
35458 /* end confdefs.h. */
35459
35460 #include <stdio.h>
35461 #include <stdarg.h>
35462 #ifdef __MSL__
35463 #if __MSL__ >= 0x6000
35464 namespace std {}
35465 using namespace std;
35466 #endif
35467 #endif
35468
35469 int
35470 main ()
35471 {
35472
35473 char *buf;
35474 va_list ap;
35475 vsnprintf(buf, 10u, "%s", ap);
35476
35477 ;
35478 return 0;
35479 }
35480 _ACEOF
35481 rm -f conftest.$ac_objext
35482 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35483 (eval $ac_compile) 2>conftest.er1
35484 ac_status=$?
35485 grep -v '^ *+' conftest.er1 >conftest.err
35486 rm -f conftest.er1
35487 cat conftest.err >&5
35488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35489 (exit $ac_status); } &&
35490 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35492 (eval $ac_try) 2>&5
35493 ac_status=$?
35494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35495 (exit $ac_status); }; } &&
35496 { ac_try='test -s conftest.$ac_objext'
35497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35498 (eval $ac_try) 2>&5
35499 ac_status=$?
35500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35501 (exit $ac_status); }; }; then
35502 wx_cv_func_vsnprintf_decl=yes
35503 else
35504 echo "$as_me: failed program was:" >&5
35505 sed 's/^/| /' conftest.$ac_ext >&5
35506
35507 wx_cv_func_vsnprintf_decl=no
35508
35509 fi
35510 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35511
35512
35513 fi
35514 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35515 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
35516
35517 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35518 cat >>confdefs.h <<\_ACEOF
35519 #define HAVE_VSNPRINTF_DECL 1
35520 _ACEOF
35521
35522
35523 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35524 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
35525 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35526 echo $ECHO_N "(cached) $ECHO_C" >&6
35527 else
35528
35529 cat >conftest.$ac_ext <<_ACEOF
35530 /* confdefs.h. */
35531 _ACEOF
35532 cat confdefs.h >>conftest.$ac_ext
35533 cat >>conftest.$ac_ext <<_ACEOF
35534 /* end confdefs.h. */
35535
35536 #include <stdio.h>
35537 #include <stdarg.h>
35538 #ifdef __MSL__
35539 #if __MSL__ >= 0x6000
35540 namespace std {}
35541 using namespace std;
35542 #endif
35543 #endif
35544
35545 int
35546 main ()
35547 {
35548
35549 char *buf;
35550 va_list ap;
35551 const char *fmt = "%s";
35552 vsnprintf(buf, 10u, fmt, ap);
35553
35554 ;
35555 return 0;
35556 }
35557 _ACEOF
35558 rm -f conftest.$ac_objext
35559 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35560 (eval $ac_compile) 2>conftest.er1
35561 ac_status=$?
35562 grep -v '^ *+' conftest.er1 >conftest.err
35563 rm -f conftest.er1
35564 cat conftest.err >&5
35565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35566 (exit $ac_status); } &&
35567 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35569 (eval $ac_try) 2>&5
35570 ac_status=$?
35571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35572 (exit $ac_status); }; } &&
35573 { ac_try='test -s conftest.$ac_objext'
35574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35575 (eval $ac_try) 2>&5
35576 ac_status=$?
35577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35578 (exit $ac_status); }; }; then
35579 wx_cv_func_broken_vsnprintf_decl=no
35580 else
35581 echo "$as_me: failed program was:" >&5
35582 sed 's/^/| /' conftest.$ac_ext >&5
35583
35584 wx_cv_func_broken_vsnprintf_decl=yes
35585
35586 fi
35587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35588
35589
35590 fi
35591 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35592 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35593
35594 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35595 cat >>confdefs.h <<\_ACEOF
35596 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35597 _ACEOF
35598
35599 fi
35600 fi
35601 fi
35602
35603 if test "$ac_cv_func_snprintf" = "yes"; then
35604 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35605 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35606 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35607 echo $ECHO_N "(cached) $ECHO_C" >&6
35608 else
35609
35610 cat >conftest.$ac_ext <<_ACEOF
35611 /* confdefs.h. */
35612 _ACEOF
35613 cat confdefs.h >>conftest.$ac_ext
35614 cat >>conftest.$ac_ext <<_ACEOF
35615 /* end confdefs.h. */
35616
35617 #include <stdio.h>
35618 #include <stdarg.h>
35619 #ifdef __MSL__
35620 #if __MSL__ >= 0x6000
35621 namespace std {}
35622 using namespace std;
35623 #endif
35624 #endif
35625
35626 int
35627 main ()
35628 {
35629
35630 char *buf;
35631 snprintf(buf, 10u, "%s", "wx");
35632
35633 ;
35634 return 0;
35635 }
35636 _ACEOF
35637 rm -f conftest.$ac_objext
35638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35639 (eval $ac_compile) 2>conftest.er1
35640 ac_status=$?
35641 grep -v '^ *+' conftest.er1 >conftest.err
35642 rm -f conftest.er1
35643 cat conftest.err >&5
35644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35645 (exit $ac_status); } &&
35646 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35648 (eval $ac_try) 2>&5
35649 ac_status=$?
35650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35651 (exit $ac_status); }; } &&
35652 { ac_try='test -s conftest.$ac_objext'
35653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35654 (eval $ac_try) 2>&5
35655 ac_status=$?
35656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35657 (exit $ac_status); }; }; then
35658 wx_cv_func_snprintf_decl=yes
35659 else
35660 echo "$as_me: failed program was:" >&5
35661 sed 's/^/| /' conftest.$ac_ext >&5
35662
35663 wx_cv_func_snprintf_decl=no
35664
35665 fi
35666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35667
35668
35669 fi
35670 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35671 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35672
35673 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35674 cat >>confdefs.h <<\_ACEOF
35675 #define HAVE_SNPRINTF_DECL 1
35676 _ACEOF
35677
35678
35679 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35680 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35681 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35682 echo $ECHO_N "(cached) $ECHO_C" >&6
35683 else
35684
35685 cat >conftest.$ac_ext <<_ACEOF
35686 /* confdefs.h. */
35687 _ACEOF
35688 cat confdefs.h >>conftest.$ac_ext
35689 cat >>conftest.$ac_ext <<_ACEOF
35690 /* end confdefs.h. */
35691
35692 #include <stdio.h>
35693 #include <stdarg.h>
35694 #ifdef __MSL__
35695 #if __MSL__ >= 0x6000
35696 namespace std {}
35697 using namespace std;
35698 #endif
35699 #endif
35700
35701 int
35702 main ()
35703 {
35704
35705 char *buf;
35706 const char *fmt = "%s";
35707 snprintf(buf, 10u, fmt, "wx");
35708
35709 ;
35710 return 0;
35711 }
35712 _ACEOF
35713 rm -f conftest.$ac_objext
35714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35715 (eval $ac_compile) 2>conftest.er1
35716 ac_status=$?
35717 grep -v '^ *+' conftest.er1 >conftest.err
35718 rm -f conftest.er1
35719 cat conftest.err >&5
35720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35721 (exit $ac_status); } &&
35722 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35724 (eval $ac_try) 2>&5
35725 ac_status=$?
35726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35727 (exit $ac_status); }; } &&
35728 { ac_try='test -s conftest.$ac_objext'
35729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35730 (eval $ac_try) 2>&5
35731 ac_status=$?
35732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35733 (exit $ac_status); }; }; then
35734 wx_cv_func_broken_snprintf_decl=no
35735 else
35736 echo "$as_me: failed program was:" >&5
35737 sed 's/^/| /' conftest.$ac_ext >&5
35738
35739 wx_cv_func_broken_snprintf_decl=yes
35740
35741 fi
35742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35743
35744
35745 fi
35746 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35747 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35748
35749 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35750 cat >>confdefs.h <<\_ACEOF
35751 #define HAVE_BROKEN_SNPRINTF_DECL 1
35752 _ACEOF
35753
35754 fi
35755 fi
35756
35757 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35758
35759 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35760 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35761 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35762 echo $ECHO_N "(cached) $ECHO_C" >&6
35763 else
35764
35765 if test "$cross_compiling" = yes; then
35766
35767 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35768 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35769 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35770 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35771 wx_cv_func_snprintf_pos_params=no
35772
35773
35774 else
35775 cat >conftest.$ac_ext <<_ACEOF
35776 /* confdefs.h. */
35777 _ACEOF
35778 cat confdefs.h >>conftest.$ac_ext
35779 cat >>conftest.$ac_ext <<_ACEOF
35780 /* end confdefs.h. */
35781
35782 #include <stdio.h>
35783
35784 int main (void)
35785 {
35786 char buffer[128];
35787 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35788 if (strcmp ("2 3 1", buffer) == 0)
35789 exit (0);
35790 exit (1);
35791 }
35792
35793 _ACEOF
35794 rm -f conftest$ac_exeext
35795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35796 (eval $ac_link) 2>&5
35797 ac_status=$?
35798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35799 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35801 (eval $ac_try) 2>&5
35802 ac_status=$?
35803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35804 (exit $ac_status); }; }; then
35805 wx_cv_func_snprintf_pos_params=no
35806 else
35807 echo "$as_me: program exited with status $ac_status" >&5
35808 echo "$as_me: failed program was:" >&5
35809 sed 's/^/| /' conftest.$ac_ext >&5
35810
35811 ( exit $ac_status )
35812 wx_cv_func_snprintf_pos_params=yes
35813 fi
35814 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35815 fi
35816
35817
35818 fi
35819 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35820 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35821
35822 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35823 cat >>confdefs.h <<\_ACEOF
35824 #define HAVE_UNIX98_PRINTF 1
35825 _ACEOF
35826
35827 fi
35828 fi
35829 fi
35830
35831 if test "$wxUSE_UNICODE" = yes; then
35832
35833
35834 for ac_func in swprintf
35835 do
35836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35837 echo "$as_me:$LINENO: checking for $ac_func" >&5
35838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35839 if eval "test \"\${$as_ac_var+set}\" = set"; then
35840 echo $ECHO_N "(cached) $ECHO_C" >&6
35841 else
35842 cat >conftest.$ac_ext <<_ACEOF
35843 /* confdefs.h. */
35844 _ACEOF
35845 cat confdefs.h >>conftest.$ac_ext
35846 cat >>conftest.$ac_ext <<_ACEOF
35847 /* end confdefs.h. */
35848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35850 #define $ac_func innocuous_$ac_func
35851
35852 /* System header to define __stub macros and hopefully few prototypes,
35853 which can conflict with char $ac_func (); below.
35854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35855 <limits.h> exists even on freestanding compilers. */
35856
35857 #ifdef __STDC__
35858 # include <limits.h>
35859 #else
35860 # include <assert.h>
35861 #endif
35862
35863 #undef $ac_func
35864
35865 /* Override any gcc2 internal prototype to avoid an error. */
35866 #ifdef __cplusplus
35867 extern "C"
35868 {
35869 #endif
35870 /* We use char because int might match the return type of a gcc2
35871 builtin and then its argument prototype would still apply. */
35872 char $ac_func ();
35873 /* The GNU C library defines this for functions which it implements
35874 to always fail with ENOSYS. Some functions are actually named
35875 something starting with __ and the normal name is an alias. */
35876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35877 choke me
35878 #else
35879 char (*f) () = $ac_func;
35880 #endif
35881 #ifdef __cplusplus
35882 }
35883 #endif
35884
35885 int
35886 main ()
35887 {
35888 return f != $ac_func;
35889 ;
35890 return 0;
35891 }
35892 _ACEOF
35893 rm -f conftest.$ac_objext conftest$ac_exeext
35894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35895 (eval $ac_link) 2>conftest.er1
35896 ac_status=$?
35897 grep -v '^ *+' conftest.er1 >conftest.err
35898 rm -f conftest.er1
35899 cat conftest.err >&5
35900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35901 (exit $ac_status); } &&
35902 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35904 (eval $ac_try) 2>&5
35905 ac_status=$?
35906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35907 (exit $ac_status); }; } &&
35908 { ac_try='test -s conftest$ac_exeext'
35909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35910 (eval $ac_try) 2>&5
35911 ac_status=$?
35912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35913 (exit $ac_status); }; }; then
35914 eval "$as_ac_var=yes"
35915 else
35916 echo "$as_me: failed program was:" >&5
35917 sed 's/^/| /' conftest.$ac_ext >&5
35918
35919 eval "$as_ac_var=no"
35920 fi
35921 rm -f conftest.err conftest.$ac_objext \
35922 conftest$ac_exeext conftest.$ac_ext
35923 fi
35924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35926 if test `eval echo '${'$as_ac_var'}'` = yes; then
35927 cat >>confdefs.h <<_ACEOF
35928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35929 _ACEOF
35930
35931 fi
35932 done
35933
35934
35935 if test "$ac_cv_func_swprintf" = "yes"; then
35936 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
35937 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
35938 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
35939 echo $ECHO_N "(cached) $ECHO_C" >&6
35940 else
35941
35942 cat >conftest.$ac_ext <<_ACEOF
35943 /* confdefs.h. */
35944 _ACEOF
35945 cat confdefs.h >>conftest.$ac_ext
35946 cat >>conftest.$ac_ext <<_ACEOF
35947 /* end confdefs.h. */
35948
35949 #include <stdio.h>
35950 #include <stdarg.h>
35951 #include <wchar.h>
35952
35953 int
35954 main ()
35955 {
35956
35957 wchar_t *buf;
35958 const wchar_t *fmt = L"test";
35959 swprintf(buf, 10u, fmt);
35960
35961 ;
35962 return 0;
35963 }
35964 _ACEOF
35965 rm -f conftest.$ac_objext
35966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35967 (eval $ac_compile) 2>conftest.er1
35968 ac_status=$?
35969 grep -v '^ *+' conftest.er1 >conftest.err
35970 rm -f conftest.er1
35971 cat conftest.err >&5
35972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35973 (exit $ac_status); } &&
35974 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35976 (eval $ac_try) 2>&5
35977 ac_status=$?
35978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35979 (exit $ac_status); }; } &&
35980 { ac_try='test -s conftest.$ac_objext'
35981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35982 (eval $ac_try) 2>&5
35983 ac_status=$?
35984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35985 (exit $ac_status); }; }; then
35986 wx_cv_func_broken_swprintf_decl=no
35987 else
35988 echo "$as_me: failed program was:" >&5
35989 sed 's/^/| /' conftest.$ac_ext >&5
35990
35991 wx_cv_func_broken_swprintf_decl=yes
35992
35993 fi
35994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35995
35996
35997 fi
35998 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
35999 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
36000
36001 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
36002 cat >>confdefs.h <<\_ACEOF
36003 #define HAVE_BROKEN_SWPRINTF_DECL 1
36004 _ACEOF
36005
36006 fi
36007 fi
36008
36009
36010
36011
36012
36013
36014
36015 for ac_func in wputc wputchar putws fputws wprintf vswprintf
36016 do
36017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36018 echo "$as_me:$LINENO: checking for $ac_func" >&5
36019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36020 if eval "test \"\${$as_ac_var+set}\" = set"; then
36021 echo $ECHO_N "(cached) $ECHO_C" >&6
36022 else
36023 cat >conftest.$ac_ext <<_ACEOF
36024 /* confdefs.h. */
36025 _ACEOF
36026 cat confdefs.h >>conftest.$ac_ext
36027 cat >>conftest.$ac_ext <<_ACEOF
36028 /* end confdefs.h. */
36029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36031 #define $ac_func innocuous_$ac_func
36032
36033 /* System header to define __stub macros and hopefully few prototypes,
36034 which can conflict with char $ac_func (); below.
36035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36036 <limits.h> exists even on freestanding compilers. */
36037
36038 #ifdef __STDC__
36039 # include <limits.h>
36040 #else
36041 # include <assert.h>
36042 #endif
36043
36044 #undef $ac_func
36045
36046 /* Override any gcc2 internal prototype to avoid an error. */
36047 #ifdef __cplusplus
36048 extern "C"
36049 {
36050 #endif
36051 /* We use char because int might match the return type of a gcc2
36052 builtin and then its argument prototype would still apply. */
36053 char $ac_func ();
36054 /* The GNU C library defines this for functions which it implements
36055 to always fail with ENOSYS. Some functions are actually named
36056 something starting with __ and the normal name is an alias. */
36057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36058 choke me
36059 #else
36060 char (*f) () = $ac_func;
36061 #endif
36062 #ifdef __cplusplus
36063 }
36064 #endif
36065
36066 int
36067 main ()
36068 {
36069 return f != $ac_func;
36070 ;
36071 return 0;
36072 }
36073 _ACEOF
36074 rm -f conftest.$ac_objext conftest$ac_exeext
36075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36076 (eval $ac_link) 2>conftest.er1
36077 ac_status=$?
36078 grep -v '^ *+' conftest.er1 >conftest.err
36079 rm -f conftest.er1
36080 cat conftest.err >&5
36081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36082 (exit $ac_status); } &&
36083 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36085 (eval $ac_try) 2>&5
36086 ac_status=$?
36087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36088 (exit $ac_status); }; } &&
36089 { ac_try='test -s conftest$ac_exeext'
36090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36091 (eval $ac_try) 2>&5
36092 ac_status=$?
36093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36094 (exit $ac_status); }; }; then
36095 eval "$as_ac_var=yes"
36096 else
36097 echo "$as_me: failed program was:" >&5
36098 sed 's/^/| /' conftest.$ac_ext >&5
36099
36100 eval "$as_ac_var=no"
36101 fi
36102 rm -f conftest.err conftest.$ac_objext \
36103 conftest$ac_exeext conftest.$ac_ext
36104 fi
36105 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36106 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36107 if test `eval echo '${'$as_ac_var'}'` = yes; then
36108 cat >>confdefs.h <<_ACEOF
36109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36110 _ACEOF
36111
36112 fi
36113 done
36114
36115
36116 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36117 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
36118 cat >conftest.$ac_ext <<_ACEOF
36119 /* confdefs.h. */
36120 _ACEOF
36121 cat confdefs.h >>conftest.$ac_ext
36122 cat >>conftest.$ac_ext <<_ACEOF
36123 /* end confdefs.h. */
36124 #include <wchar.h>
36125 int
36126 main ()
36127 {
36128 &_vsnwprintf;
36129 ;
36130 return 0;
36131 }
36132 _ACEOF
36133 rm -f conftest.$ac_objext
36134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36135 (eval $ac_compile) 2>conftest.er1
36136 ac_status=$?
36137 grep -v '^ *+' conftest.er1 >conftest.err
36138 rm -f conftest.er1
36139 cat conftest.err >&5
36140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36141 (exit $ac_status); } &&
36142 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36144 (eval $ac_try) 2>&5
36145 ac_status=$?
36146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36147 (exit $ac_status); }; } &&
36148 { ac_try='test -s conftest.$ac_objext'
36149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36150 (eval $ac_try) 2>&5
36151 ac_status=$?
36152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36153 (exit $ac_status); }; }; then
36154 echo "$as_me:$LINENO: result: yes" >&5
36155 echo "${ECHO_T}yes" >&6
36156 cat >>confdefs.h <<\_ACEOF
36157 #define HAVE__VSNWPRINTF 1
36158 _ACEOF
36159
36160 else
36161 echo "$as_me: failed program was:" >&5
36162 sed 's/^/| /' conftest.$ac_ext >&5
36163
36164 echo "$as_me:$LINENO: result: no" >&5
36165 echo "${ECHO_T}no" >&6
36166 fi
36167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
36168 fi
36169
36170 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
36171
36172 for ac_func in fnmatch
36173 do
36174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36175 echo "$as_me:$LINENO: checking for $ac_func" >&5
36176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36177 if eval "test \"\${$as_ac_var+set}\" = set"; then
36178 echo $ECHO_N "(cached) $ECHO_C" >&6
36179 else
36180 cat >conftest.$ac_ext <<_ACEOF
36181 /* confdefs.h. */
36182 _ACEOF
36183 cat confdefs.h >>conftest.$ac_ext
36184 cat >>conftest.$ac_ext <<_ACEOF
36185 /* end confdefs.h. */
36186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36188 #define $ac_func innocuous_$ac_func
36189
36190 /* System header to define __stub macros and hopefully few prototypes,
36191 which can conflict with char $ac_func (); below.
36192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36193 <limits.h> exists even on freestanding compilers. */
36194
36195 #ifdef __STDC__
36196 # include <limits.h>
36197 #else
36198 # include <assert.h>
36199 #endif
36200
36201 #undef $ac_func
36202
36203 /* Override any gcc2 internal prototype to avoid an error. */
36204 #ifdef __cplusplus
36205 extern "C"
36206 {
36207 #endif
36208 /* We use char because int might match the return type of a gcc2
36209 builtin and then its argument prototype would still apply. */
36210 char $ac_func ();
36211 /* The GNU C library defines this for functions which it implements
36212 to always fail with ENOSYS. Some functions are actually named
36213 something starting with __ and the normal name is an alias. */
36214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36215 choke me
36216 #else
36217 char (*f) () = $ac_func;
36218 #endif
36219 #ifdef __cplusplus
36220 }
36221 #endif
36222
36223 int
36224 main ()
36225 {
36226 return f != $ac_func;
36227 ;
36228 return 0;
36229 }
36230 _ACEOF
36231 rm -f conftest.$ac_objext conftest$ac_exeext
36232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36233 (eval $ac_link) 2>conftest.er1
36234 ac_status=$?
36235 grep -v '^ *+' conftest.er1 >conftest.err
36236 rm -f conftest.er1
36237 cat conftest.err >&5
36238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36239 (exit $ac_status); } &&
36240 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36242 (eval $ac_try) 2>&5
36243 ac_status=$?
36244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36245 (exit $ac_status); }; } &&
36246 { ac_try='test -s conftest$ac_exeext'
36247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36248 (eval $ac_try) 2>&5
36249 ac_status=$?
36250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36251 (exit $ac_status); }; }; then
36252 eval "$as_ac_var=yes"
36253 else
36254 echo "$as_me: failed program was:" >&5
36255 sed 's/^/| /' conftest.$ac_ext >&5
36256
36257 eval "$as_ac_var=no"
36258 fi
36259 rm -f conftest.err conftest.$ac_objext \
36260 conftest$ac_exeext conftest.$ac_ext
36261 fi
36262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36263 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36264 if test `eval echo '${'$as_ac_var'}'` = yes; then
36265 cat >>confdefs.h <<_ACEOF
36266 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36267 _ACEOF
36268
36269 fi
36270 done
36271
36272 fi
36273
36274 if test "$wxUSE_FILE" = "yes"; then
36275
36276 for ac_func in fsync
36277 do
36278 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36279 echo "$as_me:$LINENO: checking for $ac_func" >&5
36280 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36281 if eval "test \"\${$as_ac_var+set}\" = set"; then
36282 echo $ECHO_N "(cached) $ECHO_C" >&6
36283 else
36284 cat >conftest.$ac_ext <<_ACEOF
36285 /* confdefs.h. */
36286 _ACEOF
36287 cat confdefs.h >>conftest.$ac_ext
36288 cat >>conftest.$ac_ext <<_ACEOF
36289 /* end confdefs.h. */
36290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36292 #define $ac_func innocuous_$ac_func
36293
36294 /* System header to define __stub macros and hopefully few prototypes,
36295 which can conflict with char $ac_func (); below.
36296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36297 <limits.h> exists even on freestanding compilers. */
36298
36299 #ifdef __STDC__
36300 # include <limits.h>
36301 #else
36302 # include <assert.h>
36303 #endif
36304
36305 #undef $ac_func
36306
36307 /* Override any gcc2 internal prototype to avoid an error. */
36308 #ifdef __cplusplus
36309 extern "C"
36310 {
36311 #endif
36312 /* We use char because int might match the return type of a gcc2
36313 builtin and then its argument prototype would still apply. */
36314 char $ac_func ();
36315 /* The GNU C library defines this for functions which it implements
36316 to always fail with ENOSYS. Some functions are actually named
36317 something starting with __ and the normal name is an alias. */
36318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36319 choke me
36320 #else
36321 char (*f) () = $ac_func;
36322 #endif
36323 #ifdef __cplusplus
36324 }
36325 #endif
36326
36327 int
36328 main ()
36329 {
36330 return f != $ac_func;
36331 ;
36332 return 0;
36333 }
36334 _ACEOF
36335 rm -f conftest.$ac_objext conftest$ac_exeext
36336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36337 (eval $ac_link) 2>conftest.er1
36338 ac_status=$?
36339 grep -v '^ *+' conftest.er1 >conftest.err
36340 rm -f conftest.er1
36341 cat conftest.err >&5
36342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36343 (exit $ac_status); } &&
36344 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36346 (eval $ac_try) 2>&5
36347 ac_status=$?
36348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36349 (exit $ac_status); }; } &&
36350 { ac_try='test -s conftest$ac_exeext'
36351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36352 (eval $ac_try) 2>&5
36353 ac_status=$?
36354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36355 (exit $ac_status); }; }; then
36356 eval "$as_ac_var=yes"
36357 else
36358 echo "$as_me: failed program was:" >&5
36359 sed 's/^/| /' conftest.$ac_ext >&5
36360
36361 eval "$as_ac_var=no"
36362 fi
36363 rm -f conftest.err conftest.$ac_objext \
36364 conftest$ac_exeext conftest.$ac_ext
36365 fi
36366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36367 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36368 if test `eval echo '${'$as_ac_var'}'` = yes; then
36369 cat >>confdefs.h <<_ACEOF
36370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36371 _ACEOF
36372
36373 fi
36374 done
36375
36376 fi
36377
36378
36379 for ac_func in round
36380 do
36381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36382 echo "$as_me:$LINENO: checking for $ac_func" >&5
36383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36384 if eval "test \"\${$as_ac_var+set}\" = set"; then
36385 echo $ECHO_N "(cached) $ECHO_C" >&6
36386 else
36387 cat >conftest.$ac_ext <<_ACEOF
36388 /* confdefs.h. */
36389 _ACEOF
36390 cat confdefs.h >>conftest.$ac_ext
36391 cat >>conftest.$ac_ext <<_ACEOF
36392 /* end confdefs.h. */
36393 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36394 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36395 #define $ac_func innocuous_$ac_func
36396
36397 /* System header to define __stub macros and hopefully few prototypes,
36398 which can conflict with char $ac_func (); below.
36399 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36400 <limits.h> exists even on freestanding compilers. */
36401
36402 #ifdef __STDC__
36403 # include <limits.h>
36404 #else
36405 # include <assert.h>
36406 #endif
36407
36408 #undef $ac_func
36409
36410 /* Override any gcc2 internal prototype to avoid an error. */
36411 #ifdef __cplusplus
36412 extern "C"
36413 {
36414 #endif
36415 /* We use char because int might match the return type of a gcc2
36416 builtin and then its argument prototype would still apply. */
36417 char $ac_func ();
36418 /* The GNU C library defines this for functions which it implements
36419 to always fail with ENOSYS. Some functions are actually named
36420 something starting with __ and the normal name is an alias. */
36421 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36422 choke me
36423 #else
36424 char (*f) () = $ac_func;
36425 #endif
36426 #ifdef __cplusplus
36427 }
36428 #endif
36429
36430 int
36431 main ()
36432 {
36433 return f != $ac_func;
36434 ;
36435 return 0;
36436 }
36437 _ACEOF
36438 rm -f conftest.$ac_objext conftest$ac_exeext
36439 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36440 (eval $ac_link) 2>conftest.er1
36441 ac_status=$?
36442 grep -v '^ *+' conftest.er1 >conftest.err
36443 rm -f conftest.er1
36444 cat conftest.err >&5
36445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36446 (exit $ac_status); } &&
36447 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36449 (eval $ac_try) 2>&5
36450 ac_status=$?
36451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36452 (exit $ac_status); }; } &&
36453 { ac_try='test -s conftest$ac_exeext'
36454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36455 (eval $ac_try) 2>&5
36456 ac_status=$?
36457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36458 (exit $ac_status); }; }; then
36459 eval "$as_ac_var=yes"
36460 else
36461 echo "$as_me: failed program was:" >&5
36462 sed 's/^/| /' conftest.$ac_ext >&5
36463
36464 eval "$as_ac_var=no"
36465 fi
36466 rm -f conftest.err conftest.$ac_objext \
36467 conftest$ac_exeext conftest.$ac_ext
36468 fi
36469 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36470 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36471 if test `eval echo '${'$as_ac_var'}'` = yes; then
36472 cat >>confdefs.h <<_ACEOF
36473 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36474 _ACEOF
36475
36476 fi
36477 done
36478
36479 if test "$ac_cv_func_round" = yes; then
36480 echo "$as_me:$LINENO: checking whether round is declared" >&5
36481 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
36482 if test "${ac_cv_have_decl_round+set}" = set; then
36483 echo $ECHO_N "(cached) $ECHO_C" >&6
36484 else
36485 cat >conftest.$ac_ext <<_ACEOF
36486 /* confdefs.h. */
36487 _ACEOF
36488 cat confdefs.h >>conftest.$ac_ext
36489 cat >>conftest.$ac_ext <<_ACEOF
36490 /* end confdefs.h. */
36491 #include <math.h>
36492
36493 int
36494 main ()
36495 {
36496 #ifndef round
36497 char *p = (char *) round;
36498 #endif
36499
36500 ;
36501 return 0;
36502 }
36503 _ACEOF
36504 rm -f conftest.$ac_objext
36505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36506 (eval $ac_compile) 2>conftest.er1
36507 ac_status=$?
36508 grep -v '^ *+' conftest.er1 >conftest.err
36509 rm -f conftest.er1
36510 cat conftest.err >&5
36511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36512 (exit $ac_status); } &&
36513 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36515 (eval $ac_try) 2>&5
36516 ac_status=$?
36517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36518 (exit $ac_status); }; } &&
36519 { ac_try='test -s conftest.$ac_objext'
36520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36521 (eval $ac_try) 2>&5
36522 ac_status=$?
36523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36524 (exit $ac_status); }; }; then
36525 ac_cv_have_decl_round=yes
36526 else
36527 echo "$as_me: failed program was:" >&5
36528 sed 's/^/| /' conftest.$ac_ext >&5
36529
36530 ac_cv_have_decl_round=no
36531 fi
36532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36533 fi
36534 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
36535 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
36536 if test $ac_cv_have_decl_round = yes; then
36537
36538 cat >>confdefs.h <<_ACEOF
36539 #define HAVE_DECL_ROUND 1
36540 _ACEOF
36541
36542
36543 else
36544 cat >>confdefs.h <<_ACEOF
36545 #define HAVE_DECL_ROUND 0
36546 _ACEOF
36547
36548
36549 fi
36550
36551
36552 fi
36553
36554
36555 if test "$TOOLKIT" != "MSW"; then
36556
36557
36558
36559
36560
36561 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36562 if test "${with_libiconv_prefix+set}" = set; then
36563 withval="$with_libiconv_prefix"
36564
36565 for dir in `echo "$withval" | tr : ' '`; do
36566 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36567 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36568 done
36569
36570 fi;
36571
36572 echo "$as_me:$LINENO: checking for iconv" >&5
36573 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36574 if test "${am_cv_func_iconv+set}" = set; then
36575 echo $ECHO_N "(cached) $ECHO_C" >&6
36576 else
36577
36578 am_cv_func_iconv="no, consider installing GNU libiconv"
36579 am_cv_lib_iconv=no
36580 cat >conftest.$ac_ext <<_ACEOF
36581 /* confdefs.h. */
36582 _ACEOF
36583 cat confdefs.h >>conftest.$ac_ext
36584 cat >>conftest.$ac_ext <<_ACEOF
36585 /* end confdefs.h. */
36586 #include <stdlib.h>
36587 #include <iconv.h>
36588 int
36589 main ()
36590 {
36591 iconv_t cd = iconv_open("","");
36592 iconv(cd,NULL,NULL,NULL,NULL);
36593 iconv_close(cd);
36594 ;
36595 return 0;
36596 }
36597 _ACEOF
36598 rm -f conftest.$ac_objext conftest$ac_exeext
36599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36600 (eval $ac_link) 2>conftest.er1
36601 ac_status=$?
36602 grep -v '^ *+' conftest.er1 >conftest.err
36603 rm -f conftest.er1
36604 cat conftest.err >&5
36605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36606 (exit $ac_status); } &&
36607 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36609 (eval $ac_try) 2>&5
36610 ac_status=$?
36611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36612 (exit $ac_status); }; } &&
36613 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
36619 am_cv_func_iconv=yes
36620 else
36621 echo "$as_me: failed program was:" >&5
36622 sed 's/^/| /' conftest.$ac_ext >&5
36623
36624 fi
36625 rm -f conftest.err conftest.$ac_objext \
36626 conftest$ac_exeext conftest.$ac_ext
36627 if test "$am_cv_func_iconv" != yes; then
36628 am_save_LIBS="$LIBS"
36629 LIBS="$LIBS -liconv"
36630 cat >conftest.$ac_ext <<_ACEOF
36631 /* confdefs.h. */
36632 _ACEOF
36633 cat confdefs.h >>conftest.$ac_ext
36634 cat >>conftest.$ac_ext <<_ACEOF
36635 /* end confdefs.h. */
36636 #include <stdlib.h>
36637 #include <iconv.h>
36638 int
36639 main ()
36640 {
36641 iconv_t cd = iconv_open("","");
36642 iconv(cd,NULL,NULL,NULL,NULL);
36643 iconv_close(cd);
36644 ;
36645 return 0;
36646 }
36647 _ACEOF
36648 rm -f conftest.$ac_objext conftest$ac_exeext
36649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36650 (eval $ac_link) 2>conftest.er1
36651 ac_status=$?
36652 grep -v '^ *+' conftest.er1 >conftest.err
36653 rm -f conftest.er1
36654 cat conftest.err >&5
36655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36656 (exit $ac_status); } &&
36657 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36659 (eval $ac_try) 2>&5
36660 ac_status=$?
36661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36662 (exit $ac_status); }; } &&
36663 { ac_try='test -s conftest$ac_exeext'
36664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36665 (eval $ac_try) 2>&5
36666 ac_status=$?
36667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36668 (exit $ac_status); }; }; then
36669 am_cv_lib_iconv=yes
36670 am_cv_func_iconv=yes
36671 else
36672 echo "$as_me: failed program was:" >&5
36673 sed 's/^/| /' conftest.$ac_ext >&5
36674
36675 fi
36676 rm -f conftest.err conftest.$ac_objext \
36677 conftest$ac_exeext conftest.$ac_ext
36678 LIBS="$am_save_LIBS"
36679 fi
36680
36681 fi
36682 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36683 echo "${ECHO_T}$am_cv_func_iconv" >&6
36684 if test "$am_cv_func_iconv" = yes; then
36685
36686 cat >>confdefs.h <<\_ACEOF
36687 #define HAVE_ICONV 1
36688 _ACEOF
36689
36690 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36691 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36692 if test "${wx_cv_func_iconv_const+set}" = set; then
36693 echo $ECHO_N "(cached) $ECHO_C" >&6
36694 else
36695 cat >conftest.$ac_ext <<_ACEOF
36696 /* confdefs.h. */
36697 _ACEOF
36698 cat confdefs.h >>conftest.$ac_ext
36699 cat >>conftest.$ac_ext <<_ACEOF
36700 /* end confdefs.h. */
36701
36702 #include <stdlib.h>
36703 #include <iconv.h>
36704 extern
36705 #ifdef __cplusplus
36706 "C"
36707 #endif
36708 #if defined(__STDC__) || defined(__cplusplus)
36709 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36710 #else
36711 size_t iconv();
36712 #endif
36713
36714 int
36715 main ()
36716 {
36717
36718 ;
36719 return 0;
36720 }
36721 _ACEOF
36722 rm -f conftest.$ac_objext
36723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36724 (eval $ac_compile) 2>conftest.er1
36725 ac_status=$?
36726 grep -v '^ *+' conftest.er1 >conftest.err
36727 rm -f conftest.er1
36728 cat conftest.err >&5
36729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36730 (exit $ac_status); } &&
36731 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36733 (eval $ac_try) 2>&5
36734 ac_status=$?
36735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36736 (exit $ac_status); }; } &&
36737 { ac_try='test -s conftest.$ac_objext'
36738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36739 (eval $ac_try) 2>&5
36740 ac_status=$?
36741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36742 (exit $ac_status); }; }; then
36743 wx_cv_func_iconv_const="no"
36744 else
36745 echo "$as_me: failed program was:" >&5
36746 sed 's/^/| /' conftest.$ac_ext >&5
36747
36748 wx_cv_func_iconv_const="yes"
36749
36750 fi
36751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36752
36753 fi
36754 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36755 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36756
36757 iconv_const=
36758 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36759 iconv_const="const"
36760 fi
36761
36762
36763 cat >>confdefs.h <<_ACEOF
36764 #define ICONV_CONST $iconv_const
36765 _ACEOF
36766
36767 fi
36768 LIBICONV=
36769 if test "$am_cv_lib_iconv" = yes; then
36770 LIBICONV="-liconv"
36771 fi
36772
36773
36774 LIBS="$LIBICONV $LIBS"
36775
36776 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36777
36778 for ac_func in sigaction
36779 do
36780 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36781 echo "$as_me:$LINENO: checking for $ac_func" >&5
36782 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36783 if eval "test \"\${$as_ac_var+set}\" = set"; then
36784 echo $ECHO_N "(cached) $ECHO_C" >&6
36785 else
36786 cat >conftest.$ac_ext <<_ACEOF
36787 /* confdefs.h. */
36788 _ACEOF
36789 cat confdefs.h >>conftest.$ac_ext
36790 cat >>conftest.$ac_ext <<_ACEOF
36791 /* end confdefs.h. */
36792 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36793 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36794 #define $ac_func innocuous_$ac_func
36795
36796 /* System header to define __stub macros and hopefully few prototypes,
36797 which can conflict with char $ac_func (); below.
36798 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36799 <limits.h> exists even on freestanding compilers. */
36800
36801 #ifdef __STDC__
36802 # include <limits.h>
36803 #else
36804 # include <assert.h>
36805 #endif
36806
36807 #undef $ac_func
36808
36809 /* Override any gcc2 internal prototype to avoid an error. */
36810 #ifdef __cplusplus
36811 extern "C"
36812 {
36813 #endif
36814 /* We use char because int might match the return type of a gcc2
36815 builtin and then its argument prototype would still apply. */
36816 char $ac_func ();
36817 /* The GNU C library defines this for functions which it implements
36818 to always fail with ENOSYS. Some functions are actually named
36819 something starting with __ and the normal name is an alias. */
36820 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36821 choke me
36822 #else
36823 char (*f) () = $ac_func;
36824 #endif
36825 #ifdef __cplusplus
36826 }
36827 #endif
36828
36829 int
36830 main ()
36831 {
36832 return f != $ac_func;
36833 ;
36834 return 0;
36835 }
36836 _ACEOF
36837 rm -f conftest.$ac_objext conftest$ac_exeext
36838 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36839 (eval $ac_link) 2>conftest.er1
36840 ac_status=$?
36841 grep -v '^ *+' conftest.er1 >conftest.err
36842 rm -f conftest.er1
36843 cat conftest.err >&5
36844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36845 (exit $ac_status); } &&
36846 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36848 (eval $ac_try) 2>&5
36849 ac_status=$?
36850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36851 (exit $ac_status); }; } &&
36852 { ac_try='test -s conftest$ac_exeext'
36853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36854 (eval $ac_try) 2>&5
36855 ac_status=$?
36856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36857 (exit $ac_status); }; }; then
36858 eval "$as_ac_var=yes"
36859 else
36860 echo "$as_me: failed program was:" >&5
36861 sed 's/^/| /' conftest.$ac_ext >&5
36862
36863 eval "$as_ac_var=no"
36864 fi
36865 rm -f conftest.err conftest.$ac_objext \
36866 conftest$ac_exeext conftest.$ac_ext
36867 fi
36868 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36869 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36870 if test `eval echo '${'$as_ac_var'}'` = yes; then
36871 cat >>confdefs.h <<_ACEOF
36872 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36873 _ACEOF
36874
36875 fi
36876 done
36877
36878
36879 if test "$ac_cv_func_sigaction" = "no"; then
36880 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36881 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36882 wxUSE_ON_FATAL_EXCEPTION=no
36883 fi
36884
36885 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36886 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36887 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36888 if test "${wx_cv_type_sa_handler+set}" = set; then
36889 echo $ECHO_N "(cached) $ECHO_C" >&6
36890 else
36891
36892 cat >conftest.$ac_ext <<_ACEOF
36893 /* confdefs.h. */
36894 _ACEOF
36895 cat confdefs.h >>conftest.$ac_ext
36896 cat >>conftest.$ac_ext <<_ACEOF
36897 /* end confdefs.h. */
36898 #include <signal.h>
36899 int
36900 main ()
36901 {
36902
36903 extern void testSigHandler(int);
36904
36905 struct sigaction sa;
36906 sa.sa_handler = testSigHandler;
36907
36908 ;
36909 return 0;
36910 }
36911 _ACEOF
36912 rm -f conftest.$ac_objext
36913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36914 (eval $ac_compile) 2>conftest.er1
36915 ac_status=$?
36916 grep -v '^ *+' conftest.er1 >conftest.err
36917 rm -f conftest.er1
36918 cat conftest.err >&5
36919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36920 (exit $ac_status); } &&
36921 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36923 (eval $ac_try) 2>&5
36924 ac_status=$?
36925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36926 (exit $ac_status); }; } &&
36927 { ac_try='test -s conftest.$ac_objext'
36928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36929 (eval $ac_try) 2>&5
36930 ac_status=$?
36931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36932 (exit $ac_status); }; }; then
36933
36934 wx_cv_type_sa_handler=int
36935
36936 else
36937 echo "$as_me: failed program was:" >&5
36938 sed 's/^/| /' conftest.$ac_ext >&5
36939
36940
36941 wx_cv_type_sa_handler=void
36942
36943 fi
36944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36945
36946 fi
36947 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36948 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
36949
36950 cat >>confdefs.h <<_ACEOF
36951 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36952 _ACEOF
36953
36954 fi
36955 fi
36956
36957 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36958 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36959 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
36960 if test "${wx_cv_func_backtrace+set}" = set; then
36961 echo $ECHO_N "(cached) $ECHO_C" >&6
36962 else
36963
36964 cat >conftest.$ac_ext <<_ACEOF
36965 /* confdefs.h. */
36966 _ACEOF
36967 cat confdefs.h >>conftest.$ac_ext
36968 cat >>conftest.$ac_ext <<_ACEOF
36969 /* end confdefs.h. */
36970 #include <execinfo.h>
36971 int
36972 main ()
36973 {
36974
36975 void *trace[1];
36976 char **messages;
36977
36978 backtrace(trace, 1);
36979 messages = backtrace_symbols(trace, 1);
36980
36981 ;
36982 return 0;
36983 }
36984 _ACEOF
36985 rm -f conftest.$ac_objext
36986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36987 (eval $ac_compile) 2>conftest.er1
36988 ac_status=$?
36989 grep -v '^ *+' conftest.er1 >conftest.err
36990 rm -f conftest.er1
36991 cat conftest.err >&5
36992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36993 (exit $ac_status); } &&
36994 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36996 (eval $ac_try) 2>&5
36997 ac_status=$?
36998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36999 (exit $ac_status); }; } &&
37000 { ac_try='test -s conftest.$ac_objext'
37001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37002 (eval $ac_try) 2>&5
37003 ac_status=$?
37004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37005 (exit $ac_status); }; }; then
37006 wx_cv_func_backtrace=yes
37007 else
37008 echo "$as_me: failed program was:" >&5
37009 sed 's/^/| /' conftest.$ac_ext >&5
37010
37011 wx_cv_func_backtrace=no
37012
37013 fi
37014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37015
37016
37017 fi
37018 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37019 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
37020
37021
37022 if test "$wx_cv_func_backtrace" = "no"; then
37023 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37024 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37025 wxUSE_STACKWALKER=no
37026 else
37027 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37028 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
37029 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37030 echo $ECHO_N "(cached) $ECHO_C" >&6
37031 else
37032
37033 cat >conftest.$ac_ext <<_ACEOF
37034 /* confdefs.h. */
37035 _ACEOF
37036 cat confdefs.h >>conftest.$ac_ext
37037 cat >>conftest.$ac_ext <<_ACEOF
37038 /* end confdefs.h. */
37039 #include <cxxabi.h>
37040 int
37041 main ()
37042 {
37043
37044 int rc;
37045 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37046
37047 ;
37048 return 0;
37049 }
37050 _ACEOF
37051 rm -f conftest.$ac_objext conftest$ac_exeext
37052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37053 (eval $ac_link) 2>conftest.er1
37054 ac_status=$?
37055 grep -v '^ *+' conftest.er1 >conftest.err
37056 rm -f conftest.er1
37057 cat conftest.err >&5
37058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37059 (exit $ac_status); } &&
37060 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37062 (eval $ac_try) 2>&5
37063 ac_status=$?
37064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37065 (exit $ac_status); }; } &&
37066 { ac_try='test -s conftest$ac_exeext'
37067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37068 (eval $ac_try) 2>&5
37069 ac_status=$?
37070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37071 (exit $ac_status); }; }; then
37072 wx_cv_func_cxa_demangle=yes
37073 else
37074 echo "$as_me: failed program was:" >&5
37075 sed 's/^/| /' conftest.$ac_ext >&5
37076
37077 wx_cv_func_cxa_demangle=no
37078
37079 fi
37080 rm -f conftest.err conftest.$ac_objext \
37081 conftest$ac_exeext conftest.$ac_ext
37082
37083
37084 fi
37085 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37086 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
37087
37088 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37089 cat >>confdefs.h <<\_ACEOF
37090 #define HAVE_CXA_DEMANGLE 1
37091 _ACEOF
37092
37093 fi
37094 fi
37095 fi
37096
37097 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
37098 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37099 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37100 wxUSE_STACKWALKER=no
37101 fi
37102
37103
37104
37105
37106 for ac_func in mkstemp mktemp
37107 do
37108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37109 echo "$as_me:$LINENO: checking for $ac_func" >&5
37110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37111 if eval "test \"\${$as_ac_var+set}\" = set"; then
37112 echo $ECHO_N "(cached) $ECHO_C" >&6
37113 else
37114 cat >conftest.$ac_ext <<_ACEOF
37115 /* confdefs.h. */
37116 _ACEOF
37117 cat confdefs.h >>conftest.$ac_ext
37118 cat >>conftest.$ac_ext <<_ACEOF
37119 /* end confdefs.h. */
37120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37122 #define $ac_func innocuous_$ac_func
37123
37124 /* System header to define __stub macros and hopefully few prototypes,
37125 which can conflict with char $ac_func (); below.
37126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37127 <limits.h> exists even on freestanding compilers. */
37128
37129 #ifdef __STDC__
37130 # include <limits.h>
37131 #else
37132 # include <assert.h>
37133 #endif
37134
37135 #undef $ac_func
37136
37137 /* Override any gcc2 internal prototype to avoid an error. */
37138 #ifdef __cplusplus
37139 extern "C"
37140 {
37141 #endif
37142 /* We use char because int might match the return type of a gcc2
37143 builtin and then its argument prototype would still apply. */
37144 char $ac_func ();
37145 /* The GNU C library defines this for functions which it implements
37146 to always fail with ENOSYS. Some functions are actually named
37147 something starting with __ and the normal name is an alias. */
37148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37149 choke me
37150 #else
37151 char (*f) () = $ac_func;
37152 #endif
37153 #ifdef __cplusplus
37154 }
37155 #endif
37156
37157 int
37158 main ()
37159 {
37160 return f != $ac_func;
37161 ;
37162 return 0;
37163 }
37164 _ACEOF
37165 rm -f conftest.$ac_objext conftest$ac_exeext
37166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37167 (eval $ac_link) 2>conftest.er1
37168 ac_status=$?
37169 grep -v '^ *+' conftest.er1 >conftest.err
37170 rm -f conftest.er1
37171 cat conftest.err >&5
37172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37173 (exit $ac_status); } &&
37174 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37176 (eval $ac_try) 2>&5
37177 ac_status=$?
37178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37179 (exit $ac_status); }; } &&
37180 { ac_try='test -s conftest$ac_exeext'
37181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37182 (eval $ac_try) 2>&5
37183 ac_status=$?
37184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37185 (exit $ac_status); }; }; then
37186 eval "$as_ac_var=yes"
37187 else
37188 echo "$as_me: failed program was:" >&5
37189 sed 's/^/| /' conftest.$ac_ext >&5
37190
37191 eval "$as_ac_var=no"
37192 fi
37193 rm -f conftest.err conftest.$ac_objext \
37194 conftest$ac_exeext conftest.$ac_ext
37195 fi
37196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37198 if test `eval echo '${'$as_ac_var'}'` = yes; then
37199 cat >>confdefs.h <<_ACEOF
37200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37201 _ACEOF
37202 break
37203 fi
37204 done
37205
37206
37207 echo "$as_me:$LINENO: checking for statfs" >&5
37208 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
37209 if test "${wx_cv_func_statfs+set}" = set; then
37210 echo $ECHO_N "(cached) $ECHO_C" >&6
37211 else
37212 cat >conftest.$ac_ext <<_ACEOF
37213 /* confdefs.h. */
37214 _ACEOF
37215 cat confdefs.h >>conftest.$ac_ext
37216 cat >>conftest.$ac_ext <<_ACEOF
37217 /* end confdefs.h. */
37218
37219 #if defined(__BSD__)
37220 #include <sys/param.h>
37221 #include <sys/mount.h>
37222 #else
37223 #include <sys/vfs.h>
37224 #endif
37225
37226 int
37227 main ()
37228 {
37229
37230 long l;
37231 struct statfs fs;
37232 statfs("/", &fs);
37233 l = fs.f_bsize;
37234 l += fs.f_blocks;
37235 l += fs.f_bavail;
37236
37237 ;
37238 return 0;
37239 }
37240 _ACEOF
37241 rm -f conftest.$ac_objext
37242 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37243 (eval $ac_compile) 2>conftest.er1
37244 ac_status=$?
37245 grep -v '^ *+' conftest.er1 >conftest.err
37246 rm -f conftest.er1
37247 cat conftest.err >&5
37248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37249 (exit $ac_status); } &&
37250 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37252 (eval $ac_try) 2>&5
37253 ac_status=$?
37254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37255 (exit $ac_status); }; } &&
37256 { ac_try='test -s conftest.$ac_objext'
37257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37258 (eval $ac_try) 2>&5
37259 ac_status=$?
37260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37261 (exit $ac_status); }; }; then
37262 wx_cv_func_statfs=yes
37263 else
37264 echo "$as_me: failed program was:" >&5
37265 sed 's/^/| /' conftest.$ac_ext >&5
37266
37267 wx_cv_func_statfs=no
37268
37269 fi
37270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37271
37272 fi
37273 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37274 echo "${ECHO_T}$wx_cv_func_statfs" >&6
37275
37276 if test "$wx_cv_func_statfs" = "yes"; then
37277 echo "$as_me:$LINENO: checking for statfs declaration" >&5
37278 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
37279 if test "${wx_cv_func_statfs_decl+set}" = set; then
37280 echo $ECHO_N "(cached) $ECHO_C" >&6
37281 else
37282 cat >conftest.$ac_ext <<_ACEOF
37283 /* confdefs.h. */
37284 _ACEOF
37285 cat confdefs.h >>conftest.$ac_ext
37286 cat >>conftest.$ac_ext <<_ACEOF
37287 /* end confdefs.h. */
37288
37289 #if defined(__BSD__)
37290 #include <sys/param.h>
37291 #include <sys/mount.h>
37292 #else
37293 #include <sys/vfs.h>
37294 #endif
37295
37296 int
37297 main ()
37298 {
37299
37300 struct statfs fs;
37301 statfs("", &fs);
37302
37303 ;
37304 return 0;
37305 }
37306 _ACEOF
37307 rm -f conftest.$ac_objext
37308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37309 (eval $ac_compile) 2>conftest.er1
37310 ac_status=$?
37311 grep -v '^ *+' conftest.er1 >conftest.err
37312 rm -f conftest.er1
37313 cat conftest.err >&5
37314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37315 (exit $ac_status); } &&
37316 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37318 (eval $ac_try) 2>&5
37319 ac_status=$?
37320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37321 (exit $ac_status); }; } &&
37322 { ac_try='test -s conftest.$ac_objext'
37323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37324 (eval $ac_try) 2>&5
37325 ac_status=$?
37326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37327 (exit $ac_status); }; }; then
37328 wx_cv_func_statfs_decl=yes
37329 else
37330 echo "$as_me: failed program was:" >&5
37331 sed 's/^/| /' conftest.$ac_ext >&5
37332
37333 wx_cv_func_statfs_decl=no
37334
37335 fi
37336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37337
37338 fi
37339 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37340 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
37341
37342 if test "$wx_cv_func_statfs_decl" = "yes"; then
37343 cat >>confdefs.h <<\_ACEOF
37344 #define HAVE_STATFS_DECL 1
37345 _ACEOF
37346
37347 fi
37348
37349 wx_cv_type_statvfs_t="struct statfs"
37350 cat >>confdefs.h <<\_ACEOF
37351 #define HAVE_STATFS 1
37352 _ACEOF
37353
37354 else
37355 echo "$as_me:$LINENO: checking for statvfs" >&5
37356 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
37357 if test "${wx_cv_func_statvfs+set}" = set; then
37358 echo $ECHO_N "(cached) $ECHO_C" >&6
37359 else
37360 cat >conftest.$ac_ext <<_ACEOF
37361 /* confdefs.h. */
37362 _ACEOF
37363 cat confdefs.h >>conftest.$ac_ext
37364 cat >>conftest.$ac_ext <<_ACEOF
37365 /* end confdefs.h. */
37366
37367 #include <stddef.h>
37368 #include <sys/statvfs.h>
37369
37370 int
37371 main ()
37372 {
37373
37374 statvfs("/", NULL);
37375
37376 ;
37377 return 0;
37378 }
37379 _ACEOF
37380 rm -f conftest.$ac_objext
37381 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37382 (eval $ac_compile) 2>conftest.er1
37383 ac_status=$?
37384 grep -v '^ *+' conftest.er1 >conftest.err
37385 rm -f conftest.er1
37386 cat conftest.err >&5
37387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37388 (exit $ac_status); } &&
37389 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37391 (eval $ac_try) 2>&5
37392 ac_status=$?
37393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37394 (exit $ac_status); }; } &&
37395 { ac_try='test -s conftest.$ac_objext'
37396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37397 (eval $ac_try) 2>&5
37398 ac_status=$?
37399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37400 (exit $ac_status); }; }; then
37401 wx_cv_func_statvfs=yes
37402 else
37403 echo "$as_me: failed program was:" >&5
37404 sed 's/^/| /' conftest.$ac_ext >&5
37405
37406 wx_cv_func_statvfs=no
37407
37408 fi
37409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37410
37411 fi
37412 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37413 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
37414
37415 if test "$wx_cv_func_statvfs" = "yes"; then
37416 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37417 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
37418 if test "${wx_cv_type_statvfs_t+set}" = set; then
37419 echo $ECHO_N "(cached) $ECHO_C" >&6
37420 else
37421 cat >conftest.$ac_ext <<_ACEOF
37422 /* confdefs.h. */
37423 _ACEOF
37424 cat confdefs.h >>conftest.$ac_ext
37425 cat >>conftest.$ac_ext <<_ACEOF
37426 /* end confdefs.h. */
37427
37428 #include <sys/statvfs.h>
37429
37430 int
37431 main ()
37432 {
37433
37434 long l;
37435 statvfs_t fs;
37436 statvfs("/", &fs);
37437 l = fs.f_bsize;
37438 l += fs.f_blocks;
37439 l += fs.f_bavail;
37440
37441 ;
37442 return 0;
37443 }
37444 _ACEOF
37445 rm -f conftest.$ac_objext
37446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37447 (eval $ac_compile) 2>conftest.er1
37448 ac_status=$?
37449 grep -v '^ *+' conftest.er1 >conftest.err
37450 rm -f conftest.er1
37451 cat conftest.err >&5
37452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37453 (exit $ac_status); } &&
37454 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37456 (eval $ac_try) 2>&5
37457 ac_status=$?
37458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37459 (exit $ac_status); }; } &&
37460 { ac_try='test -s conftest.$ac_objext'
37461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37462 (eval $ac_try) 2>&5
37463 ac_status=$?
37464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37465 (exit $ac_status); }; }; then
37466 wx_cv_type_statvfs_t=statvfs_t
37467 else
37468 echo "$as_me: failed program was:" >&5
37469 sed 's/^/| /' conftest.$ac_ext >&5
37470
37471
37472 cat >conftest.$ac_ext <<_ACEOF
37473 /* confdefs.h. */
37474 _ACEOF
37475 cat confdefs.h >>conftest.$ac_ext
37476 cat >>conftest.$ac_ext <<_ACEOF
37477 /* end confdefs.h. */
37478
37479 #include <sys/statvfs.h>
37480
37481 int
37482 main ()
37483 {
37484
37485 long l;
37486 struct statvfs fs;
37487 statvfs("/", &fs);
37488 l = fs.f_bsize;
37489 l += fs.f_blocks;
37490 l += fs.f_bavail;
37491
37492 ;
37493 return 0;
37494 }
37495 _ACEOF
37496 rm -f conftest.$ac_objext
37497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37498 (eval $ac_compile) 2>conftest.er1
37499 ac_status=$?
37500 grep -v '^ *+' conftest.er1 >conftest.err
37501 rm -f conftest.er1
37502 cat conftest.err >&5
37503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37504 (exit $ac_status); } &&
37505 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37507 (eval $ac_try) 2>&5
37508 ac_status=$?
37509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37510 (exit $ac_status); }; } &&
37511 { ac_try='test -s conftest.$ac_objext'
37512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37513 (eval $ac_try) 2>&5
37514 ac_status=$?
37515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37516 (exit $ac_status); }; }; then
37517 wx_cv_type_statvfs_t="struct statvfs"
37518 else
37519 echo "$as_me: failed program was:" >&5
37520 sed 's/^/| /' conftest.$ac_ext >&5
37521
37522 wx_cv_type_statvfs_t="unknown"
37523
37524 fi
37525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37526
37527
37528 fi
37529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37530
37531 fi
37532 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37533 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
37534
37535 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37536 cat >>confdefs.h <<\_ACEOF
37537 #define HAVE_STATVFS 1
37538 _ACEOF
37539
37540 fi
37541 else
37542 wx_cv_type_statvfs_t="unknown"
37543 fi
37544 fi
37545
37546 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37547 cat >>confdefs.h <<_ACEOF
37548 #define WX_STATFS_T $wx_cv_type_statvfs_t
37549 _ACEOF
37550
37551 else
37552 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37553 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37554 fi
37555
37556 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37557
37558
37559 for ac_func in fcntl flock
37560 do
37561 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37562 echo "$as_me:$LINENO: checking for $ac_func" >&5
37563 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37564 if eval "test \"\${$as_ac_var+set}\" = set"; then
37565 echo $ECHO_N "(cached) $ECHO_C" >&6
37566 else
37567 cat >conftest.$ac_ext <<_ACEOF
37568 /* confdefs.h. */
37569 _ACEOF
37570 cat confdefs.h >>conftest.$ac_ext
37571 cat >>conftest.$ac_ext <<_ACEOF
37572 /* end confdefs.h. */
37573 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37574 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37575 #define $ac_func innocuous_$ac_func
37576
37577 /* System header to define __stub macros and hopefully few prototypes,
37578 which can conflict with char $ac_func (); below.
37579 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37580 <limits.h> exists even on freestanding compilers. */
37581
37582 #ifdef __STDC__
37583 # include <limits.h>
37584 #else
37585 # include <assert.h>
37586 #endif
37587
37588 #undef $ac_func
37589
37590 /* Override any gcc2 internal prototype to avoid an error. */
37591 #ifdef __cplusplus
37592 extern "C"
37593 {
37594 #endif
37595 /* We use char because int might match the return type of a gcc2
37596 builtin and then its argument prototype would still apply. */
37597 char $ac_func ();
37598 /* The GNU C library defines this for functions which it implements
37599 to always fail with ENOSYS. Some functions are actually named
37600 something starting with __ and the normal name is an alias. */
37601 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37602 choke me
37603 #else
37604 char (*f) () = $ac_func;
37605 #endif
37606 #ifdef __cplusplus
37607 }
37608 #endif
37609
37610 int
37611 main ()
37612 {
37613 return f != $ac_func;
37614 ;
37615 return 0;
37616 }
37617 _ACEOF
37618 rm -f conftest.$ac_objext conftest$ac_exeext
37619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37620 (eval $ac_link) 2>conftest.er1
37621 ac_status=$?
37622 grep -v '^ *+' conftest.er1 >conftest.err
37623 rm -f conftest.er1
37624 cat conftest.err >&5
37625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37626 (exit $ac_status); } &&
37627 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37629 (eval $ac_try) 2>&5
37630 ac_status=$?
37631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37632 (exit $ac_status); }; } &&
37633 { ac_try='test -s conftest$ac_exeext'
37634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37635 (eval $ac_try) 2>&5
37636 ac_status=$?
37637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37638 (exit $ac_status); }; }; then
37639 eval "$as_ac_var=yes"
37640 else
37641 echo "$as_me: failed program was:" >&5
37642 sed 's/^/| /' conftest.$ac_ext >&5
37643
37644 eval "$as_ac_var=no"
37645 fi
37646 rm -f conftest.err conftest.$ac_objext \
37647 conftest$ac_exeext conftest.$ac_ext
37648 fi
37649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37650 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37651 if test `eval echo '${'$as_ac_var'}'` = yes; then
37652 cat >>confdefs.h <<_ACEOF
37653 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37654 _ACEOF
37655 break
37656 fi
37657 done
37658
37659
37660 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37661 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37662 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37663 wxUSE_SNGLINST_CHECKER=no
37664 fi
37665 fi
37666
37667
37668 for ac_func in timegm
37669 do
37670 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37671 echo "$as_me:$LINENO: checking for $ac_func" >&5
37672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37673 if eval "test \"\${$as_ac_var+set}\" = set"; then
37674 echo $ECHO_N "(cached) $ECHO_C" >&6
37675 else
37676 cat >conftest.$ac_ext <<_ACEOF
37677 /* confdefs.h. */
37678 _ACEOF
37679 cat confdefs.h >>conftest.$ac_ext
37680 cat >>conftest.$ac_ext <<_ACEOF
37681 /* end confdefs.h. */
37682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37684 #define $ac_func innocuous_$ac_func
37685
37686 /* System header to define __stub macros and hopefully few prototypes,
37687 which can conflict with char $ac_func (); below.
37688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37689 <limits.h> exists even on freestanding compilers. */
37690
37691 #ifdef __STDC__
37692 # include <limits.h>
37693 #else
37694 # include <assert.h>
37695 #endif
37696
37697 #undef $ac_func
37698
37699 /* Override any gcc2 internal prototype to avoid an error. */
37700 #ifdef __cplusplus
37701 extern "C"
37702 {
37703 #endif
37704 /* We use char because int might match the return type of a gcc2
37705 builtin and then its argument prototype would still apply. */
37706 char $ac_func ();
37707 /* The GNU C library defines this for functions which it implements
37708 to always fail with ENOSYS. Some functions are actually named
37709 something starting with __ and the normal name is an alias. */
37710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37711 choke me
37712 #else
37713 char (*f) () = $ac_func;
37714 #endif
37715 #ifdef __cplusplus
37716 }
37717 #endif
37718
37719 int
37720 main ()
37721 {
37722 return f != $ac_func;
37723 ;
37724 return 0;
37725 }
37726 _ACEOF
37727 rm -f conftest.$ac_objext conftest$ac_exeext
37728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37729 (eval $ac_link) 2>conftest.er1
37730 ac_status=$?
37731 grep -v '^ *+' conftest.er1 >conftest.err
37732 rm -f conftest.er1
37733 cat conftest.err >&5
37734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37735 (exit $ac_status); } &&
37736 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37738 (eval $ac_try) 2>&5
37739 ac_status=$?
37740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37741 (exit $ac_status); }; } &&
37742 { ac_try='test -s conftest$ac_exeext'
37743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37744 (eval $ac_try) 2>&5
37745 ac_status=$?
37746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37747 (exit $ac_status); }; }; then
37748 eval "$as_ac_var=yes"
37749 else
37750 echo "$as_me: failed program was:" >&5
37751 sed 's/^/| /' conftest.$ac_ext >&5
37752
37753 eval "$as_ac_var=no"
37754 fi
37755 rm -f conftest.err conftest.$ac_objext \
37756 conftest$ac_exeext conftest.$ac_ext
37757 fi
37758 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37759 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37760 if test `eval echo '${'$as_ac_var'}'` = yes; then
37761 cat >>confdefs.h <<_ACEOF
37762 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37763 _ACEOF
37764
37765 fi
37766 done
37767
37768
37769
37770
37771 for ac_func in putenv setenv
37772 do
37773 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37774 echo "$as_me:$LINENO: checking for $ac_func" >&5
37775 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37776 if eval "test \"\${$as_ac_var+set}\" = set"; then
37777 echo $ECHO_N "(cached) $ECHO_C" >&6
37778 else
37779 cat >conftest.$ac_ext <<_ACEOF
37780 /* confdefs.h. */
37781 _ACEOF
37782 cat confdefs.h >>conftest.$ac_ext
37783 cat >>conftest.$ac_ext <<_ACEOF
37784 /* end confdefs.h. */
37785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37787 #define $ac_func innocuous_$ac_func
37788
37789 /* System header to define __stub macros and hopefully few prototypes,
37790 which can conflict with char $ac_func (); below.
37791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37792 <limits.h> exists even on freestanding compilers. */
37793
37794 #ifdef __STDC__
37795 # include <limits.h>
37796 #else
37797 # include <assert.h>
37798 #endif
37799
37800 #undef $ac_func
37801
37802 /* Override any gcc2 internal prototype to avoid an error. */
37803 #ifdef __cplusplus
37804 extern "C"
37805 {
37806 #endif
37807 /* We use char because int might match the return type of a gcc2
37808 builtin and then its argument prototype would still apply. */
37809 char $ac_func ();
37810 /* The GNU C library defines this for functions which it implements
37811 to always fail with ENOSYS. Some functions are actually named
37812 something starting with __ and the normal name is an alias. */
37813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37814 choke me
37815 #else
37816 char (*f) () = $ac_func;
37817 #endif
37818 #ifdef __cplusplus
37819 }
37820 #endif
37821
37822 int
37823 main ()
37824 {
37825 return f != $ac_func;
37826 ;
37827 return 0;
37828 }
37829 _ACEOF
37830 rm -f conftest.$ac_objext conftest$ac_exeext
37831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37832 (eval $ac_link) 2>conftest.er1
37833 ac_status=$?
37834 grep -v '^ *+' conftest.er1 >conftest.err
37835 rm -f conftest.er1
37836 cat conftest.err >&5
37837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37838 (exit $ac_status); } &&
37839 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37841 (eval $ac_try) 2>&5
37842 ac_status=$?
37843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37844 (exit $ac_status); }; } &&
37845 { ac_try='test -s conftest$ac_exeext'
37846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37847 (eval $ac_try) 2>&5
37848 ac_status=$?
37849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37850 (exit $ac_status); }; }; then
37851 eval "$as_ac_var=yes"
37852 else
37853 echo "$as_me: failed program was:" >&5
37854 sed 's/^/| /' conftest.$ac_ext >&5
37855
37856 eval "$as_ac_var=no"
37857 fi
37858 rm -f conftest.err conftest.$ac_objext \
37859 conftest$ac_exeext conftest.$ac_ext
37860 fi
37861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37863 if test `eval echo '${'$as_ac_var'}'` = yes; then
37864 cat >>confdefs.h <<_ACEOF
37865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37866 _ACEOF
37867 break
37868 fi
37869 done
37870
37871
37872 HAVE_SOME_SLEEP_FUNC=0
37873 if test "$USE_BEOS" = 1; then
37874 cat >>confdefs.h <<\_ACEOF
37875 #define HAVE_SLEEP 1
37876 _ACEOF
37877
37878 HAVE_SOME_SLEEP_FUNC=1
37879 fi
37880
37881 if test "$USE_DARWIN" = 1; then
37882 cat >>confdefs.h <<\_ACEOF
37883 #define HAVE_USLEEP 1
37884 _ACEOF
37885
37886 HAVE_SOME_SLEEP_FUNC=1
37887 fi
37888
37889 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37890 POSIX4_LINK=
37891
37892 for ac_func in nanosleep
37893 do
37894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37895 echo "$as_me:$LINENO: checking for $ac_func" >&5
37896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37897 if eval "test \"\${$as_ac_var+set}\" = set"; then
37898 echo $ECHO_N "(cached) $ECHO_C" >&6
37899 else
37900 cat >conftest.$ac_ext <<_ACEOF
37901 /* confdefs.h. */
37902 _ACEOF
37903 cat confdefs.h >>conftest.$ac_ext
37904 cat >>conftest.$ac_ext <<_ACEOF
37905 /* end confdefs.h. */
37906 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37907 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37908 #define $ac_func innocuous_$ac_func
37909
37910 /* System header to define __stub macros and hopefully few prototypes,
37911 which can conflict with char $ac_func (); below.
37912 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37913 <limits.h> exists even on freestanding compilers. */
37914
37915 #ifdef __STDC__
37916 # include <limits.h>
37917 #else
37918 # include <assert.h>
37919 #endif
37920
37921 #undef $ac_func
37922
37923 /* Override any gcc2 internal prototype to avoid an error. */
37924 #ifdef __cplusplus
37925 extern "C"
37926 {
37927 #endif
37928 /* We use char because int might match the return type of a gcc2
37929 builtin and then its argument prototype would still apply. */
37930 char $ac_func ();
37931 /* The GNU C library defines this for functions which it implements
37932 to always fail with ENOSYS. Some functions are actually named
37933 something starting with __ and the normal name is an alias. */
37934 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37935 choke me
37936 #else
37937 char (*f) () = $ac_func;
37938 #endif
37939 #ifdef __cplusplus
37940 }
37941 #endif
37942
37943 int
37944 main ()
37945 {
37946 return f != $ac_func;
37947 ;
37948 return 0;
37949 }
37950 _ACEOF
37951 rm -f conftest.$ac_objext conftest$ac_exeext
37952 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37953 (eval $ac_link) 2>conftest.er1
37954 ac_status=$?
37955 grep -v '^ *+' conftest.er1 >conftest.err
37956 rm -f conftest.er1
37957 cat conftest.err >&5
37958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37959 (exit $ac_status); } &&
37960 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37962 (eval $ac_try) 2>&5
37963 ac_status=$?
37964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37965 (exit $ac_status); }; } &&
37966 { ac_try='test -s conftest$ac_exeext'
37967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37968 (eval $ac_try) 2>&5
37969 ac_status=$?
37970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37971 (exit $ac_status); }; }; then
37972 eval "$as_ac_var=yes"
37973 else
37974 echo "$as_me: failed program was:" >&5
37975 sed 's/^/| /' conftest.$ac_ext >&5
37976
37977 eval "$as_ac_var=no"
37978 fi
37979 rm -f conftest.err conftest.$ac_objext \
37980 conftest$ac_exeext conftest.$ac_ext
37981 fi
37982 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37983 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37984 if test `eval echo '${'$as_ac_var'}'` = yes; then
37985 cat >>confdefs.h <<_ACEOF
37986 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37987 _ACEOF
37988 cat >>confdefs.h <<\_ACEOF
37989 #define HAVE_NANOSLEEP 1
37990 _ACEOF
37991
37992 else
37993
37994 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37995 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
37996 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37997 echo $ECHO_N "(cached) $ECHO_C" >&6
37998 else
37999 ac_check_lib_save_LIBS=$LIBS
38000 LIBS="-lposix4 $LIBS"
38001 cat >conftest.$ac_ext <<_ACEOF
38002 /* confdefs.h. */
38003 _ACEOF
38004 cat confdefs.h >>conftest.$ac_ext
38005 cat >>conftest.$ac_ext <<_ACEOF
38006 /* end confdefs.h. */
38007
38008 /* Override any gcc2 internal prototype to avoid an error. */
38009 #ifdef __cplusplus
38010 extern "C"
38011 #endif
38012 /* We use char because int might match the return type of a gcc2
38013 builtin and then its argument prototype would still apply. */
38014 char nanosleep ();
38015 int
38016 main ()
38017 {
38018 nanosleep ();
38019 ;
38020 return 0;
38021 }
38022 _ACEOF
38023 rm -f conftest.$ac_objext conftest$ac_exeext
38024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38025 (eval $ac_link) 2>conftest.er1
38026 ac_status=$?
38027 grep -v '^ *+' conftest.er1 >conftest.err
38028 rm -f conftest.er1
38029 cat conftest.err >&5
38030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38031 (exit $ac_status); } &&
38032 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38034 (eval $ac_try) 2>&5
38035 ac_status=$?
38036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38037 (exit $ac_status); }; } &&
38038 { ac_try='test -s conftest$ac_exeext'
38039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38040 (eval $ac_try) 2>&5
38041 ac_status=$?
38042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38043 (exit $ac_status); }; }; then
38044 ac_cv_lib_posix4_nanosleep=yes
38045 else
38046 echo "$as_me: failed program was:" >&5
38047 sed 's/^/| /' conftest.$ac_ext >&5
38048
38049 ac_cv_lib_posix4_nanosleep=no
38050 fi
38051 rm -f conftest.err conftest.$ac_objext \
38052 conftest$ac_exeext conftest.$ac_ext
38053 LIBS=$ac_check_lib_save_LIBS
38054 fi
38055 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38056 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
38057 if test $ac_cv_lib_posix4_nanosleep = yes; then
38058
38059 cat >>confdefs.h <<\_ACEOF
38060 #define HAVE_NANOSLEEP 1
38061 _ACEOF
38062
38063 POSIX4_LINK=" -lposix4"
38064
38065 else
38066
38067
38068 for ac_func in usleep
38069 do
38070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38071 echo "$as_me:$LINENO: checking for $ac_func" >&5
38072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38073 if eval "test \"\${$as_ac_var+set}\" = set"; then
38074 echo $ECHO_N "(cached) $ECHO_C" >&6
38075 else
38076 cat >conftest.$ac_ext <<_ACEOF
38077 /* confdefs.h. */
38078 _ACEOF
38079 cat confdefs.h >>conftest.$ac_ext
38080 cat >>conftest.$ac_ext <<_ACEOF
38081 /* end confdefs.h. */
38082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38084 #define $ac_func innocuous_$ac_func
38085
38086 /* System header to define __stub macros and hopefully few prototypes,
38087 which can conflict with char $ac_func (); below.
38088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38089 <limits.h> exists even on freestanding compilers. */
38090
38091 #ifdef __STDC__
38092 # include <limits.h>
38093 #else
38094 # include <assert.h>
38095 #endif
38096
38097 #undef $ac_func
38098
38099 /* Override any gcc2 internal prototype to avoid an error. */
38100 #ifdef __cplusplus
38101 extern "C"
38102 {
38103 #endif
38104 /* We use char because int might match the return type of a gcc2
38105 builtin and then its argument prototype would still apply. */
38106 char $ac_func ();
38107 /* The GNU C library defines this for functions which it implements
38108 to always fail with ENOSYS. Some functions are actually named
38109 something starting with __ and the normal name is an alias. */
38110 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38111 choke me
38112 #else
38113 char (*f) () = $ac_func;
38114 #endif
38115 #ifdef __cplusplus
38116 }
38117 #endif
38118
38119 int
38120 main ()
38121 {
38122 return f != $ac_func;
38123 ;
38124 return 0;
38125 }
38126 _ACEOF
38127 rm -f conftest.$ac_objext conftest$ac_exeext
38128 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38129 (eval $ac_link) 2>conftest.er1
38130 ac_status=$?
38131 grep -v '^ *+' conftest.er1 >conftest.err
38132 rm -f conftest.er1
38133 cat conftest.err >&5
38134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38135 (exit $ac_status); } &&
38136 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38138 (eval $ac_try) 2>&5
38139 ac_status=$?
38140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38141 (exit $ac_status); }; } &&
38142 { ac_try='test -s conftest$ac_exeext'
38143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38144 (eval $ac_try) 2>&5
38145 ac_status=$?
38146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38147 (exit $ac_status); }; }; then
38148 eval "$as_ac_var=yes"
38149 else
38150 echo "$as_me: failed program was:" >&5
38151 sed 's/^/| /' conftest.$ac_ext >&5
38152
38153 eval "$as_ac_var=no"
38154 fi
38155 rm -f conftest.err conftest.$ac_objext \
38156 conftest$ac_exeext conftest.$ac_ext
38157 fi
38158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38160 if test `eval echo '${'$as_ac_var'}'` = yes; then
38161 cat >>confdefs.h <<_ACEOF
38162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38163 _ACEOF
38164 cat >>confdefs.h <<\_ACEOF
38165 #define HAVE_USLEEP 1
38166 _ACEOF
38167
38168 else
38169 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38170 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38171
38172 fi
38173 done
38174
38175
38176
38177 fi
38178
38179
38180
38181 fi
38182 done
38183
38184 fi
38185
38186
38187
38188 for ac_func in uname gethostname
38189 do
38190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38191 echo "$as_me:$LINENO: checking for $ac_func" >&5
38192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38193 if eval "test \"\${$as_ac_var+set}\" = set"; then
38194 echo $ECHO_N "(cached) $ECHO_C" >&6
38195 else
38196 cat >conftest.$ac_ext <<_ACEOF
38197 /* confdefs.h. */
38198 _ACEOF
38199 cat confdefs.h >>conftest.$ac_ext
38200 cat >>conftest.$ac_ext <<_ACEOF
38201 /* end confdefs.h. */
38202 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38203 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38204 #define $ac_func innocuous_$ac_func
38205
38206 /* System header to define __stub macros and hopefully few prototypes,
38207 which can conflict with char $ac_func (); below.
38208 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38209 <limits.h> exists even on freestanding compilers. */
38210
38211 #ifdef __STDC__
38212 # include <limits.h>
38213 #else
38214 # include <assert.h>
38215 #endif
38216
38217 #undef $ac_func
38218
38219 /* Override any gcc2 internal prototype to avoid an error. */
38220 #ifdef __cplusplus
38221 extern "C"
38222 {
38223 #endif
38224 /* We use char because int might match the return type of a gcc2
38225 builtin and then its argument prototype would still apply. */
38226 char $ac_func ();
38227 /* The GNU C library defines this for functions which it implements
38228 to always fail with ENOSYS. Some functions are actually named
38229 something starting with __ and the normal name is an alias. */
38230 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38231 choke me
38232 #else
38233 char (*f) () = $ac_func;
38234 #endif
38235 #ifdef __cplusplus
38236 }
38237 #endif
38238
38239 int
38240 main ()
38241 {
38242 return f != $ac_func;
38243 ;
38244 return 0;
38245 }
38246 _ACEOF
38247 rm -f conftest.$ac_objext conftest$ac_exeext
38248 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38249 (eval $ac_link) 2>conftest.er1
38250 ac_status=$?
38251 grep -v '^ *+' conftest.er1 >conftest.err
38252 rm -f conftest.er1
38253 cat conftest.err >&5
38254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38255 (exit $ac_status); } &&
38256 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38258 (eval $ac_try) 2>&5
38259 ac_status=$?
38260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38261 (exit $ac_status); }; } &&
38262 { ac_try='test -s conftest$ac_exeext'
38263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38264 (eval $ac_try) 2>&5
38265 ac_status=$?
38266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38267 (exit $ac_status); }; }; then
38268 eval "$as_ac_var=yes"
38269 else
38270 echo "$as_me: failed program was:" >&5
38271 sed 's/^/| /' conftest.$ac_ext >&5
38272
38273 eval "$as_ac_var=no"
38274 fi
38275 rm -f conftest.err conftest.$ac_objext \
38276 conftest$ac_exeext conftest.$ac_ext
38277 fi
38278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38280 if test `eval echo '${'$as_ac_var'}'` = yes; then
38281 cat >>confdefs.h <<_ACEOF
38282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38283 _ACEOF
38284 break
38285 fi
38286 done
38287
38288
38289
38290 for wx_func in strtok_r
38291 do
38292 echo "$as_me:$LINENO: checking for $wx_func" >&5
38293 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38294 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38295 echo $ECHO_N "(cached) $ECHO_C" >&6
38296 else
38297
38298 cat >conftest.$ac_ext <<_ACEOF
38299
38300 /* confdefs.h. */
38301 _ACEOF
38302 cat confdefs.h >>conftest.$ac_ext
38303 cat >>conftest.$ac_ext <<_ACEOF
38304 /* end confdefs.h. */
38305
38306 #define _REENTRANT
38307 $ac_includes_default
38308
38309 int
38310 main ()
38311 {
38312
38313 #ifndef $wx_func
38314 &$wx_func;
38315 #endif
38316
38317
38318 ;
38319 return 0;
38320 }
38321
38322 _ACEOF
38323 rm -f conftest.$ac_objext conftest$ac_exeext
38324 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38325 (eval $ac_link) 2>conftest.er1
38326 ac_status=$?
38327 grep -v '^ *+' conftest.er1 >conftest.err
38328 rm -f conftest.er1
38329 cat conftest.err >&5
38330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38331 (exit $ac_status); } &&
38332 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38334 (eval $ac_try) 2>&5
38335 ac_status=$?
38336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38337 (exit $ac_status); }; } &&
38338 { ac_try='test -s conftest$ac_exeext'
38339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38340 (eval $ac_try) 2>&5
38341 ac_status=$?
38342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38343 (exit $ac_status); }; }; then
38344 eval wx_cv_func_$wx_func=yes
38345 else
38346 echo "$as_me: failed program was:" >&5
38347 sed 's/^/| /' conftest.$ac_ext >&5
38348
38349 eval wx_cv_func_$wx_func=no
38350 fi
38351 rm -f conftest.err conftest.$ac_objext \
38352 conftest$ac_exeext conftest.$ac_ext
38353
38354 fi
38355 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38356 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38357
38358 if eval test \$wx_cv_func_$wx_func = yes
38359 then
38360 cat >>confdefs.h <<_ACEOF
38361 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38362 _ACEOF
38363
38364
38365 else
38366 :
38367
38368 fi
38369 done
38370
38371
38372 INET_LINK=
38373
38374 for ac_func in inet_addr
38375 do
38376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38377 echo "$as_me:$LINENO: checking for $ac_func" >&5
38378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38379 if eval "test \"\${$as_ac_var+set}\" = set"; then
38380 echo $ECHO_N "(cached) $ECHO_C" >&6
38381 else
38382 cat >conftest.$ac_ext <<_ACEOF
38383 /* confdefs.h. */
38384 _ACEOF
38385 cat confdefs.h >>conftest.$ac_ext
38386 cat >>conftest.$ac_ext <<_ACEOF
38387 /* end confdefs.h. */
38388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38390 #define $ac_func innocuous_$ac_func
38391
38392 /* System header to define __stub macros and hopefully few prototypes,
38393 which can conflict with char $ac_func (); below.
38394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38395 <limits.h> exists even on freestanding compilers. */
38396
38397 #ifdef __STDC__
38398 # include <limits.h>
38399 #else
38400 # include <assert.h>
38401 #endif
38402
38403 #undef $ac_func
38404
38405 /* Override any gcc2 internal prototype to avoid an error. */
38406 #ifdef __cplusplus
38407 extern "C"
38408 {
38409 #endif
38410 /* We use char because int might match the return type of a gcc2
38411 builtin and then its argument prototype would still apply. */
38412 char $ac_func ();
38413 /* The GNU C library defines this for functions which it implements
38414 to always fail with ENOSYS. Some functions are actually named
38415 something starting with __ and the normal name is an alias. */
38416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38417 choke me
38418 #else
38419 char (*f) () = $ac_func;
38420 #endif
38421 #ifdef __cplusplus
38422 }
38423 #endif
38424
38425 int
38426 main ()
38427 {
38428 return f != $ac_func;
38429 ;
38430 return 0;
38431 }
38432 _ACEOF
38433 rm -f conftest.$ac_objext conftest$ac_exeext
38434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38435 (eval $ac_link) 2>conftest.er1
38436 ac_status=$?
38437 grep -v '^ *+' conftest.er1 >conftest.err
38438 rm -f conftest.er1
38439 cat conftest.err >&5
38440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38441 (exit $ac_status); } &&
38442 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38444 (eval $ac_try) 2>&5
38445 ac_status=$?
38446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38447 (exit $ac_status); }; } &&
38448 { ac_try='test -s conftest$ac_exeext'
38449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38450 (eval $ac_try) 2>&5
38451 ac_status=$?
38452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38453 (exit $ac_status); }; }; then
38454 eval "$as_ac_var=yes"
38455 else
38456 echo "$as_me: failed program was:" >&5
38457 sed 's/^/| /' conftest.$ac_ext >&5
38458
38459 eval "$as_ac_var=no"
38460 fi
38461 rm -f conftest.err conftest.$ac_objext \
38462 conftest$ac_exeext conftest.$ac_ext
38463 fi
38464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38466 if test `eval echo '${'$as_ac_var'}'` = yes; then
38467 cat >>confdefs.h <<_ACEOF
38468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38469 _ACEOF
38470 cat >>confdefs.h <<\_ACEOF
38471 #define HAVE_INET_ADDR 1
38472 _ACEOF
38473
38474 else
38475
38476 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38477 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
38478 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38479 echo $ECHO_N "(cached) $ECHO_C" >&6
38480 else
38481 ac_check_lib_save_LIBS=$LIBS
38482 LIBS="-lnsl $LIBS"
38483 cat >conftest.$ac_ext <<_ACEOF
38484 /* confdefs.h. */
38485 _ACEOF
38486 cat confdefs.h >>conftest.$ac_ext
38487 cat >>conftest.$ac_ext <<_ACEOF
38488 /* end confdefs.h. */
38489
38490 /* Override any gcc2 internal prototype to avoid an error. */
38491 #ifdef __cplusplus
38492 extern "C"
38493 #endif
38494 /* We use char because int might match the return type of a gcc2
38495 builtin and then its argument prototype would still apply. */
38496 char inet_addr ();
38497 int
38498 main ()
38499 {
38500 inet_addr ();
38501 ;
38502 return 0;
38503 }
38504 _ACEOF
38505 rm -f conftest.$ac_objext conftest$ac_exeext
38506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38507 (eval $ac_link) 2>conftest.er1
38508 ac_status=$?
38509 grep -v '^ *+' conftest.er1 >conftest.err
38510 rm -f conftest.er1
38511 cat conftest.err >&5
38512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38513 (exit $ac_status); } &&
38514 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38516 (eval $ac_try) 2>&5
38517 ac_status=$?
38518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38519 (exit $ac_status); }; } &&
38520 { ac_try='test -s conftest$ac_exeext'
38521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38522 (eval $ac_try) 2>&5
38523 ac_status=$?
38524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38525 (exit $ac_status); }; }; then
38526 ac_cv_lib_nsl_inet_addr=yes
38527 else
38528 echo "$as_me: failed program was:" >&5
38529 sed 's/^/| /' conftest.$ac_ext >&5
38530
38531 ac_cv_lib_nsl_inet_addr=no
38532 fi
38533 rm -f conftest.err conftest.$ac_objext \
38534 conftest$ac_exeext conftest.$ac_ext
38535 LIBS=$ac_check_lib_save_LIBS
38536 fi
38537 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38538 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38539 if test $ac_cv_lib_nsl_inet_addr = yes; then
38540 INET_LINK="nsl"
38541 else
38542
38543 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38544 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38545 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38546 echo $ECHO_N "(cached) $ECHO_C" >&6
38547 else
38548 ac_check_lib_save_LIBS=$LIBS
38549 LIBS="-lresolv $LIBS"
38550 cat >conftest.$ac_ext <<_ACEOF
38551 /* confdefs.h. */
38552 _ACEOF
38553 cat confdefs.h >>conftest.$ac_ext
38554 cat >>conftest.$ac_ext <<_ACEOF
38555 /* end confdefs.h. */
38556
38557 /* Override any gcc2 internal prototype to avoid an error. */
38558 #ifdef __cplusplus
38559 extern "C"
38560 #endif
38561 /* We use char because int might match the return type of a gcc2
38562 builtin and then its argument prototype would still apply. */
38563 char inet_addr ();
38564 int
38565 main ()
38566 {
38567 inet_addr ();
38568 ;
38569 return 0;
38570 }
38571 _ACEOF
38572 rm -f conftest.$ac_objext conftest$ac_exeext
38573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38574 (eval $ac_link) 2>conftest.er1
38575 ac_status=$?
38576 grep -v '^ *+' conftest.er1 >conftest.err
38577 rm -f conftest.er1
38578 cat conftest.err >&5
38579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38580 (exit $ac_status); } &&
38581 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38583 (eval $ac_try) 2>&5
38584 ac_status=$?
38585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38586 (exit $ac_status); }; } &&
38587 { ac_try='test -s conftest$ac_exeext'
38588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38589 (eval $ac_try) 2>&5
38590 ac_status=$?
38591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38592 (exit $ac_status); }; }; then
38593 ac_cv_lib_resolv_inet_addr=yes
38594 else
38595 echo "$as_me: failed program was:" >&5
38596 sed 's/^/| /' conftest.$ac_ext >&5
38597
38598 ac_cv_lib_resolv_inet_addr=no
38599 fi
38600 rm -f conftest.err conftest.$ac_objext \
38601 conftest$ac_exeext conftest.$ac_ext
38602 LIBS=$ac_check_lib_save_LIBS
38603 fi
38604 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38605 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38606 if test $ac_cv_lib_resolv_inet_addr = yes; then
38607 INET_LINK="resolv"
38608 else
38609
38610 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38611 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38612 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38613 echo $ECHO_N "(cached) $ECHO_C" >&6
38614 else
38615 ac_check_lib_save_LIBS=$LIBS
38616 LIBS="-lsocket $LIBS"
38617 cat >conftest.$ac_ext <<_ACEOF
38618 /* confdefs.h. */
38619 _ACEOF
38620 cat confdefs.h >>conftest.$ac_ext
38621 cat >>conftest.$ac_ext <<_ACEOF
38622 /* end confdefs.h. */
38623
38624 /* Override any gcc2 internal prototype to avoid an error. */
38625 #ifdef __cplusplus
38626 extern "C"
38627 #endif
38628 /* We use char because int might match the return type of a gcc2
38629 builtin and then its argument prototype would still apply. */
38630 char inet_addr ();
38631 int
38632 main ()
38633 {
38634 inet_addr ();
38635 ;
38636 return 0;
38637 }
38638 _ACEOF
38639 rm -f conftest.$ac_objext conftest$ac_exeext
38640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38641 (eval $ac_link) 2>conftest.er1
38642 ac_status=$?
38643 grep -v '^ *+' conftest.er1 >conftest.err
38644 rm -f conftest.er1
38645 cat conftest.err >&5
38646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38647 (exit $ac_status); } &&
38648 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38650 (eval $ac_try) 2>&5
38651 ac_status=$?
38652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38653 (exit $ac_status); }; } &&
38654 { ac_try='test -s conftest$ac_exeext'
38655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38656 (eval $ac_try) 2>&5
38657 ac_status=$?
38658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38659 (exit $ac_status); }; }; then
38660 ac_cv_lib_socket_inet_addr=yes
38661 else
38662 echo "$as_me: failed program was:" >&5
38663 sed 's/^/| /' conftest.$ac_ext >&5
38664
38665 ac_cv_lib_socket_inet_addr=no
38666 fi
38667 rm -f conftest.err conftest.$ac_objext \
38668 conftest$ac_exeext conftest.$ac_ext
38669 LIBS=$ac_check_lib_save_LIBS
38670 fi
38671 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38672 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38673 if test $ac_cv_lib_socket_inet_addr = yes; then
38674 INET_LINK="socket"
38675
38676 fi
38677
38678
38679
38680 fi
38681
38682
38683
38684 fi
38685
38686
38687
38688 fi
38689 done
38690
38691
38692
38693 for ac_func in inet_aton
38694 do
38695 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38696 echo "$as_me:$LINENO: checking for $ac_func" >&5
38697 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38698 if eval "test \"\${$as_ac_var+set}\" = set"; then
38699 echo $ECHO_N "(cached) $ECHO_C" >&6
38700 else
38701 cat >conftest.$ac_ext <<_ACEOF
38702 /* confdefs.h. */
38703 _ACEOF
38704 cat confdefs.h >>conftest.$ac_ext
38705 cat >>conftest.$ac_ext <<_ACEOF
38706 /* end confdefs.h. */
38707 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38708 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38709 #define $ac_func innocuous_$ac_func
38710
38711 /* System header to define __stub macros and hopefully few prototypes,
38712 which can conflict with char $ac_func (); below.
38713 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38714 <limits.h> exists even on freestanding compilers. */
38715
38716 #ifdef __STDC__
38717 # include <limits.h>
38718 #else
38719 # include <assert.h>
38720 #endif
38721
38722 #undef $ac_func
38723
38724 /* Override any gcc2 internal prototype to avoid an error. */
38725 #ifdef __cplusplus
38726 extern "C"
38727 {
38728 #endif
38729 /* We use char because int might match the return type of a gcc2
38730 builtin and then its argument prototype would still apply. */
38731 char $ac_func ();
38732 /* The GNU C library defines this for functions which it implements
38733 to always fail with ENOSYS. Some functions are actually named
38734 something starting with __ and the normal name is an alias. */
38735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38736 choke me
38737 #else
38738 char (*f) () = $ac_func;
38739 #endif
38740 #ifdef __cplusplus
38741 }
38742 #endif
38743
38744 int
38745 main ()
38746 {
38747 return f != $ac_func;
38748 ;
38749 return 0;
38750 }
38751 _ACEOF
38752 rm -f conftest.$ac_objext conftest$ac_exeext
38753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38754 (eval $ac_link) 2>conftest.er1
38755 ac_status=$?
38756 grep -v '^ *+' conftest.er1 >conftest.err
38757 rm -f conftest.er1
38758 cat conftest.err >&5
38759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38760 (exit $ac_status); } &&
38761 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38762 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38763 (eval $ac_try) 2>&5
38764 ac_status=$?
38765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38766 (exit $ac_status); }; } &&
38767 { ac_try='test -s conftest$ac_exeext'
38768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38769 (eval $ac_try) 2>&5
38770 ac_status=$?
38771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38772 (exit $ac_status); }; }; then
38773 eval "$as_ac_var=yes"
38774 else
38775 echo "$as_me: failed program was:" >&5
38776 sed 's/^/| /' conftest.$ac_ext >&5
38777
38778 eval "$as_ac_var=no"
38779 fi
38780 rm -f conftest.err conftest.$ac_objext \
38781 conftest$ac_exeext conftest.$ac_ext
38782 fi
38783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38784 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38785 if test `eval echo '${'$as_ac_var'}'` = yes; then
38786 cat >>confdefs.h <<_ACEOF
38787 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38788 _ACEOF
38789 cat >>confdefs.h <<\_ACEOF
38790 #define HAVE_INET_ATON 1
38791 _ACEOF
38792
38793 else
38794
38795 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38796 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38797 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38798 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38799 echo $ECHO_N "(cached) $ECHO_C" >&6
38800 else
38801 ac_check_lib_save_LIBS=$LIBS
38802 LIBS="-l$INET_LINK $LIBS"
38803 cat >conftest.$ac_ext <<_ACEOF
38804 /* confdefs.h. */
38805 _ACEOF
38806 cat confdefs.h >>conftest.$ac_ext
38807 cat >>conftest.$ac_ext <<_ACEOF
38808 /* end confdefs.h. */
38809
38810 /* Override any gcc2 internal prototype to avoid an error. */
38811 #ifdef __cplusplus
38812 extern "C"
38813 #endif
38814 /* We use char because int might match the return type of a gcc2
38815 builtin and then its argument prototype would still apply. */
38816 char inet_aton ();
38817 int
38818 main ()
38819 {
38820 inet_aton ();
38821 ;
38822 return 0;
38823 }
38824 _ACEOF
38825 rm -f conftest.$ac_objext conftest$ac_exeext
38826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38827 (eval $ac_link) 2>conftest.er1
38828 ac_status=$?
38829 grep -v '^ *+' conftest.er1 >conftest.err
38830 rm -f conftest.er1
38831 cat conftest.err >&5
38832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38833 (exit $ac_status); } &&
38834 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38836 (eval $ac_try) 2>&5
38837 ac_status=$?
38838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38839 (exit $ac_status); }; } &&
38840 { ac_try='test -s conftest$ac_exeext'
38841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38842 (eval $ac_try) 2>&5
38843 ac_status=$?
38844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38845 (exit $ac_status); }; }; then
38846 eval "$as_ac_Lib=yes"
38847 else
38848 echo "$as_me: failed program was:" >&5
38849 sed 's/^/| /' conftest.$ac_ext >&5
38850
38851 eval "$as_ac_Lib=no"
38852 fi
38853 rm -f conftest.err conftest.$ac_objext \
38854 conftest$ac_exeext conftest.$ac_ext
38855 LIBS=$ac_check_lib_save_LIBS
38856 fi
38857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
38858 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
38859 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38860 cat >>confdefs.h <<\_ACEOF
38861 #define HAVE_INET_ATON 1
38862 _ACEOF
38863
38864 fi
38865
38866
38867 fi
38868 done
38869
38870
38871 if test "x$INET_LINK" != "x"; then
38872 cat >>confdefs.h <<\_ACEOF
38873 #define HAVE_INET_ADDR 1
38874 _ACEOF
38875
38876 INET_LINK=" -l$INET_LINK"
38877 fi
38878
38879
38880 for wx_func in fdopen
38881 do
38882 echo "$as_me:$LINENO: checking for $wx_func" >&5
38883 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38884 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38885 echo $ECHO_N "(cached) $ECHO_C" >&6
38886 else
38887
38888 cat >conftest.$ac_ext <<_ACEOF
38889
38890 /* confdefs.h. */
38891 _ACEOF
38892 cat confdefs.h >>conftest.$ac_ext
38893 cat >>conftest.$ac_ext <<_ACEOF
38894 /* end confdefs.h. */
38895
38896
38897 $ac_includes_default
38898
38899 int
38900 main ()
38901 {
38902
38903 #ifndef $wx_func
38904 &$wx_func;
38905 #endif
38906
38907
38908 ;
38909 return 0;
38910 }
38911
38912 _ACEOF
38913 rm -f conftest.$ac_objext conftest$ac_exeext
38914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38915 (eval $ac_link) 2>conftest.er1
38916 ac_status=$?
38917 grep -v '^ *+' conftest.er1 >conftest.err
38918 rm -f conftest.er1
38919 cat conftest.err >&5
38920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38921 (exit $ac_status); } &&
38922 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38924 (eval $ac_try) 2>&5
38925 ac_status=$?
38926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38927 (exit $ac_status); }; } &&
38928 { ac_try='test -s conftest$ac_exeext'
38929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38930 (eval $ac_try) 2>&5
38931 ac_status=$?
38932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38933 (exit $ac_status); }; }; then
38934 eval wx_cv_func_$wx_func=yes
38935 else
38936 echo "$as_me: failed program was:" >&5
38937 sed 's/^/| /' conftest.$ac_ext >&5
38938
38939 eval wx_cv_func_$wx_func=no
38940 fi
38941 rm -f conftest.err conftest.$ac_objext \
38942 conftest$ac_exeext conftest.$ac_ext
38943
38944 fi
38945 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38946 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38947
38948 if eval test \$wx_cv_func_$wx_func = yes
38949 then
38950 cat >>confdefs.h <<_ACEOF
38951 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38952 _ACEOF
38953
38954
38955 else
38956 :
38957
38958 fi
38959 done
38960
38961
38962 fi
38963
38964
38965
38966
38967 EXTRALIBS_ESD=
38968 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
38969 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
38970 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
38971 echo $ECHO_N "(cached) $ECHO_C" >&6
38972 else
38973 ac_check_lib_save_LIBS=$LIBS
38974 LIBS="-lesd $LIBS"
38975 cat >conftest.$ac_ext <<_ACEOF
38976 /* confdefs.h. */
38977 _ACEOF
38978 cat confdefs.h >>conftest.$ac_ext
38979 cat >>conftest.$ac_ext <<_ACEOF
38980 /* end confdefs.h. */
38981
38982 /* Override any gcc2 internal prototype to avoid an error. */
38983 #ifdef __cplusplus
38984 extern "C"
38985 #endif
38986 /* We use char because int might match the return type of a gcc2
38987 builtin and then its argument prototype would still apply. */
38988 char esd_close ();
38989 int
38990 main ()
38991 {
38992 esd_close ();
38993 ;
38994 return 0;
38995 }
38996 _ACEOF
38997 rm -f conftest.$ac_objext conftest$ac_exeext
38998 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38999 (eval $ac_link) 2>conftest.er1
39000 ac_status=$?
39001 grep -v '^ *+' conftest.er1 >conftest.err
39002 rm -f conftest.er1
39003 cat conftest.err >&5
39004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39005 (exit $ac_status); } &&
39006 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39008 (eval $ac_try) 2>&5
39009 ac_status=$?
39010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39011 (exit $ac_status); }; } &&
39012 { ac_try='test -s conftest$ac_exeext'
39013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39014 (eval $ac_try) 2>&5
39015 ac_status=$?
39016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39017 (exit $ac_status); }; }; then
39018 ac_cv_lib_esd_esd_close=yes
39019 else
39020 echo "$as_me: failed program was:" >&5
39021 sed 's/^/| /' conftest.$ac_ext >&5
39022
39023 ac_cv_lib_esd_esd_close=no
39024 fi
39025 rm -f conftest.err conftest.$ac_objext \
39026 conftest$ac_exeext conftest.$ac_ext
39027 LIBS=$ac_check_lib_save_LIBS
39028 fi
39029 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
39030 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
39031 if test $ac_cv_lib_esd_esd_close = yes; then
39032
39033
39034 for ac_header in esd.h
39035 do
39036 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39037 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39038 echo "$as_me:$LINENO: checking for $ac_header" >&5
39039 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39040 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39041 echo $ECHO_N "(cached) $ECHO_C" >&6
39042 fi
39043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39044 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39045 else
39046 # Is the header compilable?
39047 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39048 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
39056 #include <$ac_header>
39057 _ACEOF
39058 rm -f conftest.$ac_objext
39059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39060 (eval $ac_compile) 2>conftest.er1
39061 ac_status=$?
39062 grep -v '^ *+' conftest.er1 >conftest.err
39063 rm -f conftest.er1
39064 cat conftest.err >&5
39065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39066 (exit $ac_status); } &&
39067 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39069 (eval $ac_try) 2>&5
39070 ac_status=$?
39071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39072 (exit $ac_status); }; } &&
39073 { ac_try='test -s conftest.$ac_objext'
39074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39075 (eval $ac_try) 2>&5
39076 ac_status=$?
39077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39078 (exit $ac_status); }; }; then
39079 ac_header_compiler=yes
39080 else
39081 echo "$as_me: failed program was:" >&5
39082 sed 's/^/| /' conftest.$ac_ext >&5
39083
39084 ac_header_compiler=no
39085 fi
39086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39087 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39088 echo "${ECHO_T}$ac_header_compiler" >&6
39089
39090 # Is the header present?
39091 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39092 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39093 cat >conftest.$ac_ext <<_ACEOF
39094 /* confdefs.h. */
39095 _ACEOF
39096 cat confdefs.h >>conftest.$ac_ext
39097 cat >>conftest.$ac_ext <<_ACEOF
39098 /* end confdefs.h. */
39099 #include <$ac_header>
39100 _ACEOF
39101 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39102 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39103 ac_status=$?
39104 grep -v '^ *+' conftest.er1 >conftest.err
39105 rm -f conftest.er1
39106 cat conftest.err >&5
39107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39108 (exit $ac_status); } >/dev/null; then
39109 if test -s conftest.err; then
39110 ac_cpp_err=$ac_cxx_preproc_warn_flag
39111 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39112 else
39113 ac_cpp_err=
39114 fi
39115 else
39116 ac_cpp_err=yes
39117 fi
39118 if test -z "$ac_cpp_err"; then
39119 ac_header_preproc=yes
39120 else
39121 echo "$as_me: failed program was:" >&5
39122 sed 's/^/| /' conftest.$ac_ext >&5
39123
39124 ac_header_preproc=no
39125 fi
39126 rm -f conftest.err conftest.$ac_ext
39127 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39128 echo "${ECHO_T}$ac_header_preproc" >&6
39129
39130 # So? What about this header?
39131 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39132 yes:no: )
39133 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39134 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39135 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39136 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39137 ac_header_preproc=yes
39138 ;;
39139 no:yes:* )
39140 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39141 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39142 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39143 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39144 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39145 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39146 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39147 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39148 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39149 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39150 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39151 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39152 (
39153 cat <<\_ASBOX
39154 ## ----------------------------------------- ##
39155 ## Report this to wx-dev@lists.wxwidgets.org ##
39156 ## ----------------------------------------- ##
39157 _ASBOX
39158 ) |
39159 sed "s/^/$as_me: WARNING: /" >&2
39160 ;;
39161 esac
39162 echo "$as_me:$LINENO: checking for $ac_header" >&5
39163 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39164 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39165 echo $ECHO_N "(cached) $ECHO_C" >&6
39166 else
39167 eval "$as_ac_Header=\$ac_header_preproc"
39168 fi
39169 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39170 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39171
39172 fi
39173 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39174 cat >>confdefs.h <<_ACEOF
39175 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39176 _ACEOF
39177
39178 EXTRALIBS_ESD="-lesd"
39179
39180 fi
39181
39182 done
39183
39184
39185 fi
39186
39187
39188
39189 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
39190 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
39191 cat >conftest.$ac_ext <<_ACEOF
39192 /* confdefs.h. */
39193 _ACEOF
39194 cat confdefs.h >>conftest.$ac_ext
39195 cat >>conftest.$ac_ext <<_ACEOF
39196 /* end confdefs.h. */
39197 #ifdef __linux__
39198 #include <linux/cdrom.h>
39199 #else
39200 /* For Solaris */
39201 #include <sys/cdio.h>
39202 #endif
39203
39204 int
39205 main ()
39206 {
39207 struct cdrom_tocentry entry, old_entry;
39208 ;
39209 return 0;
39210 }
39211 _ACEOF
39212 rm -f conftest.$ac_objext
39213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39214 (eval $ac_compile) 2>conftest.er1
39215 ac_status=$?
39216 grep -v '^ *+' conftest.er1 >conftest.err
39217 rm -f conftest.er1
39218 cat conftest.err >&5
39219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39220 (exit $ac_status); } &&
39221 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39223 (eval $ac_try) 2>&5
39224 ac_status=$?
39225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39226 (exit $ac_status); }; } &&
39227 { ac_try='test -s conftest.$ac_objext'
39228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39229 (eval $ac_try) 2>&5
39230 ac_status=$?
39231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39232 (exit $ac_status); }; }; then
39233 echo "$as_me:$LINENO: result: yes" >&5
39234 echo "${ECHO_T}yes" >&6
39235 cat >>confdefs.h <<\_ACEOF
39236 #define HAVE_KNOWN_CDROM_INTERFACE 1
39237 _ACEOF
39238
39239 else
39240 echo "$as_me: failed program was:" >&5
39241 sed 's/^/| /' conftest.$ac_ext >&5
39242
39243 echo "$as_me:$LINENO: result: no" >&5
39244 echo "${ECHO_T}no" >&6
39245 fi
39246 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39247
39248
39249 cat >confcache <<\_ACEOF
39250 # This file is a shell script that caches the results of configure
39251 # tests run on this system so they can be shared between configure
39252 # scripts and configure runs, see configure's option --config-cache.
39253 # It is not useful on other systems. If it contains results you don't
39254 # want to keep, you may remove or edit it.
39255 #
39256 # config.status only pays attention to the cache file if you give it
39257 # the --recheck option to rerun configure.
39258 #
39259 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39260 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39261 # following values.
39262
39263 _ACEOF
39264
39265 # The following way of writing the cache mishandles newlines in values,
39266 # but we know of no workaround that is simple, portable, and efficient.
39267 # So, don't put newlines in cache variables' values.
39268 # Ultrix sh set writes to stderr and can't be redirected directly,
39269 # and sets the high bit in the cache file unless we assign to the vars.
39270 {
39271 (set) 2>&1 |
39272 case `(ac_space=' '; set | grep ac_space) 2>&1` in
39273 *ac_space=\ *)
39274 # `set' does not quote correctly, so add quotes (double-quote
39275 # substitution turns \\\\ into \\, and sed turns \\ into \).
39276 sed -n \
39277 "s/'/'\\\\''/g;
39278 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39279 ;;
39280 *)
39281 # `set' quotes correctly as required by POSIX, so do not add quotes.
39282 sed -n \
39283 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
39284 ;;
39285 esac;
39286 } |
39287 sed '
39288 t clear
39289 : clear
39290 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39291 t end
39292 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39293 : end' >>confcache
39294 if diff $cache_file confcache >/dev/null 2>&1; then :; else
39295 if test -w $cache_file; then
39296 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
39297 cat confcache >$cache_file
39298 else
39299 echo "not updating unwritable cache $cache_file"
39300 fi
39301 fi
39302 rm -f confcache
39303
39304
39305 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39306
39307
39308 THREADS_LINK=
39309 THREADS_CXXFLAGS=
39310
39311 if test "$wxUSE_THREADS" = "yes" ; then
39312 if test "$USE_BEOS" = 1; then
39313 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39314 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39315 wxUSE_THREADS="no"
39316 fi
39317 fi
39318
39319 if test "$wxUSE_THREADS" = "yes" ; then
39320
39321
39322 THREAD_OPTS="-pthread"
39323 case "${host}" in
39324 *-*-solaris2* | *-*-sunos4* )
39325 if test "x$GCC" = "xyes"; then
39326 THREAD_OPTS="-pthreads $THREAD_OPTS"
39327 else
39328 THREAD_OPTS="-mt $THREAD_OPTS"
39329 fi
39330 ;;
39331 *-*-freebsd*)
39332 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
39333 ;;
39334 *-*-darwin* | *-*-cygwin* )
39335 THREAD_OPTS=""
39336 ;;
39337 *-*-aix*)
39338 THREAD_OPTS="pthreads"
39339 ;;
39340 *-hp-hpux* )
39341 if test "x$GCC" = "xyes"; then
39342 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
39343 THREAD_OPTS=""
39344 else
39345 THREAD_OPTS="-mt"
39346 fi
39347 ;;
39348
39349 *-*-irix* )
39350 if test "x$GCC" = "xyes"; then
39351 THREAD_OPTS=""
39352 fi
39353 ;;
39354
39355 *-*-*UnixWare*)
39356 if test "x$GCC" != "xyes"; then
39357 THREAD_OPTS="-Ethread"
39358 fi
39359 ;;
39360 esac
39361
39362 THREAD_OPTS="$THREAD_OPTS pthread none"
39363
39364 THREADS_OK=no
39365 for flag in $THREAD_OPTS; do
39366 case $flag in
39367 none)
39368 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39369 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
39370 ;;
39371
39372 -*)
39373 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39374 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
39375 THREADS_CXXFLAGS="$flag"
39376 ;;
39377
39378 *)
39379 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39380 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
39381 THREADS_LINK="-l$flag"
39382 ;;
39383 esac
39384
39385 save_LIBS="$LIBS"
39386 save_CXXFLAGS="$CXXFLAGS"
39387 LIBS="$THREADS_LINK $LIBS"
39388 CXXFLAGS="$THREADS_CXXFLAGS $CXXFLAGS"
39389
39390 cat >conftest.$ac_ext <<_ACEOF
39391 /* confdefs.h. */
39392 _ACEOF
39393 cat confdefs.h >>conftest.$ac_ext
39394 cat >>conftest.$ac_ext <<_ACEOF
39395 /* end confdefs.h. */
39396 #include <pthread.h>
39397 int
39398 main ()
39399 {
39400 pthread_create(0,0,0,0);
39401 ;
39402 return 0;
39403 }
39404 _ACEOF
39405 rm -f conftest.$ac_objext conftest$ac_exeext
39406 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39407 (eval $ac_link) 2>conftest.er1
39408 ac_status=$?
39409 grep -v '^ *+' conftest.er1 >conftest.err
39410 rm -f conftest.er1
39411 cat conftest.err >&5
39412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39413 (exit $ac_status); } &&
39414 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39416 (eval $ac_try) 2>&5
39417 ac_status=$?
39418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39419 (exit $ac_status); }; } &&
39420 { ac_try='test -s conftest$ac_exeext'
39421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39422 (eval $ac_try) 2>&5
39423 ac_status=$?
39424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39425 (exit $ac_status); }; }; then
39426 THREADS_OK=yes
39427 else
39428 echo "$as_me: failed program was:" >&5
39429 sed 's/^/| /' conftest.$ac_ext >&5
39430
39431 fi
39432 rm -f conftest.err conftest.$ac_objext \
39433 conftest$ac_exeext conftest.$ac_ext
39434
39435 LIBS="$save_LIBS"
39436 CXXFLAGS="$save_CXXFLAGS"
39437
39438 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39439 echo "${ECHO_T}$THREADS_OK" >&6
39440 if test "x$THREADS_OK" = "xyes"; then
39441 break;
39442 fi
39443
39444 THREADS_LINK=""
39445 THREADS_CXXFLAGS=""
39446 done
39447
39448 if test "x$THREADS_OK" != "xyes"; then
39449 wxUSE_THREADS=no
39450 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39451 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39452 else
39453 LDFLAGS="$THREADS_CXXFLAGS $LDFLAGS"
39454 LIBS="$THREADS_LINK $LIBS"
39455
39456 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39457 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
39458 flag=no
39459 case "${host}" in
39460 *-aix*)
39461 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39462 flag="-D_THREAD_SAFE"
39463 ;;
39464 *-freebsd*)
39465 flag="-D_THREAD_SAFE"
39466 ;;
39467 *-hp-hpux* )
39468 flag="-D_REENTRANT"
39469 if test "x$GCC" != "xyes"; then
39470 flag="$flag -D_RWSTD_MULTI_THREAD"
39471 fi
39472 ;;
39473 *solaris* | alpha*-osf*)
39474 flag="-D_REENTRANT"
39475 ;;
39476 esac
39477 echo "$as_me:$LINENO: result: ${flag}" >&5
39478 echo "${ECHO_T}${flag}" >&6
39479 if test "x$flag" != xno; then
39480 THREADS_CXXFLAGS="$THREADS_CXXFLAGS $flag"
39481 fi
39482
39483 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
39484 fi
39485 fi
39486
39487 if test "$wxUSE_THREADS" = "yes" ; then
39488
39489 for ac_func in thr_setconcurrency
39490 do
39491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39492 echo "$as_me:$LINENO: checking for $ac_func" >&5
39493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39494 if eval "test \"\${$as_ac_var+set}\" = set"; then
39495 echo $ECHO_N "(cached) $ECHO_C" >&6
39496 else
39497 cat >conftest.$ac_ext <<_ACEOF
39498 /* confdefs.h. */
39499 _ACEOF
39500 cat confdefs.h >>conftest.$ac_ext
39501 cat >>conftest.$ac_ext <<_ACEOF
39502 /* end confdefs.h. */
39503 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39504 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39505 #define $ac_func innocuous_$ac_func
39506
39507 /* System header to define __stub macros and hopefully few prototypes,
39508 which can conflict with char $ac_func (); below.
39509 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39510 <limits.h> exists even on freestanding compilers. */
39511
39512 #ifdef __STDC__
39513 # include <limits.h>
39514 #else
39515 # include <assert.h>
39516 #endif
39517
39518 #undef $ac_func
39519
39520 /* Override any gcc2 internal prototype to avoid an error. */
39521 #ifdef __cplusplus
39522 extern "C"
39523 {
39524 #endif
39525 /* We use char because int might match the return type of a gcc2
39526 builtin and then its argument prototype would still apply. */
39527 char $ac_func ();
39528 /* The GNU C library defines this for functions which it implements
39529 to always fail with ENOSYS. Some functions are actually named
39530 something starting with __ and the normal name is an alias. */
39531 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39532 choke me
39533 #else
39534 char (*f) () = $ac_func;
39535 #endif
39536 #ifdef __cplusplus
39537 }
39538 #endif
39539
39540 int
39541 main ()
39542 {
39543 return f != $ac_func;
39544 ;
39545 return 0;
39546 }
39547 _ACEOF
39548 rm -f conftest.$ac_objext conftest$ac_exeext
39549 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39550 (eval $ac_link) 2>conftest.er1
39551 ac_status=$?
39552 grep -v '^ *+' conftest.er1 >conftest.err
39553 rm -f conftest.er1
39554 cat conftest.err >&5
39555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39556 (exit $ac_status); } &&
39557 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39559 (eval $ac_try) 2>&5
39560 ac_status=$?
39561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39562 (exit $ac_status); }; } &&
39563 { ac_try='test -s conftest$ac_exeext'
39564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39565 (eval $ac_try) 2>&5
39566 ac_status=$?
39567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39568 (exit $ac_status); }; }; then
39569 eval "$as_ac_var=yes"
39570 else
39571 echo "$as_me: failed program was:" >&5
39572 sed 's/^/| /' conftest.$ac_ext >&5
39573
39574 eval "$as_ac_var=no"
39575 fi
39576 rm -f conftest.err conftest.$ac_objext \
39577 conftest$ac_exeext conftest.$ac_ext
39578 fi
39579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39581 if test `eval echo '${'$as_ac_var'}'` = yes; then
39582 cat >>confdefs.h <<_ACEOF
39583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39584 _ACEOF
39585
39586 fi
39587 done
39588
39589
39590 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39591 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
39592 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39593 echo $ECHO_N "(cached) $ECHO_C" >&6
39594 else
39595
39596 cat >conftest.$ac_ext <<_ACEOF
39597 /* confdefs.h. */
39598 _ACEOF
39599 cat confdefs.h >>conftest.$ac_ext
39600 cat >>conftest.$ac_ext <<_ACEOF
39601 /* end confdefs.h. */
39602 #include <pthread.h>
39603 void ThreadCleanupFunc(void *p);
39604
39605 int
39606 main ()
39607 {
39608
39609 void *p;
39610 pthread_cleanup_push(ThreadCleanupFunc, p);
39611 pthread_cleanup_pop(0);
39612
39613 ;
39614 return 0;
39615 }
39616 _ACEOF
39617 rm -f conftest.$ac_objext
39618 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39619 (eval $ac_compile) 2>conftest.er1
39620 ac_status=$?
39621 grep -v '^ *+' conftest.er1 >conftest.err
39622 rm -f conftest.er1
39623 cat conftest.err >&5
39624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39625 (exit $ac_status); } &&
39626 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39628 (eval $ac_try) 2>&5
39629 ac_status=$?
39630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39631 (exit $ac_status); }; } &&
39632 { ac_try='test -s conftest.$ac_objext'
39633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39634 (eval $ac_try) 2>&5
39635 ac_status=$?
39636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39637 (exit $ac_status); }; }; then
39638
39639 wx_cv_func_pthread_cleanup=yes
39640
39641 else
39642 echo "$as_me: failed program was:" >&5
39643 sed 's/^/| /' conftest.$ac_ext >&5
39644
39645
39646 wx_cv_func_pthread_cleanup=no
39647
39648
39649 fi
39650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39651
39652 fi
39653 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39654 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39655 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39656 cat >>confdefs.h <<\_ACEOF
39657 #define wxHAVE_PTHREAD_CLEANUP 1
39658 _ACEOF
39659
39660 fi
39661
39662
39663 for ac_header in sched.h
39664 do
39665 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39666 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39667 echo "$as_me:$LINENO: checking for $ac_header" >&5
39668 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39669 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39670 echo $ECHO_N "(cached) $ECHO_C" >&6
39671 fi
39672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39673 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39674 else
39675 # Is the header compilable?
39676 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39677 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
39685 #include <$ac_header>
39686 _ACEOF
39687 rm -f conftest.$ac_objext
39688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39689 (eval $ac_compile) 2>conftest.er1
39690 ac_status=$?
39691 grep -v '^ *+' conftest.er1 >conftest.err
39692 rm -f conftest.er1
39693 cat conftest.err >&5
39694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39695 (exit $ac_status); } &&
39696 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39698 (eval $ac_try) 2>&5
39699 ac_status=$?
39700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39701 (exit $ac_status); }; } &&
39702 { ac_try='test -s conftest.$ac_objext'
39703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39704 (eval $ac_try) 2>&5
39705 ac_status=$?
39706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39707 (exit $ac_status); }; }; then
39708 ac_header_compiler=yes
39709 else
39710 echo "$as_me: failed program was:" >&5
39711 sed 's/^/| /' conftest.$ac_ext >&5
39712
39713 ac_header_compiler=no
39714 fi
39715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39716 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39717 echo "${ECHO_T}$ac_header_compiler" >&6
39718
39719 # Is the header present?
39720 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39721 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39722 cat >conftest.$ac_ext <<_ACEOF
39723 /* confdefs.h. */
39724 _ACEOF
39725 cat confdefs.h >>conftest.$ac_ext
39726 cat >>conftest.$ac_ext <<_ACEOF
39727 /* end confdefs.h. */
39728 #include <$ac_header>
39729 _ACEOF
39730 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39731 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39732 ac_status=$?
39733 grep -v '^ *+' conftest.er1 >conftest.err
39734 rm -f conftest.er1
39735 cat conftest.err >&5
39736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39737 (exit $ac_status); } >/dev/null; then
39738 if test -s conftest.err; then
39739 ac_cpp_err=$ac_cxx_preproc_warn_flag
39740 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39741 else
39742 ac_cpp_err=
39743 fi
39744 else
39745 ac_cpp_err=yes
39746 fi
39747 if test -z "$ac_cpp_err"; then
39748 ac_header_preproc=yes
39749 else
39750 echo "$as_me: failed program was:" >&5
39751 sed 's/^/| /' conftest.$ac_ext >&5
39752
39753 ac_header_preproc=no
39754 fi
39755 rm -f conftest.err conftest.$ac_ext
39756 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39757 echo "${ECHO_T}$ac_header_preproc" >&6
39758
39759 # So? What about this header?
39760 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39761 yes:no: )
39762 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39763 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39764 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39765 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39766 ac_header_preproc=yes
39767 ;;
39768 no:yes:* )
39769 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39770 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39771 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39772 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39773 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39774 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39775 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39776 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39777 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39778 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39779 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39780 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39781 (
39782 cat <<\_ASBOX
39783 ## ----------------------------------------- ##
39784 ## Report this to wx-dev@lists.wxwidgets.org ##
39785 ## ----------------------------------------- ##
39786 _ASBOX
39787 ) |
39788 sed "s/^/$as_me: WARNING: /" >&2
39789 ;;
39790 esac
39791 echo "$as_me:$LINENO: checking for $ac_header" >&5
39792 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39793 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39794 echo $ECHO_N "(cached) $ECHO_C" >&6
39795 else
39796 eval "$as_ac_Header=\$ac_header_preproc"
39797 fi
39798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39799 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39800
39801 fi
39802 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39803 cat >>confdefs.h <<_ACEOF
39804 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39805 _ACEOF
39806
39807 fi
39808
39809 done
39810
39811 if test "$ac_cv_header_sched_h" = "yes"; then
39812 echo "$as_me:$LINENO: checking for sched_yield" >&5
39813 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39814 if test "${ac_cv_func_sched_yield+set}" = set; then
39815 echo $ECHO_N "(cached) $ECHO_C" >&6
39816 else
39817 cat >conftest.$ac_ext <<_ACEOF
39818 /* confdefs.h. */
39819 _ACEOF
39820 cat confdefs.h >>conftest.$ac_ext
39821 cat >>conftest.$ac_ext <<_ACEOF
39822 /* end confdefs.h. */
39823 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39824 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39825 #define sched_yield innocuous_sched_yield
39826
39827 /* System header to define __stub macros and hopefully few prototypes,
39828 which can conflict with char sched_yield (); below.
39829 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39830 <limits.h> exists even on freestanding compilers. */
39831
39832 #ifdef __STDC__
39833 # include <limits.h>
39834 #else
39835 # include <assert.h>
39836 #endif
39837
39838 #undef sched_yield
39839
39840 /* Override any gcc2 internal prototype to avoid an error. */
39841 #ifdef __cplusplus
39842 extern "C"
39843 {
39844 #endif
39845 /* We use char because int might match the return type of a gcc2
39846 builtin and then its argument prototype would still apply. */
39847 char sched_yield ();
39848 /* The GNU C library defines this for functions which it implements
39849 to always fail with ENOSYS. Some functions are actually named
39850 something starting with __ and the normal name is an alias. */
39851 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
39852 choke me
39853 #else
39854 char (*f) () = sched_yield;
39855 #endif
39856 #ifdef __cplusplus
39857 }
39858 #endif
39859
39860 int
39861 main ()
39862 {
39863 return f != sched_yield;
39864 ;
39865 return 0;
39866 }
39867 _ACEOF
39868 rm -f conftest.$ac_objext conftest$ac_exeext
39869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39870 (eval $ac_link) 2>conftest.er1
39871 ac_status=$?
39872 grep -v '^ *+' conftest.er1 >conftest.err
39873 rm -f conftest.er1
39874 cat conftest.err >&5
39875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39876 (exit $ac_status); } &&
39877 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39879 (eval $ac_try) 2>&5
39880 ac_status=$?
39881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39882 (exit $ac_status); }; } &&
39883 { ac_try='test -s conftest$ac_exeext'
39884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39885 (eval $ac_try) 2>&5
39886 ac_status=$?
39887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39888 (exit $ac_status); }; }; then
39889 ac_cv_func_sched_yield=yes
39890 else
39891 echo "$as_me: failed program was:" >&5
39892 sed 's/^/| /' conftest.$ac_ext >&5
39893
39894 ac_cv_func_sched_yield=no
39895 fi
39896 rm -f conftest.err conftest.$ac_objext \
39897 conftest$ac_exeext conftest.$ac_ext
39898 fi
39899 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39900 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
39901 if test $ac_cv_func_sched_yield = yes; then
39902 cat >>confdefs.h <<\_ACEOF
39903 #define HAVE_SCHED_YIELD 1
39904 _ACEOF
39905
39906 else
39907
39908 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39909 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
39910 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39911 echo $ECHO_N "(cached) $ECHO_C" >&6
39912 else
39913 ac_check_lib_save_LIBS=$LIBS
39914 LIBS="-lposix4 $LIBS"
39915 cat >conftest.$ac_ext <<_ACEOF
39916 /* confdefs.h. */
39917 _ACEOF
39918 cat confdefs.h >>conftest.$ac_ext
39919 cat >>conftest.$ac_ext <<_ACEOF
39920 /* end confdefs.h. */
39921
39922 /* Override any gcc2 internal prototype to avoid an error. */
39923 #ifdef __cplusplus
39924 extern "C"
39925 #endif
39926 /* We use char because int might match the return type of a gcc2
39927 builtin and then its argument prototype would still apply. */
39928 char sched_yield ();
39929 int
39930 main ()
39931 {
39932 sched_yield ();
39933 ;
39934 return 0;
39935 }
39936 _ACEOF
39937 rm -f conftest.$ac_objext conftest$ac_exeext
39938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39939 (eval $ac_link) 2>conftest.er1
39940 ac_status=$?
39941 grep -v '^ *+' conftest.er1 >conftest.err
39942 rm -f conftest.er1
39943 cat conftest.err >&5
39944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39945 (exit $ac_status); } &&
39946 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39948 (eval $ac_try) 2>&5
39949 ac_status=$?
39950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39951 (exit $ac_status); }; } &&
39952 { ac_try='test -s conftest$ac_exeext'
39953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39954 (eval $ac_try) 2>&5
39955 ac_status=$?
39956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39957 (exit $ac_status); }; }; then
39958 ac_cv_lib_posix4_sched_yield=yes
39959 else
39960 echo "$as_me: failed program was:" >&5
39961 sed 's/^/| /' conftest.$ac_ext >&5
39962
39963 ac_cv_lib_posix4_sched_yield=no
39964 fi
39965 rm -f conftest.err conftest.$ac_objext \
39966 conftest$ac_exeext conftest.$ac_ext
39967 LIBS=$ac_check_lib_save_LIBS
39968 fi
39969 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39970 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
39971 if test $ac_cv_lib_posix4_sched_yield = yes; then
39972 cat >>confdefs.h <<\_ACEOF
39973 #define HAVE_SCHED_YIELD 1
39974 _ACEOF
39975 POSIX4_LINK=" -lposix4"
39976 else
39977 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39978 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39979
39980 fi
39981
39982
39983
39984 fi
39985
39986 fi
39987
39988 HAVE_PRIOR_FUNCS=0
39989 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39990 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
39991 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39992 echo $ECHO_N "(cached) $ECHO_C" >&6
39993 else
39994 cat >conftest.$ac_ext <<_ACEOF
39995 /* confdefs.h. */
39996 _ACEOF
39997 cat confdefs.h >>conftest.$ac_ext
39998 cat >>conftest.$ac_ext <<_ACEOF
39999 /* end confdefs.h. */
40000 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40002 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40003
40004 /* System header to define __stub macros and hopefully few prototypes,
40005 which can conflict with char pthread_attr_getschedpolicy (); below.
40006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40007 <limits.h> exists even on freestanding compilers. */
40008
40009 #ifdef __STDC__
40010 # include <limits.h>
40011 #else
40012 # include <assert.h>
40013 #endif
40014
40015 #undef pthread_attr_getschedpolicy
40016
40017 /* Override any gcc2 internal prototype to avoid an error. */
40018 #ifdef __cplusplus
40019 extern "C"
40020 {
40021 #endif
40022 /* We use char because int might match the return type of a gcc2
40023 builtin and then its argument prototype would still apply. */
40024 char pthread_attr_getschedpolicy ();
40025 /* The GNU C library defines this for functions which it implements
40026 to always fail with ENOSYS. Some functions are actually named
40027 something starting with __ and the normal name is an alias. */
40028 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
40029 choke me
40030 #else
40031 char (*f) () = pthread_attr_getschedpolicy;
40032 #endif
40033 #ifdef __cplusplus
40034 }
40035 #endif
40036
40037 int
40038 main ()
40039 {
40040 return f != pthread_attr_getschedpolicy;
40041 ;
40042 return 0;
40043 }
40044 _ACEOF
40045 rm -f conftest.$ac_objext conftest$ac_exeext
40046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40047 (eval $ac_link) 2>conftest.er1
40048 ac_status=$?
40049 grep -v '^ *+' conftest.er1 >conftest.err
40050 rm -f conftest.er1
40051 cat conftest.err >&5
40052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40053 (exit $ac_status); } &&
40054 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40056 (eval $ac_try) 2>&5
40057 ac_status=$?
40058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40059 (exit $ac_status); }; } &&
40060 { ac_try='test -s conftest$ac_exeext'
40061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40062 (eval $ac_try) 2>&5
40063 ac_status=$?
40064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40065 (exit $ac_status); }; }; then
40066 ac_cv_func_pthread_attr_getschedpolicy=yes
40067 else
40068 echo "$as_me: failed program was:" >&5
40069 sed 's/^/| /' conftest.$ac_ext >&5
40070
40071 ac_cv_func_pthread_attr_getschedpolicy=no
40072 fi
40073 rm -f conftest.err conftest.$ac_objext \
40074 conftest$ac_exeext conftest.$ac_ext
40075 fi
40076 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40077 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
40078 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40079 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40080 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
40081 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40082 echo $ECHO_N "(cached) $ECHO_C" >&6
40083 else
40084 cat >conftest.$ac_ext <<_ACEOF
40085 /* confdefs.h. */
40086 _ACEOF
40087 cat confdefs.h >>conftest.$ac_ext
40088 cat >>conftest.$ac_ext <<_ACEOF
40089 /* end confdefs.h. */
40090 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40092 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40093
40094 /* System header to define __stub macros and hopefully few prototypes,
40095 which can conflict with char pthread_attr_setschedparam (); below.
40096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40097 <limits.h> exists even on freestanding compilers. */
40098
40099 #ifdef __STDC__
40100 # include <limits.h>
40101 #else
40102 # include <assert.h>
40103 #endif
40104
40105 #undef pthread_attr_setschedparam
40106
40107 /* Override any gcc2 internal prototype to avoid an error. */
40108 #ifdef __cplusplus
40109 extern "C"
40110 {
40111 #endif
40112 /* We use char because int might match the return type of a gcc2
40113 builtin and then its argument prototype would still apply. */
40114 char pthread_attr_setschedparam ();
40115 /* The GNU C library defines this for functions which it implements
40116 to always fail with ENOSYS. Some functions are actually named
40117 something starting with __ and the normal name is an alias. */
40118 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
40119 choke me
40120 #else
40121 char (*f) () = pthread_attr_setschedparam;
40122 #endif
40123 #ifdef __cplusplus
40124 }
40125 #endif
40126
40127 int
40128 main ()
40129 {
40130 return f != pthread_attr_setschedparam;
40131 ;
40132 return 0;
40133 }
40134 _ACEOF
40135 rm -f conftest.$ac_objext conftest$ac_exeext
40136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40137 (eval $ac_link) 2>conftest.er1
40138 ac_status=$?
40139 grep -v '^ *+' conftest.er1 >conftest.err
40140 rm -f conftest.er1
40141 cat conftest.err >&5
40142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40143 (exit $ac_status); } &&
40144 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40146 (eval $ac_try) 2>&5
40147 ac_status=$?
40148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40149 (exit $ac_status); }; } &&
40150 { ac_try='test -s conftest$ac_exeext'
40151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40152 (eval $ac_try) 2>&5
40153 ac_status=$?
40154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40155 (exit $ac_status); }; }; then
40156 ac_cv_func_pthread_attr_setschedparam=yes
40157 else
40158 echo "$as_me: failed program was:" >&5
40159 sed 's/^/| /' conftest.$ac_ext >&5
40160
40161 ac_cv_func_pthread_attr_setschedparam=no
40162 fi
40163 rm -f conftest.err conftest.$ac_objext \
40164 conftest$ac_exeext conftest.$ac_ext
40165 fi
40166 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40167 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
40168 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40169 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40170 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
40171 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40172 echo $ECHO_N "(cached) $ECHO_C" >&6
40173 else
40174 cat >conftest.$ac_ext <<_ACEOF
40175 /* confdefs.h. */
40176 _ACEOF
40177 cat confdefs.h >>conftest.$ac_ext
40178 cat >>conftest.$ac_ext <<_ACEOF
40179 /* end confdefs.h. */
40180 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40182 #define sched_get_priority_max innocuous_sched_get_priority_max
40183
40184 /* System header to define __stub macros and hopefully few prototypes,
40185 which can conflict with char sched_get_priority_max (); below.
40186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40187 <limits.h> exists even on freestanding compilers. */
40188
40189 #ifdef __STDC__
40190 # include <limits.h>
40191 #else
40192 # include <assert.h>
40193 #endif
40194
40195 #undef sched_get_priority_max
40196
40197 /* Override any gcc2 internal prototype to avoid an error. */
40198 #ifdef __cplusplus
40199 extern "C"
40200 {
40201 #endif
40202 /* We use char because int might match the return type of a gcc2
40203 builtin and then its argument prototype would still apply. */
40204 char sched_get_priority_max ();
40205 /* The GNU C library defines this for functions which it implements
40206 to always fail with ENOSYS. Some functions are actually named
40207 something starting with __ and the normal name is an alias. */
40208 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
40209 choke me
40210 #else
40211 char (*f) () = sched_get_priority_max;
40212 #endif
40213 #ifdef __cplusplus
40214 }
40215 #endif
40216
40217 int
40218 main ()
40219 {
40220 return f != sched_get_priority_max;
40221 ;
40222 return 0;
40223 }
40224 _ACEOF
40225 rm -f conftest.$ac_objext conftest$ac_exeext
40226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40227 (eval $ac_link) 2>conftest.er1
40228 ac_status=$?
40229 grep -v '^ *+' conftest.er1 >conftest.err
40230 rm -f conftest.er1
40231 cat conftest.err >&5
40232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40233 (exit $ac_status); } &&
40234 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40236 (eval $ac_try) 2>&5
40237 ac_status=$?
40238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40239 (exit $ac_status); }; } &&
40240 { ac_try='test -s conftest$ac_exeext'
40241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40242 (eval $ac_try) 2>&5
40243 ac_status=$?
40244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40245 (exit $ac_status); }; }; then
40246 ac_cv_func_sched_get_priority_max=yes
40247 else
40248 echo "$as_me: failed program was:" >&5
40249 sed 's/^/| /' conftest.$ac_ext >&5
40250
40251 ac_cv_func_sched_get_priority_max=no
40252 fi
40253 rm -f conftest.err conftest.$ac_objext \
40254 conftest$ac_exeext conftest.$ac_ext
40255 fi
40256 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40257 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
40258 if test $ac_cv_func_sched_get_priority_max = yes; then
40259 HAVE_PRIOR_FUNCS=1
40260 else
40261 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40262 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
40263 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40264 echo $ECHO_N "(cached) $ECHO_C" >&6
40265 else
40266 ac_check_lib_save_LIBS=$LIBS
40267 LIBS="-lposix4 $LIBS"
40268 cat >conftest.$ac_ext <<_ACEOF
40269 /* confdefs.h. */
40270 _ACEOF
40271 cat confdefs.h >>conftest.$ac_ext
40272 cat >>conftest.$ac_ext <<_ACEOF
40273 /* end confdefs.h. */
40274
40275 /* Override any gcc2 internal prototype to avoid an error. */
40276 #ifdef __cplusplus
40277 extern "C"
40278 #endif
40279 /* We use char because int might match the return type of a gcc2
40280 builtin and then its argument prototype would still apply. */
40281 char sched_get_priority_max ();
40282 int
40283 main ()
40284 {
40285 sched_get_priority_max ();
40286 ;
40287 return 0;
40288 }
40289 _ACEOF
40290 rm -f conftest.$ac_objext conftest$ac_exeext
40291 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40292 (eval $ac_link) 2>conftest.er1
40293 ac_status=$?
40294 grep -v '^ *+' conftest.er1 >conftest.err
40295 rm -f conftest.er1
40296 cat conftest.err >&5
40297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40298 (exit $ac_status); } &&
40299 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40301 (eval $ac_try) 2>&5
40302 ac_status=$?
40303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40304 (exit $ac_status); }; } &&
40305 { ac_try='test -s conftest$ac_exeext'
40306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40307 (eval $ac_try) 2>&5
40308 ac_status=$?
40309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40310 (exit $ac_status); }; }; then
40311 ac_cv_lib_posix4_sched_get_priority_max=yes
40312 else
40313 echo "$as_me: failed program was:" >&5
40314 sed 's/^/| /' conftest.$ac_ext >&5
40315
40316 ac_cv_lib_posix4_sched_get_priority_max=no
40317 fi
40318 rm -f conftest.err conftest.$ac_objext \
40319 conftest$ac_exeext conftest.$ac_ext
40320 LIBS=$ac_check_lib_save_LIBS
40321 fi
40322 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40323 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
40324 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40325
40326 HAVE_PRIOR_FUNCS=1
40327 POSIX4_LINK=" -lposix4"
40328
40329 fi
40330
40331
40332 fi
40333
40334
40335 fi
40336
40337
40338 fi
40339
40340
40341 if test "$HAVE_PRIOR_FUNCS" = 1; then
40342 cat >>confdefs.h <<\_ACEOF
40343 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40344 _ACEOF
40345
40346 else
40347 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40348 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40349 fi
40350
40351 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40352 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
40353 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40354 echo $ECHO_N "(cached) $ECHO_C" >&6
40355 else
40356 cat >conftest.$ac_ext <<_ACEOF
40357 /* confdefs.h. */
40358 _ACEOF
40359 cat confdefs.h >>conftest.$ac_ext
40360 cat >>conftest.$ac_ext <<_ACEOF
40361 /* end confdefs.h. */
40362 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40364 #define pthread_cancel innocuous_pthread_cancel
40365
40366 /* System header to define __stub macros and hopefully few prototypes,
40367 which can conflict with char pthread_cancel (); below.
40368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40369 <limits.h> exists even on freestanding compilers. */
40370
40371 #ifdef __STDC__
40372 # include <limits.h>
40373 #else
40374 # include <assert.h>
40375 #endif
40376
40377 #undef pthread_cancel
40378
40379 /* Override any gcc2 internal prototype to avoid an error. */
40380 #ifdef __cplusplus
40381 extern "C"
40382 {
40383 #endif
40384 /* We use char because int might match the return type of a gcc2
40385 builtin and then its argument prototype would still apply. */
40386 char pthread_cancel ();
40387 /* The GNU C library defines this for functions which it implements
40388 to always fail with ENOSYS. Some functions are actually named
40389 something starting with __ and the normal name is an alias. */
40390 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
40391 choke me
40392 #else
40393 char (*f) () = pthread_cancel;
40394 #endif
40395 #ifdef __cplusplus
40396 }
40397 #endif
40398
40399 int
40400 main ()
40401 {
40402 return f != pthread_cancel;
40403 ;
40404 return 0;
40405 }
40406 _ACEOF
40407 rm -f conftest.$ac_objext conftest$ac_exeext
40408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40409 (eval $ac_link) 2>conftest.er1
40410 ac_status=$?
40411 grep -v '^ *+' conftest.er1 >conftest.err
40412 rm -f conftest.er1
40413 cat conftest.err >&5
40414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40415 (exit $ac_status); } &&
40416 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40418 (eval $ac_try) 2>&5
40419 ac_status=$?
40420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40421 (exit $ac_status); }; } &&
40422 { ac_try='test -s conftest$ac_exeext'
40423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40424 (eval $ac_try) 2>&5
40425 ac_status=$?
40426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40427 (exit $ac_status); }; }; then
40428 ac_cv_func_pthread_cancel=yes
40429 else
40430 echo "$as_me: failed program was:" >&5
40431 sed 's/^/| /' conftest.$ac_ext >&5
40432
40433 ac_cv_func_pthread_cancel=no
40434 fi
40435 rm -f conftest.err conftest.$ac_objext \
40436 conftest$ac_exeext conftest.$ac_ext
40437 fi
40438 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40439 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
40440 if test $ac_cv_func_pthread_cancel = yes; then
40441 cat >>confdefs.h <<\_ACEOF
40442 #define HAVE_PTHREAD_CANCEL 1
40443 _ACEOF
40444
40445 else
40446 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40447 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40448 fi
40449
40450
40451 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40452 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
40453 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40454 echo $ECHO_N "(cached) $ECHO_C" >&6
40455 else
40456 cat >conftest.$ac_ext <<_ACEOF
40457 /* confdefs.h. */
40458 _ACEOF
40459 cat confdefs.h >>conftest.$ac_ext
40460 cat >>conftest.$ac_ext <<_ACEOF
40461 /* end confdefs.h. */
40462 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40463 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40464 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40465
40466 /* System header to define __stub macros and hopefully few prototypes,
40467 which can conflict with char pthread_attr_setstacksize (); below.
40468 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40469 <limits.h> exists even on freestanding compilers. */
40470
40471 #ifdef __STDC__
40472 # include <limits.h>
40473 #else
40474 # include <assert.h>
40475 #endif
40476
40477 #undef pthread_attr_setstacksize
40478
40479 /* Override any gcc2 internal prototype to avoid an error. */
40480 #ifdef __cplusplus
40481 extern "C"
40482 {
40483 #endif
40484 /* We use char because int might match the return type of a gcc2
40485 builtin and then its argument prototype would still apply. */
40486 char pthread_attr_setstacksize ();
40487 /* The GNU C library defines this for functions which it implements
40488 to always fail with ENOSYS. Some functions are actually named
40489 something starting with __ and the normal name is an alias. */
40490 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
40491 choke me
40492 #else
40493 char (*f) () = pthread_attr_setstacksize;
40494 #endif
40495 #ifdef __cplusplus
40496 }
40497 #endif
40498
40499 int
40500 main ()
40501 {
40502 return f != pthread_attr_setstacksize;
40503 ;
40504 return 0;
40505 }
40506 _ACEOF
40507 rm -f conftest.$ac_objext conftest$ac_exeext
40508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40509 (eval $ac_link) 2>conftest.er1
40510 ac_status=$?
40511 grep -v '^ *+' conftest.er1 >conftest.err
40512 rm -f conftest.er1
40513 cat conftest.err >&5
40514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40515 (exit $ac_status); } &&
40516 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40518 (eval $ac_try) 2>&5
40519 ac_status=$?
40520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40521 (exit $ac_status); }; } &&
40522 { ac_try='test -s conftest$ac_exeext'
40523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40524 (eval $ac_try) 2>&5
40525 ac_status=$?
40526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40527 (exit $ac_status); }; }; then
40528 ac_cv_func_pthread_attr_setstacksize=yes
40529 else
40530 echo "$as_me: failed program was:" >&5
40531 sed 's/^/| /' conftest.$ac_ext >&5
40532
40533 ac_cv_func_pthread_attr_setstacksize=no
40534 fi
40535 rm -f conftest.err conftest.$ac_objext \
40536 conftest$ac_exeext conftest.$ac_ext
40537 fi
40538 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40539 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
40540 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40541 cat >>confdefs.h <<\_ACEOF
40542 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40543 _ACEOF
40544
40545 fi
40546
40547
40548
40549 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40550 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
40551 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40552 echo $ECHO_N "(cached) $ECHO_C" >&6
40553 else
40554
40555 cat >conftest.$ac_ext <<_ACEOF
40556 /* confdefs.h. */
40557 _ACEOF
40558 cat confdefs.h >>conftest.$ac_ext
40559 cat >>conftest.$ac_ext <<_ACEOF
40560 /* end confdefs.h. */
40561 #include <pthread.h>
40562 int
40563 main ()
40564 {
40565
40566 pthread_mutexattr_t attr;
40567 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40568
40569 ;
40570 return 0;
40571 }
40572 _ACEOF
40573 rm -f conftest.$ac_objext
40574 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40575 (eval $ac_compile) 2>conftest.er1
40576 ac_status=$?
40577 grep -v '^ *+' conftest.er1 >conftest.err
40578 rm -f conftest.er1
40579 cat conftest.err >&5
40580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40581 (exit $ac_status); } &&
40582 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40584 (eval $ac_try) 2>&5
40585 ac_status=$?
40586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40587 (exit $ac_status); }; } &&
40588 { ac_try='test -s conftest.$ac_objext'
40589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40590 (eval $ac_try) 2>&5
40591 ac_status=$?
40592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40593 (exit $ac_status); }; }; then
40594 wx_cv_type_pthread_mutexattr_t=yes
40595 else
40596 echo "$as_me: failed program was:" >&5
40597 sed 's/^/| /' conftest.$ac_ext >&5
40598
40599 wx_cv_type_pthread_mutexattr_t=no
40600
40601 fi
40602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40603
40604 fi
40605 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40606 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
40607
40608 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40609 cat >>confdefs.h <<\_ACEOF
40610 #define HAVE_PTHREAD_MUTEXATTR_T 1
40611 _ACEOF
40612
40613
40614 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40615 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
40616 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40617 echo $ECHO_N "(cached) $ECHO_C" >&6
40618 else
40619
40620 cat >conftest.$ac_ext <<_ACEOF
40621 /* confdefs.h. */
40622 _ACEOF
40623 cat confdefs.h >>conftest.$ac_ext
40624 cat >>conftest.$ac_ext <<_ACEOF
40625 /* end confdefs.h. */
40626 #include <pthread.h>
40627 int
40628 main ()
40629 {
40630
40631 pthread_mutexattr_t attr;
40632 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40633
40634 ;
40635 return 0;
40636 }
40637 _ACEOF
40638 rm -f conftest.$ac_objext
40639 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40640 (eval $ac_compile) 2>conftest.er1
40641 ac_status=$?
40642 grep -v '^ *+' conftest.er1 >conftest.err
40643 rm -f conftest.er1
40644 cat conftest.err >&5
40645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40646 (exit $ac_status); } &&
40647 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40649 (eval $ac_try) 2>&5
40650 ac_status=$?
40651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40652 (exit $ac_status); }; } &&
40653 { ac_try='test -s conftest.$ac_objext'
40654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40655 (eval $ac_try) 2>&5
40656 ac_status=$?
40657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40658 (exit $ac_status); }; }; then
40659 wx_cv_func_pthread_mutexattr_settype_decl=yes
40660 else
40661 echo "$as_me: failed program was:" >&5
40662 sed 's/^/| /' conftest.$ac_ext >&5
40663
40664 wx_cv_func_pthread_mutexattr_settype_decl=no
40665
40666 fi
40667 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40668
40669 fi
40670 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40671 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40672 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40673 cat >>confdefs.h <<\_ACEOF
40674 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40675 _ACEOF
40676
40677 fi
40678 else
40679 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40680 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40681 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40682 echo $ECHO_N "(cached) $ECHO_C" >&6
40683 else
40684
40685 cat >conftest.$ac_ext <<_ACEOF
40686 /* confdefs.h. */
40687 _ACEOF
40688 cat confdefs.h >>conftest.$ac_ext
40689 cat >>conftest.$ac_ext <<_ACEOF
40690 /* end confdefs.h. */
40691 #include <pthread.h>
40692 int
40693 main ()
40694 {
40695
40696 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40697
40698 ;
40699 return 0;
40700 }
40701 _ACEOF
40702 rm -f conftest.$ac_objext
40703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40704 (eval $ac_compile) 2>conftest.er1
40705 ac_status=$?
40706 grep -v '^ *+' conftest.er1 >conftest.err
40707 rm -f conftest.er1
40708 cat conftest.err >&5
40709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40710 (exit $ac_status); } &&
40711 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40713 (eval $ac_try) 2>&5
40714 ac_status=$?
40715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40716 (exit $ac_status); }; } &&
40717 { ac_try='test -s conftest.$ac_objext'
40718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40719 (eval $ac_try) 2>&5
40720 ac_status=$?
40721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40722 (exit $ac_status); }; }; then
40723
40724 wx_cv_type_pthread_rec_mutex_init=yes
40725
40726 else
40727 echo "$as_me: failed program was:" >&5
40728 sed 's/^/| /' conftest.$ac_ext >&5
40729
40730
40731 wx_cv_type_pthread_rec_mutex_init=no
40732
40733
40734 fi
40735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40736
40737 fi
40738 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40739 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40740 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40741 cat >>confdefs.h <<\_ACEOF
40742 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40743 _ACEOF
40744
40745 else
40746 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40747 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40748 fi
40749 fi
40750 fi
40751
40752 else
40753 if test "$wxUSE_THREADS" = "yes" ; then
40754 case "${host}" in
40755 *-*-mingw32* )
40756 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40757 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40758 if test "${wx_cv_cflags_mthread+set}" = set; then
40759 echo $ECHO_N "(cached) $ECHO_C" >&6
40760 else
40761
40762 CXXFLAGS_OLD="$CXXFLAGS"
40763 CXXFLAGS="-mthreads $CXXFLAGS"
40764 cat >conftest.$ac_ext <<_ACEOF
40765 /* confdefs.h. */
40766 _ACEOF
40767 cat confdefs.h >>conftest.$ac_ext
40768 cat >>conftest.$ac_ext <<_ACEOF
40769 /* end confdefs.h. */
40770
40771 int
40772 main ()
40773 {
40774
40775 ;
40776 return 0;
40777 }
40778 _ACEOF
40779 rm -f conftest.$ac_objext
40780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40781 (eval $ac_compile) 2>conftest.er1
40782 ac_status=$?
40783 grep -v '^ *+' conftest.er1 >conftest.err
40784 rm -f conftest.er1
40785 cat conftest.err >&5
40786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40787 (exit $ac_status); } &&
40788 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40790 (eval $ac_try) 2>&5
40791 ac_status=$?
40792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40793 (exit $ac_status); }; } &&
40794 { ac_try='test -s conftest.$ac_objext'
40795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40796 (eval $ac_try) 2>&5
40797 ac_status=$?
40798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40799 (exit $ac_status); }; }; then
40800 wx_cv_cflags_mthread=yes
40801 else
40802 echo "$as_me: failed program was:" >&5
40803 sed 's/^/| /' conftest.$ac_ext >&5
40804
40805 wx_cv_cflags_mthread=no
40806
40807 fi
40808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40809
40810
40811 fi
40812 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40813 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40814
40815 if test "$wx_cv_cflags_mthread" = "yes"; then
40816 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -mthreads"
40817 LDFLAGS="$LDFLAGS -mthreads"
40818 else
40819 CXXFLAGS="$CXXFLAGS_OLD"
40820 fi
40821 ;;
40822 *-pc-os2*emx )
40823 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40824 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
40825 LDFLAGS="$LDFLAGS -Zmt"
40826 ;;
40827 esac
40828 fi
40829 fi
40830
40831 echo "$as_me:$LINENO: checking for localtime_r" >&5
40832 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40833 if test "${ac_cv_func_localtime_r+set}" = set; then
40834 echo $ECHO_N "(cached) $ECHO_C" >&6
40835 else
40836 cat >conftest.$ac_ext <<_ACEOF
40837 /* confdefs.h. */
40838 _ACEOF
40839 cat confdefs.h >>conftest.$ac_ext
40840 cat >>conftest.$ac_ext <<_ACEOF
40841 /* end confdefs.h. */
40842 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40844 #define localtime_r innocuous_localtime_r
40845
40846 /* System header to define __stub macros and hopefully few prototypes,
40847 which can conflict with char localtime_r (); below.
40848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40849 <limits.h> exists even on freestanding compilers. */
40850
40851 #ifdef __STDC__
40852 # include <limits.h>
40853 #else
40854 # include <assert.h>
40855 #endif
40856
40857 #undef localtime_r
40858
40859 /* Override any gcc2 internal prototype to avoid an error. */
40860 #ifdef __cplusplus
40861 extern "C"
40862 {
40863 #endif
40864 /* We use char because int might match the return type of a gcc2
40865 builtin and then its argument prototype would still apply. */
40866 char localtime_r ();
40867 /* The GNU C library defines this for functions which it implements
40868 to always fail with ENOSYS. Some functions are actually named
40869 something starting with __ and the normal name is an alias. */
40870 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
40871 choke me
40872 #else
40873 char (*f) () = localtime_r;
40874 #endif
40875 #ifdef __cplusplus
40876 }
40877 #endif
40878
40879 int
40880 main ()
40881 {
40882 return f != localtime_r;
40883 ;
40884 return 0;
40885 }
40886 _ACEOF
40887 rm -f conftest.$ac_objext conftest$ac_exeext
40888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40889 (eval $ac_link) 2>conftest.er1
40890 ac_status=$?
40891 grep -v '^ *+' conftest.er1 >conftest.err
40892 rm -f conftest.er1
40893 cat conftest.err >&5
40894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40895 (exit $ac_status); } &&
40896 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40898 (eval $ac_try) 2>&5
40899 ac_status=$?
40900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40901 (exit $ac_status); }; } &&
40902 { ac_try='test -s conftest$ac_exeext'
40903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40904 (eval $ac_try) 2>&5
40905 ac_status=$?
40906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40907 (exit $ac_status); }; }; then
40908 ac_cv_func_localtime_r=yes
40909 else
40910 echo "$as_me: failed program was:" >&5
40911 sed 's/^/| /' conftest.$ac_ext >&5
40912
40913 ac_cv_func_localtime_r=no
40914 fi
40915 rm -f conftest.err conftest.$ac_objext \
40916 conftest$ac_exeext conftest.$ac_ext
40917 fi
40918 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40919 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
40920 if test $ac_cv_func_localtime_r = yes; then
40921 cat >>confdefs.h <<\_ACEOF
40922 #define HAVE_LOCALTIME_R 1
40923 _ACEOF
40924
40925 fi
40926
40927 echo "$as_me:$LINENO: checking for gmtime_r" >&5
40928 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
40929 if test "${ac_cv_func_gmtime_r+set}" = set; then
40930 echo $ECHO_N "(cached) $ECHO_C" >&6
40931 else
40932 cat >conftest.$ac_ext <<_ACEOF
40933 /* confdefs.h. */
40934 _ACEOF
40935 cat confdefs.h >>conftest.$ac_ext
40936 cat >>conftest.$ac_ext <<_ACEOF
40937 /* end confdefs.h. */
40938 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40939 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40940 #define gmtime_r innocuous_gmtime_r
40941
40942 /* System header to define __stub macros and hopefully few prototypes,
40943 which can conflict with char gmtime_r (); below.
40944 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40945 <limits.h> exists even on freestanding compilers. */
40946
40947 #ifdef __STDC__
40948 # include <limits.h>
40949 #else
40950 # include <assert.h>
40951 #endif
40952
40953 #undef gmtime_r
40954
40955 /* Override any gcc2 internal prototype to avoid an error. */
40956 #ifdef __cplusplus
40957 extern "C"
40958 {
40959 #endif
40960 /* We use char because int might match the return type of a gcc2
40961 builtin and then its argument prototype would still apply. */
40962 char gmtime_r ();
40963 /* The GNU C library defines this for functions which it implements
40964 to always fail with ENOSYS. Some functions are actually named
40965 something starting with __ and the normal name is an alias. */
40966 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
40967 choke me
40968 #else
40969 char (*f) () = gmtime_r;
40970 #endif
40971 #ifdef __cplusplus
40972 }
40973 #endif
40974
40975 int
40976 main ()
40977 {
40978 return f != gmtime_r;
40979 ;
40980 return 0;
40981 }
40982 _ACEOF
40983 rm -f conftest.$ac_objext conftest$ac_exeext
40984 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40985 (eval $ac_link) 2>conftest.er1
40986 ac_status=$?
40987 grep -v '^ *+' conftest.er1 >conftest.err
40988 rm -f conftest.er1
40989 cat conftest.err >&5
40990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40991 (exit $ac_status); } &&
40992 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40994 (eval $ac_try) 2>&5
40995 ac_status=$?
40996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40997 (exit $ac_status); }; } &&
40998 { ac_try='test -s conftest$ac_exeext'
40999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41000 (eval $ac_try) 2>&5
41001 ac_status=$?
41002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41003 (exit $ac_status); }; }; then
41004 ac_cv_func_gmtime_r=yes
41005 else
41006 echo "$as_me: failed program was:" >&5
41007 sed 's/^/| /' conftest.$ac_ext >&5
41008
41009 ac_cv_func_gmtime_r=no
41010 fi
41011 rm -f conftest.err conftest.$ac_objext \
41012 conftest$ac_exeext conftest.$ac_ext
41013 fi
41014 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41015 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
41016 if test $ac_cv_func_gmtime_r = yes; then
41017 cat >>confdefs.h <<\_ACEOF
41018 #define HAVE_GMTIME_R 1
41019 _ACEOF
41020
41021 fi
41022
41023 echo "$as_me:$LINENO: checking for readdir_r" >&5
41024 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
41025 if test "${ac_cv_func_readdir_r+set}" = set; then
41026 echo $ECHO_N "(cached) $ECHO_C" >&6
41027 else
41028 cat >conftest.$ac_ext <<_ACEOF
41029 /* confdefs.h. */
41030 _ACEOF
41031 cat confdefs.h >>conftest.$ac_ext
41032 cat >>conftest.$ac_ext <<_ACEOF
41033 /* end confdefs.h. */
41034 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
41035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41036 #define readdir_r innocuous_readdir_r
41037
41038 /* System header to define __stub macros and hopefully few prototypes,
41039 which can conflict with char readdir_r (); below.
41040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41041 <limits.h> exists even on freestanding compilers. */
41042
41043 #ifdef __STDC__
41044 # include <limits.h>
41045 #else
41046 # include <assert.h>
41047 #endif
41048
41049 #undef readdir_r
41050
41051 /* Override any gcc2 internal prototype to avoid an error. */
41052 #ifdef __cplusplus
41053 extern "C"
41054 {
41055 #endif
41056 /* We use char because int might match the return type of a gcc2
41057 builtin and then its argument prototype would still apply. */
41058 char readdir_r ();
41059 /* The GNU C library defines this for functions which it implements
41060 to always fail with ENOSYS. Some functions are actually named
41061 something starting with __ and the normal name is an alias. */
41062 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
41063 choke me
41064 #else
41065 char (*f) () = readdir_r;
41066 #endif
41067 #ifdef __cplusplus
41068 }
41069 #endif
41070
41071 int
41072 main ()
41073 {
41074 return f != readdir_r;
41075 ;
41076 return 0;
41077 }
41078 _ACEOF
41079 rm -f conftest.$ac_objext conftest$ac_exeext
41080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41081 (eval $ac_link) 2>conftest.er1
41082 ac_status=$?
41083 grep -v '^ *+' conftest.er1 >conftest.err
41084 rm -f conftest.er1
41085 cat conftest.err >&5
41086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41087 (exit $ac_status); } &&
41088 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41090 (eval $ac_try) 2>&5
41091 ac_status=$?
41092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41093 (exit $ac_status); }; } &&
41094 { ac_try='test -s conftest$ac_exeext'
41095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41096 (eval $ac_try) 2>&5
41097 ac_status=$?
41098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41099 (exit $ac_status); }; }; then
41100 ac_cv_func_readdir_r=yes
41101 else
41102 echo "$as_me: failed program was:" >&5
41103 sed 's/^/| /' conftest.$ac_ext >&5
41104
41105 ac_cv_func_readdir_r=no
41106 fi
41107 rm -f conftest.err conftest.$ac_objext \
41108 conftest$ac_exeext conftest.$ac_ext
41109 fi
41110 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
41111 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
41112 if test $ac_cv_func_readdir_r = yes; then
41113 cat >>confdefs.h <<\_ACEOF
41114 #define HAVE_READDIR_R 1
41115 _ACEOF
41116
41117 fi
41118
41119
41120
41121
41122 ac_ext=c
41123 ac_cpp='$CPP $CPPFLAGS'
41124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41127
41128 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41129 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
41130
41131 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41132 echo $ECHO_N "(cached) $ECHO_C" >&6
41133 else
41134
41135
41136 ################################################################
41137
41138 ac_cv_func_which_gethostbyname_r=unknown
41139
41140 #
41141 # ONE ARGUMENT (sanity check)
41142 #
41143
41144 # This should fail, as there is no variant of gethostbyname_r() that takes
41145 # a single argument. If it actually compiles, then we can assume that
41146 # netdb.h is not declaring the function, and the compiler is thereby
41147 # assuming an implicit prototype. In which case, we're out of luck.
41148 #
41149 cat >conftest.$ac_ext <<_ACEOF
41150 /* confdefs.h. */
41151 _ACEOF
41152 cat confdefs.h >>conftest.$ac_ext
41153 cat >>conftest.$ac_ext <<_ACEOF
41154 /* end confdefs.h. */
41155 #include <netdb.h>
41156 int
41157 main ()
41158 {
41159
41160 char *name = "www.gnu.org";
41161 (void)gethostbyname_r(name) /* ; */
41162
41163 ;
41164 return 0;
41165 }
41166 _ACEOF
41167 rm -f conftest.$ac_objext
41168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41169 (eval $ac_compile) 2>conftest.er1
41170 ac_status=$?
41171 grep -v '^ *+' conftest.er1 >conftest.err
41172 rm -f conftest.er1
41173 cat conftest.err >&5
41174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41175 (exit $ac_status); } &&
41176 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41178 (eval $ac_try) 2>&5
41179 ac_status=$?
41180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41181 (exit $ac_status); }; } &&
41182 { ac_try='test -s conftest.$ac_objext'
41183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41184 (eval $ac_try) 2>&5
41185 ac_status=$?
41186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41187 (exit $ac_status); }; }; then
41188 ac_cv_func_which_gethostbyname_r=no
41189 else
41190 echo "$as_me: failed program was:" >&5
41191 sed 's/^/| /' conftest.$ac_ext >&5
41192
41193 fi
41194 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41195
41196 #
41197 # SIX ARGUMENTS
41198 # (e.g. Linux)
41199 #
41200
41201 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41202
41203 cat >conftest.$ac_ext <<_ACEOF
41204 /* confdefs.h. */
41205 _ACEOF
41206 cat confdefs.h >>conftest.$ac_ext
41207 cat >>conftest.$ac_ext <<_ACEOF
41208 /* end confdefs.h. */
41209 #include <netdb.h>
41210 int
41211 main ()
41212 {
41213
41214 char *name = "www.gnu.org";
41215 struct hostent ret, *retp;
41216 char buf[1024];
41217 int buflen = 1024;
41218 int my_h_errno;
41219 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41220
41221 ;
41222 return 0;
41223 }
41224 _ACEOF
41225 rm -f conftest.$ac_objext
41226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41227 (eval $ac_compile) 2>conftest.er1
41228 ac_status=$?
41229 grep -v '^ *+' conftest.er1 >conftest.err
41230 rm -f conftest.er1
41231 cat conftest.err >&5
41232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41233 (exit $ac_status); } &&
41234 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41236 (eval $ac_try) 2>&5
41237 ac_status=$?
41238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41239 (exit $ac_status); }; } &&
41240 { ac_try='test -s conftest.$ac_objext'
41241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41242 (eval $ac_try) 2>&5
41243 ac_status=$?
41244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41245 (exit $ac_status); }; }; then
41246 ac_cv_func_which_gethostbyname_r=six
41247 else
41248 echo "$as_me: failed program was:" >&5
41249 sed 's/^/| /' conftest.$ac_ext >&5
41250
41251 fi
41252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41253
41254 fi
41255
41256 #
41257 # FIVE ARGUMENTS
41258 # (e.g. Solaris)
41259 #
41260
41261 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41262
41263 cat >conftest.$ac_ext <<_ACEOF
41264 /* confdefs.h. */
41265 _ACEOF
41266 cat confdefs.h >>conftest.$ac_ext
41267 cat >>conftest.$ac_ext <<_ACEOF
41268 /* end confdefs.h. */
41269 #include <netdb.h>
41270 int
41271 main ()
41272 {
41273
41274 char *name = "www.gnu.org";
41275 struct hostent ret;
41276 char buf[1024];
41277 int buflen = 1024;
41278 int my_h_errno;
41279 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41280
41281 ;
41282 return 0;
41283 }
41284 _ACEOF
41285 rm -f conftest.$ac_objext
41286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41287 (eval $ac_compile) 2>conftest.er1
41288 ac_status=$?
41289 grep -v '^ *+' conftest.er1 >conftest.err
41290 rm -f conftest.er1
41291 cat conftest.err >&5
41292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41293 (exit $ac_status); } &&
41294 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41296 (eval $ac_try) 2>&5
41297 ac_status=$?
41298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41299 (exit $ac_status); }; } &&
41300 { ac_try='test -s conftest.$ac_objext'
41301 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41302 (eval $ac_try) 2>&5
41303 ac_status=$?
41304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41305 (exit $ac_status); }; }; then
41306 ac_cv_func_which_gethostbyname_r=five
41307 else
41308 echo "$as_me: failed program was:" >&5
41309 sed 's/^/| /' conftest.$ac_ext >&5
41310
41311 fi
41312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41313
41314 fi
41315
41316 #
41317 # THREE ARGUMENTS
41318 # (e.g. AIX, HP-UX, Tru64)
41319 #
41320
41321 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41322
41323 cat >conftest.$ac_ext <<_ACEOF
41324 /* confdefs.h. */
41325 _ACEOF
41326 cat confdefs.h >>conftest.$ac_ext
41327 cat >>conftest.$ac_ext <<_ACEOF
41328 /* end confdefs.h. */
41329 #include <netdb.h>
41330 int
41331 main ()
41332 {
41333
41334 char *name = "www.gnu.org";
41335 struct hostent ret;
41336 struct hostent_data data;
41337 (void)gethostbyname_r(name, &ret, &data) /* ; */
41338
41339 ;
41340 return 0;
41341 }
41342 _ACEOF
41343 rm -f conftest.$ac_objext
41344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41345 (eval $ac_compile) 2>conftest.er1
41346 ac_status=$?
41347 grep -v '^ *+' conftest.er1 >conftest.err
41348 rm -f conftest.er1
41349 cat conftest.err >&5
41350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41351 (exit $ac_status); } &&
41352 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41354 (eval $ac_try) 2>&5
41355 ac_status=$?
41356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41357 (exit $ac_status); }; } &&
41358 { ac_try='test -s conftest.$ac_objext'
41359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41360 (eval $ac_try) 2>&5
41361 ac_status=$?
41362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41363 (exit $ac_status); }; }; then
41364 ac_cv_func_which_gethostbyname_r=three
41365 else
41366 echo "$as_me: failed program was:" >&5
41367 sed 's/^/| /' conftest.$ac_ext >&5
41368
41369 fi
41370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41371
41372 fi
41373
41374 ################################################################
41375
41376
41377 fi
41378
41379 case "$ac_cv_func_which_gethostbyname_r" in
41380 three)
41381 echo "$as_me:$LINENO: result: three" >&5
41382 echo "${ECHO_T}three" >&6
41383 cat >>confdefs.h <<\_ACEOF
41384 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41385 _ACEOF
41386
41387 ;;
41388
41389 five)
41390 echo "$as_me:$LINENO: result: five" >&5
41391 echo "${ECHO_T}five" >&6
41392 cat >>confdefs.h <<\_ACEOF
41393 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41394 _ACEOF
41395
41396 ;;
41397
41398 six)
41399 echo "$as_me:$LINENO: result: six" >&5
41400 echo "${ECHO_T}six" >&6
41401 cat >>confdefs.h <<\_ACEOF
41402 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41403 _ACEOF
41404
41405 ;;
41406
41407 no)
41408 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41409 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
41410 ;;
41411
41412 unknown)
41413 echo "$as_me:$LINENO: result: can't tell" >&5
41414 echo "${ECHO_T}can't tell" >&6
41415 ;;
41416
41417 *)
41418 { { echo "$as_me:$LINENO: error: internal error" >&5
41419 echo "$as_me: error: internal error" >&2;}
41420 { (exit 1); exit 1; }; }
41421 ;;
41422 esac
41423
41424 ac_ext=cc
41425 ac_cpp='$CXXCPP $CPPFLAGS'
41426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41429
41430
41431
41432 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41433 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41434 echo "$as_me:$LINENO: checking for gethostbyname" >&5
41435 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
41436 if test "${ac_cv_func_gethostbyname+set}" = set; then
41437 echo $ECHO_N "(cached) $ECHO_C" >&6
41438 else
41439 cat >conftest.$ac_ext <<_ACEOF
41440 /* confdefs.h. */
41441 _ACEOF
41442 cat confdefs.h >>conftest.$ac_ext
41443 cat >>conftest.$ac_ext <<_ACEOF
41444 /* end confdefs.h. */
41445 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41446 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41447 #define gethostbyname innocuous_gethostbyname
41448
41449 /* System header to define __stub macros and hopefully few prototypes,
41450 which can conflict with char gethostbyname (); below.
41451 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41452 <limits.h> exists even on freestanding compilers. */
41453
41454 #ifdef __STDC__
41455 # include <limits.h>
41456 #else
41457 # include <assert.h>
41458 #endif
41459
41460 #undef gethostbyname
41461
41462 /* Override any gcc2 internal prototype to avoid an error. */
41463 #ifdef __cplusplus
41464 extern "C"
41465 {
41466 #endif
41467 /* We use char because int might match the return type of a gcc2
41468 builtin and then its argument prototype would still apply. */
41469 char gethostbyname ();
41470 /* The GNU C library defines this for functions which it implements
41471 to always fail with ENOSYS. Some functions are actually named
41472 something starting with __ and the normal name is an alias. */
41473 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
41474 choke me
41475 #else
41476 char (*f) () = gethostbyname;
41477 #endif
41478 #ifdef __cplusplus
41479 }
41480 #endif
41481
41482 int
41483 main ()
41484 {
41485 return f != gethostbyname;
41486 ;
41487 return 0;
41488 }
41489 _ACEOF
41490 rm -f conftest.$ac_objext conftest$ac_exeext
41491 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41492 (eval $ac_link) 2>conftest.er1
41493 ac_status=$?
41494 grep -v '^ *+' conftest.er1 >conftest.err
41495 rm -f conftest.er1
41496 cat conftest.err >&5
41497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41498 (exit $ac_status); } &&
41499 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41501 (eval $ac_try) 2>&5
41502 ac_status=$?
41503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41504 (exit $ac_status); }; } &&
41505 { ac_try='test -s conftest$ac_exeext'
41506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41507 (eval $ac_try) 2>&5
41508 ac_status=$?
41509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41510 (exit $ac_status); }; }; then
41511 ac_cv_func_gethostbyname=yes
41512 else
41513 echo "$as_me: failed program was:" >&5
41514 sed 's/^/| /' conftest.$ac_ext >&5
41515
41516 ac_cv_func_gethostbyname=no
41517 fi
41518 rm -f conftest.err conftest.$ac_objext \
41519 conftest$ac_exeext conftest.$ac_ext
41520 fi
41521 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41522 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
41523 if test $ac_cv_func_gethostbyname = yes; then
41524 cat >>confdefs.h <<\_ACEOF
41525 #define HAVE_GETHOSTBYNAME 1
41526 _ACEOF
41527
41528 fi
41529
41530 fi
41531
41532 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41533 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
41534 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41535 echo $ECHO_N "(cached) $ECHO_C" >&6
41536 else
41537
41538 cat >conftest.$ac_ext <<_ACEOF
41539 /* confdefs.h. */
41540 _ACEOF
41541 cat confdefs.h >>conftest.$ac_ext
41542 cat >>conftest.$ac_ext <<_ACEOF
41543 /* end confdefs.h. */
41544 #include <netdb.h>
41545 int
41546 main ()
41547 {
41548
41549 char *name;
41550 char *proto;
41551 struct servent *se, *res;
41552 char buffer[2048];
41553 int buflen = 2048;
41554 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41555
41556 ;
41557 return 0;
41558 }
41559 _ACEOF
41560 rm -f conftest.$ac_objext
41561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41562 (eval $ac_compile) 2>conftest.er1
41563 ac_status=$?
41564 grep -v '^ *+' conftest.er1 >conftest.err
41565 rm -f conftest.er1
41566 cat conftest.err >&5
41567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41568 (exit $ac_status); } &&
41569 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41571 (eval $ac_try) 2>&5
41572 ac_status=$?
41573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41574 (exit $ac_status); }; } &&
41575 { ac_try='test -s conftest.$ac_objext'
41576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41577 (eval $ac_try) 2>&5
41578 ac_status=$?
41579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41580 (exit $ac_status); }; }; then
41581 ac_cv_func_which_getservbyname_r=six
41582 else
41583 echo "$as_me: failed program was:" >&5
41584 sed 's/^/| /' conftest.$ac_ext >&5
41585
41586
41587 cat >conftest.$ac_ext <<_ACEOF
41588 /* confdefs.h. */
41589 _ACEOF
41590 cat confdefs.h >>conftest.$ac_ext
41591 cat >>conftest.$ac_ext <<_ACEOF
41592 /* end confdefs.h. */
41593 #include <netdb.h>
41594 int
41595 main ()
41596 {
41597
41598 char *name;
41599 char *proto;
41600 struct servent *se;
41601 char buffer[2048];
41602 int buflen = 2048;
41603 (void) getservbyname_r(name, proto, se, buffer, buflen)
41604
41605 ;
41606 return 0;
41607 }
41608 _ACEOF
41609 rm -f conftest.$ac_objext
41610 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41611 (eval $ac_compile) 2>conftest.er1
41612 ac_status=$?
41613 grep -v '^ *+' conftest.er1 >conftest.err
41614 rm -f conftest.er1
41615 cat conftest.err >&5
41616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41617 (exit $ac_status); } &&
41618 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41620 (eval $ac_try) 2>&5
41621 ac_status=$?
41622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41623 (exit $ac_status); }; } &&
41624 { ac_try='test -s conftest.$ac_objext'
41625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41626 (eval $ac_try) 2>&5
41627 ac_status=$?
41628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41629 (exit $ac_status); }; }; then
41630 ac_cv_func_which_getservbyname_r=five
41631 else
41632 echo "$as_me: failed program was:" >&5
41633 sed 's/^/| /' conftest.$ac_ext >&5
41634
41635
41636 cat >conftest.$ac_ext <<_ACEOF
41637 /* confdefs.h. */
41638 _ACEOF
41639 cat confdefs.h >>conftest.$ac_ext
41640 cat >>conftest.$ac_ext <<_ACEOF
41641 /* end confdefs.h. */
41642 #include <netdb.h>
41643 int
41644 main ()
41645 {
41646
41647 char *name;
41648 char *proto;
41649 struct servent *se;
41650 struct servent_data data;
41651 (void) getservbyname_r(name, proto, se, &data);
41652
41653 ;
41654 return 0;
41655 }
41656 _ACEOF
41657 rm -f conftest.$ac_objext
41658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41659 (eval $ac_compile) 2>conftest.er1
41660 ac_status=$?
41661 grep -v '^ *+' conftest.er1 >conftest.err
41662 rm -f conftest.er1
41663 cat conftest.err >&5
41664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41665 (exit $ac_status); } &&
41666 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41668 (eval $ac_try) 2>&5
41669 ac_status=$?
41670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41671 (exit $ac_status); }; } &&
41672 { ac_try='test -s conftest.$ac_objext'
41673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41674 (eval $ac_try) 2>&5
41675 ac_status=$?
41676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41677 (exit $ac_status); }; }; then
41678 ac_cv_func_which_getservbyname_r=four
41679 else
41680 echo "$as_me: failed program was:" >&5
41681 sed 's/^/| /' conftest.$ac_ext >&5
41682
41683 ac_cv_func_which_getservbyname_r=no
41684
41685 fi
41686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41687
41688
41689 fi
41690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41691
41692
41693 fi
41694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41695
41696
41697 fi
41698 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41699 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41700
41701 if test $ac_cv_func_which_getservbyname_r = six; then
41702 cat >>confdefs.h <<\_ACEOF
41703 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41704 _ACEOF
41705
41706 elif test $ac_cv_func_which_getservbyname_r = five; then
41707 cat >>confdefs.h <<\_ACEOF
41708 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41709 _ACEOF
41710
41711 elif test $ac_cv_func_which_getservbyname_r = four; then
41712 cat >>confdefs.h <<\_ACEOF
41713 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41714 _ACEOF
41715
41716 fi
41717
41718
41719 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41720 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41721
41722 for ac_func in getservbyname
41723 do
41724 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41725 echo "$as_me:$LINENO: checking for $ac_func" >&5
41726 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41727 if eval "test \"\${$as_ac_var+set}\" = set"; then
41728 echo $ECHO_N "(cached) $ECHO_C" >&6
41729 else
41730 cat >conftest.$ac_ext <<_ACEOF
41731 /* confdefs.h. */
41732 _ACEOF
41733 cat confdefs.h >>conftest.$ac_ext
41734 cat >>conftest.$ac_ext <<_ACEOF
41735 /* end confdefs.h. */
41736 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41737 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41738 #define $ac_func innocuous_$ac_func
41739
41740 /* System header to define __stub macros and hopefully few prototypes,
41741 which can conflict with char $ac_func (); below.
41742 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41743 <limits.h> exists even on freestanding compilers. */
41744
41745 #ifdef __STDC__
41746 # include <limits.h>
41747 #else
41748 # include <assert.h>
41749 #endif
41750
41751 #undef $ac_func
41752
41753 /* Override any gcc2 internal prototype to avoid an error. */
41754 #ifdef __cplusplus
41755 extern "C"
41756 {
41757 #endif
41758 /* We use char because int might match the return type of a gcc2
41759 builtin and then its argument prototype would still apply. */
41760 char $ac_func ();
41761 /* The GNU C library defines this for functions which it implements
41762 to always fail with ENOSYS. Some functions are actually named
41763 something starting with __ and the normal name is an alias. */
41764 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41765 choke me
41766 #else
41767 char (*f) () = $ac_func;
41768 #endif
41769 #ifdef __cplusplus
41770 }
41771 #endif
41772
41773 int
41774 main ()
41775 {
41776 return f != $ac_func;
41777 ;
41778 return 0;
41779 }
41780 _ACEOF
41781 rm -f conftest.$ac_objext conftest$ac_exeext
41782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41783 (eval $ac_link) 2>conftest.er1
41784 ac_status=$?
41785 grep -v '^ *+' conftest.er1 >conftest.err
41786 rm -f conftest.er1
41787 cat conftest.err >&5
41788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41789 (exit $ac_status); } &&
41790 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41792 (eval $ac_try) 2>&5
41793 ac_status=$?
41794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41795 (exit $ac_status); }; } &&
41796 { ac_try='test -s conftest$ac_exeext'
41797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41798 (eval $ac_try) 2>&5
41799 ac_status=$?
41800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41801 (exit $ac_status); }; }; then
41802 eval "$as_ac_var=yes"
41803 else
41804 echo "$as_me: failed program was:" >&5
41805 sed 's/^/| /' conftest.$ac_ext >&5
41806
41807 eval "$as_ac_var=no"
41808 fi
41809 rm -f conftest.err conftest.$ac_objext \
41810 conftest$ac_exeext conftest.$ac_ext
41811 fi
41812 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41813 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41814 if test `eval echo '${'$as_ac_var'}'` = yes; then
41815 cat >>confdefs.h <<_ACEOF
41816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41817 _ACEOF
41818 cat >>confdefs.h <<\_ACEOF
41819 #define HAVE_GETSERVBYNAME 1
41820 _ACEOF
41821
41822 fi
41823 done
41824
41825 fi
41826
41827 if test "$wxUSE_THREADS" = "yes"; then
41828 cat >>confdefs.h <<\_ACEOF
41829 #define wxUSE_THREADS 1
41830 _ACEOF
41831
41832
41833 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41834 else
41835 if test "$wx_cv_func_strtok_r" = "yes"; then
41836 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41837 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
41838 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41839 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41840 echo "$as_me:$LINENO: result: yes" >&5
41841 echo "${ECHO_T}yes" >&6
41842 else
41843 echo "$as_me:$LINENO: result: no" >&5
41844 echo "${ECHO_T}no" >&6
41845 fi
41846 fi
41847 fi
41848
41849 if test "$WXGTK20" = 1 ; then
41850 cat >>confdefs.h <<_ACEOF
41851 #define __WXGTK20__ $WXGTK20
41852 _ACEOF
41853
41854 WXGTK12=1
41855 fi
41856
41857 if test "$WXGTK12" = 1 ; then
41858 cat >>confdefs.h <<_ACEOF
41859 #define __WXGTK12__ $WXGTK12
41860 _ACEOF
41861
41862 fi
41863
41864 if test "$WXGTK127" = 1 ; then
41865 cat >>confdefs.h <<_ACEOF
41866 #define __WXGTK127__ $WXGTK127
41867 _ACEOF
41868
41869 fi
41870
41871 if test "$WXGPE" = 1 ; then
41872 cat >>confdefs.h <<_ACEOF
41873 #define __WXGPE__ $WXGPE
41874 _ACEOF
41875
41876 fi
41877
41878 DEBUG_CFLAGS=
41879 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41880 DEBUG_CFLAGS="-g"
41881 wxUSE_OPTIMISE=no
41882 fi
41883
41884 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41885 wxUSE_DEBUG_INFO=yes
41886 if test "$GCC" = yes; then
41887 DEBUG_CFLAGS="-ggdb"
41888 fi
41889 fi
41890
41891 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41892 cat >>confdefs.h <<\_ACEOF
41893 #define WXDEBUG 1
41894 _ACEOF
41895
41896 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41897 else
41898 if test "$wxUSE_GTK" = 1 ; then
41899 if test "x$wxGTK_VERSION" = "x1" ; then
41900 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41901 fi
41902 fi
41903 fi
41904
41905 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41906 cat >>confdefs.h <<\_ACEOF
41907 #define wxUSE_MEMORY_TRACING 1
41908 _ACEOF
41909
41910 cat >>confdefs.h <<\_ACEOF
41911 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41912 _ACEOF
41913
41914 cat >>confdefs.h <<\_ACEOF
41915 #define wxUSE_DEBUG_NEW_ALWAYS 1
41916 _ACEOF
41917
41918 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41919 fi
41920
41921 if test "$wxUSE_DMALLOC" = "yes" ; then
41922 DMALLOC_LIBS="-ldmallocthcxx"
41923 fi
41924
41925 PROFILE_FLAGS=
41926 if test "$wxUSE_PROFILE" = "yes" ; then
41927 PROFILE_FLAGS=" -pg"
41928 fi
41929
41930 if test "$GCC" = "yes" ; then
41931 if test "$wxUSE_NO_RTTI" = "yes" ; then
41932 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41933 fi
41934 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41935 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41936 fi
41937 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41938 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41939 fi
41940
41941 case "${host}" in
41942 powerpc*-*-aix* )
41943 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41944 ;;
41945 *-hppa* )
41946 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41947 ;;
41948 esac
41949 fi
41950
41951 OPTIMISE_CFLAGS=
41952 if test "$wxUSE_OPTIMISE" = "no" ; then
41953 if test "$GCC" = yes ; then
41954 OPTIMISE_CFLAGS="-O0"
41955 fi
41956 else
41957 if test "$GCC" = yes ; then
41958 case "${host}" in
41959 *-pc-os2_emx | *-pc-os2-emx )
41960 OPTIMISE_CFLAGS="-O2"
41961 ;;
41962 *)
41963 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41964 ;;
41965 esac
41966 else
41967 OPTIMISE_CFLAGS="-O"
41968 fi
41969 fi
41970
41971
41972 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
41973 cat >>confdefs.h <<\_ACEOF
41974 #define WXWIN_COMPATIBILITY_2_4 1
41975 _ACEOF
41976
41977
41978 WXWIN_COMPATIBILITY_2_6="yes"
41979 fi
41980
41981 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
41982 cat >>confdefs.h <<\_ACEOF
41983 #define WXWIN_COMPATIBILITY_2_6 1
41984 _ACEOF
41985
41986 fi
41987
41988
41989 if test "$wxUSE_GUI" = "yes"; then
41990 cat >>confdefs.h <<\_ACEOF
41991 #define wxUSE_GUI 1
41992 _ACEOF
41993
41994
41995 fi
41996
41997
41998 if test "$wxUSE_UNIX" = "yes"; then
41999 cat >>confdefs.h <<\_ACEOF
42000 #define wxUSE_UNIX 1
42001 _ACEOF
42002
42003 fi
42004
42005
42006 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42007
42008 HAVE_DL_FUNCS=0
42009 HAVE_SHL_FUNCS=0
42010 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42011 if test "$USE_DARWIN" = 1; then
42012 HAVE_DL_FUNCS=1
42013 elif test "$USE_DOS" = 1; then
42014 HAVE_DL_FUNCS=0
42015 else
42016
42017 for ac_func in dlopen
42018 do
42019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42020 echo "$as_me:$LINENO: checking for $ac_func" >&5
42021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42022 if eval "test \"\${$as_ac_var+set}\" = set"; then
42023 echo $ECHO_N "(cached) $ECHO_C" >&6
42024 else
42025 cat >conftest.$ac_ext <<_ACEOF
42026 /* confdefs.h. */
42027 _ACEOF
42028 cat confdefs.h >>conftest.$ac_ext
42029 cat >>conftest.$ac_ext <<_ACEOF
42030 /* end confdefs.h. */
42031 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42033 #define $ac_func innocuous_$ac_func
42034
42035 /* System header to define __stub macros and hopefully few prototypes,
42036 which can conflict with char $ac_func (); below.
42037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42038 <limits.h> exists even on freestanding compilers. */
42039
42040 #ifdef __STDC__
42041 # include <limits.h>
42042 #else
42043 # include <assert.h>
42044 #endif
42045
42046 #undef $ac_func
42047
42048 /* Override any gcc2 internal prototype to avoid an error. */
42049 #ifdef __cplusplus
42050 extern "C"
42051 {
42052 #endif
42053 /* We use char because int might match the return type of a gcc2
42054 builtin and then its argument prototype would still apply. */
42055 char $ac_func ();
42056 /* The GNU C library defines this for functions which it implements
42057 to always fail with ENOSYS. Some functions are actually named
42058 something starting with __ and the normal name is an alias. */
42059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42060 choke me
42061 #else
42062 char (*f) () = $ac_func;
42063 #endif
42064 #ifdef __cplusplus
42065 }
42066 #endif
42067
42068 int
42069 main ()
42070 {
42071 return f != $ac_func;
42072 ;
42073 return 0;
42074 }
42075 _ACEOF
42076 rm -f conftest.$ac_objext conftest$ac_exeext
42077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42078 (eval $ac_link) 2>conftest.er1
42079 ac_status=$?
42080 grep -v '^ *+' conftest.er1 >conftest.err
42081 rm -f conftest.er1
42082 cat conftest.err >&5
42083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42084 (exit $ac_status); } &&
42085 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42087 (eval $ac_try) 2>&5
42088 ac_status=$?
42089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42090 (exit $ac_status); }; } &&
42091 { ac_try='test -s conftest$ac_exeext'
42092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42093 (eval $ac_try) 2>&5
42094 ac_status=$?
42095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42096 (exit $ac_status); }; }; then
42097 eval "$as_ac_var=yes"
42098 else
42099 echo "$as_me: failed program was:" >&5
42100 sed 's/^/| /' conftest.$ac_ext >&5
42101
42102 eval "$as_ac_var=no"
42103 fi
42104 rm -f conftest.err conftest.$ac_objext \
42105 conftest$ac_exeext conftest.$ac_ext
42106 fi
42107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42108 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42109 if test `eval echo '${'$as_ac_var'}'` = yes; then
42110 cat >>confdefs.h <<_ACEOF
42111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42112 _ACEOF
42113
42114 cat >>confdefs.h <<\_ACEOF
42115 #define HAVE_DLOPEN 1
42116 _ACEOF
42117
42118 HAVE_DL_FUNCS=1
42119
42120 else
42121
42122 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42123 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
42124 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42125 echo $ECHO_N "(cached) $ECHO_C" >&6
42126 else
42127 ac_check_lib_save_LIBS=$LIBS
42128 LIBS="-ldl $LIBS"
42129 cat >conftest.$ac_ext <<_ACEOF
42130 /* confdefs.h. */
42131 _ACEOF
42132 cat confdefs.h >>conftest.$ac_ext
42133 cat >>conftest.$ac_ext <<_ACEOF
42134 /* end confdefs.h. */
42135
42136 /* Override any gcc2 internal prototype to avoid an error. */
42137 #ifdef __cplusplus
42138 extern "C"
42139 #endif
42140 /* We use char because int might match the return type of a gcc2
42141 builtin and then its argument prototype would still apply. */
42142 char dlopen ();
42143 int
42144 main ()
42145 {
42146 dlopen ();
42147 ;
42148 return 0;
42149 }
42150 _ACEOF
42151 rm -f conftest.$ac_objext conftest$ac_exeext
42152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42153 (eval $ac_link) 2>conftest.er1
42154 ac_status=$?
42155 grep -v '^ *+' conftest.er1 >conftest.err
42156 rm -f conftest.er1
42157 cat conftest.err >&5
42158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42159 (exit $ac_status); } &&
42160 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42162 (eval $ac_try) 2>&5
42163 ac_status=$?
42164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42165 (exit $ac_status); }; } &&
42166 { ac_try='test -s conftest$ac_exeext'
42167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42168 (eval $ac_try) 2>&5
42169 ac_status=$?
42170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42171 (exit $ac_status); }; }; then
42172 ac_cv_lib_dl_dlopen=yes
42173 else
42174 echo "$as_me: failed program was:" >&5
42175 sed 's/^/| /' conftest.$ac_ext >&5
42176
42177 ac_cv_lib_dl_dlopen=no
42178 fi
42179 rm -f conftest.err conftest.$ac_objext \
42180 conftest$ac_exeext conftest.$ac_ext
42181 LIBS=$ac_check_lib_save_LIBS
42182 fi
42183 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42184 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
42185 if test $ac_cv_lib_dl_dlopen = yes; then
42186
42187 cat >>confdefs.h <<\_ACEOF
42188 #define HAVE_DLOPEN 1
42189 _ACEOF
42190
42191 HAVE_DL_FUNCS=1
42192 DL_LINK=" -ldl$DL_LINK"
42193
42194 else
42195
42196
42197 for ac_func in shl_load
42198 do
42199 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42200 echo "$as_me:$LINENO: checking for $ac_func" >&5
42201 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42202 if eval "test \"\${$as_ac_var+set}\" = set"; then
42203 echo $ECHO_N "(cached) $ECHO_C" >&6
42204 else
42205 cat >conftest.$ac_ext <<_ACEOF
42206 /* confdefs.h. */
42207 _ACEOF
42208 cat confdefs.h >>conftest.$ac_ext
42209 cat >>conftest.$ac_ext <<_ACEOF
42210 /* end confdefs.h. */
42211 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42212 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42213 #define $ac_func innocuous_$ac_func
42214
42215 /* System header to define __stub macros and hopefully few prototypes,
42216 which can conflict with char $ac_func (); below.
42217 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42218 <limits.h> exists even on freestanding compilers. */
42219
42220 #ifdef __STDC__
42221 # include <limits.h>
42222 #else
42223 # include <assert.h>
42224 #endif
42225
42226 #undef $ac_func
42227
42228 /* Override any gcc2 internal prototype to avoid an error. */
42229 #ifdef __cplusplus
42230 extern "C"
42231 {
42232 #endif
42233 /* We use char because int might match the return type of a gcc2
42234 builtin and then its argument prototype would still apply. */
42235 char $ac_func ();
42236 /* The GNU C library defines this for functions which it implements
42237 to always fail with ENOSYS. Some functions are actually named
42238 something starting with __ and the normal name is an alias. */
42239 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42240 choke me
42241 #else
42242 char (*f) () = $ac_func;
42243 #endif
42244 #ifdef __cplusplus
42245 }
42246 #endif
42247
42248 int
42249 main ()
42250 {
42251 return f != $ac_func;
42252 ;
42253 return 0;
42254 }
42255 _ACEOF
42256 rm -f conftest.$ac_objext conftest$ac_exeext
42257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42258 (eval $ac_link) 2>conftest.er1
42259 ac_status=$?
42260 grep -v '^ *+' conftest.er1 >conftest.err
42261 rm -f conftest.er1
42262 cat conftest.err >&5
42263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42264 (exit $ac_status); } &&
42265 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42267 (eval $ac_try) 2>&5
42268 ac_status=$?
42269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42270 (exit $ac_status); }; } &&
42271 { ac_try='test -s conftest$ac_exeext'
42272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42273 (eval $ac_try) 2>&5
42274 ac_status=$?
42275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42276 (exit $ac_status); }; }; then
42277 eval "$as_ac_var=yes"
42278 else
42279 echo "$as_me: failed program was:" >&5
42280 sed 's/^/| /' conftest.$ac_ext >&5
42281
42282 eval "$as_ac_var=no"
42283 fi
42284 rm -f conftest.err conftest.$ac_objext \
42285 conftest$ac_exeext conftest.$ac_ext
42286 fi
42287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42289 if test `eval echo '${'$as_ac_var'}'` = yes; then
42290 cat >>confdefs.h <<_ACEOF
42291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42292 _ACEOF
42293
42294 cat >>confdefs.h <<\_ACEOF
42295 #define HAVE_SHL_LOAD 1
42296 _ACEOF
42297
42298 HAVE_SHL_FUNCS=1
42299
42300 else
42301
42302 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42303 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
42304 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42305 echo $ECHO_N "(cached) $ECHO_C" >&6
42306 else
42307 ac_check_lib_save_LIBS=$LIBS
42308 LIBS="-lshl_load $LIBS"
42309 cat >conftest.$ac_ext <<_ACEOF
42310 /* confdefs.h. */
42311 _ACEOF
42312 cat confdefs.h >>conftest.$ac_ext
42313 cat >>conftest.$ac_ext <<_ACEOF
42314 /* end confdefs.h. */
42315
42316 /* Override any gcc2 internal prototype to avoid an error. */
42317 #ifdef __cplusplus
42318 extern "C"
42319 #endif
42320 /* We use char because int might match the return type of a gcc2
42321 builtin and then its argument prototype would still apply. */
42322 char dld ();
42323 int
42324 main ()
42325 {
42326 dld ();
42327 ;
42328 return 0;
42329 }
42330 _ACEOF
42331 rm -f conftest.$ac_objext conftest$ac_exeext
42332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42333 (eval $ac_link) 2>conftest.er1
42334 ac_status=$?
42335 grep -v '^ *+' conftest.er1 >conftest.err
42336 rm -f conftest.er1
42337 cat conftest.err >&5
42338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42339 (exit $ac_status); } &&
42340 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42342 (eval $ac_try) 2>&5
42343 ac_status=$?
42344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42345 (exit $ac_status); }; } &&
42346 { ac_try='test -s conftest$ac_exeext'
42347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42348 (eval $ac_try) 2>&5
42349 ac_status=$?
42350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42351 (exit $ac_status); }; }; then
42352 ac_cv_lib_shl_load_dld=yes
42353 else
42354 echo "$as_me: failed program was:" >&5
42355 sed 's/^/| /' conftest.$ac_ext >&5
42356
42357 ac_cv_lib_shl_load_dld=no
42358 fi
42359 rm -f conftest.err conftest.$ac_objext \
42360 conftest$ac_exeext conftest.$ac_ext
42361 LIBS=$ac_check_lib_save_LIBS
42362 fi
42363 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42364 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
42365 if test $ac_cv_lib_shl_load_dld = yes; then
42366
42367 HAVE_SHL_FUNCS=1
42368 DL_LINK=" -ldld$DL_LINK"
42369
42370 fi
42371
42372
42373 fi
42374 done
42375
42376
42377 fi
42378
42379
42380 fi
42381 done
42382
42383
42384 if test "$HAVE_DL_FUNCS" = 1; then
42385
42386 for ac_func in dlerror
42387 do
42388 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42389 echo "$as_me:$LINENO: checking for $ac_func" >&5
42390 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42391 if eval "test \"\${$as_ac_var+set}\" = set"; then
42392 echo $ECHO_N "(cached) $ECHO_C" >&6
42393 else
42394 cat >conftest.$ac_ext <<_ACEOF
42395 /* confdefs.h. */
42396 _ACEOF
42397 cat confdefs.h >>conftest.$ac_ext
42398 cat >>conftest.$ac_ext <<_ACEOF
42399 /* end confdefs.h. */
42400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42402 #define $ac_func innocuous_$ac_func
42403
42404 /* System header to define __stub macros and hopefully few prototypes,
42405 which can conflict with char $ac_func (); below.
42406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42407 <limits.h> exists even on freestanding compilers. */
42408
42409 #ifdef __STDC__
42410 # include <limits.h>
42411 #else
42412 # include <assert.h>
42413 #endif
42414
42415 #undef $ac_func
42416
42417 /* Override any gcc2 internal prototype to avoid an error. */
42418 #ifdef __cplusplus
42419 extern "C"
42420 {
42421 #endif
42422 /* We use char because int might match the return type of a gcc2
42423 builtin and then its argument prototype would still apply. */
42424 char $ac_func ();
42425 /* The GNU C library defines this for functions which it implements
42426 to always fail with ENOSYS. Some functions are actually named
42427 something starting with __ and the normal name is an alias. */
42428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42429 choke me
42430 #else
42431 char (*f) () = $ac_func;
42432 #endif
42433 #ifdef __cplusplus
42434 }
42435 #endif
42436
42437 int
42438 main ()
42439 {
42440 return f != $ac_func;
42441 ;
42442 return 0;
42443 }
42444 _ACEOF
42445 rm -f conftest.$ac_objext conftest$ac_exeext
42446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42447 (eval $ac_link) 2>conftest.er1
42448 ac_status=$?
42449 grep -v '^ *+' conftest.er1 >conftest.err
42450 rm -f conftest.er1
42451 cat conftest.err >&5
42452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42453 (exit $ac_status); } &&
42454 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42456 (eval $ac_try) 2>&5
42457 ac_status=$?
42458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42459 (exit $ac_status); }; } &&
42460 { ac_try='test -s conftest$ac_exeext'
42461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42462 (eval $ac_try) 2>&5
42463 ac_status=$?
42464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42465 (exit $ac_status); }; }; then
42466 eval "$as_ac_var=yes"
42467 else
42468 echo "$as_me: failed program was:" >&5
42469 sed 's/^/| /' conftest.$ac_ext >&5
42470
42471 eval "$as_ac_var=no"
42472 fi
42473 rm -f conftest.err conftest.$ac_objext \
42474 conftest$ac_exeext conftest.$ac_ext
42475 fi
42476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42478 if test `eval echo '${'$as_ac_var'}'` = yes; then
42479 cat >>confdefs.h <<_ACEOF
42480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42481 _ACEOF
42482 cat >>confdefs.h <<\_ACEOF
42483 #define HAVE_DLERROR 1
42484 _ACEOF
42485
42486 else
42487
42488 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42489 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
42490 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42491 echo $ECHO_N "(cached) $ECHO_C" >&6
42492 else
42493 ac_check_lib_save_LIBS=$LIBS
42494 LIBS="-ldl $LIBS"
42495 cat >conftest.$ac_ext <<_ACEOF
42496 /* confdefs.h. */
42497 _ACEOF
42498 cat confdefs.h >>conftest.$ac_ext
42499 cat >>conftest.$ac_ext <<_ACEOF
42500 /* end confdefs.h. */
42501
42502 /* Override any gcc2 internal prototype to avoid an error. */
42503 #ifdef __cplusplus
42504 extern "C"
42505 #endif
42506 /* We use char because int might match the return type of a gcc2
42507 builtin and then its argument prototype would still apply. */
42508 char dlerror ();
42509 int
42510 main ()
42511 {
42512 dlerror ();
42513 ;
42514 return 0;
42515 }
42516 _ACEOF
42517 rm -f conftest.$ac_objext conftest$ac_exeext
42518 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42519 (eval $ac_link) 2>conftest.er1
42520 ac_status=$?
42521 grep -v '^ *+' conftest.er1 >conftest.err
42522 rm -f conftest.er1
42523 cat conftest.err >&5
42524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42525 (exit $ac_status); } &&
42526 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42528 (eval $ac_try) 2>&5
42529 ac_status=$?
42530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42531 (exit $ac_status); }; } &&
42532 { ac_try='test -s conftest$ac_exeext'
42533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42534 (eval $ac_try) 2>&5
42535 ac_status=$?
42536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42537 (exit $ac_status); }; }; then
42538 ac_cv_lib_dl_dlerror=yes
42539 else
42540 echo "$as_me: failed program was:" >&5
42541 sed 's/^/| /' conftest.$ac_ext >&5
42542
42543 ac_cv_lib_dl_dlerror=no
42544 fi
42545 rm -f conftest.err conftest.$ac_objext \
42546 conftest$ac_exeext conftest.$ac_ext
42547 LIBS=$ac_check_lib_save_LIBS
42548 fi
42549 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42550 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
42551 if test $ac_cv_lib_dl_dlerror = yes; then
42552 cat >>confdefs.h <<\_ACEOF
42553 #define HAVE_DLERROR 1
42554 _ACEOF
42555
42556 fi
42557
42558
42559
42560 fi
42561 done
42562
42563 fi
42564 fi
42565
42566 if test "$HAVE_DL_FUNCS" = 0; then
42567 if test "$HAVE_SHL_FUNCS" = 0; then
42568 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42569 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42570 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42571 wxUSE_DYNAMIC_LOADER=no
42572 wxUSE_DYNLIB_CLASS=no
42573 else
42574 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42575 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42576 fi
42577 fi
42578 fi
42579 fi
42580 fi
42581
42582 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42583 cat >>confdefs.h <<\_ACEOF
42584 #define wxUSE_DYNAMIC_LOADER 1
42585 _ACEOF
42586
42587 fi
42588 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42589 cat >>confdefs.h <<\_ACEOF
42590 #define wxUSE_DYNLIB_CLASS 1
42591 _ACEOF
42592
42593 fi
42594
42595
42596
42597 if test "$wxUSE_PLUGINS" = "yes" ; then
42598 if test "$wxUSE_SHARED" = "no" ; then
42599 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42600 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42601 wxUSE_PLUGINS=no
42602 fi
42603 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42604 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42605 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42606 wxUSE_PLUGINS=no
42607 fi
42608 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42609 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42610 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42611 wxUSE_PLUGINS=no
42612 fi
42613 if test "$wxUSE_PLUGINS" = "yes" ; then
42614 cat >>confdefs.h <<\_ACEOF
42615 #define wxUSE_PLUGINS 1
42616 _ACEOF
42617
42618 fi
42619 fi
42620
42621
42622 if test "$wxUSE_STL" = "yes"; then
42623 cat >>confdefs.h <<\_ACEOF
42624 #define wxUSE_STL 1
42625 _ACEOF
42626
42627 fi
42628
42629 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42630 cat >>confdefs.h <<\_ACEOF
42631 #define wxUSE_APPLE_IEEE 1
42632 _ACEOF
42633
42634 fi
42635
42636 if test "$wxUSE_TIMER" = "yes"; then
42637 cat >>confdefs.h <<\_ACEOF
42638 #define wxUSE_TIMER 1
42639 _ACEOF
42640
42641 fi
42642
42643 if test "$USE_UNIX" = "1" ; then
42644 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42645 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42646 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42647 echo $ECHO_N "(cached) $ECHO_C" >&6
42648 else
42649
42650 cat >conftest.$ac_ext <<_ACEOF
42651 /* confdefs.h. */
42652 _ACEOF
42653 cat confdefs.h >>conftest.$ac_ext
42654 cat >>conftest.$ac_ext <<_ACEOF
42655 /* end confdefs.h. */
42656
42657 #include <sys/ioctl.h>
42658 #include <sys/soundcard.h>
42659
42660 int
42661 main ()
42662 {
42663
42664 ioctl(0, SNDCTL_DSP_SPEED, 0);
42665
42666 ;
42667 return 0;
42668 }
42669 _ACEOF
42670 rm -f conftest.$ac_objext conftest$ac_exeext
42671 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42672 (eval $ac_link) 2>conftest.er1
42673 ac_status=$?
42674 grep -v '^ *+' conftest.er1 >conftest.err
42675 rm -f conftest.er1
42676 cat conftest.err >&5
42677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42678 (exit $ac_status); } &&
42679 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42681 (eval $ac_try) 2>&5
42682 ac_status=$?
42683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42684 (exit $ac_status); }; } &&
42685 { ac_try='test -s conftest$ac_exeext'
42686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42687 (eval $ac_try) 2>&5
42688 ac_status=$?
42689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42690 (exit $ac_status); }; }; then
42691 ac_cv_header_sys_soundcard=yes
42692 else
42693 echo "$as_me: failed program was:" >&5
42694 sed 's/^/| /' conftest.$ac_ext >&5
42695
42696
42697 saveLibs="$LIBS"
42698 LIBS="$saveLibs -lossaudio"
42699 cat >conftest.$ac_ext <<_ACEOF
42700 /* confdefs.h. */
42701 _ACEOF
42702 cat confdefs.h >>conftest.$ac_ext
42703 cat >>conftest.$ac_ext <<_ACEOF
42704 /* end confdefs.h. */
42705
42706 #include <sys/ioctl.h>
42707 #include <sys/soundcard.h>
42708
42709 int
42710 main ()
42711 {
42712
42713 ioctl(0, SNDCTL_DSP_SPEED, 0);
42714
42715 ;
42716 return 0;
42717 }
42718 _ACEOF
42719 rm -f conftest.$ac_objext conftest$ac_exeext
42720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42721 (eval $ac_link) 2>conftest.er1
42722 ac_status=$?
42723 grep -v '^ *+' conftest.er1 >conftest.err
42724 rm -f conftest.er1
42725 cat conftest.err >&5
42726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42727 (exit $ac_status); } &&
42728 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42730 (eval $ac_try) 2>&5
42731 ac_status=$?
42732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42733 (exit $ac_status); }; } &&
42734 { ac_try='test -s conftest$ac_exeext'
42735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42736 (eval $ac_try) 2>&5
42737 ac_status=$?
42738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42739 (exit $ac_status); }; }; then
42740 ac_cv_header_sys_soundcard=yes
42741 else
42742 echo "$as_me: failed program was:" >&5
42743 sed 's/^/| /' conftest.$ac_ext >&5
42744
42745
42746 LIBS="$saveLibs"
42747 ac_cv_header_sys_soundcard=no
42748
42749
42750 fi
42751 rm -f conftest.err conftest.$ac_objext \
42752 conftest$ac_exeext conftest.$ac_ext
42753
42754
42755 fi
42756 rm -f conftest.err conftest.$ac_objext \
42757 conftest$ac_exeext conftest.$ac_ext
42758
42759 fi
42760 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42761 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42762
42763 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42764 cat >>confdefs.h <<\_ACEOF
42765 #define HAVE_SYS_SOUNDCARD_H 1
42766 _ACEOF
42767
42768 else
42769 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
42770 fi
42771 fi
42772 WITH_PLUGIN_SDL=0
42773 if test "$wxUSE_SOUND" = "yes"; then
42774 if test "$USE_UNIX" = "1" ; then
42775 if test "$wxUSE_LIBSDL" != "no"; then
42776
42777 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42778 if test "${with_sdl_prefix+set}" = set; then
42779 withval="$with_sdl_prefix"
42780 sdl_prefix="$withval"
42781 else
42782 sdl_prefix=""
42783 fi;
42784
42785 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42786 if test "${with_sdl_exec_prefix+set}" = set; then
42787 withval="$with_sdl_exec_prefix"
42788 sdl_exec_prefix="$withval"
42789 else
42790 sdl_exec_prefix=""
42791 fi;
42792 # Check whether --enable-sdltest or --disable-sdltest was given.
42793 if test "${enable_sdltest+set}" = set; then
42794 enableval="$enable_sdltest"
42795
42796 else
42797 enable_sdltest=yes
42798 fi;
42799
42800 if test x$sdl_exec_prefix != x ; then
42801 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42802 if test x${SDL_CONFIG+set} != xset ; then
42803 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42804 fi
42805 fi
42806 if test x$sdl_prefix != x ; then
42807 sdl_args="$sdl_args --prefix=$sdl_prefix"
42808 if test x${SDL_CONFIG+set} != xset ; then
42809 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42810 fi
42811 fi
42812
42813 if test "x$prefix" != xNONE; then
42814 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42815 fi
42816 # Extract the first word of "sdl-config", so it can be a program name with args.
42817 set dummy sdl-config; ac_word=$2
42818 echo "$as_me:$LINENO: checking for $ac_word" >&5
42819 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42820 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42821 echo $ECHO_N "(cached) $ECHO_C" >&6
42822 else
42823 case $SDL_CONFIG in
42824 [\\/]* | ?:[\\/]*)
42825 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42826 ;;
42827 *)
42828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42829 for as_dir in $PATH
42830 do
42831 IFS=$as_save_IFS
42832 test -z "$as_dir" && as_dir=.
42833 for ac_exec_ext in '' $ac_executable_extensions; do
42834 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42835 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42836 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42837 break 2
42838 fi
42839 done
42840 done
42841
42842 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42843 ;;
42844 esac
42845 fi
42846 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42847
42848 if test -n "$SDL_CONFIG"; then
42849 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42850 echo "${ECHO_T}$SDL_CONFIG" >&6
42851 else
42852 echo "$as_me:$LINENO: result: no" >&5
42853 echo "${ECHO_T}no" >&6
42854 fi
42855
42856 min_sdl_version=1.2.0
42857 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42858 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
42859 no_sdl=""
42860 if test "$SDL_CONFIG" = "no" ; then
42861 no_sdl=yes
42862 else
42863 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42864 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42865
42866 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42867 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42868 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42869 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42870 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42871 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42872 if test "x$enable_sdltest" = "xyes" ; then
42873 ac_save_CFLAGS="$CFLAGS"
42874 ac_save_CXXFLAGS="$CXXFLAGS"
42875 ac_save_LIBS="$LIBS"
42876 CFLAGS="$CFLAGS $SDL_CFLAGS"
42877 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42878 LIBS="$LIBS $SDL_LIBS"
42879 rm -f conf.sdltest
42880 if test "$cross_compiling" = yes; then
42881 echo $ac_n "cross compiling; assumed OK... $ac_c"
42882 else
42883 cat >conftest.$ac_ext <<_ACEOF
42884 /* confdefs.h. */
42885 _ACEOF
42886 cat confdefs.h >>conftest.$ac_ext
42887 cat >>conftest.$ac_ext <<_ACEOF
42888 /* end confdefs.h. */
42889
42890 #include <stdio.h>
42891 #include <stdlib.h>
42892 #include <string.h>
42893 #include "SDL.h"
42894
42895 char*
42896 my_strdup (char *str)
42897 {
42898 char *new_str;
42899
42900 if (str)
42901 {
42902 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42903 strcpy (new_str, str);
42904 }
42905 else
42906 new_str = NULL;
42907
42908 return new_str;
42909 }
42910
42911 int main (int argc, char *argv[])
42912 {
42913 int major, minor, micro;
42914 char *tmp_version;
42915
42916 /* This hangs on some systems (?)
42917 system ("touch conf.sdltest");
42918 */
42919 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42920
42921 /* HP/UX 9 (%@#!) writes to sscanf strings */
42922 tmp_version = my_strdup("$min_sdl_version");
42923 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42924 printf("%s, bad version string\n", "$min_sdl_version");
42925 exit(1);
42926 }
42927
42928 if (($sdl_major_version > major) ||
42929 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42930 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42931 {
42932 return 0;
42933 }
42934 else
42935 {
42936 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42937 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42938 printf("*** best to upgrade to the required version.\n");
42939 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42940 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42941 printf("*** config.cache before re-running configure\n");
42942 return 1;
42943 }
42944 }
42945
42946
42947 _ACEOF
42948 rm -f conftest$ac_exeext
42949 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42950 (eval $ac_link) 2>&5
42951 ac_status=$?
42952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42953 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42955 (eval $ac_try) 2>&5
42956 ac_status=$?
42957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42958 (exit $ac_status); }; }; then
42959 :
42960 else
42961 echo "$as_me: program exited with status $ac_status" >&5
42962 echo "$as_me: failed program was:" >&5
42963 sed 's/^/| /' conftest.$ac_ext >&5
42964
42965 ( exit $ac_status )
42966 no_sdl=yes
42967 fi
42968 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42969 fi
42970 CFLAGS="$ac_save_CFLAGS"
42971 CXXFLAGS="$ac_save_CXXFLAGS"
42972 LIBS="$ac_save_LIBS"
42973 fi
42974 fi
42975 if test "x$no_sdl" = x ; then
42976 echo "$as_me:$LINENO: result: yes" >&5
42977 echo "${ECHO_T}yes" >&6
42978
42979 EXTRALIBS_SDL="$SDL_LIBS"
42980 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42981 cat >>confdefs.h <<\_ACEOF
42982 #define wxUSE_LIBSDL 1
42983 _ACEOF
42984
42985
42986 else
42987 echo "$as_me:$LINENO: result: no" >&5
42988 echo "${ECHO_T}no" >&6
42989 if test "$SDL_CONFIG" = "no" ; then
42990 echo "*** The sdl-config script installed by SDL could not be found"
42991 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42992 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42993 echo "*** full path to sdl-config."
42994 else
42995 if test -f conf.sdltest ; then
42996 :
42997 else
42998 echo "*** Could not run SDL test program, checking why..."
42999 CFLAGS="$CFLAGS $SDL_CFLAGS"
43000 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43001 LIBS="$LIBS $SDL_LIBS"
43002 cat >conftest.$ac_ext <<_ACEOF
43003 /* confdefs.h. */
43004 _ACEOF
43005 cat confdefs.h >>conftest.$ac_ext
43006 cat >>conftest.$ac_ext <<_ACEOF
43007 /* end confdefs.h. */
43008
43009 #include <stdio.h>
43010 #include "SDL.h"
43011
43012 int main(int argc, char *argv[])
43013 { return 0; }
43014 #undef main
43015 #define main K_and_R_C_main
43016
43017 int
43018 main ()
43019 {
43020 return 0;
43021 ;
43022 return 0;
43023 }
43024 _ACEOF
43025 rm -f conftest.$ac_objext conftest$ac_exeext
43026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43027 (eval $ac_link) 2>conftest.er1
43028 ac_status=$?
43029 grep -v '^ *+' conftest.er1 >conftest.err
43030 rm -f conftest.er1
43031 cat conftest.err >&5
43032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43033 (exit $ac_status); } &&
43034 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43036 (eval $ac_try) 2>&5
43037 ac_status=$?
43038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43039 (exit $ac_status); }; } &&
43040 { ac_try='test -s conftest$ac_exeext'
43041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43042 (eval $ac_try) 2>&5
43043 ac_status=$?
43044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43045 (exit $ac_status); }; }; then
43046 echo "*** The test program compiled, but did not run. This usually means"
43047 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43048 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43049 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43050 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43051 echo "*** is required on your system"
43052 echo "***"
43053 echo "*** If you have an old version installed, it is best to remove it, although"
43054 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43055 else
43056 echo "$as_me: failed program was:" >&5
43057 sed 's/^/| /' conftest.$ac_ext >&5
43058
43059 echo "*** The test program failed to compile or link. See the file config.log for the"
43060 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43061 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43062 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43063 fi
43064 rm -f conftest.err conftest.$ac_objext \
43065 conftest$ac_exeext conftest.$ac_ext
43066 CFLAGS="$ac_save_CFLAGS"
43067 CXXFLAGS="$ac_save_CXXFLAGS"
43068 LIBS="$ac_save_LIBS"
43069 fi
43070 fi
43071 SDL_CFLAGS=""
43072 SDL_LIBS=""
43073 wxUSE_LIBSDL="no"
43074 fi
43075
43076
43077 rm -f conf.sdltest
43078
43079 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43080 WITH_PLUGIN_SDL=1
43081 fi
43082 fi
43083 fi
43084
43085 cat >>confdefs.h <<\_ACEOF
43086 #define wxUSE_SOUND 1
43087 _ACEOF
43088
43089 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
43090 fi
43091
43092 if test "$WXGTK20" = 1; then
43093 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43094 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43095
43096
43097 pkg_failed=no
43098 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43099 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
43100
43101 if test -n "$PKG_CONFIG"; then
43102 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43103 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
43104 else
43105 if test -n "$PKG_CONFIG" && \
43106 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43107 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43108 ac_status=$?
43109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43110 (exit $ac_status); }; then
43111 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43112 else
43113 pkg_failed=yes
43114 fi
43115 fi
43116 else
43117 pkg_failed=untried
43118 fi
43119 if test -n "$PKG_CONFIG"; then
43120 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43121 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
43122 else
43123 if test -n "$PKG_CONFIG" && \
43124 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43125 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43126 ac_status=$?
43127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43128 (exit $ac_status); }; then
43129 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43130 else
43131 pkg_failed=yes
43132 fi
43133 fi
43134 else
43135 pkg_failed=untried
43136 fi
43137
43138
43139
43140 if test $pkg_failed = yes; then
43141
43142 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43143 _pkg_short_errors_supported=yes
43144 else
43145 _pkg_short_errors_supported=no
43146 fi
43147 if test $_pkg_short_errors_supported = yes; then
43148 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43149 else
43150 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43151 fi
43152 # Put the nasty error message in config.log where it belongs
43153 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43154
43155
43156 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43157 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43158 wxUSE_LIBGNOMEPRINT="no"
43159
43160
43161 elif test $pkg_failed = untried; then
43162
43163 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43164 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43165 wxUSE_LIBGNOMEPRINT="no"
43166
43167
43168 else
43169 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43170 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43171 echo "$as_me:$LINENO: result: yes" >&5
43172 echo "${ECHO_T}yes" >&6
43173
43174 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43175 cat >>confdefs.h <<\_ACEOF
43176 #define wxUSE_LIBGNOMEPRINT 1
43177 _ACEOF
43178
43179
43180 fi
43181 fi
43182 fi
43183 fi
43184
43185 if test "$WXGTK20" = 1; then
43186 if test "$wxUSE_MIMETYPE" = "yes" ; then
43187 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43188
43189
43190 pkg_failed=no
43191 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43192 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
43193
43194 if test -n "$PKG_CONFIG"; then
43195 if test -n "$GNOMEVFS_CFLAGS"; then
43196 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
43197 else
43198 if test -n "$PKG_CONFIG" && \
43199 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43200 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43201 ac_status=$?
43202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43203 (exit $ac_status); }; then
43204 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43205 else
43206 pkg_failed=yes
43207 fi
43208 fi
43209 else
43210 pkg_failed=untried
43211 fi
43212 if test -n "$PKG_CONFIG"; then
43213 if test -n "$GNOMEVFS_LIBS"; then
43214 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
43215 else
43216 if test -n "$PKG_CONFIG" && \
43217 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43218 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43219 ac_status=$?
43220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43221 (exit $ac_status); }; then
43222 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43223 else
43224 pkg_failed=yes
43225 fi
43226 fi
43227 else
43228 pkg_failed=untried
43229 fi
43230
43231
43232
43233 if test $pkg_failed = yes; then
43234
43235 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43236 _pkg_short_errors_supported=yes
43237 else
43238 _pkg_short_errors_supported=no
43239 fi
43240 if test $_pkg_short_errors_supported = yes; then
43241 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43242 else
43243 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43244 fi
43245 # Put the nasty error message in config.log where it belongs
43246 echo "$GNOMEVFS_PKG_ERRORS" >&5
43247
43248
43249 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43250 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43251 wxUSE_LIBGNOMEVFS="no"
43252
43253
43254 elif test $pkg_failed = untried; then
43255
43256 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43257 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43258 wxUSE_LIBGNOMEVFS="no"
43259
43260
43261 else
43262 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43263 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43264 echo "$as_me:$LINENO: result: yes" >&5
43265 echo "${ECHO_T}yes" >&6
43266
43267 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43268 cat >>confdefs.h <<\_ACEOF
43269 #define wxUSE_LIBGNOMEVFS 1
43270 _ACEOF
43271
43272
43273 fi
43274 fi
43275 fi
43276 fi
43277
43278 if test "$WXGTK20" = 1; then
43279 if test "$wxUSE_LIBHILDON" = "yes" ; then
43280
43281 pkg_failed=no
43282 echo "$as_me:$LINENO: checking for HILDON" >&5
43283 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
43284
43285 if test -n "$PKG_CONFIG"; then
43286 if test -n "$HILDON_CFLAGS"; then
43287 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43288 else
43289 if test -n "$PKG_CONFIG" && \
43290 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43291 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43292 ac_status=$?
43293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43294 (exit $ac_status); }; then
43295 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43296 else
43297 pkg_failed=yes
43298 fi
43299 fi
43300 else
43301 pkg_failed=untried
43302 fi
43303 if test -n "$PKG_CONFIG"; then
43304 if test -n "$HILDON_LIBS"; then
43305 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43306 else
43307 if test -n "$PKG_CONFIG" && \
43308 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43309 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43310 ac_status=$?
43311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43312 (exit $ac_status); }; then
43313 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43314 else
43315 pkg_failed=yes
43316 fi
43317 fi
43318 else
43319 pkg_failed=untried
43320 fi
43321
43322
43323
43324 if test $pkg_failed = yes; then
43325
43326 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43327 _pkg_short_errors_supported=yes
43328 else
43329 _pkg_short_errors_supported=no
43330 fi
43331 if test $_pkg_short_errors_supported = yes; then
43332 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43333 else
43334 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43335 fi
43336 # Put the nasty error message in config.log where it belongs
43337 echo "$HILDON_PKG_ERRORS" >&5
43338
43339
43340 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43341 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43342 wxUSE_LIBHILDON="no"
43343
43344
43345 elif test $pkg_failed = untried; then
43346
43347 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43348 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43349 wxUSE_LIBHILDON="no"
43350
43351
43352 else
43353 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43354 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43355 echo "$as_me:$LINENO: result: yes" >&5
43356 echo "${ECHO_T}yes" >&6
43357
43358 EXTRALIBS_HILDON="$HILDON_LIBS"
43359 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43360 cat >>confdefs.h <<\_ACEOF
43361 #define wxUSE_LIBHILDON 1
43362 _ACEOF
43363
43364
43365 fi
43366 fi
43367 fi
43368
43369 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43370 cat >>confdefs.h <<\_ACEOF
43371 #define wxUSE_CMDLINE_PARSER 1
43372 _ACEOF
43373
43374 fi
43375
43376 if test "$wxUSE_STOPWATCH" = "yes"; then
43377 cat >>confdefs.h <<\_ACEOF
43378 #define wxUSE_STOPWATCH 1
43379 _ACEOF
43380
43381 fi
43382
43383 if test "$wxUSE_DATETIME" = "yes"; then
43384 cat >>confdefs.h <<\_ACEOF
43385 #define wxUSE_DATETIME 1
43386 _ACEOF
43387
43388 fi
43389
43390 if test "$wxUSE_FILE" = "yes"; then
43391 cat >>confdefs.h <<\_ACEOF
43392 #define wxUSE_FILE 1
43393 _ACEOF
43394
43395 fi
43396
43397 if test "$wxUSE_FFILE" = "yes"; then
43398 cat >>confdefs.h <<\_ACEOF
43399 #define wxUSE_FFILE 1
43400 _ACEOF
43401
43402 fi
43403
43404 if test "$wxUSE_FILESYSTEM" = "yes"; then
43405 cat >>confdefs.h <<\_ACEOF
43406 #define wxUSE_FILESYSTEM 1
43407 _ACEOF
43408
43409 fi
43410
43411 if test "$wxUSE_FS_ZIP" = "yes"; then
43412 cat >>confdefs.h <<\_ACEOF
43413 #define wxUSE_FS_ZIP 1
43414 _ACEOF
43415
43416 fi
43417
43418 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43419 if test "$wxUSE_STREAMS" != yes; then
43420 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43421 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43422 else
43423 cat >>confdefs.h <<\_ACEOF
43424 #define wxUSE_ARCHIVE_STREAMS 1
43425 _ACEOF
43426
43427 fi
43428 fi
43429
43430 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43431 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43432 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43433 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43434 elif test "$wxUSE_ZLIB" = "no"; then
43435 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43436 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43437 else
43438 cat >>confdefs.h <<\_ACEOF
43439 #define wxUSE_ZIPSTREAM 1
43440 _ACEOF
43441
43442 fi
43443 fi
43444
43445 if test "$wxUSE_TARSTREAM" = "yes"; then
43446 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43447 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43448 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43449 else
43450 cat >>confdefs.h <<\_ACEOF
43451 #define wxUSE_TARSTREAM 1
43452 _ACEOF
43453
43454 fi
43455 fi
43456
43457 if test "$wxUSE_BACKINGFILE" = "yes"; then
43458 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43459 { echo "$as_me:$LINENO: WARNING: wxBackingFile requires wxStreams and wxFile or wxFFile... disabled" >&5
43460 echo "$as_me: WARNING: wxBackingFile requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43461 else
43462 cat >>confdefs.h <<\_ACEOF
43463 #define wxUSE_BACKINGFILE 1
43464 _ACEOF
43465
43466 fi
43467 fi
43468
43469 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43470 if test "$wxUSE_ARCHIVE_STREAMS" != yes -o "$wxUSE_BACKINGFILE" != yes; then
43471 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxBackingFile... disabled" >&5
43472 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxBackingFile... disabled" >&2;}
43473 else
43474 cat >>confdefs.h <<\_ACEOF
43475 #define wxUSE_FS_ARCHIVE 1
43476 _ACEOF
43477
43478 fi
43479 fi
43480
43481 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43482 if test "$USE_UNIX" != 1; then
43483 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43484 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43485 wxUSE_ON_FATAL_EXCEPTION=no
43486 else
43487 cat >>confdefs.h <<\_ACEOF
43488 #define wxUSE_ON_FATAL_EXCEPTION 1
43489 _ACEOF
43490
43491 fi
43492 fi
43493
43494 if test "$wxUSE_STACKWALKER" = "yes"; then
43495 cat >>confdefs.h <<\_ACEOF
43496 #define wxUSE_STACKWALKER 1
43497 _ACEOF
43498
43499 fi
43500
43501 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43502 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
43503 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43504 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43505 wxUSE_DEBUGREPORT=no
43506 else
43507 cat >>confdefs.h <<\_ACEOF
43508 #define wxUSE_DEBUGREPORT 1
43509 _ACEOF
43510
43511 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43512 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43513 fi
43514 fi
43515 fi
43516
43517 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43518 cat >>confdefs.h <<\_ACEOF
43519 #define wxUSE_SNGLINST_CHECKER 1
43520 _ACEOF
43521
43522 fi
43523
43524 if test "$wxUSE_BUSYINFO" = "yes"; then
43525 cat >>confdefs.h <<\_ACEOF
43526 #define wxUSE_BUSYINFO 1
43527 _ACEOF
43528
43529 fi
43530
43531 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43532 cat >>confdefs.h <<\_ACEOF
43533 #define wxUSE_STD_IOSTREAM 1
43534 _ACEOF
43535
43536 fi
43537
43538 if test "$wxUSE_STD_STRING" = "yes"; then
43539 cat >>confdefs.h <<\_ACEOF
43540 #define wxUSE_STD_STRING 1
43541 _ACEOF
43542
43543 fi
43544
43545 if test "$wxUSE_STDPATHS" = "yes"; then
43546 cat >>confdefs.h <<\_ACEOF
43547 #define wxUSE_STDPATHS 1
43548 _ACEOF
43549
43550 fi
43551
43552 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43553 cat >>confdefs.h <<\_ACEOF
43554 #define wxUSE_TEXTBUFFER 1
43555 _ACEOF
43556
43557 fi
43558
43559 if test "$wxUSE_TEXTFILE" = "yes"; then
43560 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43561 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43562 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43563 else
43564 cat >>confdefs.h <<\_ACEOF
43565 #define wxUSE_TEXTFILE 1
43566 _ACEOF
43567
43568 fi
43569 fi
43570
43571 if test "$wxUSE_CONFIG" = "yes" ; then
43572 if test "$wxUSE_TEXTFILE" != "yes"; then
43573 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43574 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43575 else
43576 cat >>confdefs.h <<\_ACEOF
43577 #define wxUSE_CONFIG 1
43578 _ACEOF
43579
43580 cat >>confdefs.h <<\_ACEOF
43581 #define wxUSE_CONFIG_NATIVE 1
43582 _ACEOF
43583
43584 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43585 fi
43586 fi
43587
43588 if test "$wxUSE_INTL" = "yes" ; then
43589 if test "$wxUSE_FILE" != "yes"; then
43590 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43591 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43592 else
43593 cat >>confdefs.h <<\_ACEOF
43594 #define wxUSE_INTL 1
43595 _ACEOF
43596
43597 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43598 GUIDIST="$GUIDIST INTL_DIST"
43599 fi
43600 fi
43601
43602 if test "$wxUSE_LOG" = "yes"; then
43603 cat >>confdefs.h <<\_ACEOF
43604 #define wxUSE_LOG 1
43605 _ACEOF
43606
43607
43608 if test "$wxUSE_LOGGUI" = "yes"; then
43609 cat >>confdefs.h <<\_ACEOF
43610 #define wxUSE_LOGGUI 1
43611 _ACEOF
43612
43613 fi
43614
43615 if test "$wxUSE_LOGWINDOW" = "yes"; then
43616 cat >>confdefs.h <<\_ACEOF
43617 #define wxUSE_LOGWINDOW 1
43618 _ACEOF
43619
43620 fi
43621
43622 if test "$wxUSE_LOGDIALOG" = "yes"; then
43623 cat >>confdefs.h <<\_ACEOF
43624 #define wxUSE_LOG_DIALOG 1
43625 _ACEOF
43626
43627 fi
43628
43629 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43630 fi
43631
43632 if test "$wxUSE_LONGLONG" = "yes"; then
43633 cat >>confdefs.h <<\_ACEOF
43634 #define wxUSE_LONGLONG 1
43635 _ACEOF
43636
43637 fi
43638
43639 if test "$wxUSE_GEOMETRY" = "yes"; then
43640 cat >>confdefs.h <<\_ACEOF
43641 #define wxUSE_GEOMETRY 1
43642 _ACEOF
43643
43644 fi
43645
43646 if test "$wxUSE_STREAMS" = "yes" ; then
43647 cat >>confdefs.h <<\_ACEOF
43648 #define wxUSE_STREAMS 1
43649 _ACEOF
43650
43651 fi
43652
43653 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43654 cat >>confdefs.h <<\_ACEOF
43655 #define wxUSE_PRINTF_POS_PARAMS 1
43656 _ACEOF
43657
43658 fi
43659
43660
43661
43662 if test "$wxUSE_DATETIME" = "yes"; then
43663
43664 for ac_func in strptime
43665 do
43666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43667 echo "$as_me:$LINENO: checking for $ac_func" >&5
43668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43669 if eval "test \"\${$as_ac_var+set}\" = set"; then
43670 echo $ECHO_N "(cached) $ECHO_C" >&6
43671 else
43672 cat >conftest.$ac_ext <<_ACEOF
43673 /* confdefs.h. */
43674 _ACEOF
43675 cat confdefs.h >>conftest.$ac_ext
43676 cat >>conftest.$ac_ext <<_ACEOF
43677 /* end confdefs.h. */
43678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43680 #define $ac_func innocuous_$ac_func
43681
43682 /* System header to define __stub macros and hopefully few prototypes,
43683 which can conflict with char $ac_func (); below.
43684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43685 <limits.h> exists even on freestanding compilers. */
43686
43687 #ifdef __STDC__
43688 # include <limits.h>
43689 #else
43690 # include <assert.h>
43691 #endif
43692
43693 #undef $ac_func
43694
43695 /* Override any gcc2 internal prototype to avoid an error. */
43696 #ifdef __cplusplus
43697 extern "C"
43698 {
43699 #endif
43700 /* We use char because int might match the return type of a gcc2
43701 builtin and then its argument prototype would still apply. */
43702 char $ac_func ();
43703 /* The GNU C library defines this for functions which it implements
43704 to always fail with ENOSYS. Some functions are actually named
43705 something starting with __ and the normal name is an alias. */
43706 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43707 choke me
43708 #else
43709 char (*f) () = $ac_func;
43710 #endif
43711 #ifdef __cplusplus
43712 }
43713 #endif
43714
43715 int
43716 main ()
43717 {
43718 return f != $ac_func;
43719 ;
43720 return 0;
43721 }
43722 _ACEOF
43723 rm -f conftest.$ac_objext conftest$ac_exeext
43724 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43725 (eval $ac_link) 2>conftest.er1
43726 ac_status=$?
43727 grep -v '^ *+' conftest.er1 >conftest.err
43728 rm -f conftest.er1
43729 cat conftest.err >&5
43730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43731 (exit $ac_status); } &&
43732 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43734 (eval $ac_try) 2>&5
43735 ac_status=$?
43736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43737 (exit $ac_status); }; } &&
43738 { ac_try='test -s conftest$ac_exeext'
43739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43740 (eval $ac_try) 2>&5
43741 ac_status=$?
43742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43743 (exit $ac_status); }; }; then
43744 eval "$as_ac_var=yes"
43745 else
43746 echo "$as_me: failed program was:" >&5
43747 sed 's/^/| /' conftest.$ac_ext >&5
43748
43749 eval "$as_ac_var=no"
43750 fi
43751 rm -f conftest.err conftest.$ac_objext \
43752 conftest$ac_exeext conftest.$ac_ext
43753 fi
43754 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43755 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43756 if test `eval echo '${'$as_ac_var'}'` = yes; then
43757 cat >>confdefs.h <<_ACEOF
43758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43759 _ACEOF
43760
43761 fi
43762 done
43763
43764 if test "$ac_cv_func_strptime" = "yes"; then
43765 echo "$as_me:$LINENO: checking for strptime declaration" >&5
43766 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
43767 if test "${wx_cv_func_strptime_decl+set}" = set; then
43768 echo $ECHO_N "(cached) $ECHO_C" >&6
43769 else
43770
43771 cat >conftest.$ac_ext <<_ACEOF
43772 /* confdefs.h. */
43773 _ACEOF
43774 cat confdefs.h >>conftest.$ac_ext
43775 cat >>conftest.$ac_ext <<_ACEOF
43776 /* end confdefs.h. */
43777
43778 #include <time.h>
43779
43780 int
43781 main ()
43782 {
43783
43784 struct tm t;
43785 strptime("foo", "bar", &t);
43786
43787 ;
43788 return 0;
43789 }
43790 _ACEOF
43791 rm -f conftest.$ac_objext
43792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43793 (eval $ac_compile) 2>conftest.er1
43794 ac_status=$?
43795 grep -v '^ *+' conftest.er1 >conftest.err
43796 rm -f conftest.er1
43797 cat conftest.err >&5
43798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43799 (exit $ac_status); } &&
43800 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43802 (eval $ac_try) 2>&5
43803 ac_status=$?
43804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43805 (exit $ac_status); }; } &&
43806 { ac_try='test -s conftest.$ac_objext'
43807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43808 (eval $ac_try) 2>&5
43809 ac_status=$?
43810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43811 (exit $ac_status); }; }; then
43812 wx_cv_func_strptime_decl=yes
43813 else
43814 echo "$as_me: failed program was:" >&5
43815 sed 's/^/| /' conftest.$ac_ext >&5
43816
43817 wx_cv_func_strptime_decl=no
43818
43819 fi
43820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43821
43822
43823 fi
43824 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43825 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
43826 fi
43827 if test "$wx_cv_func_strptime_decl" = "yes"; then
43828 cat >>confdefs.h <<\_ACEOF
43829 #define HAVE_STRPTIME_DECL 1
43830 _ACEOF
43831
43832 fi
43833
43834 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43835 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
43836 if test "${wx_cv_var_timezone+set}" = set; then
43837 echo $ECHO_N "(cached) $ECHO_C" >&6
43838 else
43839
43840 cat >conftest.$ac_ext <<_ACEOF
43841 /* confdefs.h. */
43842 _ACEOF
43843 cat confdefs.h >>conftest.$ac_ext
43844 cat >>conftest.$ac_ext <<_ACEOF
43845 /* end confdefs.h. */
43846
43847 #include <time.h>
43848
43849 int
43850 main ()
43851 {
43852
43853 int tz;
43854 tz = timezone;
43855
43856 ;
43857 return 0;
43858 }
43859 _ACEOF
43860 rm -f conftest.$ac_objext
43861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43862 (eval $ac_compile) 2>conftest.er1
43863 ac_status=$?
43864 grep -v '^ *+' conftest.er1 >conftest.err
43865 rm -f conftest.er1
43866 cat conftest.err >&5
43867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43868 (exit $ac_status); } &&
43869 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43871 (eval $ac_try) 2>&5
43872 ac_status=$?
43873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43874 (exit $ac_status); }; } &&
43875 { ac_try='test -s conftest.$ac_objext'
43876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43877 (eval $ac_try) 2>&5
43878 ac_status=$?
43879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43880 (exit $ac_status); }; }; then
43881
43882 wx_cv_var_timezone=timezone
43883
43884 else
43885 echo "$as_me: failed program was:" >&5
43886 sed 's/^/| /' conftest.$ac_ext >&5
43887
43888
43889 cat >conftest.$ac_ext <<_ACEOF
43890 /* confdefs.h. */
43891 _ACEOF
43892 cat confdefs.h >>conftest.$ac_ext
43893 cat >>conftest.$ac_ext <<_ACEOF
43894 /* end confdefs.h. */
43895
43896 #include <time.h>
43897
43898 int
43899 main ()
43900 {
43901
43902 int tz;
43903 tz = _timezone;
43904
43905 ;
43906 return 0;
43907 }
43908 _ACEOF
43909 rm -f conftest.$ac_objext
43910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43911 (eval $ac_compile) 2>conftest.er1
43912 ac_status=$?
43913 grep -v '^ *+' conftest.er1 >conftest.err
43914 rm -f conftest.er1
43915 cat conftest.err >&5
43916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43917 (exit $ac_status); } &&
43918 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43920 (eval $ac_try) 2>&5
43921 ac_status=$?
43922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43923 (exit $ac_status); }; } &&
43924 { ac_try='test -s conftest.$ac_objext'
43925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43926 (eval $ac_try) 2>&5
43927 ac_status=$?
43928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43929 (exit $ac_status); }; }; then
43930
43931 wx_cv_var_timezone=_timezone
43932
43933 else
43934 echo "$as_me: failed program was:" >&5
43935 sed 's/^/| /' conftest.$ac_ext >&5
43936
43937
43938 cat >conftest.$ac_ext <<_ACEOF
43939 /* confdefs.h. */
43940 _ACEOF
43941 cat confdefs.h >>conftest.$ac_ext
43942 cat >>conftest.$ac_ext <<_ACEOF
43943 /* end confdefs.h. */
43944
43945 #include <time.h>
43946
43947 int
43948 main ()
43949 {
43950
43951 int tz;
43952 tz = __timezone;
43953
43954 ;
43955 return 0;
43956 }
43957 _ACEOF
43958 rm -f conftest.$ac_objext
43959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43960 (eval $ac_compile) 2>conftest.er1
43961 ac_status=$?
43962 grep -v '^ *+' conftest.er1 >conftest.err
43963 rm -f conftest.er1
43964 cat conftest.err >&5
43965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43966 (exit $ac_status); } &&
43967 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43969 (eval $ac_try) 2>&5
43970 ac_status=$?
43971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43972 (exit $ac_status); }; } &&
43973 { ac_try='test -s conftest.$ac_objext'
43974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43975 (eval $ac_try) 2>&5
43976 ac_status=$?
43977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43978 (exit $ac_status); }; }; then
43979
43980 wx_cv_var_timezone=__timezone
43981
43982 else
43983 echo "$as_me: failed program was:" >&5
43984 sed 's/^/| /' conftest.$ac_ext >&5
43985
43986
43987 if test "$USE_DOS" = 0 ; then
43988 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43989 echo "$as_me: WARNING: no timezone variable" >&2;}
43990 fi
43991
43992
43993 fi
43994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43995
43996
43997 fi
43998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43999
44000
44001 fi
44002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44003
44004
44005 fi
44006 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44007 echo "${ECHO_T}$wx_cv_var_timezone" >&6
44008
44009 if test "x$wx_cv_var_timezone" != x ; then
44010 cat >>confdefs.h <<_ACEOF
44011 #define WX_TIMEZONE $wx_cv_var_timezone
44012 _ACEOF
44013
44014 fi
44015
44016
44017 for ac_func in localtime
44018 do
44019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44020 echo "$as_me:$LINENO: checking for $ac_func" >&5
44021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44022 if eval "test \"\${$as_ac_var+set}\" = set"; then
44023 echo $ECHO_N "(cached) $ECHO_C" >&6
44024 else
44025 cat >conftest.$ac_ext <<_ACEOF
44026 /* confdefs.h. */
44027 _ACEOF
44028 cat confdefs.h >>conftest.$ac_ext
44029 cat >>conftest.$ac_ext <<_ACEOF
44030 /* end confdefs.h. */
44031 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44033 #define $ac_func innocuous_$ac_func
44034
44035 /* System header to define __stub macros and hopefully few prototypes,
44036 which can conflict with char $ac_func (); below.
44037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44038 <limits.h> exists even on freestanding compilers. */
44039
44040 #ifdef __STDC__
44041 # include <limits.h>
44042 #else
44043 # include <assert.h>
44044 #endif
44045
44046 #undef $ac_func
44047
44048 /* Override any gcc2 internal prototype to avoid an error. */
44049 #ifdef __cplusplus
44050 extern "C"
44051 {
44052 #endif
44053 /* We use char because int might match the return type of a gcc2
44054 builtin and then its argument prototype would still apply. */
44055 char $ac_func ();
44056 /* The GNU C library defines this for functions which it implements
44057 to always fail with ENOSYS. Some functions are actually named
44058 something starting with __ and the normal name is an alias. */
44059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44060 choke me
44061 #else
44062 char (*f) () = $ac_func;
44063 #endif
44064 #ifdef __cplusplus
44065 }
44066 #endif
44067
44068 int
44069 main ()
44070 {
44071 return f != $ac_func;
44072 ;
44073 return 0;
44074 }
44075 _ACEOF
44076 rm -f conftest.$ac_objext conftest$ac_exeext
44077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44078 (eval $ac_link) 2>conftest.er1
44079 ac_status=$?
44080 grep -v '^ *+' conftest.er1 >conftest.err
44081 rm -f conftest.er1
44082 cat conftest.err >&5
44083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44084 (exit $ac_status); } &&
44085 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44087 (eval $ac_try) 2>&5
44088 ac_status=$?
44089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44090 (exit $ac_status); }; } &&
44091 { ac_try='test -s conftest$ac_exeext'
44092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44093 (eval $ac_try) 2>&5
44094 ac_status=$?
44095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44096 (exit $ac_status); }; }; then
44097 eval "$as_ac_var=yes"
44098 else
44099 echo "$as_me: failed program was:" >&5
44100 sed 's/^/| /' conftest.$ac_ext >&5
44101
44102 eval "$as_ac_var=no"
44103 fi
44104 rm -f conftest.err conftest.$ac_objext \
44105 conftest$ac_exeext conftest.$ac_ext
44106 fi
44107 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44108 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44109 if test `eval echo '${'$as_ac_var'}'` = yes; then
44110 cat >>confdefs.h <<_ACEOF
44111 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44112 _ACEOF
44113
44114 fi
44115 done
44116
44117
44118 if test "$ac_cv_func_localtime" = "yes"; then
44119 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44120 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
44121 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44122 echo $ECHO_N "(cached) $ECHO_C" >&6
44123 else
44124
44125 cat >conftest.$ac_ext <<_ACEOF
44126 /* confdefs.h. */
44127 _ACEOF
44128 cat confdefs.h >>conftest.$ac_ext
44129 cat >>conftest.$ac_ext <<_ACEOF
44130 /* end confdefs.h. */
44131
44132 #include <time.h>
44133
44134 int
44135 main ()
44136 {
44137
44138 struct tm tm;
44139 tm.tm_gmtoff++;
44140
44141 ;
44142 return 0;
44143 }
44144 _ACEOF
44145 rm -f conftest.$ac_objext
44146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44147 (eval $ac_compile) 2>conftest.er1
44148 ac_status=$?
44149 grep -v '^ *+' conftest.er1 >conftest.err
44150 rm -f conftest.er1
44151 cat conftest.err >&5
44152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44153 (exit $ac_status); } &&
44154 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44156 (eval $ac_try) 2>&5
44157 ac_status=$?
44158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44159 (exit $ac_status); }; } &&
44160 { ac_try='test -s conftest.$ac_objext'
44161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44162 (eval $ac_try) 2>&5
44163 ac_status=$?
44164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44165 (exit $ac_status); }; }; then
44166
44167 wx_cv_struct_tm_has_gmtoff=yes
44168
44169 else
44170 echo "$as_me: failed program was:" >&5
44171 sed 's/^/| /' conftest.$ac_ext >&5
44172
44173 wx_cv_struct_tm_has_gmtoff=no
44174
44175 fi
44176 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44177
44178 fi
44179 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44180 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
44181 fi
44182
44183 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44184 cat >>confdefs.h <<\_ACEOF
44185 #define WX_GMTOFF_IN_TM 1
44186 _ACEOF
44187
44188 fi
44189
44190
44191
44192 for ac_func in gettimeofday ftime
44193 do
44194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44195 echo "$as_me:$LINENO: checking for $ac_func" >&5
44196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44197 if eval "test \"\${$as_ac_var+set}\" = set"; then
44198 echo $ECHO_N "(cached) $ECHO_C" >&6
44199 else
44200 cat >conftest.$ac_ext <<_ACEOF
44201 /* confdefs.h. */
44202 _ACEOF
44203 cat confdefs.h >>conftest.$ac_ext
44204 cat >>conftest.$ac_ext <<_ACEOF
44205 /* end confdefs.h. */
44206 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44207 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44208 #define $ac_func innocuous_$ac_func
44209
44210 /* System header to define __stub macros and hopefully few prototypes,
44211 which can conflict with char $ac_func (); below.
44212 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44213 <limits.h> exists even on freestanding compilers. */
44214
44215 #ifdef __STDC__
44216 # include <limits.h>
44217 #else
44218 # include <assert.h>
44219 #endif
44220
44221 #undef $ac_func
44222
44223 /* Override any gcc2 internal prototype to avoid an error. */
44224 #ifdef __cplusplus
44225 extern "C"
44226 {
44227 #endif
44228 /* We use char because int might match the return type of a gcc2
44229 builtin and then its argument prototype would still apply. */
44230 char $ac_func ();
44231 /* The GNU C library defines this for functions which it implements
44232 to always fail with ENOSYS. Some functions are actually named
44233 something starting with __ and the normal name is an alias. */
44234 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44235 choke me
44236 #else
44237 char (*f) () = $ac_func;
44238 #endif
44239 #ifdef __cplusplus
44240 }
44241 #endif
44242
44243 int
44244 main ()
44245 {
44246 return f != $ac_func;
44247 ;
44248 return 0;
44249 }
44250 _ACEOF
44251 rm -f conftest.$ac_objext conftest$ac_exeext
44252 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44253 (eval $ac_link) 2>conftest.er1
44254 ac_status=$?
44255 grep -v '^ *+' conftest.er1 >conftest.err
44256 rm -f conftest.er1
44257 cat conftest.err >&5
44258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44259 (exit $ac_status); } &&
44260 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44262 (eval $ac_try) 2>&5
44263 ac_status=$?
44264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44265 (exit $ac_status); }; } &&
44266 { ac_try='test -s conftest$ac_exeext'
44267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44268 (eval $ac_try) 2>&5
44269 ac_status=$?
44270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44271 (exit $ac_status); }; }; then
44272 eval "$as_ac_var=yes"
44273 else
44274 echo "$as_me: failed program was:" >&5
44275 sed 's/^/| /' conftest.$ac_ext >&5
44276
44277 eval "$as_ac_var=no"
44278 fi
44279 rm -f conftest.err conftest.$ac_objext \
44280 conftest$ac_exeext conftest.$ac_ext
44281 fi
44282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44284 if test `eval echo '${'$as_ac_var'}'` = yes; then
44285 cat >>confdefs.h <<_ACEOF
44286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44287 _ACEOF
44288 break
44289 fi
44290 done
44291
44292
44293 if test "$ac_cv_func_gettimeofday" = "yes"; then
44294 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44295 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
44296 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44297 echo $ECHO_N "(cached) $ECHO_C" >&6
44298 else
44299
44300 cat >conftest.$ac_ext <<_ACEOF
44301 /* confdefs.h. */
44302 _ACEOF
44303 cat confdefs.h >>conftest.$ac_ext
44304 cat >>conftest.$ac_ext <<_ACEOF
44305 /* end confdefs.h. */
44306
44307 #include <sys/time.h>
44308 #include <unistd.h>
44309
44310 int
44311 main ()
44312 {
44313
44314 struct timeval tv;
44315 gettimeofday(&tv, NULL);
44316
44317 ;
44318 return 0;
44319 }
44320 _ACEOF
44321 rm -f conftest.$ac_objext
44322 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44323 (eval $ac_compile) 2>conftest.er1
44324 ac_status=$?
44325 grep -v '^ *+' conftest.er1 >conftest.err
44326 rm -f conftest.er1
44327 cat conftest.err >&5
44328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44329 (exit $ac_status); } &&
44330 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44332 (eval $ac_try) 2>&5
44333 ac_status=$?
44334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44335 (exit $ac_status); }; } &&
44336 { ac_try='test -s conftest.$ac_objext'
44337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44338 (eval $ac_try) 2>&5
44339 ac_status=$?
44340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44341 (exit $ac_status); }; }; then
44342 wx_cv_func_gettimeofday_has_2_args=yes
44343 else
44344 echo "$as_me: failed program was:" >&5
44345 sed 's/^/| /' conftest.$ac_ext >&5
44346
44347 cat >conftest.$ac_ext <<_ACEOF
44348 /* confdefs.h. */
44349 _ACEOF
44350 cat confdefs.h >>conftest.$ac_ext
44351 cat >>conftest.$ac_ext <<_ACEOF
44352 /* end confdefs.h. */
44353
44354 #include <sys/time.h>
44355 #include <unistd.h>
44356
44357 int
44358 main ()
44359 {
44360
44361 struct timeval tv;
44362 gettimeofday(&tv);
44363
44364 ;
44365 return 0;
44366 }
44367 _ACEOF
44368 rm -f conftest.$ac_objext
44369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44370 (eval $ac_compile) 2>conftest.er1
44371 ac_status=$?
44372 grep -v '^ *+' conftest.er1 >conftest.err
44373 rm -f conftest.er1
44374 cat conftest.err >&5
44375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44376 (exit $ac_status); } &&
44377 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44379 (eval $ac_try) 2>&5
44380 ac_status=$?
44381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44382 (exit $ac_status); }; } &&
44383 { ac_try='test -s conftest.$ac_objext'
44384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44385 (eval $ac_try) 2>&5
44386 ac_status=$?
44387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44388 (exit $ac_status); }; }; then
44389 wx_cv_func_gettimeofday_has_2_args=no
44390 else
44391 echo "$as_me: failed program was:" >&5
44392 sed 's/^/| /' conftest.$ac_ext >&5
44393
44394
44395 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44396 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44397 wx_cv_func_gettimeofday_has_2_args=unknown
44398
44399
44400 fi
44401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44402
44403 fi
44404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44405
44406 fi
44407 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44408 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
44409
44410 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44411 cat >>confdefs.h <<\_ACEOF
44412 #define WX_GETTIMEOFDAY_NO_TZ 1
44413 _ACEOF
44414
44415 fi
44416 fi
44417
44418 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44419 fi
44420
44421
44422 if test "$wxUSE_SOCKETS" = "yes"; then
44423 if test "$wxUSE_MGL" = "1"; then
44424 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44425 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44426 wxUSE_SOCKETS="no"
44427 fi
44428 fi
44429
44430 if test "$wxUSE_SOCKETS" = "yes"; then
44431 if test "$TOOLKIT" != "MSW"; then
44432 echo "$as_me:$LINENO: checking for socket" >&5
44433 echo $ECHO_N "checking for socket... $ECHO_C" >&6
44434 if test "${ac_cv_func_socket+set}" = set; then
44435 echo $ECHO_N "(cached) $ECHO_C" >&6
44436 else
44437 cat >conftest.$ac_ext <<_ACEOF
44438 /* confdefs.h. */
44439 _ACEOF
44440 cat confdefs.h >>conftest.$ac_ext
44441 cat >>conftest.$ac_ext <<_ACEOF
44442 /* end confdefs.h. */
44443 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44445 #define socket innocuous_socket
44446
44447 /* System header to define __stub macros and hopefully few prototypes,
44448 which can conflict with char socket (); below.
44449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44450 <limits.h> exists even on freestanding compilers. */
44451
44452 #ifdef __STDC__
44453 # include <limits.h>
44454 #else
44455 # include <assert.h>
44456 #endif
44457
44458 #undef socket
44459
44460 /* Override any gcc2 internal prototype to avoid an error. */
44461 #ifdef __cplusplus
44462 extern "C"
44463 {
44464 #endif
44465 /* We use char because int might match the return type of a gcc2
44466 builtin and then its argument prototype would still apply. */
44467 char socket ();
44468 /* The GNU C library defines this for functions which it implements
44469 to always fail with ENOSYS. Some functions are actually named
44470 something starting with __ and the normal name is an alias. */
44471 #if defined (__stub_socket) || defined (__stub___socket)
44472 choke me
44473 #else
44474 char (*f) () = socket;
44475 #endif
44476 #ifdef __cplusplus
44477 }
44478 #endif
44479
44480 int
44481 main ()
44482 {
44483 return f != socket;
44484 ;
44485 return 0;
44486 }
44487 _ACEOF
44488 rm -f conftest.$ac_objext conftest$ac_exeext
44489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44490 (eval $ac_link) 2>conftest.er1
44491 ac_status=$?
44492 grep -v '^ *+' conftest.er1 >conftest.err
44493 rm -f conftest.er1
44494 cat conftest.err >&5
44495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44496 (exit $ac_status); } &&
44497 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44499 (eval $ac_try) 2>&5
44500 ac_status=$?
44501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44502 (exit $ac_status); }; } &&
44503 { ac_try='test -s conftest$ac_exeext'
44504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44505 (eval $ac_try) 2>&5
44506 ac_status=$?
44507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44508 (exit $ac_status); }; }; then
44509 ac_cv_func_socket=yes
44510 else
44511 echo "$as_me: failed program was:" >&5
44512 sed 's/^/| /' conftest.$ac_ext >&5
44513
44514 ac_cv_func_socket=no
44515 fi
44516 rm -f conftest.err conftest.$ac_objext \
44517 conftest$ac_exeext conftest.$ac_ext
44518 fi
44519 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44520 echo "${ECHO_T}$ac_cv_func_socket" >&6
44521 if test $ac_cv_func_socket = yes; then
44522 :
44523 else
44524
44525 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44526 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
44527 if test "${ac_cv_lib_socket_socket+set}" = set; then
44528 echo $ECHO_N "(cached) $ECHO_C" >&6
44529 else
44530 ac_check_lib_save_LIBS=$LIBS
44531 LIBS="-lsocket $LIBS"
44532 cat >conftest.$ac_ext <<_ACEOF
44533 /* confdefs.h. */
44534 _ACEOF
44535 cat confdefs.h >>conftest.$ac_ext
44536 cat >>conftest.$ac_ext <<_ACEOF
44537 /* end confdefs.h. */
44538
44539 /* Override any gcc2 internal prototype to avoid an error. */
44540 #ifdef __cplusplus
44541 extern "C"
44542 #endif
44543 /* We use char because int might match the return type of a gcc2
44544 builtin and then its argument prototype would still apply. */
44545 char socket ();
44546 int
44547 main ()
44548 {
44549 socket ();
44550 ;
44551 return 0;
44552 }
44553 _ACEOF
44554 rm -f conftest.$ac_objext conftest$ac_exeext
44555 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44556 (eval $ac_link) 2>conftest.er1
44557 ac_status=$?
44558 grep -v '^ *+' conftest.er1 >conftest.err
44559 rm -f conftest.er1
44560 cat conftest.err >&5
44561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44562 (exit $ac_status); } &&
44563 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44565 (eval $ac_try) 2>&5
44566 ac_status=$?
44567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44568 (exit $ac_status); }; } &&
44569 { ac_try='test -s conftest$ac_exeext'
44570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44571 (eval $ac_try) 2>&5
44572 ac_status=$?
44573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44574 (exit $ac_status); }; }; then
44575 ac_cv_lib_socket_socket=yes
44576 else
44577 echo "$as_me: failed program was:" >&5
44578 sed 's/^/| /' conftest.$ac_ext >&5
44579
44580 ac_cv_lib_socket_socket=no
44581 fi
44582 rm -f conftest.err conftest.$ac_objext \
44583 conftest$ac_exeext conftest.$ac_ext
44584 LIBS=$ac_check_lib_save_LIBS
44585 fi
44586 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44587 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
44588 if test $ac_cv_lib_socket_socket = yes; then
44589 if test "$INET_LINK" != " -lsocket"; then
44590 INET_LINK="$INET_LINK -lsocket"
44591 fi
44592 else
44593
44594 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44595 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44596 wxUSE_SOCKETS=no
44597
44598
44599 fi
44600
44601
44602
44603 fi
44604
44605 fi
44606 fi
44607
44608 if test "$wxUSE_SOCKETS" = "yes" ; then
44609 if test "$TOOLKIT" != "MSW"; then
44610 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44611 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
44612 if test "${wx_cv_type_getsockname3+set}" = set; then
44613 echo $ECHO_N "(cached) $ECHO_C" >&6
44614 else
44615
44616 cat >conftest.$ac_ext <<_ACEOF
44617 /* confdefs.h. */
44618 _ACEOF
44619 cat confdefs.h >>conftest.$ac_ext
44620 cat >>conftest.$ac_ext <<_ACEOF
44621 /* end confdefs.h. */
44622
44623 #include <sys/types.h>
44624 #include <sys/socket.h>
44625
44626 int
44627 main ()
44628 {
44629
44630 socklen_t len;
44631 getsockname(0, 0, &len);
44632
44633 ;
44634 return 0;
44635 }
44636 _ACEOF
44637 rm -f conftest.$ac_objext
44638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44639 (eval $ac_compile) 2>conftest.er1
44640 ac_status=$?
44641 grep -v '^ *+' conftest.er1 >conftest.err
44642 rm -f conftest.er1
44643 cat conftest.err >&5
44644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44645 (exit $ac_status); } &&
44646 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44648 (eval $ac_try) 2>&5
44649 ac_status=$?
44650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44651 (exit $ac_status); }; } &&
44652 { ac_try='test -s conftest.$ac_objext'
44653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44654 (eval $ac_try) 2>&5
44655 ac_status=$?
44656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44657 (exit $ac_status); }; }; then
44658 wx_cv_type_getsockname3=socklen_t
44659 else
44660 echo "$as_me: failed program was:" >&5
44661 sed 's/^/| /' conftest.$ac_ext >&5
44662
44663
44664 CXXFLAGS_OLD="$CXXFLAGS"
44665 if test "$GCC" = yes ; then
44666 CXXFLAGS="-Werror $CXXFLAGS"
44667 fi
44668
44669 cat >conftest.$ac_ext <<_ACEOF
44670 /* confdefs.h. */
44671 _ACEOF
44672 cat confdefs.h >>conftest.$ac_ext
44673 cat >>conftest.$ac_ext <<_ACEOF
44674 /* end confdefs.h. */
44675
44676 #include <sys/types.h>
44677 #include <sys/socket.h>
44678
44679 int
44680 main ()
44681 {
44682
44683 size_t len;
44684 getsockname(0, 0, &len);
44685
44686 ;
44687 return 0;
44688 }
44689 _ACEOF
44690 rm -f conftest.$ac_objext
44691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44692 (eval $ac_compile) 2>conftest.er1
44693 ac_status=$?
44694 grep -v '^ *+' conftest.er1 >conftest.err
44695 rm -f conftest.er1
44696 cat conftest.err >&5
44697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44698 (exit $ac_status); } &&
44699 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44701 (eval $ac_try) 2>&5
44702 ac_status=$?
44703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44704 (exit $ac_status); }; } &&
44705 { ac_try='test -s conftest.$ac_objext'
44706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44707 (eval $ac_try) 2>&5
44708 ac_status=$?
44709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44710 (exit $ac_status); }; }; then
44711 wx_cv_type_getsockname3=size_t
44712 else
44713 echo "$as_me: failed program was:" >&5
44714 sed 's/^/| /' conftest.$ac_ext >&5
44715
44716 cat >conftest.$ac_ext <<_ACEOF
44717 /* confdefs.h. */
44718 _ACEOF
44719 cat confdefs.h >>conftest.$ac_ext
44720 cat >>conftest.$ac_ext <<_ACEOF
44721 /* end confdefs.h. */
44722
44723 #include <sys/types.h>
44724 #include <sys/socket.h>
44725
44726 int
44727 main ()
44728 {
44729
44730 int len;
44731 getsockname(0, 0, &len);
44732
44733 ;
44734 return 0;
44735 }
44736 _ACEOF
44737 rm -f conftest.$ac_objext
44738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44739 (eval $ac_compile) 2>conftest.er1
44740 ac_status=$?
44741 grep -v '^ *+' conftest.er1 >conftest.err
44742 rm -f conftest.er1
44743 cat conftest.err >&5
44744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44745 (exit $ac_status); } &&
44746 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44748 (eval $ac_try) 2>&5
44749 ac_status=$?
44750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44751 (exit $ac_status); }; } &&
44752 { ac_try='test -s conftest.$ac_objext'
44753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44754 (eval $ac_try) 2>&5
44755 ac_status=$?
44756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44757 (exit $ac_status); }; }; then
44758 wx_cv_type_getsockname3=int
44759 else
44760 echo "$as_me: failed program was:" >&5
44761 sed 's/^/| /' conftest.$ac_ext >&5
44762
44763 wx_cv_type_getsockname3=unknown
44764
44765 fi
44766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44767
44768 fi
44769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44770
44771 CXXFLAGS="$CXXFLAGS_OLD"
44772
44773
44774 fi
44775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44776
44777 fi
44778 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44779 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
44780
44781 if test "$wx_cv_type_getsockname3" = "unknown"; then
44782 wxUSE_SOCKETS=no
44783 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44784 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44785 else
44786 cat >>confdefs.h <<_ACEOF
44787 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44788 _ACEOF
44789
44790 fi
44791 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44792 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
44793 if test "${wx_cv_type_getsockopt5+set}" = set; then
44794 echo $ECHO_N "(cached) $ECHO_C" >&6
44795 else
44796
44797 cat >conftest.$ac_ext <<_ACEOF
44798 /* confdefs.h. */
44799 _ACEOF
44800 cat confdefs.h >>conftest.$ac_ext
44801 cat >>conftest.$ac_ext <<_ACEOF
44802 /* end confdefs.h. */
44803
44804 #include <sys/types.h>
44805 #include <sys/socket.h>
44806
44807 int
44808 main ()
44809 {
44810
44811 socklen_t len;
44812 getsockopt(0, 0, 0, 0, &len);
44813
44814 ;
44815 return 0;
44816 }
44817 _ACEOF
44818 rm -f conftest.$ac_objext
44819 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44820 (eval $ac_compile) 2>conftest.er1
44821 ac_status=$?
44822 grep -v '^ *+' conftest.er1 >conftest.err
44823 rm -f conftest.er1
44824 cat conftest.err >&5
44825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44826 (exit $ac_status); } &&
44827 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44829 (eval $ac_try) 2>&5
44830 ac_status=$?
44831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44832 (exit $ac_status); }; } &&
44833 { ac_try='test -s conftest.$ac_objext'
44834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44835 (eval $ac_try) 2>&5
44836 ac_status=$?
44837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44838 (exit $ac_status); }; }; then
44839 wx_cv_type_getsockopt5=socklen_t
44840 else
44841 echo "$as_me: failed program was:" >&5
44842 sed 's/^/| /' conftest.$ac_ext >&5
44843
44844
44845 CXXFLAGS_OLD="$CXXFLAGS"
44846 if test "$GCC" = yes ; then
44847 CXXFLAGS="-Werror $CXXFLAGS"
44848 fi
44849
44850 cat >conftest.$ac_ext <<_ACEOF
44851 /* confdefs.h. */
44852 _ACEOF
44853 cat confdefs.h >>conftest.$ac_ext
44854 cat >>conftest.$ac_ext <<_ACEOF
44855 /* end confdefs.h. */
44856
44857 #include <sys/types.h>
44858 #include <sys/socket.h>
44859
44860 int
44861 main ()
44862 {
44863
44864 size_t len;
44865 getsockopt(0, 0, 0, 0, &len);
44866
44867 ;
44868 return 0;
44869 }
44870 _ACEOF
44871 rm -f conftest.$ac_objext
44872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44873 (eval $ac_compile) 2>conftest.er1
44874 ac_status=$?
44875 grep -v '^ *+' conftest.er1 >conftest.err
44876 rm -f conftest.er1
44877 cat conftest.err >&5
44878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44879 (exit $ac_status); } &&
44880 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44882 (eval $ac_try) 2>&5
44883 ac_status=$?
44884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44885 (exit $ac_status); }; } &&
44886 { ac_try='test -s conftest.$ac_objext'
44887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44888 (eval $ac_try) 2>&5
44889 ac_status=$?
44890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44891 (exit $ac_status); }; }; then
44892 wx_cv_type_getsockopt5=size_t
44893 else
44894 echo "$as_me: failed program was:" >&5
44895 sed 's/^/| /' conftest.$ac_ext >&5
44896
44897 cat >conftest.$ac_ext <<_ACEOF
44898 /* confdefs.h. */
44899 _ACEOF
44900 cat confdefs.h >>conftest.$ac_ext
44901 cat >>conftest.$ac_ext <<_ACEOF
44902 /* end confdefs.h. */
44903
44904 #include <sys/types.h>
44905 #include <sys/socket.h>
44906
44907 int
44908 main ()
44909 {
44910
44911 int len;
44912 getsockopt(0, 0, 0, 0, &len);
44913
44914 ;
44915 return 0;
44916 }
44917 _ACEOF
44918 rm -f conftest.$ac_objext
44919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44920 (eval $ac_compile) 2>conftest.er1
44921 ac_status=$?
44922 grep -v '^ *+' conftest.er1 >conftest.err
44923 rm -f conftest.er1
44924 cat conftest.err >&5
44925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44926 (exit $ac_status); } &&
44927 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44929 (eval $ac_try) 2>&5
44930 ac_status=$?
44931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44932 (exit $ac_status); }; } &&
44933 { ac_try='test -s conftest.$ac_objext'
44934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44935 (eval $ac_try) 2>&5
44936 ac_status=$?
44937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44938 (exit $ac_status); }; }; then
44939 wx_cv_type_getsockopt5=int
44940 else
44941 echo "$as_me: failed program was:" >&5
44942 sed 's/^/| /' conftest.$ac_ext >&5
44943
44944 wx_cv_type_getsockopt5=unknown
44945
44946 fi
44947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44948
44949 fi
44950 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44951
44952 CXXFLAGS="$CXXFLAGS_OLD"
44953
44954
44955 fi
44956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44957
44958 fi
44959 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44960 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
44961
44962 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44963 wxUSE_SOCKETS=no
44964 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44965 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44966 else
44967 cat >>confdefs.h <<_ACEOF
44968 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44969 _ACEOF
44970
44971 fi
44972 fi
44973 fi
44974
44975 if test "$wxUSE_SOCKETS" = "yes" ; then
44976 cat >>confdefs.h <<\_ACEOF
44977 #define wxUSE_SOCKETS 1
44978 _ACEOF
44979
44980 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44981 fi
44982
44983 if test "$wxUSE_PROTOCOL" = "yes"; then
44984 if test "$wxUSE_SOCKETS" != "yes"; then
44985 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44986 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44987 wxUSE_PROTOCOL=no
44988 fi
44989 fi
44990
44991 if test "$wxUSE_PROTOCOL" = "yes"; then
44992 cat >>confdefs.h <<\_ACEOF
44993 #define wxUSE_PROTOCOL 1
44994 _ACEOF
44995
44996
44997 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44998 cat >>confdefs.h <<\_ACEOF
44999 #define wxUSE_PROTOCOL_HTTP 1
45000 _ACEOF
45001
45002 fi
45003 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45004 cat >>confdefs.h <<\_ACEOF
45005 #define wxUSE_PROTOCOL_FTP 1
45006 _ACEOF
45007
45008 fi
45009 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45010 cat >>confdefs.h <<\_ACEOF
45011 #define wxUSE_PROTOCOL_FILE 1
45012 _ACEOF
45013
45014 fi
45015 else
45016 if test "$wxUSE_FS_INET" = "yes"; then
45017 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45018 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45019 wxUSE_FS_INET="no"
45020 fi
45021 fi
45022
45023 if test "$wxUSE_URL" = "yes"; then
45024 if test "$wxUSE_PROTOCOL" != "yes"; then
45025 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45026 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45027 wxUSE_URL=no
45028 fi
45029 if test "$wxUSE_URL" = "yes"; then
45030 cat >>confdefs.h <<\_ACEOF
45031 #define wxUSE_URL 1
45032 _ACEOF
45033
45034 fi
45035 fi
45036
45037 if test "$wxUSE_VARIANT" = "yes"; then
45038 cat >>confdefs.h <<\_ACEOF
45039 #define wxUSE_VARIANT 1
45040 _ACEOF
45041
45042 fi
45043
45044 if test "$wxUSE_FS_INET" = "yes"; then
45045 cat >>confdefs.h <<\_ACEOF
45046 #define wxUSE_FS_INET 1
45047 _ACEOF
45048
45049 fi
45050
45051
45052 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45053 wxUSE_JOYSTICK=no
45054
45055 if test "$TOOLKIT" = "MSW"; then
45056 wxUSE_JOYSTICK=yes
45057
45058 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
45059 if test "$USE_DARWIN" = 1; then
45060 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45061 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
45062 cat >conftest.$ac_ext <<_ACEOF
45063 /* confdefs.h. */
45064 _ACEOF
45065 cat confdefs.h >>conftest.$ac_ext
45066 cat >>conftest.$ac_ext <<_ACEOF
45067 /* end confdefs.h. */
45068 #include <IOKit/hid/IOHIDLib.h>
45069 int
45070 main ()
45071 {
45072 IOHIDQueueInterface *qi = NULL;
45073 IOHIDCallbackFunction cb = NULL;
45074 qi->setEventCallout(NULL, cb, NULL, NULL);
45075 ;
45076 return 0;
45077 }
45078 _ACEOF
45079 rm -f conftest.$ac_objext
45080 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45081 (eval $ac_compile) 2>conftest.er1
45082 ac_status=$?
45083 grep -v '^ *+' conftest.er1 >conftest.err
45084 rm -f conftest.er1
45085 cat conftest.err >&5
45086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45087 (exit $ac_status); } &&
45088 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45090 (eval $ac_try) 2>&5
45091 ac_status=$?
45092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45093 (exit $ac_status); }; } &&
45094 { ac_try='test -s conftest.$ac_objext'
45095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45096 (eval $ac_try) 2>&5
45097 ac_status=$?
45098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45099 (exit $ac_status); }; }; then
45100 wxUSE_JOYSTICK=yes
45101
45102 else
45103 echo "$as_me: failed program was:" >&5
45104 sed 's/^/| /' conftest.$ac_ext >&5
45105
45106 fi
45107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45108 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45109 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
45110 fi
45111
45112 else
45113
45114 for ac_header in linux/joystick.h
45115 do
45116 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45117 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45118 echo "$as_me:$LINENO: checking for $ac_header" >&5
45119 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45121 echo $ECHO_N "(cached) $ECHO_C" >&6
45122 fi
45123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45124 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45125 else
45126 # Is the header compilable?
45127 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45128 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
45136 #include <$ac_header>
45137 _ACEOF
45138 rm -f conftest.$ac_objext
45139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45140 (eval $ac_compile) 2>conftest.er1
45141 ac_status=$?
45142 grep -v '^ *+' conftest.er1 >conftest.err
45143 rm -f conftest.er1
45144 cat conftest.err >&5
45145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45146 (exit $ac_status); } &&
45147 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45149 (eval $ac_try) 2>&5
45150 ac_status=$?
45151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45152 (exit $ac_status); }; } &&
45153 { ac_try='test -s conftest.$ac_objext'
45154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45155 (eval $ac_try) 2>&5
45156 ac_status=$?
45157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45158 (exit $ac_status); }; }; then
45159 ac_header_compiler=yes
45160 else
45161 echo "$as_me: failed program was:" >&5
45162 sed 's/^/| /' conftest.$ac_ext >&5
45163
45164 ac_header_compiler=no
45165 fi
45166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45167 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45168 echo "${ECHO_T}$ac_header_compiler" >&6
45169
45170 # Is the header present?
45171 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45172 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45173 cat >conftest.$ac_ext <<_ACEOF
45174 /* confdefs.h. */
45175 _ACEOF
45176 cat confdefs.h >>conftest.$ac_ext
45177 cat >>conftest.$ac_ext <<_ACEOF
45178 /* end confdefs.h. */
45179 #include <$ac_header>
45180 _ACEOF
45181 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45182 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45183 ac_status=$?
45184 grep -v '^ *+' conftest.er1 >conftest.err
45185 rm -f conftest.er1
45186 cat conftest.err >&5
45187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45188 (exit $ac_status); } >/dev/null; then
45189 if test -s conftest.err; then
45190 ac_cpp_err=$ac_cxx_preproc_warn_flag
45191 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
45192 else
45193 ac_cpp_err=
45194 fi
45195 else
45196 ac_cpp_err=yes
45197 fi
45198 if test -z "$ac_cpp_err"; then
45199 ac_header_preproc=yes
45200 else
45201 echo "$as_me: failed program was:" >&5
45202 sed 's/^/| /' conftest.$ac_ext >&5
45203
45204 ac_header_preproc=no
45205 fi
45206 rm -f conftest.err conftest.$ac_ext
45207 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45208 echo "${ECHO_T}$ac_header_preproc" >&6
45209
45210 # So? What about this header?
45211 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45212 yes:no: )
45213 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45214 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45215 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45216 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45217 ac_header_preproc=yes
45218 ;;
45219 no:yes:* )
45220 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45221 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45222 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45223 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45224 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45225 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45226 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45227 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45228 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45229 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45230 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45231 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45232 (
45233 cat <<\_ASBOX
45234 ## ----------------------------------------- ##
45235 ## Report this to wx-dev@lists.wxwidgets.org ##
45236 ## ----------------------------------------- ##
45237 _ASBOX
45238 ) |
45239 sed "s/^/$as_me: WARNING: /" >&2
45240 ;;
45241 esac
45242 echo "$as_me:$LINENO: checking for $ac_header" >&5
45243 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45244 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45245 echo $ECHO_N "(cached) $ECHO_C" >&6
45246 else
45247 eval "$as_ac_Header=\$ac_header_preproc"
45248 fi
45249 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45250 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45251
45252 fi
45253 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45254 cat >>confdefs.h <<_ACEOF
45255 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45256 _ACEOF
45257 wxUSE_JOYSTICK=yes
45258 fi
45259
45260 done
45261
45262 fi
45263
45264 if test "$wxUSE_JOYSTICK" = "yes"; then
45265 cat >>confdefs.h <<\_ACEOF
45266 #define wxUSE_JOYSTICK 1
45267 _ACEOF
45268
45269 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45270 else
45271 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45272 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45273 fi
45274 fi
45275
45276
45277
45278 if test "$wxUSE_FONTMAP" = "yes" ; then
45279 cat >>confdefs.h <<\_ACEOF
45280 #define wxUSE_FONTMAP 1
45281 _ACEOF
45282
45283 fi
45284
45285 if test "$wxUSE_UNICODE" = "yes" ; then
45286 cat >>confdefs.h <<\_ACEOF
45287 #define wxUSE_UNICODE 1
45288 _ACEOF
45289
45290
45291 if test "$USE_WIN32" != 1; then
45292 wxUSE_UNICODE_MSLU=no
45293 fi
45294
45295 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45296 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45297 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
45298 if test "${ac_cv_lib_unicows_main+set}" = set; then
45299 echo $ECHO_N "(cached) $ECHO_C" >&6
45300 else
45301 ac_check_lib_save_LIBS=$LIBS
45302 LIBS="-lunicows $LIBS"
45303 cat >conftest.$ac_ext <<_ACEOF
45304 /* confdefs.h. */
45305 _ACEOF
45306 cat confdefs.h >>conftest.$ac_ext
45307 cat >>conftest.$ac_ext <<_ACEOF
45308 /* end confdefs.h. */
45309
45310
45311 int
45312 main ()
45313 {
45314 main ();
45315 ;
45316 return 0;
45317 }
45318 _ACEOF
45319 rm -f conftest.$ac_objext conftest$ac_exeext
45320 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45321 (eval $ac_link) 2>conftest.er1
45322 ac_status=$?
45323 grep -v '^ *+' conftest.er1 >conftest.err
45324 rm -f conftest.er1
45325 cat conftest.err >&5
45326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45327 (exit $ac_status); } &&
45328 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45330 (eval $ac_try) 2>&5
45331 ac_status=$?
45332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45333 (exit $ac_status); }; } &&
45334 { ac_try='test -s conftest$ac_exeext'
45335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45336 (eval $ac_try) 2>&5
45337 ac_status=$?
45338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45339 (exit $ac_status); }; }; then
45340 ac_cv_lib_unicows_main=yes
45341 else
45342 echo "$as_me: failed program was:" >&5
45343 sed 's/^/| /' conftest.$ac_ext >&5
45344
45345 ac_cv_lib_unicows_main=no
45346 fi
45347 rm -f conftest.err conftest.$ac_objext \
45348 conftest$ac_exeext conftest.$ac_ext
45349 LIBS=$ac_check_lib_save_LIBS
45350 fi
45351 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45352 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
45353 if test $ac_cv_lib_unicows_main = yes; then
45354
45355 cat >>confdefs.h <<\_ACEOF
45356 #define wxUSE_UNICODE_MSLU 1
45357 _ACEOF
45358
45359
45360 else
45361
45362 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45363 Applications will only run on Windows NT/2000/XP!" >&5
45364 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45365 Applications will only run on Windows NT/2000/XP!" >&2;}
45366 wxUSE_UNICODE_MSLU=no
45367
45368 fi
45369
45370 fi
45371 fi
45372
45373 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
45374 cat >>confdefs.h <<\_ACEOF
45375 #define wxUSE_EXPERIMENTAL_PRINTF 1
45376 _ACEOF
45377
45378 fi
45379
45380
45381 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45382 cat >>confdefs.h <<\_ACEOF
45383 #define wxUSE_POSTSCRIPT 1
45384 _ACEOF
45385
45386 fi
45387
45388 cat >>confdefs.h <<\_ACEOF
45389 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45390 _ACEOF
45391
45392
45393 cat >>confdefs.h <<\_ACEOF
45394 #define wxUSE_NORMALIZED_PS_FONTS 1
45395 _ACEOF
45396
45397
45398
45399 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45400 cat >>confdefs.h <<\_ACEOF
45401 #define wxUSE_CONSTRAINTS 1
45402 _ACEOF
45403
45404 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45405 fi
45406
45407 if test "$wxUSE_MDI" = "yes"; then
45408 cat >>confdefs.h <<\_ACEOF
45409 #define wxUSE_MDI 1
45410 _ACEOF
45411
45412
45413 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45414 cat >>confdefs.h <<\_ACEOF
45415 #define wxUSE_MDI_ARCHITECTURE 1
45416 _ACEOF
45417
45418 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45419 fi
45420 fi
45421
45422 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45423 cat >>confdefs.h <<\_ACEOF
45424 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45425 _ACEOF
45426
45427 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45428 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45429 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
45430 fi
45431 fi
45432
45433 if test "$wxUSE_HELP" = "yes"; then
45434 cat >>confdefs.h <<\_ACEOF
45435 #define wxUSE_HELP 1
45436 _ACEOF
45437
45438 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45439
45440 if test "$wxUSE_MSW" = 1; then
45441 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45442 cat >>confdefs.h <<\_ACEOF
45443 #define wxUSE_MS_HTML_HELP 1
45444 _ACEOF
45445
45446 fi
45447 fi
45448
45449 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45450 if test "$wxUSE_HTML" = "yes"; then
45451 cat >>confdefs.h <<\_ACEOF
45452 #define wxUSE_WXHTML_HELP 1
45453 _ACEOF
45454
45455 else
45456 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45457 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45458 wxUSE_WXHTML_HELP=no
45459 fi
45460 fi
45461 fi
45462
45463 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45464 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45465 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45466 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45467 else
45468 cat >>confdefs.h <<\_ACEOF
45469 #define wxUSE_PRINTING_ARCHITECTURE 1
45470 _ACEOF
45471
45472 fi
45473 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45474 fi
45475
45476 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
45477 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
45478 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
45479 { (exit 1); exit 1; }; }
45480 fi
45481
45482
45483 if test "$wxUSE_METAFILE" = "yes"; then
45484 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45485 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45486 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45487 wxUSE_METAFILE=no
45488 fi
45489 fi
45490
45491
45492 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45493 -o "$wxUSE_CLIPBOARD" = "yes" \
45494 -o "$wxUSE_OLE" = "yes" \
45495 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45496
45497 for ac_header in ole2.h
45498 do
45499 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45501 echo "$as_me:$LINENO: checking for $ac_header" >&5
45502 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45503 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45504 echo $ECHO_N "(cached) $ECHO_C" >&6
45505 fi
45506 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45507 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45508 else
45509 # Is the header compilable?
45510 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45511 echo $ECHO_N "checking $ac_header usability... $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 $ac_includes_default
45519 #include <$ac_header>
45520 _ACEOF
45521 rm -f conftest.$ac_objext
45522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45523 (eval $ac_compile) 2>conftest.er1
45524 ac_status=$?
45525 grep -v '^ *+' conftest.er1 >conftest.err
45526 rm -f conftest.er1
45527 cat conftest.err >&5
45528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45529 (exit $ac_status); } &&
45530 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45532 (eval $ac_try) 2>&5
45533 ac_status=$?
45534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45535 (exit $ac_status); }; } &&
45536 { ac_try='test -s conftest.$ac_objext'
45537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45538 (eval $ac_try) 2>&5
45539 ac_status=$?
45540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45541 (exit $ac_status); }; }; then
45542 ac_header_compiler=yes
45543 else
45544 echo "$as_me: failed program was:" >&5
45545 sed 's/^/| /' conftest.$ac_ext >&5
45546
45547 ac_header_compiler=no
45548 fi
45549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45550 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45551 echo "${ECHO_T}$ac_header_compiler" >&6
45552
45553 # Is the header present?
45554 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45555 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45556 cat >conftest.$ac_ext <<_ACEOF
45557 /* confdefs.h. */
45558 _ACEOF
45559 cat confdefs.h >>conftest.$ac_ext
45560 cat >>conftest.$ac_ext <<_ACEOF
45561 /* end confdefs.h. */
45562 #include <$ac_header>
45563 _ACEOF
45564 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45565 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45566 ac_status=$?
45567 grep -v '^ *+' conftest.er1 >conftest.err
45568 rm -f conftest.er1
45569 cat conftest.err >&5
45570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45571 (exit $ac_status); } >/dev/null; then
45572 if test -s conftest.err; then
45573 ac_cpp_err=$ac_cxx_preproc_warn_flag
45574 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
45575 else
45576 ac_cpp_err=
45577 fi
45578 else
45579 ac_cpp_err=yes
45580 fi
45581 if test -z "$ac_cpp_err"; then
45582 ac_header_preproc=yes
45583 else
45584 echo "$as_me: failed program was:" >&5
45585 sed 's/^/| /' conftest.$ac_ext >&5
45586
45587 ac_header_preproc=no
45588 fi
45589 rm -f conftest.err conftest.$ac_ext
45590 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45591 echo "${ECHO_T}$ac_header_preproc" >&6
45592
45593 # So? What about this header?
45594 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45595 yes:no: )
45596 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45597 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45598 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45599 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45600 ac_header_preproc=yes
45601 ;;
45602 no:yes:* )
45603 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45604 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45605 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45606 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45607 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45608 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45609 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45610 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45611 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45612 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45613 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45614 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45615 (
45616 cat <<\_ASBOX
45617 ## ----------------------------------------- ##
45618 ## Report this to wx-dev@lists.wxwidgets.org ##
45619 ## ----------------------------------------- ##
45620 _ASBOX
45621 ) |
45622 sed "s/^/$as_me: WARNING: /" >&2
45623 ;;
45624 esac
45625 echo "$as_me:$LINENO: checking for $ac_header" >&5
45626 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45627 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45628 echo $ECHO_N "(cached) $ECHO_C" >&6
45629 else
45630 eval "$as_ac_Header=\$ac_header_preproc"
45631 fi
45632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45633 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45634
45635 fi
45636 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45637 cat >>confdefs.h <<_ACEOF
45638 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45639 _ACEOF
45640
45641 fi
45642
45643 done
45644
45645
45646 if test "$ac_cv_header_ole2_h" = "yes" ; then
45647 if test "$GCC" = yes ; then
45648 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45649 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
45650 cat >conftest.$ac_ext <<_ACEOF
45651 /* confdefs.h. */
45652 _ACEOF
45653 cat confdefs.h >>conftest.$ac_ext
45654 cat >>conftest.$ac_ext <<_ACEOF
45655 /* end confdefs.h. */
45656 #include <windows.h>
45657 #include <ole2.h>
45658 int
45659 main ()
45660 {
45661
45662 ;
45663 return 0;
45664 }
45665 _ACEOF
45666 rm -f conftest.$ac_objext
45667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45668 (eval $ac_compile) 2>conftest.er1
45669 ac_status=$?
45670 grep -v '^ *+' conftest.er1 >conftest.err
45671 rm -f conftest.er1
45672 cat conftest.err >&5
45673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45674 (exit $ac_status); } &&
45675 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45677 (eval $ac_try) 2>&5
45678 ac_status=$?
45679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45680 (exit $ac_status); }; } &&
45681 { ac_try='test -s conftest.$ac_objext'
45682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45683 (eval $ac_try) 2>&5
45684 ac_status=$?
45685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45686 (exit $ac_status); }; }; then
45687 echo "$as_me:$LINENO: result: no" >&5
45688 echo "${ECHO_T}no" >&6
45689 else
45690 echo "$as_me: failed program was:" >&5
45691 sed 's/^/| /' conftest.$ac_ext >&5
45692
45693 echo "$as_me:$LINENO: result: yes" >&5
45694 echo "${ECHO_T}yes" >&6
45695 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45696 fi
45697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45698 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45699 if test "$wxUSE_OLE" = "yes" ; then
45700 cat >>confdefs.h <<\_ACEOF
45701 #define wxUSE_OLE 1
45702 _ACEOF
45703
45704 cat >>confdefs.h <<\_ACEOF
45705 #define wxUSE_OLE_AUTOMATION 1
45706 _ACEOF
45707
45708 cat >>confdefs.h <<\_ACEOF
45709 #define wxUSE_OLE_ACTIVEX 1
45710 _ACEOF
45711
45712 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45713 fi
45714 fi
45715
45716 if test "$wxUSE_DATAOBJ" = "yes" ; then
45717 cat >>confdefs.h <<\_ACEOF
45718 #define wxUSE_DATAOBJ 1
45719 _ACEOF
45720
45721 fi
45722 else
45723 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45724 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45725
45726 wxUSE_CLIPBOARD=no
45727 wxUSE_DRAG_AND_DROP=no
45728 wxUSE_DATAOBJ=no
45729 wxUSE_OLE=no
45730 fi
45731
45732 if test "$wxUSE_METAFILE" = "yes"; then
45733 cat >>confdefs.h <<\_ACEOF
45734 #define wxUSE_METAFILE 1
45735 _ACEOF
45736
45737
45738 cat >>confdefs.h <<\_ACEOF
45739 #define wxUSE_ENH_METAFILE 1
45740 _ACEOF
45741
45742 fi
45743 fi
45744
45745 if test "$wxUSE_IPC" = "yes"; then
45746 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45747 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45748 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45749 wxUSE_IPC=no
45750 fi
45751
45752 if test "$wxUSE_IPC" = "yes"; then
45753 cat >>confdefs.h <<\_ACEOF
45754 #define wxUSE_IPC 1
45755 _ACEOF
45756
45757 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45758 fi
45759 fi
45760
45761 if test "$wxUSE_DATAOBJ" = "yes"; then
45762 if test "$wxUSE_MGL" = 1; then
45763 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
45764 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
45765 wxUSE_DATAOBJ=no
45766 else
45767 cat >>confdefs.h <<\_ACEOF
45768 #define wxUSE_DATAOBJ 1
45769 _ACEOF
45770
45771 fi
45772 else
45773 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45774 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45775 wxUSE_CLIPBOARD=no
45776 wxUSE_DRAG_AND_DROP=no
45777 fi
45778
45779 if test "$wxUSE_CLIPBOARD" = "yes"; then
45780 if test "$wxUSE_MGL" = 1; then
45781 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
45782 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
45783 wxUSE_CLIPBOARD=no
45784 fi
45785
45786 if test "$wxUSE_CLIPBOARD" = "yes"; then
45787 cat >>confdefs.h <<\_ACEOF
45788 #define wxUSE_CLIPBOARD 1
45789 _ACEOF
45790
45791 fi
45792 fi
45793
45794 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45795 if test "$wxUSE_GTK" = 1; then
45796 if test "$WXGTK12" != 1; then
45797 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45798 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45799 wxUSE_DRAG_AND_DROP=no
45800 fi
45801 fi
45802
45803 if test "$wxUSE_MOTIF" = 1; then
45804 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
45805 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
45806 wxUSE_DRAG_AND_DROP=no
45807 fi
45808
45809 if test "$wxUSE_X11" = 1; then
45810 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
45811 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
45812 wxUSE_DRAG_AND_DROP=no
45813 fi
45814
45815 if test "$wxUSE_MGL" = 1; then
45816 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
45817 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
45818 wxUSE_DRAG_AND_DROP=no
45819 fi
45820
45821 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45822 cat >>confdefs.h <<\_ACEOF
45823 #define wxUSE_DRAG_AND_DROP 1
45824 _ACEOF
45825
45826 fi
45827
45828 fi
45829
45830 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45831 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45832 fi
45833
45834 if test "$wxUSE_SPLINES" = "yes" ; then
45835 cat >>confdefs.h <<\_ACEOF
45836 #define wxUSE_SPLINES 1
45837 _ACEOF
45838
45839 fi
45840
45841 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45842 cat >>confdefs.h <<\_ACEOF
45843 #define wxUSE_MOUSEWHEEL 1
45844 _ACEOF
45845
45846 fi
45847
45848
45849 USES_CONTROLS=0
45850 if test "$wxUSE_CONTROLS" = "yes"; then
45851 USES_CONTROLS=1
45852 fi
45853
45854 if test "$wxUSE_ACCEL" = "yes"; then
45855 cat >>confdefs.h <<\_ACEOF
45856 #define wxUSE_ACCEL 1
45857 _ACEOF
45858
45859 USES_CONTROLS=1
45860 fi
45861
45862 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45863 cat >>confdefs.h <<\_ACEOF
45864 #define wxUSE_ANIMATIONCTRL 1
45865 _ACEOF
45866
45867 USES_CONTROLS=1
45868 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45869 fi
45870
45871 if test "$wxUSE_BUTTON" = "yes"; then
45872 cat >>confdefs.h <<\_ACEOF
45873 #define wxUSE_BUTTON 1
45874 _ACEOF
45875
45876 USES_CONTROLS=1
45877 fi
45878
45879 if test "$wxUSE_BMPBUTTON" = "yes"; then
45880 cat >>confdefs.h <<\_ACEOF
45881 #define wxUSE_BMPBUTTON 1
45882 _ACEOF
45883
45884 USES_CONTROLS=1
45885 fi
45886
45887 if test "$wxUSE_CALCTRL" = "yes"; then
45888 cat >>confdefs.h <<\_ACEOF
45889 #define wxUSE_CALENDARCTRL 1
45890 _ACEOF
45891
45892 USES_CONTROLS=1
45893 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45894 fi
45895
45896 if test "$wxUSE_CARET" = "yes"; then
45897 cat >>confdefs.h <<\_ACEOF
45898 #define wxUSE_CARET 1
45899 _ACEOF
45900
45901 USES_CONTROLS=1
45902 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45903 fi
45904
45905 if test "$wxUSE_COMBOBOX" = "yes"; then
45906 cat >>confdefs.h <<\_ACEOF
45907 #define wxUSE_COMBOBOX 1
45908 _ACEOF
45909
45910 USES_CONTROLS=1
45911 fi
45912
45913 if test "$wxUSE_COMBOCTRL" = "yes"; then
45914 cat >>confdefs.h <<\_ACEOF
45915 #define wxUSE_COMBOCTRL 1
45916 _ACEOF
45917
45918 USES_CONTROLS=1
45919 fi
45920
45921 if test "$wxUSE_CHOICE" = "yes"; then
45922 cat >>confdefs.h <<\_ACEOF
45923 #define wxUSE_CHOICE 1
45924 _ACEOF
45925
45926 USES_CONTROLS=1
45927 fi
45928
45929 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45930 cat >>confdefs.h <<\_ACEOF
45931 #define wxUSE_CHOICEBOOK 1
45932 _ACEOF
45933
45934 USES_CONTROLS=1
45935 fi
45936
45937 if test "$wxUSE_CHECKBOX" = "yes"; then
45938 cat >>confdefs.h <<\_ACEOF
45939 #define wxUSE_CHECKBOX 1
45940 _ACEOF
45941
45942 USES_CONTROLS=1
45943 fi
45944
45945 if test "$wxUSE_CHECKLST" = "yes"; then
45946 cat >>confdefs.h <<\_ACEOF
45947 #define wxUSE_CHECKLISTBOX 1
45948 _ACEOF
45949
45950 USES_CONTROLS=1
45951 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
45952 fi
45953
45954 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45955 cat >>confdefs.h <<\_ACEOF
45956 #define wxUSE_COLOURPICKERCTRL 1
45957 _ACEOF
45958
45959 USES_CONTROLS=1
45960 fi
45961
45962 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45963 cat >>confdefs.h <<\_ACEOF
45964 #define wxUSE_DATEPICKCTRL 1
45965 _ACEOF
45966
45967 USES_CONTROLS=1
45968 fi
45969
45970 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45971 cat >>confdefs.h <<\_ACEOF
45972 #define wxUSE_DIRPICKERCTRL 1
45973 _ACEOF
45974
45975 USES_CONTROLS=1
45976 fi
45977
45978 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45979 cat >>confdefs.h <<\_ACEOF
45980 #define wxUSE_FILEPICKERCTRL 1
45981 _ACEOF
45982
45983 USES_CONTROLS=1
45984 fi
45985
45986 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45987 cat >>confdefs.h <<\_ACEOF
45988 #define wxUSE_FONTPICKERCTRL 1
45989 _ACEOF
45990
45991 USES_CONTROLS=1
45992 fi
45993
45994 if test "$wxUSE_DISPLAY" = "yes"; then
45995 cat >>confdefs.h <<\_ACEOF
45996 #define wxUSE_DISPLAY 1
45997 _ACEOF
45998
45999 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
46000 fi
46001
46002 if test "$wxUSE_DETECT_SM" = "yes"; then
46003 cat >>confdefs.h <<\_ACEOF
46004 #define wxUSE_DETECT_SM 1
46005 _ACEOF
46006
46007 fi
46008
46009 if test "$wxUSE_GAUGE" = "yes"; then
46010 cat >>confdefs.h <<\_ACEOF
46011 #define wxUSE_GAUGE 1
46012 _ACEOF
46013
46014 USES_CONTROLS=1
46015 fi
46016
46017 if test "$wxUSE_GRID" = "yes"; then
46018 cat >>confdefs.h <<\_ACEOF
46019 #define wxUSE_GRID 1
46020 _ACEOF
46021
46022 USES_CONTROLS=1
46023 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
46024 fi
46025
46026 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46027 cat >>confdefs.h <<\_ACEOF
46028 #define wxUSE_HYPERLINKCTRL 1
46029 _ACEOF
46030
46031 USES_CONTROLS=1
46032 fi
46033
46034 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46035 cat >>confdefs.h <<\_ACEOF
46036 #define wxUSE_BITMAPCOMBOBOX 1
46037 _ACEOF
46038
46039 USES_CONTROLS=1
46040 fi
46041
46042 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46043 cat >>confdefs.h <<\_ACEOF
46044 #define wxUSE_DATAVIEWCTRL 1
46045 _ACEOF
46046
46047 USES_CONTROLS=1
46048 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
46049 fi
46050
46051 if test "$wxUSE_IMAGLIST" = "yes"; then
46052 cat >>confdefs.h <<\_ACEOF
46053 #define wxUSE_IMAGLIST 1
46054 _ACEOF
46055
46056 fi
46057
46058 if test "$wxUSE_LISTBOOK" = "yes"; then
46059 cat >>confdefs.h <<\_ACEOF
46060 #define wxUSE_LISTBOOK 1
46061 _ACEOF
46062
46063 USES_CONTROLS=1
46064 fi
46065
46066 if test "$wxUSE_LISTBOX" = "yes"; then
46067 cat >>confdefs.h <<\_ACEOF
46068 #define wxUSE_LISTBOX 1
46069 _ACEOF
46070
46071 USES_CONTROLS=1
46072 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
46073 fi
46074
46075 if test "$wxUSE_LISTCTRL" = "yes"; then
46076 if test "$wxUSE_IMAGLIST" = "yes"; then
46077 cat >>confdefs.h <<\_ACEOF
46078 #define wxUSE_LISTCTRL 1
46079 _ACEOF
46080
46081 USES_CONTROLS=1
46082 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
46083 else
46084 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46085 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46086 fi
46087 fi
46088
46089 if test "$wxUSE_NOTEBOOK" = "yes"; then
46090 cat >>confdefs.h <<\_ACEOF
46091 #define wxUSE_NOTEBOOK 1
46092 _ACEOF
46093
46094 USES_CONTROLS=1
46095 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
46096 fi
46097
46098 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46099 cat >>confdefs.h <<\_ACEOF
46100 #define wxUSE_ODCOMBOBOX 1
46101 _ACEOF
46102
46103 USES_CONTROLS=1
46104 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
46105 fi
46106
46107
46108 if test "$wxUSE_RADIOBOX" = "yes"; then
46109 cat >>confdefs.h <<\_ACEOF
46110 #define wxUSE_RADIOBOX 1
46111 _ACEOF
46112
46113 USES_CONTROLS=1
46114 fi
46115
46116 if test "$wxUSE_RADIOBTN" = "yes"; then
46117 cat >>confdefs.h <<\_ACEOF
46118 #define wxUSE_RADIOBTN 1
46119 _ACEOF
46120
46121 USES_CONTROLS=1
46122 fi
46123
46124 if test "$wxUSE_SASH" = "yes"; then
46125 cat >>confdefs.h <<\_ACEOF
46126 #define wxUSE_SASH 1
46127 _ACEOF
46128
46129 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
46130 fi
46131
46132 if test "$wxUSE_SCROLLBAR" = "yes"; then
46133 cat >>confdefs.h <<\_ACEOF
46134 #define wxUSE_SCROLLBAR 1
46135 _ACEOF
46136
46137 USES_CONTROLS=1
46138 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
46139 fi
46140
46141 if test "$wxUSE_SLIDER" = "yes"; then
46142 cat >>confdefs.h <<\_ACEOF
46143 #define wxUSE_SLIDER 1
46144 _ACEOF
46145
46146 USES_CONTROLS=1
46147 fi
46148
46149 if test "$wxUSE_SPINBTN" = "yes"; then
46150 cat >>confdefs.h <<\_ACEOF
46151 #define wxUSE_SPINBTN 1
46152 _ACEOF
46153
46154 USES_CONTROLS=1
46155 fi
46156
46157 if test "$wxUSE_SPINCTRL" = "yes"; then
46158 cat >>confdefs.h <<\_ACEOF
46159 #define wxUSE_SPINCTRL 1
46160 _ACEOF
46161
46162 USES_CONTROLS=1
46163 fi
46164
46165 if test "$wxUSE_SPLITTER" = "yes"; then
46166 cat >>confdefs.h <<\_ACEOF
46167 #define wxUSE_SPLITTER 1
46168 _ACEOF
46169
46170 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
46171 fi
46172
46173 if test "$wxUSE_STATBMP" = "yes"; then
46174 cat >>confdefs.h <<\_ACEOF
46175 #define wxUSE_STATBMP 1
46176 _ACEOF
46177
46178 USES_CONTROLS=1
46179 fi
46180
46181 if test "$wxUSE_STATBOX" = "yes"; then
46182 cat >>confdefs.h <<\_ACEOF
46183 #define wxUSE_STATBOX 1
46184 _ACEOF
46185
46186 USES_CONTROLS=1
46187 fi
46188
46189 if test "$wxUSE_STATTEXT" = "yes"; then
46190 cat >>confdefs.h <<\_ACEOF
46191 #define wxUSE_STATTEXT 1
46192 _ACEOF
46193
46194 USES_CONTROLS=1
46195 fi
46196
46197 if test "$wxUSE_STATLINE" = "yes"; then
46198 cat >>confdefs.h <<\_ACEOF
46199 #define wxUSE_STATLINE 1
46200 _ACEOF
46201
46202 USES_CONTROLS=1
46203 fi
46204
46205 if test "$wxUSE_STATUSBAR" = "yes"; then
46206 cat >>confdefs.h <<\_ACEOF
46207 #define wxUSE_NATIVE_STATUSBAR 1
46208 _ACEOF
46209
46210 cat >>confdefs.h <<\_ACEOF
46211 #define wxUSE_STATUSBAR 1
46212 _ACEOF
46213
46214 USES_CONTROLS=1
46215
46216 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46217 fi
46218
46219 if test "$wxUSE_TAB_DIALOG" = "yes"; then
46220 cat >>confdefs.h <<\_ACEOF
46221 #define wxUSE_TAB_DIALOG 1
46222 _ACEOF
46223
46224 fi
46225
46226 if test "$wxUSE_TEXTCTRL" = "yes"; then
46227 cat >>confdefs.h <<\_ACEOF
46228 #define wxUSE_TEXTCTRL 1
46229 _ACEOF
46230
46231 USES_CONTROLS=1
46232 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46233 fi
46234
46235 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46236 if test "$wxUSE_COCOA" = 1 ; then
46237 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46238 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46239 wxUSE_TOGGLEBTN=no
46240 fi
46241
46242 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46243 cat >>confdefs.h <<\_ACEOF
46244 #define wxUSE_TOGGLEBTN 1
46245 _ACEOF
46246
46247 USES_CONTROLS=1
46248 fi
46249 fi
46250
46251 if test "$wxUSE_TOOLBAR" = "yes"; then
46252 cat >>confdefs.h <<\_ACEOF
46253 #define wxUSE_TOOLBAR 1
46254 _ACEOF
46255
46256 USES_CONTROLS=1
46257
46258 if test "$wxUSE_UNIVERSAL" = "yes"; then
46259 wxUSE_TOOLBAR_NATIVE="no"
46260 else
46261 wxUSE_TOOLBAR_NATIVE="yes"
46262 cat >>confdefs.h <<\_ACEOF
46263 #define wxUSE_TOOLBAR_NATIVE 1
46264 _ACEOF
46265
46266 fi
46267
46268 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46269 fi
46270
46271 if test "$wxUSE_TOOLTIPS" = "yes"; then
46272 if test "$wxUSE_MOTIF" = 1; then
46273 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46274 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46275 else
46276 if test "$wxUSE_UNIVERSAL" = "yes"; then
46277 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46278 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46279 else
46280 cat >>confdefs.h <<\_ACEOF
46281 #define wxUSE_TOOLTIPS 1
46282 _ACEOF
46283
46284 fi
46285 fi
46286 fi
46287
46288 if test "$wxUSE_TREEBOOK" = "yes"; then
46289 cat >>confdefs.h <<\_ACEOF
46290 #define wxUSE_TREEBOOK 1
46291 _ACEOF
46292
46293 USES_CONTROLS=1
46294 fi
46295
46296 if test "$wxUSE_TOOLBOOK" = "yes"; then
46297 cat >>confdefs.h <<\_ACEOF
46298 #define wxUSE_TOOLBOOK 1
46299 _ACEOF
46300
46301 USES_CONTROLS=1
46302 fi
46303
46304 if test "$wxUSE_TREECTRL" = "yes"; then
46305 if test "$wxUSE_IMAGLIST" = "yes"; then
46306 cat >>confdefs.h <<\_ACEOF
46307 #define wxUSE_TREECTRL 1
46308 _ACEOF
46309
46310 USES_CONTROLS=1
46311 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46312 else
46313 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46314 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46315 fi
46316 fi
46317
46318 if test "$wxUSE_POPUPWIN" = "yes"; then
46319 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46320 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46321 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46322 else
46323 if test "$wxUSE_PM" = 1; then
46324 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46325 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46326 else
46327 cat >>confdefs.h <<\_ACEOF
46328 #define wxUSE_POPUPWIN 1
46329 _ACEOF
46330
46331 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46332
46333 USES_CONTROLS=1
46334 fi
46335 fi
46336 fi
46337
46338 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46339 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46340 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
46341 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
46342 else
46343 cat >>confdefs.h <<\_ACEOF
46344 #define wxUSE_DIALUP_MANAGER 1
46345 _ACEOF
46346
46347 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46348 fi
46349 fi
46350
46351 if test "$wxUSE_TIPWINDOW" = "yes"; then
46352 if test "$wxUSE_PM" = 1; then
46353 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46354 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46355 else
46356 cat >>confdefs.h <<\_ACEOF
46357 #define wxUSE_TIPWINDOW 1
46358 _ACEOF
46359
46360 fi
46361 fi
46362
46363 if test "$USES_CONTROLS" = 1; then
46364 cat >>confdefs.h <<\_ACEOF
46365 #define wxUSE_CONTROLS 1
46366 _ACEOF
46367
46368 fi
46369
46370
46371 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46372 cat >>confdefs.h <<\_ACEOF
46373 #define wxUSE_ACCESSIBILITY 1
46374 _ACEOF
46375
46376 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46377 fi
46378
46379 if test "$wxUSE_DC_CACHEING" = "yes"; then
46380 cat >>confdefs.h <<\_ACEOF
46381 #define wxUSE_DC_CACHEING 1
46382 _ACEOF
46383
46384 fi
46385
46386 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46387 cat >>confdefs.h <<\_ACEOF
46388 #define wxUSE_DRAGIMAGE 1
46389 _ACEOF
46390
46391 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46392 fi
46393
46394 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46395 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46396 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46397 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46398 else
46399 cat >>confdefs.h <<\_ACEOF
46400 #define wxUSE_EXCEPTIONS 1
46401 _ACEOF
46402
46403 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46404 fi
46405 fi
46406
46407 USE_HTML=0
46408 if test "$wxUSE_HTML" = "yes"; then
46409 cat >>confdefs.h <<\_ACEOF
46410 #define wxUSE_HTML 1
46411 _ACEOF
46412
46413 USE_HTML=1
46414 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46415 if test "$wxUSE_MAC" = 1; then
46416 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46417 fi
46418 fi
46419 if test "$wxUSE_WEBKIT" = "yes"; then
46420 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46421 old_CPPFLAGS="$CPPFLAGS"
46422 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46423 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46424 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
46425 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46426 echo $ECHO_N "(cached) $ECHO_C" >&6
46427 else
46428 cat >conftest.$ac_ext <<_ACEOF
46429 /* confdefs.h. */
46430 _ACEOF
46431 cat confdefs.h >>conftest.$ac_ext
46432 cat >>conftest.$ac_ext <<_ACEOF
46433 /* end confdefs.h. */
46434 #include <Carbon/Carbon.h>
46435
46436 #include <WebKit/HIWebView.h>
46437 _ACEOF
46438 rm -f conftest.$ac_objext
46439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46440 (eval $ac_compile) 2>conftest.er1
46441 ac_status=$?
46442 grep -v '^ *+' conftest.er1 >conftest.err
46443 rm -f conftest.er1
46444 cat conftest.err >&5
46445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46446 (exit $ac_status); } &&
46447 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46449 (eval $ac_try) 2>&5
46450 ac_status=$?
46451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46452 (exit $ac_status); }; } &&
46453 { ac_try='test -s conftest.$ac_objext'
46454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46455 (eval $ac_try) 2>&5
46456 ac_status=$?
46457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46458 (exit $ac_status); }; }; then
46459 ac_cv_header_WebKit_HIWebView_h=yes
46460 else
46461 echo "$as_me: failed program was:" >&5
46462 sed 's/^/| /' conftest.$ac_ext >&5
46463
46464 ac_cv_header_WebKit_HIWebView_h=no
46465 fi
46466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46467 fi
46468 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46469 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
46470 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46471
46472 cat >>confdefs.h <<\_ACEOF
46473 #define wxUSE_WEBKIT 1
46474 _ACEOF
46475
46476 WEBKIT_LINK="-framework WebKit"
46477
46478 else
46479
46480 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46481 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46482 wxUSE_WEBKIT=no
46483
46484 fi
46485
46486
46487 CPPFLAGS="$old_CPPFLAGS"
46488 elif test "$wxUSE_COCOA" = 1; then
46489 cat >>confdefs.h <<\_ACEOF
46490 #define wxUSE_WEBKIT 1
46491 _ACEOF
46492
46493 else
46494 wxUSE_WEBKIT=no
46495 fi
46496 fi
46497
46498 USE_XRC=0
46499 if test "$wxUSE_XRC" = "yes"; then
46500 if test "$wxUSE_XML" != "yes"; then
46501 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46502 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46503 wxUSE_XRC=no
46504 else
46505 cat >>confdefs.h <<\_ACEOF
46506 #define wxUSE_XRC 1
46507 _ACEOF
46508
46509 USE_XRC=1
46510 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46511 fi
46512 fi
46513
46514 USE_AUI=0
46515 if test "$wxUSE_AUI" = "yes"; then
46516 cat >>confdefs.h <<\_ACEOF
46517 #define wxUSE_AUI 1
46518 _ACEOF
46519
46520 USE_AUI=1
46521 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46522 fi
46523
46524 if test "$wxUSE_MENUS" = "yes"; then
46525 cat >>confdefs.h <<\_ACEOF
46526 #define wxUSE_MENUS 1
46527 _ACEOF
46528
46529 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46530 fi
46531
46532 if test "$wxUSE_METAFILE" = "yes"; then
46533 cat >>confdefs.h <<\_ACEOF
46534 #define wxUSE_METAFILE 1
46535 _ACEOF
46536
46537 fi
46538
46539 if test "$wxUSE_MIMETYPE" = "yes"; then
46540 cat >>confdefs.h <<\_ACEOF
46541 #define wxUSE_MIMETYPE 1
46542 _ACEOF
46543
46544 fi
46545
46546 if test "$wxUSE_MINIFRAME" = "yes"; then
46547 cat >>confdefs.h <<\_ACEOF
46548 #define wxUSE_MINIFRAME 1
46549 _ACEOF
46550
46551 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
46552 fi
46553
46554 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46555 cat >>confdefs.h <<\_ACEOF
46556 #define wxUSE_SYSTEM_OPTIONS 1
46557 _ACEOF
46558
46559 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
46560 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
46561 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46562 fi
46563 fi
46564
46565
46566 if test "$wxUSE_VALIDATORS" = "yes"; then
46567 cat >>confdefs.h <<\_ACEOF
46568 #define wxUSE_VALIDATORS 1
46569 _ACEOF
46570
46571 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46572 fi
46573
46574 if test "$wxUSE_PALETTE" = "yes" ; then
46575 cat >>confdefs.h <<\_ACEOF
46576 #define wxUSE_PALETTE 1
46577 _ACEOF
46578
46579 fi
46580
46581 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46582 LIBS=" -lunicows $LIBS"
46583 fi
46584
46585 USE_RICHTEXT=0
46586 if test "$wxUSE_RICHTEXT" = "yes"; then
46587 cat >>confdefs.h <<\_ACEOF
46588 #define wxUSE_RICHTEXT 1
46589 _ACEOF
46590
46591 USE_RICHTEXT=1
46592 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46593 fi
46594
46595
46596 if test "$wxUSE_IMAGE" = "yes" ; then
46597 cat >>confdefs.h <<\_ACEOF
46598 #define wxUSE_IMAGE 1
46599 _ACEOF
46600
46601
46602 if test "$wxUSE_GIF" = "yes" ; then
46603 cat >>confdefs.h <<\_ACEOF
46604 #define wxUSE_GIF 1
46605 _ACEOF
46606
46607 fi
46608
46609 if test "$wxUSE_PCX" = "yes" ; then
46610 cat >>confdefs.h <<\_ACEOF
46611 #define wxUSE_PCX 1
46612 _ACEOF
46613
46614 fi
46615
46616 if test "$wxUSE_IFF" = "yes" ; then
46617 cat >>confdefs.h <<\_ACEOF
46618 #define wxUSE_IFF 1
46619 _ACEOF
46620
46621 fi
46622
46623 if test "$wxUSE_PNM" = "yes" ; then
46624 cat >>confdefs.h <<\_ACEOF
46625 #define wxUSE_PNM 1
46626 _ACEOF
46627
46628 fi
46629
46630 if test "$wxUSE_XPM" = "yes" ; then
46631 cat >>confdefs.h <<\_ACEOF
46632 #define wxUSE_XPM 1
46633 _ACEOF
46634
46635 fi
46636
46637 if test "$wxUSE_ICO_CUR" = "yes" ; then
46638 cat >>confdefs.h <<\_ACEOF
46639 #define wxUSE_ICO_CUR 1
46640 _ACEOF
46641
46642 fi
46643 fi
46644
46645
46646 if test "$wxUSE_ABOUTDLG" = "yes"; then
46647 cat >>confdefs.h <<\_ACEOF
46648 #define wxUSE_ABOUTDLG 1
46649 _ACEOF
46650
46651 fi
46652
46653 if test "$wxUSE_CHOICEDLG" = "yes"; then
46654 cat >>confdefs.h <<\_ACEOF
46655 #define wxUSE_CHOICEDLG 1
46656 _ACEOF
46657
46658 fi
46659
46660 if test "$wxUSE_COLOURDLG" = "yes"; then
46661 cat >>confdefs.h <<\_ACEOF
46662 #define wxUSE_COLOURDLG 1
46663 _ACEOF
46664
46665 fi
46666
46667 if test "$wxUSE_FILEDLG" = "yes"; then
46668 cat >>confdefs.h <<\_ACEOF
46669 #define wxUSE_FILEDLG 1
46670 _ACEOF
46671
46672 fi
46673
46674 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46675 cat >>confdefs.h <<\_ACEOF
46676 #define wxUSE_FINDREPLDLG 1
46677 _ACEOF
46678
46679 fi
46680
46681 if test "$wxUSE_FONTDLG" = "yes"; then
46682 cat >>confdefs.h <<\_ACEOF
46683 #define wxUSE_FONTDLG 1
46684 _ACEOF
46685
46686 fi
46687
46688 if test "$wxUSE_DIRDLG" = "yes"; then
46689 if test "$wxUSE_TREECTRL" != "yes"; then
46690 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46691 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46692 else
46693 cat >>confdefs.h <<\_ACEOF
46694 #define wxUSE_DIRDLG 1
46695 _ACEOF
46696
46697 fi
46698 fi
46699
46700 if test "$wxUSE_MSGDLG" = "yes"; then
46701 cat >>confdefs.h <<\_ACEOF
46702 #define wxUSE_MSGDLG 1
46703 _ACEOF
46704
46705 fi
46706
46707 if test "$wxUSE_NUMBERDLG" = "yes"; then
46708 cat >>confdefs.h <<\_ACEOF
46709 #define wxUSE_NUMBERDLG 1
46710 _ACEOF
46711
46712 fi
46713
46714 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46715 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46716 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46717 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46718 else
46719 cat >>confdefs.h <<\_ACEOF
46720 #define wxUSE_PROGRESSDLG 1
46721 _ACEOF
46722
46723 fi
46724 fi
46725
46726 if test "$wxUSE_SPLASH" = "yes"; then
46727 cat >>confdefs.h <<\_ACEOF
46728 #define wxUSE_SPLASH 1
46729 _ACEOF
46730
46731 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46732 fi
46733
46734 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46735 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46736 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46737 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46738 else
46739 cat >>confdefs.h <<\_ACEOF
46740 #define wxUSE_STARTUP_TIPS 1
46741 _ACEOF
46742
46743 fi
46744 fi
46745
46746 if test "$wxUSE_TEXTDLG" = "yes"; then
46747 cat >>confdefs.h <<\_ACEOF
46748 #define wxUSE_TEXTDLG 1
46749 _ACEOF
46750
46751 fi
46752
46753 if test "$wxUSE_WIZARDDLG" = "yes"; then
46754 cat >>confdefs.h <<\_ACEOF
46755 #define wxUSE_WIZARDDLG 1
46756 _ACEOF
46757
46758 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46759 fi
46760
46761
46762 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46763 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
46764 cat >>confdefs.h <<\_ACEOF
46765 #define wxUSE_GRAPHICS_CONTEXT 1
46766 _ACEOF
46767
46768 elif test "$wxUSE_GTK" != 1; then
46769 cat >>confdefs.h <<\_ACEOF
46770 #define wxUSE_GRAPHICS_CONTEXT 1
46771 _ACEOF
46772
46773 else
46774
46775 pkg_failed=no
46776 echo "$as_me:$LINENO: checking for CAIRO" >&5
46777 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
46778
46779 if test -n "$PKG_CONFIG"; then
46780 if test -n "$CAIRO_CFLAGS"; then
46781 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46782 else
46783 if test -n "$PKG_CONFIG" && \
46784 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46785 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46786 ac_status=$?
46787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46788 (exit $ac_status); }; then
46789 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46790 else
46791 pkg_failed=yes
46792 fi
46793 fi
46794 else
46795 pkg_failed=untried
46796 fi
46797 if test -n "$PKG_CONFIG"; then
46798 if test -n "$CAIRO_LIBS"; then
46799 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46800 else
46801 if test -n "$PKG_CONFIG" && \
46802 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46803 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46804 ac_status=$?
46805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46806 (exit $ac_status); }; then
46807 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46808 else
46809 pkg_failed=yes
46810 fi
46811 fi
46812 else
46813 pkg_failed=untried
46814 fi
46815
46816
46817
46818 if test $pkg_failed = yes; then
46819
46820 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46821 _pkg_short_errors_supported=yes
46822 else
46823 _pkg_short_errors_supported=no
46824 fi
46825 if test $_pkg_short_errors_supported = yes; then
46826 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46827 else
46828 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46829 fi
46830 # Put the nasty error message in config.log where it belongs
46831 echo "$CAIRO_PKG_ERRORS" >&5
46832
46833 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46834 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46835
46836 elif test $pkg_failed = untried; then
46837 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46838 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46839
46840 else
46841 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46842 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46843 echo "$as_me:$LINENO: result: yes" >&5
46844 echo "${ECHO_T}yes" >&6
46845 cat >>confdefs.h <<\_ACEOF
46846 #define wxUSE_GRAPHICS_CONTEXT 1
46847 _ACEOF
46848
46849 fi
46850 fi
46851 fi
46852
46853
46854 USE_MEDIA=0
46855
46856 if test "$wxUSE_MEDIACTRL" = "yes"; then
46857 USE_MEDIA=1
46858
46859 if test "$wxUSE_GTK" = 1; then
46860 wxUSE_GSTREAMER="no"
46861
46862 GST_VERSION_MAJOR=0
46863 GST_VERSION_MINOR=10
46864 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46865
46866 if test "$wxUSE_GSTREAMER8" = "no"; then
46867
46868 pkg_failed=no
46869 echo "$as_me:$LINENO: checking for GST" >&5
46870 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46871
46872 if test -n "$PKG_CONFIG"; then
46873 if test -n "$GST_CFLAGS"; then
46874 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46875 else
46876 if test -n "$PKG_CONFIG" && \
46877 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46878 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46879 ac_status=$?
46880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46881 (exit $ac_status); }; then
46882 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46883 else
46884 pkg_failed=yes
46885 fi
46886 fi
46887 else
46888 pkg_failed=untried
46889 fi
46890 if test -n "$PKG_CONFIG"; then
46891 if test -n "$GST_LIBS"; then
46892 pkg_cv_GST_LIBS="$GST_LIBS"
46893 else
46894 if test -n "$PKG_CONFIG" && \
46895 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46896 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46897 ac_status=$?
46898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46899 (exit $ac_status); }; then
46900 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46901 else
46902 pkg_failed=yes
46903 fi
46904 fi
46905 else
46906 pkg_failed=untried
46907 fi
46908
46909
46910
46911 if test $pkg_failed = yes; then
46912
46913 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46914 _pkg_short_errors_supported=yes
46915 else
46916 _pkg_short_errors_supported=no
46917 fi
46918 if test $_pkg_short_errors_supported = yes; then
46919 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46920 else
46921 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46922 fi
46923 # Put the nasty error message in config.log where it belongs
46924 echo "$GST_PKG_ERRORS" >&5
46925
46926
46927 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46928 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46929 GST_VERSION_MINOR=8
46930
46931
46932 elif test $pkg_failed = untried; then
46933
46934 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46935 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46936 GST_VERSION_MINOR=8
46937
46938
46939 else
46940 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46941 GST_LIBS=$pkg_cv_GST_LIBS
46942 echo "$as_me:$LINENO: result: yes" >&5
46943 echo "${ECHO_T}yes" >&6
46944
46945 wxUSE_GSTREAMER="yes"
46946 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46947
46948 fi
46949 else
46950 GST_VERSION_MINOR=8
46951 fi
46952
46953 if test $GST_VERSION_MINOR = "8"; then
46954 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46955
46956 pkg_failed=no
46957 echo "$as_me:$LINENO: checking for GST" >&5
46958 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46959
46960 if test -n "$PKG_CONFIG"; then
46961 if test -n "$GST_CFLAGS"; then
46962 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46963 else
46964 if test -n "$PKG_CONFIG" && \
46965 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46966 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46967 ac_status=$?
46968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46969 (exit $ac_status); }; then
46970 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46971 else
46972 pkg_failed=yes
46973 fi
46974 fi
46975 else
46976 pkg_failed=untried
46977 fi
46978 if test -n "$PKG_CONFIG"; then
46979 if test -n "$GST_LIBS"; then
46980 pkg_cv_GST_LIBS="$GST_LIBS"
46981 else
46982 if test -n "$PKG_CONFIG" && \
46983 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46984 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46985 ac_status=$?
46986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46987 (exit $ac_status); }; then
46988 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46989 else
46990 pkg_failed=yes
46991 fi
46992 fi
46993 else
46994 pkg_failed=untried
46995 fi
46996
46997
46998
46999 if test $pkg_failed = yes; then
47000
47001 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47002 _pkg_short_errors_supported=yes
47003 else
47004 _pkg_short_errors_supported=no
47005 fi
47006 if test $_pkg_short_errors_supported = yes; then
47007 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47008 else
47009 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47010 fi
47011 # Put the nasty error message in config.log where it belongs
47012 echo "$GST_PKG_ERRORS" >&5
47013
47014
47015 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47016 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47017
47018 elif test $pkg_failed = untried; then
47019
47020 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47021 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47022
47023 else
47024 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47025 GST_LIBS=$pkg_cv_GST_LIBS
47026 echo "$as_me:$LINENO: result: yes" >&5
47027 echo "${ECHO_T}yes" >&6
47028 wxUSE_GSTREAMER="yes"
47029 fi
47030 fi
47031
47032
47033 if test "$wxUSE_GSTREAMER" = "yes"; then
47034 case "${host}" in
47035 *-*-solaris2* )
47036 if "$GCC" = yes; then
47037 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
47038 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
47039 fi
47040 esac
47041
47042 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47043 LIBS="$GST_LIBS $LIBS"
47044
47045 cat >>confdefs.h <<\_ACEOF
47046 #define wxUSE_GSTREAMER 1
47047 _ACEOF
47048
47049 else
47050 USE_MEDIA=0
47051 fi
47052 fi
47053
47054 if test $USE_MEDIA = 1; then
47055 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47056 cat >>confdefs.h <<\_ACEOF
47057 #define wxUSE_MEDIACTRL 1
47058 _ACEOF
47059
47060 fi
47061 fi
47062
47063
47064 if test "$cross_compiling" = "yes"; then
47065 OSINFO="\"$host\""
47066 else
47067 OSINFO=`uname -s -r -m`
47068 OSINFO="\"$OSINFO\""
47069 fi
47070
47071 cat >>confdefs.h <<_ACEOF
47072 #define WXWIN_OS_DESCRIPTION $OSINFO
47073 _ACEOF
47074
47075
47076
47077 if test "x$prefix" != "xNONE"; then
47078 wxPREFIX=$prefix
47079 else
47080 wxPREFIX=$ac_default_prefix
47081 fi
47082
47083 cat >>confdefs.h <<_ACEOF
47084 #define wxINSTALL_PREFIX "$wxPREFIX"
47085 _ACEOF
47086
47087
47088
47089
47090 CORE_BASE_LIBS="net base"
47091 CORE_GUI_LIBS="adv core"
47092
47093 if test "$wxUSE_XML" = "yes" ; then
47094 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
47095 fi
47096 if test "$wxUSE_ODBC" != "no" ; then
47097 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
47098 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
47099 fi
47100 if test "$wxUSE_HTML" = "yes" ; then
47101 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
47102 fi
47103 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47104 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
47105 fi
47106 if test "$wxUSE_XRC" = "yes" ; then
47107 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
47108 fi
47109 if test "$wxUSE_AUI" = "yes" ; then
47110 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
47111 fi
47112
47113 if test "$wxUSE_GUI" != "yes"; then
47114 CORE_GUI_LIBS=""
47115 fi
47116
47117
47118
47119
47120
47121 ac_ext=c
47122 ac_cpp='$CPP $CPPFLAGS'
47123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47126
47127
47128
47129 if test "$wxUSE_MAC" = 1 ; then
47130 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47131 if test "$USE_DARWIN" = 1; then
47132 LDFLAGS="$LDFLAGS -framework QuickTime"
47133 else
47134 LDFLAGS="$LDFLAGS -lQuickTimeLib"
47135 fi
47136 fi
47137 if test "$USE_DARWIN" = 1; then
47138 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
47139 else
47140 LDFLAGS="$LDFLAGS -lCarbonLib"
47141 fi
47142 fi
47143 if test "$wxUSE_COCOA" = 1 ; then
47144 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47145 if test "$wxUSE_MEDIACTRL" = "yes"; then
47146 LDFLAGS="$LDFLAGS -framework QuickTime"
47147 fi
47148 fi
47149 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47150 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47151 fi
47152
47153 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47154
47155 if test "$wxUSE_GUI" = "yes"; then
47156
47157
47158 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47159 dynamic erase event exec font image minimal mobile \
47160 mobile/wxedit mobile/styles propsize render \
47161 rotate shaped vscroll widgets"
47162
47163 if test "$wxUSE_MONOLITHIC" != "yes"; then
47164 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47165 fi
47166 if test "$TOOLKIT" = "MSW"; then
47167 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47168 if test "$wxUSE_UNIVERSAL" != "yes"; then
47169 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47170 fi
47171 fi
47172 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47173 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47174 fi
47175 else
47176 SAMPLES_SUBDIRS="console"
47177 fi
47178
47179
47180 if test "x$INTELCC" = "xyes" ; then
47181 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
47182 elif test "$GCC" = yes ; then
47183 CWARNINGS="-Wall -Wundef"
47184 fi
47185
47186 if test "x$INTELCXX" = "xyes" ; then
47187 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
47188 elif test "$GXX" = yes ; then
47189 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
47190 fi
47191
47192
47193 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47194 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47195
47196
47197 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47198 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
47199 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47200 $CPPFLAGS `
47201
47202 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47203 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47204 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
47205
47206 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47207
47208
47209 if test "x$MWCC" = "xyes"; then
47210
47211 CC="$CC -cwd source -I-"
47212 CXX="$CXX -cwd source -I-"
47213 fi
47214
47215
47216 LIBS=`echo $LIBS`
47217 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47218 EXTRALIBS_XML="$EXPAT_LINK"
47219 EXTRALIBS_HTML="$MSPACK_LINK"
47220 EXTRALIBS_ODBC="$ODBC_LINK"
47221 if test "$wxUSE_GUI" = "yes"; then
47222 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47223 fi
47224 if test "$wxUSE_OPENGL" = "yes"; then
47225 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47226 fi
47227
47228 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47229
47230 WXCONFIG_LIBS="$LIBS"
47231
47232 if test "$wxUSE_REGEX" = "builtin" ; then
47233 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47234 fi
47235 if test "$wxUSE_EXPAT" = "builtin" ; then
47236 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47237 fi
47238 if test "$wxUSE_ODBC" = "builtin" ; then
47239 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
47240 fi
47241 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47242 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47243 fi
47244 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47245 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47246 fi
47247 if test "$wxUSE_LIBPNG" = "builtin" ; then
47248 wxconfig_3rdparty="png $wxconfig_3rdparty"
47249 fi
47250 if test "$wxUSE_ZLIB" = "builtin" ; then
47251 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47252 fi
47253
47254 for i in $wxconfig_3rdparty ; do
47255 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47256 done
47257
47258
47259 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47260 WXUNIV=1
47261
47262 case "$wxUNIV_THEMES" in
47263 ''|all)
47264 cat >>confdefs.h <<\_ACEOF
47265 #define wxUSE_ALL_THEMES 1
47266 _ACEOF
47267
47268 ;;
47269
47270 *)
47271 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
47272 cat >>confdefs.h <<_ACEOF
47273 #define wxUSE_THEME_$t 1
47274 _ACEOF
47275
47276 done
47277 esac
47278 else
47279 WXUNIV=0
47280 fi
47281
47282
47283
47284
47285
47286
47287
47288
47289
47290 if test $wxUSE_MONOLITHIC = "yes" ; then
47291 MONOLITHIC=1
47292 else
47293 MONOLITHIC=0
47294 fi
47295
47296 if test $wxUSE_PLUGINS = "yes" ; then
47297 USE_PLUGINS=1
47298 else
47299 USE_PLUGINS=0
47300 fi
47301
47302 if test $wxUSE_ODBC != "no" ; then
47303 USE_ODBC=1
47304 else
47305 USE_ODBC=0
47306 fi
47307
47308 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47309 USE_QA=1
47310 else
47311 USE_QA=0
47312 fi
47313
47314 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47315 OFFICIAL_BUILD=1
47316 else
47317 OFFICIAL_BUILD=0
47318 fi
47319
47320
47321
47322
47323
47324
47325
47326
47327
47328
47329
47330
47331
47332
47333
47334
47335
47336
47337
47338
47339
47340
47341
47342
47343
47344 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
47345
47346
47347
47348
47349
47350
47351
47352
47353 case "$TOOLKIT" in
47354 GTK)
47355 TOOLKIT_DESC="GTK+"
47356 if test "$WXGTK20" = 1; then
47357 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47358 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47359 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47360 fi
47361 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47362 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47363 fi
47364 if test "$wxUSE_LIBHILDON" = "yes"; then
47365 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47366 fi
47367
47368 if test "$TOOLKIT_EXTRA" != ""; then
47369 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47370 fi
47371 fi
47372 ;;
47373
47374 ?*)
47375 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47376 ;;
47377
47378 *)
47379 TOOLKIT_DESC="base only"
47380 ;;
47381 esac
47382
47383 if test "$wxUSE_WINE" = "yes"; then
47384 BAKEFILE_FORCE_PLATFORM=win32
47385 fi
47386
47387 if test "$wxUSE_MAC" = 1 ; then
47388 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
47389 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
47390 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
47391 else
47392 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
47393 fi
47394 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
47395 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
47396 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
47397 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
47398 bk_use_pch=no
47399 fi
47400 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
47401 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
47402 fi
47403
47404 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47405 then
47406 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47407 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
47408 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47409 echo $ECHO_N "(cached) $ECHO_C" >&6
47410 else
47411
47412 echo '#include <stdio.h>
47413 const wchar_t test_var[] = L"awidetest";' > conftest.h
47414
47415 echo '#include "conftest.h"
47416 int main()
47417 {
47418 printf("%ls", test_var);
47419 return 0;
47420 }' > conftest.cpp
47421
47422 wx_cv_gcc_pch_bug="pch not supported"
47423
47424 if $CXX conftest.h >/dev/null 2>&1
47425 then
47426 wx_cv_gcc_pch_bug=
47427
47428 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47429 then
47430 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47431 grep awidetest >/dev/null
47432 then
47433 wx_cv_gcc_pch_bug=no
47434 else
47435 wx_cv_gcc_pch_bug=yes
47436 fi
47437 fi
47438 fi
47439
47440 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47441
47442 fi
47443 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47444 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
47445
47446 if test "$wx_cv_gcc_pch_bug" = yes; then
47447 bk_use_pch=no
47448 fi
47449 fi
47450
47451
47452
47453
47454 if test "x$BAKEFILE_HOST" = "x"; then
47455 if test "x${host}" = "x" ; then
47456 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47457 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47458 { (exit 1); exit 1; }; }
47459 fi
47460
47461 BAKEFILE_HOST="${host}"
47462 fi
47463
47464 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47465
47466 if test -n "$ac_tool_prefix"; then
47467 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47468 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47469 echo "$as_me:$LINENO: checking for $ac_word" >&5
47470 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47471 if test "${ac_cv_prog_RANLIB+set}" = set; then
47472 echo $ECHO_N "(cached) $ECHO_C" >&6
47473 else
47474 if test -n "$RANLIB"; then
47475 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47476 else
47477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47478 for as_dir in $PATH
47479 do
47480 IFS=$as_save_IFS
47481 test -z "$as_dir" && as_dir=.
47482 for ac_exec_ext in '' $ac_executable_extensions; do
47483 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47484 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47485 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47486 break 2
47487 fi
47488 done
47489 done
47490
47491 fi
47492 fi
47493 RANLIB=$ac_cv_prog_RANLIB
47494 if test -n "$RANLIB"; then
47495 echo "$as_me:$LINENO: result: $RANLIB" >&5
47496 echo "${ECHO_T}$RANLIB" >&6
47497 else
47498 echo "$as_me:$LINENO: result: no" >&5
47499 echo "${ECHO_T}no" >&6
47500 fi
47501
47502 fi
47503 if test -z "$ac_cv_prog_RANLIB"; then
47504 ac_ct_RANLIB=$RANLIB
47505 # Extract the first word of "ranlib", so it can be a program name with args.
47506 set dummy ranlib; ac_word=$2
47507 echo "$as_me:$LINENO: checking for $ac_word" >&5
47508 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47509 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47510 echo $ECHO_N "(cached) $ECHO_C" >&6
47511 else
47512 if test -n "$ac_ct_RANLIB"; then
47513 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47514 else
47515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47516 for as_dir in $PATH
47517 do
47518 IFS=$as_save_IFS
47519 test -z "$as_dir" && as_dir=.
47520 for ac_exec_ext in '' $ac_executable_extensions; do
47521 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47522 ac_cv_prog_ac_ct_RANLIB="ranlib"
47523 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47524 break 2
47525 fi
47526 done
47527 done
47528
47529 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
47530 fi
47531 fi
47532 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47533 if test -n "$ac_ct_RANLIB"; then
47534 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47535 echo "${ECHO_T}$ac_ct_RANLIB" >&6
47536 else
47537 echo "$as_me:$LINENO: result: no" >&5
47538 echo "${ECHO_T}no" >&6
47539 fi
47540
47541 RANLIB=$ac_ct_RANLIB
47542 else
47543 RANLIB="$ac_cv_prog_RANLIB"
47544 fi
47545
47546 # Find a good install program. We prefer a C program (faster),
47547 # so one script is as good as another. But avoid the broken or
47548 # incompatible versions:
47549 # SysV /etc/install, /usr/sbin/install
47550 # SunOS /usr/etc/install
47551 # IRIX /sbin/install
47552 # AIX /bin/install
47553 # AmigaOS /C/install, which installs bootblocks on floppy discs
47554 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47555 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47556 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47557 # OS/2's system install, which has a completely different semantic
47558 # ./install, which can be erroneously created by make from ./install.sh.
47559 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47560 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
47561 if test -z "$INSTALL"; then
47562 if test "${ac_cv_path_install+set}" = set; then
47563 echo $ECHO_N "(cached) $ECHO_C" >&6
47564 else
47565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47566 for as_dir in $PATH
47567 do
47568 IFS=$as_save_IFS
47569 test -z "$as_dir" && as_dir=.
47570 # Account for people who put trailing slashes in PATH elements.
47571 case $as_dir/ in
47572 ./ | .// | /cC/* | \
47573 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47574 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47575 /usr/ucb/* ) ;;
47576 *)
47577 # OSF1 and SCO ODT 3.0 have their own names for install.
47578 # Don't use installbsd from OSF since it installs stuff as root
47579 # by default.
47580 for ac_prog in ginstall scoinst install; do
47581 for ac_exec_ext in '' $ac_executable_extensions; do
47582 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
47583 if test $ac_prog = install &&
47584 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47585 # AIX install. It has an incompatible calling convention.
47586 :
47587 elif test $ac_prog = install &&
47588 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47589 # program-specific install script used by HP pwplus--don't use.
47590 :
47591 else
47592 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47593 break 3
47594 fi
47595 fi
47596 done
47597 done
47598 ;;
47599 esac
47600 done
47601
47602
47603 fi
47604 if test "${ac_cv_path_install+set}" = set; then
47605 INSTALL=$ac_cv_path_install
47606 else
47607 # As a last resort, use the slow shell script. We don't cache a
47608 # path for INSTALL within a source directory, because that will
47609 # break other packages using the cache if that directory is
47610 # removed, or if the path is relative.
47611 INSTALL=$ac_install_sh
47612 fi
47613 fi
47614 echo "$as_me:$LINENO: result: $INSTALL" >&5
47615 echo "${ECHO_T}$INSTALL" >&6
47616
47617 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47618 # It thinks the first close brace ends the variable substitution.
47619 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47620
47621 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47622
47623 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47624
47625 echo "$as_me:$LINENO: checking whether ln -s works" >&5
47626 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
47627 LN_S=$as_ln_s
47628 if test "$LN_S" = "ln -s"; then
47629 echo "$as_me:$LINENO: result: yes" >&5
47630 echo "${ECHO_T}yes" >&6
47631 else
47632 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47633 echo "${ECHO_T}no, using $LN_S" >&6
47634 fi
47635
47636
47637 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47638 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
47639 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
47640 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
47641 echo $ECHO_N "(cached) $ECHO_C" >&6
47642 else
47643 cat >conftest.make <<\_ACEOF
47644 all:
47645 @echo 'ac_maketemp="$(MAKE)"'
47646 _ACEOF
47647 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47648 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
47649 if test -n "$ac_maketemp"; then
47650 eval ac_cv_prog_make_${ac_make}_set=yes
47651 else
47652 eval ac_cv_prog_make_${ac_make}_set=no
47653 fi
47654 rm -f conftest.make
47655 fi
47656 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
47657 echo "$as_me:$LINENO: result: yes" >&5
47658 echo "${ECHO_T}yes" >&6
47659 SET_MAKE=
47660 else
47661 echo "$as_me:$LINENO: result: no" >&5
47662 echo "${ECHO_T}no" >&6
47663 SET_MAKE="MAKE=${MAKE-make}"
47664 fi
47665
47666
47667
47668 if test -n "$ac_tool_prefix"; then
47669 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47670 set dummy ${ac_tool_prefix}ar; ac_word=$2
47671 echo "$as_me:$LINENO: checking for $ac_word" >&5
47672 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47673 if test "${ac_cv_prog_AR+set}" = set; then
47674 echo $ECHO_N "(cached) $ECHO_C" >&6
47675 else
47676 if test -n "$AR"; then
47677 ac_cv_prog_AR="$AR" # Let the user override the test.
47678 else
47679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47680 for as_dir in $PATH
47681 do
47682 IFS=$as_save_IFS
47683 test -z "$as_dir" && as_dir=.
47684 for ac_exec_ext in '' $ac_executable_extensions; do
47685 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47686 ac_cv_prog_AR="${ac_tool_prefix}ar"
47687 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47688 break 2
47689 fi
47690 done
47691 done
47692
47693 fi
47694 fi
47695 AR=$ac_cv_prog_AR
47696 if test -n "$AR"; then
47697 echo "$as_me:$LINENO: result: $AR" >&5
47698 echo "${ECHO_T}$AR" >&6
47699 else
47700 echo "$as_me:$LINENO: result: no" >&5
47701 echo "${ECHO_T}no" >&6
47702 fi
47703
47704 fi
47705 if test -z "$ac_cv_prog_AR"; then
47706 ac_ct_AR=$AR
47707 # Extract the first word of "ar", so it can be a program name with args.
47708 set dummy ar; ac_word=$2
47709 echo "$as_me:$LINENO: checking for $ac_word" >&5
47710 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47711 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47712 echo $ECHO_N "(cached) $ECHO_C" >&6
47713 else
47714 if test -n "$ac_ct_AR"; then
47715 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47716 else
47717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47718 for as_dir in $PATH
47719 do
47720 IFS=$as_save_IFS
47721 test -z "$as_dir" && as_dir=.
47722 for ac_exec_ext in '' $ac_executable_extensions; do
47723 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47724 ac_cv_prog_ac_ct_AR="ar"
47725 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47726 break 2
47727 fi
47728 done
47729 done
47730
47731 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
47732 fi
47733 fi
47734 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47735 if test -n "$ac_ct_AR"; then
47736 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47737 echo "${ECHO_T}$ac_ct_AR" >&6
47738 else
47739 echo "$as_me:$LINENO: result: no" >&5
47740 echo "${ECHO_T}no" >&6
47741 fi
47742
47743 AR=$ac_ct_AR
47744 else
47745 AR="$ac_cv_prog_AR"
47746 fi
47747
47748 if test -n "$ac_tool_prefix"; then
47749 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47750 set dummy ${ac_tool_prefix}strip; ac_word=$2
47751 echo "$as_me:$LINENO: checking for $ac_word" >&5
47752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47753 if test "${ac_cv_prog_STRIP+set}" = set; then
47754 echo $ECHO_N "(cached) $ECHO_C" >&6
47755 else
47756 if test -n "$STRIP"; then
47757 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47758 else
47759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47760 for as_dir in $PATH
47761 do
47762 IFS=$as_save_IFS
47763 test -z "$as_dir" && as_dir=.
47764 for ac_exec_ext in '' $ac_executable_extensions; do
47765 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47766 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47768 break 2
47769 fi
47770 done
47771 done
47772
47773 fi
47774 fi
47775 STRIP=$ac_cv_prog_STRIP
47776 if test -n "$STRIP"; then
47777 echo "$as_me:$LINENO: result: $STRIP" >&5
47778 echo "${ECHO_T}$STRIP" >&6
47779 else
47780 echo "$as_me:$LINENO: result: no" >&5
47781 echo "${ECHO_T}no" >&6
47782 fi
47783
47784 fi
47785 if test -z "$ac_cv_prog_STRIP"; then
47786 ac_ct_STRIP=$STRIP
47787 # Extract the first word of "strip", so it can be a program name with args.
47788 set dummy strip; ac_word=$2
47789 echo "$as_me:$LINENO: checking for $ac_word" >&5
47790 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47791 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47792 echo $ECHO_N "(cached) $ECHO_C" >&6
47793 else
47794 if test -n "$ac_ct_STRIP"; then
47795 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47796 else
47797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47798 for as_dir in $PATH
47799 do
47800 IFS=$as_save_IFS
47801 test -z "$as_dir" && as_dir=.
47802 for ac_exec_ext in '' $ac_executable_extensions; do
47803 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47804 ac_cv_prog_ac_ct_STRIP="strip"
47805 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47806 break 2
47807 fi
47808 done
47809 done
47810
47811 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
47812 fi
47813 fi
47814 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47815 if test -n "$ac_ct_STRIP"; then
47816 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47817 echo "${ECHO_T}$ac_ct_STRIP" >&6
47818 else
47819 echo "$as_me:$LINENO: result: no" >&5
47820 echo "${ECHO_T}no" >&6
47821 fi
47822
47823 STRIP=$ac_ct_STRIP
47824 else
47825 STRIP="$ac_cv_prog_STRIP"
47826 fi
47827
47828 if test -n "$ac_tool_prefix"; then
47829 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47830 set dummy ${ac_tool_prefix}nm; ac_word=$2
47831 echo "$as_me:$LINENO: checking for $ac_word" >&5
47832 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47833 if test "${ac_cv_prog_NM+set}" = set; then
47834 echo $ECHO_N "(cached) $ECHO_C" >&6
47835 else
47836 if test -n "$NM"; then
47837 ac_cv_prog_NM="$NM" # Let the user override the test.
47838 else
47839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47840 for as_dir in $PATH
47841 do
47842 IFS=$as_save_IFS
47843 test -z "$as_dir" && as_dir=.
47844 for ac_exec_ext in '' $ac_executable_extensions; do
47845 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47846 ac_cv_prog_NM="${ac_tool_prefix}nm"
47847 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47848 break 2
47849 fi
47850 done
47851 done
47852
47853 fi
47854 fi
47855 NM=$ac_cv_prog_NM
47856 if test -n "$NM"; then
47857 echo "$as_me:$LINENO: result: $NM" >&5
47858 echo "${ECHO_T}$NM" >&6
47859 else
47860 echo "$as_me:$LINENO: result: no" >&5
47861 echo "${ECHO_T}no" >&6
47862 fi
47863
47864 fi
47865 if test -z "$ac_cv_prog_NM"; then
47866 ac_ct_NM=$NM
47867 # Extract the first word of "nm", so it can be a program name with args.
47868 set dummy nm; ac_word=$2
47869 echo "$as_me:$LINENO: checking for $ac_word" >&5
47870 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47871 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47872 echo $ECHO_N "(cached) $ECHO_C" >&6
47873 else
47874 if test -n "$ac_ct_NM"; then
47875 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47876 else
47877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47878 for as_dir in $PATH
47879 do
47880 IFS=$as_save_IFS
47881 test -z "$as_dir" && as_dir=.
47882 for ac_exec_ext in '' $ac_executable_extensions; do
47883 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47884 ac_cv_prog_ac_ct_NM="nm"
47885 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47886 break 2
47887 fi
47888 done
47889 done
47890
47891 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
47892 fi
47893 fi
47894 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47895 if test -n "$ac_ct_NM"; then
47896 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47897 echo "${ECHO_T}$ac_ct_NM" >&6
47898 else
47899 echo "$as_me:$LINENO: result: no" >&5
47900 echo "${ECHO_T}no" >&6
47901 fi
47902
47903 NM=$ac_ct_NM
47904 else
47905 NM="$ac_cv_prog_NM"
47906 fi
47907
47908
47909 case ${BAKEFILE_HOST} in
47910 *-hp-hpux* )
47911 INSTALL_DIR="mkdir -p"
47912 ;;
47913 *) INSTALL_DIR="$INSTALL -d"
47914 ;;
47915 esac
47916
47917
47918 LDFLAGS_GUI=
47919 case ${BAKEFILE_HOST} in
47920 *-*-cygwin* | *-*-mingw32* )
47921 LDFLAGS_GUI="-mwindows"
47922 esac
47923
47924
47925 fi
47926
47927 echo "$as_me:$LINENO: checking if make is GNU make" >&5
47928 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
47929 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47930 echo $ECHO_N "(cached) $ECHO_C" >&6
47931 else
47932
47933 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47934 egrep -s GNU > /dev/null); then
47935 bakefile_cv_prog_makeisgnu="yes"
47936 else
47937 bakefile_cv_prog_makeisgnu="no"
47938 fi
47939
47940 fi
47941 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47942 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
47943
47944 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47945 IF_GNU_MAKE=""
47946 else
47947 IF_GNU_MAKE="#"
47948 fi
47949
47950
47951
47952 PLATFORM_UNIX=0
47953 PLATFORM_WIN32=0
47954 PLATFORM_MSDOS=0
47955 PLATFORM_MAC=0
47956 PLATFORM_MACOS=0
47957 PLATFORM_MACOSX=0
47958 PLATFORM_OS2=0
47959 PLATFORM_BEOS=0
47960
47961 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47962 case "${BAKEFILE_HOST}" in
47963 *-*-mingw32* )
47964 PLATFORM_WIN32=1
47965 ;;
47966 *-pc-msdosdjgpp )
47967 PLATFORM_MSDOS=1
47968 ;;
47969 *-pc-os2_emx | *-pc-os2-emx )
47970 PLATFORM_OS2=1
47971 ;;
47972 *-*-darwin* )
47973 PLATFORM_MAC=1
47974 PLATFORM_MACOSX=1
47975 ;;
47976 *-*-beos* )
47977 PLATFORM_BEOS=1
47978 ;;
47979 powerpc-apple-macos* )
47980 PLATFORM_MAC=1
47981 PLATFORM_MACOS=1
47982 ;;
47983 * )
47984 PLATFORM_UNIX=1
47985 ;;
47986 esac
47987 else
47988 case "$BAKEFILE_FORCE_PLATFORM" in
47989 win32 )
47990 PLATFORM_WIN32=1
47991 ;;
47992 msdos )
47993 PLATFORM_MSDOS=1
47994 ;;
47995 os2 )
47996 PLATFORM_OS2=1
47997 ;;
47998 darwin )
47999 PLATFORM_MAC=1
48000 PLATFORM_MACOSX=1
48001 ;;
48002 unix )
48003 PLATFORM_UNIX=1
48004 ;;
48005 beos )
48006 PLATFORM_BEOS=1
48007 ;;
48008 * )
48009 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
48010 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
48011 { (exit 1); exit 1; }; }
48012 ;;
48013 esac
48014 fi
48015
48016
48017
48018
48019
48020
48021
48022
48023
48024
48025
48026 # Check whether --enable-omf or --disable-omf was given.
48027 if test "${enable_omf+set}" = set; then
48028 enableval="$enable_omf"
48029 bk_os2_use_omf="$enableval"
48030 fi;
48031
48032 case "${BAKEFILE_HOST}" in
48033 *-*-darwin* )
48034 if test "x$GCC" = "xyes"; then
48035 CFLAGS="$CFLAGS -fno-common"
48036 CXXFLAGS="$CXXFLAGS -fno-common"
48037 fi
48038 if test "x$XLCC" = "xyes"; then
48039 CFLAGS="$CFLAGS -qnocommon"
48040 CXXFLAGS="$CXXFLAGS -qnocommon"
48041 fi
48042 ;;
48043
48044 *-pc-os2_emx | *-pc-os2-emx )
48045 if test "x$bk_os2_use_omf" = "xyes" ; then
48046 AR=emxomfar
48047 RANLIB=:
48048 LDFLAGS="-Zomf $LDFLAGS"
48049 CFLAGS="-Zomf $CFLAGS"
48050 CXXFLAGS="-Zomf $CXXFLAGS"
48051 OS2_LIBEXT="lib"
48052 else
48053 OS2_LIBEXT="a"
48054 fi
48055 ;;
48056
48057 i*86-*-beos* )
48058 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48059 ;;
48060 esac
48061
48062
48063 SO_SUFFIX="so"
48064 SO_SUFFIX_MODULE="so"
48065 EXEEXT=""
48066 LIBPREFIX="lib"
48067 LIBEXT=".a"
48068 DLLPREFIX="lib"
48069 DLLPREFIX_MODULE=""
48070 DLLIMP_SUFFIX=""
48071 dlldir="$libdir"
48072
48073 case "${BAKEFILE_HOST}" in
48074 *-hp-hpux* )
48075 SO_SUFFIX="sl"
48076 SO_SUFFIX_MODULE="sl"
48077 ;;
48078 *-*-aix* )
48079 SO_SUFFIX="a"
48080 SO_SUFFIX_MODULE="a"
48081 ;;
48082 *-*-cygwin* )
48083 SO_SUFFIX="dll"
48084 SO_SUFFIX_MODULE="dll"
48085 DLLIMP_SUFFIX="dll.a"
48086 EXEEXT=".exe"
48087 DLLPREFIX="cyg"
48088 dlldir="$bindir"
48089 ;;
48090 *-*-mingw32* )
48091 SO_SUFFIX="dll"
48092 SO_SUFFIX_MODULE="dll"
48093 DLLIMP_SUFFIX="dll.a"
48094 EXEEXT=".exe"
48095 DLLPREFIX=""
48096 dlldir="$bindir"
48097 ;;
48098 *-pc-msdosdjgpp )
48099 EXEEXT=".exe"
48100 DLLPREFIX=""
48101 dlldir="$bindir"
48102 ;;
48103 *-pc-os2_emx | *-pc-os2-emx )
48104 SO_SUFFIX="dll"
48105 SO_SUFFIX_MODULE="dll"
48106 DLLIMP_SUFFIX=$OS2_LIBEXT
48107 EXEEXT=".exe"
48108 DLLPREFIX=""
48109 LIBPREFIX=""
48110 LIBEXT=".$OS2_LIBEXT"
48111 dlldir="$bindir"
48112 ;;
48113 *-*-darwin* )
48114 SO_SUFFIX="dylib"
48115 SO_SUFFIX_MODULE="bundle"
48116 ;;
48117 esac
48118
48119 if test "x$DLLIMP_SUFFIX" = "x" ; then
48120 DLLIMP_SUFFIX="$SO_SUFFIX"
48121 fi
48122
48123
48124
48125
48126
48127
48128
48129
48130
48131
48132
48133
48134 PIC_FLAG=""
48135 if test "x$GCC" = "xyes"; then
48136 PIC_FLAG="-fPIC"
48137 fi
48138
48139 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48140 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48141 WINDOWS_IMPLIB=0
48142
48143 case "${BAKEFILE_HOST}" in
48144 *-hp-hpux* )
48145 if test "x$GCC" != "xyes"; then
48146 LDFLAGS="$LDFLAGS -L/usr/lib"
48147
48148 SHARED_LD_CC="${CC} -b -o"
48149 SHARED_LD_CXX="${CXX} -b -o"
48150 PIC_FLAG="+Z"
48151 fi
48152 ;;
48153
48154 *-*-linux* )
48155 if test "x$GCC" != "xyes"; then
48156 echo "$as_me:$LINENO: checking for Intel compiler" >&5
48157 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
48158 if test "${bakefile_cv_prog_icc+set}" = set; then
48159 echo $ECHO_N "(cached) $ECHO_C" >&6
48160 else
48161
48162 cat >conftest.$ac_ext <<_ACEOF
48163 /* confdefs.h. */
48164 _ACEOF
48165 cat confdefs.h >>conftest.$ac_ext
48166 cat >>conftest.$ac_ext <<_ACEOF
48167 /* end confdefs.h. */
48168
48169 int
48170 main ()
48171 {
48172
48173 #ifndef __INTEL_COMPILER
48174 This is not ICC
48175 #endif
48176
48177 ;
48178 return 0;
48179 }
48180 _ACEOF
48181 rm -f conftest.$ac_objext
48182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48183 (eval $ac_compile) 2>conftest.er1
48184 ac_status=$?
48185 grep -v '^ *+' conftest.er1 >conftest.err
48186 rm -f conftest.er1
48187 cat conftest.err >&5
48188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48189 (exit $ac_status); } &&
48190 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48192 (eval $ac_try) 2>&5
48193 ac_status=$?
48194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48195 (exit $ac_status); }; } &&
48196 { ac_try='test -s conftest.$ac_objext'
48197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48198 (eval $ac_try) 2>&5
48199 ac_status=$?
48200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48201 (exit $ac_status); }; }; then
48202 bakefile_cv_prog_icc=yes
48203 else
48204 echo "$as_me: failed program was:" >&5
48205 sed 's/^/| /' conftest.$ac_ext >&5
48206
48207 bakefile_cv_prog_icc=no
48208
48209 fi
48210 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48211
48212 fi
48213 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
48214 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
48215 if test "$bakefile_cv_prog_icc" = "yes"; then
48216 PIC_FLAG="-KPIC"
48217 fi
48218 fi
48219 ;;
48220
48221 *-*-solaris2* )
48222 if test "x$GCC" != xyes ; then
48223 SHARED_LD_CC="${CC} -G -o"
48224 SHARED_LD_CXX="${CXX} -G -o"
48225 PIC_FLAG="-KPIC"
48226 fi
48227 ;;
48228
48229 *-*-darwin* )
48230
48231 D='$'
48232 cat <<EOF >shared-ld-sh
48233 #!/bin/sh
48234 #-----------------------------------------------------------------------------
48235 #-- Name: distrib/mac/shared-ld-sh
48236 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48237 #-- Author: Gilles Depeyrot
48238 #-- Copyright: (c) 2002 Gilles Depeyrot
48239 #-- Licence: any use permitted
48240 #-----------------------------------------------------------------------------
48241
48242 verbose=0
48243 args=""
48244 objects=""
48245 linking_flag="-dynamiclib"
48246 ldargs="-r -keep_private_externs -nostdlib"
48247
48248 while test ${D}# -gt 0; do
48249 case ${D}1 in
48250
48251 -v)
48252 verbose=1
48253 ;;
48254
48255 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48256 # collect these options and values
48257 args="${D}{args} ${D}1 ${D}2"
48258 shift
48259 ;;
48260
48261 -s|-Wl,*)
48262 # collect these load args
48263 ldargs="${D}{ldargs} ${D}1"
48264 ;;
48265
48266 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48267 # collect these options
48268 args="${D}{args} ${D}1"
48269 ;;
48270
48271 -dynamiclib|-bundle)
48272 linking_flag="${D}1"
48273 ;;
48274
48275 -*)
48276 echo "shared-ld: unhandled option '${D}1'"
48277 exit 1
48278 ;;
48279
48280 *.o | *.a | *.dylib)
48281 # collect object files
48282 objects="${D}{objects} ${D}1"
48283 ;;
48284
48285 *)
48286 echo "shared-ld: unhandled argument '${D}1'"
48287 exit 1
48288 ;;
48289
48290 esac
48291 shift
48292 done
48293
48294 status=0
48295
48296 #
48297 # Link one module containing all the others
48298 #
48299 if test ${D}{verbose} = 1; then
48300 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48301 fi
48302 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48303 status=${D}?
48304
48305 #
48306 # Link the shared library from the single module created, but only if the
48307 # previous command didn't fail:
48308 #
48309 if test ${D}{status} = 0; then
48310 if test ${D}{verbose} = 1; then
48311 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48312 fi
48313 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48314 status=${D}?
48315 fi
48316
48317 #
48318 # Remove intermediate module
48319 #
48320 rm -f master.${D}${D}.o
48321
48322 exit ${D}status
48323 EOF
48324
48325 chmod +x shared-ld-sh
48326
48327 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48328 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
48329
48330
48331 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48332 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
48333 if test "${bakefile_cv_gcc31+set}" = set; then
48334 echo $ECHO_N "(cached) $ECHO_C" >&6
48335 else
48336
48337 cat >conftest.$ac_ext <<_ACEOF
48338 /* confdefs.h. */
48339 _ACEOF
48340 cat confdefs.h >>conftest.$ac_ext
48341 cat >>conftest.$ac_ext <<_ACEOF
48342 /* end confdefs.h. */
48343
48344 int
48345 main ()
48346 {
48347
48348 #if (__GNUC__ < 3) || \
48349 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48350 This is old gcc
48351 #endif
48352
48353 ;
48354 return 0;
48355 }
48356 _ACEOF
48357 rm -f conftest.$ac_objext
48358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48359 (eval $ac_compile) 2>conftest.er1
48360 ac_status=$?
48361 grep -v '^ *+' conftest.er1 >conftest.err
48362 rm -f conftest.er1
48363 cat conftest.err >&5
48364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48365 (exit $ac_status); } &&
48366 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48368 (eval $ac_try) 2>&5
48369 ac_status=$?
48370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48371 (exit $ac_status); }; } &&
48372 { ac_try='test -s conftest.$ac_objext'
48373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48374 (eval $ac_try) 2>&5
48375 ac_status=$?
48376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48377 (exit $ac_status); }; }; then
48378
48379 bakefile_cv_gcc31=yes
48380
48381 else
48382 echo "$as_me: failed program was:" >&5
48383 sed 's/^/| /' conftest.$ac_ext >&5
48384
48385
48386 bakefile_cv_gcc31=no
48387
48388
48389 fi
48390 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48391
48392 fi
48393 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48394 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
48395 if test "$bakefile_cv_gcc31" = "no"; then
48396 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48397 SHARED_LD_CXX="$SHARED_LD_CC"
48398 else
48399 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48400 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48401 fi
48402
48403 if test "x$GCC" == "xyes"; then
48404 PIC_FLAG="-dynamic -fPIC"
48405 fi
48406 if test "x$XLCC" = "xyes"; then
48407 PIC_FLAG="-dynamic -DPIC"
48408 fi
48409 ;;
48410
48411 *-*-aix* )
48412 if test "x$GCC" = "xyes"; then
48413 PIC_FLAG=""
48414
48415 case "${BAKEFILE_HOST}" in
48416 *-*-aix5* )
48417 LD_EXPFULL="-Wl,-bexpfull"
48418 ;;
48419 esac
48420
48421 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48422 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48423 else
48424 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48425 set dummy makeC++SharedLib; ac_word=$2
48426 echo "$as_me:$LINENO: checking for $ac_word" >&5
48427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48428 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48429 echo $ECHO_N "(cached) $ECHO_C" >&6
48430 else
48431 if test -n "$AIX_CXX_LD"; then
48432 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48433 else
48434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48435 for as_dir in $PATH
48436 do
48437 IFS=$as_save_IFS
48438 test -z "$as_dir" && as_dir=.
48439 for ac_exec_ext in '' $ac_executable_extensions; do
48440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48441 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48443 break 2
48444 fi
48445 done
48446 done
48447
48448 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48449 fi
48450 fi
48451 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48452 if test -n "$AIX_CXX_LD"; then
48453 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48454 echo "${ECHO_T}$AIX_CXX_LD" >&6
48455 else
48456 echo "$as_me:$LINENO: result: no" >&5
48457 echo "${ECHO_T}no" >&6
48458 fi
48459
48460 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48461 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48462 fi
48463 ;;
48464
48465 *-*-beos* )
48466 SHARED_LD_CC="${LD} -nostart -o"
48467 SHARED_LD_CXX="${LD} -nostart -o"
48468 ;;
48469
48470 *-*-irix* )
48471 if test "x$GCC" != "xyes"; then
48472 PIC_FLAG="-KPIC"
48473 fi
48474 ;;
48475
48476 *-*-cygwin* | *-*-mingw32* )
48477 PIC_FLAG=""
48478 SHARED_LD_CC="\$(CC) -shared -o"
48479 SHARED_LD_CXX="\$(CXX) -shared -o"
48480 WINDOWS_IMPLIB=1
48481 ;;
48482
48483 *-pc-os2_emx | *-pc-os2-emx )
48484 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48485 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48486 PIC_FLAG=""
48487
48488 D='$'
48489 cat <<EOF >dllar.sh
48490 #!/bin/sh
48491 #
48492 # dllar - a tool to build both a .dll and an .a file
48493 # from a set of object (.o) files for EMX/OS2.
48494 #
48495 # Written by Andrew Zabolotny, bit@freya.etu.ru
48496 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48497 #
48498 # This script will accept a set of files on the command line.
48499 # All the public symbols from the .o files will be exported into
48500 # a .DEF file, then linker will be run (through gcc) against them to
48501 # build a shared library consisting of all given .o files. All libraries
48502 # (.a) will be first decompressed into component .o files then act as
48503 # described above. You can optionally give a description (-d "description")
48504 # which will be put into .DLL. To see the list of accepted options (as well
48505 # as command-line format) simply run this program without options. The .DLL
48506 # is built to be imported by name (there is no guarantee that new versions
48507 # of the library you build will have same ordinals for same symbols).
48508 #
48509 # dllar is free software; you can redistribute it and/or modify
48510 # it under the terms of the GNU General Public License as published by
48511 # the Free Software Foundation; either version 2, or (at your option)
48512 # any later version.
48513 #
48514 # dllar is distributed in the hope that it will be useful,
48515 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48516 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48517 # GNU General Public License for more details.
48518 #
48519 # You should have received a copy of the GNU General Public License
48520 # along with dllar; see the file COPYING. If not, write to the Free
48521 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48522 # 02111-1307, USA.
48523
48524 # To successfuly run this program you will need:
48525 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48526 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48527 # - gcc
48528 # (used to build the .dll)
48529 # - emxexp
48530 # (used to create .def file from .o files)
48531 # - emximp
48532 # (used to create .a file from .def file)
48533 # - GNU text utilites (cat, sort, uniq)
48534 # used to process emxexp output
48535 # - GNU file utilities (mv, rm)
48536 # - GNU sed
48537 # - lxlite (optional, see flag below)
48538 # (used for general .dll cleanup)
48539 #
48540
48541 flag_USE_LXLITE=1;
48542
48543 #
48544 # helper functions
48545 # basnam, variant of basename, which does _not_ remove the path, _iff_
48546 # second argument (suffix to remove) is given
48547 basnam(){
48548 case ${D}# in
48549 1)
48550 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48551 ;;
48552 2)
48553 echo ${D}1 | sed 's/'${D}2'${D}//'
48554 ;;
48555 *)
48556 echo "error in basnam ${D}*"
48557 exit 8
48558 ;;
48559 esac
48560 }
48561
48562 # Cleanup temporary files and output
48563 CleanUp() {
48564 cd ${D}curDir
48565 for i in ${D}inputFiles ; do
48566 case ${D}i in
48567 *!)
48568 rm -rf \`basnam ${D}i !\`
48569 ;;
48570 *)
48571 ;;
48572 esac
48573 done
48574
48575 # Kill result in case of failure as there is just to many stupid make/nmake
48576 # things out there which doesn't do this.
48577 if [ ${D}# -eq 0 ]; then
48578 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48579 fi
48580 }
48581
48582 # Print usage and exit script with rc=1.
48583 PrintHelp() {
48584 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48585 echo ' [-name-mangler-script script.sh]'
48586 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48587 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48588 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48589 echo ' [*.o] [*.a]'
48590 echo '*> "output_file" should have no extension.'
48591 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48592 echo ' The import library name is derived from this and is set to "name".a,'
48593 echo ' unless overridden by -import'
48594 echo '*> "importlib_name" should have no extension.'
48595 echo ' If it has the .o, or .a extension, it is automatically removed.'
48596 echo ' This name is used as the import library name and may be longer and'
48597 echo ' more descriptive than the DLL name which has to follow the old '
48598 echo ' 8.3 convention of FAT.'
48599 echo '*> "script.sh may be given to override the output_file name by a'
48600 echo ' different name. It is mainly useful if the regular make process'
48601 echo ' of some package does not take into account OS/2 restriction of'
48602 echo ' DLL name lengths. It takes the importlib name as input and is'
48603 echo ' supposed to procude a shorter name as output. The script should'
48604 echo ' expect to get importlib_name without extension and should produce'
48605 echo ' a (max.) 8 letter name without extension.'
48606 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48607 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48608 echo ' These flags will be put at the start of GCC command line.'
48609 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48610 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48611 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48612 echo ' If the last character of a symbol is "*", all symbols beginning'
48613 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48614 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48615 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48616 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48617 echo ' C runtime DLLs.'
48618 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48619 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48620 echo ' unchanged to GCC at the end of command line.'
48621 echo '*> If you create a DLL from a library and you do not specify -o,'
48622 echo ' the basename for DLL and import library will be set to library name,'
48623 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48624 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48625 echo ' library will be renamed into gcc_s.a.'
48626 echo '--------'
48627 echo 'Example:'
48628 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48629 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48630 CleanUp
48631 exit 1
48632 }
48633
48634 # Execute a command.
48635 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48636 # @Uses Whatever CleanUp() uses.
48637 doCommand() {
48638 echo "${D}*"
48639 eval ${D}*
48640 rcCmd=${D}?
48641
48642 if [ ${D}rcCmd -ne 0 ]; then
48643 echo "command failed, exit code="${D}rcCmd
48644 CleanUp
48645 exit ${D}rcCmd
48646 fi
48647 }
48648
48649 # main routine
48650 # setup globals
48651 cmdLine=${D}*
48652 outFile=""
48653 outimpFile=""
48654 inputFiles=""
48655 renameScript=""
48656 description=""
48657 CC=gcc.exe
48658 CFLAGS="-s -Zcrtdll"
48659 EXTRA_CFLAGS=""
48660 EXPORT_BY_ORDINALS=0
48661 exclude_symbols=""
48662 library_flags=""
48663 curDir=\`pwd\`
48664 curDirS=curDir
48665 case ${D}curDirS in
48666 */)
48667 ;;
48668 *)
48669 curDirS=${D}{curDirS}"/"
48670 ;;
48671 esac
48672 # Parse commandline
48673 libsToLink=0
48674 omfLinking=0
48675 while [ ${D}1 ]; do
48676 case ${D}1 in
48677 -ord*)
48678 EXPORT_BY_ORDINALS=1;
48679 ;;
48680 -o*)
48681 shift
48682 outFile=${D}1
48683 ;;
48684 -i*)
48685 shift
48686 outimpFile=${D}1
48687 ;;
48688 -name-mangler-script)
48689 shift
48690 renameScript=${D}1
48691 ;;
48692 -d*)
48693 shift
48694 description=${D}1
48695 ;;
48696 -f*)
48697 shift
48698 CFLAGS=${D}1
48699 ;;
48700 -c*)
48701 shift
48702 CC=${D}1
48703 ;;
48704 -h*)
48705 PrintHelp
48706 ;;
48707 -ex*)
48708 shift
48709 exclude_symbols=${D}{exclude_symbols}${D}1" "
48710 ;;
48711 -libf*)
48712 shift
48713 library_flags=${D}{library_flags}${D}1" "
48714 ;;
48715 -nocrt*)
48716 CFLAGS="-s"
48717 ;;
48718 -nolxl*)
48719 flag_USE_LXLITE=0
48720 ;;
48721 -* | /*)
48722 case ${D}1 in
48723 -L* | -l*)
48724 libsToLink=1
48725 ;;
48726 -Zomf)
48727 omfLinking=1
48728 ;;
48729 *)
48730 ;;
48731 esac
48732 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48733 ;;
48734 *.dll)
48735 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48736 if [ ${D}omfLinking -eq 1 ]; then
48737 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48738 else
48739 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48740 fi
48741 ;;
48742 *)
48743 found=0;
48744 if [ ${D}libsToLink -ne 0 ]; then
48745 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48746 else
48747 for file in ${D}1 ; do
48748 if [ -f ${D}file ]; then
48749 inputFiles="${D}{inputFiles} ${D}file"
48750 found=1
48751 fi
48752 done
48753 if [ ${D}found -eq 0 ]; then
48754 echo "ERROR: No file(s) found: "${D}1
48755 exit 8
48756 fi
48757 fi
48758 ;;
48759 esac
48760 shift
48761 done # iterate cmdline words
48762
48763 #
48764 if [ -z "${D}inputFiles" ]; then
48765 echo "dllar: no input files"
48766 PrintHelp
48767 fi
48768
48769 # Now extract all .o files from .a files
48770 newInputFiles=""
48771 for file in ${D}inputFiles ; do
48772 case ${D}file in
48773 *.a | *.lib)
48774 case ${D}file in
48775 *.a)
48776 suffix=".a"
48777 AR="ar"
48778 ;;
48779 *.lib)
48780 suffix=".lib"
48781 AR="emxomfar"
48782 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48783 ;;
48784 *)
48785 ;;
48786 esac
48787 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48788 mkdir ${D}dirname
48789 if [ ${D}? -ne 0 ]; then
48790 echo "Failed to create subdirectory ./${D}dirname"
48791 CleanUp
48792 exit 8;
48793 fi
48794 # Append '!' to indicate archive
48795 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48796 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48797 cd ${D}curDir
48798 found=0;
48799 for subfile in ${D}dirname/*.o* ; do
48800 if [ -f ${D}subfile ]; then
48801 found=1
48802 if [ -s ${D}subfile ]; then
48803 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48804 newInputFiles="${D}newInputFiles ${D}subfile"
48805 fi
48806 fi
48807 done
48808 if [ ${D}found -eq 0 ]; then
48809 echo "WARNING: there are no files in archive \\'${D}file\\'"
48810 fi
48811 ;;
48812 *)
48813 newInputFiles="${D}{newInputFiles} ${D}file"
48814 ;;
48815 esac
48816 done
48817 inputFiles="${D}newInputFiles"
48818
48819 # Output filename(s).
48820 do_backup=0;
48821 if [ -z ${D}outFile ]; then
48822 do_backup=1;
48823 set outFile ${D}inputFiles; outFile=${D}2
48824 fi
48825
48826 # If it is an archive, remove the '!' and the '_%' suffixes
48827 case ${D}outFile in
48828 *_%!)
48829 outFile=\`basnam ${D}outFile _%!\`
48830 ;;
48831 *)
48832 ;;
48833 esac
48834 case ${D}outFile in
48835 *.dll)
48836 outFile=\`basnam ${D}outFile .dll\`
48837 ;;
48838 *.DLL)
48839 outFile=\`basnam ${D}outFile .DLL\`
48840 ;;
48841 *.o)
48842 outFile=\`basnam ${D}outFile .o\`
48843 ;;
48844 *.obj)
48845 outFile=\`basnam ${D}outFile .obj\`
48846 ;;
48847 *.a)
48848 outFile=\`basnam ${D}outFile .a\`
48849 ;;
48850 *.lib)
48851 outFile=\`basnam ${D}outFile .lib\`
48852 ;;
48853 *)
48854 ;;
48855 esac
48856 case ${D}outimpFile in
48857 *.a)
48858 outimpFile=\`basnam ${D}outimpFile .a\`
48859 ;;
48860 *.lib)
48861 outimpFile=\`basnam ${D}outimpFile .lib\`
48862 ;;
48863 *)
48864 ;;
48865 esac
48866 if [ -z ${D}outimpFile ]; then
48867 outimpFile=${D}outFile
48868 fi
48869 defFile="${D}{outFile}.def"
48870 arcFile="${D}{outimpFile}.a"
48871 arcFile2="${D}{outimpFile}.lib"
48872
48873 #create ${D}dllFile as something matching 8.3 restrictions,
48874 if [ -z ${D}renameScript ] ; then
48875 dllFile="${D}outFile"
48876 else
48877 dllFile=\`${D}renameScript ${D}outimpFile\`
48878 fi
48879
48880 if [ ${D}do_backup -ne 0 ] ; then
48881 if [ -f ${D}arcFile ] ; then
48882 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48883 fi
48884 if [ -f ${D}arcFile2 ] ; then
48885 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48886 fi
48887 fi
48888
48889 # Extract public symbols from all the object files.
48890 tmpdefFile=${D}{defFile}_%
48891 rm -f ${D}tmpdefFile
48892 for file in ${D}inputFiles ; do
48893 case ${D}file in
48894 *!)
48895 ;;
48896 *)
48897 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48898 ;;
48899 esac
48900 done
48901
48902 # Create the def file.
48903 rm -f ${D}defFile
48904 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48905 dllFile="${D}{dllFile}.dll"
48906 if [ ! -z ${D}description ]; then
48907 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48908 fi
48909 echo "EXPORTS" >> ${D}defFile
48910
48911 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48912 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48913
48914 # Checks if the export is ok or not.
48915 for word in ${D}exclude_symbols; do
48916 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48917 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48918 done
48919
48920
48921 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48922 sed "=" < ${D}tmpdefFile | \\
48923 sed '
48924 N
48925 : loop
48926 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48927 t loop
48928 ' > ${D}{tmpdefFile}%
48929 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48930 else
48931 rm -f ${D}{tmpdefFile}%
48932 fi
48933 cat ${D}tmpdefFile >> ${D}defFile
48934 rm -f ${D}tmpdefFile
48935
48936 # Do linking, create implib, and apply lxlite.
48937 gccCmdl="";
48938 for file in ${D}inputFiles ; do
48939 case ${D}file in
48940 *!)
48941 ;;
48942 *)
48943 gccCmdl="${D}gccCmdl ${D}file"
48944 ;;
48945 esac
48946 done
48947 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48948 touch "${D}{outFile}.dll"
48949
48950 doCommand "emximp -o ${D}arcFile ${D}defFile"
48951 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48952 add_flags="";
48953 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48954 add_flags="-ynd"
48955 fi
48956 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48957 fi
48958 doCommand "emxomf -s -l ${D}arcFile"
48959
48960 # Successful exit.
48961 CleanUp 1
48962 exit 0
48963 EOF
48964
48965 chmod +x dllar.sh
48966 ;;
48967
48968 powerpc-apple-macos* | \
48969 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48970 *-*-sunos4* | \
48971 *-*-osf* | \
48972 *-*-dgux5* | \
48973 *-*-sysv5* | \
48974 *-pc-msdosdjgpp )
48975 ;;
48976
48977 *)
48978 esac
48979
48980 if test "x$PIC_FLAG" != "x" ; then
48981 PIC_FLAG="$PIC_FLAG -DPIC"
48982 fi
48983
48984 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48985 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48986 fi
48987 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48988 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48989 fi
48990
48991
48992
48993
48994
48995
48996
48997
48998
48999 USE_SOVERSION=0
49000 USE_SOVERLINUX=0
49001 USE_SOVERSOLARIS=0
49002 USE_SOVERCYGWIN=0
49003 USE_SOSYMLINKS=0
49004 USE_MACVERSION=0
49005 SONAME_FLAG=
49006
49007 case "${BAKEFILE_HOST}" in
49008 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
49009 SONAME_FLAG="-Wl,-soname,"
49010 USE_SOVERSION=1
49011 USE_SOVERLINUX=1
49012 USE_SOSYMLINKS=1
49013 ;;
49014
49015 *-*-solaris2* )
49016 SONAME_FLAG="-h "
49017 USE_SOVERSION=1
49018 USE_SOVERSOLARIS=1
49019 USE_SOSYMLINKS=1
49020 ;;
49021
49022 *-*-darwin* )
49023 USE_MACVERSION=1
49024 USE_SOVERSION=1
49025 USE_SOSYMLINKS=1
49026 ;;
49027
49028 *-*-cygwin* )
49029 USE_SOVERSION=1
49030 USE_SOVERCYGWIN=1
49031 ;;
49032 esac
49033
49034
49035
49036
49037
49038
49039
49040
49041
49042
49043 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
49044 if test "${enable_dependency_tracking+set}" = set; then
49045 enableval="$enable_dependency_tracking"
49046 bk_use_trackdeps="$enableval"
49047 fi;
49048
49049 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49050 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
49051
49052 if test "x$bk_use_trackdeps" = "xno" ; then
49053 DEPS_TRACKING=0
49054 echo "$as_me:$LINENO: result: disabled" >&5
49055 echo "${ECHO_T}disabled" >&6
49056 else
49057 DEPS_TRACKING=1
49058
49059 if test "x$GCC" = "xyes"; then
49060 DEPSMODE=gcc
49061 case "${BAKEFILE_HOST}" in
49062 *-*-darwin* )
49063 DEPSFLAG="-no-cpp-precomp -MMD"
49064 ;;
49065 * )
49066 DEPSFLAG="-MMD"
49067 ;;
49068 esac
49069 echo "$as_me:$LINENO: result: gcc" >&5
49070 echo "${ECHO_T}gcc" >&6
49071 elif test "x$MWCC" = "xyes"; then
49072 DEPSMODE=mwcc
49073 DEPSFLAG="-MM"
49074 echo "$as_me:$LINENO: result: mwcc" >&5
49075 echo "${ECHO_T}mwcc" >&6
49076 elif test "x$SUNCC" = "xyes"; then
49077 DEPSMODE=unixcc
49078 DEPSFLAG="-xM1"
49079 echo "$as_me:$LINENO: result: Sun cc" >&5
49080 echo "${ECHO_T}Sun cc" >&6
49081 elif test "x$SGICC" = "xyes"; then
49082 DEPSMODE=unixcc
49083 DEPSFLAG="-M"
49084 echo "$as_me:$LINENO: result: SGI cc" >&5
49085 echo "${ECHO_T}SGI cc" >&6
49086 elif test "x$HPCC" = "xyes"; then
49087 DEPSMODE=unixcc
49088 DEPSFLAG="+make"
49089 echo "$as_me:$LINENO: result: HP cc" >&5
49090 echo "${ECHO_T}HP cc" >&6
49091 elif test "x$COMPAQCC" = "xyes"; then
49092 DEPSMODE=gcc
49093 DEPSFLAG="-MD"
49094 echo "$as_me:$LINENO: result: Compaq cc" >&5
49095 echo "${ECHO_T}Compaq cc" >&6
49096 else
49097 DEPS_TRACKING=0
49098 echo "$as_me:$LINENO: result: none" >&5
49099 echo "${ECHO_T}none" >&6
49100 fi
49101
49102 if test $DEPS_TRACKING = 1 ; then
49103
49104 D='$'
49105 cat <<EOF >bk-deps
49106 #!/bin/sh
49107
49108 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49109 # script. It is used to track C/C++ files dependencies in portable way.
49110 #
49111 # Permission is given to use this file in any way.
49112
49113 DEPSMODE=${DEPSMODE}
49114 DEPSDIR=.deps
49115 DEPSFLAG="${DEPSFLAG}"
49116
49117 mkdir -p ${D}DEPSDIR
49118
49119 if test ${D}DEPSMODE = gcc ; then
49120 ${D}* ${D}{DEPSFLAG}
49121 status=${D}?
49122 if test ${D}{status} != 0 ; then
49123 exit ${D}{status}
49124 fi
49125 # move created file to the location we want it in:
49126 while test ${D}# -gt 0; do
49127 case "${D}1" in
49128 -o )
49129 shift
49130 objfile=${D}1
49131 ;;
49132 -* )
49133 ;;
49134 * )
49135 srcfile=${D}1
49136 ;;
49137 esac
49138 shift
49139 done
49140 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49141 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49142 if test -f ${D}depfile ; then
49143 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49144 rm -f ${D}depfile
49145 else
49146 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49147 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
49148 if test ! -f ${D}depfile ; then
49149 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49150 depfile="${D}objfile.d"
49151 fi
49152 if test -f ${D}depfile ; then
49153 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49154 rm -f ${D}depfile
49155 fi
49156 fi
49157 exit 0
49158 elif test ${D}DEPSMODE = mwcc ; then
49159 ${D}* || exit ${D}?
49160 # Run mwcc again with -MM and redirect into the dep file we want
49161 # NOTE: We can't use shift here because we need ${D}* to be valid
49162 prevarg=
49163 for arg in ${D}* ; do
49164 if test "${D}prevarg" = "-o"; then
49165 objfile=${D}arg
49166 else
49167 case "${D}arg" in
49168 -* )
49169 ;;
49170 * )
49171 srcfile=${D}arg
49172 ;;
49173 esac
49174 fi
49175 prevarg="${D}arg"
49176 done
49177 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
49178 exit 0
49179 elif test ${D}DEPSMODE = unixcc; then
49180 ${D}* || exit ${D}?
49181 # Run compiler again with deps flag and redirect into the dep file.
49182 # It doesn't work if the '-o FILE' option is used, but without it the
49183 # dependency file will contain the wrong name for the object. So it is
49184 # removed from the command line, and the dep file is fixed with sed.
49185 cmd=""
49186 while test ${D}# -gt 0; do
49187 case "${D}1" in
49188 -o )
49189 shift
49190 objfile=${D}1
49191 ;;
49192 * )
49193 eval arg${D}#=\\${D}1
49194 cmd="${D}cmd \\${D}arg${D}#"
49195 ;;
49196 esac
49197 shift
49198 done
49199 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
49200 exit 0
49201 else
49202 ${D}*
49203 exit ${D}?
49204 fi
49205 EOF
49206
49207 chmod +x bk-deps
49208 fi
49209 fi
49210
49211
49212
49213
49214 case ${BAKEFILE_HOST} in
49215 *-*-cygwin* | *-*-mingw32* )
49216 if test -n "$ac_tool_prefix"; then
49217 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49218 set dummy ${ac_tool_prefix}windres; ac_word=$2
49219 echo "$as_me:$LINENO: checking for $ac_word" >&5
49220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49221 if test "${ac_cv_prog_WINDRES+set}" = set; then
49222 echo $ECHO_N "(cached) $ECHO_C" >&6
49223 else
49224 if test -n "$WINDRES"; then
49225 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49226 else
49227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49228 for as_dir in $PATH
49229 do
49230 IFS=$as_save_IFS
49231 test -z "$as_dir" && as_dir=.
49232 for ac_exec_ext in '' $ac_executable_extensions; do
49233 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49234 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49236 break 2
49237 fi
49238 done
49239 done
49240
49241 fi
49242 fi
49243 WINDRES=$ac_cv_prog_WINDRES
49244 if test -n "$WINDRES"; then
49245 echo "$as_me:$LINENO: result: $WINDRES" >&5
49246 echo "${ECHO_T}$WINDRES" >&6
49247 else
49248 echo "$as_me:$LINENO: result: no" >&5
49249 echo "${ECHO_T}no" >&6
49250 fi
49251
49252 fi
49253 if test -z "$ac_cv_prog_WINDRES"; then
49254 ac_ct_WINDRES=$WINDRES
49255 # Extract the first word of "windres", so it can be a program name with args.
49256 set dummy windres; ac_word=$2
49257 echo "$as_me:$LINENO: checking for $ac_word" >&5
49258 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49259 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49260 echo $ECHO_N "(cached) $ECHO_C" >&6
49261 else
49262 if test -n "$ac_ct_WINDRES"; then
49263 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49264 else
49265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49266 for as_dir in $PATH
49267 do
49268 IFS=$as_save_IFS
49269 test -z "$as_dir" && as_dir=.
49270 for ac_exec_ext in '' $ac_executable_extensions; do
49271 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49272 ac_cv_prog_ac_ct_WINDRES="windres"
49273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49274 break 2
49275 fi
49276 done
49277 done
49278
49279 fi
49280 fi
49281 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49282 if test -n "$ac_ct_WINDRES"; then
49283 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49284 echo "${ECHO_T}$ac_ct_WINDRES" >&6
49285 else
49286 echo "$as_me:$LINENO: result: no" >&5
49287 echo "${ECHO_T}no" >&6
49288 fi
49289
49290 WINDRES=$ac_ct_WINDRES
49291 else
49292 WINDRES="$ac_cv_prog_WINDRES"
49293 fi
49294
49295 ;;
49296
49297 *-*-darwin* | powerpc-apple-macos* )
49298 # Extract the first word of "Rez", so it can be a program name with args.
49299 set dummy Rez; ac_word=$2
49300 echo "$as_me:$LINENO: checking for $ac_word" >&5
49301 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49302 if test "${ac_cv_prog_REZ+set}" = set; then
49303 echo $ECHO_N "(cached) $ECHO_C" >&6
49304 else
49305 if test -n "$REZ"; then
49306 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49307 else
49308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49309 for as_dir in $PATH
49310 do
49311 IFS=$as_save_IFS
49312 test -z "$as_dir" && as_dir=.
49313 for ac_exec_ext in '' $ac_executable_extensions; do
49314 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49315 ac_cv_prog_REZ="Rez"
49316 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49317 break 2
49318 fi
49319 done
49320 done
49321
49322 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49323 fi
49324 fi
49325 REZ=$ac_cv_prog_REZ
49326 if test -n "$REZ"; then
49327 echo "$as_me:$LINENO: result: $REZ" >&5
49328 echo "${ECHO_T}$REZ" >&6
49329 else
49330 echo "$as_me:$LINENO: result: no" >&5
49331 echo "${ECHO_T}no" >&6
49332 fi
49333
49334 # Extract the first word of "SetFile", so it can be a program name with args.
49335 set dummy SetFile; ac_word=$2
49336 echo "$as_me:$LINENO: checking for $ac_word" >&5
49337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49338 if test "${ac_cv_prog_SETFILE+set}" = set; then
49339 echo $ECHO_N "(cached) $ECHO_C" >&6
49340 else
49341 if test -n "$SETFILE"; then
49342 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49343 else
49344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49345 for as_dir in $PATH
49346 do
49347 IFS=$as_save_IFS
49348 test -z "$as_dir" && as_dir=.
49349 for ac_exec_ext in '' $ac_executable_extensions; do
49350 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49351 ac_cv_prog_SETFILE="SetFile"
49352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49353 break 2
49354 fi
49355 done
49356 done
49357
49358 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49359 fi
49360 fi
49361 SETFILE=$ac_cv_prog_SETFILE
49362 if test -n "$SETFILE"; then
49363 echo "$as_me:$LINENO: result: $SETFILE" >&5
49364 echo "${ECHO_T}$SETFILE" >&6
49365 else
49366 echo "$as_me:$LINENO: result: no" >&5
49367 echo "${ECHO_T}no" >&6
49368 fi
49369
49370 ;;
49371 esac
49372
49373
49374
49375
49376
49377
49378 BAKEFILE_BAKEFILE_M4_VERSION="0.2.0"
49379
49380
49381 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.0"
49382
49383
49384
49385 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
49386 if test "${enable_precomp_headers+set}" = set; then
49387 enableval="$enable_precomp_headers"
49388 bk_use_pch="$enableval"
49389 fi;
49390
49391 GCC_PCH=0
49392 ICC_PCH=0
49393 USE_PCH=0
49394
49395 case ${BAKEFILE_HOST} in
49396 *-*-cygwin* )
49397 bk_use_pch="no"
49398 ;;
49399 esac
49400
49401 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49402 if test "x$GCC" = "xyes"; then
49403 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49404 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
49405 cat >conftest.$ac_ext <<_ACEOF
49406 /* confdefs.h. */
49407 _ACEOF
49408 cat confdefs.h >>conftest.$ac_ext
49409 cat >>conftest.$ac_ext <<_ACEOF
49410 /* end confdefs.h. */
49411
49412 int
49413 main ()
49414 {
49415
49416 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49417 There is no PCH support
49418 #endif
49419 #if (__GNUC__ < 3)
49420 There is no PCH support
49421 #endif
49422 #if (__GNUC__ == 3) && \
49423 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49424 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49425 ( defined(__INTEL_COMPILER) )
49426 There is no PCH support
49427 #endif
49428
49429 ;
49430 return 0;
49431 }
49432 _ACEOF
49433 rm -f conftest.$ac_objext
49434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49435 (eval $ac_compile) 2>conftest.er1
49436 ac_status=$?
49437 grep -v '^ *+' conftest.er1 >conftest.err
49438 rm -f conftest.er1
49439 cat conftest.err >&5
49440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49441 (exit $ac_status); } &&
49442 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49444 (eval $ac_try) 2>&5
49445 ac_status=$?
49446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49447 (exit $ac_status); }; } &&
49448 { ac_try='test -s conftest.$ac_objext'
49449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49450 (eval $ac_try) 2>&5
49451 ac_status=$?
49452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49453 (exit $ac_status); }; }; then
49454
49455 echo "$as_me:$LINENO: result: yes" >&5
49456 echo "${ECHO_T}yes" >&6
49457 GCC_PCH=1
49458
49459 else
49460 echo "$as_me: failed program was:" >&5
49461 sed 's/^/| /' conftest.$ac_ext >&5
49462
49463
49464 cat >conftest.$ac_ext <<_ACEOF
49465 /* confdefs.h. */
49466 _ACEOF
49467 cat confdefs.h >>conftest.$ac_ext
49468 cat >>conftest.$ac_ext <<_ACEOF
49469 /* end confdefs.h. */
49470
49471 int
49472 main ()
49473 {
49474
49475 #if !defined(__INTEL_COMPILER) || \
49476 (__INTEL_COMPILER < 800)
49477 There is no PCH support
49478 #endif
49479
49480 ;
49481 return 0;
49482 }
49483 _ACEOF
49484 rm -f conftest.$ac_objext
49485 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49486 (eval $ac_compile) 2>conftest.er1
49487 ac_status=$?
49488 grep -v '^ *+' conftest.er1 >conftest.err
49489 rm -f conftest.er1
49490 cat conftest.err >&5
49491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49492 (exit $ac_status); } &&
49493 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49495 (eval $ac_try) 2>&5
49496 ac_status=$?
49497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49498 (exit $ac_status); }; } &&
49499 { ac_try='test -s conftest.$ac_objext'
49500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49501 (eval $ac_try) 2>&5
49502 ac_status=$?
49503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49504 (exit $ac_status); }; }; then
49505
49506 echo "$as_me:$LINENO: result: yes" >&5
49507 echo "${ECHO_T}yes" >&6
49508 ICC_PCH=1
49509
49510 else
49511 echo "$as_me: failed program was:" >&5
49512 sed 's/^/| /' conftest.$ac_ext >&5
49513
49514
49515 echo "$as_me:$LINENO: result: no" >&5
49516 echo "${ECHO_T}no" >&6
49517
49518 fi
49519 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49520
49521 fi
49522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49523 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49524 USE_PCH=1
49525
49526 D='$'
49527 cat <<EOF >bk-make-pch
49528 #!/bin/sh
49529
49530 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49531 # script. It is used to generated precompiled headers.
49532 #
49533 # Permission is given to use this file in any way.
49534
49535 outfile="${D}{1}"
49536 header="${D}{2}"
49537 shift
49538 shift
49539
49540 compiler=""
49541 headerfile=""
49542
49543 while test ${D}{#} -gt 0; do
49544 add_to_cmdline=1
49545 case "${D}{1}" in
49546 -I* )
49547 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49548 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49549 headerfile="${D}{incdir}/${D}{header}"
49550 fi
49551 ;;
49552 -use-pch|-use_pch )
49553 shift
49554 add_to_cmdline=0
49555 ;;
49556 esac
49557 if test ${D}add_to_cmdline = 1 ; then
49558 compiler="${D}{compiler} ${D}{1}"
49559 fi
49560 shift
49561 done
49562
49563 if test "x${D}{headerfile}" = "x" ; then
49564 echo "error: can't find header ${D}{header} in include paths" >&2
49565 else
49566 if test -f ${D}{outfile} ; then
49567 rm -f ${D}{outfile}
49568 else
49569 mkdir -p \`dirname ${D}{outfile}\`
49570 fi
49571 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49572 mkdir -p .deps
49573 if test "x${GCC_PCH}" = "x1" ; then
49574 # can do this because gcc is >= 3.4:
49575 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49576 elif test "x${ICC_PCH}" = "x1" ; then
49577 filename=pch_gen-${D}${D}
49578 file=${D}{filename}.c
49579 dfile=${D}{filename}.d
49580 cat > ${D}file <<EOT
49581 #include "${D}header"
49582 EOT
49583 # using -MF icc complains about differing command lines in creation/use
49584 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49585 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49586 rm -f ${D}file ${D}dfile ${D}{filename}.o
49587 fi
49588 exit ${D}{?}
49589 fi
49590 EOF
49591
49592 chmod +x bk-make-pch
49593 fi
49594 fi
49595 fi
49596
49597
49598
49599
49600 COND_BUILD_DEBUG="#"
49601 if test "x$BUILD" = "xdebug" ; then
49602 COND_BUILD_DEBUG=""
49603 fi
49604
49605 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49606 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49607 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49608 fi
49609
49610 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49611 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49612 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49613 fi
49614
49615 COND_BUILD_DEBUG_UNICODE_0="#"
49616 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49617 COND_BUILD_DEBUG_UNICODE_0=""
49618 fi
49619
49620 COND_BUILD_DEBUG_UNICODE_1="#"
49621 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49622 COND_BUILD_DEBUG_UNICODE_1=""
49623 fi
49624
49625 COND_BUILD_RELEASE="#"
49626 if test "x$BUILD" = "xrelease" ; then
49627 COND_BUILD_RELEASE=""
49628 fi
49629
49630 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49631 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49632 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49633 fi
49634
49635 COND_BUILD_RELEASE_UNICODE_0="#"
49636 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49637 COND_BUILD_RELEASE_UNICODE_0=""
49638 fi
49639
49640 COND_BUILD_RELEASE_UNICODE_1="#"
49641 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49642 COND_BUILD_RELEASE_UNICODE_1=""
49643 fi
49644
49645 COND_DEBUG_FLAG_1="#"
49646 if test "x$DEBUG_FLAG" = "x1" ; then
49647 COND_DEBUG_FLAG_1=""
49648 fi
49649
49650 COND_DEBUG_INFO_0="#"
49651 if test "x$DEBUG_INFO" = "x0" ; then
49652 COND_DEBUG_INFO_0=""
49653 fi
49654
49655 COND_DEBUG_INFO_1="#"
49656 if test "x$DEBUG_INFO" = "x1" ; then
49657 COND_DEBUG_INFO_1=""
49658 fi
49659
49660 COND_DEPS_TRACKING_0="#"
49661 if test "x$DEPS_TRACKING" = "x0" ; then
49662 COND_DEPS_TRACKING_0=""
49663 fi
49664
49665 COND_DEPS_TRACKING_1="#"
49666 if test "x$DEPS_TRACKING" = "x1" ; then
49667 COND_DEPS_TRACKING_1=""
49668 fi
49669
49670 COND_GCC_PCH_1="#"
49671 if test "x$GCC_PCH" = "x1" ; then
49672 COND_GCC_PCH_1=""
49673 fi
49674
49675 COND_ICC_PCH_1="#"
49676 if test "x$ICC_PCH" = "x1" ; then
49677 COND_ICC_PCH_1=""
49678 fi
49679
49680 COND_MONOLITHIC_0="#"
49681 if test "x$MONOLITHIC" = "x0" ; then
49682 COND_MONOLITHIC_0=""
49683 fi
49684
49685 COND_MONOLITHIC_0_SHARED_0="#"
49686 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49687 COND_MONOLITHIC_0_SHARED_0=""
49688 fi
49689
49690 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49691 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49692 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49693 fi
49694
49695 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49696 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49697 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49698 fi
49699
49700 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49701 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49702 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49703 fi
49704
49705 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49706 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49707 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49708 fi
49709
49710 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
49711 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49712 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
49713 fi
49714
49715 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49716 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49717 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49718 fi
49719
49720 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
49721 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
49722 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
49723 fi
49724
49725 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49726 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49727 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49728 fi
49729
49730 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49731 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49732 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49733 fi
49734
49735 COND_MONOLITHIC_0_SHARED_1="#"
49736 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49737 COND_MONOLITHIC_0_SHARED_1=""
49738 fi
49739
49740 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49741 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49742 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49743 fi
49744
49745 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49746 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49747 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49748 fi
49749
49750 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49751 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49752 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49753 fi
49754
49755 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49756 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49757 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49758 fi
49759
49760 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
49761 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
49762 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
49763 fi
49764
49765 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49766 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49767 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49768 fi
49769
49770 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
49771 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
49772 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
49773 fi
49774
49775 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49776 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49777 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49778 fi
49779
49780 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49781 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49782 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49783 fi
49784
49785 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49786 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49787 COND_MONOLITHIC_0_USE_MEDIA_1=""
49788 fi
49789
49790 COND_MONOLITHIC_0_USE_ODBC_1="#"
49791 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
49792 COND_MONOLITHIC_0_USE_ODBC_1=""
49793 fi
49794
49795 COND_MONOLITHIC_1="#"
49796 if test "x$MONOLITHIC" = "x1" ; then
49797 COND_MONOLITHIC_1=""
49798 fi
49799
49800 COND_MONOLITHIC_1_SHARED_0="#"
49801 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49802 COND_MONOLITHIC_1_SHARED_0=""
49803 fi
49804
49805 COND_MONOLITHIC_1_SHARED_1="#"
49806 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49807 COND_MONOLITHIC_1_SHARED_1=""
49808 fi
49809
49810 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49811 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49812 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49813 fi
49814
49815 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49816 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49817 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49818 fi
49819
49820 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49821 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49822 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49823 fi
49824
49825 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49826 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49827 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49828 fi
49829
49830 COND_PLATFORM_MACOSX_1="#"
49831 if test "x$PLATFORM_MACOSX" = "x1" ; then
49832 COND_PLATFORM_MACOSX_1=""
49833 fi
49834
49835 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
49836 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49837 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49838 fi
49839
49840 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49841 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49842 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49843 fi
49844
49845 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49846 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49847 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49848 fi
49849
49850 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49851 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49852 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49853 fi
49854
49855 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49856 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49857 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49858 fi
49859
49860 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49861 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49862 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49863 fi
49864
49865 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49866 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49867 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49868 fi
49869
49870 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49871 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49872 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49873 fi
49874
49875 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49876 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49877 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49878 fi
49879
49880 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49881 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49882 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49883 fi
49884
49885 COND_PLATFORM_MACOS_1="#"
49886 if test "x$PLATFORM_MACOS" = "x1" ; then
49887 COND_PLATFORM_MACOS_1=""
49888 fi
49889
49890 COND_PLATFORM_MAC_1="#"
49891 if test "x$PLATFORM_MAC" = "x1" ; then
49892 COND_PLATFORM_MAC_1=""
49893 fi
49894
49895 COND_PLATFORM_MSDOS_0="#"
49896 if test "x$PLATFORM_MSDOS" = "x0" ; then
49897 COND_PLATFORM_MSDOS_0=""
49898 fi
49899
49900 COND_PLATFORM_MSDOS_1="#"
49901 if test "x$PLATFORM_MSDOS" = "x1" ; then
49902 COND_PLATFORM_MSDOS_1=""
49903 fi
49904
49905 COND_PLATFORM_OS2_1="#"
49906 if test "x$PLATFORM_OS2" = "x1" ; then
49907 COND_PLATFORM_OS2_1=""
49908 fi
49909
49910 COND_PLATFORM_UNIX_0="#"
49911 if test "x$PLATFORM_UNIX" = "x0" ; then
49912 COND_PLATFORM_UNIX_0=""
49913 fi
49914
49915 COND_PLATFORM_UNIX_1="#"
49916 if test "x$PLATFORM_UNIX" = "x1" ; then
49917 COND_PLATFORM_UNIX_1=""
49918 fi
49919
49920 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49921 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49922 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49923 fi
49924
49925 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49926 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49927 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49928 fi
49929
49930 COND_PLATFORM_WIN32_0="#"
49931 if test "x$PLATFORM_WIN32" = "x0" ; then
49932 COND_PLATFORM_WIN32_0=""
49933 fi
49934
49935 COND_PLATFORM_WIN32_1="#"
49936 if test "x$PLATFORM_WIN32" = "x1" ; then
49937 COND_PLATFORM_WIN32_1=""
49938 fi
49939
49940 COND_SHARED_0="#"
49941 if test "x$SHARED" = "x0" ; then
49942 COND_SHARED_0=""
49943 fi
49944
49945 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49946 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49947 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49948 fi
49949
49950 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49951 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49952 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49953 fi
49954
49955 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49956 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49957 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49958 fi
49959
49960 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49961 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49962 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49963 fi
49964
49965 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49966 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49967 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49968 fi
49969
49970 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49971 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49972 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49973 fi
49974
49975 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49976 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49977 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49978 fi
49979
49980 COND_SHARED_0_USE_XRC_1="#"
49981 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49982 COND_SHARED_0_USE_XRC_1=""
49983 fi
49984
49985 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49986 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49987 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49988 fi
49989
49990 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
49991 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
49992 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
49993 fi
49994
49995 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49996 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49997 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49998 fi
49999
50000 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
50001 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50002 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
50003 fi
50004
50005 COND_SHARED_1="#"
50006 if test "x$SHARED" = "x1" ; then
50007 COND_SHARED_1=""
50008 fi
50009
50010 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50011 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50012 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50013 fi
50014
50015 COND_SHARED_1_USE_XRC_1="#"
50016 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50017 COND_SHARED_1_USE_XRC_1=""
50018 fi
50019
50020 COND_TOOLKIT_="#"
50021 if test "x$TOOLKIT" = "x" ; then
50022 COND_TOOLKIT_=""
50023 fi
50024
50025 COND_TOOLKIT_COCOA="#"
50026 if test "x$TOOLKIT" = "xCOCOA" ; then
50027 COND_TOOLKIT_COCOA=""
50028 fi
50029
50030 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50031 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50032 COND_TOOLKIT_COCOA_USE_GUI_1=""
50033 fi
50034
50035 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50036 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50037 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50038 fi
50039
50040 COND_TOOLKIT_DFB="#"
50041 if test "x$TOOLKIT" = "xDFB" ; then
50042 COND_TOOLKIT_DFB=""
50043 fi
50044
50045 COND_TOOLKIT_DFB_USE_GUI_1="#"
50046 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50047 COND_TOOLKIT_DFB_USE_GUI_1=""
50048 fi
50049
50050 COND_TOOLKIT_GTK="#"
50051 if test "x$TOOLKIT" = "xGTK" ; then
50052 COND_TOOLKIT_GTK=""
50053 fi
50054
50055 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50056 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50057 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50058 fi
50059
50060 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50061 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50062 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50063 fi
50064
50065 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50066 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50067 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50068 fi
50069
50070 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50071 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50072 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50073 fi
50074
50075 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50076 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50077 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50078 fi
50079
50080 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50081 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50082 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50083 fi
50084
50085 COND_TOOLKIT_GTK_USE_GUI_1="#"
50086 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50087 COND_TOOLKIT_GTK_USE_GUI_1=""
50088 fi
50089
50090 COND_TOOLKIT_MAC="#"
50091 if test "x$TOOLKIT" = "xMAC" ; then
50092 COND_TOOLKIT_MAC=""
50093 fi
50094
50095 COND_TOOLKIT_MAC_USE_GUI_1="#"
50096 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50097 COND_TOOLKIT_MAC_USE_GUI_1=""
50098 fi
50099
50100 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
50101 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50102 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
50103 fi
50104
50105 COND_TOOLKIT_MGL="#"
50106 if test "x$TOOLKIT" = "xMGL" ; then
50107 COND_TOOLKIT_MGL=""
50108 fi
50109
50110 COND_TOOLKIT_MGL_USE_GUI_1="#"
50111 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50112 COND_TOOLKIT_MGL_USE_GUI_1=""
50113 fi
50114
50115 COND_TOOLKIT_MOTIF="#"
50116 if test "x$TOOLKIT" = "xMOTIF" ; then
50117 COND_TOOLKIT_MOTIF=""
50118 fi
50119
50120 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50121 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50122 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50123 fi
50124
50125 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50126 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50127 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50128 fi
50129
50130 COND_TOOLKIT_MSW="#"
50131 if test "x$TOOLKIT" = "xMSW" ; then
50132 COND_TOOLKIT_MSW=""
50133 fi
50134
50135 COND_TOOLKIT_MSW_USE_GUI_1="#"
50136 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50137 COND_TOOLKIT_MSW_USE_GUI_1=""
50138 fi
50139
50140 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50141 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50142 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50143 fi
50144
50145 COND_TOOLKIT_MSW_WXUNIV_0="#"
50146 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50147 COND_TOOLKIT_MSW_WXUNIV_0=""
50148 fi
50149
50150 COND_TOOLKIT_PM="#"
50151 if test "x$TOOLKIT" = "xPM" ; then
50152 COND_TOOLKIT_PM=""
50153 fi
50154
50155 COND_TOOLKIT_PM_USE_GUI_1="#"
50156 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50157 COND_TOOLKIT_PM_USE_GUI_1=""
50158 fi
50159
50160 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50161 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50162 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50163 fi
50164
50165 COND_TOOLKIT_WINCE="#"
50166 if test "x$TOOLKIT" = "xWINCE" ; then
50167 COND_TOOLKIT_WINCE=""
50168 fi
50169
50170 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50171 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50172 COND_TOOLKIT_WINCE_USE_GUI_1=""
50173 fi
50174
50175 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50176 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50177 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50178 fi
50179
50180 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50181 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50182 COND_TOOLKIT_WINCE_WXUNIV_0=""
50183 fi
50184
50185 COND_TOOLKIT_X11="#"
50186 if test "x$TOOLKIT" = "xX11" ; then
50187 COND_TOOLKIT_X11=""
50188 fi
50189
50190 COND_TOOLKIT_X11_USE_GUI_1="#"
50191 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50192 COND_TOOLKIT_X11_USE_GUI_1=""
50193 fi
50194
50195 COND_UNICODE_1="#"
50196 if test "x$UNICODE" = "x1" ; then
50197 COND_UNICODE_1=""
50198 fi
50199
50200 COND_USE_EXCEPTIONS_0="#"
50201 if test "x$USE_EXCEPTIONS" = "x0" ; then
50202 COND_USE_EXCEPTIONS_0=""
50203 fi
50204
50205 COND_USE_EXCEPTIONS_1="#"
50206 if test "x$USE_EXCEPTIONS" = "x1" ; then
50207 COND_USE_EXCEPTIONS_1=""
50208 fi
50209
50210 COND_USE_GUI_0="#"
50211 if test "x$USE_GUI" = "x0" ; then
50212 COND_USE_GUI_0=""
50213 fi
50214
50215 COND_USE_GUI_1="#"
50216 if test "x$USE_GUI" = "x1" ; then
50217 COND_USE_GUI_1=""
50218 fi
50219
50220 COND_USE_GUI_1_WXUNIV_0="#"
50221 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50222 COND_USE_GUI_1_WXUNIV_0=""
50223 fi
50224
50225 COND_USE_GUI_1_WXUNIV_1="#"
50226 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50227 COND_USE_GUI_1_WXUNIV_1=""
50228 fi
50229
50230 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50231 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50232 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50233 fi
50234
50235 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50236 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50237 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50238 fi
50239
50240 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50241 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50242 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50243 fi
50244
50245 COND_USE_ODBC_1="#"
50246 if test "x$USE_ODBC" = "x1" ; then
50247 COND_USE_ODBC_1=""
50248 fi
50249
50250 COND_USE_OPENGL_1="#"
50251 if test "x$USE_OPENGL" = "x1" ; then
50252 COND_USE_OPENGL_1=""
50253 fi
50254
50255 COND_USE_PCH_1="#"
50256 if test "x$USE_PCH" = "x1" ; then
50257 COND_USE_PCH_1=""
50258 fi
50259
50260 COND_USE_PLUGINS_0="#"
50261 if test "x$USE_PLUGINS" = "x0" ; then
50262 COND_USE_PLUGINS_0=""
50263 fi
50264
50265 COND_USE_RTTI_0="#"
50266 if test "x$USE_RTTI" = "x0" ; then
50267 COND_USE_RTTI_0=""
50268 fi
50269
50270 COND_USE_RTTI_1="#"
50271 if test "x$USE_RTTI" = "x1" ; then
50272 COND_USE_RTTI_1=""
50273 fi
50274
50275 COND_USE_SOSYMLINKS_1="#"
50276 if test "x$USE_SOSYMLINKS" = "x1" ; then
50277 COND_USE_SOSYMLINKS_1=""
50278 fi
50279
50280 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50281 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50282 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50283 fi
50284
50285 COND_USE_SOVERLINUX_1="#"
50286 if test "x$USE_SOVERLINUX" = "x1" ; then
50287 COND_USE_SOVERLINUX_1=""
50288 fi
50289
50290 COND_USE_SOVERSION_0="#"
50291 if test "x$USE_SOVERSION" = "x0" ; then
50292 COND_USE_SOVERSION_0=""
50293 fi
50294
50295 COND_USE_SOVERSOLARIS_1="#"
50296 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50297 COND_USE_SOVERSOLARIS_1=""
50298 fi
50299
50300 COND_USE_THREADS_0="#"
50301 if test "x$USE_THREADS" = "x0" ; then
50302 COND_USE_THREADS_0=""
50303 fi
50304
50305 COND_USE_THREADS_1="#"
50306 if test "x$USE_THREADS" = "x1" ; then
50307 COND_USE_THREADS_1=""
50308 fi
50309
50310 COND_USE_XRC_1="#"
50311 if test "x$USE_XRC" = "x1" ; then
50312 COND_USE_XRC_1=""
50313 fi
50314
50315 COND_WINDOWS_IMPLIB_1="#"
50316 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50317 COND_WINDOWS_IMPLIB_1=""
50318 fi
50319
50320 COND_WITH_PLUGIN_SDL_1="#"
50321 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50322 COND_WITH_PLUGIN_SDL_1=""
50323 fi
50324
50325 COND_WXUNIV_0="#"
50326 if test "x$WXUNIV" = "x0" ; then
50327 COND_WXUNIV_0=""
50328 fi
50329
50330 COND_WXUNIV_1="#"
50331 if test "x$WXUNIV" = "x1" ; then
50332 COND_WXUNIV_1=""
50333 fi
50334
50335 COND_WXUSE_EXPAT_BUILTIN="#"
50336 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50337 COND_WXUSE_EXPAT_BUILTIN=""
50338 fi
50339
50340 COND_WXUSE_LIBJPEG_BUILTIN="#"
50341 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50342 COND_WXUSE_LIBJPEG_BUILTIN=""
50343 fi
50344
50345 COND_WXUSE_LIBPNG_BUILTIN="#"
50346 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50347 COND_WXUSE_LIBPNG_BUILTIN=""
50348 fi
50349
50350 COND_WXUSE_LIBTIFF_BUILTIN="#"
50351 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50352 COND_WXUSE_LIBTIFF_BUILTIN=""
50353 fi
50354
50355 COND_WXUSE_ODBC_BUILTIN="#"
50356 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
50357 COND_WXUSE_ODBC_BUILTIN=""
50358 fi
50359
50360 COND_WXUSE_REGEX_BUILTIN="#"
50361 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50362 COND_WXUSE_REGEX_BUILTIN=""
50363 fi
50364
50365 COND_WXUSE_ZLIB_BUILTIN="#"
50366 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50367 COND_WXUSE_ZLIB_BUILTIN=""
50368 fi
50369
50370
50371
50372 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50373 { { 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
50374 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;}
50375 { (exit 1); exit 1; }; }
50376 fi
50377
50378 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50379 { { 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
50380 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;}
50381 { (exit 1); exit 1; }; }
50382 fi
50383
50384
50385 if test $GCC_PCH = 1
50386 then
50387 if test "$wx_cv_gcc_pch_bug" = yes; then
50388 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50389 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50390 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50391 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50392 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50393 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50394 fi
50395
50396 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
50397 fi
50398
50399
50400 if test "$wxUSE_MAC" = 1 ; then
50401 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50402 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50403 mv temp bk-deps
50404 chmod +x bk-deps
50405 fi
50406 fi
50407
50408 if test "$wxUSE_SHARED" = "yes"; then
50409
50410 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
50411 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
50412
50413 case "${host}" in
50414 *-pc-os2_emx | *-pc-os2-emx )
50415 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50416 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50417 cp -p ${srcdir}/src/os2/dllnames.sh .
50418 cp -p ${srcdir}/src/os2/dllar.sh .
50419 ;;
50420 esac
50421 else
50422
50423 EXE_LINKER="$CXX -o"
50424
50425 fi
50426 if test "$wxUSE_OMF" = "yes"; then
50427 case "${host}" in
50428 *-pc-os2_emx | *-pc-os2-emx )
50429 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50430 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50431 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50432 ;;
50433 esac
50434 fi
50435
50436 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50437
50438 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50439
50440
50441
50442
50443
50444
50445
50446
50447
50448
50449
50450
50451
50452
50453
50454
50455
50456
50457
50458
50459
50460
50461
50462
50463
50464
50465
50466
50467
50468
50469
50470
50471
50472
50473
50474
50475
50476
50477
50478
50479
50480
50481
50482
50483
50484
50485
50486
50487
50488
50489
50490
50491
50492
50493
50494
50495
50496
50497
50498
50499
50500 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50501 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
50502 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
50503 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
50504 echo $ECHO_N "(cached) $ECHO_C" >&6
50505 else
50506 cat >conftest.make <<\_ACEOF
50507 all:
50508 @echo 'ac_maketemp="$(MAKE)"'
50509 _ACEOF
50510 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50511 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
50512 if test -n "$ac_maketemp"; then
50513 eval ac_cv_prog_make_${ac_make}_set=yes
50514 else
50515 eval ac_cv_prog_make_${ac_make}_set=no
50516 fi
50517 rm -f conftest.make
50518 fi
50519 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
50520 echo "$as_me:$LINENO: result: yes" >&5
50521 echo "${ECHO_T}yes" >&6
50522 SET_MAKE=
50523 else
50524 echo "$as_me:$LINENO: result: no" >&5
50525 echo "${ECHO_T}no" >&6
50526 SET_MAKE="MAKE=${MAKE-make}"
50527 fi
50528
50529
50530
50531 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50532
50533
50534 if test "$USE_WIN32" = 1; then
50535 ac_config_commands="$ac_config_commands
50536 rcdefs.h
50537 "
50538
50539 fi
50540
50541 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50542
50543
50544 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50545
50546
50547 ac_config_files="$ac_config_files version-script Makefile"
50548
50549
50550 ac_config_commands="$ac_config_commands wx-config"
50551
50552
50553
50554 if test "$wxWITH_SUBDIRS" != "no"; then
50555 if test "$wxUSE_GUI" = "yes"; then
50556 SUBDIRS="samples demos utils contrib"
50557 else SUBDIRS="samples utils"
50558 fi
50559
50560
50561
50562 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
50563 if test "${with_cppunit_prefix+set}" = set; then
50564 withval="$with_cppunit_prefix"
50565 cppunit_config_prefix="$withval"
50566 else
50567 cppunit_config_prefix=""
50568 fi;
50569
50570 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
50571 if test "${with_cppunit_exec_prefix+set}" = set; then
50572 withval="$with_cppunit_exec_prefix"
50573 cppunit_config_exec_prefix="$withval"
50574 else
50575 cppunit_config_exec_prefix=""
50576 fi;
50577
50578 if test x$cppunit_config_exec_prefix != x ; then
50579 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50580 if test x${CPPUNIT_CONFIG+set} != xset ; then
50581 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50582 fi
50583 fi
50584 if test x$cppunit_config_prefix != x ; then
50585 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50586 if test x${CPPUNIT_CONFIG+set} != xset ; then
50587 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50588 fi
50589 fi
50590
50591 # Extract the first word of "cppunit-config", so it can be a program name with args.
50592 set dummy cppunit-config; ac_word=$2
50593 echo "$as_me:$LINENO: checking for $ac_word" >&5
50594 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50595 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50596 echo $ECHO_N "(cached) $ECHO_C" >&6
50597 else
50598 case $CPPUNIT_CONFIG in
50599 [\\/]* | ?:[\\/]*)
50600 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50601 ;;
50602 *)
50603 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50604 for as_dir in $PATH
50605 do
50606 IFS=$as_save_IFS
50607 test -z "$as_dir" && as_dir=.
50608 for ac_exec_ext in '' $ac_executable_extensions; do
50609 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50610 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50611 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50612 break 2
50613 fi
50614 done
50615 done
50616
50617 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50618 ;;
50619 esac
50620 fi
50621 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50622
50623 if test -n "$CPPUNIT_CONFIG"; then
50624 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50625 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
50626 else
50627 echo "$as_me:$LINENO: result: no" >&5
50628 echo "${ECHO_T}no" >&6
50629 fi
50630
50631 cppunit_version_min=1.8.0
50632
50633 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50634 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
50635 no_cppunit=""
50636 if test "$CPPUNIT_CONFIG" = "no" ; then
50637 echo "$as_me:$LINENO: result: no" >&5
50638 echo "${ECHO_T}no" >&6
50639 no_cppunit=yes
50640 else
50641 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50642 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50643 cppunit_version=`$CPPUNIT_CONFIG --version`
50644
50645 cppunit_major_version=`echo $cppunit_version | \
50646 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50647 cppunit_minor_version=`echo $cppunit_version | \
50648 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50649 cppunit_micro_version=`echo $cppunit_version | \
50650 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50651
50652 cppunit_major_min=`echo $cppunit_version_min | \
50653 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50654 cppunit_minor_min=`echo $cppunit_version_min | \
50655 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50656 cppunit_micro_min=`echo $cppunit_version_min | \
50657 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50658
50659 cppunit_version_proper=`expr \
50660 $cppunit_major_version \> $cppunit_major_min \| \
50661 $cppunit_major_version \= $cppunit_major_min \& \
50662 $cppunit_minor_version \> $cppunit_minor_min \| \
50663 $cppunit_major_version \= $cppunit_major_min \& \
50664 $cppunit_minor_version \= $cppunit_minor_min \& \
50665 $cppunit_micro_version \>= $cppunit_micro_min `
50666
50667 if test "$cppunit_version_proper" = "1" ; then
50668 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50669 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
50670 else
50671 echo "$as_me:$LINENO: result: no" >&5
50672 echo "${ECHO_T}no" >&6
50673 no_cppunit=yes
50674 fi
50675 fi
50676
50677 if test "x$no_cppunit" = x ; then
50678 SUBDIRS="$SUBDIRS tests"
50679 else
50680 CPPUNIT_CFLAGS=""
50681 CPPUNIT_LIBS=""
50682 :
50683 fi
50684
50685
50686
50687
50688
50689 for subdir in `echo $SUBDIRS`; do
50690 if test -d ${srcdir}/${subdir} ; then
50691 if test "$wxUSE_GUI" = "yes"; then
50692 if test ${subdir} = "samples"; then
50693 makefiles="samples/Makefile.in $makefiles"
50694 for sample in `echo $SAMPLES_SUBDIRS`; do
50695 if test -d $srcdir/samples/$sample; then
50696 makefiles="samples/$sample/Makefile.in $makefiles"
50697 fi
50698 done
50699 else
50700 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
50701 eval "disabled=\$$disabled_var"
50702 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50703 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
50704 fi
50705 else if test ${subdir} = "samples"; then
50706 makefiles="samples/Makefile.in samples/console/Makefile.in"
50707 elif test ${subdir} = "utils"; then
50708 makefiles=""
50709 for util in HelpGen tex2rtf ; do
50710 if test -d $srcdir/utils/$util ; then
50711 makefiles="utils/$util/Makefile.in \
50712 utils/$util/src/Makefile.in \
50713 $makefiles"
50714 fi
50715 done
50716 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50717 fi
50718 fi
50719
50720 for mkin in $makefiles ; do
50721 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50722 ac_config_files="$ac_config_files $mk"
50723
50724 done
50725 fi
50726 done
50727 fi
50728 cat >confcache <<\_ACEOF
50729 # This file is a shell script that caches the results of configure
50730 # tests run on this system so they can be shared between configure
50731 # scripts and configure runs, see configure's option --config-cache.
50732 # It is not useful on other systems. If it contains results you don't
50733 # want to keep, you may remove or edit it.
50734 #
50735 # config.status only pays attention to the cache file if you give it
50736 # the --recheck option to rerun configure.
50737 #
50738 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50739 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50740 # following values.
50741
50742 _ACEOF
50743
50744 # The following way of writing the cache mishandles newlines in values,
50745 # but we know of no workaround that is simple, portable, and efficient.
50746 # So, don't put newlines in cache variables' values.
50747 # Ultrix sh set writes to stderr and can't be redirected directly,
50748 # and sets the high bit in the cache file unless we assign to the vars.
50749 {
50750 (set) 2>&1 |
50751 case `(ac_space=' '; set | grep ac_space) 2>&1` in
50752 *ac_space=\ *)
50753 # `set' does not quote correctly, so add quotes (double-quote
50754 # substitution turns \\\\ into \\, and sed turns \\ into \).
50755 sed -n \
50756 "s/'/'\\\\''/g;
50757 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50758 ;;
50759 *)
50760 # `set' quotes correctly as required by POSIX, so do not add quotes.
50761 sed -n \
50762 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
50763 ;;
50764 esac;
50765 } |
50766 sed '
50767 t clear
50768 : clear
50769 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50770 t end
50771 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50772 : end' >>confcache
50773 if diff $cache_file confcache >/dev/null 2>&1; then :; else
50774 if test -w $cache_file; then
50775 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
50776 cat confcache >$cache_file
50777 else
50778 echo "not updating unwritable cache $cache_file"
50779 fi
50780 fi
50781 rm -f confcache
50782
50783 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50784 # Let make expand exec_prefix.
50785 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50786
50787 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50788 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50789 # trailing colons and then remove the whole line if VPATH becomes empty
50790 # (actually we leave an empty line to preserve line numbers).
50791 if test "x$srcdir" = x.; then
50792 ac_vpsub='/^[ ]*VPATH[ ]*=/{
50793 s/:*\$(srcdir):*/:/;
50794 s/:*\${srcdir}:*/:/;
50795 s/:*@srcdir@:*/:/;
50796 s/^\([^=]*=[ ]*\):*/\1/;
50797 s/:*$//;
50798 s/^[^=]*=[ ]*$//;
50799 }'
50800 fi
50801
50802 DEFS=-DHAVE_CONFIG_H
50803
50804 ac_libobjs=
50805 ac_ltlibobjs=
50806 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50807 # 1. Remove the extension, and $U if already installed.
50808 ac_i=`echo "$ac_i" |
50809 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
50810 # 2. Add them.
50811 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
50812 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
50813 done
50814 LIBOBJS=$ac_libobjs
50815
50816 LTLIBOBJS=$ac_ltlibobjs
50817
50818
50819
50820 : ${CONFIG_STATUS=./config.status}
50821 ac_clean_files_save=$ac_clean_files
50822 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50823 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50824 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50825 cat >$CONFIG_STATUS <<_ACEOF
50826 #! $SHELL
50827 # Generated by $as_me.
50828 # Run this file to recreate the current configuration.
50829 # Compiler output produced by configure, useful for debugging
50830 # configure, is in config.log if it exists.
50831
50832 debug=false
50833 ac_cs_recheck=false
50834 ac_cs_silent=false
50835 SHELL=\${CONFIG_SHELL-$SHELL}
50836 _ACEOF
50837
50838 cat >>$CONFIG_STATUS <<\_ACEOF
50839 ## --------------------- ##
50840 ## M4sh Initialization. ##
50841 ## --------------------- ##
50842
50843 # Be Bourne compatible
50844 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50845 emulate sh
50846 NULLCMD=:
50847 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50848 # is contrary to our usage. Disable this feature.
50849 alias -g '${1+"$@"}'='"$@"'
50850 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
50851 set -o posix
50852 fi
50853 DUALCASE=1; export DUALCASE # for MKS sh
50854
50855 # Support unset when possible.
50856 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50857 as_unset=unset
50858 else
50859 as_unset=false
50860 fi
50861
50862
50863 # Work around bugs in pre-3.0 UWIN ksh.
50864 $as_unset ENV MAIL MAILPATH
50865 PS1='$ '
50866 PS2='> '
50867 PS4='+ '
50868
50869 # NLS nuisances.
50870 for as_var in \
50871 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50872 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50873 LC_TELEPHONE LC_TIME
50874 do
50875 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50876 eval $as_var=C; export $as_var
50877 else
50878 $as_unset $as_var
50879 fi
50880 done
50881
50882 # Required to use basename.
50883 if expr a : '\(a\)' >/dev/null 2>&1; then
50884 as_expr=expr
50885 else
50886 as_expr=false
50887 fi
50888
50889 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
50890 as_basename=basename
50891 else
50892 as_basename=false
50893 fi
50894
50895
50896 # Name of the executable.
50897 as_me=`$as_basename "$0" ||
50898 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50899 X"$0" : 'X\(//\)$' \| \
50900 X"$0" : 'X\(/\)$' \| \
50901 . : '\(.\)' 2>/dev/null ||
50902 echo X/"$0" |
50903 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
50904 /^X\/\(\/\/\)$/{ s//\1/; q; }
50905 /^X\/\(\/\).*/{ s//\1/; q; }
50906 s/.*/./; q'`
50907
50908
50909 # PATH needs CR, and LINENO needs CR and PATH.
50910 # Avoid depending upon Character Ranges.
50911 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50912 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50913 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50914 as_cr_digits='0123456789'
50915 as_cr_alnum=$as_cr_Letters$as_cr_digits
50916
50917 # The user is always right.
50918 if test "${PATH_SEPARATOR+set}" != set; then
50919 echo "#! /bin/sh" >conf$$.sh
50920 echo "exit 0" >>conf$$.sh
50921 chmod +x conf$$.sh
50922 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50923 PATH_SEPARATOR=';'
50924 else
50925 PATH_SEPARATOR=:
50926 fi
50927 rm -f conf$$.sh
50928 fi
50929
50930
50931 as_lineno_1=$LINENO
50932 as_lineno_2=$LINENO
50933 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50934 test "x$as_lineno_1" != "x$as_lineno_2" &&
50935 test "x$as_lineno_3" = "x$as_lineno_2" || {
50936 # Find who we are. Look in the path if we contain no path at all
50937 # relative or not.
50938 case $0 in
50939 *[\\/]* ) as_myself=$0 ;;
50940 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50941 for as_dir in $PATH
50942 do
50943 IFS=$as_save_IFS
50944 test -z "$as_dir" && as_dir=.
50945 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50946 done
50947
50948 ;;
50949 esac
50950 # We did not find ourselves, most probably we were run as `sh COMMAND'
50951 # in which case we are not to be found in the path.
50952 if test "x$as_myself" = x; then
50953 as_myself=$0
50954 fi
50955 if test ! -f "$as_myself"; then
50956 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
50957 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
50958 { (exit 1); exit 1; }; }
50959 fi
50960 case $CONFIG_SHELL in
50961 '')
50962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50963 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
50964 do
50965 IFS=$as_save_IFS
50966 test -z "$as_dir" && as_dir=.
50967 for as_base in sh bash ksh sh5; do
50968 case $as_dir in
50969 /*)
50970 if ("$as_dir/$as_base" -c '
50971 as_lineno_1=$LINENO
50972 as_lineno_2=$LINENO
50973 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50974 test "x$as_lineno_1" != "x$as_lineno_2" &&
50975 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
50976 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
50977 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
50978 CONFIG_SHELL=$as_dir/$as_base
50979 export CONFIG_SHELL
50980 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
50981 fi;;
50982 esac
50983 done
50984 done
50985 ;;
50986 esac
50987
50988 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50989 # uniformly replaced by the line number. The first 'sed' inserts a
50990 # line-number line before each line; the second 'sed' does the real
50991 # work. The second script uses 'N' to pair each line-number line
50992 # with the numbered line, and appends trailing '-' during
50993 # substitution so that $LINENO is not a special case at line end.
50994 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50995 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
50996 sed '=' <$as_myself |
50997 sed '
50998 N
50999 s,$,-,
51000 : loop
51001 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
51002 t loop
51003 s,-$,,
51004 s,^['$as_cr_digits']*\n,,
51005 ' >$as_me.lineno &&
51006 chmod +x $as_me.lineno ||
51007 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
51008 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
51009 { (exit 1); exit 1; }; }
51010
51011 # Don't try to exec as it changes $[0], causing all sort of problems
51012 # (the dirname of $[0] is not the place where we might find the
51013 # original and so on. Autoconf is especially sensible to this).
51014 . ./$as_me.lineno
51015 # Exit status is that of the last command.
51016 exit
51017 }
51018
51019
51020 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
51021 *c*,-n*) ECHO_N= ECHO_C='
51022 ' ECHO_T=' ' ;;
51023 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
51024 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
51025 esac
51026
51027 if expr a : '\(a\)' >/dev/null 2>&1; then
51028 as_expr=expr
51029 else
51030 as_expr=false
51031 fi
51032
51033 rm -f conf$$ conf$$.exe conf$$.file
51034 echo >conf$$.file
51035 if ln -s conf$$.file conf$$ 2>/dev/null; then
51036 # We could just check for DJGPP; but this test a) works b) is more generic
51037 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
51038 if test -f conf$$.exe; then
51039 # Don't use ln at all; we don't have any links
51040 as_ln_s='cp -p'
51041 else
51042 as_ln_s='ln -s'
51043 fi
51044 elif ln conf$$.file conf$$ 2>/dev/null; then
51045 as_ln_s=ln
51046 else
51047 as_ln_s='cp -p'
51048 fi
51049 rm -f conf$$ conf$$.exe conf$$.file
51050
51051 if mkdir -p . 2>/dev/null; then
51052 as_mkdir_p=:
51053 else
51054 test -d ./-p && rmdir ./-p
51055 as_mkdir_p=false
51056 fi
51057
51058 as_executable_p="test -f"
51059
51060 # Sed expression to map a string onto a valid CPP name.
51061 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51062
51063 # Sed expression to map a string onto a valid variable name.
51064 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51065
51066
51067 # IFS
51068 # We need space, tab and new line, in precisely that order.
51069 as_nl='
51070 '
51071 IFS=" $as_nl"
51072
51073 # CDPATH.
51074 $as_unset CDPATH
51075
51076 exec 6>&1
51077
51078 # Open the log real soon, to keep \$[0] and so on meaningful, and to
51079 # report actual input values of CONFIG_FILES etc. instead of their
51080 # values after options handling. Logging --version etc. is OK.
51081 exec 5>>config.log
51082 {
51083 echo
51084 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51085 ## Running $as_me. ##
51086 _ASBOX
51087 } >&5
51088 cat >&5 <<_CSEOF
51089
51090 This file was extended by wxWidgets $as_me 2.7.1, which was
51091 generated by GNU Autoconf 2.59. Invocation command line was
51092
51093 CONFIG_FILES = $CONFIG_FILES
51094 CONFIG_HEADERS = $CONFIG_HEADERS
51095 CONFIG_LINKS = $CONFIG_LINKS
51096 CONFIG_COMMANDS = $CONFIG_COMMANDS
51097 $ $0 $@
51098
51099 _CSEOF
51100 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
51101 echo >&5
51102 _ACEOF
51103
51104 # Files that config.status was made for.
51105 if test -n "$ac_config_files"; then
51106 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
51107 fi
51108
51109 if test -n "$ac_config_headers"; then
51110 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
51111 fi
51112
51113 if test -n "$ac_config_links"; then
51114 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
51115 fi
51116
51117 if test -n "$ac_config_commands"; then
51118 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
51119 fi
51120
51121 cat >>$CONFIG_STATUS <<\_ACEOF
51122
51123 ac_cs_usage="\
51124 \`$as_me' instantiates files from templates according to the
51125 current configuration.
51126
51127 Usage: $0 [OPTIONS] [FILE]...
51128
51129 -h, --help print this help, then exit
51130 -V, --version print version number, then exit
51131 -q, --quiet do not print progress messages
51132 -d, --debug don't remove temporary files
51133 --recheck update $as_me by reconfiguring in the same conditions
51134 --file=FILE[:TEMPLATE]
51135 instantiate the configuration file FILE
51136 --header=FILE[:TEMPLATE]
51137 instantiate the configuration header FILE
51138
51139 Configuration files:
51140 $config_files
51141
51142 Configuration headers:
51143 $config_headers
51144
51145 Configuration commands:
51146 $config_commands
51147
51148 Report bugs to <bug-autoconf@gnu.org>."
51149 _ACEOF
51150
51151 cat >>$CONFIG_STATUS <<_ACEOF
51152 ac_cs_version="\\
51153 wxWidgets config.status 2.7.1
51154 configured by $0, generated by GNU Autoconf 2.59,
51155 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
51156
51157 Copyright (C) 2003 Free Software Foundation, Inc.
51158 This config.status script is free software; the Free Software Foundation
51159 gives unlimited permission to copy, distribute and modify it."
51160 srcdir=$srcdir
51161 INSTALL="$INSTALL"
51162 _ACEOF
51163
51164 cat >>$CONFIG_STATUS <<\_ACEOF
51165 # If no file are specified by the user, then we need to provide default
51166 # value. By we need to know if files were specified by the user.
51167 ac_need_defaults=:
51168 while test $# != 0
51169 do
51170 case $1 in
51171 --*=*)
51172 ac_option=`expr "x$1" : 'x\([^=]*\)='`
51173 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
51174 ac_shift=:
51175 ;;
51176 -*)
51177 ac_option=$1
51178 ac_optarg=$2
51179 ac_shift=shift
51180 ;;
51181 *) # This is not an option, so the user has probably given explicit
51182 # arguments.
51183 ac_option=$1
51184 ac_need_defaults=false;;
51185 esac
51186
51187 case $ac_option in
51188 # Handling of the options.
51189 _ACEOF
51190 cat >>$CONFIG_STATUS <<\_ACEOF
51191 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51192 ac_cs_recheck=: ;;
51193 --version | --vers* | -V )
51194 echo "$ac_cs_version"; exit 0 ;;
51195 --he | --h)
51196 # Conflict between --help and --header
51197 { { echo "$as_me:$LINENO: error: ambiguous option: $1
51198 Try \`$0 --help' for more information." >&5
51199 echo "$as_me: error: ambiguous option: $1
51200 Try \`$0 --help' for more information." >&2;}
51201 { (exit 1); exit 1; }; };;
51202 --help | --hel | -h )
51203 echo "$ac_cs_usage"; exit 0 ;;
51204 --debug | --d* | -d )
51205 debug=: ;;
51206 --file | --fil | --fi | --f )
51207 $ac_shift
51208 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51209 ac_need_defaults=false;;
51210 --header | --heade | --head | --hea )
51211 $ac_shift
51212 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51213 ac_need_defaults=false;;
51214 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51215 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51216 ac_cs_silent=: ;;
51217
51218 # This is an error.
51219 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
51220 Try \`$0 --help' for more information." >&5
51221 echo "$as_me: error: unrecognized option: $1
51222 Try \`$0 --help' for more information." >&2;}
51223 { (exit 1); exit 1; }; } ;;
51224
51225 *) ac_config_targets="$ac_config_targets $1" ;;
51226
51227 esac
51228 shift
51229 done
51230
51231 ac_configure_extra_args=
51232
51233 if $ac_cs_silent; then
51234 exec 6>/dev/null
51235 ac_configure_extra_args="$ac_configure_extra_args --silent"
51236 fi
51237
51238 _ACEOF
51239 cat >>$CONFIG_STATUS <<_ACEOF
51240 if \$ac_cs_recheck; then
51241 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51242 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51243 fi
51244
51245 _ACEOF
51246
51247 cat >>$CONFIG_STATUS <<_ACEOF
51248 #
51249 # INIT-COMMANDS section.
51250 #
51251
51252
51253 CPP="$CPP"
51254 infile="$srcdir/include/wx/msw/genrcdefs.h"
51255 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51256
51257
51258 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51259 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51260 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51261 LN_S="${LN_S}"
51262
51263
51264 _ACEOF
51265
51266
51267
51268 cat >>$CONFIG_STATUS <<\_ACEOF
51269 for ac_config_target in $ac_config_targets
51270 do
51271 case "$ac_config_target" in
51272 # Handling of arguments.
51273 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51274 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51275 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
51276 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51277 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
51278 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51279 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51280 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51281 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51282 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51283 { (exit 1); exit 1; }; };;
51284 esac
51285 done
51286
51287 # If the user did not use the arguments to specify the items to instantiate,
51288 # then the envvar interface is used. Set only those that are not.
51289 # We use the long form for the default assignment because of an extremely
51290 # bizarre bug on SunOS 4.1.3.
51291 if $ac_need_defaults; then
51292 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51293 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51294 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51295 fi
51296
51297 # Have a temporary directory for convenience. Make it in the build tree
51298 # simply because there is no reason to put it here, and in addition,
51299 # creating and moving files from /tmp can sometimes cause problems.
51300 # Create a temporary directory, and hook for its removal unless debugging.
51301 $debug ||
51302 {
51303 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
51304 trap '{ (exit 1); exit 1; }' 1 2 13 15
51305 }
51306
51307 # Create a (secure) tmp directory for tmp files.
51308
51309 {
51310 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
51311 test -n "$tmp" && test -d "$tmp"
51312 } ||
51313 {
51314 tmp=./confstat$$-$RANDOM
51315 (umask 077 && mkdir $tmp)
51316 } ||
51317 {
51318 echo "$me: cannot create a temporary directory in ." >&2
51319 { (exit 1); exit 1; }
51320 }
51321
51322 _ACEOF
51323
51324 cat >>$CONFIG_STATUS <<_ACEOF
51325
51326 #
51327 # CONFIG_FILES section.
51328 #
51329
51330 # No need to generate the scripts if there are no CONFIG_FILES.
51331 # This happens for instance when ./config.status config.h
51332 if test -n "\$CONFIG_FILES"; then
51333 # Protect against being on the right side of a sed subst in config.status.
51334 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
51335 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
51336 s,@SHELL@,$SHELL,;t t
51337 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
51338 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
51339 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
51340 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
51341 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
51342 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
51343 s,@exec_prefix@,$exec_prefix,;t t
51344 s,@prefix@,$prefix,;t t
51345 s,@program_transform_name@,$program_transform_name,;t t
51346 s,@bindir@,$bindir,;t t
51347 s,@sbindir@,$sbindir,;t t
51348 s,@libexecdir@,$libexecdir,;t t
51349 s,@datadir@,$datadir,;t t
51350 s,@sysconfdir@,$sysconfdir,;t t
51351 s,@sharedstatedir@,$sharedstatedir,;t t
51352 s,@localstatedir@,$localstatedir,;t t
51353 s,@libdir@,$libdir,;t t
51354 s,@includedir@,$includedir,;t t
51355 s,@oldincludedir@,$oldincludedir,;t t
51356 s,@infodir@,$infodir,;t t
51357 s,@mandir@,$mandir,;t t
51358 s,@build_alias@,$build_alias,;t t
51359 s,@host_alias@,$host_alias,;t t
51360 s,@target_alias@,$target_alias,;t t
51361 s,@DEFS@,$DEFS,;t t
51362 s,@ECHO_C@,$ECHO_C,;t t
51363 s,@ECHO_N@,$ECHO_N,;t t
51364 s,@ECHO_T@,$ECHO_T,;t t
51365 s,@LIBS@,$LIBS,;t t
51366 s,@build@,$build,;t t
51367 s,@build_cpu@,$build_cpu,;t t
51368 s,@build_vendor@,$build_vendor,;t t
51369 s,@build_os@,$build_os,;t t
51370 s,@host@,$host,;t t
51371 s,@host_cpu@,$host_cpu,;t t
51372 s,@host_vendor@,$host_vendor,;t t
51373 s,@host_os@,$host_os,;t t
51374 s,@target@,$target,;t t
51375 s,@target_cpu@,$target_cpu,;t t
51376 s,@target_vendor@,$target_vendor,;t t
51377 s,@target_os@,$target_os,;t t
51378 s,@CC@,$CC,;t t
51379 s,@CFLAGS@,$CFLAGS,;t t
51380 s,@LDFLAGS@,$LDFLAGS,;t t
51381 s,@CPPFLAGS@,$CPPFLAGS,;t t
51382 s,@ac_ct_CC@,$ac_ct_CC,;t t
51383 s,@EXEEXT@,$EXEEXT,;t t
51384 s,@OBJEXT@,$OBJEXT,;t t
51385 s,@CPP@,$CPP,;t t
51386 s,@EGREP@,$EGREP,;t t
51387 s,@CXX@,$CXX,;t t
51388 s,@CXXFLAGS@,$CXXFLAGS,;t t
51389 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
51390 s,@RANLIB@,$RANLIB,;t t
51391 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
51392 s,@AR@,$AR,;t t
51393 s,@ac_ct_AR@,$ac_ct_AR,;t t
51394 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
51395 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
51396 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
51397 s,@STRIP@,$STRIP,;t t
51398 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
51399 s,@WINDRES@,$WINDRES,;t t
51400 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
51401 s,@DLLTOOL@,$DLLTOOL,;t t
51402 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
51403 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
51404 s,@LN_S@,$LN_S,;t t
51405 s,@CXXCPP@,$CXXCPP,;t t
51406 s,@subdirs@,$subdirs,;t t
51407 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
51408 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
51409 s,@GTK_LIBS@,$GTK_LIBS,;t t
51410 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
51411 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
51412 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
51413 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
51414 s,@X_CFLAGS@,$X_CFLAGS,;t t
51415 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
51416 s,@X_LIBS@,$X_LIBS,;t t
51417 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
51418 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
51419 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
51420 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
51421 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
51422 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
51423 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
51424 s,@REZ@,$REZ,;t t
51425 s,@DEREZ@,$DEREZ,;t t
51426 s,@SETFILE@,$SETFILE,;t t
51427 s,@LIBICONV@,$LIBICONV,;t t
51428 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
51429 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
51430 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
51431 s,@SDL_LIBS@,$SDL_LIBS,;t t
51432 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
51433 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
51434 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
51435 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
51436 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
51437 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
51438 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
51439 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
51440 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
51441 s,@GST_LIBS@,$GST_LIBS,;t t
51442 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
51443 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
51444 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
51445 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
51446 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
51447 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
51448 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
51449 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
51450 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
51451 s,@VENDOR@,$VENDOR,;t t
51452 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
51453 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
51454 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
51455 s,@WXUNIV@,$WXUNIV,;t t
51456 s,@MONOLITHIC@,$MONOLITHIC,;t t
51457 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
51458 s,@EXTRALIBS@,$EXTRALIBS,;t t
51459 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
51460 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
51461 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
51462 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
51463 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
51464 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
51465 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
51466 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
51467 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
51468 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
51469 s,@UNICODE@,$UNICODE,;t t
51470 s,@BUILD@,$BUILD,;t t
51471 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
51472 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
51473 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
51474 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
51475 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
51476 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
51477 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
51478 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
51479 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
51480 s,@SET_MAKE@,$SET_MAKE,;t t
51481 s,@MAKE_SET@,$MAKE_SET,;t t
51482 s,@NM@,$NM,;t t
51483 s,@ac_ct_NM@,$ac_ct_NM,;t t
51484 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
51485 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
51486 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
51487 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
51488 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
51489 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
51490 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
51491 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
51492 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
51493 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
51494 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
51495 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
51496 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
51497 s,@LIBPREFIX@,$LIBPREFIX,;t t
51498 s,@LIBEXT@,$LIBEXT,;t t
51499 s,@DLLPREFIX@,$DLLPREFIX,;t t
51500 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
51501 s,@dlldir@,$dlldir,;t t
51502 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
51503 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
51504 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
51505 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
51506 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
51507 s,@PIC_FLAG@,$PIC_FLAG,;t t
51508 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
51509 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
51510 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
51511 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
51512 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
51513 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
51514 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
51515 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
51516 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
51517 s,@GCC_PCH@,$GCC_PCH,;t t
51518 s,@ICC_PCH@,$ICC_PCH,;t t
51519 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
51520 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
51521 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
51522 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
51523 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
51524 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
51525 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
51526 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
51527 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
51528 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
51529 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
51530 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
51531 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
51532 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
51533 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
51534 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
51535 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
51536 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
51537 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
51538 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
51539 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
51540 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
51541 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
51542 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
51543 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
51544 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
51545 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
51546 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
51547 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
51548 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
51549 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
51550 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
51551 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
51552 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
51553 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
51554 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
51555 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
51556 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
51557 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
51558 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
51559 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
51560 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
51561 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
51562 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
51563 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
51564 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
51565 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
51566 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
51567 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
51568 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
51569 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
51570 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
51571 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
51572 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
51573 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
51574 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
51575 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
51576 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
51577 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
51578 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
51579 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
51580 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
51581 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
51582 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
51583 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
51584 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
51585 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
51586 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
51587 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
51588 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
51589 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
51590 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
51591 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
51592 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51593 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51594 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51595 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
51596 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
51597 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
51598 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
51599 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
51600 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
51601 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
51602 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
51603 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
51604 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
51605 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
51606 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
51607 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
51608 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
51609 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
51610 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
51611 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
51612 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
51613 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
51614 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
51615 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
51616 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
51617 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
51618 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
51619 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
51620 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
51621 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
51622 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
51623 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
51624 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
51625 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
51626 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
51627 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
51628 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
51629 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
51630 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
51631 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
51632 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
51633 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
51634 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
51635 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
51636 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
51637 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
51638 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
51639 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
51640 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
51641 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
51642 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
51643 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
51644 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
51645 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51646 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51647 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51648 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
51649 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
51650 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
51651 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
51652 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
51653 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
51654 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
51655 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
51656 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
51657 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
51658 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
51659 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
51660 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
51661 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
51662 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
51663 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
51664 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
51665 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
51666 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
51667 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
51668 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
51669 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
51670 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
51671 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
51672 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
51673 s,@SHARED@,$SHARED,;t t
51674 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
51675 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
51676 s,@USE_GUI@,$USE_GUI,;t t
51677 s,@AFMINSTALL@,$AFMINSTALL,;t t
51678 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
51679 s,@TOOLKIT@,$TOOLKIT,;t t
51680 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
51681 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
51682 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
51683 s,@cross_compiling@,$cross_compiling,;t t
51684 s,@WIDGET_SET@,$WIDGET_SET,;t t
51685 s,@WX_RELEASE@,$WX_RELEASE,;t t
51686 s,@WX_VERSION@,$WX_VERSION,;t t
51687 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
51688 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
51689 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
51690 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
51691 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
51692 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
51693 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
51694 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
51695 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
51696 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
51697 s,@EXE_LINKER@,$EXE_LINKER,;t t
51698 s,@GUIDIST@,$GUIDIST,;t t
51699 s,@DISTDIR@,$DISTDIR,;t t
51700 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
51701 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
51702 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
51703 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
51704 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
51705 s,@RESCOMP@,$RESCOMP,;t t
51706 s,@RESFLAGS@,$RESFLAGS,;t t
51707 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
51708 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
51709 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
51710 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
51711 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
51712 s,@MACSETFILE@,$MACSETFILE,;t t
51713 s,@GCC@,$GCC,;t t
51714 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
51715 s,@LIBOBJS@,$LIBOBJS,;t t
51716 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
51717 CEOF
51718
51719 _ACEOF
51720
51721 cat >>$CONFIG_STATUS <<\_ACEOF
51722 # Split the substitutions into bite-sized pieces for seds with
51723 # small command number limits, like on Digital OSF/1 and HP-UX.
51724 ac_max_sed_lines=48
51725 ac_sed_frag=1 # Number of current file.
51726 ac_beg=1 # First line for current file.
51727 ac_end=$ac_max_sed_lines # Line after last line for current file.
51728 ac_more_lines=:
51729 ac_sed_cmds=
51730 while $ac_more_lines; do
51731 if test $ac_beg -gt 1; then
51732 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
51733 else
51734 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
51735 fi
51736 if test ! -s $tmp/subs.frag; then
51737 ac_more_lines=false
51738 else
51739 # The purpose of the label and of the branching condition is to
51740 # speed up the sed processing (if there are no `@' at all, there
51741 # is no need to browse any of the substitutions).
51742 # These are the two extra sed commands mentioned above.
51743 (echo ':t
51744 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
51745 if test -z "$ac_sed_cmds"; then
51746 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
51747 else
51748 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
51749 fi
51750 ac_sed_frag=`expr $ac_sed_frag + 1`
51751 ac_beg=$ac_end
51752 ac_end=`expr $ac_end + $ac_max_sed_lines`
51753 fi
51754 done
51755 if test -z "$ac_sed_cmds"; then
51756 ac_sed_cmds=cat
51757 fi
51758 fi # test -n "$CONFIG_FILES"
51759
51760 _ACEOF
51761 cat >>$CONFIG_STATUS <<\_ACEOF
51762 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
51763 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51764 case $ac_file in
51765 - | *:- | *:-:* ) # input from stdin
51766 cat >$tmp/stdin
51767 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51768 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51769 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51770 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51771 * ) ac_file_in=$ac_file.in ;;
51772 esac
51773
51774 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
51775 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
51776 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51777 X"$ac_file" : 'X\(//\)[^/]' \| \
51778 X"$ac_file" : 'X\(//\)$' \| \
51779 X"$ac_file" : 'X\(/\)' \| \
51780 . : '\(.\)' 2>/dev/null ||
51781 echo X"$ac_file" |
51782 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51783 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51784 /^X\(\/\/\)$/{ s//\1/; q; }
51785 /^X\(\/\).*/{ s//\1/; q; }
51786 s/.*/./; q'`
51787 { if $as_mkdir_p; then
51788 mkdir -p "$ac_dir"
51789 else
51790 as_dir="$ac_dir"
51791 as_dirs=
51792 while test ! -d "$as_dir"; do
51793 as_dirs="$as_dir $as_dirs"
51794 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51795 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51796 X"$as_dir" : 'X\(//\)[^/]' \| \
51797 X"$as_dir" : 'X\(//\)$' \| \
51798 X"$as_dir" : 'X\(/\)' \| \
51799 . : '\(.\)' 2>/dev/null ||
51800 echo X"$as_dir" |
51801 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51802 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51803 /^X\(\/\/\)$/{ s//\1/; q; }
51804 /^X\(\/\).*/{ s//\1/; q; }
51805 s/.*/./; q'`
51806 done
51807 test ! -n "$as_dirs" || mkdir $as_dirs
51808 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51809 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51810 { (exit 1); exit 1; }; }; }
51811
51812 ac_builddir=.
51813
51814 if test "$ac_dir" != .; then
51815 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51816 # A "../" for each directory in $ac_dir_suffix.
51817 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51818 else
51819 ac_dir_suffix= ac_top_builddir=
51820 fi
51821
51822 case $srcdir in
51823 .) # No --srcdir option. We are building in place.
51824 ac_srcdir=.
51825 if test -z "$ac_top_builddir"; then
51826 ac_top_srcdir=.
51827 else
51828 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51829 fi ;;
51830 [\\/]* | ?:[\\/]* ) # Absolute path.
51831 ac_srcdir=$srcdir$ac_dir_suffix;
51832 ac_top_srcdir=$srcdir ;;
51833 *) # Relative path.
51834 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51835 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51836 esac
51837
51838 # Do not use `cd foo && pwd` to compute absolute paths, because
51839 # the directories may not exist.
51840 case `pwd` in
51841 .) ac_abs_builddir="$ac_dir";;
51842 *)
51843 case "$ac_dir" in
51844 .) ac_abs_builddir=`pwd`;;
51845 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51846 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51847 esac;;
51848 esac
51849 case $ac_abs_builddir in
51850 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51851 *)
51852 case ${ac_top_builddir}. in
51853 .) ac_abs_top_builddir=$ac_abs_builddir;;
51854 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51855 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51856 esac;;
51857 esac
51858 case $ac_abs_builddir in
51859 .) ac_abs_srcdir=$ac_srcdir;;
51860 *)
51861 case $ac_srcdir in
51862 .) ac_abs_srcdir=$ac_abs_builddir;;
51863 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51864 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51865 esac;;
51866 esac
51867 case $ac_abs_builddir in
51868 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51869 *)
51870 case $ac_top_srcdir in
51871 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51872 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51873 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51874 esac;;
51875 esac
51876
51877
51878 case $INSTALL in
51879 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
51880 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
51881 esac
51882
51883 # Let's still pretend it is `configure' which instantiates (i.e., don't
51884 # use $as_me), people would be surprised to read:
51885 # /* config.h. Generated by config.status. */
51886 if test x"$ac_file" = x-; then
51887 configure_input=
51888 else
51889 configure_input="$ac_file. "
51890 fi
51891 configure_input=$configure_input"Generated from `echo $ac_file_in |
51892 sed 's,.*/,,'` by configure."
51893
51894 # First look for the input files in the build tree, otherwise in the
51895 # src tree.
51896 ac_file_inputs=`IFS=:
51897 for f in $ac_file_in; do
51898 case $f in
51899 -) echo $tmp/stdin ;;
51900 [\\/$]*)
51901 # Absolute (can't be DOS-style, as IFS=:)
51902 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51903 echo "$as_me: error: cannot find input file: $f" >&2;}
51904 { (exit 1); exit 1; }; }
51905 echo "$f";;
51906 *) # Relative
51907 if test -f "$f"; then
51908 # Build tree
51909 echo "$f"
51910 elif test -f "$srcdir/$f"; then
51911 # Source tree
51912 echo "$srcdir/$f"
51913 else
51914 # /dev/null tree
51915 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51916 echo "$as_me: error: cannot find input file: $f" >&2;}
51917 { (exit 1); exit 1; }; }
51918 fi;;
51919 esac
51920 done` || { (exit 1); exit 1; }
51921
51922 if test x"$ac_file" != x-; then
51923 { echo "$as_me:$LINENO: creating $ac_file" >&5
51924 echo "$as_me: creating $ac_file" >&6;}
51925 rm -f "$ac_file"
51926 fi
51927 _ACEOF
51928 cat >>$CONFIG_STATUS <<_ACEOF
51929 sed "$ac_vpsub
51930 $extrasub
51931 _ACEOF
51932 cat >>$CONFIG_STATUS <<\_ACEOF
51933 :t
51934 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51935 s,@configure_input@,$configure_input,;t t
51936 s,@srcdir@,$ac_srcdir,;t t
51937 s,@abs_srcdir@,$ac_abs_srcdir,;t t
51938 s,@top_srcdir@,$ac_top_srcdir,;t t
51939 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
51940 s,@builddir@,$ac_builddir,;t t
51941 s,@abs_builddir@,$ac_abs_builddir,;t t
51942 s,@top_builddir@,$ac_top_builddir,;t t
51943 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
51944 s,@INSTALL@,$ac_INSTALL,;t t
51945 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
51946 rm -f $tmp/stdin
51947 if test x"$ac_file" != x-; then
51948 mv $tmp/out $ac_file
51949 else
51950 cat $tmp/out
51951 rm -f $tmp/out
51952 fi
51953
51954 # Run the commands associated with the file.
51955 case $ac_file in
51956 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51957 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51958 esac
51959 done
51960 _ACEOF
51961 cat >>$CONFIG_STATUS <<\_ACEOF
51962
51963 #
51964 # CONFIG_HEADER section.
51965 #
51966
51967 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
51968 # NAME is the cpp macro being defined and VALUE is the value it is being given.
51969 #
51970 # ac_d sets the value in "#define NAME VALUE" lines.
51971 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
51972 ac_dB='[ ].*$,\1#\2'
51973 ac_dC=' '
51974 ac_dD=',;t'
51975 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
51976 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
51977 ac_uB='$,\1#\2define\3'
51978 ac_uC=' '
51979 ac_uD=',;t'
51980
51981 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
51982 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51983 case $ac_file in
51984 - | *:- | *:-:* ) # input from stdin
51985 cat >$tmp/stdin
51986 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51987 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51988 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51989 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51990 * ) ac_file_in=$ac_file.in ;;
51991 esac
51992
51993 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
51994 echo "$as_me: creating $ac_file" >&6;}
51995
51996 # First look for the input files in the build tree, otherwise in the
51997 # src tree.
51998 ac_file_inputs=`IFS=:
51999 for f in $ac_file_in; do
52000 case $f in
52001 -) echo $tmp/stdin ;;
52002 [\\/$]*)
52003 # Absolute (can't be DOS-style, as IFS=:)
52004 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52005 echo "$as_me: error: cannot find input file: $f" >&2;}
52006 { (exit 1); exit 1; }; }
52007 # Do quote $f, to prevent DOS paths from being IFS'd.
52008 echo "$f";;
52009 *) # Relative
52010 if test -f "$f"; then
52011 # Build tree
52012 echo "$f"
52013 elif test -f "$srcdir/$f"; then
52014 # Source tree
52015 echo "$srcdir/$f"
52016 else
52017 # /dev/null tree
52018 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52019 echo "$as_me: error: cannot find input file: $f" >&2;}
52020 { (exit 1); exit 1; }; }
52021 fi;;
52022 esac
52023 done` || { (exit 1); exit 1; }
52024 # Remove the trailing spaces.
52025 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
52026
52027 _ACEOF
52028
52029 # Transform confdefs.h into two sed scripts, `conftest.defines' and
52030 # `conftest.undefs', that substitutes the proper values into
52031 # config.h.in to produce config.h. The first handles `#define'
52032 # templates, and the second `#undef' templates.
52033 # And first: Protect against being on the right side of a sed subst in
52034 # config.status. Protect against being in an unquoted here document
52035 # in config.status.
52036 rm -f conftest.defines conftest.undefs
52037 # Using a here document instead of a string reduces the quoting nightmare.
52038 # Putting comments in sed scripts is not portable.
52039 #
52040 # `end' is used to avoid that the second main sed command (meant for
52041 # 0-ary CPP macros) applies to n-ary macro definitions.
52042 # See the Autoconf documentation for `clear'.
52043 cat >confdef2sed.sed <<\_ACEOF
52044 s/[\\&,]/\\&/g
52045 s,[\\$`],\\&,g
52046 t clear
52047 : clear
52048 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
52049 t end
52050 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
52051 : end
52052 _ACEOF
52053 # If some macros were called several times there might be several times
52054 # the same #defines, which is useless. Nevertheless, we may not want to
52055 # sort them, since we want the *last* AC-DEFINE to be honored.
52056 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
52057 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
52058 rm -f confdef2sed.sed
52059
52060 # This sed command replaces #undef with comments. This is necessary, for
52061 # example, in the case of _POSIX_SOURCE, which is predefined and required
52062 # on some systems where configure will not decide to define it.
52063 cat >>conftest.undefs <<\_ACEOF
52064 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
52065 _ACEOF
52066
52067 # Break up conftest.defines because some shells have a limit on the size
52068 # of here documents, and old seds have small limits too (100 cmds).
52069 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
52070 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
52071 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
52072 echo ' :' >>$CONFIG_STATUS
52073 rm -f conftest.tail
52074 while grep . conftest.defines >/dev/null
52075 do
52076 # Write a limited-size here document to $tmp/defines.sed.
52077 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
52078 # Speed up: don't consider the non `#define' lines.
52079 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
52080 # Work around the forget-to-reset-the-flag bug.
52081 echo 't clr' >>$CONFIG_STATUS
52082 echo ': clr' >>$CONFIG_STATUS
52083 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
52084 echo 'CEOF
52085 sed -f $tmp/defines.sed $tmp/in >$tmp/out
52086 rm -f $tmp/in
52087 mv $tmp/out $tmp/in
52088 ' >>$CONFIG_STATUS
52089 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
52090 rm -f conftest.defines
52091 mv conftest.tail conftest.defines
52092 done
52093 rm -f conftest.defines
52094 echo ' fi # grep' >>$CONFIG_STATUS
52095 echo >>$CONFIG_STATUS
52096
52097 # Break up conftest.undefs because some shells have a limit on the size
52098 # of here documents, and old seds have small limits too (100 cmds).
52099 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
52100 rm -f conftest.tail
52101 while grep . conftest.undefs >/dev/null
52102 do
52103 # Write a limited-size here document to $tmp/undefs.sed.
52104 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
52105 # Speed up: don't consider the non `#undef'
52106 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
52107 # Work around the forget-to-reset-the-flag bug.
52108 echo 't clr' >>$CONFIG_STATUS
52109 echo ': clr' >>$CONFIG_STATUS
52110 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
52111 echo 'CEOF
52112 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
52113 rm -f $tmp/in
52114 mv $tmp/out $tmp/in
52115 ' >>$CONFIG_STATUS
52116 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
52117 rm -f conftest.undefs
52118 mv conftest.tail conftest.undefs
52119 done
52120 rm -f conftest.undefs
52121
52122 cat >>$CONFIG_STATUS <<\_ACEOF
52123 # Let's still pretend it is `configure' which instantiates (i.e., don't
52124 # use $as_me), people would be surprised to read:
52125 # /* config.h. Generated by config.status. */
52126 if test x"$ac_file" = x-; then
52127 echo "/* Generated by configure. */" >$tmp/config.h
52128 else
52129 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
52130 fi
52131 cat $tmp/in >>$tmp/config.h
52132 rm -f $tmp/in
52133 if test x"$ac_file" != x-; then
52134 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
52135 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52136 echo "$as_me: $ac_file is unchanged" >&6;}
52137 else
52138 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
52139 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52140 X"$ac_file" : 'X\(//\)[^/]' \| \
52141 X"$ac_file" : 'X\(//\)$' \| \
52142 X"$ac_file" : 'X\(/\)' \| \
52143 . : '\(.\)' 2>/dev/null ||
52144 echo X"$ac_file" |
52145 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52146 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52147 /^X\(\/\/\)$/{ s//\1/; q; }
52148 /^X\(\/\).*/{ s//\1/; q; }
52149 s/.*/./; q'`
52150 { if $as_mkdir_p; then
52151 mkdir -p "$ac_dir"
52152 else
52153 as_dir="$ac_dir"
52154 as_dirs=
52155 while test ! -d "$as_dir"; do
52156 as_dirs="$as_dir $as_dirs"
52157 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52158 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52159 X"$as_dir" : 'X\(//\)[^/]' \| \
52160 X"$as_dir" : 'X\(//\)$' \| \
52161 X"$as_dir" : 'X\(/\)' \| \
52162 . : '\(.\)' 2>/dev/null ||
52163 echo X"$as_dir" |
52164 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52165 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52166 /^X\(\/\/\)$/{ s//\1/; q; }
52167 /^X\(\/\).*/{ s//\1/; q; }
52168 s/.*/./; q'`
52169 done
52170 test ! -n "$as_dirs" || mkdir $as_dirs
52171 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52172 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52173 { (exit 1); exit 1; }; }; }
52174
52175 rm -f $ac_file
52176 mv $tmp/config.h $ac_file
52177 fi
52178 else
52179 cat $tmp/config.h
52180 rm -f $tmp/config.h
52181 fi
52182 done
52183 _ACEOF
52184 cat >>$CONFIG_STATUS <<\_ACEOF
52185
52186 #
52187 # CONFIG_COMMANDS section.
52188 #
52189 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
52190 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
52191 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
52192 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
52193 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52194 X"$ac_dest" : 'X\(//\)[^/]' \| \
52195 X"$ac_dest" : 'X\(//\)$' \| \
52196 X"$ac_dest" : 'X\(/\)' \| \
52197 . : '\(.\)' 2>/dev/null ||
52198 echo X"$ac_dest" |
52199 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52200 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52201 /^X\(\/\/\)$/{ s//\1/; q; }
52202 /^X\(\/\).*/{ s//\1/; q; }
52203 s/.*/./; q'`
52204 { if $as_mkdir_p; then
52205 mkdir -p "$ac_dir"
52206 else
52207 as_dir="$ac_dir"
52208 as_dirs=
52209 while test ! -d "$as_dir"; do
52210 as_dirs="$as_dir $as_dirs"
52211 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52212 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52213 X"$as_dir" : 'X\(//\)[^/]' \| \
52214 X"$as_dir" : 'X\(//\)$' \| \
52215 X"$as_dir" : 'X\(/\)' \| \
52216 . : '\(.\)' 2>/dev/null ||
52217 echo X"$as_dir" |
52218 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52219 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52220 /^X\(\/\/\)$/{ s//\1/; q; }
52221 /^X\(\/\).*/{ s//\1/; q; }
52222 s/.*/./; q'`
52223 done
52224 test ! -n "$as_dirs" || mkdir $as_dirs
52225 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52226 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52227 { (exit 1); exit 1; }; }; }
52228
52229 ac_builddir=.
52230
52231 if test "$ac_dir" != .; then
52232 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52233 # A "../" for each directory in $ac_dir_suffix.
52234 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52235 else
52236 ac_dir_suffix= ac_top_builddir=
52237 fi
52238
52239 case $srcdir in
52240 .) # No --srcdir option. We are building in place.
52241 ac_srcdir=.
52242 if test -z "$ac_top_builddir"; then
52243 ac_top_srcdir=.
52244 else
52245 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52246 fi ;;
52247 [\\/]* | ?:[\\/]* ) # Absolute path.
52248 ac_srcdir=$srcdir$ac_dir_suffix;
52249 ac_top_srcdir=$srcdir ;;
52250 *) # Relative path.
52251 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52252 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52253 esac
52254
52255 # Do not use `cd foo && pwd` to compute absolute paths, because
52256 # the directories may not exist.
52257 case `pwd` in
52258 .) ac_abs_builddir="$ac_dir";;
52259 *)
52260 case "$ac_dir" in
52261 .) ac_abs_builddir=`pwd`;;
52262 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52263 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52264 esac;;
52265 esac
52266 case $ac_abs_builddir in
52267 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52268 *)
52269 case ${ac_top_builddir}. in
52270 .) ac_abs_top_builddir=$ac_abs_builddir;;
52271 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52272 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52273 esac;;
52274 esac
52275 case $ac_abs_builddir in
52276 .) ac_abs_srcdir=$ac_srcdir;;
52277 *)
52278 case $ac_srcdir in
52279 .) ac_abs_srcdir=$ac_abs_builddir;;
52280 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52281 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52282 esac;;
52283 esac
52284 case $ac_abs_builddir in
52285 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52286 *)
52287 case $ac_top_srcdir in
52288 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52289 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52290 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52291 esac;;
52292 esac
52293
52294
52295 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
52296 echo "$as_me: executing $ac_dest commands" >&6;}
52297 case $ac_dest in
52298 rcdefs.h )
52299 mkdir -p $outdir &&
52300 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52301 ;;
52302 wx-config ) rm -f wx-config
52303 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52304 ;;
52305 esac
52306 done
52307 _ACEOF
52308
52309 cat >>$CONFIG_STATUS <<\_ACEOF
52310
52311 { (exit 0); exit 0; }
52312 _ACEOF
52313 chmod +x $CONFIG_STATUS
52314 ac_clean_files=$ac_clean_files_save
52315
52316
52317 # configure is writing to config.log, and then calls config.status.
52318 # config.status does its own redirection, appending to config.log.
52319 # Unfortunately, on DOS this fails, as config.log is still kept open
52320 # by configure, so config.status won't be able to write to it; its
52321 # output is simply discarded. So we exec the FD to /dev/null,
52322 # effectively closing config.log, so it can be properly (re)opened and
52323 # appended to by config.status. When coming back to configure, we
52324 # need to make the FD available again.
52325 if test "$no_create" != yes; then
52326 ac_cs_success=:
52327 ac_config_status_args=
52328 test "$silent" = yes &&
52329 ac_config_status_args="$ac_config_status_args --quiet"
52330 exec 5>/dev/null
52331 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52332 exec 5>>config.log
52333 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52334 # would make configure fail if this is the last instruction.
52335 $ac_cs_success || { (exit 1); exit 1; }
52336 fi
52337
52338 #
52339 # CONFIG_SUBDIRS section.
52340 #
52341 if test "$no_recursion" != yes; then
52342
52343 # Remove --cache-file and --srcdir arguments so they do not pile up.
52344 ac_sub_configure_args=
52345 ac_prev=
52346 for ac_arg in $ac_configure_args; do
52347 if test -n "$ac_prev"; then
52348 ac_prev=
52349 continue
52350 fi
52351 case $ac_arg in
52352 -cache-file | --cache-file | --cache-fil | --cache-fi \
52353 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52354 ac_prev=cache_file ;;
52355 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52356 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52357 | --c=*)
52358 ;;
52359 --config-cache | -C)
52360 ;;
52361 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52362 ac_prev=srcdir ;;
52363 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52364 ;;
52365 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52366 ac_prev=prefix ;;
52367 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52368 ;;
52369 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
52370 esac
52371 done
52372
52373 # Always prepend --prefix to ensure using the same prefix
52374 # in subdir configurations.
52375 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
52376
52377 ac_popdir=`pwd`
52378 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52379
52380 # Do not complain, so a configure script can configure whichever
52381 # parts of a large source tree are present.
52382 test -d $srcdir/$ac_dir || continue
52383
52384 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
52385 echo "$as_me: configuring in $ac_dir" >&6;}
52386 { if $as_mkdir_p; then
52387 mkdir -p "$ac_dir"
52388 else
52389 as_dir="$ac_dir"
52390 as_dirs=
52391 while test ! -d "$as_dir"; do
52392 as_dirs="$as_dir $as_dirs"
52393 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52394 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52395 X"$as_dir" : 'X\(//\)[^/]' \| \
52396 X"$as_dir" : 'X\(//\)$' \| \
52397 X"$as_dir" : 'X\(/\)' \| \
52398 . : '\(.\)' 2>/dev/null ||
52399 echo X"$as_dir" |
52400 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52401 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52402 /^X\(\/\/\)$/{ s//\1/; q; }
52403 /^X\(\/\).*/{ s//\1/; q; }
52404 s/.*/./; q'`
52405 done
52406 test ! -n "$as_dirs" || mkdir $as_dirs
52407 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52408 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52409 { (exit 1); exit 1; }; }; }
52410
52411 ac_builddir=.
52412
52413 if test "$ac_dir" != .; then
52414 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52415 # A "../" for each directory in $ac_dir_suffix.
52416 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52417 else
52418 ac_dir_suffix= ac_top_builddir=
52419 fi
52420
52421 case $srcdir in
52422 .) # No --srcdir option. We are building in place.
52423 ac_srcdir=.
52424 if test -z "$ac_top_builddir"; then
52425 ac_top_srcdir=.
52426 else
52427 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52428 fi ;;
52429 [\\/]* | ?:[\\/]* ) # Absolute path.
52430 ac_srcdir=$srcdir$ac_dir_suffix;
52431 ac_top_srcdir=$srcdir ;;
52432 *) # Relative path.
52433 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52434 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52435 esac
52436
52437 # Do not use `cd foo && pwd` to compute absolute paths, because
52438 # the directories may not exist.
52439 case `pwd` in
52440 .) ac_abs_builddir="$ac_dir";;
52441 *)
52442 case "$ac_dir" in
52443 .) ac_abs_builddir=`pwd`;;
52444 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52445 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52446 esac;;
52447 esac
52448 case $ac_abs_builddir in
52449 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52450 *)
52451 case ${ac_top_builddir}. in
52452 .) ac_abs_top_builddir=$ac_abs_builddir;;
52453 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52454 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52455 esac;;
52456 esac
52457 case $ac_abs_builddir in
52458 .) ac_abs_srcdir=$ac_srcdir;;
52459 *)
52460 case $ac_srcdir in
52461 .) ac_abs_srcdir=$ac_abs_builddir;;
52462 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52463 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52464 esac;;
52465 esac
52466 case $ac_abs_builddir in
52467 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52468 *)
52469 case $ac_top_srcdir in
52470 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52471 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52472 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52473 esac;;
52474 esac
52475
52476
52477 cd $ac_dir
52478
52479 # Check for guested configure; otherwise get Cygnus style configure.
52480 if test -f $ac_srcdir/configure.gnu; then
52481 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
52482 elif test -f $ac_srcdir/configure; then
52483 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
52484 elif test -f $ac_srcdir/configure.in; then
52485 ac_sub_configure=$ac_configure
52486 else
52487 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52488 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52489 ac_sub_configure=
52490 fi
52491
52492 # The recursion is here.
52493 if test -n "$ac_sub_configure"; then
52494 # Make the cache file name correct relative to the subdirectory.
52495 case $cache_file in
52496 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52497 *) # Relative path.
52498 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
52499 esac
52500
52501 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52502 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52503 # The eval makes quoting arguments work.
52504 eval $ac_sub_configure $ac_sub_configure_args \
52505 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
52506 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52507 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52508 { (exit 1); exit 1; }; }
52509 fi
52510
52511 cd "$ac_popdir"
52512 done
52513 fi
52514
52515
52516 echo
52517 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52518 echo ""
52519 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52520 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52521
52522 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52523 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52524 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
52525
52526 echo " What level of wxWidgets compatibility should be enabled?"
52527 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
52528 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
52529
52530 echo " Which libraries should wxWidgets use?"
52531 echo " jpeg ${wxUSE_LIBJPEG-none}"
52532 echo " png ${wxUSE_LIBPNG-none}"
52533 echo " regex ${wxUSE_REGEX}"
52534 echo " tiff ${wxUSE_LIBTIFF-none}"
52535 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52536 echo " xpm ${wxUSE_LIBXPM-none}"
52537 fi
52538 echo " zlib ${wxUSE_ZLIB}"
52539 echo " odbc ${wxUSE_ODBC}"
52540 echo " expat ${wxUSE_EXPAT}"
52541 echo " libmspack ${wxUSE_LIBMSPACK}"
52542 echo " sdl ${wxUSE_LIBSDL}"
52543
52544 echo ""
52545