]> git.saurik.com Git - wxWidgets.git/blob - configure
fix compilation error when wxUSE_DYNLIB_CLASS == 0
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.59 for wxWidgets 2.7.1.
5 #
6 # Report bugs to <wx-dev@lists.wxwidgets.org>.
7 #
8 # Copyright (C) 2003 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
14
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
23 set -o posix
24 fi
25 DUALCASE=1; export DUALCASE # for MKS sh
26
27 # Support unset when possible.
28 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
29 as_unset=unset
30 else
31 as_unset=false
32 fi
33
34
35 # Work around bugs in pre-3.0 UWIN ksh.
36 $as_unset ENV MAIL MAILPATH
37 PS1='$ '
38 PS2='> '
39 PS4='+ '
40
41 # NLS nuisances.
42 for as_var in \
43 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
44 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
45 LC_TELEPHONE LC_TIME
46 do
47 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
48 eval $as_var=C; export $as_var
49 else
50 $as_unset $as_var
51 fi
52 done
53
54 # Required to use basename.
55 if expr a : '\(a\)' >/dev/null 2>&1; then
56 as_expr=expr
57 else
58 as_expr=false
59 fi
60
61 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
62 as_basename=basename
63 else
64 as_basename=false
65 fi
66
67
68 # Name of the executable.
69 as_me=`$as_basename "$0" ||
70 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
71 X"$0" : 'X\(//\)$' \| \
72 X"$0" : 'X\(/\)$' \| \
73 . : '\(.\)' 2>/dev/null ||
74 echo X/"$0" |
75 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
76 /^X\/\(\/\/\)$/{ s//\1/; q; }
77 /^X\/\(\/\).*/{ s//\1/; q; }
78 s/.*/./; q'`
79
80
81 # PATH needs CR, and LINENO needs CR and PATH.
82 # Avoid depending upon Character Ranges.
83 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
84 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
85 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
86 as_cr_digits='0123456789'
87 as_cr_alnum=$as_cr_Letters$as_cr_digits
88
89 # The user is always right.
90 if test "${PATH_SEPARATOR+set}" != set; then
91 echo "#! /bin/sh" >conf$$.sh
92 echo "exit 0" >>conf$$.sh
93 chmod +x conf$$.sh
94 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
95 PATH_SEPARATOR=';'
96 else
97 PATH_SEPARATOR=:
98 fi
99 rm -f conf$$.sh
100 fi
101
102
103 as_lineno_1=$LINENO
104 as_lineno_2=$LINENO
105 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
106 test "x$as_lineno_1" != "x$as_lineno_2" &&
107 test "x$as_lineno_3" = "x$as_lineno_2" || {
108 # Find who we are. Look in the path if we contain no path at all
109 # relative or not.
110 case $0 in
111 *[\\/]* ) as_myself=$0 ;;
112 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 for as_dir in $PATH
114 do
115 IFS=$as_save_IFS
116 test -z "$as_dir" && as_dir=.
117 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
118 done
119
120 ;;
121 esac
122 # We did not find ourselves, most probably we were run as `sh COMMAND'
123 # in which case we are not to be found in the path.
124 if test "x$as_myself" = x; then
125 as_myself=$0
126 fi
127 if test ! -f "$as_myself"; then
128 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
129 { (exit 1); exit 1; }; }
130 fi
131 case $CONFIG_SHELL in
132 '')
133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
134 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
135 do
136 IFS=$as_save_IFS
137 test -z "$as_dir" && as_dir=.
138 for as_base in sh bash ksh sh5; do
139 case $as_dir in
140 /*)
141 if ("$as_dir/$as_base" -c '
142 as_lineno_1=$LINENO
143 as_lineno_2=$LINENO
144 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
145 test "x$as_lineno_1" != "x$as_lineno_2" &&
146 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
147 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
148 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
149 CONFIG_SHELL=$as_dir/$as_base
150 export CONFIG_SHELL
151 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
152 fi;;
153 esac
154 done
155 done
156 ;;
157 esac
158
159 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
160 # uniformly replaced by the line number. The first 'sed' inserts a
161 # line-number line before each line; the second 'sed' does the real
162 # work. The second script uses 'N' to pair each line-number line
163 # with the numbered line, and appends trailing '-' during
164 # substitution so that $LINENO is not a special case at line end.
165 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
166 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
167 sed '=' <$as_myself |
168 sed '
169 N
170 s,$,-,
171 : loop
172 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
173 t loop
174 s,-$,,
175 s,^['$as_cr_digits']*\n,,
176 ' >$as_me.lineno &&
177 chmod +x $as_me.lineno ||
178 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
179 { (exit 1); exit 1; }; }
180
181 # Don't try to exec as it changes $[0], causing all sort of problems
182 # (the dirname of $[0] is not the place where we might find the
183 # original and so on. Autoconf is especially sensible to this).
184 . ./$as_me.lineno
185 # Exit status is that of the last command.
186 exit
187 }
188
189
190 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
191 *c*,-n*) ECHO_N= ECHO_C='
192 ' ECHO_T=' ' ;;
193 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
194 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
195 esac
196
197 if expr a : '\(a\)' >/dev/null 2>&1; then
198 as_expr=expr
199 else
200 as_expr=false
201 fi
202
203 rm -f conf$$ conf$$.exe conf$$.file
204 echo >conf$$.file
205 if ln -s conf$$.file conf$$ 2>/dev/null; then
206 # We could just check for DJGPP; but this test a) works b) is more generic
207 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
208 if test -f conf$$.exe; then
209 # Don't use ln at all; we don't have any links
210 as_ln_s='cp -p'
211 else
212 as_ln_s='ln -s'
213 fi
214 elif ln conf$$.file conf$$ 2>/dev/null; then
215 as_ln_s=ln
216 else
217 as_ln_s='cp -p'
218 fi
219 rm -f conf$$ conf$$.exe conf$$.file
220
221 if mkdir -p . 2>/dev/null; then
222 as_mkdir_p=:
223 else
224 test -d ./-p && rmdir ./-p
225 as_mkdir_p=false
226 fi
227
228 as_executable_p="test -f"
229
230 # Sed expression to map a string onto a valid CPP name.
231 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
232
233 # Sed expression to map a string onto a valid variable name.
234 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235
236
237 # IFS
238 # We need space, tab and new line, in precisely that order.
239 as_nl='
240 '
241 IFS=" $as_nl"
242
243 # CDPATH.
244 $as_unset CDPATH
245
246
247 # Name of the host.
248 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
249 # so uname gets run too.
250 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
251
252 exec 6>&1
253
254 #
255 # Initializations.
256 #
257 ac_default_prefix=/usr/local
258 ac_config_libobj_dir=.
259 cross_compiling=no
260 subdirs=
261 MFLAGS=
262 MAKEFLAGS=
263 SHELL=${CONFIG_SHELL-/bin/sh}
264
265 # Maximum number of lines to put in a shell here document.
266 # This variable seems obsolete. It should probably be removed, and
267 # only ac_max_sed_lines should be used.
268 : ${ac_max_here_lines=38}
269
270 # Identity of this package.
271 PACKAGE_NAME='wxWidgets'
272 PACKAGE_TARNAME='wxwidgets'
273 PACKAGE_VERSION='2.7.1'
274 PACKAGE_STRING='wxWidgets 2.7.1'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
276
277 ac_unique_file="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default="\
280 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H
282 # include <sys/types.h>
283 #endif
284 #if HAVE_SYS_STAT_H
285 # include <sys/stat.h>
286 #endif
287 #if STDC_HEADERS
288 # include <stdlib.h>
289 # include <stddef.h>
290 #else
291 # if HAVE_STDLIB_H
292 # include <stdlib.h>
293 # endif
294 #endif
295 #if HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <memory.h>
298 # endif
299 # include <string.h>
300 #endif
301 #if HAVE_STRINGS_H
302 # include <strings.h>
303 #endif
304 #if HAVE_INTTYPES_H
305 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif
311 #if HAVE_UNISTD_H
312 # include <unistd.h>
313 #endif"
314
315 ac_subdirs_all="$ac_subdirs_all src/expat"
316 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os wx_top_builddir CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR ac_ct_AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES DLLTOOL ac_ct_DLLTOOL IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG ac_pt_PKG_CONFIG DIRECTFB_CFLAGS DIRECTFB_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS REZ DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GNOMEVFS_CFLAGS GNOMEVFS_LIBS HILDON_CFLAGS HILDON_LIBS CAIRO_CFLAGS CAIRO_LIBS GST_CFLAGS GST_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT EXTRALIBS_GNOMEVFS EXTRALIBS_HILDON UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET AROPTIONS NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING BK_DEPS GCC_PCH ICC_PCH BK_MAKE_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_ICC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_MEDIA_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_0 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_DFB COND_TOOLKIT_DFB_USE_GUI_1 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_TOOLKIT_VERSION_ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PCH_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_CPPFLAGS WXCONFIG_CFLAGS WXCONFIG_CXXFLAGS WXCONFIG_LIBS WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_RESFLAGS EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESCOMP RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES POSTLINK_COMMAND MACSETFILE GCC CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
317 ac_subst_files=''
318
319 # Initialize some variables set by options.
320 ac_init_help=
321 ac_init_version=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
324 cache_file=/dev/null
325 exec_prefix=NONE
326 no_create=
327 no_recursion=
328 prefix=NONE
329 program_prefix=NONE
330 program_suffix=NONE
331 program_transform_name=s,x,x,
332 silent=
333 site=
334 srcdir=
335 verbose=
336 x_includes=NONE
337 x_libraries=NONE
338
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir='${exec_prefix}/bin'
345 sbindir='${exec_prefix}/sbin'
346 libexecdir='${exec_prefix}/libexec'
347 datadir='${prefix}/share'
348 sysconfdir='${prefix}/etc'
349 sharedstatedir='${prefix}/com'
350 localstatedir='${prefix}/var'
351 libdir='${exec_prefix}/lib'
352 includedir='${prefix}/include'
353 oldincludedir='/usr/include'
354 infodir='${prefix}/info'
355 mandir='${prefix}/man'
356
357 ac_prev=
358 for ac_option
359 do
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
363 ac_prev=
364 continue
365 fi
366
367 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368
369 # Accept the important Cygnus configure options, so we can diagnose typos.
370
371 case $ac_option in
372
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 ac_prev=bindir ;;
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 bindir=$ac_optarg ;;
377
378 -build | --build | --buil | --bui | --bu)
379 ac_prev=build_alias ;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias=$ac_optarg ;;
382
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev=cache_file ;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file=$ac_optarg ;;
389
390 --config-cache | -C)
391 cache_file=config.cache ;;
392
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 ac_prev=datadir ;;
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 | --da=*)
397 datadir=$ac_optarg ;;
398
399 -disable-* | --disable-*)
400 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
407
408 -enable-* | --enable-*)
409 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
415 case $ac_option in
416 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 *) ac_optarg=yes ;;
418 esac
419 eval "enable_$ac_feature='$ac_optarg'" ;;
420
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev=exec_prefix ;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix=$ac_optarg ;;
429
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
432 with_gas=yes ;;
433
434 -help | --help | --hel | --he | -h)
435 ac_init_help=long ;;
436 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
437 ac_init_help=recursive ;;
438 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
439 ac_init_help=short ;;
440
441 -host | --host | --hos | --ho)
442 ac_prev=host_alias ;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias=$ac_optarg ;;
445
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev=includedir ;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir=$ac_optarg ;;
452
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 ac_prev=infodir ;;
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir=$ac_optarg ;;
457
458 -libdir | --libdir | --libdi | --libd)
459 ac_prev=libdir ;;
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 libdir=$ac_optarg ;;
462
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev=libexecdir ;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir=$ac_optarg ;;
469
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev=localstatedir ;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir=$ac_optarg ;;
478
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 ac_prev=mandir ;;
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 mandir=$ac_optarg ;;
483
484 -nfp | --nfp | --nf)
485 # Obsolete; use --without-fp.
486 with_fp=no ;;
487
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
490 no_create=yes ;;
491
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 no_recursion=yes ;;
495
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev=oldincludedir ;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir=$ac_optarg ;;
504
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 ac_prev=prefix ;;
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 prefix=$ac_optarg ;;
509
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev=program_prefix ;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix=$ac_optarg ;;
516
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev=program_suffix ;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix=$ac_optarg ;;
523
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev=program_transform_name ;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name=$ac_optarg ;;
540
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
543 silent=yes ;;
544
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 ac_prev=sbindir ;;
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 | --sbi=* | --sb=*)
549 sbindir=$ac_optarg ;;
550
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
554 | --sha | --sh)
555 ac_prev=sharedstatedir ;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 | --sha=* | --sh=*)
560 sharedstatedir=$ac_optarg ;;
561
562 -site | --site | --sit)
563 ac_prev=site ;;
564 -site=* | --site=* | --sit=*)
565 site=$ac_optarg ;;
566
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 ac_prev=srcdir ;;
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 srcdir=$ac_optarg ;;
571
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev=sysconfdir ;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir=$ac_optarg ;;
578
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev=target_alias ;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias=$ac_optarg ;;
583
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 verbose=yes ;;
586
587 -version | --version | --versio | --versi | --vers | -V)
588 ac_init_version=: ;;
589
590 -with-* | --with-*)
591 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package=`echo $ac_package| sed 's/-/_/g'`
597 case $ac_option in
598 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 *) ac_optarg=yes ;;
600 esac
601 eval "with_$ac_package='$ac_optarg'" ;;
602
603 -without-* | --without-*)
604 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
611
612 --x)
613 # Obsolete; use --with-x.
614 with_x=yes ;;
615
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev=x_includes ;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes=$ac_optarg ;;
622
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev=x_libraries ;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries=$ac_optarg ;;
629
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
633 ;;
634
635 *=*)
636 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
643 export $ac_envvar ;;
644
645 *)
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 ;;
652
653 esac
654 done
655
656 if test -n "$ac_prev"; then
657 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
660 fi
661
662 # Be sure to have absolute paths.
663 for ac_var in exec_prefix prefix
664 do
665 eval ac_val=$`echo $ac_var`
666 case $ac_val in
667 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
670 esac
671 done
672
673 # Be sure to have absolute paths.
674 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
676 do
677 eval ac_val=$`echo $ac_var`
678 case $ac_val in
679 [\\/$]* | ?:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
682 esac
683 done
684
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
688 build=$build_alias
689 host=$host_alias
690 target=$target_alias
691
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x; then
694 if test "x$build_alias" = x; then
695 cross_compiling=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
699 cross_compiling=yes
700 fi
701 fi
702
703 ac_tool_prefix=
704 test -n "$host_alias" && ac_tool_prefix=$host_alias-
705
706 test "$silent" = yes && exec 6>/dev/null
707
708
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
719 echo X"$0" |
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
724 s/.*/./; q'`
725 srcdir=$ac_confdir
726 if test ! -r $srcdir/$ac_unique_file; then
727 srcdir=..
728 fi
729 else
730 ac_srcdir_defaulted=no
731 fi
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
736 else
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
739 fi
740 fi
741 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set=${build_alias+set}
746 ac_env_build_alias_value=$build_alias
747 ac_cv_env_build_alias_set=${build_alias+set}
748 ac_cv_env_build_alias_value=$build_alias
749 ac_env_host_alias_set=${host_alias+set}
750 ac_env_host_alias_value=$host_alias
751 ac_cv_env_host_alias_set=${host_alias+set}
752 ac_cv_env_host_alias_value=$host_alias
753 ac_env_target_alias_set=${target_alias+set}
754 ac_env_target_alias_value=$target_alias
755 ac_cv_env_target_alias_set=${target_alias+set}
756 ac_cv_env_target_alias_value=$target_alias
757 ac_env_CC_set=${CC+set}
758 ac_env_CC_value=$CC
759 ac_cv_env_CC_set=${CC+set}
760 ac_cv_env_CC_value=$CC
761 ac_env_CFLAGS_set=${CFLAGS+set}
762 ac_env_CFLAGS_value=$CFLAGS
763 ac_cv_env_CFLAGS_set=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value=$CFLAGS
765 ac_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_env_LDFLAGS_value=$LDFLAGS
767 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value=$LDFLAGS
769 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
773 ac_env_CPP_set=${CPP+set}
774 ac_env_CPP_value=$CPP
775 ac_cv_env_CPP_set=${CPP+set}
776 ac_cv_env_CPP_value=$CPP
777 ac_env_CXX_set=${CXX+set}
778 ac_env_CXX_value=$CXX
779 ac_cv_env_CXX_set=${CXX+set}
780 ac_cv_env_CXX_value=$CXX
781 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
785 ac_env_CXXCPP_set=${CXXCPP+set}
786 ac_env_CXXCPP_value=$CXXCPP
787 ac_cv_env_CXXCPP_set=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value=$CXXCPP
789 ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
790 ac_env_PKG_CONFIG_value=$PKG_CONFIG
791 ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
792 ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
793 ac_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
794 ac_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
795 ac_cv_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
796 ac_cv_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
797 ac_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
798 ac_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
799 ac_cv_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
800 ac_cv_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
801 ac_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
802 ac_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
803 ac_cv_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
804 ac_cv_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
805 ac_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
806 ac_env_PANGOX_LIBS_value=$PANGOX_LIBS
807 ac_cv_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
808 ac_cv_env_PANGOX_LIBS_value=$PANGOX_LIBS
809 ac_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
810 ac_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
811 ac_cv_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
812 ac_cv_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
813 ac_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
814 ac_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
815 ac_cv_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
816 ac_cv_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
817 ac_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
818 ac_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
819 ac_cv_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
820 ac_cv_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
821 ac_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
822 ac_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
823 ac_cv_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
824 ac_cv_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
825 ac_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
826 ac_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
827 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
828 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
829 ac_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
830 ac_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
831 ac_cv_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
832 ac_cv_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
833 ac_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
834 ac_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
835 ac_cv_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
836 ac_cv_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
837 ac_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
838 ac_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
839 ac_cv_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
840 ac_cv_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
841 ac_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
842 ac_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
843 ac_cv_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
844 ac_cv_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
845 ac_env_HILDON_LIBS_set=${HILDON_LIBS+set}
846 ac_env_HILDON_LIBS_value=$HILDON_LIBS
847 ac_cv_env_HILDON_LIBS_set=${HILDON_LIBS+set}
848 ac_cv_env_HILDON_LIBS_value=$HILDON_LIBS
849 ac_env_CAIRO_CFLAGS_set=${CAIRO_CFLAGS+set}
850 ac_env_CAIRO_CFLAGS_value=$CAIRO_CFLAGS
851 ac_cv_env_CAIRO_CFLAGS_set=${CAIRO_CFLAGS+set}
852 ac_cv_env_CAIRO_CFLAGS_value=$CAIRO_CFLAGS
853 ac_env_CAIRO_LIBS_set=${CAIRO_LIBS+set}
854 ac_env_CAIRO_LIBS_value=$CAIRO_LIBS
855 ac_cv_env_CAIRO_LIBS_set=${CAIRO_LIBS+set}
856 ac_cv_env_CAIRO_LIBS_value=$CAIRO_LIBS
857 ac_env_GST_CFLAGS_set=${GST_CFLAGS+set}
858 ac_env_GST_CFLAGS_value=$GST_CFLAGS
859 ac_cv_env_GST_CFLAGS_set=${GST_CFLAGS+set}
860 ac_cv_env_GST_CFLAGS_value=$GST_CFLAGS
861 ac_env_GST_LIBS_set=${GST_LIBS+set}
862 ac_env_GST_LIBS_value=$GST_LIBS
863 ac_cv_env_GST_LIBS_set=${GST_LIBS+set}
864 ac_cv_env_GST_LIBS_value=$GST_LIBS
865
866 #
867 # Report the --help message.
868 #
869 if test "$ac_init_help" = "long"; then
870 # Omit some internal or obsolete options to make the list less imposing.
871 # This message is too long to be a string in the A/UX 3.1 sh.
872 cat <<_ACEOF
873 \`configure' configures wxWidgets 2.7.1 to adapt to many kinds of systems.
874
875 Usage: $0 [OPTION]... [VAR=VALUE]...
876
877 To assign environment variables (e.g., CC, CFLAGS...), specify them as
878 VAR=VALUE. See below for descriptions of some of the useful variables.
879
880 Defaults for the options are specified in brackets.
881
882 Configuration:
883 -h, --help display this help and exit
884 --help=short display options specific to this package
885 --help=recursive display the short help of all the included packages
886 -V, --version display version information and exit
887 -q, --quiet, --silent do not print \`checking...' messages
888 --cache-file=FILE cache test results in FILE [disabled]
889 -C, --config-cache alias for \`--cache-file=config.cache'
890 -n, --no-create do not create output files
891 --srcdir=DIR find the sources in DIR [configure dir or \`..']
892
893 _ACEOF
894
895 cat <<_ACEOF
896 Installation directories:
897 --prefix=PREFIX install architecture-independent files in PREFIX
898 [$ac_default_prefix]
899 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
900 [PREFIX]
901
902 By default, \`make install' will install all the files in
903 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
904 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
905 for instance \`--prefix=\$HOME'.
906
907 For better control, use the options below.
908
909 Fine tuning of the installation directories:
910 --bindir=DIR user executables [EPREFIX/bin]
911 --sbindir=DIR system admin executables [EPREFIX/sbin]
912 --libexecdir=DIR program executables [EPREFIX/libexec]
913 --datadir=DIR read-only architecture-independent data [PREFIX/share]
914 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
915 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
916 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
917 --libdir=DIR object code libraries [EPREFIX/lib]
918 --includedir=DIR C header files [PREFIX/include]
919 --oldincludedir=DIR C header files for non-gcc [/usr/include]
920 --infodir=DIR info documentation [PREFIX/info]
921 --mandir=DIR man documentation [PREFIX/man]
922 _ACEOF
923
924 cat <<\_ACEOF
925
926 X features:
927 --x-includes=DIR X include files are in DIR
928 --x-libraries=DIR X library files are in DIR
929
930 System types:
931 --build=BUILD configure for building on BUILD [guessed]
932 --host=HOST cross-compile to build programs to run on HOST [BUILD]
933 --target=TARGET configure for building compilers for TARGET [HOST]
934 _ACEOF
935 fi
936
937 if test -n "$ac_init_help"; then
938 case $ac_init_help in
939 short | recursive ) echo "Configuration of wxWidgets 2.7.1:";;
940 esac
941 cat <<\_ACEOF
942
943 Optional Features:
944 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
945 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
946 --enable-gui use GUI classes
947 --enable-monolithic build wxWidgets as single library
948 --enable-plugins build parts of wxWidgets as loadable components
949 --enable-universal use wxWidgets GUI controls instead of native ones
950 --enable-nanox use NanoX
951 --disable-gtk2 use GTK+ 1.2 instead of 2.0
952 --enable-gpe use GNOME PDA Environment features if possible
953 --enable-shared create shared library code
954 --enable-optimise create optimised code
955 --enable-debug same as debug_flag and debug_info
956 --enable-stl use STL for containers
957 --enable-omf use OMF object format
958 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
959 --enable-debug_info create code with debugging information
960 --enable-debug_gdb create code with extra GDB debugging information
961 --enable-debug_cntxt use wxDebugContext
962 --enable-mem_tracing create code with memory tracing
963 --enable-profile create code with profiling information
964 --enable-no_rtti create code without RTTI information
965 --enable-no_exceptions create code without C++ exceptions handling
966 --enable-permissive compile code disregarding strict ANSI
967 --enable-no_deps create code without dependency information
968 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
969 --enable-compat24 enable wxWidgets 2.4 compatibility
970 --disable-compat26 disable wxWidgets 2.6 compatibility
971 --disable-rpath disable use of rpath for uninstalled builds
972 --enable-intl use internationalization system
973 --enable-config use wxConfig (and derived) classes
974 --enable-protocols use wxProtocol and derived classes
975 --enable-ftp use wxFTP (requires wxProtocol
976 --enable-http use wxHTTP (requires wxProtocol
977 --enable-fileproto use wxFileProto class (requires wxProtocol
978 --enable-sockets use socket/network classes
979 --enable-ole use OLE classes (Win32 only)
980 --enable-dataobj use data object classes
981 --enable-ipc use interprocess communication (wxSocket etc.)
982 --enable-apple_ieee use the Apple IEEE codec
983 --enable-arcstream use wxArchive streams
984 --enable-backtrace use wxStackWalker class for getting backtraces
985 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
986 --enable-cmdline use wxCmdLineParser class
987 --enable-datetime use wxDateTime class
988 --enable-debugreport use wxDebugReport class
989 --enable-dialupman use dialup network classes
990 --enable-dynlib use wxLibrary class for DLL loading
991 --enable-dynamicloader use (new) wxDynamicLibrary class
992 --enable-exceptions build exception-safe library
993 --enable-ffile use wxFFile class
994 --enable-file use wxFile class
995 --enable-filesystem use virtual file systems classes
996 --enable-fontmap use font encodings conversion classes
997 --enable-fs_archive use virtual archive filesystems
998 --enable-fs_inet use virtual HTTP/FTP filesystems
999 --enable-fs_zip now replaced by fs_archive
1000 --enable-geometry use geometry class
1001 --enable-log use logging system
1002 --enable-longlong use wxLongLong class
1003 --enable-mimetype use wxMimeTypesManager
1004 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1005 --enable-snglinst use wxSingleInstanceChecker class
1006 --enable-std_iostreams use standard C++ stream classes
1007 --enable-std_string use standard C++ string classes
1008 --enable-stdpaths use wxStandardPaths class
1009 --enable-stopwatch use wxStopWatch class
1010 --enable-streams use wxStream etc classes
1011 --enable-sysoptions use wxSystemOptions
1012 --enable-tarstream use wxTar streams
1013 --enable-textbuf use wxTextBuffer class
1014 --enable-textfile use wxTextFile class
1015 --enable-timer use wxTimer class
1016 --enable-unicode compile wxString with Unicode support
1017 --enable-sound use wxSound class
1018 --enable-mediactrl use wxMediaCtrl class
1019 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1020 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1021 --enable-zipstream use wxZip streams
1022 --enable-url use wxURL class
1023 --enable-variant use wxVariant class
1024 --enable-protocol use wxProtocol class
1025 --enable-protocol-http HTTP support in wxProtocol
1026 --enable-protocol-ftp FTP support in wxProtocol
1027 --enable-protocol-file FILE support in wxProtocol
1028 --enable-threads use threads
1029 --enable-docview use document view architecture
1030 --enable-help use help subsystem
1031 --enable-mshtmlhelp use MS HTML Help (win32)
1032 --enable-html use wxHTML sub-library
1033 --enable-htmlhelp use wxHTML-based help
1034 --enable-xrc use XRC resources sub-library
1035 --enable-aui use AUI docking library
1036 --enable-constraints use layout-constraints system
1037 --enable-printarch use printing architecture
1038 --enable-mdi use multiple document interface architecture
1039 --enable-mdidoc use docview architecture with MDI
1040 --enable-loggui use standard GUI logger
1041 --enable-logwin use wxLogWindow
1042 --enable-logdialog use wxLogDialog
1043 --enable-webkit use wxWebKitCtrl (Mac)
1044 --enable-richtext use wxRichTextCtrl
1045 --enable-graphics_ctx use graphics context 2D drawing API
1046 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1047 --enable-prologio not available; see contrib
1048 --enable-resources not available; see contrib
1049 --enable-clipboard use wxClipboard class
1050 --enable-dnd use Drag'n'Drop classes
1051 --enable-metafile use win32 metafiles
1052 --enable-controls use all usual controls
1053 --enable-accel use accelerators
1054 --enable-animatectrl use wxAnimationCtrl class
1055 --enable-button use wxButton class
1056 --enable-bmpbutton use wxBitmapButton class
1057 --enable-bmpcombobox use wxBitmapComboBox class
1058 --enable-calendar use wxCalendarCtrl class
1059 --enable-caret use wxCaret class
1060 --enable-checkbox use wxCheckBox class
1061 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1062 --enable-choice use wxChoice class
1063 --enable-choicebook use wxChoicebook class
1064 --enable-collpane use wxCollapsiblePane class
1065 --enable-colourpicker use wxColourPickerCtrl class
1066 --enable-combobox use wxComboBox class
1067 --enable-comboctrl use wxComboCtrl class
1068 --enable-datepick use wxDatePickerCtrl class
1069 --enable-dirpicker use wxDirPickerCtrl class
1070 --enable-display use wxDisplay class
1071 --enable-detect_sm use code to detect X11 session manager
1072 --enable-filepicker use wxFilePickerCtrl class
1073 --enable-fontpicker use wxFontPickerCtrl class
1074 --enable-gauge use wxGauge class
1075 --enable-grid use wxGrid class
1076 --enable-dataviewctrl, use wxDataViewCtrl class
1077 --enable-hyperlink use wxHyperlinkCtrl class
1078 --enable-imaglist use wxImageList class
1079 --enable-listbook use wxListbook class
1080 --enable-listbox use wxListBox class
1081 --enable-listctrl use wxListCtrl class
1082 --enable-notebook use wxNotebook class
1083 --enable-odcombobox use wxOwnerDrawnComboBox class
1084 --enable-radiobox use wxRadioBox class
1085 --enable-radiobtn use wxRadioButton class
1086 --enable-sash use wxSashWindow class
1087 --enable-scrollbar use wxScrollBar class and scrollable windows
1088 --enable-slider use wxSlider class
1089 --enable-spinbtn use wxSpinButton class
1090 --enable-spinctrl use wxSpinCtrl class
1091 --enable-splitter use wxSplitterWindow class
1092 --enable-statbmp use wxStaticBitmap class
1093 --enable-statbox use wxStaticBox class
1094 --enable-statline use wxStaticLine class
1095 --enable-stattext use wxStaticText class
1096 --enable-statusbar use wxStatusBar class
1097 --enable-tabdialog use wxTabControl class
1098 --enable-textctrl use wxTextCtrl class
1099 --enable-togglebtn use wxToggleButton class
1100 --enable-toolbar use wxToolBar class
1101 --enable-tbarnative use native wxToolBar class
1102 --enable-treebook use wxTreebook class
1103 --enable-toolbook use wxToolbook class
1104 --enable-treectrl use wxTreeCtrl class
1105 --enable-tipwindow use wxTipWindow class
1106 --enable-popupwin use wxPopUpWindow class
1107 --enable-commondlg use all common dialogs
1108 --enable-aboutdlg use wxAboutBox
1109 --enable-choicedlg use wxChoiceDialog
1110 --enable-coldlg use wxColourDialog
1111 --enable-filedlg use wxFileDialog
1112 --enable-finddlg use wxFindReplaceDialog
1113 --enable-fontdlg use wxFontDialog
1114 --enable-dirdlg use wxDirDialog
1115 --enable-msgdlg use wxMessageDialog
1116 --enable-numberdlg use wxNumberEntryDialog
1117 --enable-splash use wxSplashScreen
1118 --enable-textdlg use wxTextDialog
1119 --enable-tipdlg use startup tips
1120 --enable-progressdlg use wxProgressDialog
1121 --enable-wizarddlg use wxWizard
1122 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1123 --enable-miniframe use wxMiniFrame class
1124 --enable-tooltips use wxToolTip class
1125 --enable-splines use spline drawing code
1126 --enable-mousewheel use mousewheel
1127 --enable-validators use wxValidator and derived classes
1128 --enable-busyinfo use wxBusyInfo
1129 --enable-joystick use wxJoystick
1130 --enable-metafiles use wxMetaFile (Win32 only)
1131 --enable-dragimage use wxDragImage
1132 --enable-accessibility enable accessibility support
1133 --enable-dccache cache temporary wxDC objects (Win32 only)
1134 --enable-palette use wxPalette class
1135 --enable-image use wxImage class
1136 --enable-gif use gif images (GIF file format)
1137 --enable-pcx use pcx images (PCX file format)
1138 --enable-tga use tga images (TGA file format)
1139 --enable-iff use iff images (IFF file format)
1140 --enable-pnm use pnm images (PNM file format)
1141 --enable-xpm use xpm images (XPM file format)
1142 --enable-icocur use Windows ICO and CUR formats
1143 --enable-official_build official build of wxWidgets (win32 DLL only)
1144 --enable-vendor=VENDOR vendor name (win32 DLL only)
1145 --disable-largefile omit support for large files
1146 --disable-gtktest do not try to compile and run a test GTK+ program
1147 --disable-gtktest Do not try to compile and run a test GTK program
1148 --disable-sdltest Do not try to compile and run a test SDL program
1149 --enable-omf use OMF object format (OS/2)
1150 --disable-dependency-tracking
1151 don't use dependency tracking even if the compiler
1152 can
1153 --disable-precomp-headers
1154 don't use precompiled headers even if compiler can
1155
1156 Optional Packages:
1157 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1158 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1159 --without-subdirs don't generate makefiles for samples/demos/...
1160 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1161 --with-motif use Motif/Lesstif
1162 --with-mac use Mac OS X
1163 --with-cocoa use Cocoa
1164 --with-wine use Wine
1165 --with-msw use MS-Windows
1166 --with-pm use OS/2 Presentation Manager
1167 --with-mgl use SciTech MGL
1168 --with-directfb use DirectFB
1169 --with-microwin use MicroWindows
1170 --with-x11 use X11
1171 --with-libpng use libpng (PNG image format)
1172 --with-libjpeg use libjpeg (JPEG file format)
1173 --with-libtiff use libtiff (TIFF file format)
1174 --with-libxpm use libxpm (XPM file format)
1175 --with-libmspack use libmspack (CHM help files loading)
1176 --with-sdl use SDL for audio on Unix
1177 --with-gnomeprint use GNOME print for printing under GNOME
1178 --with-gnomevfs use GNOME VFS for associating MIME types
1179 --with-hildon use Hildon framework for Nokia 770
1180 --with-opengl use OpenGL (or Mesa)
1181 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1182 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1183 --with-regex enable support for wxRegEx class
1184 --with-zlib use zlib for LZW compression
1185 --with-odbc use the IODBC and wxODBC classes
1186 --with-expat enable XML support using expat parser
1187 --with-flavour=NAME specify a name to identify this build
1188 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1189 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1190 --with-x use the X Window System
1191 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1192 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1193 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1194 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1195 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1196
1197 Some influential environment variables:
1198 CC C compiler command
1199 CFLAGS C compiler flags
1200 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1201 nonstandard directory <lib dir>
1202 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1203 headers in a nonstandard directory <include dir>
1204 CPP C preprocessor
1205 CXX C++ compiler command
1206 CXXFLAGS C++ compiler flags
1207 CXXCPP C++ preprocessor
1208 PKG_CONFIG path to pkg-config utility
1209 DIRECTFB_CFLAGS
1210 C compiler flags for DIRECTFB, overriding pkg-config
1211 DIRECTFB_LIBS
1212 linker flags for DIRECTFB, overriding pkg-config
1213 PANGOX_CFLAGS
1214 C compiler flags for PANGOX, overriding pkg-config
1215 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1216 PANGOFT2_CFLAGS
1217 C compiler flags for PANGOFT2, overriding pkg-config
1218 PANGOFT2_LIBS
1219 linker flags for PANGOFT2, overriding pkg-config
1220 PANGOXFT_CFLAGS
1221 C compiler flags for PANGOXFT, overriding pkg-config
1222 PANGOXFT_LIBS
1223 linker flags for PANGOXFT, overriding pkg-config
1224 LIBGNOMEPRINTUI_CFLAGS
1225 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1226 LIBGNOMEPRINTUI_LIBS
1227 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1228 GNOMEVFS_CFLAGS
1229 C compiler flags for GNOMEVFS, overriding pkg-config
1230 GNOMEVFS_LIBS
1231 linker flags for GNOMEVFS, overriding pkg-config
1232 HILDON_CFLAGS
1233 C compiler flags for HILDON, overriding pkg-config
1234 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1235 CAIRO_CFLAGS
1236 C compiler flags for CAIRO, overriding pkg-config
1237 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1238 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1239 GST_LIBS linker flags for GST, overriding pkg-config
1240
1241 Use these variables to override the choices made by `configure' or to help
1242 it to find libraries and programs with nonstandard names/locations.
1243
1244 Report bugs to <wx-dev@lists.wxwidgets.org>.
1245 _ACEOF
1246 fi
1247
1248 if test "$ac_init_help" = "recursive"; then
1249 # If there are subdirs, report their specific --help.
1250 ac_popdir=`pwd`
1251 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1252 test -d $ac_dir || continue
1253 ac_builddir=.
1254
1255 if test "$ac_dir" != .; then
1256 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1257 # A "../" for each directory in $ac_dir_suffix.
1258 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1259 else
1260 ac_dir_suffix= ac_top_builddir=
1261 fi
1262
1263 case $srcdir in
1264 .) # No --srcdir option. We are building in place.
1265 ac_srcdir=.
1266 if test -z "$ac_top_builddir"; then
1267 ac_top_srcdir=.
1268 else
1269 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1270 fi ;;
1271 [\\/]* | ?:[\\/]* ) # Absolute path.
1272 ac_srcdir=$srcdir$ac_dir_suffix;
1273 ac_top_srcdir=$srcdir ;;
1274 *) # Relative path.
1275 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1276 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1277 esac
1278
1279 # Do not use `cd foo && pwd` to compute absolute paths, because
1280 # the directories may not exist.
1281 case `pwd` in
1282 .) ac_abs_builddir="$ac_dir";;
1283 *)
1284 case "$ac_dir" in
1285 .) ac_abs_builddir=`pwd`;;
1286 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1287 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1288 esac;;
1289 esac
1290 case $ac_abs_builddir in
1291 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1292 *)
1293 case ${ac_top_builddir}. in
1294 .) ac_abs_top_builddir=$ac_abs_builddir;;
1295 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1296 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1297 esac;;
1298 esac
1299 case $ac_abs_builddir in
1300 .) ac_abs_srcdir=$ac_srcdir;;
1301 *)
1302 case $ac_srcdir in
1303 .) ac_abs_srcdir=$ac_abs_builddir;;
1304 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1305 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1306 esac;;
1307 esac
1308 case $ac_abs_builddir in
1309 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1310 *)
1311 case $ac_top_srcdir in
1312 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1313 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1314 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1315 esac;;
1316 esac
1317
1318 cd $ac_dir
1319 # Check for guested configure; otherwise get Cygnus style configure.
1320 if test -f $ac_srcdir/configure.gnu; then
1321 echo
1322 $SHELL $ac_srcdir/configure.gnu --help=recursive
1323 elif test -f $ac_srcdir/configure; then
1324 echo
1325 $SHELL $ac_srcdir/configure --help=recursive
1326 elif test -f $ac_srcdir/configure.ac ||
1327 test -f $ac_srcdir/configure.in; then
1328 echo
1329 $ac_configure --help
1330 else
1331 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1332 fi
1333 cd "$ac_popdir"
1334 done
1335 fi
1336
1337 test -n "$ac_init_help" && exit 0
1338 if $ac_init_version; then
1339 cat <<\_ACEOF
1340 wxWidgets configure 2.7.1
1341 generated by GNU Autoconf 2.59
1342
1343 Copyright (C) 2003 Free Software Foundation, Inc.
1344 This configure script is free software; the Free Software Foundation
1345 gives unlimited permission to copy, distribute and modify it.
1346 _ACEOF
1347 exit 0
1348 fi
1349 exec 5>config.log
1350 cat >&5 <<_ACEOF
1351 This file contains any messages produced by compilers while
1352 running configure, to aid debugging if configure makes a mistake.
1353
1354 It was created by wxWidgets $as_me 2.7.1, which was
1355 generated by GNU Autoconf 2.59. Invocation command line was
1356
1357 $ $0 $@
1358
1359 _ACEOF
1360 {
1361 cat <<_ASUNAME
1362 ## --------- ##
1363 ## Platform. ##
1364 ## --------- ##
1365
1366 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1367 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1368 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1369 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1370 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1371
1372 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1373 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1374
1375 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1376 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1377 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1378 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1379 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1380 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1381 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1382
1383 _ASUNAME
1384
1385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1386 for as_dir in $PATH
1387 do
1388 IFS=$as_save_IFS
1389 test -z "$as_dir" && as_dir=.
1390 echo "PATH: $as_dir"
1391 done
1392
1393 } >&5
1394
1395 cat >&5 <<_ACEOF
1396
1397
1398 ## ----------- ##
1399 ## Core tests. ##
1400 ## ----------- ##
1401
1402 _ACEOF
1403
1404
1405 # Keep a trace of the command line.
1406 # Strip out --no-create and --no-recursion so they do not pile up.
1407 # Strip out --silent because we don't want to record it for future runs.
1408 # Also quote any args containing shell meta-characters.
1409 # Make two passes to allow for proper duplicate-argument suppression.
1410 ac_configure_args=
1411 ac_configure_args0=
1412 ac_configure_args1=
1413 ac_sep=
1414 ac_must_keep_next=false
1415 for ac_pass in 1 2
1416 do
1417 for ac_arg
1418 do
1419 case $ac_arg in
1420 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1421 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1422 | -silent | --silent | --silen | --sile | --sil)
1423 continue ;;
1424 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1425 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1426 esac
1427 case $ac_pass in
1428 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1429 2)
1430 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1431 if test $ac_must_keep_next = true; then
1432 ac_must_keep_next=false # Got value, back to normal.
1433 else
1434 case $ac_arg in
1435 *=* | --config-cache | -C | -disable-* | --disable-* \
1436 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1437 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1438 | -with-* | --with-* | -without-* | --without-* | --x)
1439 case "$ac_configure_args0 " in
1440 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1441 esac
1442 ;;
1443 -* ) ac_must_keep_next=true ;;
1444 esac
1445 fi
1446 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1447 # Get rid of the leading space.
1448 ac_sep=" "
1449 ;;
1450 esac
1451 done
1452 done
1453 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1454 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1455
1456 # When interrupted or exit'd, cleanup temporary files, and complete
1457 # config.log. We remove comments because anyway the quotes in there
1458 # would cause problems or look ugly.
1459 # WARNING: Be sure not to use single quotes in there, as some shells,
1460 # such as our DU 5.0 friend, will then `close' the trap.
1461 trap 'exit_status=$?
1462 # Save into config.log some information that might help in debugging.
1463 {
1464 echo
1465
1466 cat <<\_ASBOX
1467 ## ---------------- ##
1468 ## Cache variables. ##
1469 ## ---------------- ##
1470 _ASBOX
1471 echo
1472 # The following way of writing the cache mishandles newlines in values,
1473 {
1474 (set) 2>&1 |
1475 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1476 *ac_space=\ *)
1477 sed -n \
1478 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1479 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1480 ;;
1481 *)
1482 sed -n \
1483 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1484 ;;
1485 esac;
1486 }
1487 echo
1488
1489 cat <<\_ASBOX
1490 ## ----------------- ##
1491 ## Output variables. ##
1492 ## ----------------- ##
1493 _ASBOX
1494 echo
1495 for ac_var in $ac_subst_vars
1496 do
1497 eval ac_val=$`echo $ac_var`
1498 echo "$ac_var='"'"'$ac_val'"'"'"
1499 done | sort
1500 echo
1501
1502 if test -n "$ac_subst_files"; then
1503 cat <<\_ASBOX
1504 ## ------------- ##
1505 ## Output files. ##
1506 ## ------------- ##
1507 _ASBOX
1508 echo
1509 for ac_var in $ac_subst_files
1510 do
1511 eval ac_val=$`echo $ac_var`
1512 echo "$ac_var='"'"'$ac_val'"'"'"
1513 done | sort
1514 echo
1515 fi
1516
1517 if test -s confdefs.h; then
1518 cat <<\_ASBOX
1519 ## ----------- ##
1520 ## confdefs.h. ##
1521 ## ----------- ##
1522 _ASBOX
1523 echo
1524 sed "/^$/d" confdefs.h | sort
1525 echo
1526 fi
1527 test "$ac_signal" != 0 &&
1528 echo "$as_me: caught signal $ac_signal"
1529 echo "$as_me: exit $exit_status"
1530 } >&5
1531 rm -f core *.core &&
1532 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1533 exit $exit_status
1534 ' 0
1535 for ac_signal in 1 2 13 15; do
1536 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1537 done
1538 ac_signal=0
1539
1540 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1541 rm -rf conftest* confdefs.h
1542 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1543 echo >confdefs.h
1544
1545 # Predefined preprocessor variables.
1546
1547 cat >>confdefs.h <<_ACEOF
1548 #define PACKAGE_NAME "$PACKAGE_NAME"
1549 _ACEOF
1550
1551
1552 cat >>confdefs.h <<_ACEOF
1553 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1554 _ACEOF
1555
1556
1557 cat >>confdefs.h <<_ACEOF
1558 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1559 _ACEOF
1560
1561
1562 cat >>confdefs.h <<_ACEOF
1563 #define PACKAGE_STRING "$PACKAGE_STRING"
1564 _ACEOF
1565
1566
1567 cat >>confdefs.h <<_ACEOF
1568 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1569 _ACEOF
1570
1571
1572 # Let the site file select an alternate cache file if it wants to.
1573 # Prefer explicitly selected file to automatically selected ones.
1574 if test -z "$CONFIG_SITE"; then
1575 if test "x$prefix" != xNONE; then
1576 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1577 else
1578 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1579 fi
1580 fi
1581 for ac_site_file in $CONFIG_SITE; do
1582 if test -r "$ac_site_file"; then
1583 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1584 echo "$as_me: loading site script $ac_site_file" >&6;}
1585 sed 's/^/| /' "$ac_site_file" >&5
1586 . "$ac_site_file"
1587 fi
1588 done
1589
1590 if test -r "$cache_file"; then
1591 # Some versions of bash will fail to source /dev/null (special
1592 # files actually), so we avoid doing that.
1593 if test -f "$cache_file"; then
1594 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1595 echo "$as_me: loading cache $cache_file" >&6;}
1596 case $cache_file in
1597 [\\/]* | ?:[\\/]* ) . $cache_file;;
1598 *) . ./$cache_file;;
1599 esac
1600 fi
1601 else
1602 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1603 echo "$as_me: creating cache $cache_file" >&6;}
1604 >$cache_file
1605 fi
1606
1607 # Check that the precious variables saved in the cache have kept the same
1608 # value.
1609 ac_cache_corrupted=false
1610 for ac_var in `(set) 2>&1 |
1611 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1612 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1613 eval ac_new_set=\$ac_env_${ac_var}_set
1614 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1615 eval ac_new_val="\$ac_env_${ac_var}_value"
1616 case $ac_old_set,$ac_new_set in
1617 set,)
1618 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1619 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1620 ac_cache_corrupted=: ;;
1621 ,set)
1622 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1623 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1624 ac_cache_corrupted=: ;;
1625 ,);;
1626 *)
1627 if test "x$ac_old_val" != "x$ac_new_val"; then
1628 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1629 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1630 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1631 echo "$as_me: former value: $ac_old_val" >&2;}
1632 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1633 echo "$as_me: current value: $ac_new_val" >&2;}
1634 ac_cache_corrupted=:
1635 fi;;
1636 esac
1637 # Pass precious variables to config.status.
1638 if test "$ac_new_set" = set; then
1639 case $ac_new_val in
1640 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1641 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1642 *) ac_arg=$ac_var=$ac_new_val ;;
1643 esac
1644 case " $ac_configure_args " in
1645 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1646 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1647 esac
1648 fi
1649 done
1650 if $ac_cache_corrupted; then
1651 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1652 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1653 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1654 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1655 { (exit 1); exit 1; }; }
1656 fi
1657
1658 ac_ext=c
1659 ac_cpp='$CPP $CPPFLAGS'
1660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693 ac_aux_dir=
1694 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1695 if test -f $ac_dir/install-sh; then
1696 ac_aux_dir=$ac_dir
1697 ac_install_sh="$ac_aux_dir/install-sh -c"
1698 break
1699 elif test -f $ac_dir/install.sh; then
1700 ac_aux_dir=$ac_dir
1701 ac_install_sh="$ac_aux_dir/install.sh -c"
1702 break
1703 elif test -f $ac_dir/shtool; then
1704 ac_aux_dir=$ac_dir
1705 ac_install_sh="$ac_aux_dir/shtool install -c"
1706 break
1707 fi
1708 done
1709 if test -z "$ac_aux_dir"; then
1710 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1711 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1712 { (exit 1); exit 1; }; }
1713 fi
1714 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1715 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1716 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1717
1718 # Make sure we can run config.sub.
1719 $ac_config_sub sun4 >/dev/null 2>&1 ||
1720 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1721 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1722 { (exit 1); exit 1; }; }
1723
1724 echo "$as_me:$LINENO: checking build system type" >&5
1725 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1726 if test "${ac_cv_build+set}" = set; then
1727 echo $ECHO_N "(cached) $ECHO_C" >&6
1728 else
1729 ac_cv_build_alias=$build_alias
1730 test -z "$ac_cv_build_alias" &&
1731 ac_cv_build_alias=`$ac_config_guess`
1732 test -z "$ac_cv_build_alias" &&
1733 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1734 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1735 { (exit 1); exit 1; }; }
1736 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1737 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1738 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1739 { (exit 1); exit 1; }; }
1740
1741 fi
1742 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1743 echo "${ECHO_T}$ac_cv_build" >&6
1744 build=$ac_cv_build
1745 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1746 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1747 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1748
1749
1750 echo "$as_me:$LINENO: checking host system type" >&5
1751 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1752 if test "${ac_cv_host+set}" = set; then
1753 echo $ECHO_N "(cached) $ECHO_C" >&6
1754 else
1755 ac_cv_host_alias=$host_alias
1756 test -z "$ac_cv_host_alias" &&
1757 ac_cv_host_alias=$ac_cv_build_alias
1758 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1759 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1760 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1761 { (exit 1); exit 1; }; }
1762
1763 fi
1764 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1765 echo "${ECHO_T}$ac_cv_host" >&6
1766 host=$ac_cv_host
1767 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1768 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1769 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1770
1771
1772 echo "$as_me:$LINENO: checking target system type" >&5
1773 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1774 if test "${ac_cv_target+set}" = set; then
1775 echo $ECHO_N "(cached) $ECHO_C" >&6
1776 else
1777 ac_cv_target_alias=$target_alias
1778 test "x$ac_cv_target_alias" = "x" &&
1779 ac_cv_target_alias=$ac_cv_host_alias
1780 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1781 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1782 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1783 { (exit 1); exit 1; }; }
1784
1785 fi
1786 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1787 echo "${ECHO_T}$ac_cv_target" >&6
1788 target=$ac_cv_target
1789 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1790 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1791 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1792
1793
1794 # The aliases save the names the user supplied, while $host etc.
1795 # will get canonicalized.
1796 test -n "$target_alias" &&
1797 test "$program_prefix$program_suffix$program_transform_name" = \
1798 NONENONEs,x,x, &&
1799 program_prefix=${target_alias}-
1800
1801
1802
1803 wx_major_version_number=2
1804 wx_minor_version_number=7
1805 wx_release_number=2
1806 wx_subrelease_number=0
1807
1808 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1809 WX_VERSION=$WX_RELEASE.$wx_release_number
1810 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1811
1812 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1813
1814
1815 wx_top_builddir="`pwd`"
1816
1817
1818
1819
1820 USE_UNIX=1
1821 USE_OS2=0
1822 USE_WIN32=0
1823 USE_DOS=0
1824 USE_BEOS=0
1825 USE_MAC=0
1826
1827 USE_AIX=
1828 USE_BSD= USE_DARWIN= USE_FREEBSD=
1829 USE_GNU= USE_HPUX=
1830 USE_LINUX=
1831 USE_NETBSD=
1832 USE_OPENBSD=
1833 USE_OSF= USE_SGI=
1834 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1835 USE_ULTRIX=
1836 USE_UNIXWARE=
1837
1838 USE_ALPHA=
1839
1840 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1841
1842 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1843
1844 DEFAULT_wxUSE_COCOA=0
1845 DEFAULT_wxUSE_GTK=0
1846 DEFAULT_wxUSE_MAC=0
1847 DEFAULT_wxUSE_MGL=0
1848 DEFAULT_wxUSE_MICROWIN=0
1849 DEFAULT_wxUSE_MOTIF=0
1850 DEFAULT_wxUSE_MSW=0
1851 DEFAULT_wxUSE_PM=0
1852 DEFAULT_wxUSE_X11=0
1853 DEFAULT_wxUSE_DFB=0
1854
1855 DEFAULT_DEFAULT_wxUSE_COCOA=0
1856 DEFAULT_DEFAULT_wxUSE_GTK=0
1857 DEFAULT_DEFAULT_wxUSE_MAC=0
1858 DEFAULT_DEFAULT_wxUSE_MGL=0
1859 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1860 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1861 DEFAULT_DEFAULT_wxUSE_MSW=0
1862 DEFAULT_DEFAULT_wxUSE_PM=0
1863 DEFAULT_DEFAULT_wxUSE_X11=0
1864 DEFAULT_DEFAULT_wxUSE_DFB=0
1865
1866 PROGRAM_EXT=
1867 SO_SUFFIX=so
1868 SAMPLES_RPATH_FLAG=
1869 SAMPLES_RPATH_POSTLINK=
1870
1871 DEFAULT_STD_FLAG=yes
1872
1873 case "${host}" in
1874 *-hp-hpux* )
1875 USE_HPUX=1
1876 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1877 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1878 SO_SUFFIX=sl
1879 cat >>confdefs.h <<\_ACEOF
1880 #define __HPUX__ 1
1881 _ACEOF
1882
1883
1884 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1885 ;;
1886 *-*-linux* )
1887 USE_LINUX=1
1888 cat >>confdefs.h <<\_ACEOF
1889 #define __LINUX__ 1
1890 _ACEOF
1891
1892 TMP=`uname -m`
1893 if test "x$TMP" = "xalpha"; then
1894 USE_ALPHA=1
1895 cat >>confdefs.h <<\_ACEOF
1896 #define __ALPHA__ 1
1897 _ACEOF
1898
1899 fi
1900 DEFAULT_DEFAULT_wxUSE_GTK=1
1901 ;;
1902 *-*-gnu* | *-*-k*bsd*-gnu )
1903 USE_GNU=1
1904 TMP=`uname -m`
1905 if test "x$TMP" = "xalpha"; then
1906 USE_ALPHA=1
1907 cat >>confdefs.h <<\_ACEOF
1908 #define __ALPHA__ 1
1909 _ACEOF
1910
1911 fi
1912 DEFAULT_DEFAULT_wxUSE_GTK=1
1913 ;;
1914 *-*-irix5* | *-*-irix6* )
1915 USE_SGI=1
1916 USE_SVR4=1
1917 cat >>confdefs.h <<\_ACEOF
1918 #define __SGI__ 1
1919 _ACEOF
1920
1921 cat >>confdefs.h <<\_ACEOF
1922 #define __SVR4__ 1
1923 _ACEOF
1924
1925 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1926 ;;
1927 *-*-solaris2* )
1928 USE_SUN=1
1929 USE_SOLARIS=1
1930 USE_SVR4=1
1931 cat >>confdefs.h <<\_ACEOF
1932 #define __SUN__ 1
1933 _ACEOF
1934
1935 cat >>confdefs.h <<\_ACEOF
1936 #define __SOLARIS__ 1
1937 _ACEOF
1938
1939 cat >>confdefs.h <<\_ACEOF
1940 #define __SVR4__ 1
1941 _ACEOF
1942
1943 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1944 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1945 ;;
1946 *-*-sunos4* )
1947 USE_SUN=1
1948 USE_SUNOS=1
1949 USE_BSD=1
1950 cat >>confdefs.h <<\_ACEOF
1951 #define __SUN__ 1
1952 _ACEOF
1953
1954 cat >>confdefs.h <<\_ACEOF
1955 #define __SUNOS__ 1
1956 _ACEOF
1957
1958 cat >>confdefs.h <<\_ACEOF
1959 #define __BSD__ 1
1960 _ACEOF
1961
1962 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1963 ;;
1964 *-*-freebsd*)
1965 USE_BSD=1
1966 USE_FREEBSD=1
1967 cat >>confdefs.h <<\_ACEOF
1968 #define __FREEBSD__ 1
1969 _ACEOF
1970
1971 cat >>confdefs.h <<\_ACEOF
1972 #define __BSD__ 1
1973 _ACEOF
1974
1975 DEFAULT_DEFAULT_wxUSE_GTK=1
1976 ;;
1977 *-*-openbsd*|*-*-mirbsd*)
1978 USE_BSD=1
1979 USE_OPENBSD=1
1980 cat >>confdefs.h <<\_ACEOF
1981 #define __OPENBSD__ 1
1982 _ACEOF
1983
1984 cat >>confdefs.h <<\_ACEOF
1985 #define __BSD__ 1
1986 _ACEOF
1987
1988 DEFAULT_DEFAULT_wxUSE_GTK=1
1989 ;;
1990 *-*-netbsd*)
1991 USE_BSD=1
1992 USE_NETBSD=1
1993 cat >>confdefs.h <<\_ACEOF
1994 #define __NETBSD__ 1
1995 _ACEOF
1996
1997 cat >>confdefs.h <<\_ACEOF
1998 #define __BSD__ 1
1999 _ACEOF
2000
2001 DEFAULT_DEFAULT_wxUSE_GTK=1
2002 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2003
2004 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2005 ;;
2006 *-*-osf* )
2007 USE_ALPHA=1
2008 USE_OSF=1
2009 cat >>confdefs.h <<\_ACEOF
2010 #define __ALPHA__ 1
2011 _ACEOF
2012
2013 cat >>confdefs.h <<\_ACEOF
2014 #define __OSF__ 1
2015 _ACEOF
2016
2017 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2018 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2019 ;;
2020 *-*-dgux5* )
2021 USE_ALPHA=1
2022 USE_SVR4=1
2023 cat >>confdefs.h <<\_ACEOF
2024 #define __ALPHA__ 1
2025 _ACEOF
2026
2027 cat >>confdefs.h <<\_ACEOF
2028 #define __SVR4__ 1
2029 _ACEOF
2030
2031 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2032 ;;
2033 *-*-sysv5* )
2034 USE_SYSV=1
2035 USE_SVR4=1
2036 cat >>confdefs.h <<\_ACEOF
2037 #define __SYSV__ 1
2038 _ACEOF
2039
2040 cat >>confdefs.h <<\_ACEOF
2041 #define __SVR4__ 1
2042 _ACEOF
2043
2044 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2045 ;;
2046 *-*-aix* )
2047 USE_AIX=1
2048 USE_SYSV=1
2049 USE_SVR4=1
2050 SO_SUFFIX=a
2051 cat >>confdefs.h <<\_ACEOF
2052 #define __AIX__ 1
2053 _ACEOF
2054
2055 cat >>confdefs.h <<\_ACEOF
2056 #define __SYSV__ 1
2057 _ACEOF
2058
2059 cat >>confdefs.h <<\_ACEOF
2060 #define __SVR4__ 1
2061 _ACEOF
2062
2063 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2064 ;;
2065
2066 *-*-*UnixWare*)
2067 USE_SYSV=1
2068 USE_SVR4=1
2069 USE_UNIXWARE=1
2070 cat >>confdefs.h <<\_ACEOF
2071 #define __UNIXWARE__ 1
2072 _ACEOF
2073
2074 ;;
2075
2076 *-*-cygwin* | *-*-mingw32* )
2077 SO_SUFFIX=dll
2078 PROGRAM_EXT=".exe"
2079 DEFAULT_DEFAULT_wxUSE_MSW=1
2080 ;;
2081
2082 *-pc-msdosdjgpp )
2083 USE_UNIX=0
2084 USE_DOS=1
2085 cat >>confdefs.h <<\_ACEOF
2086 #define __DOS__ 1
2087 _ACEOF
2088
2089 PROGRAM_EXT=".exe"
2090 DEFAULT_DEFAULT_wxUSE_MGL=1
2091 ;;
2092
2093 *-pc-os2_emx | *-pc-os2-emx )
2094 cat >>confdefs.h <<\_ACEOF
2095 #define __EMX__ 1
2096 _ACEOF
2097
2098 USE_OS2=1
2099 cat >>confdefs.h <<\_ACEOF
2100 #define __OS2__ 1
2101 _ACEOF
2102
2103 PROGRAM_EXT=".exe"
2104 DEFAULT_DEFAULT_wxUSE_PM=1
2105 CXX=gcc
2106 LDFLAGS="$LDFLAGS -Zcrtdll"
2107 ac_executable_extensions=".exe"
2108 export ac_executable_extensions
2109 ac_save_IFS="$IFS"
2110 IFS='\\'
2111 ac_TEMP_PATH=
2112 for ac_dir in $PATH; do
2113 IFS=$ac_save_IFS
2114 if test -z "$ac_TEMP_PATH"; then
2115 ac_TEMP_PATH="$ac_dir"
2116 else
2117 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2118 fi
2119 done
2120 export PATH="$ac_TEMP_PATH"
2121 unset ac_TEMP_PATH
2122 DEFAULT_STD_FLAG=no
2123 ;;
2124
2125 *-*-darwin* )
2126 USE_BSD=1
2127 USE_DARWIN=1
2128 SO_SUFFIX=dylib
2129 cat >>confdefs.h <<\_ACEOF
2130 #define __BSD__ 1
2131 _ACEOF
2132
2133 cat >>confdefs.h <<\_ACEOF
2134 #define __DARWIN__ 1
2135 _ACEOF
2136
2137 cat >>confdefs.h <<\_ACEOF
2138 #define TARGET_CARBON 1
2139 _ACEOF
2140
2141 DEFAULT_DEFAULT_wxUSE_MAC=1
2142 DEFAULT_STD_FLAG=no
2143 ;;
2144 powerpc-apple-macos* )
2145 USE_UNIX=0
2146 ac_cv_c_bigendian=yes
2147 SO_SUFFIX=shlib
2148 DEFAULT_DEFAULT_wxUSE_MAC=1
2149 DEFAULT_STD_FLAG=no
2150 ;;
2151
2152 *-*-beos* )
2153 USE_BEOS=1
2154 cat >>confdefs.h <<\_ACEOF
2155 #define __BEOS__ 1
2156 _ACEOF
2157
2158 ;;
2159
2160 *)
2161 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2162 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2163 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2164 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2165
2166 DEFAULT_DEFAULT_wxUSE_X11=1
2167 DEFAULT_wxUSE_SHARED=no
2168 esac
2169
2170
2171
2172
2173 wx_arg_cache_file="configarg.cache"
2174 echo "loading argument cache $wx_arg_cache_file"
2175 rm -f ${wx_arg_cache_file}.tmp
2176 touch ${wx_arg_cache_file}.tmp
2177 touch ${wx_arg_cache_file}
2178
2179
2180 DEBUG_CONFIGURE=0
2181 if test $DEBUG_CONFIGURE = 1; then
2182 DEFAULT_wxUSE_UNIVERSAL=no
2183 DEFAULT_wxUSE_STL=no
2184
2185 DEFAULT_wxUSE_NANOX=no
2186
2187 DEFAULT_wxUSE_THREADS=yes
2188
2189 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2190 DEFAULT_wxUSE_OPTIMISE=no
2191 DEFAULT_wxUSE_PROFILE=no
2192 DEFAULT_wxUSE_NO_DEPS=no
2193 DEFAULT_wxUSE_NO_RTTI=no
2194 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2195 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2196 DEFAULT_wxUSE_RPATH=yes
2197 DEFAULT_wxUSE_PERMISSIVE=no
2198 DEFAULT_wxUSE_DEBUG_FLAG=yes
2199 DEFAULT_wxUSE_DEBUG_INFO=yes
2200 DEFAULT_wxUSE_DEBUG_GDB=yes
2201 DEFAULT_wxUSE_MEM_TRACING=no
2202 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2203 DEFAULT_wxUSE_DMALLOC=no
2204 DEFAULT_wxUSE_APPLE_IEEE=no
2205
2206 DEFAULT_wxUSE_EXCEPTIONS=no
2207 DEFAULT_wxUSE_LOG=yes
2208 DEFAULT_wxUSE_LOGWINDOW=no
2209 DEFAULT_wxUSE_LOGGUI=no
2210 DEFAULT_wxUSE_LOGDIALOG=no
2211
2212 DEFAULT_wxUSE_GUI=yes
2213 DEFAULT_wxUSE_CONTROLS=no
2214
2215 DEFAULT_wxUSE_REGEX=no
2216 DEFAULT_wxUSE_XML=no
2217 DEFAULT_wxUSE_EXPAT=no
2218 DEFAULT_wxUSE_ZLIB=no
2219 DEFAULT_wxUSE_LIBPNG=no
2220 DEFAULT_wxUSE_LIBJPEG=no
2221 DEFAULT_wxUSE_LIBTIFF=no
2222 DEFAULT_wxUSE_LIBXPM=no
2223 DEFAULT_wxUSE_LIBMSPACK=no
2224 DEFAULT_wxUSE_LIBSDL=no
2225 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2226 DEFAULT_wxUSE_LIBGNOMEVFS=no
2227 DEFAULT_wxUSE_LIBHILDON=no
2228 DEFAULT_wxUSE_ODBC=no
2229 DEFAULT_wxUSE_OPENGL=no
2230
2231 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2232 DEFAULT_wxUSE_STACKWALKER=no
2233 DEFAULT_wxUSE_DEBUGREPORT=no
2234 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2235 DEFAULT_wxUSE_STD_IOSTREAM=no
2236 DEFAULT_wxUSE_STD_STRING=no
2237 DEFAULT_wxUSE_CMDLINE_PARSER=no
2238 DEFAULT_wxUSE_DATETIME=no
2239 DEFAULT_wxUSE_TIMER=no
2240 DEFAULT_wxUSE_STOPWATCH=no
2241 DEFAULT_wxUSE_FILE=no
2242 DEFAULT_wxUSE_FFILE=no
2243 DEFAULT_wxUSE_STDPATHS=no
2244 DEFAULT_wxUSE_TEXTBUFFER=no
2245 DEFAULT_wxUSE_TEXTFILE=no
2246 DEFAULT_wxUSE_SOUND=no
2247 DEFAULT_wxUSE_MEDIACTRL=no
2248 DEFAULT_wxUSE_GSTREAMER8=no
2249 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2250 DEFAULT_wxUSE_INTL=no
2251 DEFAULT_wxUSE_CONFIG=no
2252 DEFAULT_wxUSE_FONTMAP=no
2253 DEFAULT_wxUSE_STREAMS=no
2254 DEFAULT_wxUSE_SOCKETS=no
2255 DEFAULT_wxUSE_OLE=no
2256 DEFAULT_wxUSE_DATAOBJ=no
2257 DEFAULT_wxUSE_DIALUP_MANAGER=no
2258 DEFAULT_wxUSE_JOYSTICK=no
2259 DEFAULT_wxUSE_DYNLIB_CLASS=no
2260 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2261 DEFAULT_wxUSE_LONGLONG=no
2262 DEFAULT_wxUSE_GEOMETRY=no
2263
2264 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2265 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2266 DEFAULT_wxUSE_POSTSCRIPT=no
2267
2268 DEFAULT_wxUSE_CLIPBOARD=no
2269 DEFAULT_wxUSE_TOOLTIPS=no
2270 DEFAULT_wxUSE_DRAG_AND_DROP=no
2271 DEFAULT_wxUSE_DRAGIMAGE=no
2272 DEFAULT_wxUSE_SPLINES=no
2273 DEFAULT_wxUSE_MOUSEWHEEL=no
2274
2275 DEFAULT_wxUSE_MDI=no
2276 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2277 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2278 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2279
2280 DEFAULT_wxUSE_RESOURCES=no
2281 DEFAULT_wxUSE_CONSTRAINTS=no
2282 DEFAULT_wxUSE_IPC=no
2283 DEFAULT_wxUSE_HELP=no
2284 DEFAULT_wxUSE_MS_HTML_HELP=no
2285 DEFAULT_wxUSE_WXHTML_HELP=no
2286 DEFAULT_wxUSE_TREELAYOUT=no
2287 DEFAULT_wxUSE_METAFILE=no
2288 DEFAULT_wxUSE_MIMETYPE=no
2289 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2290 DEFAULT_wxUSE_PROTOCOL=no
2291 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2292 DEFAULT_wxUSE_PROTOCOL_FTP=no
2293 DEFAULT_wxUSE_PROTOCOL_FILE=no
2294 DEFAULT_wxUSE_URL=no
2295 DEFAULT_wxUSE_VARIANT=no
2296
2297 DEFAULT_wxUSE_ABOUTDLG=no
2298 DEFAULT_wxUSE_COMMONDLGS=no
2299 DEFAULT_wxUSE_CHOICEDLG=no
2300 DEFAULT_wxUSE_COLOURDLG=no
2301 DEFAULT_wxUSE_DIRDLG=no
2302 DEFAULT_wxUSE_FILEDLG=no
2303 DEFAULT_wxUSE_FINDREPLDLG=no
2304 DEFAULT_wxUSE_FONTDLG=no
2305 DEFAULT_wxUSE_MSGDLG=no
2306 DEFAULT_wxUSE_NUMBERDLG=no
2307 DEFAULT_wxUSE_TEXTDLG=no
2308 DEFAULT_wxUSE_SPLASH=no
2309 DEFAULT_wxUSE_STARTUP_TIPS=no
2310 DEFAULT_wxUSE_PROGRESSDLG=no
2311 DEFAULT_wxUSE_WIZARDDLG=no
2312
2313 DEFAULT_wxUSE_MENUS=no
2314 DEFAULT_wxUSE_MINIFRAME=no
2315 DEFAULT_wxUSE_HTML=no
2316 DEFAULT_wxUSE_RICHTEXT=no
2317 DEFAULT_wxUSE_XRC=no
2318 DEFAULT_wxUSE_AUI=no
2319 DEFAULT_wxUSE_WEBKIT=no
2320 DEFAULT_wxUSE_FILESYSTEM=no
2321 DEFAULT_wxUSE_FS_INET=no
2322 DEFAULT_wxUSE_FS_ZIP=no
2323 DEFAULT_wxUSE_FS_ARCHIVE=no
2324 DEFAULT_wxUSE_BUSYINFO=no
2325 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2326 DEFAULT_wxUSE_ZIPSTREAM=no
2327 DEFAULT_wxUSE_TARSTREAM=no
2328 DEFAULT_wxUSE_VALIDATORS=no
2329
2330 DEFAULT_wxUSE_ACCEL=no
2331 DEFAULT_wxUSE_ANIMATIONCTRL=no
2332 DEFAULT_wxUSE_BUTTON=no
2333 DEFAULT_wxUSE_BMPBUTTON=no
2334 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
2335 DEFAULT_wxUSE_CALCTRL=no
2336 DEFAULT_wxUSE_CARET=no
2337 DEFAULT_wxUSE_CHECKBOX=no
2338 DEFAULT_wxUSE_CHECKLST=no
2339 DEFAULT_wxUSE_CHOICE=no
2340 DEFAULT_wxUSE_CHOICEBOOK=no
2341 DEFAULT_wxUSE_COLLPANE=no
2342 DEFAULT_wxUSE_COLOURPICKERCTRL=no
2343 DEFAULT_wxUSE_COMBOBOX=no
2344 DEFAULT_wxUSE_COMBOCTRL=no
2345 DEFAULT_wxUSE_DATEPICKCTRL=no
2346 DEFAULT_wxUSE_DISPLAY=no
2347 DEFAULT_wxUSE_DETECT_SM=no
2348 DEFAULT_wxUSE_DIRPICKERCTRL=no
2349 DEFAULT_wxUSE_FILEPICKERCTRL=no
2350 DEFAULT_wxUSE_FONTPICKERCTRL=no
2351 DEFAULT_wxUSE_GAUGE=no
2352 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2353 DEFAULT_wxUSE_GRID=no
2354 DEFAULT_wxUSE_HYPERLINKCTRL=no
2355 DEFAULT_wxUSE_DATAVIEWCTRL=no
2356 DEFAULT_wxUSE_IMAGLIST=no
2357 DEFAULT_wxUSE_LISTBOOK=no
2358 DEFAULT_wxUSE_LISTBOX=no
2359 DEFAULT_wxUSE_LISTCTRL=no
2360 DEFAULT_wxUSE_NOTEBOOK=no
2361 DEFAULT_wxUSE_ODCOMBOBOX=no
2362 DEFAULT_wxUSE_RADIOBOX=no
2363 DEFAULT_wxUSE_RADIOBTN=no
2364 DEFAULT_wxUSE_SASH=no
2365 DEFAULT_wxUSE_SCROLLBAR=no
2366 DEFAULT_wxUSE_SLIDER=no
2367 DEFAULT_wxUSE_SPINBTN=no
2368 DEFAULT_wxUSE_SPINCTRL=no
2369 DEFAULT_wxUSE_SPLITTER=no
2370 DEFAULT_wxUSE_STATBMP=no
2371 DEFAULT_wxUSE_STATBOX=no
2372 DEFAULT_wxUSE_STATLINE=no
2373 DEFAULT_wxUSE_STATTEXT=no
2374 DEFAULT_wxUSE_STATUSBAR=yes
2375 DEFAULT_wxUSE_TAB_DIALOG=no
2376 DEFAULT_wxUSE_TEXTCTRL=no
2377 DEFAULT_wxUSE_TOGGLEBTN=no
2378 DEFAULT_wxUSE_TOOLBAR=no
2379 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2380 DEFAULT_wxUSE_TREEBOOK=no
2381 DEFAULT_wxUSE_TOOLBOOK=no
2382 DEFAULT_wxUSE_TREECTRL=no
2383 DEFAULT_wxUSE_POPUPWIN=no
2384 DEFAULT_wxUSE_TIPWINDOW=no
2385
2386 DEFAULT_wxUSE_UNICODE=no
2387 DEFAULT_wxUSE_UNICODE_MSLU=no
2388 DEFAULT_wxUSE_WCSRTOMBS=no
2389
2390 DEFAULT_wxUSE_PALETTE=no
2391 DEFAULT_wxUSE_IMAGE=no
2392 DEFAULT_wxUSE_GIF=no
2393 DEFAULT_wxUSE_PCX=no
2394 DEFAULT_wxUSE_TGA=no
2395 DEFAULT_wxUSE_PNM=no
2396 DEFAULT_wxUSE_IFF=no
2397 DEFAULT_wxUSE_XPM=no
2398 DEFAULT_wxUSE_ICO_CUR=no
2399 DEFAULT_wxUSE_ACCESSIBILITY=no
2400
2401 DEFAULT_wxUSE_MONOLITHIC=no
2402 DEFAULT_wxUSE_PLUGINS=no
2403 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2404 else
2405 DEFAULT_wxUSE_UNIVERSAL=no
2406 DEFAULT_wxUSE_STL=no
2407
2408 DEFAULT_wxUSE_NANOX=no
2409
2410 DEFAULT_wxUSE_THREADS=yes
2411
2412 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2413 DEFAULT_wxUSE_OPTIMISE=yes
2414 DEFAULT_wxUSE_PROFILE=no
2415 DEFAULT_wxUSE_NO_DEPS=no
2416 DEFAULT_wxUSE_NO_RTTI=no
2417 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2418 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2419 DEFAULT_wxUSE_RPATH=yes
2420 DEFAULT_wxUSE_PERMISSIVE=no
2421 DEFAULT_wxUSE_DEBUG_FLAG=no
2422 DEFAULT_wxUSE_DEBUG_INFO=no
2423 DEFAULT_wxUSE_DEBUG_GDB=no
2424 DEFAULT_wxUSE_MEM_TRACING=no
2425 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2426 DEFAULT_wxUSE_DMALLOC=no
2427 DEFAULT_wxUSE_APPLE_IEEE=yes
2428
2429 DEFAULT_wxUSE_EXCEPTIONS=yes
2430 DEFAULT_wxUSE_LOG=yes
2431 DEFAULT_wxUSE_LOGWINDOW=yes
2432 DEFAULT_wxUSE_LOGGUI=yes
2433 DEFAULT_wxUSE_LOGDIALOG=yes
2434
2435 DEFAULT_wxUSE_GUI=yes
2436
2437 DEFAULT_wxUSE_REGEX=yes
2438 DEFAULT_wxUSE_XML=yes
2439 DEFAULT_wxUSE_EXPAT=yes
2440 DEFAULT_wxUSE_ZLIB=yes
2441 DEFAULT_wxUSE_LIBPNG=yes
2442 DEFAULT_wxUSE_LIBJPEG=yes
2443 DEFAULT_wxUSE_LIBTIFF=yes
2444 DEFAULT_wxUSE_LIBXPM=yes
2445 DEFAULT_wxUSE_LIBMSPACK=yes
2446 DEFAULT_wxUSE_LIBSDL=no
2447 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2448 DEFAULT_wxUSE_LIBGNOMEVFS=no
2449 DEFAULT_wxUSE_LIBHILDON=no
2450 DEFAULT_wxUSE_ODBC=no
2451 DEFAULT_wxUSE_OPENGL=no
2452
2453 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2454 DEFAULT_wxUSE_STACKWALKER=yes
2455 DEFAULT_wxUSE_DEBUGREPORT=yes
2456 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2457 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2458 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2459 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2460 DEFAULT_wxUSE_DATETIME=yes
2461 DEFAULT_wxUSE_TIMER=yes
2462 DEFAULT_wxUSE_STOPWATCH=yes
2463 DEFAULT_wxUSE_FILE=yes
2464 DEFAULT_wxUSE_FFILE=yes
2465 DEFAULT_wxUSE_STDPATHS=yes
2466 DEFAULT_wxUSE_TEXTBUFFER=yes
2467 DEFAULT_wxUSE_TEXTFILE=yes
2468 DEFAULT_wxUSE_SOUND=yes
2469 DEFAULT_wxUSE_MEDIACTRL=no
2470 DEFAULT_wxUSE_GSTREAMER8=no
2471 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
2472 DEFAULT_wxUSE_INTL=yes
2473 DEFAULT_wxUSE_CONFIG=yes
2474 DEFAULT_wxUSE_FONTMAP=yes
2475 DEFAULT_wxUSE_STREAMS=yes
2476 DEFAULT_wxUSE_SOCKETS=yes
2477 DEFAULT_wxUSE_OLE=yes
2478 DEFAULT_wxUSE_DATAOBJ=yes
2479 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2480 DEFAULT_wxUSE_JOYSTICK=yes
2481 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2482 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2483 DEFAULT_wxUSE_LONGLONG=yes
2484 DEFAULT_wxUSE_GEOMETRY=yes
2485
2486 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2487 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2488 DEFAULT_wxUSE_POSTSCRIPT=yes
2489
2490 DEFAULT_wxUSE_CLIPBOARD=yes
2491 DEFAULT_wxUSE_TOOLTIPS=yes
2492 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2493 DEFAULT_wxUSE_DRAGIMAGE=yes
2494 DEFAULT_wxUSE_SPLINES=yes
2495 DEFAULT_wxUSE_MOUSEWHEEL=yes
2496
2497 DEFAULT_wxUSE_MDI=yes
2498 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2499 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2500 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2501
2502 DEFAULT_wxUSE_RESOURCES=no
2503 DEFAULT_wxUSE_CONSTRAINTS=yes
2504 DEFAULT_wxUSE_IPC=yes
2505 DEFAULT_wxUSE_HELP=yes
2506 DEFAULT_wxUSE_MS_HTML_HELP=yes
2507 DEFAULT_wxUSE_WXHTML_HELP=yes
2508 DEFAULT_wxUSE_TREELAYOUT=yes
2509 DEFAULT_wxUSE_METAFILE=yes
2510 DEFAULT_wxUSE_MIMETYPE=yes
2511 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2512 DEFAULT_wxUSE_PROTOCOL=yes
2513 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2514 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2515 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2516 DEFAULT_wxUSE_URL=yes
2517 DEFAULT_wxUSE_VARIANT=yes
2518
2519 DEFAULT_wxUSE_ABOUTDLG=yes
2520 DEFAULT_wxUSE_COMMONDLGS=yes
2521 DEFAULT_wxUSE_CHOICEDLG=yes
2522 DEFAULT_wxUSE_COLOURDLG=yes
2523 DEFAULT_wxUSE_DIRDLG=yes
2524 DEFAULT_wxUSE_FILEDLG=yes
2525 DEFAULT_wxUSE_FINDREPLDLG=yes
2526 DEFAULT_wxUSE_FONTDLG=yes
2527 DEFAULT_wxUSE_MSGDLG=yes
2528 DEFAULT_wxUSE_NUMBERDLG=yes
2529 DEFAULT_wxUSE_TEXTDLG=yes
2530 DEFAULT_wxUSE_SPLASH=yes
2531 DEFAULT_wxUSE_STARTUP_TIPS=yes
2532 DEFAULT_wxUSE_PROGRESSDLG=yes
2533 DEFAULT_wxUSE_WIZARDDLG=yes
2534
2535 DEFAULT_wxUSE_MENUS=yes
2536 DEFAULT_wxUSE_MINIFRAME=yes
2537 DEFAULT_wxUSE_HTML=yes
2538 DEFAULT_wxUSE_RICHTEXT=yes
2539 DEFAULT_wxUSE_XRC=yes
2540 DEFAULT_wxUSE_AUI=yes
2541 DEFAULT_wxUSE_WEBKIT=yes
2542 DEFAULT_wxUSE_FILESYSTEM=yes
2543 DEFAULT_wxUSE_FS_INET=yes
2544 DEFAULT_wxUSE_FS_ZIP=yes
2545 DEFAULT_wxUSE_FS_ARCHIVE=yes
2546 DEFAULT_wxUSE_BUSYINFO=yes
2547 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2548 DEFAULT_wxUSE_ZIPSTREAM=yes
2549 DEFAULT_wxUSE_TARSTREAM=yes
2550 DEFAULT_wxUSE_VALIDATORS=yes
2551
2552 DEFAULT_wxUSE_ACCEL=yes
2553 DEFAULT_wxUSE_ANIMATIONCTRL=yes
2554 DEFAULT_wxUSE_BUTTON=yes
2555 DEFAULT_wxUSE_BMPBUTTON=yes
2556 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
2557 DEFAULT_wxUSE_CALCTRL=yes
2558 DEFAULT_wxUSE_CARET=yes
2559 DEFAULT_wxUSE_CHECKBOX=yes
2560 DEFAULT_wxUSE_CHECKLST=yes
2561 DEFAULT_wxUSE_CHOICE=yes
2562 DEFAULT_wxUSE_CHOICEBOOK=yes
2563 DEFAULT_wxUSE_COLLPANE=yes
2564 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
2565 DEFAULT_wxUSE_COMBOBOX=yes
2566 DEFAULT_wxUSE_COMBOCTRL=yes
2567 DEFAULT_wxUSE_DATEPICKCTRL=yes
2568 DEFAULT_wxUSE_DISPLAY=yes
2569 DEFAULT_wxUSE_DETECT_SM=yes
2570 DEFAULT_wxUSE_DIRPICKERCTRL=yes
2571 DEFAULT_wxUSE_FILEPICKERCTRL=yes
2572 DEFAULT_wxUSE_FONTPICKERCTRL=yes
2573 DEFAULT_wxUSE_GAUGE=yes
2574 DEFAULT_wxUSE_GRID=yes
2575 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2576 DEFAULT_wxUSE_HYPERLINKCTRL=yes
2577 DEFAULT_wxUSE_DATAVIEWCTRL=no
2578 DEFAULT_wxUSE_IMAGLIST=yes
2579 DEFAULT_wxUSE_LISTBOOK=yes
2580 DEFAULT_wxUSE_LISTBOX=yes
2581 DEFAULT_wxUSE_LISTCTRL=yes
2582 DEFAULT_wxUSE_NOTEBOOK=yes
2583 DEFAULT_wxUSE_ODCOMBOBOX=yes
2584 DEFAULT_wxUSE_RADIOBOX=yes
2585 DEFAULT_wxUSE_RADIOBTN=yes
2586 DEFAULT_wxUSE_SASH=yes
2587 DEFAULT_wxUSE_SCROLLBAR=yes
2588 DEFAULT_wxUSE_SLIDER=yes
2589 DEFAULT_wxUSE_SPINBTN=yes
2590 DEFAULT_wxUSE_SPINCTRL=yes
2591 DEFAULT_wxUSE_SPLITTER=yes
2592 DEFAULT_wxUSE_STATBMP=yes
2593 DEFAULT_wxUSE_STATBOX=yes
2594 DEFAULT_wxUSE_STATLINE=yes
2595 DEFAULT_wxUSE_STATTEXT=yes
2596 DEFAULT_wxUSE_STATUSBAR=yes
2597 DEFAULT_wxUSE_TAB_DIALOG=no
2598 DEFAULT_wxUSE_TEXTCTRL=yes
2599 DEFAULT_wxUSE_TOGGLEBTN=yes
2600 DEFAULT_wxUSE_TOOLBAR=yes
2601 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2602 DEFAULT_wxUSE_TREEBOOK=yes
2603 DEFAULT_wxUSE_TOOLBOOK=yes
2604 DEFAULT_wxUSE_TREECTRL=yes
2605 DEFAULT_wxUSE_POPUPWIN=yes
2606 DEFAULT_wxUSE_TIPWINDOW=yes
2607
2608 DEFAULT_wxUSE_UNICODE=no
2609 DEFAULT_wxUSE_UNICODE_MSLU=yes
2610 DEFAULT_wxUSE_WCSRTOMBS=no
2611
2612 DEFAULT_wxUSE_PALETTE=yes
2613 DEFAULT_wxUSE_IMAGE=yes
2614 DEFAULT_wxUSE_GIF=yes
2615 DEFAULT_wxUSE_PCX=yes
2616 DEFAULT_wxUSE_TGA=yes
2617 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
2618 DEFAULT_wxUSE_XPM=yes
2619 DEFAULT_wxUSE_ICO_CUR=yes
2620 DEFAULT_wxUSE_ACCESSIBILITY=no
2621
2622 DEFAULT_wxUSE_MONOLITHIC=no
2623 DEFAULT_wxUSE_PLUGINS=no
2624 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2625
2626 DEFAULT_wxUSE_GTK2=yes
2627 fi
2628
2629
2630
2631
2632 for toolkit in `echo $ALL_TOOLKITS`; do
2633 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2634 if test "x$LINE" != "x" ; then
2635 has_toolkit_in_cache=1
2636 eval "DEFAULT_$LINE"
2637 eval "CACHE_$toolkit=1"
2638
2639 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2640 if test "x$LINE" != "x" ; then
2641 eval "DEFAULT_$LINE"
2642 fi
2643 fi
2644 done
2645
2646
2647
2648 enablestring=
2649 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2650 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2651 no_cache=0
2652 # Check whether --enable-gui or --disable-gui was given.
2653 if test "${enable_gui+set}" = set; then
2654 enableval="$enable_gui"
2655
2656 if test "$enableval" = yes; then
2657 ac_cv_use_gui='wxUSE_GUI=yes'
2658 else
2659 ac_cv_use_gui='wxUSE_GUI=no'
2660 fi
2661
2662 else
2663
2664 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2665 if test "x$LINE" != x ; then
2666 eval "DEFAULT_$LINE"
2667 else
2668 no_cache=1
2669 fi
2670
2671 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2672
2673 fi;
2674
2675 eval "$ac_cv_use_gui"
2676 if test "$no_cache" != 1; then
2677 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2678 fi
2679
2680 if test "$wxUSE_GUI" = yes; then
2681 echo "$as_me:$LINENO: result: yes" >&5
2682 echo "${ECHO_T}yes" >&6
2683 else
2684 echo "$as_me:$LINENO: result: no" >&5
2685 echo "${ECHO_T}no" >&6
2686 fi
2687
2688
2689 enablestring=
2690 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2691 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2692 no_cache=0
2693 # Check whether --enable-monolithic or --disable-monolithic was given.
2694 if test "${enable_monolithic+set}" = set; then
2695 enableval="$enable_monolithic"
2696
2697 if test "$enableval" = yes; then
2698 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2699 else
2700 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2701 fi
2702
2703 else
2704
2705 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2706 if test "x$LINE" != x ; then
2707 eval "DEFAULT_$LINE"
2708 else
2709 no_cache=1
2710 fi
2711
2712 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2713
2714 fi;
2715
2716 eval "$ac_cv_use_monolithic"
2717 if test "$no_cache" != 1; then
2718 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2719 fi
2720
2721 if test "$wxUSE_MONOLITHIC" = yes; then
2722 echo "$as_me:$LINENO: result: yes" >&5
2723 echo "${ECHO_T}yes" >&6
2724 else
2725 echo "$as_me:$LINENO: result: no" >&5
2726 echo "${ECHO_T}no" >&6
2727 fi
2728
2729
2730 enablestring=
2731 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2732 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2733 no_cache=0
2734 # Check whether --enable-plugins or --disable-plugins was given.
2735 if test "${enable_plugins+set}" = set; then
2736 enableval="$enable_plugins"
2737
2738 if test "$enableval" = yes; then
2739 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2740 else
2741 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2742 fi
2743
2744 else
2745
2746 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2747 if test "x$LINE" != x ; then
2748 eval "DEFAULT_$LINE"
2749 else
2750 no_cache=1
2751 fi
2752
2753 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2754
2755 fi;
2756
2757 eval "$ac_cv_use_plugins"
2758 if test "$no_cache" != 1; then
2759 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2760 fi
2761
2762 if test "$wxUSE_PLUGINS" = yes; then
2763 echo "$as_me:$LINENO: result: yes" >&5
2764 echo "${ECHO_T}yes" >&6
2765 else
2766 echo "$as_me:$LINENO: result: no" >&5
2767 echo "${ECHO_T}no" >&6
2768 fi
2769
2770
2771 withstring=without
2772 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2773 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2774 no_cache=0
2775
2776 # Check whether --with-subdirs or --without-subdirs was given.
2777 if test "${with_subdirs+set}" = set; then
2778 withval="$with_subdirs"
2779
2780 if test "$withval" = yes; then
2781 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2782 else
2783 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2784 fi
2785
2786 else
2787
2788 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2789 if test "x$LINE" != x ; then
2790 eval "DEFAULT_$LINE"
2791 else
2792 no_cache=1
2793 fi
2794
2795 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2796
2797 fi;
2798
2799 eval "$ac_cv_use_subdirs"
2800 if test "$no_cache" != 1; then
2801 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2802 fi
2803
2804 if test "$wxWITH_SUBDIRS" = yes; then
2805 echo "$as_me:$LINENO: result: yes" >&5
2806 echo "${ECHO_T}yes" >&6
2807 else
2808 echo "$as_me:$LINENO: result: no" >&5
2809 echo "${ECHO_T}no" >&6
2810 fi
2811
2812
2813 if test "$wxUSE_GUI" = "yes"; then
2814
2815
2816 enablestring=
2817 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2818 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2819 no_cache=0
2820 # Check whether --enable-universal or --disable-universal was given.
2821 if test "${enable_universal+set}" = set; then
2822 enableval="$enable_universal"
2823
2824 if test "$enableval" = yes; then
2825 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2826 else
2827 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2828 fi
2829
2830 else
2831
2832 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2833 if test "x$LINE" != x ; then
2834 eval "DEFAULT_$LINE"
2835 else
2836 no_cache=1
2837 fi
2838
2839 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2840
2841 fi;
2842
2843 eval "$ac_cv_use_universal"
2844 if test "$no_cache" != 1; then
2845 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2846 fi
2847
2848 if test "$wxUSE_UNIVERSAL" = yes; then
2849 echo "$as_me:$LINENO: result: yes" >&5
2850 echo "${ECHO_T}yes" >&6
2851 else
2852 echo "$as_me:$LINENO: result: no" >&5
2853 echo "${ECHO_T}no" >&6
2854 fi
2855
2856
2857 # Check whether --with-gtk or --without-gtk was given.
2858 if test "${with_gtk+set}" = set; then
2859 withval="$with_gtk"
2860 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2861 fi;
2862
2863 # Check whether --with-motif or --without-motif was given.
2864 if test "${with_motif+set}" = set; then
2865 withval="$with_motif"
2866 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2867 fi;
2868
2869 # Check whether --with-mac or --without-mac was given.
2870 if test "${with_mac+set}" = set; then
2871 withval="$with_mac"
2872 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2873 fi;
2874
2875 # Check whether --with-cocoa or --without-cocoa was given.
2876 if test "${with_cocoa+set}" = set; then
2877 withval="$with_cocoa"
2878 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2879 fi;
2880
2881 # Check whether --with-wine or --without-wine was given.
2882 if test "${with_wine+set}" = set; then
2883 withval="$with_wine"
2884 wxUSE_WINE="$withval" CACHE_WINE=1
2885 fi;
2886
2887 # Check whether --with-msw or --without-msw was given.
2888 if test "${with_msw+set}" = set; then
2889 withval="$with_msw"
2890 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2891 fi;
2892
2893 # Check whether --with-pm or --without-pm was given.
2894 if test "${with_pm+set}" = set; then
2895 withval="$with_pm"
2896 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2897 fi;
2898
2899 # Check whether --with-mgl or --without-mgl was given.
2900 if test "${with_mgl+set}" = set; then
2901 withval="$with_mgl"
2902 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2903 fi;
2904
2905 # Check whether --with-directfb or --without-directfb was given.
2906 if test "${with_directfb+set}" = set; then
2907 withval="$with_directfb"
2908 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2909 fi;
2910
2911 # Check whether --with-microwin or --without-microwin was given.
2912 if test "${with_microwin+set}" = set; then
2913 withval="$with_microwin"
2914 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2915 fi;
2916
2917 # Check whether --with-x11 or --without-x11 was given.
2918 if test "${with_x11+set}" = set; then
2919 withval="$with_x11"
2920 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2921 fi;
2922
2923 enablestring=
2924 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2925 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2926 no_cache=0
2927 # Check whether --enable-nanox or --disable-nanox was given.
2928 if test "${enable_nanox+set}" = set; then
2929 enableval="$enable_nanox"
2930
2931 if test "$enableval" = yes; then
2932 ac_cv_use_nanox='wxUSE_NANOX=yes'
2933 else
2934 ac_cv_use_nanox='wxUSE_NANOX=no'
2935 fi
2936
2937 else
2938
2939 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2940 if test "x$LINE" != x ; then
2941 eval "DEFAULT_$LINE"
2942 else
2943 no_cache=1
2944 fi
2945
2946 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2947
2948 fi;
2949
2950 eval "$ac_cv_use_nanox"
2951 if test "$no_cache" != 1; then
2952 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2953 fi
2954
2955 if test "$wxUSE_NANOX" = yes; then
2956 echo "$as_me:$LINENO: result: yes" >&5
2957 echo "${ECHO_T}yes" >&6
2958 else
2959 echo "$as_me:$LINENO: result: no" >&5
2960 echo "${ECHO_T}no" >&6
2961 fi
2962
2963
2964 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2965 if test "${enable_gtk2+set}" = set; then
2966 enableval="$enable_gtk2"
2967 wxUSE_GTK2="$enableval"
2968 fi;
2969
2970 enablestring=
2971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2972 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2973 no_cache=0
2974 # Check whether --enable-gpe or --disable-gpe was given.
2975 if test "${enable_gpe+set}" = set; then
2976 enableval="$enable_gpe"
2977
2978 if test "$enableval" = yes; then
2979 ac_cv_use_gpe='wxUSE_GPE=yes'
2980 else
2981 ac_cv_use_gpe='wxUSE_GPE=no'
2982 fi
2983
2984 else
2985
2986 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2987 if test "x$LINE" != x ; then
2988 eval "DEFAULT_$LINE"
2989 else
2990 no_cache=1
2991 fi
2992
2993 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2994
2995 fi;
2996
2997 eval "$ac_cv_use_gpe"
2998 if test "$no_cache" != 1; then
2999 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3000 fi
3001
3002 if test "$wxUSE_GPE" = yes; then
3003 echo "$as_me:$LINENO: result: yes" >&5
3004 echo "${ECHO_T}yes" >&6
3005 else
3006 echo "$as_me:$LINENO: result: no" >&5
3007 echo "${ECHO_T}no" >&6
3008 fi
3009
3010
3011
3012 echo "$as_me:$LINENO: checking for --with-libpng" >&5
3013 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
3014 no_cache=0
3015
3016 # Check whether --with-libpng or --without-libpng was given.
3017 if test "${with_libpng+set}" = set; then
3018 withval="$with_libpng"
3019
3020 if test "$withval" = yes; then
3021 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3022 elif test "$withval" = no; then
3023 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3024 elif test "$withval" = sys; then
3025 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3026 elif test "$withval" = builtin; then
3027 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3028 else
3029 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3030 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3031 { (exit 1); exit 1; }; }
3032 fi
3033
3034 else
3035
3036 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3037 if test "x$LINE" != x ; then
3038 eval "DEFAULT_$LINE"
3039 else
3040 no_cache=1
3041 fi
3042
3043 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3044
3045 fi;
3046
3047 eval "$ac_cv_use_libpng"
3048 if test "$no_cache" != 1; then
3049 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3050 fi
3051
3052 if test "$wxUSE_LIBPNG" = yes; then
3053 echo "$as_me:$LINENO: result: yes" >&5
3054 echo "${ECHO_T}yes" >&6
3055 elif test "$wxUSE_LIBPNG" = no; then
3056 echo "$as_me:$LINENO: result: no" >&5
3057 echo "${ECHO_T}no" >&6
3058 elif test "$wxUSE_LIBPNG" = sys; then
3059 echo "$as_me:$LINENO: result: system version" >&5
3060 echo "${ECHO_T}system version" >&6
3061 elif test "$wxUSE_LIBPNG" = builtin; then
3062 echo "$as_me:$LINENO: result: builtin version" >&5
3063 echo "${ECHO_T}builtin version" >&6
3064 else
3065 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3066 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3067 { (exit 1); exit 1; }; }
3068 fi
3069
3070
3071 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3072 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3073 no_cache=0
3074
3075 # Check whether --with-libjpeg or --without-libjpeg was given.
3076 if test "${with_libjpeg+set}" = set; then
3077 withval="$with_libjpeg"
3078
3079 if test "$withval" = yes; then
3080 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3081 elif test "$withval" = no; then
3082 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3083 elif test "$withval" = sys; then
3084 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3085 elif test "$withval" = builtin; then
3086 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3087 else
3088 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3089 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3090 { (exit 1); exit 1; }; }
3091 fi
3092
3093 else
3094
3095 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3096 if test "x$LINE" != x ; then
3097 eval "DEFAULT_$LINE"
3098 else
3099 no_cache=1
3100 fi
3101
3102 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3103
3104 fi;
3105
3106 eval "$ac_cv_use_libjpeg"
3107 if test "$no_cache" != 1; then
3108 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3109 fi
3110
3111 if test "$wxUSE_LIBJPEG" = yes; then
3112 echo "$as_me:$LINENO: result: yes" >&5
3113 echo "${ECHO_T}yes" >&6
3114 elif test "$wxUSE_LIBJPEG" = no; then
3115 echo "$as_me:$LINENO: result: no" >&5
3116 echo "${ECHO_T}no" >&6
3117 elif test "$wxUSE_LIBJPEG" = sys; then
3118 echo "$as_me:$LINENO: result: system version" >&5
3119 echo "${ECHO_T}system version" >&6
3120 elif test "$wxUSE_LIBJPEG" = builtin; then
3121 echo "$as_me:$LINENO: result: builtin version" >&5
3122 echo "${ECHO_T}builtin version" >&6
3123 else
3124 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3125 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3126 { (exit 1); exit 1; }; }
3127 fi
3128
3129
3130 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3131 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3132 no_cache=0
3133
3134 # Check whether --with-libtiff or --without-libtiff was given.
3135 if test "${with_libtiff+set}" = set; then
3136 withval="$with_libtiff"
3137
3138 if test "$withval" = yes; then
3139 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3140 elif test "$withval" = no; then
3141 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3142 elif test "$withval" = sys; then
3143 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3144 elif test "$withval" = builtin; then
3145 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3146 else
3147 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3148 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3149 { (exit 1); exit 1; }; }
3150 fi
3151
3152 else
3153
3154 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3155 if test "x$LINE" != x ; then
3156 eval "DEFAULT_$LINE"
3157 else
3158 no_cache=1
3159 fi
3160
3161 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3162
3163 fi;
3164
3165 eval "$ac_cv_use_libtiff"
3166 if test "$no_cache" != 1; then
3167 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3168 fi
3169
3170 if test "$wxUSE_LIBTIFF" = yes; then
3171 echo "$as_me:$LINENO: result: yes" >&5
3172 echo "${ECHO_T}yes" >&6
3173 elif test "$wxUSE_LIBTIFF" = no; then
3174 echo "$as_me:$LINENO: result: no" >&5
3175 echo "${ECHO_T}no" >&6
3176 elif test "$wxUSE_LIBTIFF" = sys; then
3177 echo "$as_me:$LINENO: result: system version" >&5
3178 echo "${ECHO_T}system version" >&6
3179 elif test "$wxUSE_LIBTIFF" = builtin; then
3180 echo "$as_me:$LINENO: result: builtin version" >&5
3181 echo "${ECHO_T}builtin version" >&6
3182 else
3183 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3184 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3185 { (exit 1); exit 1; }; }
3186 fi
3187
3188
3189 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3190 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3191 no_cache=0
3192
3193 # Check whether --with-libxpm or --without-libxpm was given.
3194 if test "${with_libxpm+set}" = set; then
3195 withval="$with_libxpm"
3196
3197 if test "$withval" = yes; then
3198 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3199 elif test "$withval" = no; then
3200 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3201 elif test "$withval" = sys; then
3202 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3203 elif test "$withval" = builtin; then
3204 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3205 else
3206 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3207 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3208 { (exit 1); exit 1; }; }
3209 fi
3210
3211 else
3212
3213 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3214 if test "x$LINE" != x ; then
3215 eval "DEFAULT_$LINE"
3216 else
3217 no_cache=1
3218 fi
3219
3220 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3221
3222 fi;
3223
3224 eval "$ac_cv_use_libxpm"
3225 if test "$no_cache" != 1; then
3226 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3227 fi
3228
3229 if test "$wxUSE_LIBXPM" = yes; then
3230 echo "$as_me:$LINENO: result: yes" >&5
3231 echo "${ECHO_T}yes" >&6
3232 elif test "$wxUSE_LIBXPM" = no; then
3233 echo "$as_me:$LINENO: result: no" >&5
3234 echo "${ECHO_T}no" >&6
3235 elif test "$wxUSE_LIBXPM" = sys; then
3236 echo "$as_me:$LINENO: result: system version" >&5
3237 echo "${ECHO_T}system version" >&6
3238 elif test "$wxUSE_LIBXPM" = builtin; then
3239 echo "$as_me:$LINENO: result: builtin version" >&5
3240 echo "${ECHO_T}builtin version" >&6
3241 else
3242 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3243 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3244 { (exit 1); exit 1; }; }
3245 fi
3246
3247
3248 withstring=
3249 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3250 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3251 no_cache=0
3252
3253 # Check whether --with-libmspack or --without-libmspack was given.
3254 if test "${with_libmspack+set}" = set; then
3255 withval="$with_libmspack"
3256
3257 if test "$withval" = yes; then
3258 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3259 else
3260 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3261 fi
3262
3263 else
3264
3265 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3266 if test "x$LINE" != x ; then
3267 eval "DEFAULT_$LINE"
3268 else
3269 no_cache=1
3270 fi
3271
3272 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3273
3274 fi;
3275
3276 eval "$ac_cv_use_libmspack"
3277 if test "$no_cache" != 1; then
3278 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3279 fi
3280
3281 if test "$wxUSE_LIBMSPACK" = yes; then
3282 echo "$as_me:$LINENO: result: yes" >&5
3283 echo "${ECHO_T}yes" >&6
3284 else
3285 echo "$as_me:$LINENO: result: no" >&5
3286 echo "${ECHO_T}no" >&6
3287 fi
3288
3289
3290 withstring=
3291 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3292 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3293 no_cache=0
3294
3295 # Check whether --with-sdl or --without-sdl was given.
3296 if test "${with_sdl+set}" = set; then
3297 withval="$with_sdl"
3298
3299 if test "$withval" = yes; then
3300 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3301 else
3302 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3303 fi
3304
3305 else
3306
3307 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3308 if test "x$LINE" != x ; then
3309 eval "DEFAULT_$LINE"
3310 else
3311 no_cache=1
3312 fi
3313
3314 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3315
3316 fi;
3317
3318 eval "$ac_cv_use_sdl"
3319 if test "$no_cache" != 1; then
3320 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3321 fi
3322
3323 if test "$wxUSE_LIBSDL" = yes; then
3324 echo "$as_me:$LINENO: result: yes" >&5
3325 echo "${ECHO_T}yes" >&6
3326 else
3327 echo "$as_me:$LINENO: result: no" >&5
3328 echo "${ECHO_T}no" >&6
3329 fi
3330
3331
3332 withstring=
3333 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3334 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3335 no_cache=0
3336
3337 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3338 if test "${with_gnomeprint+set}" = set; then
3339 withval="$with_gnomeprint"
3340
3341 if test "$withval" = yes; then
3342 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3343 else
3344 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3345 fi
3346
3347 else
3348
3349 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3350 if test "x$LINE" != x ; then
3351 eval "DEFAULT_$LINE"
3352 else
3353 no_cache=1
3354 fi
3355
3356 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3357
3358 fi;
3359
3360 eval "$ac_cv_use_gnomeprint"
3361 if test "$no_cache" != 1; then
3362 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3363 fi
3364
3365 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3366 echo "$as_me:$LINENO: result: yes" >&5
3367 echo "${ECHO_T}yes" >&6
3368 else
3369 echo "$as_me:$LINENO: result: no" >&5
3370 echo "${ECHO_T}no" >&6
3371 fi
3372
3373
3374 withstring=
3375 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3376 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3377 no_cache=0
3378
3379 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3380 if test "${with_gnomevfs+set}" = set; then
3381 withval="$with_gnomevfs"
3382
3383 if test "$withval" = yes; then
3384 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3385 else
3386 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3387 fi
3388
3389 else
3390
3391 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3392 if test "x$LINE" != x ; then
3393 eval "DEFAULT_$LINE"
3394 else
3395 no_cache=1
3396 fi
3397
3398 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3399
3400 fi;
3401
3402 eval "$ac_cv_use_gnomevfs"
3403 if test "$no_cache" != 1; then
3404 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3405 fi
3406
3407 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3408 echo "$as_me:$LINENO: result: yes" >&5
3409 echo "${ECHO_T}yes" >&6
3410 else
3411 echo "$as_me:$LINENO: result: no" >&5
3412 echo "${ECHO_T}no" >&6
3413 fi
3414
3415
3416 withstring=
3417 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3418 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3419 no_cache=0
3420
3421 # Check whether --with-hildon or --without-hildon was given.
3422 if test "${with_hildon+set}" = set; then
3423 withval="$with_hildon"
3424
3425 if test "$withval" = yes; then
3426 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3427 else
3428 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3429 fi
3430
3431 else
3432
3433 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3434 if test "x$LINE" != x ; then
3435 eval "DEFAULT_$LINE"
3436 else
3437 no_cache=1
3438 fi
3439
3440 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3441
3442 fi;
3443
3444 eval "$ac_cv_use_hildon"
3445 if test "$no_cache" != 1; then
3446 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3447 fi
3448
3449 if test "$wxUSE_LIBHILDON" = yes; then
3450 echo "$as_me:$LINENO: result: yes" >&5
3451 echo "${ECHO_T}yes" >&6
3452 else
3453 echo "$as_me:$LINENO: result: no" >&5
3454 echo "${ECHO_T}no" >&6
3455 fi
3456
3457
3458 withstring=
3459 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3460 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3461 no_cache=0
3462
3463 # Check whether --with-opengl or --without-opengl was given.
3464 if test "${with_opengl+set}" = set; then
3465 withval="$with_opengl"
3466
3467 if test "$withval" = yes; then
3468 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3469 else
3470 ac_cv_use_opengl='wxUSE_OPENGL=no'
3471 fi
3472
3473 else
3474
3475 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3476 if test "x$LINE" != x ; then
3477 eval "DEFAULT_$LINE"
3478 else
3479 no_cache=1
3480 fi
3481
3482 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3483
3484 fi;
3485
3486 eval "$ac_cv_use_opengl"
3487 if test "$no_cache" != 1; then
3488 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3489 fi
3490
3491 if test "$wxUSE_OPENGL" = yes; then
3492 echo "$as_me:$LINENO: result: yes" >&5
3493 echo "${ECHO_T}yes" >&6
3494 else
3495 echo "$as_me:$LINENO: result: no" >&5
3496 echo "${ECHO_T}no" >&6
3497 fi
3498
3499
3500 if test "$wxUSE_UNIVERSAL" = "yes"; then
3501
3502 # Check whether --with-themes or --without-themes was given.
3503 if test "${with_themes+set}" = set; then
3504 withval="$with_themes"
3505 wxUNIV_THEMES="$withval"
3506 fi;
3507 fi
3508
3509 fi
3510
3511
3512 withstring=
3513 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3514 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3515 no_cache=0
3516
3517 # Check whether --with-dmalloc or --without-dmalloc was given.
3518 if test "${with_dmalloc+set}" = set; then
3519 withval="$with_dmalloc"
3520
3521 if test "$withval" = yes; then
3522 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3523 else
3524 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3525 fi
3526
3527 else
3528
3529 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3530 if test "x$LINE" != x ; then
3531 eval "DEFAULT_$LINE"
3532 else
3533 no_cache=1
3534 fi
3535
3536 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3537
3538 fi;
3539
3540 eval "$ac_cv_use_dmalloc"
3541 if test "$no_cache" != 1; then
3542 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3543 fi
3544
3545 if test "$wxUSE_DMALLOC" = yes; then
3546 echo "$as_me:$LINENO: result: yes" >&5
3547 echo "${ECHO_T}yes" >&6
3548 else
3549 echo "$as_me:$LINENO: result: no" >&5
3550 echo "${ECHO_T}no" >&6
3551 fi
3552
3553
3554 echo "$as_me:$LINENO: checking for --with-regex" >&5
3555 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3556 no_cache=0
3557
3558 # Check whether --with-regex or --without-regex was given.
3559 if test "${with_regex+set}" = set; then
3560 withval="$with_regex"
3561
3562 if test "$withval" = yes; then
3563 ac_cv_use_regex='wxUSE_REGEX=yes'
3564 elif test "$withval" = no; then
3565 ac_cv_use_regex='wxUSE_REGEX=no'
3566 elif test "$withval" = sys; then
3567 ac_cv_use_regex='wxUSE_REGEX=sys'
3568 elif test "$withval" = builtin; then
3569 ac_cv_use_regex='wxUSE_REGEX=builtin'
3570 else
3571 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3572 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3573 { (exit 1); exit 1; }; }
3574 fi
3575
3576 else
3577
3578 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3579 if test "x$LINE" != x ; then
3580 eval "DEFAULT_$LINE"
3581 else
3582 no_cache=1
3583 fi
3584
3585 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3586
3587 fi;
3588
3589 eval "$ac_cv_use_regex"
3590 if test "$no_cache" != 1; then
3591 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3592 fi
3593
3594 if test "$wxUSE_REGEX" = yes; then
3595 echo "$as_me:$LINENO: result: yes" >&5
3596 echo "${ECHO_T}yes" >&6
3597 elif test "$wxUSE_REGEX" = no; then
3598 echo "$as_me:$LINENO: result: no" >&5
3599 echo "${ECHO_T}no" >&6
3600 elif test "$wxUSE_REGEX" = sys; then
3601 echo "$as_me:$LINENO: result: system version" >&5
3602 echo "${ECHO_T}system version" >&6
3603 elif test "$wxUSE_REGEX" = builtin; then
3604 echo "$as_me:$LINENO: result: builtin version" >&5
3605 echo "${ECHO_T}builtin version" >&6
3606 else
3607 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3608 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3609 { (exit 1); exit 1; }; }
3610 fi
3611
3612
3613 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3614 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3615 no_cache=0
3616
3617 # Check whether --with-zlib or --without-zlib was given.
3618 if test "${with_zlib+set}" = set; then
3619 withval="$with_zlib"
3620
3621 if test "$withval" = yes; then
3622 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3623 elif test "$withval" = no; then
3624 ac_cv_use_zlib='wxUSE_ZLIB=no'
3625 elif test "$withval" = sys; then
3626 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3627 elif test "$withval" = builtin; then
3628 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3629 else
3630 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3631 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3632 { (exit 1); exit 1; }; }
3633 fi
3634
3635 else
3636
3637 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3638 if test "x$LINE" != x ; then
3639 eval "DEFAULT_$LINE"
3640 else
3641 no_cache=1
3642 fi
3643
3644 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3645
3646 fi;
3647
3648 eval "$ac_cv_use_zlib"
3649 if test "$no_cache" != 1; then
3650 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3651 fi
3652
3653 if test "$wxUSE_ZLIB" = yes; then
3654 echo "$as_me:$LINENO: result: yes" >&5
3655 echo "${ECHO_T}yes" >&6
3656 elif test "$wxUSE_ZLIB" = no; then
3657 echo "$as_me:$LINENO: result: no" >&5
3658 echo "${ECHO_T}no" >&6
3659 elif test "$wxUSE_ZLIB" = sys; then
3660 echo "$as_me:$LINENO: result: system version" >&5
3661 echo "${ECHO_T}system version" >&6
3662 elif test "$wxUSE_ZLIB" = builtin; then
3663 echo "$as_me:$LINENO: result: builtin version" >&5
3664 echo "${ECHO_T}builtin version" >&6
3665 else
3666 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3667 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3668 { (exit 1); exit 1; }; }
3669 fi
3670
3671
3672 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3673 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3674 no_cache=0
3675
3676 # Check whether --with-odbc or --without-odbc was given.
3677 if test "${with_odbc+set}" = set; then
3678 withval="$with_odbc"
3679
3680 if test "$withval" = yes; then
3681 ac_cv_use_odbc='wxUSE_ODBC=yes'
3682 elif test "$withval" = no; then
3683 ac_cv_use_odbc='wxUSE_ODBC=no'
3684 elif test "$withval" = sys; then
3685 ac_cv_use_odbc='wxUSE_ODBC=sys'
3686 elif test "$withval" = builtin; then
3687 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3688 else
3689 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3690 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3691 { (exit 1); exit 1; }; }
3692 fi
3693
3694 else
3695
3696 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3697 if test "x$LINE" != x ; then
3698 eval "DEFAULT_$LINE"
3699 else
3700 no_cache=1
3701 fi
3702
3703 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3704
3705 fi;
3706
3707 eval "$ac_cv_use_odbc"
3708 if test "$no_cache" != 1; then
3709 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3710 fi
3711
3712 if test "$wxUSE_ODBC" = yes; then
3713 echo "$as_me:$LINENO: result: yes" >&5
3714 echo "${ECHO_T}yes" >&6
3715 elif test "$wxUSE_ODBC" = no; then
3716 echo "$as_me:$LINENO: result: no" >&5
3717 echo "${ECHO_T}no" >&6
3718 elif test "$wxUSE_ODBC" = sys; then
3719 echo "$as_me:$LINENO: result: system version" >&5
3720 echo "${ECHO_T}system version" >&6
3721 elif test "$wxUSE_ODBC" = builtin; then
3722 echo "$as_me:$LINENO: result: builtin version" >&5
3723 echo "${ECHO_T}builtin version" >&6
3724 else
3725 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3726 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3727 { (exit 1); exit 1; }; }
3728 fi
3729
3730
3731 echo "$as_me:$LINENO: checking for --with-expat" >&5
3732 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3733 no_cache=0
3734
3735 # Check whether --with-expat or --without-expat was given.
3736 if test "${with_expat+set}" = set; then
3737 withval="$with_expat"
3738
3739 if test "$withval" = yes; then
3740 ac_cv_use_expat='wxUSE_EXPAT=yes'
3741 elif test "$withval" = no; then
3742 ac_cv_use_expat='wxUSE_EXPAT=no'
3743 elif test "$withval" = sys; then
3744 ac_cv_use_expat='wxUSE_EXPAT=sys'
3745 elif test "$withval" = builtin; then
3746 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3747 else
3748 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3749 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3750 { (exit 1); exit 1; }; }
3751 fi
3752
3753 else
3754
3755 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3756 if test "x$LINE" != x ; then
3757 eval "DEFAULT_$LINE"
3758 else
3759 no_cache=1
3760 fi
3761
3762 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3763
3764 fi;
3765
3766 eval "$ac_cv_use_expat"
3767 if test "$no_cache" != 1; then
3768 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3769 fi
3770
3771 if test "$wxUSE_EXPAT" = yes; then
3772 echo "$as_me:$LINENO: result: yes" >&5
3773 echo "${ECHO_T}yes" >&6
3774 elif test "$wxUSE_EXPAT" = no; then
3775 echo "$as_me:$LINENO: result: no" >&5
3776 echo "${ECHO_T}no" >&6
3777 elif test "$wxUSE_EXPAT" = sys; then
3778 echo "$as_me:$LINENO: result: system version" >&5
3779 echo "${ECHO_T}system version" >&6
3780 elif test "$wxUSE_EXPAT" = builtin; then
3781 echo "$as_me:$LINENO: result: builtin version" >&5
3782 echo "${ECHO_T}builtin version" >&6
3783 else
3784 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3785 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3786 { (exit 1); exit 1; }; }
3787 fi
3788
3789
3790
3791
3792 enablestring=
3793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3794 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3795 no_cache=0
3796 # Check whether --enable-shared or --disable-shared was given.
3797 if test "${enable_shared+set}" = set; then
3798 enableval="$enable_shared"
3799
3800 if test "$enableval" = yes; then
3801 ac_cv_use_shared='wxUSE_SHARED=yes'
3802 else
3803 ac_cv_use_shared='wxUSE_SHARED=no'
3804 fi
3805
3806 else
3807
3808 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3809 if test "x$LINE" != x ; then
3810 eval "DEFAULT_$LINE"
3811 else
3812 no_cache=1
3813 fi
3814
3815 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3816
3817 fi;
3818
3819 eval "$ac_cv_use_shared"
3820 if test "$no_cache" != 1; then
3821 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3822 fi
3823
3824 if test "$wxUSE_SHARED" = yes; then
3825 echo "$as_me:$LINENO: result: yes" >&5
3826 echo "${ECHO_T}yes" >&6
3827 else
3828 echo "$as_me:$LINENO: result: no" >&5
3829 echo "${ECHO_T}no" >&6
3830 fi
3831
3832
3833 enablestring=
3834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3835 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3836 no_cache=0
3837 # Check whether --enable-optimise or --disable-optimise was given.
3838 if test "${enable_optimise+set}" = set; then
3839 enableval="$enable_optimise"
3840
3841 if test "$enableval" = yes; then
3842 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3843 else
3844 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3845 fi
3846
3847 else
3848
3849 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3850 if test "x$LINE" != x ; then
3851 eval "DEFAULT_$LINE"
3852 else
3853 no_cache=1
3854 fi
3855
3856 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3857
3858 fi;
3859
3860 eval "$ac_cv_use_optimise"
3861 if test "$no_cache" != 1; then
3862 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3863 fi
3864
3865 if test "$wxUSE_OPTIMISE" = yes; then
3866 echo "$as_me:$LINENO: result: yes" >&5
3867 echo "${ECHO_T}yes" >&6
3868 else
3869 echo "$as_me:$LINENO: result: no" >&5
3870 echo "${ECHO_T}no" >&6
3871 fi
3872
3873
3874 enablestring=
3875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3876 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3877 no_cache=0
3878 # Check whether --enable-debug or --disable-debug was given.
3879 if test "${enable_debug+set}" = set; then
3880 enableval="$enable_debug"
3881
3882 if test "$enableval" = yes; then
3883 ac_cv_use_debug='wxUSE_DEBUG=yes'
3884 else
3885 ac_cv_use_debug='wxUSE_DEBUG=no'
3886 fi
3887
3888 else
3889
3890 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3891 if test "x$LINE" != x ; then
3892 eval "DEFAULT_$LINE"
3893 else
3894 no_cache=1
3895 fi
3896
3897 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3898
3899 fi;
3900
3901 eval "$ac_cv_use_debug"
3902 if test "$no_cache" != 1; then
3903 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3904 fi
3905
3906 if test "$wxUSE_DEBUG" = yes; then
3907 echo "$as_me:$LINENO: result: yes" >&5
3908 echo "${ECHO_T}yes" >&6
3909 else
3910 echo "$as_me:$LINENO: result: no" >&5
3911 echo "${ECHO_T}no" >&6
3912 fi
3913
3914
3915 enablestring=
3916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3917 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3918 no_cache=0
3919 # Check whether --enable-stl or --disable-stl was given.
3920 if test "${enable_stl+set}" = set; then
3921 enableval="$enable_stl"
3922
3923 if test "$enableval" = yes; then
3924 ac_cv_use_stl='wxUSE_STL=yes'
3925 else
3926 ac_cv_use_stl='wxUSE_STL=no'
3927 fi
3928
3929 else
3930
3931 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3932 if test "x$LINE" != x ; then
3933 eval "DEFAULT_$LINE"
3934 else
3935 no_cache=1
3936 fi
3937
3938 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3939
3940 fi;
3941
3942 eval "$ac_cv_use_stl"
3943 if test "$no_cache" != 1; then
3944 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3945 fi
3946
3947 if test "$wxUSE_STL" = yes; then
3948 echo "$as_me:$LINENO: result: yes" >&5
3949 echo "${ECHO_T}yes" >&6
3950 else
3951 echo "$as_me:$LINENO: result: no" >&5
3952 echo "${ECHO_T}no" >&6
3953 fi
3954
3955 if test "$USE_OS2" = "1"; then
3956 DEFAULT_wxUSE_OMF=no
3957
3958 enablestring=
3959 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3960 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3961 no_cache=0
3962 # Check whether --enable-omf or --disable-omf was given.
3963 if test "${enable_omf+set}" = set; then
3964 enableval="$enable_omf"
3965
3966 if test "$enableval" = yes; then
3967 ac_cv_use_omf='wxUSE_OMF=yes'
3968 else
3969 ac_cv_use_omf='wxUSE_OMF=no'
3970 fi
3971
3972 else
3973
3974 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3975 if test "x$LINE" != x ; then
3976 eval "DEFAULT_$LINE"
3977 else
3978 no_cache=1
3979 fi
3980
3981 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3982
3983 fi;
3984
3985 eval "$ac_cv_use_omf"
3986 if test "$no_cache" != 1; then
3987 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3988 fi
3989
3990 if test "$wxUSE_OMF" = yes; then
3991 echo "$as_me:$LINENO: result: yes" >&5
3992 echo "${ECHO_T}yes" >&6
3993 else
3994 echo "$as_me:$LINENO: result: no" >&5
3995 echo "${ECHO_T}no" >&6
3996 fi
3997
3998 fi
3999
4000 if test "$wxUSE_DEBUG" = "yes"; then
4001 DEFAULT_wxUSE_DEBUG_FLAG=yes
4002 DEFAULT_wxUSE_DEBUG_INFO=yes
4003 BUILD=debug
4004 elif test "$wxUSE_DEBUG" = "no"; then
4005 DEFAULT_wxUSE_DEBUG_FLAG=no
4006 DEFAULT_wxUSE_DEBUG_INFO=no
4007 BUILD=release
4008 fi
4009
4010
4011 enablestring=
4012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4013 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
4014 no_cache=0
4015 # Check whether --enable-debug_flag or --disable-debug_flag was given.
4016 if test "${enable_debug_flag+set}" = set; then
4017 enableval="$enable_debug_flag"
4018
4019 if test "$enableval" = yes; then
4020 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4021 else
4022 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4023 fi
4024
4025 else
4026
4027 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4028 if test "x$LINE" != x ; then
4029 eval "DEFAULT_$LINE"
4030 else
4031 no_cache=1
4032 fi
4033
4034 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4035
4036 fi;
4037
4038 eval "$ac_cv_use_debug_flag"
4039 if test "$no_cache" != 1; then
4040 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4041 fi
4042
4043 if test "$wxUSE_DEBUG_FLAG" = yes; then
4044 echo "$as_me:$LINENO: result: yes" >&5
4045 echo "${ECHO_T}yes" >&6
4046 else
4047 echo "$as_me:$LINENO: result: no" >&5
4048 echo "${ECHO_T}no" >&6
4049 fi
4050
4051
4052 enablestring=
4053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4054 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4055 no_cache=0
4056 # Check whether --enable-debug_info or --disable-debug_info was given.
4057 if test "${enable_debug_info+set}" = set; then
4058 enableval="$enable_debug_info"
4059
4060 if test "$enableval" = yes; then
4061 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4062 else
4063 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4064 fi
4065
4066 else
4067
4068 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4069 if test "x$LINE" != x ; then
4070 eval "DEFAULT_$LINE"
4071 else
4072 no_cache=1
4073 fi
4074
4075 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4076
4077 fi;
4078
4079 eval "$ac_cv_use_debug_info"
4080 if test "$no_cache" != 1; then
4081 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4082 fi
4083
4084 if test "$wxUSE_DEBUG_INFO" = yes; then
4085 echo "$as_me:$LINENO: result: yes" >&5
4086 echo "${ECHO_T}yes" >&6
4087 else
4088 echo "$as_me:$LINENO: result: no" >&5
4089 echo "${ECHO_T}no" >&6
4090 fi
4091
4092
4093 enablestring=
4094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4095 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4096 no_cache=0
4097 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4098 if test "${enable_debug_gdb+set}" = set; then
4099 enableval="$enable_debug_gdb"
4100
4101 if test "$enableval" = yes; then
4102 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4103 else
4104 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4105 fi
4106
4107 else
4108
4109 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4110 if test "x$LINE" != x ; then
4111 eval "DEFAULT_$LINE"
4112 else
4113 no_cache=1
4114 fi
4115
4116 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4117
4118 fi;
4119
4120 eval "$ac_cv_use_debug_gdb"
4121 if test "$no_cache" != 1; then
4122 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4123 fi
4124
4125 if test "$wxUSE_DEBUG_GDB" = yes; then
4126 echo "$as_me:$LINENO: result: yes" >&5
4127 echo "${ECHO_T}yes" >&6
4128 else
4129 echo "$as_me:$LINENO: result: no" >&5
4130 echo "${ECHO_T}no" >&6
4131 fi
4132
4133
4134 enablestring=
4135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4136 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4137 no_cache=0
4138 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4139 if test "${enable_debug_cntxt+set}" = set; then
4140 enableval="$enable_debug_cntxt"
4141
4142 if test "$enableval" = yes; then
4143 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4144 else
4145 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4146 fi
4147
4148 else
4149
4150 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4151 if test "x$LINE" != x ; then
4152 eval "DEFAULT_$LINE"
4153 else
4154 no_cache=1
4155 fi
4156
4157 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4158
4159 fi;
4160
4161 eval "$ac_cv_use_debug_cntxt"
4162 if test "$no_cache" != 1; then
4163 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4164 fi
4165
4166 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4167 echo "$as_me:$LINENO: result: yes" >&5
4168 echo "${ECHO_T}yes" >&6
4169 else
4170 echo "$as_me:$LINENO: result: no" >&5
4171 echo "${ECHO_T}no" >&6
4172 fi
4173
4174
4175 enablestring=
4176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4177 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4178 no_cache=0
4179 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4180 if test "${enable_mem_tracing+set}" = set; then
4181 enableval="$enable_mem_tracing"
4182
4183 if test "$enableval" = yes; then
4184 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4185 else
4186 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4187 fi
4188
4189 else
4190
4191 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4192 if test "x$LINE" != x ; then
4193 eval "DEFAULT_$LINE"
4194 else
4195 no_cache=1
4196 fi
4197
4198 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4199
4200 fi;
4201
4202 eval "$ac_cv_use_mem_tracing"
4203 if test "$no_cache" != 1; then
4204 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4205 fi
4206
4207 if test "$wxUSE_MEM_TRACING" = yes; then
4208 echo "$as_me:$LINENO: result: yes" >&5
4209 echo "${ECHO_T}yes" >&6
4210 else
4211 echo "$as_me:$LINENO: result: no" >&5
4212 echo "${ECHO_T}no" >&6
4213 fi
4214
4215
4216 enablestring=
4217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4218 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4219 no_cache=0
4220 # Check whether --enable-profile or --disable-profile was given.
4221 if test "${enable_profile+set}" = set; then
4222 enableval="$enable_profile"
4223
4224 if test "$enableval" = yes; then
4225 ac_cv_use_profile='wxUSE_PROFILE=yes'
4226 else
4227 ac_cv_use_profile='wxUSE_PROFILE=no'
4228 fi
4229
4230 else
4231
4232 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4233 if test "x$LINE" != x ; then
4234 eval "DEFAULT_$LINE"
4235 else
4236 no_cache=1
4237 fi
4238
4239 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4240
4241 fi;
4242
4243 eval "$ac_cv_use_profile"
4244 if test "$no_cache" != 1; then
4245 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4246 fi
4247
4248 if test "$wxUSE_PROFILE" = yes; then
4249 echo "$as_me:$LINENO: result: yes" >&5
4250 echo "${ECHO_T}yes" >&6
4251 else
4252 echo "$as_me:$LINENO: result: no" >&5
4253 echo "${ECHO_T}no" >&6
4254 fi
4255
4256
4257 enablestring=
4258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4259 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4260 no_cache=0
4261 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4262 if test "${enable_no_rtti+set}" = set; then
4263 enableval="$enable_no_rtti"
4264
4265 if test "$enableval" = yes; then
4266 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4267 else
4268 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4269 fi
4270
4271 else
4272
4273 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4274 if test "x$LINE" != x ; then
4275 eval "DEFAULT_$LINE"
4276 else
4277 no_cache=1
4278 fi
4279
4280 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4281
4282 fi;
4283
4284 eval "$ac_cv_use_no_rtti"
4285 if test "$no_cache" != 1; then
4286 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4287 fi
4288
4289 if test "$wxUSE_NO_RTTI" = yes; then
4290 echo "$as_me:$LINENO: result: yes" >&5
4291 echo "${ECHO_T}yes" >&6
4292 else
4293 echo "$as_me:$LINENO: result: no" >&5
4294 echo "${ECHO_T}no" >&6
4295 fi
4296
4297
4298 enablestring=
4299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4300 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4301 no_cache=0
4302 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4303 if test "${enable_no_exceptions+set}" = set; then
4304 enableval="$enable_no_exceptions"
4305
4306 if test "$enableval" = yes; then
4307 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4308 else
4309 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4310 fi
4311
4312 else
4313
4314 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4315 if test "x$LINE" != x ; then
4316 eval "DEFAULT_$LINE"
4317 else
4318 no_cache=1
4319 fi
4320
4321 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4322
4323 fi;
4324
4325 eval "$ac_cv_use_no_exceptions"
4326 if test "$no_cache" != 1; then
4327 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4328 fi
4329
4330 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4331 echo "$as_me:$LINENO: result: yes" >&5
4332 echo "${ECHO_T}yes" >&6
4333 else
4334 echo "$as_me:$LINENO: result: no" >&5
4335 echo "${ECHO_T}no" >&6
4336 fi
4337
4338
4339 enablestring=
4340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4341 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4342 no_cache=0
4343 # Check whether --enable-permissive or --disable-permissive was given.
4344 if test "${enable_permissive+set}" = set; then
4345 enableval="$enable_permissive"
4346
4347 if test "$enableval" = yes; then
4348 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4349 else
4350 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4351 fi
4352
4353 else
4354
4355 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4356 if test "x$LINE" != x ; then
4357 eval "DEFAULT_$LINE"
4358 else
4359 no_cache=1
4360 fi
4361
4362 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4363
4364 fi;
4365
4366 eval "$ac_cv_use_permissive"
4367 if test "$no_cache" != 1; then
4368 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4369 fi
4370
4371 if test "$wxUSE_PERMISSIVE" = yes; then
4372 echo "$as_me:$LINENO: result: yes" >&5
4373 echo "${ECHO_T}yes" >&6
4374 else
4375 echo "$as_me:$LINENO: result: no" >&5
4376 echo "${ECHO_T}no" >&6
4377 fi
4378
4379
4380 enablestring=
4381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4382 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4383 no_cache=0
4384 # Check whether --enable-no_deps or --disable-no_deps was given.
4385 if test "${enable_no_deps+set}" = set; then
4386 enableval="$enable_no_deps"
4387
4388 if test "$enableval" = yes; then
4389 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4390 else
4391 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4392 fi
4393
4394 else
4395
4396 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4397 if test "x$LINE" != x ; then
4398 eval "DEFAULT_$LINE"
4399 else
4400 no_cache=1
4401 fi
4402
4403 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4404
4405 fi;
4406
4407 eval "$ac_cv_use_no_deps"
4408 if test "$no_cache" != 1; then
4409 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4410 fi
4411
4412 if test "$wxUSE_NO_DEPS" = yes; then
4413 echo "$as_me:$LINENO: result: yes" >&5
4414 echo "${ECHO_T}yes" >&6
4415 else
4416 echo "$as_me:$LINENO: result: no" >&5
4417 echo "${ECHO_T}no" >&6
4418 fi
4419
4420
4421 enablestring=
4422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4423 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4424 no_cache=0
4425 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4426 if test "${enable_universal_binary+set}" = set; then
4427 enableval="$enable_universal_binary"
4428
4429 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
4430
4431 else
4432
4433 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4434 if test "x$LINE" != x ; then
4435 eval "DEFAULT_$LINE"
4436 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4437 else
4438 no_cache=1
4439 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
4440 fi
4441
4442 fi;
4443
4444 eval "$wx_cv_use_universal_binary"
4445 if test "$no_cache" != 1; then
4446 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4447 fi
4448
4449 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4450 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4451
4452
4453
4454 enablestring=enable
4455 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4456 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4457 no_cache=0
4458 # Check whether --enable-compat24 or --disable-compat24 was given.
4459 if test "${enable_compat24+set}" = set; then
4460 enableval="$enable_compat24"
4461
4462 if test "$enableval" = yes; then
4463 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4464 else
4465 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4466 fi
4467
4468 else
4469
4470 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4471 if test "x$LINE" != x ; then
4472 eval "DEFAULT_$LINE"
4473 else
4474 no_cache=1
4475 fi
4476
4477 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4478
4479 fi;
4480
4481 eval "$ac_cv_use_compat24"
4482 if test "$no_cache" != 1; then
4483 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4484 fi
4485
4486 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4487 echo "$as_me:$LINENO: result: yes" >&5
4488 echo "${ECHO_T}yes" >&6
4489 else
4490 echo "$as_me:$LINENO: result: no" >&5
4491 echo "${ECHO_T}no" >&6
4492 fi
4493
4494
4495 enablestring=disable
4496 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4497 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4498 no_cache=0
4499 # Check whether --enable-compat26 or --disable-compat26 was given.
4500 if test "${enable_compat26+set}" = set; then
4501 enableval="$enable_compat26"
4502
4503 if test "$enableval" = yes; then
4504 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4505 else
4506 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4507 fi
4508
4509 else
4510
4511 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4512 if test "x$LINE" != x ; then
4513 eval "DEFAULT_$LINE"
4514 else
4515 no_cache=1
4516 fi
4517
4518 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4519
4520 fi;
4521
4522 eval "$ac_cv_use_compat26"
4523 if test "$no_cache" != 1; then
4524 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4525 fi
4526
4527 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4528 echo "$as_me:$LINENO: result: yes" >&5
4529 echo "${ECHO_T}yes" >&6
4530 else
4531 echo "$as_me:$LINENO: result: no" >&5
4532 echo "${ECHO_T}no" >&6
4533 fi
4534
4535
4536
4537 enablestring=
4538 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4539 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4540 no_cache=0
4541 # Check whether --enable-rpath or --disable-rpath was given.
4542 if test "${enable_rpath+set}" = set; then
4543 enableval="$enable_rpath"
4544
4545 if test "$enableval" = yes; then
4546 ac_cv_use_rpath='wxUSE_RPATH=yes'
4547 else
4548 ac_cv_use_rpath='wxUSE_RPATH=no'
4549 fi
4550
4551 else
4552
4553 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4554 if test "x$LINE" != x ; then
4555 eval "DEFAULT_$LINE"
4556 else
4557 no_cache=1
4558 fi
4559
4560 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4561
4562 fi;
4563
4564 eval "$ac_cv_use_rpath"
4565 if test "$no_cache" != 1; then
4566 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4567 fi
4568
4569 if test "$wxUSE_RPATH" = yes; then
4570 echo "$as_me:$LINENO: result: yes" >&5
4571 echo "${ECHO_T}yes" >&6
4572 else
4573 echo "$as_me:$LINENO: result: no" >&5
4574 echo "${ECHO_T}no" >&6
4575 fi
4576
4577
4578
4579
4580
4581 enablestring=
4582 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4583 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4584 no_cache=0
4585 # Check whether --enable-intl or --disable-intl was given.
4586 if test "${enable_intl+set}" = set; then
4587 enableval="$enable_intl"
4588
4589 if test "$enableval" = yes; then
4590 ac_cv_use_intl='wxUSE_INTL=yes'
4591 else
4592 ac_cv_use_intl='wxUSE_INTL=no'
4593 fi
4594
4595 else
4596
4597 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4598 if test "x$LINE" != x ; then
4599 eval "DEFAULT_$LINE"
4600 else
4601 no_cache=1
4602 fi
4603
4604 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4605
4606 fi;
4607
4608 eval "$ac_cv_use_intl"
4609 if test "$no_cache" != 1; then
4610 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4611 fi
4612
4613 if test "$wxUSE_INTL" = yes; then
4614 echo "$as_me:$LINENO: result: yes" >&5
4615 echo "${ECHO_T}yes" >&6
4616 else
4617 echo "$as_me:$LINENO: result: no" >&5
4618 echo "${ECHO_T}no" >&6
4619 fi
4620
4621
4622 enablestring=
4623 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4624 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4625 no_cache=0
4626 # Check whether --enable-config or --disable-config was given.
4627 if test "${enable_config+set}" = set; then
4628 enableval="$enable_config"
4629
4630 if test "$enableval" = yes; then
4631 ac_cv_use_config='wxUSE_CONFIG=yes'
4632 else
4633 ac_cv_use_config='wxUSE_CONFIG=no'
4634 fi
4635
4636 else
4637
4638 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4639 if test "x$LINE" != x ; then
4640 eval "DEFAULT_$LINE"
4641 else
4642 no_cache=1
4643 fi
4644
4645 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4646
4647 fi;
4648
4649 eval "$ac_cv_use_config"
4650 if test "$no_cache" != 1; then
4651 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4652 fi
4653
4654 if test "$wxUSE_CONFIG" = yes; then
4655 echo "$as_me:$LINENO: result: yes" >&5
4656 echo "${ECHO_T}yes" >&6
4657 else
4658 echo "$as_me:$LINENO: result: no" >&5
4659 echo "${ECHO_T}no" >&6
4660 fi
4661
4662
4663
4664 enablestring=
4665 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4666 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4667 no_cache=0
4668 # Check whether --enable-protocols or --disable-protocols was given.
4669 if test "${enable_protocols+set}" = set; then
4670 enableval="$enable_protocols"
4671
4672 if test "$enableval" = yes; then
4673 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4674 else
4675 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4676 fi
4677
4678 else
4679
4680 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4681 if test "x$LINE" != x ; then
4682 eval "DEFAULT_$LINE"
4683 else
4684 no_cache=1
4685 fi
4686
4687 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4688
4689 fi;
4690
4691 eval "$ac_cv_use_protocols"
4692 if test "$no_cache" != 1; then
4693 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4694 fi
4695
4696 if test "$wxUSE_PROTOCOL" = yes; then
4697 echo "$as_me:$LINENO: result: yes" >&5
4698 echo "${ECHO_T}yes" >&6
4699 else
4700 echo "$as_me:$LINENO: result: no" >&5
4701 echo "${ECHO_T}no" >&6
4702 fi
4703
4704
4705 enablestring=
4706 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4707 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4708 no_cache=0
4709 # Check whether --enable-ftp or --disable-ftp was given.
4710 if test "${enable_ftp+set}" = set; then
4711 enableval="$enable_ftp"
4712
4713 if test "$enableval" = yes; then
4714 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4715 else
4716 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4717 fi
4718
4719 else
4720
4721 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4722 if test "x$LINE" != x ; then
4723 eval "DEFAULT_$LINE"
4724 else
4725 no_cache=1
4726 fi
4727
4728 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4729
4730 fi;
4731
4732 eval "$ac_cv_use_ftp"
4733 if test "$no_cache" != 1; then
4734 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4735 fi
4736
4737 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4738 echo "$as_me:$LINENO: result: yes" >&5
4739 echo "${ECHO_T}yes" >&6
4740 else
4741 echo "$as_me:$LINENO: result: no" >&5
4742 echo "${ECHO_T}no" >&6
4743 fi
4744
4745
4746 enablestring=
4747 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4748 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4749 no_cache=0
4750 # Check whether --enable-http or --disable-http was given.
4751 if test "${enable_http+set}" = set; then
4752 enableval="$enable_http"
4753
4754 if test "$enableval" = yes; then
4755 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4756 else
4757 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4758 fi
4759
4760 else
4761
4762 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4763 if test "x$LINE" != x ; then
4764 eval "DEFAULT_$LINE"
4765 else
4766 no_cache=1
4767 fi
4768
4769 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4770
4771 fi;
4772
4773 eval "$ac_cv_use_http"
4774 if test "$no_cache" != 1; then
4775 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4776 fi
4777
4778 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4779 echo "$as_me:$LINENO: result: yes" >&5
4780 echo "${ECHO_T}yes" >&6
4781 else
4782 echo "$as_me:$LINENO: result: no" >&5
4783 echo "${ECHO_T}no" >&6
4784 fi
4785
4786
4787 enablestring=
4788 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4789 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4790 no_cache=0
4791 # Check whether --enable-fileproto or --disable-fileproto was given.
4792 if test "${enable_fileproto+set}" = set; then
4793 enableval="$enable_fileproto"
4794
4795 if test "$enableval" = yes; then
4796 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4797 else
4798 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4799 fi
4800
4801 else
4802
4803 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4804 if test "x$LINE" != x ; then
4805 eval "DEFAULT_$LINE"
4806 else
4807 no_cache=1
4808 fi
4809
4810 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4811
4812 fi;
4813
4814 eval "$ac_cv_use_fileproto"
4815 if test "$no_cache" != 1; then
4816 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4817 fi
4818
4819 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4820 echo "$as_me:$LINENO: result: yes" >&5
4821 echo "${ECHO_T}yes" >&6
4822 else
4823 echo "$as_me:$LINENO: result: no" >&5
4824 echo "${ECHO_T}no" >&6
4825 fi
4826
4827
4828 enablestring=
4829 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4830 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4831 no_cache=0
4832 # Check whether --enable-sockets or --disable-sockets was given.
4833 if test "${enable_sockets+set}" = set; then
4834 enableval="$enable_sockets"
4835
4836 if test "$enableval" = yes; then
4837 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4838 else
4839 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4840 fi
4841
4842 else
4843
4844 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4845 if test "x$LINE" != x ; then
4846 eval "DEFAULT_$LINE"
4847 else
4848 no_cache=1
4849 fi
4850
4851 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4852
4853 fi;
4854
4855 eval "$ac_cv_use_sockets"
4856 if test "$no_cache" != 1; then
4857 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4858 fi
4859
4860 if test "$wxUSE_SOCKETS" = yes; then
4861 echo "$as_me:$LINENO: result: yes" >&5
4862 echo "${ECHO_T}yes" >&6
4863 else
4864 echo "$as_me:$LINENO: result: no" >&5
4865 echo "${ECHO_T}no" >&6
4866 fi
4867
4868
4869 enablestring=
4870 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4871 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4872 no_cache=0
4873 # Check whether --enable-ole or --disable-ole was given.
4874 if test "${enable_ole+set}" = set; then
4875 enableval="$enable_ole"
4876
4877 if test "$enableval" = yes; then
4878 ac_cv_use_ole='wxUSE_OLE=yes'
4879 else
4880 ac_cv_use_ole='wxUSE_OLE=no'
4881 fi
4882
4883 else
4884
4885 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4886 if test "x$LINE" != x ; then
4887 eval "DEFAULT_$LINE"
4888 else
4889 no_cache=1
4890 fi
4891
4892 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4893
4894 fi;
4895
4896 eval "$ac_cv_use_ole"
4897 if test "$no_cache" != 1; then
4898 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4899 fi
4900
4901 if test "$wxUSE_OLE" = yes; then
4902 echo "$as_me:$LINENO: result: yes" >&5
4903 echo "${ECHO_T}yes" >&6
4904 else
4905 echo "$as_me:$LINENO: result: no" >&5
4906 echo "${ECHO_T}no" >&6
4907 fi
4908
4909
4910 enablestring=
4911 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4912 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4913 no_cache=0
4914 # Check whether --enable-dataobj or --disable-dataobj was given.
4915 if test "${enable_dataobj+set}" = set; then
4916 enableval="$enable_dataobj"
4917
4918 if test "$enableval" = yes; then
4919 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4920 else
4921 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4922 fi
4923
4924 else
4925
4926 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4927 if test "x$LINE" != x ; then
4928 eval "DEFAULT_$LINE"
4929 else
4930 no_cache=1
4931 fi
4932
4933 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4934
4935 fi;
4936
4937 eval "$ac_cv_use_dataobj"
4938 if test "$no_cache" != 1; then
4939 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4940 fi
4941
4942 if test "$wxUSE_DATAOBJ" = yes; then
4943 echo "$as_me:$LINENO: result: yes" >&5
4944 echo "${ECHO_T}yes" >&6
4945 else
4946 echo "$as_me:$LINENO: result: no" >&5
4947 echo "${ECHO_T}no" >&6
4948 fi
4949
4950
4951
4952 enablestring=
4953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4954 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4955 no_cache=0
4956 # Check whether --enable-ipc or --disable-ipc was given.
4957 if test "${enable_ipc+set}" = set; then
4958 enableval="$enable_ipc"
4959
4960 if test "$enableval" = yes; then
4961 ac_cv_use_ipc='wxUSE_IPC=yes'
4962 else
4963 ac_cv_use_ipc='wxUSE_IPC=no'
4964 fi
4965
4966 else
4967
4968 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4969 if test "x$LINE" != x ; then
4970 eval "DEFAULT_$LINE"
4971 else
4972 no_cache=1
4973 fi
4974
4975 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4976
4977 fi;
4978
4979 eval "$ac_cv_use_ipc"
4980 if test "$no_cache" != 1; then
4981 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4982 fi
4983
4984 if test "$wxUSE_IPC" = yes; then
4985 echo "$as_me:$LINENO: result: yes" >&5
4986 echo "${ECHO_T}yes" >&6
4987 else
4988 echo "$as_me:$LINENO: result: no" >&5
4989 echo "${ECHO_T}no" >&6
4990 fi
4991
4992
4993
4994 enablestring=
4995 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4996 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4997 no_cache=0
4998 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4999 if test "${enable_apple_ieee+set}" = set; then
5000 enableval="$enable_apple_ieee"
5001
5002 if test "$enableval" = yes; then
5003 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5004 else
5005 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5006 fi
5007
5008 else
5009
5010 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5011 if test "x$LINE" != x ; then
5012 eval "DEFAULT_$LINE"
5013 else
5014 no_cache=1
5015 fi
5016
5017 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5018
5019 fi;
5020
5021 eval "$ac_cv_use_apple_ieee"
5022 if test "$no_cache" != 1; then
5023 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5024 fi
5025
5026 if test "$wxUSE_APPLE_IEEE" = yes; then
5027 echo "$as_me:$LINENO: result: yes" >&5
5028 echo "${ECHO_T}yes" >&6
5029 else
5030 echo "$as_me:$LINENO: result: no" >&5
5031 echo "${ECHO_T}no" >&6
5032 fi
5033
5034
5035 enablestring=
5036 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5037 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5038 no_cache=0
5039 # Check whether --enable-arcstream or --disable-arcstream was given.
5040 if test "${enable_arcstream+set}" = set; then
5041 enableval="$enable_arcstream"
5042
5043 if test "$enableval" = yes; then
5044 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5045 else
5046 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5047 fi
5048
5049 else
5050
5051 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5052 if test "x$LINE" != x ; then
5053 eval "DEFAULT_$LINE"
5054 else
5055 no_cache=1
5056 fi
5057
5058 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5059
5060 fi;
5061
5062 eval "$ac_cv_use_arcstream"
5063 if test "$no_cache" != 1; then
5064 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5065 fi
5066
5067 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5068 echo "$as_me:$LINENO: result: yes" >&5
5069 echo "${ECHO_T}yes" >&6
5070 else
5071 echo "$as_me:$LINENO: result: no" >&5
5072 echo "${ECHO_T}no" >&6
5073 fi
5074
5075
5076 enablestring=
5077 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5078 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5079 no_cache=0
5080 # Check whether --enable-backtrace or --disable-backtrace was given.
5081 if test "${enable_backtrace+set}" = set; then
5082 enableval="$enable_backtrace"
5083
5084 if test "$enableval" = yes; then
5085 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5086 else
5087 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5088 fi
5089
5090 else
5091
5092 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5093 if test "x$LINE" != x ; then
5094 eval "DEFAULT_$LINE"
5095 else
5096 no_cache=1
5097 fi
5098
5099 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5100
5101 fi;
5102
5103 eval "$ac_cv_use_backtrace"
5104 if test "$no_cache" != 1; then
5105 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5106 fi
5107
5108 if test "$wxUSE_STACKWALKER" = yes; then
5109 echo "$as_me:$LINENO: result: yes" >&5
5110 echo "${ECHO_T}yes" >&6
5111 else
5112 echo "$as_me:$LINENO: result: no" >&5
5113 echo "${ECHO_T}no" >&6
5114 fi
5115
5116
5117 enablestring=
5118 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5119 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5120 no_cache=0
5121 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5122 if test "${enable_catch_segvs+set}" = set; then
5123 enableval="$enable_catch_segvs"
5124
5125 if test "$enableval" = yes; then
5126 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5127 else
5128 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5129 fi
5130
5131 else
5132
5133 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5134 if test "x$LINE" != x ; then
5135 eval "DEFAULT_$LINE"
5136 else
5137 no_cache=1
5138 fi
5139
5140 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5141
5142 fi;
5143
5144 eval "$ac_cv_use_catch_segvs"
5145 if test "$no_cache" != 1; then
5146 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5147 fi
5148
5149 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5150 echo "$as_me:$LINENO: result: yes" >&5
5151 echo "${ECHO_T}yes" >&6
5152 else
5153 echo "$as_me:$LINENO: result: no" >&5
5154 echo "${ECHO_T}no" >&6
5155 fi
5156
5157
5158 enablestring=
5159 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5160 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5161 no_cache=0
5162 # Check whether --enable-cmdline or --disable-cmdline was given.
5163 if test "${enable_cmdline+set}" = set; then
5164 enableval="$enable_cmdline"
5165
5166 if test "$enableval" = yes; then
5167 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5168 else
5169 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5170 fi
5171
5172 else
5173
5174 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5175 if test "x$LINE" != x ; then
5176 eval "DEFAULT_$LINE"
5177 else
5178 no_cache=1
5179 fi
5180
5181 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5182
5183 fi;
5184
5185 eval "$ac_cv_use_cmdline"
5186 if test "$no_cache" != 1; then
5187 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5188 fi
5189
5190 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5191 echo "$as_me:$LINENO: result: yes" >&5
5192 echo "${ECHO_T}yes" >&6
5193 else
5194 echo "$as_me:$LINENO: result: no" >&5
5195 echo "${ECHO_T}no" >&6
5196 fi
5197
5198
5199 enablestring=
5200 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5201 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5202 no_cache=0
5203 # Check whether --enable-datetime or --disable-datetime was given.
5204 if test "${enable_datetime+set}" = set; then
5205 enableval="$enable_datetime"
5206
5207 if test "$enableval" = yes; then
5208 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5209 else
5210 ac_cv_use_datetime='wxUSE_DATETIME=no'
5211 fi
5212
5213 else
5214
5215 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5216 if test "x$LINE" != x ; then
5217 eval "DEFAULT_$LINE"
5218 else
5219 no_cache=1
5220 fi
5221
5222 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5223
5224 fi;
5225
5226 eval "$ac_cv_use_datetime"
5227 if test "$no_cache" != 1; then
5228 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5229 fi
5230
5231 if test "$wxUSE_DATETIME" = yes; then
5232 echo "$as_me:$LINENO: result: yes" >&5
5233 echo "${ECHO_T}yes" >&6
5234 else
5235 echo "$as_me:$LINENO: result: no" >&5
5236 echo "${ECHO_T}no" >&6
5237 fi
5238
5239
5240 enablestring=
5241 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5242 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5243 no_cache=0
5244 # Check whether --enable-debugreport or --disable-debugreport was given.
5245 if test "${enable_debugreport+set}" = set; then
5246 enableval="$enable_debugreport"
5247
5248 if test "$enableval" = yes; then
5249 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5250 else
5251 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5252 fi
5253
5254 else
5255
5256 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5257 if test "x$LINE" != x ; then
5258 eval "DEFAULT_$LINE"
5259 else
5260 no_cache=1
5261 fi
5262
5263 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5264
5265 fi;
5266
5267 eval "$ac_cv_use_debugreport"
5268 if test "$no_cache" != 1; then
5269 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5270 fi
5271
5272 if test "$wxUSE_DEBUGREPORT" = yes; then
5273 echo "$as_me:$LINENO: result: yes" >&5
5274 echo "${ECHO_T}yes" >&6
5275 else
5276 echo "$as_me:$LINENO: result: no" >&5
5277 echo "${ECHO_T}no" >&6
5278 fi
5279
5280
5281 enablestring=
5282 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5283 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5284 no_cache=0
5285 # Check whether --enable-dialupman or --disable-dialupman was given.
5286 if test "${enable_dialupman+set}" = set; then
5287 enableval="$enable_dialupman"
5288
5289 if test "$enableval" = yes; then
5290 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
5291 else
5292 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
5293 fi
5294
5295 else
5296
5297 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5298 if test "x$LINE" != x ; then
5299 eval "DEFAULT_$LINE"
5300 else
5301 no_cache=1
5302 fi
5303
5304 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5305
5306 fi;
5307
5308 eval "$ac_cv_use_dialupman"
5309 if test "$no_cache" != 1; then
5310 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5311 fi
5312
5313 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5314 echo "$as_me:$LINENO: result: yes" >&5
5315 echo "${ECHO_T}yes" >&6
5316 else
5317 echo "$as_me:$LINENO: result: no" >&5
5318 echo "${ECHO_T}no" >&6
5319 fi
5320
5321
5322 enablestring=
5323 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5324 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5325 no_cache=0
5326 # Check whether --enable-dynlib or --disable-dynlib was given.
5327 if test "${enable_dynlib+set}" = set; then
5328 enableval="$enable_dynlib"
5329
5330 if test "$enableval" = yes; then
5331 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5332 else
5333 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5334 fi
5335
5336 else
5337
5338 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5339 if test "x$LINE" != x ; then
5340 eval "DEFAULT_$LINE"
5341 else
5342 no_cache=1
5343 fi
5344
5345 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5346
5347 fi;
5348
5349 eval "$ac_cv_use_dynlib"
5350 if test "$no_cache" != 1; then
5351 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5352 fi
5353
5354 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5355 echo "$as_me:$LINENO: result: yes" >&5
5356 echo "${ECHO_T}yes" >&6
5357 else
5358 echo "$as_me:$LINENO: result: no" >&5
5359 echo "${ECHO_T}no" >&6
5360 fi
5361
5362
5363 enablestring=
5364 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5365 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5366 no_cache=0
5367 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5368 if test "${enable_dynamicloader+set}" = set; then
5369 enableval="$enable_dynamicloader"
5370
5371 if test "$enableval" = yes; then
5372 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5373 else
5374 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5375 fi
5376
5377 else
5378
5379 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5380 if test "x$LINE" != x ; then
5381 eval "DEFAULT_$LINE"
5382 else
5383 no_cache=1
5384 fi
5385
5386 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5387
5388 fi;
5389
5390 eval "$ac_cv_use_dynamicloader"
5391 if test "$no_cache" != 1; then
5392 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5393 fi
5394
5395 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5396 echo "$as_me:$LINENO: result: yes" >&5
5397 echo "${ECHO_T}yes" >&6
5398 else
5399 echo "$as_me:$LINENO: result: no" >&5
5400 echo "${ECHO_T}no" >&6
5401 fi
5402
5403
5404 enablestring=
5405 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5406 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5407 no_cache=0
5408 # Check whether --enable-exceptions or --disable-exceptions was given.
5409 if test "${enable_exceptions+set}" = set; then
5410 enableval="$enable_exceptions"
5411
5412 if test "$enableval" = yes; then
5413 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5414 else
5415 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5416 fi
5417
5418 else
5419
5420 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5421 if test "x$LINE" != x ; then
5422 eval "DEFAULT_$LINE"
5423 else
5424 no_cache=1
5425 fi
5426
5427 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5428
5429 fi;
5430
5431 eval "$ac_cv_use_exceptions"
5432 if test "$no_cache" != 1; then
5433 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5434 fi
5435
5436 if test "$wxUSE_EXCEPTIONS" = yes; then
5437 echo "$as_me:$LINENO: result: yes" >&5
5438 echo "${ECHO_T}yes" >&6
5439 else
5440 echo "$as_me:$LINENO: result: no" >&5
5441 echo "${ECHO_T}no" >&6
5442 fi
5443
5444
5445 enablestring=
5446 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5447 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5448 no_cache=0
5449 # Check whether --enable-ffile or --disable-ffile was given.
5450 if test "${enable_ffile+set}" = set; then
5451 enableval="$enable_ffile"
5452
5453 if test "$enableval" = yes; then
5454 ac_cv_use_ffile='wxUSE_FFILE=yes'
5455 else
5456 ac_cv_use_ffile='wxUSE_FFILE=no'
5457 fi
5458
5459 else
5460
5461 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5462 if test "x$LINE" != x ; then
5463 eval "DEFAULT_$LINE"
5464 else
5465 no_cache=1
5466 fi
5467
5468 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5469
5470 fi;
5471
5472 eval "$ac_cv_use_ffile"
5473 if test "$no_cache" != 1; then
5474 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5475 fi
5476
5477 if test "$wxUSE_FFILE" = yes; then
5478 echo "$as_me:$LINENO: result: yes" >&5
5479 echo "${ECHO_T}yes" >&6
5480 else
5481 echo "$as_me:$LINENO: result: no" >&5
5482 echo "${ECHO_T}no" >&6
5483 fi
5484
5485
5486 enablestring=
5487 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5488 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5489 no_cache=0
5490 # Check whether --enable-file or --disable-file was given.
5491 if test "${enable_file+set}" = set; then
5492 enableval="$enable_file"
5493
5494 if test "$enableval" = yes; then
5495 ac_cv_use_file='wxUSE_FILE=yes'
5496 else
5497 ac_cv_use_file='wxUSE_FILE=no'
5498 fi
5499
5500 else
5501
5502 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5503 if test "x$LINE" != x ; then
5504 eval "DEFAULT_$LINE"
5505 else
5506 no_cache=1
5507 fi
5508
5509 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5510
5511 fi;
5512
5513 eval "$ac_cv_use_file"
5514 if test "$no_cache" != 1; then
5515 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5516 fi
5517
5518 if test "$wxUSE_FILE" = yes; then
5519 echo "$as_me:$LINENO: result: yes" >&5
5520 echo "${ECHO_T}yes" >&6
5521 else
5522 echo "$as_me:$LINENO: result: no" >&5
5523 echo "${ECHO_T}no" >&6
5524 fi
5525
5526
5527 enablestring=
5528 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5529 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5530 no_cache=0
5531 # Check whether --enable-filesystem or --disable-filesystem was given.
5532 if test "${enable_filesystem+set}" = set; then
5533 enableval="$enable_filesystem"
5534
5535 if test "$enableval" = yes; then
5536 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5537 else
5538 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5539 fi
5540
5541 else
5542
5543 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5544 if test "x$LINE" != x ; then
5545 eval "DEFAULT_$LINE"
5546 else
5547 no_cache=1
5548 fi
5549
5550 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5551
5552 fi;
5553
5554 eval "$ac_cv_use_filesystem"
5555 if test "$no_cache" != 1; then
5556 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5557 fi
5558
5559 if test "$wxUSE_FILESYSTEM" = yes; then
5560 echo "$as_me:$LINENO: result: yes" >&5
5561 echo "${ECHO_T}yes" >&6
5562 else
5563 echo "$as_me:$LINENO: result: no" >&5
5564 echo "${ECHO_T}no" >&6
5565 fi
5566
5567
5568 enablestring=
5569 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5570 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5571 no_cache=0
5572 # Check whether --enable-fontmap or --disable-fontmap was given.
5573 if test "${enable_fontmap+set}" = set; then
5574 enableval="$enable_fontmap"
5575
5576 if test "$enableval" = yes; then
5577 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5578 else
5579 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5580 fi
5581
5582 else
5583
5584 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5585 if test "x$LINE" != x ; then
5586 eval "DEFAULT_$LINE"
5587 else
5588 no_cache=1
5589 fi
5590
5591 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5592
5593 fi;
5594
5595 eval "$ac_cv_use_fontmap"
5596 if test "$no_cache" != 1; then
5597 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5598 fi
5599
5600 if test "$wxUSE_FONTMAP" = yes; then
5601 echo "$as_me:$LINENO: result: yes" >&5
5602 echo "${ECHO_T}yes" >&6
5603 else
5604 echo "$as_me:$LINENO: result: no" >&5
5605 echo "${ECHO_T}no" >&6
5606 fi
5607
5608
5609 enablestring=
5610 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
5611 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6
5612 no_cache=0
5613 # Check whether --enable-fs_archive or --disable-fs_archive was given.
5614 if test "${enable_fs_archive+set}" = set; then
5615 enableval="$enable_fs_archive"
5616
5617 if test "$enableval" = yes; then
5618 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
5619 else
5620 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
5621 fi
5622
5623 else
5624
5625 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
5626 if test "x$LINE" != x ; then
5627 eval "DEFAULT_$LINE"
5628 else
5629 no_cache=1
5630 fi
5631
5632 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
5633
5634 fi;
5635
5636 eval "$ac_cv_use_fs_archive"
5637 if test "$no_cache" != 1; then
5638 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
5639 fi
5640
5641 if test "$wxUSE_FS_ARCHIVE" = yes; then
5642 echo "$as_me:$LINENO: result: yes" >&5
5643 echo "${ECHO_T}yes" >&6
5644 else
5645 echo "$as_me:$LINENO: result: no" >&5
5646 echo "${ECHO_T}no" >&6
5647 fi
5648
5649
5650 enablestring=
5651 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5652 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5653 no_cache=0
5654 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5655 if test "${enable_fs_inet+set}" = set; then
5656 enableval="$enable_fs_inet"
5657
5658 if test "$enableval" = yes; then
5659 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5660 else
5661 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5662 fi
5663
5664 else
5665
5666 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5667 if test "x$LINE" != x ; then
5668 eval "DEFAULT_$LINE"
5669 else
5670 no_cache=1
5671 fi
5672
5673 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5674
5675 fi;
5676
5677 eval "$ac_cv_use_fs_inet"
5678 if test "$no_cache" != 1; then
5679 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5680 fi
5681
5682 if test "$wxUSE_FS_INET" = yes; then
5683 echo "$as_me:$LINENO: result: yes" >&5
5684 echo "${ECHO_T}yes" >&6
5685 else
5686 echo "$as_me:$LINENO: result: no" >&5
5687 echo "${ECHO_T}no" >&6
5688 fi
5689
5690
5691 enablestring=
5692 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5693 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5694 no_cache=0
5695 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5696 if test "${enable_fs_zip+set}" = set; then
5697 enableval="$enable_fs_zip"
5698
5699 if test "$enableval" = yes; then
5700 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5701 else
5702 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5703 fi
5704
5705 else
5706
5707 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5708 if test "x$LINE" != x ; then
5709 eval "DEFAULT_$LINE"
5710 else
5711 no_cache=1
5712 fi
5713
5714 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5715
5716 fi;
5717
5718 eval "$ac_cv_use_fs_zip"
5719 if test "$no_cache" != 1; then
5720 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5721 fi
5722
5723 if test "$wxUSE_FS_ZIP" = yes; then
5724 echo "$as_me:$LINENO: result: yes" >&5
5725 echo "${ECHO_T}yes" >&6
5726 else
5727 echo "$as_me:$LINENO: result: no" >&5
5728 echo "${ECHO_T}no" >&6
5729 fi
5730
5731
5732 enablestring=
5733 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5734 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5735 no_cache=0
5736 # Check whether --enable-geometry or --disable-geometry was given.
5737 if test "${enable_geometry+set}" = set; then
5738 enableval="$enable_geometry"
5739
5740 if test "$enableval" = yes; then
5741 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5742 else
5743 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5744 fi
5745
5746 else
5747
5748 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5749 if test "x$LINE" != x ; then
5750 eval "DEFAULT_$LINE"
5751 else
5752 no_cache=1
5753 fi
5754
5755 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5756
5757 fi;
5758
5759 eval "$ac_cv_use_geometry"
5760 if test "$no_cache" != 1; then
5761 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5762 fi
5763
5764 if test "$wxUSE_GEOMETRY" = yes; then
5765 echo "$as_me:$LINENO: result: yes" >&5
5766 echo "${ECHO_T}yes" >&6
5767 else
5768 echo "$as_me:$LINENO: result: no" >&5
5769 echo "${ECHO_T}no" >&6
5770 fi
5771
5772
5773 enablestring=
5774 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5775 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5776 no_cache=0
5777 # Check whether --enable-log or --disable-log was given.
5778 if test "${enable_log+set}" = set; then
5779 enableval="$enable_log"
5780
5781 if test "$enableval" = yes; then
5782 ac_cv_use_log='wxUSE_LOG=yes'
5783 else
5784 ac_cv_use_log='wxUSE_LOG=no'
5785 fi
5786
5787 else
5788
5789 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5790 if test "x$LINE" != x ; then
5791 eval "DEFAULT_$LINE"
5792 else
5793 no_cache=1
5794 fi
5795
5796 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5797
5798 fi;
5799
5800 eval "$ac_cv_use_log"
5801 if test "$no_cache" != 1; then
5802 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5803 fi
5804
5805 if test "$wxUSE_LOG" = yes; then
5806 echo "$as_me:$LINENO: result: yes" >&5
5807 echo "${ECHO_T}yes" >&6
5808 else
5809 echo "$as_me:$LINENO: result: no" >&5
5810 echo "${ECHO_T}no" >&6
5811 fi
5812
5813
5814 enablestring=
5815 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5816 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5817 no_cache=0
5818 # Check whether --enable-longlong or --disable-longlong was given.
5819 if test "${enable_longlong+set}" = set; then
5820 enableval="$enable_longlong"
5821
5822 if test "$enableval" = yes; then
5823 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5824 else
5825 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5826 fi
5827
5828 else
5829
5830 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5831 if test "x$LINE" != x ; then
5832 eval "DEFAULT_$LINE"
5833 else
5834 no_cache=1
5835 fi
5836
5837 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5838
5839 fi;
5840
5841 eval "$ac_cv_use_longlong"
5842 if test "$no_cache" != 1; then
5843 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5844 fi
5845
5846 if test "$wxUSE_LONGLONG" = yes; then
5847 echo "$as_me:$LINENO: result: yes" >&5
5848 echo "${ECHO_T}yes" >&6
5849 else
5850 echo "$as_me:$LINENO: result: no" >&5
5851 echo "${ECHO_T}no" >&6
5852 fi
5853
5854
5855 enablestring=
5856 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5857 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5858 no_cache=0
5859 # Check whether --enable-mimetype or --disable-mimetype was given.
5860 if test "${enable_mimetype+set}" = set; then
5861 enableval="$enable_mimetype"
5862
5863 if test "$enableval" = yes; then
5864 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5865 else
5866 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5867 fi
5868
5869 else
5870
5871 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5872 if test "x$LINE" != x ; then
5873 eval "DEFAULT_$LINE"
5874 else
5875 no_cache=1
5876 fi
5877
5878 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5879
5880 fi;
5881
5882 eval "$ac_cv_use_mimetype"
5883 if test "$no_cache" != 1; then
5884 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5885 fi
5886
5887 if test "$wxUSE_MIMETYPE" = yes; then
5888 echo "$as_me:$LINENO: result: yes" >&5
5889 echo "${ECHO_T}yes" >&6
5890 else
5891 echo "$as_me:$LINENO: result: no" >&5
5892 echo "${ECHO_T}no" >&6
5893 fi
5894
5895
5896 enablestring=
5897 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5898 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5899 no_cache=0
5900 # Check whether --enable-mslu or --disable-mslu was given.
5901 if test "${enable_mslu+set}" = set; then
5902 enableval="$enable_mslu"
5903
5904 if test "$enableval" = yes; then
5905 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5906 else
5907 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5908 fi
5909
5910 else
5911
5912 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5913 if test "x$LINE" != x ; then
5914 eval "DEFAULT_$LINE"
5915 else
5916 no_cache=1
5917 fi
5918
5919 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5920
5921 fi;
5922
5923 eval "$ac_cv_use_mslu"
5924 if test "$no_cache" != 1; then
5925 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5926 fi
5927
5928 if test "$wxUSE_UNICODE_MSLU" = yes; then
5929 echo "$as_me:$LINENO: result: yes" >&5
5930 echo "${ECHO_T}yes" >&6
5931 else
5932 echo "$as_me:$LINENO: result: no" >&5
5933 echo "${ECHO_T}no" >&6
5934 fi
5935
5936
5937 enablestring=
5938 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5939 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5940 no_cache=0
5941 # Check whether --enable-snglinst or --disable-snglinst was given.
5942 if test "${enable_snglinst+set}" = set; then
5943 enableval="$enable_snglinst"
5944
5945 if test "$enableval" = yes; then
5946 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5947 else
5948 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5949 fi
5950
5951 else
5952
5953 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5954 if test "x$LINE" != x ; then
5955 eval "DEFAULT_$LINE"
5956 else
5957 no_cache=1
5958 fi
5959
5960 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5961
5962 fi;
5963
5964 eval "$ac_cv_use_snglinst"
5965 if test "$no_cache" != 1; then
5966 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5967 fi
5968
5969 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5970 echo "$as_me:$LINENO: result: yes" >&5
5971 echo "${ECHO_T}yes" >&6
5972 else
5973 echo "$as_me:$LINENO: result: no" >&5
5974 echo "${ECHO_T}no" >&6
5975 fi
5976
5977
5978 enablestring=
5979 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5980 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5981 no_cache=0
5982 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5983 if test "${enable_std_iostreams+set}" = set; then
5984 enableval="$enable_std_iostreams"
5985
5986 if test "$enableval" = yes; then
5987 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5988 else
5989 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5990 fi
5991
5992 else
5993
5994 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5995 if test "x$LINE" != x ; then
5996 eval "DEFAULT_$LINE"
5997 else
5998 no_cache=1
5999 fi
6000
6001 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6002
6003 fi;
6004
6005 eval "$ac_cv_use_std_iostreams"
6006 if test "$no_cache" != 1; then
6007 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6008 fi
6009
6010 if test "$wxUSE_STD_IOSTREAM" = yes; then
6011 echo "$as_me:$LINENO: result: yes" >&5
6012 echo "${ECHO_T}yes" >&6
6013 else
6014 echo "$as_me:$LINENO: result: no" >&5
6015 echo "${ECHO_T}no" >&6
6016 fi
6017
6018
6019 enablestring=
6020 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6021 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
6022 no_cache=0
6023 # Check whether --enable-std_string or --disable-std_string was given.
6024 if test "${enable_std_string+set}" = set; then
6025 enableval="$enable_std_string"
6026
6027 if test "$enableval" = yes; then
6028 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6029 else
6030 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6031 fi
6032
6033 else
6034
6035 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6036 if test "x$LINE" != x ; then
6037 eval "DEFAULT_$LINE"
6038 else
6039 no_cache=1
6040 fi
6041
6042 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6043
6044 fi;
6045
6046 eval "$ac_cv_use_std_string"
6047 if test "$no_cache" != 1; then
6048 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6049 fi
6050
6051 if test "$wxUSE_STD_STRING" = yes; then
6052 echo "$as_me:$LINENO: result: yes" >&5
6053 echo "${ECHO_T}yes" >&6
6054 else
6055 echo "$as_me:$LINENO: result: no" >&5
6056 echo "${ECHO_T}no" >&6
6057 fi
6058
6059
6060 enablestring=
6061 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6062 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
6063 no_cache=0
6064 # Check whether --enable-stdpaths or --disable-stdpaths was given.
6065 if test "${enable_stdpaths+set}" = set; then
6066 enableval="$enable_stdpaths"
6067
6068 if test "$enableval" = yes; then
6069 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6070 else
6071 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6072 fi
6073
6074 else
6075
6076 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6077 if test "x$LINE" != x ; then
6078 eval "DEFAULT_$LINE"
6079 else
6080 no_cache=1
6081 fi
6082
6083 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6084
6085 fi;
6086
6087 eval "$ac_cv_use_stdpaths"
6088 if test "$no_cache" != 1; then
6089 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6090 fi
6091
6092 if test "$wxUSE_STDPATHS" = yes; then
6093 echo "$as_me:$LINENO: result: yes" >&5
6094 echo "${ECHO_T}yes" >&6
6095 else
6096 echo "$as_me:$LINENO: result: no" >&5
6097 echo "${ECHO_T}no" >&6
6098 fi
6099
6100
6101 enablestring=
6102 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6103 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6104 no_cache=0
6105 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6106 if test "${enable_stopwatch+set}" = set; then
6107 enableval="$enable_stopwatch"
6108
6109 if test "$enableval" = yes; then
6110 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6111 else
6112 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6113 fi
6114
6115 else
6116
6117 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6118 if test "x$LINE" != x ; then
6119 eval "DEFAULT_$LINE"
6120 else
6121 no_cache=1
6122 fi
6123
6124 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6125
6126 fi;
6127
6128 eval "$ac_cv_use_stopwatch"
6129 if test "$no_cache" != 1; then
6130 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6131 fi
6132
6133 if test "$wxUSE_STOPWATCH" = yes; then
6134 echo "$as_me:$LINENO: result: yes" >&5
6135 echo "${ECHO_T}yes" >&6
6136 else
6137 echo "$as_me:$LINENO: result: no" >&5
6138 echo "${ECHO_T}no" >&6
6139 fi
6140
6141
6142 enablestring=
6143 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6144 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6145 no_cache=0
6146 # Check whether --enable-streams or --disable-streams was given.
6147 if test "${enable_streams+set}" = set; then
6148 enableval="$enable_streams"
6149
6150 if test "$enableval" = yes; then
6151 ac_cv_use_streams='wxUSE_STREAMS=yes'
6152 else
6153 ac_cv_use_streams='wxUSE_STREAMS=no'
6154 fi
6155
6156 else
6157
6158 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6159 if test "x$LINE" != x ; then
6160 eval "DEFAULT_$LINE"
6161 else
6162 no_cache=1
6163 fi
6164
6165 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6166
6167 fi;
6168
6169 eval "$ac_cv_use_streams"
6170 if test "$no_cache" != 1; then
6171 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6172 fi
6173
6174 if test "$wxUSE_STREAMS" = yes; then
6175 echo "$as_me:$LINENO: result: yes" >&5
6176 echo "${ECHO_T}yes" >&6
6177 else
6178 echo "$as_me:$LINENO: result: no" >&5
6179 echo "${ECHO_T}no" >&6
6180 fi
6181
6182
6183 enablestring=
6184 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6185 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6186 no_cache=0
6187 # Check whether --enable-system_options or --disable-system_options was given.
6188 if test "${enable_system_options+set}" = set; then
6189 enableval="$enable_system_options"
6190
6191 if test "$enableval" = yes; then
6192 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6193 else
6194 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6195 fi
6196
6197 else
6198
6199 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6200 if test "x$LINE" != x ; then
6201 eval "DEFAULT_$LINE"
6202 else
6203 no_cache=1
6204 fi
6205
6206 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6207
6208 fi;
6209
6210 eval "$ac_cv_use_system_options"
6211 if test "$no_cache" != 1; then
6212 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6213 fi
6214
6215 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6216 echo "$as_me:$LINENO: result: yes" >&5
6217 echo "${ECHO_T}yes" >&6
6218 else
6219 echo "$as_me:$LINENO: result: no" >&5
6220 echo "${ECHO_T}no" >&6
6221 fi
6222
6223
6224 enablestring=
6225 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6226 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6
6227 no_cache=0
6228 # Check whether --enable-tarstream or --disable-tarstream was given.
6229 if test "${enable_tarstream+set}" = set; then
6230 enableval="$enable_tarstream"
6231
6232 if test "$enableval" = yes; then
6233 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6234 else
6235 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
6236 fi
6237
6238 else
6239
6240 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
6241 if test "x$LINE" != x ; then
6242 eval "DEFAULT_$LINE"
6243 else
6244 no_cache=1
6245 fi
6246
6247 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
6248
6249 fi;
6250
6251 eval "$ac_cv_use_tarstream"
6252 if test "$no_cache" != 1; then
6253 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
6254 fi
6255
6256 if test "$wxUSE_TARSTREAM" = yes; then
6257 echo "$as_me:$LINENO: result: yes" >&5
6258 echo "${ECHO_T}yes" >&6
6259 else
6260 echo "$as_me:$LINENO: result: no" >&5
6261 echo "${ECHO_T}no" >&6
6262 fi
6263
6264
6265 enablestring=
6266 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6267 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6268 no_cache=0
6269 # Check whether --enable-textbuf or --disable-textbuf was given.
6270 if test "${enable_textbuf+set}" = set; then
6271 enableval="$enable_textbuf"
6272
6273 if test "$enableval" = yes; then
6274 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
6275 else
6276 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
6277 fi
6278
6279 else
6280
6281 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6282 if test "x$LINE" != x ; then
6283 eval "DEFAULT_$LINE"
6284 else
6285 no_cache=1
6286 fi
6287
6288 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6289
6290 fi;
6291
6292 eval "$ac_cv_use_textbuf"
6293 if test "$no_cache" != 1; then
6294 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6295 fi
6296
6297 if test "$wxUSE_TEXTBUFFER" = yes; then
6298 echo "$as_me:$LINENO: result: yes" >&5
6299 echo "${ECHO_T}yes" >&6
6300 else
6301 echo "$as_me:$LINENO: result: no" >&5
6302 echo "${ECHO_T}no" >&6
6303 fi
6304
6305
6306 enablestring=
6307 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6308 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6309 no_cache=0
6310 # Check whether --enable-textfile or --disable-textfile was given.
6311 if test "${enable_textfile+set}" = set; then
6312 enableval="$enable_textfile"
6313
6314 if test "$enableval" = yes; then
6315 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
6316 else
6317 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
6318 fi
6319
6320 else
6321
6322 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6323 if test "x$LINE" != x ; then
6324 eval "DEFAULT_$LINE"
6325 else
6326 no_cache=1
6327 fi
6328
6329 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6330
6331 fi;
6332
6333 eval "$ac_cv_use_textfile"
6334 if test "$no_cache" != 1; then
6335 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6336 fi
6337
6338 if test "$wxUSE_TEXTFILE" = yes; then
6339 echo "$as_me:$LINENO: result: yes" >&5
6340 echo "${ECHO_T}yes" >&6
6341 else
6342 echo "$as_me:$LINENO: result: no" >&5
6343 echo "${ECHO_T}no" >&6
6344 fi
6345
6346
6347 enablestring=
6348 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6349 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6350 no_cache=0
6351 # Check whether --enable-timer or --disable-timer was given.
6352 if test "${enable_timer+set}" = set; then
6353 enableval="$enable_timer"
6354
6355 if test "$enableval" = yes; then
6356 ac_cv_use_timer='wxUSE_TIMER=yes'
6357 else
6358 ac_cv_use_timer='wxUSE_TIMER=no'
6359 fi
6360
6361 else
6362
6363 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6364 if test "x$LINE" != x ; then
6365 eval "DEFAULT_$LINE"
6366 else
6367 no_cache=1
6368 fi
6369
6370 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6371
6372 fi;
6373
6374 eval "$ac_cv_use_timer"
6375 if test "$no_cache" != 1; then
6376 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6377 fi
6378
6379 if test "$wxUSE_TIMER" = yes; then
6380 echo "$as_me:$LINENO: result: yes" >&5
6381 echo "${ECHO_T}yes" >&6
6382 else
6383 echo "$as_me:$LINENO: result: no" >&5
6384 echo "${ECHO_T}no" >&6
6385 fi
6386
6387
6388 enablestring=
6389 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6390 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6391 no_cache=0
6392 # Check whether --enable-unicode or --disable-unicode was given.
6393 if test "${enable_unicode+set}" = set; then
6394 enableval="$enable_unicode"
6395
6396 if test "$enableval" = yes; then
6397 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6398 else
6399 ac_cv_use_unicode='wxUSE_UNICODE=no'
6400 fi
6401
6402 else
6403
6404 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6405 if test "x$LINE" != x ; then
6406 eval "DEFAULT_$LINE"
6407 else
6408 no_cache=1
6409 fi
6410
6411 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6412
6413 fi;
6414
6415 eval "$ac_cv_use_unicode"
6416 if test "$no_cache" != 1; then
6417 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6418 fi
6419
6420 if test "$wxUSE_UNICODE" = yes; then
6421 echo "$as_me:$LINENO: result: yes" >&5
6422 echo "${ECHO_T}yes" >&6
6423 else
6424 echo "$as_me:$LINENO: result: no" >&5
6425 echo "${ECHO_T}no" >&6
6426 fi
6427
6428
6429 enablestring=
6430 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6431 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6432 no_cache=0
6433 # Check whether --enable-sound or --disable-sound was given.
6434 if test "${enable_sound+set}" = set; then
6435 enableval="$enable_sound"
6436
6437 if test "$enableval" = yes; then
6438 ac_cv_use_sound='wxUSE_SOUND=yes'
6439 else
6440 ac_cv_use_sound='wxUSE_SOUND=no'
6441 fi
6442
6443 else
6444
6445 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6446 if test "x$LINE" != x ; then
6447 eval "DEFAULT_$LINE"
6448 else
6449 no_cache=1
6450 fi
6451
6452 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6453
6454 fi;
6455
6456 eval "$ac_cv_use_sound"
6457 if test "$no_cache" != 1; then
6458 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6459 fi
6460
6461 if test "$wxUSE_SOUND" = yes; then
6462 echo "$as_me:$LINENO: result: yes" >&5
6463 echo "${ECHO_T}yes" >&6
6464 else
6465 echo "$as_me:$LINENO: result: no" >&5
6466 echo "${ECHO_T}no" >&6
6467 fi
6468
6469
6470 enablestring=
6471 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6472 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6473 no_cache=0
6474 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6475 if test "${enable_mediactrl+set}" = set; then
6476 enableval="$enable_mediactrl"
6477
6478 if test "$enableval" = yes; then
6479 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6480 else
6481 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6482 fi
6483
6484 else
6485
6486 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6487 if test "x$LINE" != x ; then
6488 eval "DEFAULT_$LINE"
6489 else
6490 no_cache=1
6491 fi
6492
6493 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6494
6495 fi;
6496
6497 eval "$ac_cv_use_mediactrl"
6498 if test "$no_cache" != 1; then
6499 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6500 fi
6501
6502 if test "$wxUSE_MEDIACTRL" = yes; then
6503 echo "$as_me:$LINENO: result: yes" >&5
6504 echo "${ECHO_T}yes" >&6
6505 else
6506 echo "$as_me:$LINENO: result: no" >&5
6507 echo "${ECHO_T}no" >&6
6508 fi
6509
6510
6511 enablestring=
6512 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6513 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6514 no_cache=0
6515 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6516 if test "${enable_gstreamer8+set}" = set; then
6517 enableval="$enable_gstreamer8"
6518
6519 if test "$enableval" = yes; then
6520 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
6521 else
6522 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
6523 fi
6524
6525 else
6526
6527 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6528 if test "x$LINE" != x ; then
6529 eval "DEFAULT_$LINE"
6530 else
6531 no_cache=1
6532 fi
6533
6534 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6535
6536 fi;
6537
6538 eval "$ac_cv_use_gstreamer8"
6539 if test "$no_cache" != 1; then
6540 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6541 fi
6542
6543 if test "$wxUSE_GSTREAMER8" = yes; then
6544 echo "$as_me:$LINENO: result: yes" >&5
6545 echo "${ECHO_T}yes" >&6
6546 else
6547 echo "$as_me:$LINENO: result: no" >&5
6548 echo "${ECHO_T}no" >&6
6549 fi
6550
6551
6552 enablestring=
6553 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6554 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6555 no_cache=0
6556 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6557 if test "${enable_printfposparam+set}" = set; then
6558 enableval="$enable_printfposparam"
6559
6560 if test "$enableval" = yes; then
6561 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
6562 else
6563 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
6564 fi
6565
6566 else
6567
6568 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6569 if test "x$LINE" != x ; then
6570 eval "DEFAULT_$LINE"
6571 else
6572 no_cache=1
6573 fi
6574
6575 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6576
6577 fi;
6578
6579 eval "$ac_cv_use_printfposparam"
6580 if test "$no_cache" != 1; then
6581 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6582 fi
6583
6584 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6585 echo "$as_me:$LINENO: result: yes" >&5
6586 echo "${ECHO_T}yes" >&6
6587 else
6588 echo "$as_me:$LINENO: result: no" >&5
6589 echo "${ECHO_T}no" >&6
6590 fi
6591
6592
6593 enablestring=
6594 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6595 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6596 no_cache=0
6597 # Check whether --enable-zipstream or --disable-zipstream was given.
6598 if test "${enable_zipstream+set}" = set; then
6599 enableval="$enable_zipstream"
6600
6601 if test "$enableval" = yes; then
6602 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6603 else
6604 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6605 fi
6606
6607 else
6608
6609 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6610 if test "x$LINE" != x ; then
6611 eval "DEFAULT_$LINE"
6612 else
6613 no_cache=1
6614 fi
6615
6616 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6617
6618 fi;
6619
6620 eval "$ac_cv_use_zipstream"
6621 if test "$no_cache" != 1; then
6622 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6623 fi
6624
6625 if test "$wxUSE_ZIPSTREAM" = yes; then
6626 echo "$as_me:$LINENO: result: yes" >&5
6627 echo "${ECHO_T}yes" >&6
6628 else
6629 echo "$as_me:$LINENO: result: no" >&5
6630 echo "${ECHO_T}no" >&6
6631 fi
6632
6633
6634
6635 enablestring=
6636 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6637 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6638 no_cache=0
6639 # Check whether --enable-url or --disable-url was given.
6640 if test "${enable_url+set}" = set; then
6641 enableval="$enable_url"
6642
6643 if test "$enableval" = yes; then
6644 ac_cv_use_url='wxUSE_URL=yes'
6645 else
6646 ac_cv_use_url='wxUSE_URL=no'
6647 fi
6648
6649 else
6650
6651 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6652 if test "x$LINE" != x ; then
6653 eval "DEFAULT_$LINE"
6654 else
6655 no_cache=1
6656 fi
6657
6658 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6659
6660 fi;
6661
6662 eval "$ac_cv_use_url"
6663 if test "$no_cache" != 1; then
6664 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6665 fi
6666
6667 if test "$wxUSE_URL" = yes; then
6668 echo "$as_me:$LINENO: result: yes" >&5
6669 echo "${ECHO_T}yes" >&6
6670 else
6671 echo "$as_me:$LINENO: result: no" >&5
6672 echo "${ECHO_T}no" >&6
6673 fi
6674
6675
6676 enablestring=
6677 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6678 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6679 no_cache=0
6680 # Check whether --enable-variant or --disable-variant was given.
6681 if test "${enable_variant+set}" = set; then
6682 enableval="$enable_variant"
6683
6684 if test "$enableval" = yes; then
6685 ac_cv_use_variant='wxUSE_VARIANT=yes'
6686 else
6687 ac_cv_use_variant='wxUSE_VARIANT=no'
6688 fi
6689
6690 else
6691
6692 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6693 if test "x$LINE" != x ; then
6694 eval "DEFAULT_$LINE"
6695 else
6696 no_cache=1
6697 fi
6698
6699 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6700
6701 fi;
6702
6703 eval "$ac_cv_use_variant"
6704 if test "$no_cache" != 1; then
6705 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6706 fi
6707
6708 if test "$wxUSE_VARIANT" = yes; then
6709 echo "$as_me:$LINENO: result: yes" >&5
6710 echo "${ECHO_T}yes" >&6
6711 else
6712 echo "$as_me:$LINENO: result: no" >&5
6713 echo "${ECHO_T}no" >&6
6714 fi
6715
6716
6717 enablestring=
6718 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6719 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6720 no_cache=0
6721 # Check whether --enable-protocol or --disable-protocol was given.
6722 if test "${enable_protocol+set}" = set; then
6723 enableval="$enable_protocol"
6724
6725 if test "$enableval" = yes; then
6726 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6727 else
6728 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6729 fi
6730
6731 else
6732
6733 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6734 if test "x$LINE" != x ; then
6735 eval "DEFAULT_$LINE"
6736 else
6737 no_cache=1
6738 fi
6739
6740 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6741
6742 fi;
6743
6744 eval "$ac_cv_use_protocol"
6745 if test "$no_cache" != 1; then
6746 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6747 fi
6748
6749 if test "$wxUSE_PROTOCOL" = yes; then
6750 echo "$as_me:$LINENO: result: yes" >&5
6751 echo "${ECHO_T}yes" >&6
6752 else
6753 echo "$as_me:$LINENO: result: no" >&5
6754 echo "${ECHO_T}no" >&6
6755 fi
6756
6757
6758 enablestring=
6759 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6760 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6761 no_cache=0
6762 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6763 if test "${enable_protocol_http+set}" = set; then
6764 enableval="$enable_protocol_http"
6765
6766 if test "$enableval" = yes; then
6767 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6768 else
6769 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6770 fi
6771
6772 else
6773
6774 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6775 if test "x$LINE" != x ; then
6776 eval "DEFAULT_$LINE"
6777 else
6778 no_cache=1
6779 fi
6780
6781 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6782
6783 fi;
6784
6785 eval "$ac_cv_use_protocol_http"
6786 if test "$no_cache" != 1; then
6787 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6788 fi
6789
6790 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6791 echo "$as_me:$LINENO: result: yes" >&5
6792 echo "${ECHO_T}yes" >&6
6793 else
6794 echo "$as_me:$LINENO: result: no" >&5
6795 echo "${ECHO_T}no" >&6
6796 fi
6797
6798
6799 enablestring=
6800 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6801 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6802 no_cache=0
6803 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6804 if test "${enable_protocol_ftp+set}" = set; then
6805 enableval="$enable_protocol_ftp"
6806
6807 if test "$enableval" = yes; then
6808 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6809 else
6810 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6811 fi
6812
6813 else
6814
6815 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6816 if test "x$LINE" != x ; then
6817 eval "DEFAULT_$LINE"
6818 else
6819 no_cache=1
6820 fi
6821
6822 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6823
6824 fi;
6825
6826 eval "$ac_cv_use_protocol_ftp"
6827 if test "$no_cache" != 1; then
6828 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6829 fi
6830
6831 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6832 echo "$as_me:$LINENO: result: yes" >&5
6833 echo "${ECHO_T}yes" >&6
6834 else
6835 echo "$as_me:$LINENO: result: no" >&5
6836 echo "${ECHO_T}no" >&6
6837 fi
6838
6839
6840 enablestring=
6841 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6842 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6843 no_cache=0
6844 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6845 if test "${enable_protocol_file+set}" = set; then
6846 enableval="$enable_protocol_file"
6847
6848 if test "$enableval" = yes; then
6849 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6850 else
6851 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6852 fi
6853
6854 else
6855
6856 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6857 if test "x$LINE" != x ; then
6858 eval "DEFAULT_$LINE"
6859 else
6860 no_cache=1
6861 fi
6862
6863 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6864
6865 fi;
6866
6867 eval "$ac_cv_use_protocol_file"
6868 if test "$no_cache" != 1; then
6869 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6870 fi
6871
6872 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6873 echo "$as_me:$LINENO: result: yes" >&5
6874 echo "${ECHO_T}yes" >&6
6875 else
6876 echo "$as_me:$LINENO: result: no" >&5
6877 echo "${ECHO_T}no" >&6
6878 fi
6879
6880
6881
6882
6883
6884 enablestring=
6885 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6886 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6887 no_cache=0
6888 # Check whether --enable-threads or --disable-threads was given.
6889 if test "${enable_threads+set}" = set; then
6890 enableval="$enable_threads"
6891
6892 if test "$enableval" = yes; then
6893 ac_cv_use_threads='wxUSE_THREADS=yes'
6894 else
6895 ac_cv_use_threads='wxUSE_THREADS=no'
6896 fi
6897
6898 else
6899
6900 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6901 if test "x$LINE" != x ; then
6902 eval "DEFAULT_$LINE"
6903 else
6904 no_cache=1
6905 fi
6906
6907 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6908
6909 fi;
6910
6911 eval "$ac_cv_use_threads"
6912 if test "$no_cache" != 1; then
6913 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6914 fi
6915
6916 if test "$wxUSE_THREADS" = yes; then
6917 echo "$as_me:$LINENO: result: yes" >&5
6918 echo "${ECHO_T}yes" >&6
6919 else
6920 echo "$as_me:$LINENO: result: no" >&5
6921 echo "${ECHO_T}no" >&6
6922 fi
6923
6924
6925 if test "$wxUSE_GUI" = "yes"; then
6926
6927
6928
6929 enablestring=
6930 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6931 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6932 no_cache=0
6933 # Check whether --enable-docview or --disable-docview was given.
6934 if test "${enable_docview+set}" = set; then
6935 enableval="$enable_docview"
6936
6937 if test "$enableval" = yes; then
6938 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6939 else
6940 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6941 fi
6942
6943 else
6944
6945 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6946 if test "x$LINE" != x ; then
6947 eval "DEFAULT_$LINE"
6948 else
6949 no_cache=1
6950 fi
6951
6952 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6953
6954 fi;
6955
6956 eval "$ac_cv_use_docview"
6957 if test "$no_cache" != 1; then
6958 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6959 fi
6960
6961 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6962 echo "$as_me:$LINENO: result: yes" >&5
6963 echo "${ECHO_T}yes" >&6
6964 else
6965 echo "$as_me:$LINENO: result: no" >&5
6966 echo "${ECHO_T}no" >&6
6967 fi
6968
6969
6970 enablestring=
6971 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6972 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6973 no_cache=0
6974 # Check whether --enable-help or --disable-help was given.
6975 if test "${enable_help+set}" = set; then
6976 enableval="$enable_help"
6977
6978 if test "$enableval" = yes; then
6979 ac_cv_use_help='wxUSE_HELP=yes'
6980 else
6981 ac_cv_use_help='wxUSE_HELP=no'
6982 fi
6983
6984 else
6985
6986 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6987 if test "x$LINE" != x ; then
6988 eval "DEFAULT_$LINE"
6989 else
6990 no_cache=1
6991 fi
6992
6993 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6994
6995 fi;
6996
6997 eval "$ac_cv_use_help"
6998 if test "$no_cache" != 1; then
6999 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7000 fi
7001
7002 if test "$wxUSE_HELP" = yes; then
7003 echo "$as_me:$LINENO: result: yes" >&5
7004 echo "${ECHO_T}yes" >&6
7005 else
7006 echo "$as_me:$LINENO: result: no" >&5
7007 echo "${ECHO_T}no" >&6
7008 fi
7009
7010
7011 enablestring=
7012 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7013 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
7014 no_cache=0
7015 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
7016 if test "${enable_mshtmlhelp+set}" = set; then
7017 enableval="$enable_mshtmlhelp"
7018
7019 if test "$enableval" = yes; then
7020 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7021 else
7022 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7023 fi
7024
7025 else
7026
7027 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
7028 if test "x$LINE" != x ; then
7029 eval "DEFAULT_$LINE"
7030 else
7031 no_cache=1
7032 fi
7033
7034 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7035
7036 fi;
7037
7038 eval "$ac_cv_use_mshtmlhelp"
7039 if test "$no_cache" != 1; then
7040 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7041 fi
7042
7043 if test "$wxUSE_MS_HTML_HELP" = yes; then
7044 echo "$as_me:$LINENO: result: yes" >&5
7045 echo "${ECHO_T}yes" >&6
7046 else
7047 echo "$as_me:$LINENO: result: no" >&5
7048 echo "${ECHO_T}no" >&6
7049 fi
7050
7051
7052 enablestring=
7053 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7054 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7055 no_cache=0
7056 # Check whether --enable-html or --disable-html was given.
7057 if test "${enable_html+set}" = set; then
7058 enableval="$enable_html"
7059
7060 if test "$enableval" = yes; then
7061 ac_cv_use_html='wxUSE_HTML=yes'
7062 else
7063 ac_cv_use_html='wxUSE_HTML=no'
7064 fi
7065
7066 else
7067
7068 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7069 if test "x$LINE" != x ; then
7070 eval "DEFAULT_$LINE"
7071 else
7072 no_cache=1
7073 fi
7074
7075 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7076
7077 fi;
7078
7079 eval "$ac_cv_use_html"
7080 if test "$no_cache" != 1; then
7081 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7082 fi
7083
7084 if test "$wxUSE_HTML" = yes; then
7085 echo "$as_me:$LINENO: result: yes" >&5
7086 echo "${ECHO_T}yes" >&6
7087 else
7088 echo "$as_me:$LINENO: result: no" >&5
7089 echo "${ECHO_T}no" >&6
7090 fi
7091
7092
7093 enablestring=
7094 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7095 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
7096 no_cache=0
7097 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
7098 if test "${enable_htmlhelp+set}" = set; then
7099 enableval="$enable_htmlhelp"
7100
7101 if test "$enableval" = yes; then
7102 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7103 else
7104 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7105 fi
7106
7107 else
7108
7109 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7110 if test "x$LINE" != x ; then
7111 eval "DEFAULT_$LINE"
7112 else
7113 no_cache=1
7114 fi
7115
7116 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7117
7118 fi;
7119
7120 eval "$ac_cv_use_htmlhelp"
7121 if test "$no_cache" != 1; then
7122 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7123 fi
7124
7125 if test "$wxUSE_WXHTML_HELP" = yes; then
7126 echo "$as_me:$LINENO: result: yes" >&5
7127 echo "${ECHO_T}yes" >&6
7128 else
7129 echo "$as_me:$LINENO: result: no" >&5
7130 echo "${ECHO_T}no" >&6
7131 fi
7132
7133
7134 enablestring=
7135 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7136 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7137 no_cache=0
7138 # Check whether --enable-xrc or --disable-xrc was given.
7139 if test "${enable_xrc+set}" = set; then
7140 enableval="$enable_xrc"
7141
7142 if test "$enableval" = yes; then
7143 ac_cv_use_xrc='wxUSE_XRC=yes'
7144 else
7145 ac_cv_use_xrc='wxUSE_XRC=no'
7146 fi
7147
7148 else
7149
7150 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7151 if test "x$LINE" != x ; then
7152 eval "DEFAULT_$LINE"
7153 else
7154 no_cache=1
7155 fi
7156
7157 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7158
7159 fi;
7160
7161 eval "$ac_cv_use_xrc"
7162 if test "$no_cache" != 1; then
7163 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7164 fi
7165
7166 if test "$wxUSE_XRC" = yes; then
7167 echo "$as_me:$LINENO: result: yes" >&5
7168 echo "${ECHO_T}yes" >&6
7169 else
7170 echo "$as_me:$LINENO: result: no" >&5
7171 echo "${ECHO_T}no" >&6
7172 fi
7173
7174
7175 enablestring=
7176 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7177 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7178 no_cache=0
7179 # Check whether --enable-aui or --disable-aui was given.
7180 if test "${enable_aui+set}" = set; then
7181 enableval="$enable_aui"
7182
7183 if test "$enableval" = yes; then
7184 ac_cv_use_aui='wxUSE_AUI=yes'
7185 else
7186 ac_cv_use_aui='wxUSE_AUI=no'
7187 fi
7188
7189 else
7190
7191 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7192 if test "x$LINE" != x ; then
7193 eval "DEFAULT_$LINE"
7194 else
7195 no_cache=1
7196 fi
7197
7198 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7199
7200 fi;
7201
7202 eval "$ac_cv_use_aui"
7203 if test "$no_cache" != 1; then
7204 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7205 fi
7206
7207 if test "$wxUSE_AUI" = yes; then
7208 echo "$as_me:$LINENO: result: yes" >&5
7209 echo "${ECHO_T}yes" >&6
7210 else
7211 echo "$as_me:$LINENO: result: no" >&5
7212 echo "${ECHO_T}no" >&6
7213 fi
7214
7215
7216 enablestring=
7217 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7218 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7219 no_cache=0
7220 # Check whether --enable-constraints or --disable-constraints was given.
7221 if test "${enable_constraints+set}" = set; then
7222 enableval="$enable_constraints"
7223
7224 if test "$enableval" = yes; then
7225 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7226 else
7227 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7228 fi
7229
7230 else
7231
7232 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7233 if test "x$LINE" != x ; then
7234 eval "DEFAULT_$LINE"
7235 else
7236 no_cache=1
7237 fi
7238
7239 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7240
7241 fi;
7242
7243 eval "$ac_cv_use_constraints"
7244 if test "$no_cache" != 1; then
7245 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7246 fi
7247
7248 if test "$wxUSE_CONSTRAINTS" = yes; then
7249 echo "$as_me:$LINENO: result: yes" >&5
7250 echo "${ECHO_T}yes" >&6
7251 else
7252 echo "$as_me:$LINENO: result: no" >&5
7253 echo "${ECHO_T}no" >&6
7254 fi
7255
7256
7257 enablestring=
7258 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7259 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7260 no_cache=0
7261 # Check whether --enable-printarch or --disable-printarch was given.
7262 if test "${enable_printarch+set}" = set; then
7263 enableval="$enable_printarch"
7264
7265 if test "$enableval" = yes; then
7266 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
7267 else
7268 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
7269 fi
7270
7271 else
7272
7273 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7274 if test "x$LINE" != x ; then
7275 eval "DEFAULT_$LINE"
7276 else
7277 no_cache=1
7278 fi
7279
7280 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7281
7282 fi;
7283
7284 eval "$ac_cv_use_printarch"
7285 if test "$no_cache" != 1; then
7286 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7287 fi
7288
7289 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7290 echo "$as_me:$LINENO: result: yes" >&5
7291 echo "${ECHO_T}yes" >&6
7292 else
7293 echo "$as_me:$LINENO: result: no" >&5
7294 echo "${ECHO_T}no" >&6
7295 fi
7296
7297
7298 enablestring=
7299 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7300 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7301 no_cache=0
7302 # Check whether --enable-mdi or --disable-mdi was given.
7303 if test "${enable_mdi+set}" = set; then
7304 enableval="$enable_mdi"
7305
7306 if test "$enableval" = yes; then
7307 ac_cv_use_mdi='wxUSE_MDI=yes'
7308 else
7309 ac_cv_use_mdi='wxUSE_MDI=no'
7310 fi
7311
7312 else
7313
7314 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7315 if test "x$LINE" != x ; then
7316 eval "DEFAULT_$LINE"
7317 else
7318 no_cache=1
7319 fi
7320
7321 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7322
7323 fi;
7324
7325 eval "$ac_cv_use_mdi"
7326 if test "$no_cache" != 1; then
7327 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7328 fi
7329
7330 if test "$wxUSE_MDI" = yes; then
7331 echo "$as_me:$LINENO: result: yes" >&5
7332 echo "${ECHO_T}yes" >&6
7333 else
7334 echo "$as_me:$LINENO: result: no" >&5
7335 echo "${ECHO_T}no" >&6
7336 fi
7337
7338
7339 enablestring=
7340 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7341 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7342 no_cache=0
7343 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7344 if test "${enable_mdidoc+set}" = set; then
7345 enableval="$enable_mdidoc"
7346
7347 if test "$enableval" = yes; then
7348 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
7349 else
7350 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
7351 fi
7352
7353 else
7354
7355 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7356 if test "x$LINE" != x ; then
7357 eval "DEFAULT_$LINE"
7358 else
7359 no_cache=1
7360 fi
7361
7362 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7363
7364 fi;
7365
7366 eval "$ac_cv_use_mdidoc"
7367 if test "$no_cache" != 1; then
7368 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7369 fi
7370
7371 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7372 echo "$as_me:$LINENO: result: yes" >&5
7373 echo "${ECHO_T}yes" >&6
7374 else
7375 echo "$as_me:$LINENO: result: no" >&5
7376 echo "${ECHO_T}no" >&6
7377 fi
7378
7379
7380 enablestring=
7381 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7382 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7383 no_cache=0
7384 # Check whether --enable-loggui or --disable-loggui was given.
7385 if test "${enable_loggui+set}" = set; then
7386 enableval="$enable_loggui"
7387
7388 if test "$enableval" = yes; then
7389 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
7390 else
7391 ac_cv_use_loggui='wxUSE_LOGGUI=no'
7392 fi
7393
7394 else
7395
7396 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7397 if test "x$LINE" != x ; then
7398 eval "DEFAULT_$LINE"
7399 else
7400 no_cache=1
7401 fi
7402
7403 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7404
7405 fi;
7406
7407 eval "$ac_cv_use_loggui"
7408 if test "$no_cache" != 1; then
7409 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7410 fi
7411
7412 if test "$wxUSE_LOGGUI" = yes; then
7413 echo "$as_me:$LINENO: result: yes" >&5
7414 echo "${ECHO_T}yes" >&6
7415 else
7416 echo "$as_me:$LINENO: result: no" >&5
7417 echo "${ECHO_T}no" >&6
7418 fi
7419
7420
7421 enablestring=
7422 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7423 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7424 no_cache=0
7425 # Check whether --enable-logwin or --disable-logwin was given.
7426 if test "${enable_logwin+set}" = set; then
7427 enableval="$enable_logwin"
7428
7429 if test "$enableval" = yes; then
7430 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
7431 else
7432 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
7433 fi
7434
7435 else
7436
7437 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7438 if test "x$LINE" != x ; then
7439 eval "DEFAULT_$LINE"
7440 else
7441 no_cache=1
7442 fi
7443
7444 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7445
7446 fi;
7447
7448 eval "$ac_cv_use_logwin"
7449 if test "$no_cache" != 1; then
7450 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7451 fi
7452
7453 if test "$wxUSE_LOGWINDOW" = yes; then
7454 echo "$as_me:$LINENO: result: yes" >&5
7455 echo "${ECHO_T}yes" >&6
7456 else
7457 echo "$as_me:$LINENO: result: no" >&5
7458 echo "${ECHO_T}no" >&6
7459 fi
7460
7461
7462 enablestring=
7463 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7464 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7465 no_cache=0
7466 # Check whether --enable-logdialog or --disable-logdialog was given.
7467 if test "${enable_logdialog+set}" = set; then
7468 enableval="$enable_logdialog"
7469
7470 if test "$enableval" = yes; then
7471 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
7472 else
7473 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
7474 fi
7475
7476 else
7477
7478 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7479 if test "x$LINE" != x ; then
7480 eval "DEFAULT_$LINE"
7481 else
7482 no_cache=1
7483 fi
7484
7485 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7486
7487 fi;
7488
7489 eval "$ac_cv_use_logdialog"
7490 if test "$no_cache" != 1; then
7491 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7492 fi
7493
7494 if test "$wxUSE_LOGDIALOG" = yes; then
7495 echo "$as_me:$LINENO: result: yes" >&5
7496 echo "${ECHO_T}yes" >&6
7497 else
7498 echo "$as_me:$LINENO: result: no" >&5
7499 echo "${ECHO_T}no" >&6
7500 fi
7501
7502
7503 enablestring=
7504 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7505 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7506 no_cache=0
7507 # Check whether --enable-webkit or --disable-webkit was given.
7508 if test "${enable_webkit+set}" = set; then
7509 enableval="$enable_webkit"
7510
7511 if test "$enableval" = yes; then
7512 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7513 else
7514 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7515 fi
7516
7517 else
7518
7519 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7520 if test "x$LINE" != x ; then
7521 eval "DEFAULT_$LINE"
7522 else
7523 no_cache=1
7524 fi
7525
7526 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7527
7528 fi;
7529
7530 eval "$ac_cv_use_webkit"
7531 if test "$no_cache" != 1; then
7532 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7533 fi
7534
7535 if test "$wxUSE_WEBKIT" = yes; then
7536 echo "$as_me:$LINENO: result: yes" >&5
7537 echo "${ECHO_T}yes" >&6
7538 else
7539 echo "$as_me:$LINENO: result: no" >&5
7540 echo "${ECHO_T}no" >&6
7541 fi
7542
7543
7544 enablestring=
7545 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
7546 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6
7547 no_cache=0
7548 # Check whether --enable-richtext or --disable-richtext was given.
7549 if test "${enable_richtext+set}" = set; then
7550 enableval="$enable_richtext"
7551
7552 if test "$enableval" = yes; then
7553 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
7554 else
7555 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
7556 fi
7557
7558 else
7559
7560 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7561 if test "x$LINE" != x ; then
7562 eval "DEFAULT_$LINE"
7563 else
7564 no_cache=1
7565 fi
7566
7567 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7568
7569 fi;
7570
7571 eval "$ac_cv_use_richtext"
7572 if test "$no_cache" != 1; then
7573 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
7574 fi
7575
7576 if test "$wxUSE_RICHTEXT" = yes; then
7577 echo "$as_me:$LINENO: result: yes" >&5
7578 echo "${ECHO_T}yes" >&6
7579 else
7580 echo "$as_me:$LINENO: result: no" >&5
7581 echo "${ECHO_T}no" >&6
7582 fi
7583
7584
7585 enablestring=
7586 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7587 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7588 no_cache=0
7589 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7590 if test "${enable_graphics_ctx+set}" = set; then
7591 enableval="$enable_graphics_ctx"
7592
7593 if test "$enableval" = yes; then
7594 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
7595 else
7596 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
7597 fi
7598
7599 else
7600
7601 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7602 if test "x$LINE" != x ; then
7603 eval "DEFAULT_$LINE"
7604 else
7605 no_cache=1
7606 fi
7607
7608 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7609
7610 fi;
7611
7612 eval "$ac_cv_use_graphics_ctx"
7613 if test "$no_cache" != 1; then
7614 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7615 fi
7616
7617 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7618 echo "$as_me:$LINENO: result: yes" >&5
7619 echo "${ECHO_T}yes" >&6
7620 else
7621 echo "$as_me:$LINENO: result: no" >&5
7622 echo "${ECHO_T}no" >&6
7623 fi
7624
7625
7626
7627 enablestring=
7628 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7629 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7630 no_cache=0
7631 # Check whether --enable-postscript or --disable-postscript was given.
7632 if test "${enable_postscript+set}" = set; then
7633 enableval="$enable_postscript"
7634
7635 if test "$enableval" = yes; then
7636 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7637 else
7638 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7639 fi
7640
7641 else
7642
7643 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7644 if test "x$LINE" != x ; then
7645 eval "DEFAULT_$LINE"
7646 else
7647 no_cache=1
7648 fi
7649
7650 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7651
7652 fi;
7653
7654 eval "$ac_cv_use_postscript"
7655 if test "$no_cache" != 1; then
7656 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7657 fi
7658
7659 if test "$wxUSE_POSTSCRIPT" = yes; then
7660 echo "$as_me:$LINENO: result: yes" >&5
7661 echo "${ECHO_T}yes" >&6
7662 else
7663 echo "$as_me:$LINENO: result: no" >&5
7664 echo "${ECHO_T}no" >&6
7665 fi
7666
7667
7668
7669
7670
7671 enablestring=
7672 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7673 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7674 no_cache=0
7675 # Check whether --enable-prologio or --disable-prologio was given.
7676 if test "${enable_prologio+set}" = set; then
7677 enableval="$enable_prologio"
7678
7679 if test "$enableval" = yes; then
7680 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7681 else
7682 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7683 fi
7684
7685 else
7686
7687 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7688 if test "x$LINE" != x ; then
7689 eval "DEFAULT_$LINE"
7690 else
7691 no_cache=1
7692 fi
7693
7694 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7695
7696 fi;
7697
7698 eval "$ac_cv_use_prologio"
7699 if test "$no_cache" != 1; then
7700 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7701 fi
7702
7703 if test "$wxUSE_PROLOGIO" = yes; then
7704 echo "$as_me:$LINENO: result: yes" >&5
7705 echo "${ECHO_T}yes" >&6
7706 else
7707 echo "$as_me:$LINENO: result: no" >&5
7708 echo "${ECHO_T}no" >&6
7709 fi
7710
7711
7712 enablestring=
7713 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7714 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7715 no_cache=0
7716 # Check whether --enable-resources or --disable-resources was given.
7717 if test "${enable_resources+set}" = set; then
7718 enableval="$enable_resources"
7719
7720 if test "$enableval" = yes; then
7721 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7722 else
7723 ac_cv_use_resources='wxUSE_RESOURCES=no'
7724 fi
7725
7726 else
7727
7728 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7729 if test "x$LINE" != x ; then
7730 eval "DEFAULT_$LINE"
7731 else
7732 no_cache=1
7733 fi
7734
7735 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7736
7737 fi;
7738
7739 eval "$ac_cv_use_resources"
7740 if test "$no_cache" != 1; then
7741 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7742 fi
7743
7744 if test "$wxUSE_RESOURCES" = yes; then
7745 echo "$as_me:$LINENO: result: yes" >&5
7746 echo "${ECHO_T}yes" >&6
7747 else
7748 echo "$as_me:$LINENO: result: no" >&5
7749 echo "${ECHO_T}no" >&6
7750 fi
7751
7752
7753
7754
7755 enablestring=
7756 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7757 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7758 no_cache=0
7759 # Check whether --enable-clipboard or --disable-clipboard was given.
7760 if test "${enable_clipboard+set}" = set; then
7761 enableval="$enable_clipboard"
7762
7763 if test "$enableval" = yes; then
7764 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7765 else
7766 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7767 fi
7768
7769 else
7770
7771 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7772 if test "x$LINE" != x ; then
7773 eval "DEFAULT_$LINE"
7774 else
7775 no_cache=1
7776 fi
7777
7778 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7779
7780 fi;
7781
7782 eval "$ac_cv_use_clipboard"
7783 if test "$no_cache" != 1; then
7784 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7785 fi
7786
7787 if test "$wxUSE_CLIPBOARD" = yes; then
7788 echo "$as_me:$LINENO: result: yes" >&5
7789 echo "${ECHO_T}yes" >&6
7790 else
7791 echo "$as_me:$LINENO: result: no" >&5
7792 echo "${ECHO_T}no" >&6
7793 fi
7794
7795
7796 enablestring=
7797 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7798 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7799 no_cache=0
7800 # Check whether --enable-dnd or --disable-dnd was given.
7801 if test "${enable_dnd+set}" = set; then
7802 enableval="$enable_dnd"
7803
7804 if test "$enableval" = yes; then
7805 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7806 else
7807 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7808 fi
7809
7810 else
7811
7812 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7813 if test "x$LINE" != x ; then
7814 eval "DEFAULT_$LINE"
7815 else
7816 no_cache=1
7817 fi
7818
7819 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7820
7821 fi;
7822
7823 eval "$ac_cv_use_dnd"
7824 if test "$no_cache" != 1; then
7825 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7826 fi
7827
7828 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7829 echo "$as_me:$LINENO: result: yes" >&5
7830 echo "${ECHO_T}yes" >&6
7831 else
7832 echo "$as_me:$LINENO: result: no" >&5
7833 echo "${ECHO_T}no" >&6
7834 fi
7835
7836
7837 enablestring=
7838 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7839 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7840 no_cache=0
7841 # Check whether --enable-metafile or --disable-metafile was given.
7842 if test "${enable_metafile+set}" = set; then
7843 enableval="$enable_metafile"
7844
7845 if test "$enableval" = yes; then
7846 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7847 else
7848 ac_cv_use_metafile='wxUSE_METAFILE=no'
7849 fi
7850
7851 else
7852
7853 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7854 if test "x$LINE" != x ; then
7855 eval "DEFAULT_$LINE"
7856 else
7857 no_cache=1
7858 fi
7859
7860 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7861
7862 fi;
7863
7864 eval "$ac_cv_use_metafile"
7865 if test "$no_cache" != 1; then
7866 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7867 fi
7868
7869 if test "$wxUSE_METAFILE" = yes; then
7870 echo "$as_me:$LINENO: result: yes" >&5
7871 echo "${ECHO_T}yes" >&6
7872 else
7873 echo "$as_me:$LINENO: result: no" >&5
7874 echo "${ECHO_T}no" >&6
7875 fi
7876
7877
7878
7879
7880
7881 enablestring=
7882 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7883 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7884 no_cache=0
7885 # Check whether --enable-controls or --disable-controls was given.
7886 if test "${enable_controls+set}" = set; then
7887 enableval="$enable_controls"
7888
7889 if test "$enableval" = yes; then
7890 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7891 else
7892 ac_cv_use_controls='wxUSE_CONTROLS=no'
7893 fi
7894
7895 else
7896
7897 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7898 if test "x$LINE" != x ; then
7899 eval "DEFAULT_$LINE"
7900 else
7901 no_cache=1
7902 fi
7903
7904 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7905
7906 fi;
7907
7908 eval "$ac_cv_use_controls"
7909 if test "$no_cache" != 1; then
7910 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7911 fi
7912
7913 if test "$wxUSE_CONTROLS" = yes; then
7914 echo "$as_me:$LINENO: result: yes" >&5
7915 echo "${ECHO_T}yes" >&6
7916 else
7917 echo "$as_me:$LINENO: result: no" >&5
7918 echo "${ECHO_T}no" >&6
7919 fi
7920
7921
7922 if test "$wxUSE_CONTROLS" = "yes"; then
7923 DEFAULT_wxUSE_ACCEL=yes
7924 DEFAULT_wxUSE_ANIMATIONCTRL=yes
7925 DEFAULT_wxUSE_BMPBUTTON=yes
7926 DEFAULT_wxUSE_BUTTON=yes
7927 DEFAULT_wxUSE_CALCTRL=yes
7928 DEFAULT_wxUSE_CARET=yes
7929 DEFAULT_wxUSE_COMBOBOX=yes
7930 DEFAULT_wxUSE_CHECKBOX=yes
7931 DEFAULT_wxUSE_CHECKLISTBOX=yes
7932 DEFAULT_wxUSE_CHOICE=yes
7933 DEFAULT_wxUSE_CHOICEBOOK=yes
7934 DEFAULT_wxUSE_COLLPANE=yes
7935 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
7936 DEFAULT_wxUSE_COMBOBOX=yes
7937 DEFAULT_wxUSE_DATEPICKCTRL=yes
7938 DEFAULT_wxUSE_DISPLAY=yes
7939 DEFAULT_wxUSE_DETECT_SM=yes
7940 DEFAULT_wxUSE_DIRPICKERCTRL=yes
7941 DEFAULT_wxUSE_FILEPICKERCTRL=yes
7942 DEFAULT_wxUSE_FONTPICKERCTRL=yes
7943 DEFAULT_wxUSE_GAUGE=yes
7944 DEFAULT_wxUSE_GRID=yes
7945 DEFAULT_wxUSE_HYPERLINKCTRL=yes
7946 DEFAULT_wxUSE_DATAVIEWCTRL=no
7947 DEFAULT_wxUSE_IMAGLIST=yes
7948 DEFAULT_wxUSE_LISTBOOK=yes
7949 DEFAULT_wxUSE_LISTBOX=yes
7950 DEFAULT_wxUSE_LISTCTRL=yes
7951 DEFAULT_wxUSE_NOTEBOOK=yes
7952 DEFAULT_wxUSE_RADIOBOX=yes
7953 DEFAULT_wxUSE_RADIOBTN=yes
7954 DEFAULT_wxUSE_SASH=yes
7955 DEFAULT_wxUSE_SCROLLBAR=yes
7956 DEFAULT_wxUSE_SLIDER=yes
7957 DEFAULT_wxUSE_SPINBTN=yes
7958 DEFAULT_wxUSE_SPINCTRL=yes
7959 DEFAULT_wxUSE_SPLITTER=yes
7960 DEFAULT_wxUSE_STATBMP=yes
7961 DEFAULT_wxUSE_STATBOX=yes
7962 DEFAULT_wxUSE_STATLINE=yes
7963 DEFAULT_wxUSE_STATUSBAR=yes
7964 DEFAULT_wxUSE_TAB_DIALOG=yes
7965 DEFAULT_wxUSE_TOGGLEBTN=yes
7966 DEFAULT_wxUSE_TOOLBAR=yes
7967 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7968 DEFAULT_wxUSE_TOOLTIPS=yes
7969 DEFAULT_wxUSE_TREEBOOK=yes
7970 DEFAULT_wxUSE_TOOLBOOK=yes
7971 DEFAULT_wxUSE_TREECTRL=yes
7972 DEFAULT_wxUSE_POPUPWIN=yes
7973 DEFAULT_wxUSE_TIPWINDOW=yes
7974 elif test "$wxUSE_CONTROLS" = "no"; then
7975 DEFAULT_wxUSE_ACCEL=no
7976 DEFAULT_wxUSE_ANIMATIONCTRL=no
7977 DEFAULT_wxUSE_BMPBUTTON=no
7978 DEFAULT_wxUSE_BUTTON=no
7979 DEFAULT_wxUSE_CALCTRL=no
7980 DEFAULT_wxUSE_CARET=no
7981 DEFAULT_wxUSE_COLLPANE=no
7982 DEFAULT_wxUSE_COMBOBOX=no
7983 DEFAULT_wxUSE_CHECKBOX=no
7984 DEFAULT_wxUSE_CHECKLISTBOX=no
7985 DEFAULT_wxUSE_CHOICE=no
7986 DEFAULT_wxUSE_CHOICEBOOK=no
7987 DEFAULT_wxUSE_COLOURPICKERCTRL=no
7988 DEFAULT_wxUSE_COMBOBOX=no
7989 DEFAULT_wxUSE_DATEPICKCTRL=no
7990 DEFAULT_wxUSE_DISPLAY=no
7991 DEFAULT_wxUSE_DETECT_SM=no
7992 DEFAULT_wxUSE_DIRPICKERCTRL=no
7993 DEFAULT_wxUSE_FILEPICKERCTRL=no
7994 DEFAULT_wxUSE_FONTPICKERCTRL=no
7995 DEFAULT_wxUSE_GAUGE=no
7996 DEFAULT_wxUSE_GRID=no
7997 DEFAULT_wxUSE_HYPERLINKCTRL=no
7998 DEFAULT_wxUSE_DATAVIEWCTRL=no
7999 DEFAULT_wxUSE_IMAGLIST=no
8000 DEFAULT_wxUSE_LISTBOOK=no
8001 DEFAULT_wxUSE_LISTBOX=no
8002 DEFAULT_wxUSE_LISTCTRL=no
8003 DEFAULT_wxUSE_NOTEBOOK=no
8004 DEFAULT_wxUSE_RADIOBOX=no
8005 DEFAULT_wxUSE_RADIOBTN=no
8006 DEFAULT_wxUSE_SASH=no
8007 DEFAULT_wxUSE_SCROLLBAR=no
8008 DEFAULT_wxUSE_SLIDER=no
8009 DEFAULT_wxUSE_SPINBTN=no
8010 DEFAULT_wxUSE_SPINCTRL=no
8011 DEFAULT_wxUSE_SPLITTER=no
8012 DEFAULT_wxUSE_STATBMP=no
8013 DEFAULT_wxUSE_STATBOX=no
8014 DEFAULT_wxUSE_STATLINE=no
8015 DEFAULT_wxUSE_STATUSBAR=no
8016 DEFAULT_wxUSE_TAB_DIALOG=no
8017 DEFAULT_wxUSE_TOGGLEBTN=no
8018 DEFAULT_wxUSE_TOOLBAR=no
8019 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8020 DEFAULT_wxUSE_TOOLTIPS=no
8021 DEFAULT_wxUSE_TREEBOOK=no
8022 DEFAULT_wxUSE_TOOLBOOK=no
8023 DEFAULT_wxUSE_TREECTRL=no
8024 DEFAULT_wxUSE_POPUPWIN=no
8025 DEFAULT_wxUSE_TIPWINDOW=no
8026 fi
8027
8028
8029 enablestring=
8030 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8031 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
8032 no_cache=0
8033 # Check whether --enable-accel or --disable-accel was given.
8034 if test "${enable_accel+set}" = set; then
8035 enableval="$enable_accel"
8036
8037 if test "$enableval" = yes; then
8038 ac_cv_use_accel='wxUSE_ACCEL=yes'
8039 else
8040 ac_cv_use_accel='wxUSE_ACCEL=no'
8041 fi
8042
8043 else
8044
8045 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8046 if test "x$LINE" != x ; then
8047 eval "DEFAULT_$LINE"
8048 else
8049 no_cache=1
8050 fi
8051
8052 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8053
8054 fi;
8055
8056 eval "$ac_cv_use_accel"
8057 if test "$no_cache" != 1; then
8058 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8059 fi
8060
8061 if test "$wxUSE_ACCEL" = yes; then
8062 echo "$as_me:$LINENO: result: yes" >&5
8063 echo "${ECHO_T}yes" >&6
8064 else
8065 echo "$as_me:$LINENO: result: no" >&5
8066 echo "${ECHO_T}no" >&6
8067 fi
8068
8069
8070 enablestring=
8071 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8072 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6
8073 no_cache=0
8074 # Check whether --enable-animatectrl or --disable-animatectrl was given.
8075 if test "${enable_animatectrl+set}" = set; then
8076 enableval="$enable_animatectrl"
8077
8078 if test "$enableval" = yes; then
8079 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8080 else
8081 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8082 fi
8083
8084 else
8085
8086 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8087 if test "x$LINE" != x ; then
8088 eval "DEFAULT_$LINE"
8089 else
8090 no_cache=1
8091 fi
8092
8093 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8094
8095 fi;
8096
8097 eval "$ac_cv_use_animatectrl"
8098 if test "$no_cache" != 1; then
8099 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8100 fi
8101
8102 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8103 echo "$as_me:$LINENO: result: yes" >&5
8104 echo "${ECHO_T}yes" >&6
8105 else
8106 echo "$as_me:$LINENO: result: no" >&5
8107 echo "${ECHO_T}no" >&6
8108 fi
8109
8110
8111 enablestring=
8112 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8113 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
8114 no_cache=0
8115 # Check whether --enable-button or --disable-button was given.
8116 if test "${enable_button+set}" = set; then
8117 enableval="$enable_button"
8118
8119 if test "$enableval" = yes; then
8120 ac_cv_use_button='wxUSE_BUTTON=yes'
8121 else
8122 ac_cv_use_button='wxUSE_BUTTON=no'
8123 fi
8124
8125 else
8126
8127 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8128 if test "x$LINE" != x ; then
8129 eval "DEFAULT_$LINE"
8130 else
8131 no_cache=1
8132 fi
8133
8134 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8135
8136 fi;
8137
8138 eval "$ac_cv_use_button"
8139 if test "$no_cache" != 1; then
8140 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8141 fi
8142
8143 if test "$wxUSE_BUTTON" = yes; then
8144 echo "$as_me:$LINENO: result: yes" >&5
8145 echo "${ECHO_T}yes" >&6
8146 else
8147 echo "$as_me:$LINENO: result: no" >&5
8148 echo "${ECHO_T}no" >&6
8149 fi
8150
8151
8152 enablestring=
8153 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8154 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
8155 no_cache=0
8156 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
8157 if test "${enable_bmpbutton+set}" = set; then
8158 enableval="$enable_bmpbutton"
8159
8160 if test "$enableval" = yes; then
8161 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8162 else
8163 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8164 fi
8165
8166 else
8167
8168 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8169 if test "x$LINE" != x ; then
8170 eval "DEFAULT_$LINE"
8171 else
8172 no_cache=1
8173 fi
8174
8175 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8176
8177 fi;
8178
8179 eval "$ac_cv_use_bmpbutton"
8180 if test "$no_cache" != 1; then
8181 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8182 fi
8183
8184 if test "$wxUSE_BMPBUTTON" = yes; then
8185 echo "$as_me:$LINENO: result: yes" >&5
8186 echo "${ECHO_T}yes" >&6
8187 else
8188 echo "$as_me:$LINENO: result: no" >&5
8189 echo "${ECHO_T}no" >&6
8190 fi
8191
8192
8193 enablestring=
8194 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8195 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8196 no_cache=0
8197 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8198 if test "${enable_bmpcombobox+set}" = set; then
8199 enableval="$enable_bmpcombobox"
8200
8201 if test "$enableval" = yes; then
8202 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8203 else
8204 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8205 fi
8206
8207 else
8208
8209 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8210 if test "x$LINE" != x ; then
8211 eval "DEFAULT_$LINE"
8212 else
8213 no_cache=1
8214 fi
8215
8216 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8217
8218 fi;
8219
8220 eval "$ac_cv_use_bmpcombobox"
8221 if test "$no_cache" != 1; then
8222 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8223 fi
8224
8225 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8226 echo "$as_me:$LINENO: result: yes" >&5
8227 echo "${ECHO_T}yes" >&6
8228 else
8229 echo "$as_me:$LINENO: result: no" >&5
8230 echo "${ECHO_T}no" >&6
8231 fi
8232
8233
8234 enablestring=
8235 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8236 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8237 no_cache=0
8238 # Check whether --enable-calendar or --disable-calendar was given.
8239 if test "${enable_calendar+set}" = set; then
8240 enableval="$enable_calendar"
8241
8242 if test "$enableval" = yes; then
8243 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8244 else
8245 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8246 fi
8247
8248 else
8249
8250 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8251 if test "x$LINE" != x ; then
8252 eval "DEFAULT_$LINE"
8253 else
8254 no_cache=1
8255 fi
8256
8257 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8258
8259 fi;
8260
8261 eval "$ac_cv_use_calendar"
8262 if test "$no_cache" != 1; then
8263 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8264 fi
8265
8266 if test "$wxUSE_CALCTRL" = yes; then
8267 echo "$as_me:$LINENO: result: yes" >&5
8268 echo "${ECHO_T}yes" >&6
8269 else
8270 echo "$as_me:$LINENO: result: no" >&5
8271 echo "${ECHO_T}no" >&6
8272 fi
8273
8274
8275 enablestring=
8276 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8277 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8278 no_cache=0
8279 # Check whether --enable-caret or --disable-caret was given.
8280 if test "${enable_caret+set}" = set; then
8281 enableval="$enable_caret"
8282
8283 if test "$enableval" = yes; then
8284 ac_cv_use_caret='wxUSE_CARET=yes'
8285 else
8286 ac_cv_use_caret='wxUSE_CARET=no'
8287 fi
8288
8289 else
8290
8291 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8292 if test "x$LINE" != x ; then
8293 eval "DEFAULT_$LINE"
8294 else
8295 no_cache=1
8296 fi
8297
8298 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8299
8300 fi;
8301
8302 eval "$ac_cv_use_caret"
8303 if test "$no_cache" != 1; then
8304 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8305 fi
8306
8307 if test "$wxUSE_CARET" = yes; then
8308 echo "$as_me:$LINENO: result: yes" >&5
8309 echo "${ECHO_T}yes" >&6
8310 else
8311 echo "$as_me:$LINENO: result: no" >&5
8312 echo "${ECHO_T}no" >&6
8313 fi
8314
8315
8316 enablestring=
8317 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8318 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8319 no_cache=0
8320 # Check whether --enable-checkbox or --disable-checkbox was given.
8321 if test "${enable_checkbox+set}" = set; then
8322 enableval="$enable_checkbox"
8323
8324 if test "$enableval" = yes; then
8325 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
8326 else
8327 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
8328 fi
8329
8330 else
8331
8332 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8333 if test "x$LINE" != x ; then
8334 eval "DEFAULT_$LINE"
8335 else
8336 no_cache=1
8337 fi
8338
8339 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8340
8341 fi;
8342
8343 eval "$ac_cv_use_checkbox"
8344 if test "$no_cache" != 1; then
8345 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8346 fi
8347
8348 if test "$wxUSE_CHECKBOX" = yes; then
8349 echo "$as_me:$LINENO: result: yes" >&5
8350 echo "${ECHO_T}yes" >&6
8351 else
8352 echo "$as_me:$LINENO: result: no" >&5
8353 echo "${ECHO_T}no" >&6
8354 fi
8355
8356
8357 enablestring=
8358 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8359 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8360 no_cache=0
8361 # Check whether --enable-checklst or --disable-checklst was given.
8362 if test "${enable_checklst+set}" = set; then
8363 enableval="$enable_checklst"
8364
8365 if test "$enableval" = yes; then
8366 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
8367 else
8368 ac_cv_use_checklst='wxUSE_CHECKLST=no'
8369 fi
8370
8371 else
8372
8373 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8374 if test "x$LINE" != x ; then
8375 eval "DEFAULT_$LINE"
8376 else
8377 no_cache=1
8378 fi
8379
8380 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8381
8382 fi;
8383
8384 eval "$ac_cv_use_checklst"
8385 if test "$no_cache" != 1; then
8386 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8387 fi
8388
8389 if test "$wxUSE_CHECKLST" = yes; then
8390 echo "$as_me:$LINENO: result: yes" >&5
8391 echo "${ECHO_T}yes" >&6
8392 else
8393 echo "$as_me:$LINENO: result: no" >&5
8394 echo "${ECHO_T}no" >&6
8395 fi
8396
8397
8398 enablestring=
8399 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8400 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8401 no_cache=0
8402 # Check whether --enable-choice or --disable-choice was given.
8403 if test "${enable_choice+set}" = set; then
8404 enableval="$enable_choice"
8405
8406 if test "$enableval" = yes; then
8407 ac_cv_use_choice='wxUSE_CHOICE=yes'
8408 else
8409 ac_cv_use_choice='wxUSE_CHOICE=no'
8410 fi
8411
8412 else
8413
8414 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8415 if test "x$LINE" != x ; then
8416 eval "DEFAULT_$LINE"
8417 else
8418 no_cache=1
8419 fi
8420
8421 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8422
8423 fi;
8424
8425 eval "$ac_cv_use_choice"
8426 if test "$no_cache" != 1; then
8427 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8428 fi
8429
8430 if test "$wxUSE_CHOICE" = yes; then
8431 echo "$as_me:$LINENO: result: yes" >&5
8432 echo "${ECHO_T}yes" >&6
8433 else
8434 echo "$as_me:$LINENO: result: no" >&5
8435 echo "${ECHO_T}no" >&6
8436 fi
8437
8438
8439 enablestring=
8440 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8441 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8442 no_cache=0
8443 # Check whether --enable-choicebook or --disable-choicebook was given.
8444 if test "${enable_choicebook+set}" = set; then
8445 enableval="$enable_choicebook"
8446
8447 if test "$enableval" = yes; then
8448 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
8449 else
8450 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
8451 fi
8452
8453 else
8454
8455 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8456 if test "x$LINE" != x ; then
8457 eval "DEFAULT_$LINE"
8458 else
8459 no_cache=1
8460 fi
8461
8462 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8463
8464 fi;
8465
8466 eval "$ac_cv_use_choicebook"
8467 if test "$no_cache" != 1; then
8468 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8469 fi
8470
8471 if test "$wxUSE_CHOICEBOOK" = yes; then
8472 echo "$as_me:$LINENO: result: yes" >&5
8473 echo "${ECHO_T}yes" >&6
8474 else
8475 echo "$as_me:$LINENO: result: no" >&5
8476 echo "${ECHO_T}no" >&6
8477 fi
8478
8479
8480 enablestring=
8481 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
8482 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6
8483 no_cache=0
8484 # Check whether --enable-collpane or --disable-collpane was given.
8485 if test "${enable_collpane+set}" = set; then
8486 enableval="$enable_collpane"
8487
8488 if test "$enableval" = yes; then
8489 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
8490 else
8491 ac_cv_use_collpane='wxUSE_COLLPANE=no'
8492 fi
8493
8494 else
8495
8496 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
8497 if test "x$LINE" != x ; then
8498 eval "DEFAULT_$LINE"
8499 else
8500 no_cache=1
8501 fi
8502
8503 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
8504
8505 fi;
8506
8507 eval "$ac_cv_use_collpane"
8508 if test "$no_cache" != 1; then
8509 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
8510 fi
8511
8512 if test "$wxUSE_COLLPANE" = yes; then
8513 echo "$as_me:$LINENO: result: yes" >&5
8514 echo "${ECHO_T}yes" >&6
8515 else
8516 echo "$as_me:$LINENO: result: no" >&5
8517 echo "${ECHO_T}no" >&6
8518 fi
8519
8520
8521 enablestring=
8522 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8523 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8524 no_cache=0
8525 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8526 if test "${enable_colourpicker+set}" = set; then
8527 enableval="$enable_colourpicker"
8528
8529 if test "$enableval" = yes; then
8530 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
8531 else
8532 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
8533 fi
8534
8535 else
8536
8537 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8538 if test "x$LINE" != x ; then
8539 eval "DEFAULT_$LINE"
8540 else
8541 no_cache=1
8542 fi
8543
8544 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8545
8546 fi;
8547
8548 eval "$ac_cv_use_colourpicker"
8549 if test "$no_cache" != 1; then
8550 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8551 fi
8552
8553 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8554 echo "$as_me:$LINENO: result: yes" >&5
8555 echo "${ECHO_T}yes" >&6
8556 else
8557 echo "$as_me:$LINENO: result: no" >&5
8558 echo "${ECHO_T}no" >&6
8559 fi
8560
8561
8562 enablestring=
8563 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8564 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8565 no_cache=0
8566 # Check whether --enable-combobox or --disable-combobox was given.
8567 if test "${enable_combobox+set}" = set; then
8568 enableval="$enable_combobox"
8569
8570 if test "$enableval" = yes; then
8571 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
8572 else
8573 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
8574 fi
8575
8576 else
8577
8578 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8579 if test "x$LINE" != x ; then
8580 eval "DEFAULT_$LINE"
8581 else
8582 no_cache=1
8583 fi
8584
8585 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8586
8587 fi;
8588
8589 eval "$ac_cv_use_combobox"
8590 if test "$no_cache" != 1; then
8591 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8592 fi
8593
8594 if test "$wxUSE_COMBOBOX" = yes; then
8595 echo "$as_me:$LINENO: result: yes" >&5
8596 echo "${ECHO_T}yes" >&6
8597 else
8598 echo "$as_me:$LINENO: result: no" >&5
8599 echo "${ECHO_T}no" >&6
8600 fi
8601
8602
8603 enablestring=
8604 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8605 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8606 no_cache=0
8607 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8608 if test "${enable_comboctrl+set}" = set; then
8609 enableval="$enable_comboctrl"
8610
8611 if test "$enableval" = yes; then
8612 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
8613 else
8614 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
8615 fi
8616
8617 else
8618
8619 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8620 if test "x$LINE" != x ; then
8621 eval "DEFAULT_$LINE"
8622 else
8623 no_cache=1
8624 fi
8625
8626 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8627
8628 fi;
8629
8630 eval "$ac_cv_use_comboctrl"
8631 if test "$no_cache" != 1; then
8632 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8633 fi
8634
8635 if test "$wxUSE_COMBOCTRL" = yes; then
8636 echo "$as_me:$LINENO: result: yes" >&5
8637 echo "${ECHO_T}yes" >&6
8638 else
8639 echo "$as_me:$LINENO: result: no" >&5
8640 echo "${ECHO_T}no" >&6
8641 fi
8642
8643
8644 enablestring=
8645 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8646 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8647 no_cache=0
8648 # Check whether --enable-datepick or --disable-datepick was given.
8649 if test "${enable_datepick+set}" = set; then
8650 enableval="$enable_datepick"
8651
8652 if test "$enableval" = yes; then
8653 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
8654 else
8655 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
8656 fi
8657
8658 else
8659
8660 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8661 if test "x$LINE" != x ; then
8662 eval "DEFAULT_$LINE"
8663 else
8664 no_cache=1
8665 fi
8666
8667 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8668
8669 fi;
8670
8671 eval "$ac_cv_use_datepick"
8672 if test "$no_cache" != 1; then
8673 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8674 fi
8675
8676 if test "$wxUSE_DATEPICKCTRL" = yes; then
8677 echo "$as_me:$LINENO: result: yes" >&5
8678 echo "${ECHO_T}yes" >&6
8679 else
8680 echo "$as_me:$LINENO: result: no" >&5
8681 echo "${ECHO_T}no" >&6
8682 fi
8683
8684
8685 enablestring=
8686 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8687 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8688 no_cache=0
8689 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8690 if test "${enable_dirpicker+set}" = set; then
8691 enableval="$enable_dirpicker"
8692
8693 if test "$enableval" = yes; then
8694 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
8695 else
8696 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
8697 fi
8698
8699 else
8700
8701 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8702 if test "x$LINE" != x ; then
8703 eval "DEFAULT_$LINE"
8704 else
8705 no_cache=1
8706 fi
8707
8708 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8709
8710 fi;
8711
8712 eval "$ac_cv_use_dirpicker"
8713 if test "$no_cache" != 1; then
8714 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8715 fi
8716
8717 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8718 echo "$as_me:$LINENO: result: yes" >&5
8719 echo "${ECHO_T}yes" >&6
8720 else
8721 echo "$as_me:$LINENO: result: no" >&5
8722 echo "${ECHO_T}no" >&6
8723 fi
8724
8725
8726 enablestring=
8727 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8728 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8729 no_cache=0
8730 # Check whether --enable-display or --disable-display was given.
8731 if test "${enable_display+set}" = set; then
8732 enableval="$enable_display"
8733
8734 if test "$enableval" = yes; then
8735 ac_cv_use_display='wxUSE_DISPLAY=yes'
8736 else
8737 ac_cv_use_display='wxUSE_DISPLAY=no'
8738 fi
8739
8740 else
8741
8742 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8743 if test "x$LINE" != x ; then
8744 eval "DEFAULT_$LINE"
8745 else
8746 no_cache=1
8747 fi
8748
8749 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8750
8751 fi;
8752
8753 eval "$ac_cv_use_display"
8754 if test "$no_cache" != 1; then
8755 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8756 fi
8757
8758 if test "$wxUSE_DISPLAY" = yes; then
8759 echo "$as_me:$LINENO: result: yes" >&5
8760 echo "${ECHO_T}yes" >&6
8761 else
8762 echo "$as_me:$LINENO: result: no" >&5
8763 echo "${ECHO_T}no" >&6
8764 fi
8765
8766
8767 enablestring=
8768 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
8769 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6
8770 no_cache=0
8771 # Check whether --enable-detect_sm or --disable-detect_sm was given.
8772 if test "${enable_detect_sm+set}" = set; then
8773 enableval="$enable_detect_sm"
8774
8775 if test "$enableval" = yes; then
8776 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
8777 else
8778 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
8779 fi
8780
8781 else
8782
8783 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
8784 if test "x$LINE" != x ; then
8785 eval "DEFAULT_$LINE"
8786 else
8787 no_cache=1
8788 fi
8789
8790 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
8791
8792 fi;
8793
8794 eval "$ac_cv_use_detect_sm"
8795 if test "$no_cache" != 1; then
8796 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
8797 fi
8798
8799 if test "$wxUSE_DETECT_SM" = yes; then
8800 echo "$as_me:$LINENO: result: yes" >&5
8801 echo "${ECHO_T}yes" >&6
8802 else
8803 echo "$as_me:$LINENO: result: no" >&5
8804 echo "${ECHO_T}no" >&6
8805 fi
8806
8807
8808 enablestring=
8809 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8810 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8811 no_cache=0
8812 # Check whether --enable-filepicker or --disable-filepicker was given.
8813 if test "${enable_filepicker+set}" = set; then
8814 enableval="$enable_filepicker"
8815
8816 if test "$enableval" = yes; then
8817 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
8818 else
8819 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
8820 fi
8821
8822 else
8823
8824 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8825 if test "x$LINE" != x ; then
8826 eval "DEFAULT_$LINE"
8827 else
8828 no_cache=1
8829 fi
8830
8831 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8832
8833 fi;
8834
8835 eval "$ac_cv_use_filepicker"
8836 if test "$no_cache" != 1; then
8837 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8838 fi
8839
8840 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8841 echo "$as_me:$LINENO: result: yes" >&5
8842 echo "${ECHO_T}yes" >&6
8843 else
8844 echo "$as_me:$LINENO: result: no" >&5
8845 echo "${ECHO_T}no" >&6
8846 fi
8847
8848
8849 enablestring=
8850 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8851 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8852 no_cache=0
8853 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8854 if test "${enable_fontpicker+set}" = set; then
8855 enableval="$enable_fontpicker"
8856
8857 if test "$enableval" = yes; then
8858 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
8859 else
8860 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
8861 fi
8862
8863 else
8864
8865 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8866 if test "x$LINE" != x ; then
8867 eval "DEFAULT_$LINE"
8868 else
8869 no_cache=1
8870 fi
8871
8872 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8873
8874 fi;
8875
8876 eval "$ac_cv_use_fontpicker"
8877 if test "$no_cache" != 1; then
8878 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8879 fi
8880
8881 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8882 echo "$as_me:$LINENO: result: yes" >&5
8883 echo "${ECHO_T}yes" >&6
8884 else
8885 echo "$as_me:$LINENO: result: no" >&5
8886 echo "${ECHO_T}no" >&6
8887 fi
8888
8889
8890 enablestring=
8891 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8892 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8893 no_cache=0
8894 # Check whether --enable-gauge or --disable-gauge was given.
8895 if test "${enable_gauge+set}" = set; then
8896 enableval="$enable_gauge"
8897
8898 if test "$enableval" = yes; then
8899 ac_cv_use_gauge='wxUSE_GAUGE=yes'
8900 else
8901 ac_cv_use_gauge='wxUSE_GAUGE=no'
8902 fi
8903
8904 else
8905
8906 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8907 if test "x$LINE" != x ; then
8908 eval "DEFAULT_$LINE"
8909 else
8910 no_cache=1
8911 fi
8912
8913 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8914
8915 fi;
8916
8917 eval "$ac_cv_use_gauge"
8918 if test "$no_cache" != 1; then
8919 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8920 fi
8921
8922 if test "$wxUSE_GAUGE" = yes; then
8923 echo "$as_me:$LINENO: result: yes" >&5
8924 echo "${ECHO_T}yes" >&6
8925 else
8926 echo "$as_me:$LINENO: result: no" >&5
8927 echo "${ECHO_T}no" >&6
8928 fi
8929
8930
8931 enablestring=
8932 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8933 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8934 no_cache=0
8935 # Check whether --enable-grid or --disable-grid was given.
8936 if test "${enable_grid+set}" = set; then
8937 enableval="$enable_grid"
8938
8939 if test "$enableval" = yes; then
8940 ac_cv_use_grid='wxUSE_GRID=yes'
8941 else
8942 ac_cv_use_grid='wxUSE_GRID=no'
8943 fi
8944
8945 else
8946
8947 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8948 if test "x$LINE" != x ; then
8949 eval "DEFAULT_$LINE"
8950 else
8951 no_cache=1
8952 fi
8953
8954 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8955
8956 fi;
8957
8958 eval "$ac_cv_use_grid"
8959 if test "$no_cache" != 1; then
8960 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8961 fi
8962
8963 if test "$wxUSE_GRID" = yes; then
8964 echo "$as_me:$LINENO: result: yes" >&5
8965 echo "${ECHO_T}yes" >&6
8966 else
8967 echo "$as_me:$LINENO: result: no" >&5
8968 echo "${ECHO_T}no" >&6
8969 fi
8970
8971
8972 enablestring=
8973 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8974 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8975 no_cache=0
8976 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8977 if test "${enable_dataviewctrl+set}" = set; then
8978 enableval="$enable_dataviewctrl"
8979
8980 if test "$enableval" = yes; then
8981 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
8982 else
8983 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
8984 fi
8985
8986 else
8987
8988 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8989 if test "x$LINE" != x ; then
8990 eval "DEFAULT_$LINE"
8991 else
8992 no_cache=1
8993 fi
8994
8995 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8996
8997 fi;
8998
8999 eval "$ac_cv_use_dataviewctrl"
9000 if test "$no_cache" != 1; then
9001 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9002 fi
9003
9004 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9005 echo "$as_me:$LINENO: result: yes" >&5
9006 echo "${ECHO_T}yes" >&6
9007 else
9008 echo "$as_me:$LINENO: result: no" >&5
9009 echo "${ECHO_T}no" >&6
9010 fi
9011
9012
9013 enablestring=
9014 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9015 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
9016 no_cache=0
9017 # Check whether --enable-hyperlink or --disable-hyperlink was given.
9018 if test "${enable_hyperlink+set}" = set; then
9019 enableval="$enable_hyperlink"
9020
9021 if test "$enableval" = yes; then
9022 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9023 else
9024 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9025 fi
9026
9027 else
9028
9029 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9030 if test "x$LINE" != x ; then
9031 eval "DEFAULT_$LINE"
9032 else
9033 no_cache=1
9034 fi
9035
9036 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9037
9038 fi;
9039
9040 eval "$ac_cv_use_hyperlink"
9041 if test "$no_cache" != 1; then
9042 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9043 fi
9044
9045 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9046 echo "$as_me:$LINENO: result: yes" >&5
9047 echo "${ECHO_T}yes" >&6
9048 else
9049 echo "$as_me:$LINENO: result: no" >&5
9050 echo "${ECHO_T}no" >&6
9051 fi
9052
9053
9054 enablestring=
9055 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9056 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
9057 no_cache=0
9058 # Check whether --enable-imaglist or --disable-imaglist was given.
9059 if test "${enable_imaglist+set}" = set; then
9060 enableval="$enable_imaglist"
9061
9062 if test "$enableval" = yes; then
9063 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9064 else
9065 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9066 fi
9067
9068 else
9069
9070 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9071 if test "x$LINE" != x ; then
9072 eval "DEFAULT_$LINE"
9073 else
9074 no_cache=1
9075 fi
9076
9077 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9078
9079 fi;
9080
9081 eval "$ac_cv_use_imaglist"
9082 if test "$no_cache" != 1; then
9083 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9084 fi
9085
9086 if test "$wxUSE_IMAGLIST" = yes; then
9087 echo "$as_me:$LINENO: result: yes" >&5
9088 echo "${ECHO_T}yes" >&6
9089 else
9090 echo "$as_me:$LINENO: result: no" >&5
9091 echo "${ECHO_T}no" >&6
9092 fi
9093
9094
9095 enablestring=
9096 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9097 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
9098 no_cache=0
9099 # Check whether --enable-listbook or --disable-listbook was given.
9100 if test "${enable_listbook+set}" = set; then
9101 enableval="$enable_listbook"
9102
9103 if test "$enableval" = yes; then
9104 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9105 else
9106 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9107 fi
9108
9109 else
9110
9111 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9112 if test "x$LINE" != x ; then
9113 eval "DEFAULT_$LINE"
9114 else
9115 no_cache=1
9116 fi
9117
9118 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9119
9120 fi;
9121
9122 eval "$ac_cv_use_listbook"
9123 if test "$no_cache" != 1; then
9124 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9125 fi
9126
9127 if test "$wxUSE_LISTBOOK" = yes; then
9128 echo "$as_me:$LINENO: result: yes" >&5
9129 echo "${ECHO_T}yes" >&6
9130 else
9131 echo "$as_me:$LINENO: result: no" >&5
9132 echo "${ECHO_T}no" >&6
9133 fi
9134
9135
9136 enablestring=
9137 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9138 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
9139 no_cache=0
9140 # Check whether --enable-listbox or --disable-listbox was given.
9141 if test "${enable_listbox+set}" = set; then
9142 enableval="$enable_listbox"
9143
9144 if test "$enableval" = yes; then
9145 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9146 else
9147 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9148 fi
9149
9150 else
9151
9152 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9153 if test "x$LINE" != x ; then
9154 eval "DEFAULT_$LINE"
9155 else
9156 no_cache=1
9157 fi
9158
9159 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9160
9161 fi;
9162
9163 eval "$ac_cv_use_listbox"
9164 if test "$no_cache" != 1; then
9165 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9166 fi
9167
9168 if test "$wxUSE_LISTBOX" = yes; then
9169 echo "$as_me:$LINENO: result: yes" >&5
9170 echo "${ECHO_T}yes" >&6
9171 else
9172 echo "$as_me:$LINENO: result: no" >&5
9173 echo "${ECHO_T}no" >&6
9174 fi
9175
9176
9177 enablestring=
9178 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9179 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
9180 no_cache=0
9181 # Check whether --enable-listctrl or --disable-listctrl was given.
9182 if test "${enable_listctrl+set}" = set; then
9183 enableval="$enable_listctrl"
9184
9185 if test "$enableval" = yes; then
9186 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9187 else
9188 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9189 fi
9190
9191 else
9192
9193 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9194 if test "x$LINE" != x ; then
9195 eval "DEFAULT_$LINE"
9196 else
9197 no_cache=1
9198 fi
9199
9200 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9201
9202 fi;
9203
9204 eval "$ac_cv_use_listctrl"
9205 if test "$no_cache" != 1; then
9206 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9207 fi
9208
9209 if test "$wxUSE_LISTCTRL" = yes; then
9210 echo "$as_me:$LINENO: result: yes" >&5
9211 echo "${ECHO_T}yes" >&6
9212 else
9213 echo "$as_me:$LINENO: result: no" >&5
9214 echo "${ECHO_T}no" >&6
9215 fi
9216
9217
9218 enablestring=
9219 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9220 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
9221 no_cache=0
9222 # Check whether --enable-notebook or --disable-notebook was given.
9223 if test "${enable_notebook+set}" = set; then
9224 enableval="$enable_notebook"
9225
9226 if test "$enableval" = yes; then
9227 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9228 else
9229 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9230 fi
9231
9232 else
9233
9234 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9235 if test "x$LINE" != x ; then
9236 eval "DEFAULT_$LINE"
9237 else
9238 no_cache=1
9239 fi
9240
9241 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9242
9243 fi;
9244
9245 eval "$ac_cv_use_notebook"
9246 if test "$no_cache" != 1; then
9247 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9248 fi
9249
9250 if test "$wxUSE_NOTEBOOK" = yes; then
9251 echo "$as_me:$LINENO: result: yes" >&5
9252 echo "${ECHO_T}yes" >&6
9253 else
9254 echo "$as_me:$LINENO: result: no" >&5
9255 echo "${ECHO_T}no" >&6
9256 fi
9257
9258
9259 enablestring=
9260 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9261 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9262 no_cache=0
9263 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9264 if test "${enable_odcombobox+set}" = set; then
9265 enableval="$enable_odcombobox"
9266
9267 if test "$enableval" = yes; then
9268 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
9269 else
9270 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
9271 fi
9272
9273 else
9274
9275 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9276 if test "x$LINE" != x ; then
9277 eval "DEFAULT_$LINE"
9278 else
9279 no_cache=1
9280 fi
9281
9282 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9283
9284 fi;
9285
9286 eval "$ac_cv_use_odcombobox"
9287 if test "$no_cache" != 1; then
9288 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9289 fi
9290
9291 if test "$wxUSE_ODCOMBOBOX" = yes; then
9292 echo "$as_me:$LINENO: result: yes" >&5
9293 echo "${ECHO_T}yes" >&6
9294 else
9295 echo "$as_me:$LINENO: result: no" >&5
9296 echo "${ECHO_T}no" >&6
9297 fi
9298
9299
9300 enablestring=
9301 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9302 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9303 no_cache=0
9304 # Check whether --enable-radiobox or --disable-radiobox was given.
9305 if test "${enable_radiobox+set}" = set; then
9306 enableval="$enable_radiobox"
9307
9308 if test "$enableval" = yes; then
9309 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
9310 else
9311 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
9312 fi
9313
9314 else
9315
9316 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9317 if test "x$LINE" != x ; then
9318 eval "DEFAULT_$LINE"
9319 else
9320 no_cache=1
9321 fi
9322
9323 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9324
9325 fi;
9326
9327 eval "$ac_cv_use_radiobox"
9328 if test "$no_cache" != 1; then
9329 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9330 fi
9331
9332 if test "$wxUSE_RADIOBOX" = yes; then
9333 echo "$as_me:$LINENO: result: yes" >&5
9334 echo "${ECHO_T}yes" >&6
9335 else
9336 echo "$as_me:$LINENO: result: no" >&5
9337 echo "${ECHO_T}no" >&6
9338 fi
9339
9340
9341 enablestring=
9342 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9343 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9344 no_cache=0
9345 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9346 if test "${enable_radiobtn+set}" = set; then
9347 enableval="$enable_radiobtn"
9348
9349 if test "$enableval" = yes; then
9350 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
9351 else
9352 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
9353 fi
9354
9355 else
9356
9357 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9358 if test "x$LINE" != x ; then
9359 eval "DEFAULT_$LINE"
9360 else
9361 no_cache=1
9362 fi
9363
9364 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9365
9366 fi;
9367
9368 eval "$ac_cv_use_radiobtn"
9369 if test "$no_cache" != 1; then
9370 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9371 fi
9372
9373 if test "$wxUSE_RADIOBTN" = yes; then
9374 echo "$as_me:$LINENO: result: yes" >&5
9375 echo "${ECHO_T}yes" >&6
9376 else
9377 echo "$as_me:$LINENO: result: no" >&5
9378 echo "${ECHO_T}no" >&6
9379 fi
9380
9381
9382 enablestring=
9383 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9384 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9385 no_cache=0
9386 # Check whether --enable-sash or --disable-sash was given.
9387 if test "${enable_sash+set}" = set; then
9388 enableval="$enable_sash"
9389
9390 if test "$enableval" = yes; then
9391 ac_cv_use_sash='wxUSE_SASH=yes'
9392 else
9393 ac_cv_use_sash='wxUSE_SASH=no'
9394 fi
9395
9396 else
9397
9398 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9399 if test "x$LINE" != x ; then
9400 eval "DEFAULT_$LINE"
9401 else
9402 no_cache=1
9403 fi
9404
9405 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9406
9407 fi;
9408
9409 eval "$ac_cv_use_sash"
9410 if test "$no_cache" != 1; then
9411 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9412 fi
9413
9414 if test "$wxUSE_SASH" = yes; then
9415 echo "$as_me:$LINENO: result: yes" >&5
9416 echo "${ECHO_T}yes" >&6
9417 else
9418 echo "$as_me:$LINENO: result: no" >&5
9419 echo "${ECHO_T}no" >&6
9420 fi
9421
9422
9423 enablestring=
9424 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9425 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9426 no_cache=0
9427 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9428 if test "${enable_scrollbar+set}" = set; then
9429 enableval="$enable_scrollbar"
9430
9431 if test "$enableval" = yes; then
9432 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
9433 else
9434 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
9435 fi
9436
9437 else
9438
9439 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9440 if test "x$LINE" != x ; then
9441 eval "DEFAULT_$LINE"
9442 else
9443 no_cache=1
9444 fi
9445
9446 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9447
9448 fi;
9449
9450 eval "$ac_cv_use_scrollbar"
9451 if test "$no_cache" != 1; then
9452 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9453 fi
9454
9455 if test "$wxUSE_SCROLLBAR" = yes; then
9456 echo "$as_me:$LINENO: result: yes" >&5
9457 echo "${ECHO_T}yes" >&6
9458 else
9459 echo "$as_me:$LINENO: result: no" >&5
9460 echo "${ECHO_T}no" >&6
9461 fi
9462
9463
9464 enablestring=
9465 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9466 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9467 no_cache=0
9468 # Check whether --enable-slider or --disable-slider was given.
9469 if test "${enable_slider+set}" = set; then
9470 enableval="$enable_slider"
9471
9472 if test "$enableval" = yes; then
9473 ac_cv_use_slider='wxUSE_SLIDER=yes'
9474 else
9475 ac_cv_use_slider='wxUSE_SLIDER=no'
9476 fi
9477
9478 else
9479
9480 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9481 if test "x$LINE" != x ; then
9482 eval "DEFAULT_$LINE"
9483 else
9484 no_cache=1
9485 fi
9486
9487 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9488
9489 fi;
9490
9491 eval "$ac_cv_use_slider"
9492 if test "$no_cache" != 1; then
9493 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9494 fi
9495
9496 if test "$wxUSE_SLIDER" = yes; then
9497 echo "$as_me:$LINENO: result: yes" >&5
9498 echo "${ECHO_T}yes" >&6
9499 else
9500 echo "$as_me:$LINENO: result: no" >&5
9501 echo "${ECHO_T}no" >&6
9502 fi
9503
9504
9505 enablestring=
9506 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9507 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9508 no_cache=0
9509 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9510 if test "${enable_spinbtn+set}" = set; then
9511 enableval="$enable_spinbtn"
9512
9513 if test "$enableval" = yes; then
9514 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
9515 else
9516 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
9517 fi
9518
9519 else
9520
9521 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9522 if test "x$LINE" != x ; then
9523 eval "DEFAULT_$LINE"
9524 else
9525 no_cache=1
9526 fi
9527
9528 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9529
9530 fi;
9531
9532 eval "$ac_cv_use_spinbtn"
9533 if test "$no_cache" != 1; then
9534 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9535 fi
9536
9537 if test "$wxUSE_SPINBTN" = yes; then
9538 echo "$as_me:$LINENO: result: yes" >&5
9539 echo "${ECHO_T}yes" >&6
9540 else
9541 echo "$as_me:$LINENO: result: no" >&5
9542 echo "${ECHO_T}no" >&6
9543 fi
9544
9545
9546 enablestring=
9547 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9548 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9549 no_cache=0
9550 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9551 if test "${enable_spinctrl+set}" = set; then
9552 enableval="$enable_spinctrl"
9553
9554 if test "$enableval" = yes; then
9555 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
9556 else
9557 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
9558 fi
9559
9560 else
9561
9562 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9563 if test "x$LINE" != x ; then
9564 eval "DEFAULT_$LINE"
9565 else
9566 no_cache=1
9567 fi
9568
9569 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9570
9571 fi;
9572
9573 eval "$ac_cv_use_spinctrl"
9574 if test "$no_cache" != 1; then
9575 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9576 fi
9577
9578 if test "$wxUSE_SPINCTRL" = yes; then
9579 echo "$as_me:$LINENO: result: yes" >&5
9580 echo "${ECHO_T}yes" >&6
9581 else
9582 echo "$as_me:$LINENO: result: no" >&5
9583 echo "${ECHO_T}no" >&6
9584 fi
9585
9586
9587 enablestring=
9588 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9589 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9590 no_cache=0
9591 # Check whether --enable-splitter or --disable-splitter was given.
9592 if test "${enable_splitter+set}" = set; then
9593 enableval="$enable_splitter"
9594
9595 if test "$enableval" = yes; then
9596 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
9597 else
9598 ac_cv_use_splitter='wxUSE_SPLITTER=no'
9599 fi
9600
9601 else
9602
9603 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9604 if test "x$LINE" != x ; then
9605 eval "DEFAULT_$LINE"
9606 else
9607 no_cache=1
9608 fi
9609
9610 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9611
9612 fi;
9613
9614 eval "$ac_cv_use_splitter"
9615 if test "$no_cache" != 1; then
9616 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9617 fi
9618
9619 if test "$wxUSE_SPLITTER" = yes; then
9620 echo "$as_me:$LINENO: result: yes" >&5
9621 echo "${ECHO_T}yes" >&6
9622 else
9623 echo "$as_me:$LINENO: result: no" >&5
9624 echo "${ECHO_T}no" >&6
9625 fi
9626
9627
9628 enablestring=
9629 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9630 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9631 no_cache=0
9632 # Check whether --enable-statbmp or --disable-statbmp was given.
9633 if test "${enable_statbmp+set}" = set; then
9634 enableval="$enable_statbmp"
9635
9636 if test "$enableval" = yes; then
9637 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
9638 else
9639 ac_cv_use_statbmp='wxUSE_STATBMP=no'
9640 fi
9641
9642 else
9643
9644 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9645 if test "x$LINE" != x ; then
9646 eval "DEFAULT_$LINE"
9647 else
9648 no_cache=1
9649 fi
9650
9651 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9652
9653 fi;
9654
9655 eval "$ac_cv_use_statbmp"
9656 if test "$no_cache" != 1; then
9657 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9658 fi
9659
9660 if test "$wxUSE_STATBMP" = yes; then
9661 echo "$as_me:$LINENO: result: yes" >&5
9662 echo "${ECHO_T}yes" >&6
9663 else
9664 echo "$as_me:$LINENO: result: no" >&5
9665 echo "${ECHO_T}no" >&6
9666 fi
9667
9668
9669 enablestring=
9670 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9671 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9672 no_cache=0
9673 # Check whether --enable-statbox or --disable-statbox was given.
9674 if test "${enable_statbox+set}" = set; then
9675 enableval="$enable_statbox"
9676
9677 if test "$enableval" = yes; then
9678 ac_cv_use_statbox='wxUSE_STATBOX=yes'
9679 else
9680 ac_cv_use_statbox='wxUSE_STATBOX=no'
9681 fi
9682
9683 else
9684
9685 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9686 if test "x$LINE" != x ; then
9687 eval "DEFAULT_$LINE"
9688 else
9689 no_cache=1
9690 fi
9691
9692 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9693
9694 fi;
9695
9696 eval "$ac_cv_use_statbox"
9697 if test "$no_cache" != 1; then
9698 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9699 fi
9700
9701 if test "$wxUSE_STATBOX" = yes; then
9702 echo "$as_me:$LINENO: result: yes" >&5
9703 echo "${ECHO_T}yes" >&6
9704 else
9705 echo "$as_me:$LINENO: result: no" >&5
9706 echo "${ECHO_T}no" >&6
9707 fi
9708
9709
9710 enablestring=
9711 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9712 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9713 no_cache=0
9714 # Check whether --enable-statline or --disable-statline was given.
9715 if test "${enable_statline+set}" = set; then
9716 enableval="$enable_statline"
9717
9718 if test "$enableval" = yes; then
9719 ac_cv_use_statline='wxUSE_STATLINE=yes'
9720 else
9721 ac_cv_use_statline='wxUSE_STATLINE=no'
9722 fi
9723
9724 else
9725
9726 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9727 if test "x$LINE" != x ; then
9728 eval "DEFAULT_$LINE"
9729 else
9730 no_cache=1
9731 fi
9732
9733 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9734
9735 fi;
9736
9737 eval "$ac_cv_use_statline"
9738 if test "$no_cache" != 1; then
9739 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9740 fi
9741
9742 if test "$wxUSE_STATLINE" = yes; then
9743 echo "$as_me:$LINENO: result: yes" >&5
9744 echo "${ECHO_T}yes" >&6
9745 else
9746 echo "$as_me:$LINENO: result: no" >&5
9747 echo "${ECHO_T}no" >&6
9748 fi
9749
9750
9751 enablestring=
9752 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9753 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9754 no_cache=0
9755 # Check whether --enable-stattext or --disable-stattext was given.
9756 if test "${enable_stattext+set}" = set; then
9757 enableval="$enable_stattext"
9758
9759 if test "$enableval" = yes; then
9760 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
9761 else
9762 ac_cv_use_stattext='wxUSE_STATTEXT=no'
9763 fi
9764
9765 else
9766
9767 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9768 if test "x$LINE" != x ; then
9769 eval "DEFAULT_$LINE"
9770 else
9771 no_cache=1
9772 fi
9773
9774 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9775
9776 fi;
9777
9778 eval "$ac_cv_use_stattext"
9779 if test "$no_cache" != 1; then
9780 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9781 fi
9782
9783 if test "$wxUSE_STATTEXT" = yes; then
9784 echo "$as_me:$LINENO: result: yes" >&5
9785 echo "${ECHO_T}yes" >&6
9786 else
9787 echo "$as_me:$LINENO: result: no" >&5
9788 echo "${ECHO_T}no" >&6
9789 fi
9790
9791
9792 enablestring=
9793 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9794 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9795 no_cache=0
9796 # Check whether --enable-statusbar or --disable-statusbar was given.
9797 if test "${enable_statusbar+set}" = set; then
9798 enableval="$enable_statusbar"
9799
9800 if test "$enableval" = yes; then
9801 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
9802 else
9803 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
9804 fi
9805
9806 else
9807
9808 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9809 if test "x$LINE" != x ; then
9810 eval "DEFAULT_$LINE"
9811 else
9812 no_cache=1
9813 fi
9814
9815 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9816
9817 fi;
9818
9819 eval "$ac_cv_use_statusbar"
9820 if test "$no_cache" != 1; then
9821 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9822 fi
9823
9824 if test "$wxUSE_STATUSBAR" = yes; then
9825 echo "$as_me:$LINENO: result: yes" >&5
9826 echo "${ECHO_T}yes" >&6
9827 else
9828 echo "$as_me:$LINENO: result: no" >&5
9829 echo "${ECHO_T}no" >&6
9830 fi
9831
9832
9833 enablestring=
9834 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9835 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9836 no_cache=0
9837 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9838 if test "${enable_tabdialog+set}" = set; then
9839 enableval="$enable_tabdialog"
9840
9841 if test "$enableval" = yes; then
9842 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
9843 else
9844 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
9845 fi
9846
9847 else
9848
9849 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9850 if test "x$LINE" != x ; then
9851 eval "DEFAULT_$LINE"
9852 else
9853 no_cache=1
9854 fi
9855
9856 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9857
9858 fi;
9859
9860 eval "$ac_cv_use_tabdialog"
9861 if test "$no_cache" != 1; then
9862 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9863 fi
9864
9865 if test "$wxUSE_TAB_DIALOG" = yes; then
9866 echo "$as_me:$LINENO: result: yes" >&5
9867 echo "${ECHO_T}yes" >&6
9868 else
9869 echo "$as_me:$LINENO: result: no" >&5
9870 echo "${ECHO_T}no" >&6
9871 fi
9872
9873
9874 enablestring=
9875 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9876 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9877 no_cache=0
9878 # Check whether --enable-textctrl or --disable-textctrl was given.
9879 if test "${enable_textctrl+set}" = set; then
9880 enableval="$enable_textctrl"
9881
9882 if test "$enableval" = yes; then
9883 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
9884 else
9885 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
9886 fi
9887
9888 else
9889
9890 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9891 if test "x$LINE" != x ; then
9892 eval "DEFAULT_$LINE"
9893 else
9894 no_cache=1
9895 fi
9896
9897 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9898
9899 fi;
9900
9901 eval "$ac_cv_use_textctrl"
9902 if test "$no_cache" != 1; then
9903 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9904 fi
9905
9906 if test "$wxUSE_TEXTCTRL" = yes; then
9907 echo "$as_me:$LINENO: result: yes" >&5
9908 echo "${ECHO_T}yes" >&6
9909 else
9910 echo "$as_me:$LINENO: result: no" >&5
9911 echo "${ECHO_T}no" >&6
9912 fi
9913
9914
9915 enablestring=
9916 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9917 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9918 no_cache=0
9919 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9920 if test "${enable_togglebtn+set}" = set; then
9921 enableval="$enable_togglebtn"
9922
9923 if test "$enableval" = yes; then
9924 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
9925 else
9926 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
9927 fi
9928
9929 else
9930
9931 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9932 if test "x$LINE" != x ; then
9933 eval "DEFAULT_$LINE"
9934 else
9935 no_cache=1
9936 fi
9937
9938 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9939
9940 fi;
9941
9942 eval "$ac_cv_use_togglebtn"
9943 if test "$no_cache" != 1; then
9944 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9945 fi
9946
9947 if test "$wxUSE_TOGGLEBTN" = yes; then
9948 echo "$as_me:$LINENO: result: yes" >&5
9949 echo "${ECHO_T}yes" >&6
9950 else
9951 echo "$as_me:$LINENO: result: no" >&5
9952 echo "${ECHO_T}no" >&6
9953 fi
9954
9955
9956 enablestring=
9957 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9958 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9959 no_cache=0
9960 # Check whether --enable-toolbar or --disable-toolbar was given.
9961 if test "${enable_toolbar+set}" = set; then
9962 enableval="$enable_toolbar"
9963
9964 if test "$enableval" = yes; then
9965 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
9966 else
9967 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
9968 fi
9969
9970 else
9971
9972 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9973 if test "x$LINE" != x ; then
9974 eval "DEFAULT_$LINE"
9975 else
9976 no_cache=1
9977 fi
9978
9979 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9980
9981 fi;
9982
9983 eval "$ac_cv_use_toolbar"
9984 if test "$no_cache" != 1; then
9985 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9986 fi
9987
9988 if test "$wxUSE_TOOLBAR" = yes; then
9989 echo "$as_me:$LINENO: result: yes" >&5
9990 echo "${ECHO_T}yes" >&6
9991 else
9992 echo "$as_me:$LINENO: result: no" >&5
9993 echo "${ECHO_T}no" >&6
9994 fi
9995
9996
9997 enablestring=
9998 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9999 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
10000 no_cache=0
10001 # Check whether --enable-tbarnative or --disable-tbarnative was given.
10002 if test "${enable_tbarnative+set}" = set; then
10003 enableval="$enable_tbarnative"
10004
10005 if test "$enableval" = yes; then
10006 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10007 else
10008 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10009 fi
10010
10011 else
10012
10013 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10014 if test "x$LINE" != x ; then
10015 eval "DEFAULT_$LINE"
10016 else
10017 no_cache=1
10018 fi
10019
10020 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10021
10022 fi;
10023
10024 eval "$ac_cv_use_tbarnative"
10025 if test "$no_cache" != 1; then
10026 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10027 fi
10028
10029 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10030 echo "$as_me:$LINENO: result: yes" >&5
10031 echo "${ECHO_T}yes" >&6
10032 else
10033 echo "$as_me:$LINENO: result: no" >&5
10034 echo "${ECHO_T}no" >&6
10035 fi
10036
10037
10038 enablestring=
10039 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10040 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
10041 no_cache=0
10042 # Check whether --enable-treebook or --disable-treebook was given.
10043 if test "${enable_treebook+set}" = set; then
10044 enableval="$enable_treebook"
10045
10046 if test "$enableval" = yes; then
10047 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10048 else
10049 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10050 fi
10051
10052 else
10053
10054 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10055 if test "x$LINE" != x ; then
10056 eval "DEFAULT_$LINE"
10057 else
10058 no_cache=1
10059 fi
10060
10061 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10062
10063 fi;
10064
10065 eval "$ac_cv_use_treebook"
10066 if test "$no_cache" != 1; then
10067 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10068 fi
10069
10070 if test "$wxUSE_TREEBOOK" = yes; then
10071 echo "$as_me:$LINENO: result: yes" >&5
10072 echo "${ECHO_T}yes" >&6
10073 else
10074 echo "$as_me:$LINENO: result: no" >&5
10075 echo "${ECHO_T}no" >&6
10076 fi
10077
10078
10079 enablestring=
10080 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10081 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
10082 no_cache=0
10083 # Check whether --enable-toolbook or --disable-toolbook was given.
10084 if test "${enable_toolbook+set}" = set; then
10085 enableval="$enable_toolbook"
10086
10087 if test "$enableval" = yes; then
10088 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10089 else
10090 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10091 fi
10092
10093 else
10094
10095 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10096 if test "x$LINE" != x ; then
10097 eval "DEFAULT_$LINE"
10098 else
10099 no_cache=1
10100 fi
10101
10102 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10103
10104 fi;
10105
10106 eval "$ac_cv_use_toolbook"
10107 if test "$no_cache" != 1; then
10108 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10109 fi
10110
10111 if test "$wxUSE_TOOLBOOK" = yes; then
10112 echo "$as_me:$LINENO: result: yes" >&5
10113 echo "${ECHO_T}yes" >&6
10114 else
10115 echo "$as_me:$LINENO: result: no" >&5
10116 echo "${ECHO_T}no" >&6
10117 fi
10118
10119
10120 enablestring=
10121 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10122 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
10123 no_cache=0
10124 # Check whether --enable-treectrl or --disable-treectrl was given.
10125 if test "${enable_treectrl+set}" = set; then
10126 enableval="$enable_treectrl"
10127
10128 if test "$enableval" = yes; then
10129 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10130 else
10131 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10132 fi
10133
10134 else
10135
10136 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10137 if test "x$LINE" != x ; then
10138 eval "DEFAULT_$LINE"
10139 else
10140 no_cache=1
10141 fi
10142
10143 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10144
10145 fi;
10146
10147 eval "$ac_cv_use_treectrl"
10148 if test "$no_cache" != 1; then
10149 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10150 fi
10151
10152 if test "$wxUSE_TREECTRL" = yes; then
10153 echo "$as_me:$LINENO: result: yes" >&5
10154 echo "${ECHO_T}yes" >&6
10155 else
10156 echo "$as_me:$LINENO: result: no" >&5
10157 echo "${ECHO_T}no" >&6
10158 fi
10159
10160
10161 enablestring=
10162 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10163 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
10164 no_cache=0
10165 # Check whether --enable-tipwindow or --disable-tipwindow was given.
10166 if test "${enable_tipwindow+set}" = set; then
10167 enableval="$enable_tipwindow"
10168
10169 if test "$enableval" = yes; then
10170 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10171 else
10172 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10173 fi
10174
10175 else
10176
10177 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10178 if test "x$LINE" != x ; then
10179 eval "DEFAULT_$LINE"
10180 else
10181 no_cache=1
10182 fi
10183
10184 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10185
10186 fi;
10187
10188 eval "$ac_cv_use_tipwindow"
10189 if test "$no_cache" != 1; then
10190 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10191 fi
10192
10193 if test "$wxUSE_TIPWINDOW" = yes; then
10194 echo "$as_me:$LINENO: result: yes" >&5
10195 echo "${ECHO_T}yes" >&6
10196 else
10197 echo "$as_me:$LINENO: result: no" >&5
10198 echo "${ECHO_T}no" >&6
10199 fi
10200
10201
10202 enablestring=
10203 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10204 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
10205 no_cache=0
10206 # Check whether --enable-popupwin or --disable-popupwin was given.
10207 if test "${enable_popupwin+set}" = set; then
10208 enableval="$enable_popupwin"
10209
10210 if test "$enableval" = yes; then
10211 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
10212 else
10213 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
10214 fi
10215
10216 else
10217
10218 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10219 if test "x$LINE" != x ; then
10220 eval "DEFAULT_$LINE"
10221 else
10222 no_cache=1
10223 fi
10224
10225 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10226
10227 fi;
10228
10229 eval "$ac_cv_use_popupwin"
10230 if test "$no_cache" != 1; then
10231 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10232 fi
10233
10234 if test "$wxUSE_POPUPWIN" = yes; then
10235 echo "$as_me:$LINENO: result: yes" >&5
10236 echo "${ECHO_T}yes" >&6
10237 else
10238 echo "$as_me:$LINENO: result: no" >&5
10239 echo "${ECHO_T}no" >&6
10240 fi
10241
10242
10243
10244
10245 enablestring=
10246 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10247 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10248 no_cache=0
10249 # Check whether --enable-commondlg or --disable-commondlg was given.
10250 if test "${enable_commondlg+set}" = set; then
10251 enableval="$enable_commondlg"
10252
10253 if test "$enableval" = yes; then
10254 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
10255 else
10256 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
10257 fi
10258
10259 else
10260
10261 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10262 if test "x$LINE" != x ; then
10263 eval "DEFAULT_$LINE"
10264 else
10265 no_cache=1
10266 fi
10267
10268 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10269
10270 fi;
10271
10272 eval "$ac_cv_use_commondlg"
10273 if test "$no_cache" != 1; then
10274 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10275 fi
10276
10277 if test "$wxUSE_COMMONDLGS" = yes; then
10278 echo "$as_me:$LINENO: result: yes" >&5
10279 echo "${ECHO_T}yes" >&6
10280 else
10281 echo "$as_me:$LINENO: result: no" >&5
10282 echo "${ECHO_T}no" >&6
10283 fi
10284
10285
10286 enablestring=
10287 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10288 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10289 no_cache=0
10290 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10291 if test "${enable_aboutdlg+set}" = set; then
10292 enableval="$enable_aboutdlg"
10293
10294 if test "$enableval" = yes; then
10295 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
10296 else
10297 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
10298 fi
10299
10300 else
10301
10302 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10303 if test "x$LINE" != x ; then
10304 eval "DEFAULT_$LINE"
10305 else
10306 no_cache=1
10307 fi
10308
10309 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10310
10311 fi;
10312
10313 eval "$ac_cv_use_aboutdlg"
10314 if test "$no_cache" != 1; then
10315 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10316 fi
10317
10318 if test "$wxUSE_ABOUTDLG" = yes; then
10319 echo "$as_me:$LINENO: result: yes" >&5
10320 echo "${ECHO_T}yes" >&6
10321 else
10322 echo "$as_me:$LINENO: result: no" >&5
10323 echo "${ECHO_T}no" >&6
10324 fi
10325
10326
10327 enablestring=
10328 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10329 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10330 no_cache=0
10331 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10332 if test "${enable_choicedlg+set}" = set; then
10333 enableval="$enable_choicedlg"
10334
10335 if test "$enableval" = yes; then
10336 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
10337 else
10338 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
10339 fi
10340
10341 else
10342
10343 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10344 if test "x$LINE" != x ; then
10345 eval "DEFAULT_$LINE"
10346 else
10347 no_cache=1
10348 fi
10349
10350 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10351
10352 fi;
10353
10354 eval "$ac_cv_use_choicedlg"
10355 if test "$no_cache" != 1; then
10356 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10357 fi
10358
10359 if test "$wxUSE_CHOICEDLG" = yes; then
10360 echo "$as_me:$LINENO: result: yes" >&5
10361 echo "${ECHO_T}yes" >&6
10362 else
10363 echo "$as_me:$LINENO: result: no" >&5
10364 echo "${ECHO_T}no" >&6
10365 fi
10366
10367
10368 enablestring=
10369 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10370 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10371 no_cache=0
10372 # Check whether --enable-coldlg or --disable-coldlg was given.
10373 if test "${enable_coldlg+set}" = set; then
10374 enableval="$enable_coldlg"
10375
10376 if test "$enableval" = yes; then
10377 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
10378 else
10379 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
10380 fi
10381
10382 else
10383
10384 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10385 if test "x$LINE" != x ; then
10386 eval "DEFAULT_$LINE"
10387 else
10388 no_cache=1
10389 fi
10390
10391 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10392
10393 fi;
10394
10395 eval "$ac_cv_use_coldlg"
10396 if test "$no_cache" != 1; then
10397 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10398 fi
10399
10400 if test "$wxUSE_COLOURDLG" = yes; then
10401 echo "$as_me:$LINENO: result: yes" >&5
10402 echo "${ECHO_T}yes" >&6
10403 else
10404 echo "$as_me:$LINENO: result: no" >&5
10405 echo "${ECHO_T}no" >&6
10406 fi
10407
10408
10409 enablestring=
10410 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10411 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10412 no_cache=0
10413 # Check whether --enable-filedlg or --disable-filedlg was given.
10414 if test "${enable_filedlg+set}" = set; then
10415 enableval="$enable_filedlg"
10416
10417 if test "$enableval" = yes; then
10418 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
10419 else
10420 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
10421 fi
10422
10423 else
10424
10425 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10426 if test "x$LINE" != x ; then
10427 eval "DEFAULT_$LINE"
10428 else
10429 no_cache=1
10430 fi
10431
10432 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10433
10434 fi;
10435
10436 eval "$ac_cv_use_filedlg"
10437 if test "$no_cache" != 1; then
10438 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10439 fi
10440
10441 if test "$wxUSE_FILEDLG" = yes; then
10442 echo "$as_me:$LINENO: result: yes" >&5
10443 echo "${ECHO_T}yes" >&6
10444 else
10445 echo "$as_me:$LINENO: result: no" >&5
10446 echo "${ECHO_T}no" >&6
10447 fi
10448
10449
10450 enablestring=
10451 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10452 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10453 no_cache=0
10454 # Check whether --enable-finddlg or --disable-finddlg was given.
10455 if test "${enable_finddlg+set}" = set; then
10456 enableval="$enable_finddlg"
10457
10458 if test "$enableval" = yes; then
10459 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
10460 else
10461 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
10462 fi
10463
10464 else
10465
10466 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10467 if test "x$LINE" != x ; then
10468 eval "DEFAULT_$LINE"
10469 else
10470 no_cache=1
10471 fi
10472
10473 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10474
10475 fi;
10476
10477 eval "$ac_cv_use_finddlg"
10478 if test "$no_cache" != 1; then
10479 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10480 fi
10481
10482 if test "$wxUSE_FINDREPLDLG" = yes; then
10483 echo "$as_me:$LINENO: result: yes" >&5
10484 echo "${ECHO_T}yes" >&6
10485 else
10486 echo "$as_me:$LINENO: result: no" >&5
10487 echo "${ECHO_T}no" >&6
10488 fi
10489
10490
10491 enablestring=
10492 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10493 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10494 no_cache=0
10495 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10496 if test "${enable_fontdlg+set}" = set; then
10497 enableval="$enable_fontdlg"
10498
10499 if test "$enableval" = yes; then
10500 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
10501 else
10502 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
10503 fi
10504
10505 else
10506
10507 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10508 if test "x$LINE" != x ; then
10509 eval "DEFAULT_$LINE"
10510 else
10511 no_cache=1
10512 fi
10513
10514 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10515
10516 fi;
10517
10518 eval "$ac_cv_use_fontdlg"
10519 if test "$no_cache" != 1; then
10520 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10521 fi
10522
10523 if test "$wxUSE_FONTDLG" = yes; then
10524 echo "$as_me:$LINENO: result: yes" >&5
10525 echo "${ECHO_T}yes" >&6
10526 else
10527 echo "$as_me:$LINENO: result: no" >&5
10528 echo "${ECHO_T}no" >&6
10529 fi
10530
10531
10532 enablestring=
10533 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10534 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10535 no_cache=0
10536 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10537 if test "${enable_dirdlg+set}" = set; then
10538 enableval="$enable_dirdlg"
10539
10540 if test "$enableval" = yes; then
10541 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
10542 else
10543 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
10544 fi
10545
10546 else
10547
10548 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10549 if test "x$LINE" != x ; then
10550 eval "DEFAULT_$LINE"
10551 else
10552 no_cache=1
10553 fi
10554
10555 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10556
10557 fi;
10558
10559 eval "$ac_cv_use_dirdlg"
10560 if test "$no_cache" != 1; then
10561 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10562 fi
10563
10564 if test "$wxUSE_DIRDLG" = yes; then
10565 echo "$as_me:$LINENO: result: yes" >&5
10566 echo "${ECHO_T}yes" >&6
10567 else
10568 echo "$as_me:$LINENO: result: no" >&5
10569 echo "${ECHO_T}no" >&6
10570 fi
10571
10572
10573 enablestring=
10574 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10575 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10576 no_cache=0
10577 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10578 if test "${enable_msgdlg+set}" = set; then
10579 enableval="$enable_msgdlg"
10580
10581 if test "$enableval" = yes; then
10582 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
10583 else
10584 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
10585 fi
10586
10587 else
10588
10589 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10590 if test "x$LINE" != x ; then
10591 eval "DEFAULT_$LINE"
10592 else
10593 no_cache=1
10594 fi
10595
10596 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10597
10598 fi;
10599
10600 eval "$ac_cv_use_msgdlg"
10601 if test "$no_cache" != 1; then
10602 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10603 fi
10604
10605 if test "$wxUSE_MSGDLG" = yes; then
10606 echo "$as_me:$LINENO: result: yes" >&5
10607 echo "${ECHO_T}yes" >&6
10608 else
10609 echo "$as_me:$LINENO: result: no" >&5
10610 echo "${ECHO_T}no" >&6
10611 fi
10612
10613
10614 enablestring=
10615 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10616 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10617 no_cache=0
10618 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10619 if test "${enable_numberdlg+set}" = set; then
10620 enableval="$enable_numberdlg"
10621
10622 if test "$enableval" = yes; then
10623 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
10624 else
10625 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
10626 fi
10627
10628 else
10629
10630 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10631 if test "x$LINE" != x ; then
10632 eval "DEFAULT_$LINE"
10633 else
10634 no_cache=1
10635 fi
10636
10637 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10638
10639 fi;
10640
10641 eval "$ac_cv_use_numberdlg"
10642 if test "$no_cache" != 1; then
10643 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10644 fi
10645
10646 if test "$wxUSE_NUMBERDLG" = yes; then
10647 echo "$as_me:$LINENO: result: yes" >&5
10648 echo "${ECHO_T}yes" >&6
10649 else
10650 echo "$as_me:$LINENO: result: no" >&5
10651 echo "${ECHO_T}no" >&6
10652 fi
10653
10654
10655 enablestring=
10656 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10657 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10658 no_cache=0
10659 # Check whether --enable-splash or --disable-splash was given.
10660 if test "${enable_splash+set}" = set; then
10661 enableval="$enable_splash"
10662
10663 if test "$enableval" = yes; then
10664 ac_cv_use_splash='wxUSE_SPLASH=yes'
10665 else
10666 ac_cv_use_splash='wxUSE_SPLASH=no'
10667 fi
10668
10669 else
10670
10671 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10672 if test "x$LINE" != x ; then
10673 eval "DEFAULT_$LINE"
10674 else
10675 no_cache=1
10676 fi
10677
10678 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10679
10680 fi;
10681
10682 eval "$ac_cv_use_splash"
10683 if test "$no_cache" != 1; then
10684 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10685 fi
10686
10687 if test "$wxUSE_SPLASH" = yes; then
10688 echo "$as_me:$LINENO: result: yes" >&5
10689 echo "${ECHO_T}yes" >&6
10690 else
10691 echo "$as_me:$LINENO: result: no" >&5
10692 echo "${ECHO_T}no" >&6
10693 fi
10694
10695
10696 enablestring=
10697 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10698 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10699 no_cache=0
10700 # Check whether --enable-textdlg or --disable-textdlg was given.
10701 if test "${enable_textdlg+set}" = set; then
10702 enableval="$enable_textdlg"
10703
10704 if test "$enableval" = yes; then
10705 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
10706 else
10707 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
10708 fi
10709
10710 else
10711
10712 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10713 if test "x$LINE" != x ; then
10714 eval "DEFAULT_$LINE"
10715 else
10716 no_cache=1
10717 fi
10718
10719 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10720
10721 fi;
10722
10723 eval "$ac_cv_use_textdlg"
10724 if test "$no_cache" != 1; then
10725 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10726 fi
10727
10728 if test "$wxUSE_TEXTDLG" = yes; then
10729 echo "$as_me:$LINENO: result: yes" >&5
10730 echo "${ECHO_T}yes" >&6
10731 else
10732 echo "$as_me:$LINENO: result: no" >&5
10733 echo "${ECHO_T}no" >&6
10734 fi
10735
10736
10737 enablestring=
10738 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10739 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10740 no_cache=0
10741 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10742 if test "${enable_tipdlg+set}" = set; then
10743 enableval="$enable_tipdlg"
10744
10745 if test "$enableval" = yes; then
10746 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
10747 else
10748 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
10749 fi
10750
10751 else
10752
10753 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10754 if test "x$LINE" != x ; then
10755 eval "DEFAULT_$LINE"
10756 else
10757 no_cache=1
10758 fi
10759
10760 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10761
10762 fi;
10763
10764 eval "$ac_cv_use_tipdlg"
10765 if test "$no_cache" != 1; then
10766 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10767 fi
10768
10769 if test "$wxUSE_STARTUP_TIPS" = yes; then
10770 echo "$as_me:$LINENO: result: yes" >&5
10771 echo "${ECHO_T}yes" >&6
10772 else
10773 echo "$as_me:$LINENO: result: no" >&5
10774 echo "${ECHO_T}no" >&6
10775 fi
10776
10777
10778 enablestring=
10779 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10780 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10781 no_cache=0
10782 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10783 if test "${enable_progressdlg+set}" = set; then
10784 enableval="$enable_progressdlg"
10785
10786 if test "$enableval" = yes; then
10787 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
10788 else
10789 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
10790 fi
10791
10792 else
10793
10794 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10795 if test "x$LINE" != x ; then
10796 eval "DEFAULT_$LINE"
10797 else
10798 no_cache=1
10799 fi
10800
10801 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10802
10803 fi;
10804
10805 eval "$ac_cv_use_progressdlg"
10806 if test "$no_cache" != 1; then
10807 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10808 fi
10809
10810 if test "$wxUSE_PROGRESSDLG" = yes; then
10811 echo "$as_me:$LINENO: result: yes" >&5
10812 echo "${ECHO_T}yes" >&6
10813 else
10814 echo "$as_me:$LINENO: result: no" >&5
10815 echo "${ECHO_T}no" >&6
10816 fi
10817
10818
10819 enablestring=
10820 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10821 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10822 no_cache=0
10823 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10824 if test "${enable_wizarddlg+set}" = set; then
10825 enableval="$enable_wizarddlg"
10826
10827 if test "$enableval" = yes; then
10828 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
10829 else
10830 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
10831 fi
10832
10833 else
10834
10835 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10836 if test "x$LINE" != x ; then
10837 eval "DEFAULT_$LINE"
10838 else
10839 no_cache=1
10840 fi
10841
10842 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10843
10844 fi;
10845
10846 eval "$ac_cv_use_wizarddlg"
10847 if test "$no_cache" != 1; then
10848 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10849 fi
10850
10851 if test "$wxUSE_WIZARDDLG" = yes; then
10852 echo "$as_me:$LINENO: result: yes" >&5
10853 echo "${ECHO_T}yes" >&6
10854 else
10855 echo "$as_me:$LINENO: result: no" >&5
10856 echo "${ECHO_T}no" >&6
10857 fi
10858
10859
10860
10861
10862 enablestring=
10863 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10864 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10865 no_cache=0
10866 # Check whether --enable-menus or --disable-menus was given.
10867 if test "${enable_menus+set}" = set; then
10868 enableval="$enable_menus"
10869
10870 if test "$enableval" = yes; then
10871 ac_cv_use_menus='wxUSE_MENUS=yes'
10872 else
10873 ac_cv_use_menus='wxUSE_MENUS=no'
10874 fi
10875
10876 else
10877
10878 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10879 if test "x$LINE" != x ; then
10880 eval "DEFAULT_$LINE"
10881 else
10882 no_cache=1
10883 fi
10884
10885 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10886
10887 fi;
10888
10889 eval "$ac_cv_use_menus"
10890 if test "$no_cache" != 1; then
10891 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10892 fi
10893
10894 if test "$wxUSE_MENUS" = yes; then
10895 echo "$as_me:$LINENO: result: yes" >&5
10896 echo "${ECHO_T}yes" >&6
10897 else
10898 echo "$as_me:$LINENO: result: no" >&5
10899 echo "${ECHO_T}no" >&6
10900 fi
10901
10902
10903 enablestring=
10904 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10905 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10906 no_cache=0
10907 # Check whether --enable-miniframe or --disable-miniframe was given.
10908 if test "${enable_miniframe+set}" = set; then
10909 enableval="$enable_miniframe"
10910
10911 if test "$enableval" = yes; then
10912 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
10913 else
10914 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
10915 fi
10916
10917 else
10918
10919 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10920 if test "x$LINE" != x ; then
10921 eval "DEFAULT_$LINE"
10922 else
10923 no_cache=1
10924 fi
10925
10926 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10927
10928 fi;
10929
10930 eval "$ac_cv_use_miniframe"
10931 if test "$no_cache" != 1; then
10932 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10933 fi
10934
10935 if test "$wxUSE_MINIFRAME" = yes; then
10936 echo "$as_me:$LINENO: result: yes" >&5
10937 echo "${ECHO_T}yes" >&6
10938 else
10939 echo "$as_me:$LINENO: result: no" >&5
10940 echo "${ECHO_T}no" >&6
10941 fi
10942
10943
10944 enablestring=
10945 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10946 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10947 no_cache=0
10948 # Check whether --enable-tooltips or --disable-tooltips was given.
10949 if test "${enable_tooltips+set}" = set; then
10950 enableval="$enable_tooltips"
10951
10952 if test "$enableval" = yes; then
10953 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
10954 else
10955 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
10956 fi
10957
10958 else
10959
10960 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10961 if test "x$LINE" != x ; then
10962 eval "DEFAULT_$LINE"
10963 else
10964 no_cache=1
10965 fi
10966
10967 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10968
10969 fi;
10970
10971 eval "$ac_cv_use_tooltips"
10972 if test "$no_cache" != 1; then
10973 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10974 fi
10975
10976 if test "$wxUSE_TOOLTIPS" = yes; then
10977 echo "$as_me:$LINENO: result: yes" >&5
10978 echo "${ECHO_T}yes" >&6
10979 else
10980 echo "$as_me:$LINENO: result: no" >&5
10981 echo "${ECHO_T}no" >&6
10982 fi
10983
10984
10985 enablestring=
10986 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10987 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10988 no_cache=0
10989 # Check whether --enable-splines or --disable-splines was given.
10990 if test "${enable_splines+set}" = set; then
10991 enableval="$enable_splines"
10992
10993 if test "$enableval" = yes; then
10994 ac_cv_use_splines='wxUSE_SPLINES=yes'
10995 else
10996 ac_cv_use_splines='wxUSE_SPLINES=no'
10997 fi
10998
10999 else
11000
11001 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11002 if test "x$LINE" != x ; then
11003 eval "DEFAULT_$LINE"
11004 else
11005 no_cache=1
11006 fi
11007
11008 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11009
11010 fi;
11011
11012 eval "$ac_cv_use_splines"
11013 if test "$no_cache" != 1; then
11014 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11015 fi
11016
11017 if test "$wxUSE_SPLINES" = yes; then
11018 echo "$as_me:$LINENO: result: yes" >&5
11019 echo "${ECHO_T}yes" >&6
11020 else
11021 echo "$as_me:$LINENO: result: no" >&5
11022 echo "${ECHO_T}no" >&6
11023 fi
11024
11025
11026 enablestring=
11027 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11028 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
11029 no_cache=0
11030 # Check whether --enable-mousewheel or --disable-mousewheel was given.
11031 if test "${enable_mousewheel+set}" = set; then
11032 enableval="$enable_mousewheel"
11033
11034 if test "$enableval" = yes; then
11035 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11036 else
11037 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11038 fi
11039
11040 else
11041
11042 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11043 if test "x$LINE" != x ; then
11044 eval "DEFAULT_$LINE"
11045 else
11046 no_cache=1
11047 fi
11048
11049 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11050
11051 fi;
11052
11053 eval "$ac_cv_use_mousewheel"
11054 if test "$no_cache" != 1; then
11055 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11056 fi
11057
11058 if test "$wxUSE_MOUSEWHEEL" = yes; then
11059 echo "$as_me:$LINENO: result: yes" >&5
11060 echo "${ECHO_T}yes" >&6
11061 else
11062 echo "$as_me:$LINENO: result: no" >&5
11063 echo "${ECHO_T}no" >&6
11064 fi
11065
11066
11067 enablestring=
11068 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11069 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
11070 no_cache=0
11071 # Check whether --enable-validators or --disable-validators was given.
11072 if test "${enable_validators+set}" = set; then
11073 enableval="$enable_validators"
11074
11075 if test "$enableval" = yes; then
11076 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11077 else
11078 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11079 fi
11080
11081 else
11082
11083 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11084 if test "x$LINE" != x ; then
11085 eval "DEFAULT_$LINE"
11086 else
11087 no_cache=1
11088 fi
11089
11090 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11091
11092 fi;
11093
11094 eval "$ac_cv_use_validators"
11095 if test "$no_cache" != 1; then
11096 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11097 fi
11098
11099 if test "$wxUSE_VALIDATORS" = yes; then
11100 echo "$as_me:$LINENO: result: yes" >&5
11101 echo "${ECHO_T}yes" >&6
11102 else
11103 echo "$as_me:$LINENO: result: no" >&5
11104 echo "${ECHO_T}no" >&6
11105 fi
11106
11107
11108 enablestring=
11109 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11110 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
11111 no_cache=0
11112 # Check whether --enable-busyinfo or --disable-busyinfo was given.
11113 if test "${enable_busyinfo+set}" = set; then
11114 enableval="$enable_busyinfo"
11115
11116 if test "$enableval" = yes; then
11117 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11118 else
11119 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11120 fi
11121
11122 else
11123
11124 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11125 if test "x$LINE" != x ; then
11126 eval "DEFAULT_$LINE"
11127 else
11128 no_cache=1
11129 fi
11130
11131 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11132
11133 fi;
11134
11135 eval "$ac_cv_use_busyinfo"
11136 if test "$no_cache" != 1; then
11137 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11138 fi
11139
11140 if test "$wxUSE_BUSYINFO" = yes; then
11141 echo "$as_me:$LINENO: result: yes" >&5
11142 echo "${ECHO_T}yes" >&6
11143 else
11144 echo "$as_me:$LINENO: result: no" >&5
11145 echo "${ECHO_T}no" >&6
11146 fi
11147
11148
11149 enablestring=
11150 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11151 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
11152 no_cache=0
11153 # Check whether --enable-joystick or --disable-joystick was given.
11154 if test "${enable_joystick+set}" = set; then
11155 enableval="$enable_joystick"
11156
11157 if test "$enableval" = yes; then
11158 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11159 else
11160 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11161 fi
11162
11163 else
11164
11165 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11166 if test "x$LINE" != x ; then
11167 eval "DEFAULT_$LINE"
11168 else
11169 no_cache=1
11170 fi
11171
11172 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11173
11174 fi;
11175
11176 eval "$ac_cv_use_joystick"
11177 if test "$no_cache" != 1; then
11178 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11179 fi
11180
11181 if test "$wxUSE_JOYSTICK" = yes; then
11182 echo "$as_me:$LINENO: result: yes" >&5
11183 echo "${ECHO_T}yes" >&6
11184 else
11185 echo "$as_me:$LINENO: result: no" >&5
11186 echo "${ECHO_T}no" >&6
11187 fi
11188
11189
11190 enablestring=
11191 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11192 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
11193 no_cache=0
11194 # Check whether --enable-metafile or --disable-metafile was given.
11195 if test "${enable_metafile+set}" = set; then
11196 enableval="$enable_metafile"
11197
11198 if test "$enableval" = yes; then
11199 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11200 else
11201 ac_cv_use_metafile='wxUSE_METAFILE=no'
11202 fi
11203
11204 else
11205
11206 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11207 if test "x$LINE" != x ; then
11208 eval "DEFAULT_$LINE"
11209 else
11210 no_cache=1
11211 fi
11212
11213 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11214
11215 fi;
11216
11217 eval "$ac_cv_use_metafile"
11218 if test "$no_cache" != 1; then
11219 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11220 fi
11221
11222 if test "$wxUSE_METAFILE" = yes; then
11223 echo "$as_me:$LINENO: result: yes" >&5
11224 echo "${ECHO_T}yes" >&6
11225 else
11226 echo "$as_me:$LINENO: result: no" >&5
11227 echo "${ECHO_T}no" >&6
11228 fi
11229
11230
11231 enablestring=
11232 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11233 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
11234 no_cache=0
11235 # Check whether --enable-dragimage or --disable-dragimage was given.
11236 if test "${enable_dragimage+set}" = set; then
11237 enableval="$enable_dragimage"
11238
11239 if test "$enableval" = yes; then
11240 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
11241 else
11242 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
11243 fi
11244
11245 else
11246
11247 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11248 if test "x$LINE" != x ; then
11249 eval "DEFAULT_$LINE"
11250 else
11251 no_cache=1
11252 fi
11253
11254 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11255
11256 fi;
11257
11258 eval "$ac_cv_use_dragimage"
11259 if test "$no_cache" != 1; then
11260 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11261 fi
11262
11263 if test "$wxUSE_DRAGIMAGE" = yes; then
11264 echo "$as_me:$LINENO: result: yes" >&5
11265 echo "${ECHO_T}yes" >&6
11266 else
11267 echo "$as_me:$LINENO: result: no" >&5
11268 echo "${ECHO_T}no" >&6
11269 fi
11270
11271
11272 enablestring=
11273 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11274 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11275 no_cache=0
11276 # Check whether --enable-accessibility or --disable-accessibility was given.
11277 if test "${enable_accessibility+set}" = set; then
11278 enableval="$enable_accessibility"
11279
11280 if test "$enableval" = yes; then
11281 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
11282 else
11283 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
11284 fi
11285
11286 else
11287
11288 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11289 if test "x$LINE" != x ; then
11290 eval "DEFAULT_$LINE"
11291 else
11292 no_cache=1
11293 fi
11294
11295 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11296
11297 fi;
11298
11299 eval "$ac_cv_use_accessibility"
11300 if test "$no_cache" != 1; then
11301 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11302 fi
11303
11304 if test "$wxUSE_ACCESSIBILITY" = yes; then
11305 echo "$as_me:$LINENO: result: yes" >&5
11306 echo "${ECHO_T}yes" >&6
11307 else
11308 echo "$as_me:$LINENO: result: no" >&5
11309 echo "${ECHO_T}no" >&6
11310 fi
11311
11312
11313 if test "$wxUSE_MSW" = "1"; then
11314
11315 enablestring=
11316 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11317 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11318 no_cache=0
11319 # Check whether --enable-dccache or --disable-dccache was given.
11320 if test "${enable_dccache+set}" = set; then
11321 enableval="$enable_dccache"
11322
11323 if test "$enableval" = yes; then
11324 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
11325 else
11326 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
11327 fi
11328
11329 else
11330
11331 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11332 if test "x$LINE" != x ; then
11333 eval "DEFAULT_$LINE"
11334 else
11335 no_cache=1
11336 fi
11337
11338 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11339
11340 fi;
11341
11342 eval "$ac_cv_use_dccache"
11343 if test "$no_cache" != 1; then
11344 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11345 fi
11346
11347 if test "$wxUSE_DC_CACHEING" = yes; then
11348 echo "$as_me:$LINENO: result: yes" >&5
11349 echo "${ECHO_T}yes" >&6
11350 else
11351 echo "$as_me:$LINENO: result: no" >&5
11352 echo "${ECHO_T}no" >&6
11353 fi
11354
11355 fi
11356
11357
11358
11359 enablestring=
11360 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11361 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11362 no_cache=0
11363 # Check whether --enable-palette or --disable-palette was given.
11364 if test "${enable_palette+set}" = set; then
11365 enableval="$enable_palette"
11366
11367 if test "$enableval" = yes; then
11368 ac_cv_use_palette='wxUSE_PALETTE=yes'
11369 else
11370 ac_cv_use_palette='wxUSE_PALETTE=no'
11371 fi
11372
11373 else
11374
11375 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11376 if test "x$LINE" != x ; then
11377 eval "DEFAULT_$LINE"
11378 else
11379 no_cache=1
11380 fi
11381
11382 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11383
11384 fi;
11385
11386 eval "$ac_cv_use_palette"
11387 if test "$no_cache" != 1; then
11388 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11389 fi
11390
11391 if test "$wxUSE_PALETTE" = yes; then
11392 echo "$as_me:$LINENO: result: yes" >&5
11393 echo "${ECHO_T}yes" >&6
11394 else
11395 echo "$as_me:$LINENO: result: no" >&5
11396 echo "${ECHO_T}no" >&6
11397 fi
11398
11399
11400 enablestring=
11401 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11402 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11403 no_cache=0
11404 # Check whether --enable-image or --disable-image was given.
11405 if test "${enable_image+set}" = set; then
11406 enableval="$enable_image"
11407
11408 if test "$enableval" = yes; then
11409 ac_cv_use_image='wxUSE_IMAGE=yes'
11410 else
11411 ac_cv_use_image='wxUSE_IMAGE=no'
11412 fi
11413
11414 else
11415
11416 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11417 if test "x$LINE" != x ; then
11418 eval "DEFAULT_$LINE"
11419 else
11420 no_cache=1
11421 fi
11422
11423 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11424
11425 fi;
11426
11427 eval "$ac_cv_use_image"
11428 if test "$no_cache" != 1; then
11429 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11430 fi
11431
11432 if test "$wxUSE_IMAGE" = yes; then
11433 echo "$as_me:$LINENO: result: yes" >&5
11434 echo "${ECHO_T}yes" >&6
11435 else
11436 echo "$as_me:$LINENO: result: no" >&5
11437 echo "${ECHO_T}no" >&6
11438 fi
11439
11440
11441 enablestring=
11442 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11443 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11444 no_cache=0
11445 # Check whether --enable-gif or --disable-gif was given.
11446 if test "${enable_gif+set}" = set; then
11447 enableval="$enable_gif"
11448
11449 if test "$enableval" = yes; then
11450 ac_cv_use_gif='wxUSE_GIF=yes'
11451 else
11452 ac_cv_use_gif='wxUSE_GIF=no'
11453 fi
11454
11455 else
11456
11457 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11458 if test "x$LINE" != x ; then
11459 eval "DEFAULT_$LINE"
11460 else
11461 no_cache=1
11462 fi
11463
11464 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11465
11466 fi;
11467
11468 eval "$ac_cv_use_gif"
11469 if test "$no_cache" != 1; then
11470 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11471 fi
11472
11473 if test "$wxUSE_GIF" = yes; then
11474 echo "$as_me:$LINENO: result: yes" >&5
11475 echo "${ECHO_T}yes" >&6
11476 else
11477 echo "$as_me:$LINENO: result: no" >&5
11478 echo "${ECHO_T}no" >&6
11479 fi
11480
11481
11482 enablestring=
11483 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11484 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11485 no_cache=0
11486 # Check whether --enable-pcx or --disable-pcx was given.
11487 if test "${enable_pcx+set}" = set; then
11488 enableval="$enable_pcx"
11489
11490 if test "$enableval" = yes; then
11491 ac_cv_use_pcx='wxUSE_PCX=yes'
11492 else
11493 ac_cv_use_pcx='wxUSE_PCX=no'
11494 fi
11495
11496 else
11497
11498 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11499 if test "x$LINE" != x ; then
11500 eval "DEFAULT_$LINE"
11501 else
11502 no_cache=1
11503 fi
11504
11505 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11506
11507 fi;
11508
11509 eval "$ac_cv_use_pcx"
11510 if test "$no_cache" != 1; then
11511 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11512 fi
11513
11514 if test "$wxUSE_PCX" = yes; then
11515 echo "$as_me:$LINENO: result: yes" >&5
11516 echo "${ECHO_T}yes" >&6
11517 else
11518 echo "$as_me:$LINENO: result: no" >&5
11519 echo "${ECHO_T}no" >&6
11520 fi
11521
11522
11523 enablestring=
11524 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
11525 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6
11526 no_cache=0
11527 # Check whether --enable-tga or --disable-tga was given.
11528 if test "${enable_tga+set}" = set; then
11529 enableval="$enable_tga"
11530
11531 if test "$enableval" = yes; then
11532 ac_cv_use_tga='wxUSE_TGA=yes'
11533 else
11534 ac_cv_use_tga='wxUSE_TGA=no'
11535 fi
11536
11537 else
11538
11539 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
11540 if test "x$LINE" != x ; then
11541 eval "DEFAULT_$LINE"
11542 else
11543 no_cache=1
11544 fi
11545
11546 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
11547
11548 fi;
11549
11550 eval "$ac_cv_use_tga"
11551 if test "$no_cache" != 1; then
11552 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
11553 fi
11554
11555 if test "$wxUSE_TGA" = yes; then
11556 echo "$as_me:$LINENO: result: yes" >&5
11557 echo "${ECHO_T}yes" >&6
11558 else
11559 echo "$as_me:$LINENO: result: no" >&5
11560 echo "${ECHO_T}no" >&6
11561 fi
11562
11563
11564 enablestring=
11565 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11566 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11567 no_cache=0
11568 # Check whether --enable-iff or --disable-iff was given.
11569 if test "${enable_iff+set}" = set; then
11570 enableval="$enable_iff"
11571
11572 if test "$enableval" = yes; then
11573 ac_cv_use_iff='wxUSE_IFF=yes'
11574 else
11575 ac_cv_use_iff='wxUSE_IFF=no'
11576 fi
11577
11578 else
11579
11580 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11581 if test "x$LINE" != x ; then
11582 eval "DEFAULT_$LINE"
11583 else
11584 no_cache=1
11585 fi
11586
11587 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11588
11589 fi;
11590
11591 eval "$ac_cv_use_iff"
11592 if test "$no_cache" != 1; then
11593 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11594 fi
11595
11596 if test "$wxUSE_IFF" = yes; then
11597 echo "$as_me:$LINENO: result: yes" >&5
11598 echo "${ECHO_T}yes" >&6
11599 else
11600 echo "$as_me:$LINENO: result: no" >&5
11601 echo "${ECHO_T}no" >&6
11602 fi
11603
11604
11605 enablestring=
11606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11607 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11608 no_cache=0
11609 # Check whether --enable-pnm or --disable-pnm was given.
11610 if test "${enable_pnm+set}" = set; then
11611 enableval="$enable_pnm"
11612
11613 if test "$enableval" = yes; then
11614 ac_cv_use_pnm='wxUSE_PNM=yes'
11615 else
11616 ac_cv_use_pnm='wxUSE_PNM=no'
11617 fi
11618
11619 else
11620
11621 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11622 if test "x$LINE" != x ; then
11623 eval "DEFAULT_$LINE"
11624 else
11625 no_cache=1
11626 fi
11627
11628 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11629
11630 fi;
11631
11632 eval "$ac_cv_use_pnm"
11633 if test "$no_cache" != 1; then
11634 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11635 fi
11636
11637 if test "$wxUSE_PNM" = yes; then
11638 echo "$as_me:$LINENO: result: yes" >&5
11639 echo "${ECHO_T}yes" >&6
11640 else
11641 echo "$as_me:$LINENO: result: no" >&5
11642 echo "${ECHO_T}no" >&6
11643 fi
11644
11645
11646 enablestring=
11647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11648 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11649 no_cache=0
11650 # Check whether --enable-xpm or --disable-xpm was given.
11651 if test "${enable_xpm+set}" = set; then
11652 enableval="$enable_xpm"
11653
11654 if test "$enableval" = yes; then
11655 ac_cv_use_xpm='wxUSE_XPM=yes'
11656 else
11657 ac_cv_use_xpm='wxUSE_XPM=no'
11658 fi
11659
11660 else
11661
11662 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11663 if test "x$LINE" != x ; then
11664 eval "DEFAULT_$LINE"
11665 else
11666 no_cache=1
11667 fi
11668
11669 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11670
11671 fi;
11672
11673 eval "$ac_cv_use_xpm"
11674 if test "$no_cache" != 1; then
11675 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11676 fi
11677
11678 if test "$wxUSE_XPM" = yes; then
11679 echo "$as_me:$LINENO: result: yes" >&5
11680 echo "${ECHO_T}yes" >&6
11681 else
11682 echo "$as_me:$LINENO: result: no" >&5
11683 echo "${ECHO_T}no" >&6
11684 fi
11685
11686
11687 enablestring=
11688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11689 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11690 no_cache=0
11691 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11692 if test "${enable_ico_cur+set}" = set; then
11693 enableval="$enable_ico_cur"
11694
11695 if test "$enableval" = yes; then
11696 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
11697 else
11698 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
11699 fi
11700
11701 else
11702
11703 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11704 if test "x$LINE" != x ; then
11705 eval "DEFAULT_$LINE"
11706 else
11707 no_cache=1
11708 fi
11709
11710 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11711
11712 fi;
11713
11714 eval "$ac_cv_use_ico_cur"
11715 if test "$no_cache" != 1; then
11716 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11717 fi
11718
11719 if test "$wxUSE_ICO_CUR" = yes; then
11720 echo "$as_me:$LINENO: result: yes" >&5
11721 echo "${ECHO_T}yes" >&6
11722 else
11723 echo "$as_me:$LINENO: result: no" >&5
11724 echo "${ECHO_T}no" >&6
11725 fi
11726
11727
11728 fi
11729
11730
11731
11732 # Check whether --with-flavour or --without-flavour was given.
11733 if test "${with_flavour+set}" = set; then
11734 withval="$with_flavour"
11735 WX_FLAVOUR="$withval"
11736 fi;
11737
11738
11739
11740 enablestring=
11741 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11742 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11743 no_cache=0
11744 # Check whether --enable-official_build or --disable-official_build was given.
11745 if test "${enable_official_build+set}" = set; then
11746 enableval="$enable_official_build"
11747
11748 if test "$enableval" = yes; then
11749 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
11750 else
11751 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
11752 fi
11753
11754 else
11755
11756 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11757 if test "x$LINE" != x ; then
11758 eval "DEFAULT_$LINE"
11759 else
11760 no_cache=1
11761 fi
11762
11763 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11764
11765 fi;
11766
11767 eval "$ac_cv_use_official_build"
11768 if test "$no_cache" != 1; then
11769 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11770 fi
11771
11772 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11773 echo "$as_me:$LINENO: result: yes" >&5
11774 echo "${ECHO_T}yes" >&6
11775 else
11776 echo "$as_me:$LINENO: result: no" >&5
11777 echo "${ECHO_T}no" >&6
11778 fi
11779
11780 # Check whether --enable-vendor or --disable-vendor was given.
11781 if test "${enable_vendor+set}" = set; then
11782 enableval="$enable_vendor"
11783 VENDOR="$enableval"
11784 fi;
11785 if test "x$VENDOR" = "x"; then
11786 VENDOR="custom"
11787 fi
11788
11789
11790
11791
11792 echo "saving argument cache $wx_arg_cache_file"
11793 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
11794
11795
11796
11797 echo "$as_me:$LINENO: checking for toolkit" >&5
11798 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11799
11800 # In Wine, we need to default to MSW, not GTK or MOTIF
11801 if test "$wxUSE_WINE" = "yes"; then
11802 DEFAULT_DEFAULT_wxUSE_GTK=0
11803 DEFAULT_DEFAULT_wxUSE_MOTIF=0
11804 DEFAULT_DEFAULT_wxUSE_MSW=1
11805 wxUSE_SHARED=no
11806 fi
11807
11808
11809 if test "$wxUSE_GUI" = "yes"; then
11810
11811 if test "$USE_BEOS" = 1; then
11812 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11813 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11814 { (exit 1); exit 1; }; }
11815 fi
11816
11817 if test "$TOOLKIT_GIVEN" = 1; then
11818 for toolkit in `echo $ALL_TOOLKITS`; do
11819 var=wxUSE_$toolkit
11820 eval "value=\$${var}"
11821 if test "x$value" = "xno"; then
11822 eval "$var=0"
11823 elif test "x$value" != "x"; then
11824 eval "$var=1"
11825 fi
11826
11827 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11828 eval "wx${toolkit}_VERSION=$value"
11829 fi
11830 done
11831 else
11832 for toolkit in `echo $ALL_TOOLKITS`; do
11833 if test "$has_toolkit_in_cache" != 1; then
11834 var=DEFAULT_DEFAULT_wxUSE_$toolkit
11835 else
11836 var=DEFAULT_wxUSE_$toolkit
11837
11838 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11839 if test "x$version" != "x"; then
11840 eval "wx${toolkit}_VERSION=$version"
11841 fi
11842 fi
11843 eval "wxUSE_$toolkit=\$${var}"
11844 done
11845 fi
11846
11847 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11848 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11849 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11850
11851 case "${host}" in
11852 *-pc-os2_emx | *-pc-os2-emx )
11853 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11854 esac
11855
11856 case "$NUM_TOOLKITS" in
11857 1)
11858 ;;
11859 0)
11860 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11861 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11862 { (exit 1); exit 1; }; }
11863 ;;
11864 *)
11865 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11866 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11867 { (exit 1); exit 1; }; }
11868 esac
11869
11870 # to be removed when --disable-gtk2 isn't needed
11871 if test "x$wxUSE_GTK2" = "xyes"; then
11872 wxGTK_VERSION=2
11873 elif test "x$wxUSE_GTK2" = "xno"; then
11874 wxGTK_VERSION=1
11875 fi
11876
11877 for toolkit in `echo $ALL_TOOLKITS`; do
11878 var=wxUSE_$toolkit
11879 eval "value=\$${var}"
11880 if test "x$value" != x; then
11881 cache_var=CACHE_$toolkit
11882 eval "cache=\$${cache_var}"
11883 if test "$cache" = 1; then
11884 echo "$var=$value" >> ${wx_arg_cache_file}
11885 eval "version=\$wx${toolkit}_VERSION"
11886 if test "x$version" != "x"; then
11887 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11888 fi
11889 fi
11890 if test "$value" = 1; then
11891 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11892 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11893 echo "${ECHO_T}$toolkit_echo" >&6
11894 fi
11895 fi
11896 done
11897 else
11898 if test "x$host_alias" != "x"; then
11899 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11900 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11901 else
11902 echo "$as_me:$LINENO: result: base only" >&5
11903 echo "${ECHO_T}base only" >&6
11904 fi
11905 fi
11906
11907
11908 cat >confcache <<\_ACEOF
11909 # This file is a shell script that caches the results of configure
11910 # tests run on this system so they can be shared between configure
11911 # scripts and configure runs, see configure's option --config-cache.
11912 # It is not useful on other systems. If it contains results you don't
11913 # want to keep, you may remove or edit it.
11914 #
11915 # config.status only pays attention to the cache file if you give it
11916 # the --recheck option to rerun configure.
11917 #
11918 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11919 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11920 # following values.
11921
11922 _ACEOF
11923
11924 # The following way of writing the cache mishandles newlines in values,
11925 # but we know of no workaround that is simple, portable, and efficient.
11926 # So, don't put newlines in cache variables' values.
11927 # Ultrix sh set writes to stderr and can't be redirected directly,
11928 # and sets the high bit in the cache file unless we assign to the vars.
11929 {
11930 (set) 2>&1 |
11931 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11932 *ac_space=\ *)
11933 # `set' does not quote correctly, so add quotes (double-quote
11934 # substitution turns \\\\ into \\, and sed turns \\ into \).
11935 sed -n \
11936 "s/'/'\\\\''/g;
11937 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11938 ;;
11939 *)
11940 # `set' quotes correctly as required by POSIX, so do not add quotes.
11941 sed -n \
11942 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11943 ;;
11944 esac;
11945 } |
11946 sed '
11947 t clear
11948 : clear
11949 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11950 t end
11951 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11952 : end' >>confcache
11953 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11954 if test -w $cache_file; then
11955 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11956 cat confcache >$cache_file
11957 else
11958 echo "not updating unwritable cache $cache_file"
11959 fi
11960 fi
11961 rm -f confcache
11962
11963 CFLAGS=${CFLAGS:=}
11964
11965
11966
11967 ac_ext=c
11968 ac_cpp='$CPP $CPPFLAGS'
11969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11972 if test -n "$ac_tool_prefix"; then
11973 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11974 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11975 echo "$as_me:$LINENO: checking for $ac_word" >&5
11976 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11977 if test "${ac_cv_prog_CC+set}" = set; then
11978 echo $ECHO_N "(cached) $ECHO_C" >&6
11979 else
11980 if test -n "$CC"; then
11981 ac_cv_prog_CC="$CC" # Let the user override the test.
11982 else
11983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11984 for as_dir in $PATH
11985 do
11986 IFS=$as_save_IFS
11987 test -z "$as_dir" && as_dir=.
11988 for ac_exec_ext in '' $ac_executable_extensions; do
11989 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11990 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11991 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11992 break 2
11993 fi
11994 done
11995 done
11996
11997 fi
11998 fi
11999 CC=$ac_cv_prog_CC
12000 if test -n "$CC"; then
12001 echo "$as_me:$LINENO: result: $CC" >&5
12002 echo "${ECHO_T}$CC" >&6
12003 else
12004 echo "$as_me:$LINENO: result: no" >&5
12005 echo "${ECHO_T}no" >&6
12006 fi
12007
12008 fi
12009 if test -z "$ac_cv_prog_CC"; then
12010 ac_ct_CC=$CC
12011 # Extract the first word of "gcc", so it can be a program name with args.
12012 set dummy gcc; ac_word=$2
12013 echo "$as_me:$LINENO: checking for $ac_word" >&5
12014 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12015 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12016 echo $ECHO_N "(cached) $ECHO_C" >&6
12017 else
12018 if test -n "$ac_ct_CC"; then
12019 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12020 else
12021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12022 for as_dir in $PATH
12023 do
12024 IFS=$as_save_IFS
12025 test -z "$as_dir" && as_dir=.
12026 for ac_exec_ext in '' $ac_executable_extensions; do
12027 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12028 ac_cv_prog_ac_ct_CC="gcc"
12029 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12030 break 2
12031 fi
12032 done
12033 done
12034
12035 fi
12036 fi
12037 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12038 if test -n "$ac_ct_CC"; then
12039 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12040 echo "${ECHO_T}$ac_ct_CC" >&6
12041 else
12042 echo "$as_me:$LINENO: result: no" >&5
12043 echo "${ECHO_T}no" >&6
12044 fi
12045
12046 CC=$ac_ct_CC
12047 else
12048 CC="$ac_cv_prog_CC"
12049 fi
12050
12051 if test -z "$CC"; then
12052 if test -n "$ac_tool_prefix"; then
12053 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12054 set dummy ${ac_tool_prefix}cc; ac_word=$2
12055 echo "$as_me:$LINENO: checking for $ac_word" >&5
12056 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12057 if test "${ac_cv_prog_CC+set}" = set; then
12058 echo $ECHO_N "(cached) $ECHO_C" >&6
12059 else
12060 if test -n "$CC"; then
12061 ac_cv_prog_CC="$CC" # Let the user override the test.
12062 else
12063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12064 for as_dir in $PATH
12065 do
12066 IFS=$as_save_IFS
12067 test -z "$as_dir" && as_dir=.
12068 for ac_exec_ext in '' $ac_executable_extensions; do
12069 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12070 ac_cv_prog_CC="${ac_tool_prefix}cc"
12071 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12072 break 2
12073 fi
12074 done
12075 done
12076
12077 fi
12078 fi
12079 CC=$ac_cv_prog_CC
12080 if test -n "$CC"; then
12081 echo "$as_me:$LINENO: result: $CC" >&5
12082 echo "${ECHO_T}$CC" >&6
12083 else
12084 echo "$as_me:$LINENO: result: no" >&5
12085 echo "${ECHO_T}no" >&6
12086 fi
12087
12088 fi
12089 if test -z "$ac_cv_prog_CC"; then
12090 ac_ct_CC=$CC
12091 # Extract the first word of "cc", so it can be a program name with args.
12092 set dummy cc; ac_word=$2
12093 echo "$as_me:$LINENO: checking for $ac_word" >&5
12094 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12095 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12096 echo $ECHO_N "(cached) $ECHO_C" >&6
12097 else
12098 if test -n "$ac_ct_CC"; then
12099 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12100 else
12101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12102 for as_dir in $PATH
12103 do
12104 IFS=$as_save_IFS
12105 test -z "$as_dir" && as_dir=.
12106 for ac_exec_ext in '' $ac_executable_extensions; do
12107 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12108 ac_cv_prog_ac_ct_CC="cc"
12109 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12110 break 2
12111 fi
12112 done
12113 done
12114
12115 fi
12116 fi
12117 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12118 if test -n "$ac_ct_CC"; then
12119 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12120 echo "${ECHO_T}$ac_ct_CC" >&6
12121 else
12122 echo "$as_me:$LINENO: result: no" >&5
12123 echo "${ECHO_T}no" >&6
12124 fi
12125
12126 CC=$ac_ct_CC
12127 else
12128 CC="$ac_cv_prog_CC"
12129 fi
12130
12131 fi
12132 if test -z "$CC"; then
12133 # Extract the first word of "cc", so it can be a program name with args.
12134 set dummy cc; ac_word=$2
12135 echo "$as_me:$LINENO: checking for $ac_word" >&5
12136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12137 if test "${ac_cv_prog_CC+set}" = set; then
12138 echo $ECHO_N "(cached) $ECHO_C" >&6
12139 else
12140 if test -n "$CC"; then
12141 ac_cv_prog_CC="$CC" # Let the user override the test.
12142 else
12143 ac_prog_rejected=no
12144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12145 for as_dir in $PATH
12146 do
12147 IFS=$as_save_IFS
12148 test -z "$as_dir" && as_dir=.
12149 for ac_exec_ext in '' $ac_executable_extensions; do
12150 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12151 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12152 ac_prog_rejected=yes
12153 continue
12154 fi
12155 ac_cv_prog_CC="cc"
12156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12157 break 2
12158 fi
12159 done
12160 done
12161
12162 if test $ac_prog_rejected = yes; then
12163 # We found a bogon in the path, so make sure we never use it.
12164 set dummy $ac_cv_prog_CC
12165 shift
12166 if test $# != 0; then
12167 # We chose a different compiler from the bogus one.
12168 # However, it has the same basename, so the bogon will be chosen
12169 # first if we set CC to just the basename; use the full file name.
12170 shift
12171 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12172 fi
12173 fi
12174 fi
12175 fi
12176 CC=$ac_cv_prog_CC
12177 if test -n "$CC"; then
12178 echo "$as_me:$LINENO: result: $CC" >&5
12179 echo "${ECHO_T}$CC" >&6
12180 else
12181 echo "$as_me:$LINENO: result: no" >&5
12182 echo "${ECHO_T}no" >&6
12183 fi
12184
12185 fi
12186 if test -z "$CC"; then
12187 if test -n "$ac_tool_prefix"; then
12188 for ac_prog in cl
12189 do
12190 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12191 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12192 echo "$as_me:$LINENO: checking for $ac_word" >&5
12193 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12194 if test "${ac_cv_prog_CC+set}" = set; then
12195 echo $ECHO_N "(cached) $ECHO_C" >&6
12196 else
12197 if test -n "$CC"; then
12198 ac_cv_prog_CC="$CC" # Let the user override the test.
12199 else
12200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12201 for as_dir in $PATH
12202 do
12203 IFS=$as_save_IFS
12204 test -z "$as_dir" && as_dir=.
12205 for ac_exec_ext in '' $ac_executable_extensions; do
12206 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12207 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12208 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12209 break 2
12210 fi
12211 done
12212 done
12213
12214 fi
12215 fi
12216 CC=$ac_cv_prog_CC
12217 if test -n "$CC"; then
12218 echo "$as_me:$LINENO: result: $CC" >&5
12219 echo "${ECHO_T}$CC" >&6
12220 else
12221 echo "$as_me:$LINENO: result: no" >&5
12222 echo "${ECHO_T}no" >&6
12223 fi
12224
12225 test -n "$CC" && break
12226 done
12227 fi
12228 if test -z "$CC"; then
12229 ac_ct_CC=$CC
12230 for ac_prog in cl
12231 do
12232 # Extract the first word of "$ac_prog", so it can be a program name with args.
12233 set dummy $ac_prog; ac_word=$2
12234 echo "$as_me:$LINENO: checking for $ac_word" >&5
12235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12236 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12237 echo $ECHO_N "(cached) $ECHO_C" >&6
12238 else
12239 if test -n "$ac_ct_CC"; then
12240 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12241 else
12242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12243 for as_dir in $PATH
12244 do
12245 IFS=$as_save_IFS
12246 test -z "$as_dir" && as_dir=.
12247 for ac_exec_ext in '' $ac_executable_extensions; do
12248 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12249 ac_cv_prog_ac_ct_CC="$ac_prog"
12250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12251 break 2
12252 fi
12253 done
12254 done
12255
12256 fi
12257 fi
12258 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12259 if test -n "$ac_ct_CC"; then
12260 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12261 echo "${ECHO_T}$ac_ct_CC" >&6
12262 else
12263 echo "$as_me:$LINENO: result: no" >&5
12264 echo "${ECHO_T}no" >&6
12265 fi
12266
12267 test -n "$ac_ct_CC" && break
12268 done
12269
12270 CC=$ac_ct_CC
12271 fi
12272
12273 fi
12274
12275
12276 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12277 See \`config.log' for more details." >&5
12278 echo "$as_me: error: no acceptable C compiler found in \$PATH
12279 See \`config.log' for more details." >&2;}
12280 { (exit 1); exit 1; }; }
12281
12282 # Provide some information about the compiler.
12283 echo "$as_me:$LINENO:" \
12284 "checking for C compiler version" >&5
12285 ac_compiler=`set X $ac_compile; echo $2`
12286 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12287 (eval $ac_compiler --version </dev/null >&5) 2>&5
12288 ac_status=$?
12289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12290 (exit $ac_status); }
12291 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12292 (eval $ac_compiler -v </dev/null >&5) 2>&5
12293 ac_status=$?
12294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12295 (exit $ac_status); }
12296 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12297 (eval $ac_compiler -V </dev/null >&5) 2>&5
12298 ac_status=$?
12299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12300 (exit $ac_status); }
12301
12302 cat >conftest.$ac_ext <<_ACEOF
12303 /* confdefs.h. */
12304 _ACEOF
12305 cat confdefs.h >>conftest.$ac_ext
12306 cat >>conftest.$ac_ext <<_ACEOF
12307 /* end confdefs.h. */
12308
12309 int
12310 main ()
12311 {
12312
12313 ;
12314 return 0;
12315 }
12316 _ACEOF
12317 ac_clean_files_save=$ac_clean_files
12318 ac_clean_files="$ac_clean_files a.out a.exe b.out"
12319 # Try to create an executable without -o first, disregard a.out.
12320 # It will help us diagnose broken compilers, and finding out an intuition
12321 # of exeext.
12322 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12323 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12324 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12325 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12326 (eval $ac_link_default) 2>&5
12327 ac_status=$?
12328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12329 (exit $ac_status); }; then
12330 # Find the output, starting from the most likely. This scheme is
12331 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12332 # resort.
12333
12334 # Be careful to initialize this variable, since it used to be cached.
12335 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12336 ac_cv_exeext=
12337 # b.out is created by i960 compilers.
12338 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
12339 do
12340 test -f "$ac_file" || continue
12341 case $ac_file in
12342 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
12343 ;;
12344 conftest.$ac_ext )
12345 # This is the source file.
12346 ;;
12347 [ab].out )
12348 # We found the default executable, but exeext='' is most
12349 # certainly right.
12350 break;;
12351 *.* )
12352 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12353 # FIXME: I believe we export ac_cv_exeext for Libtool,
12354 # but it would be cool to find out if it's true. Does anybody
12355 # maintain Libtool? --akim.
12356 export ac_cv_exeext
12357 break;;
12358 * )
12359 break;;
12360 esac
12361 done
12362 else
12363 echo "$as_me: failed program was:" >&5
12364 sed 's/^/| /' conftest.$ac_ext >&5
12365
12366 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12367 See \`config.log' for more details." >&5
12368 echo "$as_me: error: C compiler cannot create executables
12369 See \`config.log' for more details." >&2;}
12370 { (exit 77); exit 77; }; }
12371 fi
12372
12373 ac_exeext=$ac_cv_exeext
12374 echo "$as_me:$LINENO: result: $ac_file" >&5
12375 echo "${ECHO_T}$ac_file" >&6
12376
12377 # Check the compiler produces executables we can run. If not, either
12378 # the compiler is broken, or we cross compile.
12379 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12380 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12381 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12382 # If not cross compiling, check that we can run a simple program.
12383 if test "$cross_compiling" != yes; then
12384 if { ac_try='./$ac_file'
12385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12386 (eval $ac_try) 2>&5
12387 ac_status=$?
12388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12389 (exit $ac_status); }; }; then
12390 cross_compiling=no
12391 else
12392 if test "$cross_compiling" = maybe; then
12393 cross_compiling=yes
12394 else
12395 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12396 If you meant to cross compile, use \`--host'.
12397 See \`config.log' for more details." >&5
12398 echo "$as_me: error: cannot run C compiled programs.
12399 If you meant to cross compile, use \`--host'.
12400 See \`config.log' for more details." >&2;}
12401 { (exit 1); exit 1; }; }
12402 fi
12403 fi
12404 fi
12405 echo "$as_me:$LINENO: result: yes" >&5
12406 echo "${ECHO_T}yes" >&6
12407
12408 rm -f a.out a.exe conftest$ac_cv_exeext b.out
12409 ac_clean_files=$ac_clean_files_save
12410 # Check the compiler produces executables we can run. If not, either
12411 # the compiler is broken, or we cross compile.
12412 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12413 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12414 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12415 echo "${ECHO_T}$cross_compiling" >&6
12416
12417 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12418 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12420 (eval $ac_link) 2>&5
12421 ac_status=$?
12422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12423 (exit $ac_status); }; then
12424 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12425 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12426 # work properly (i.e., refer to `conftest.exe'), while it won't with
12427 # `rm'.
12428 for ac_file in conftest.exe conftest conftest.*; do
12429 test -f "$ac_file" || continue
12430 case $ac_file in
12431 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
12432 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12433 export ac_cv_exeext
12434 break;;
12435 * ) break;;
12436 esac
12437 done
12438 else
12439 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12440 See \`config.log' for more details." >&5
12441 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12442 See \`config.log' for more details." >&2;}
12443 { (exit 1); exit 1; }; }
12444 fi
12445
12446 rm -f conftest$ac_cv_exeext
12447 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12448 echo "${ECHO_T}$ac_cv_exeext" >&6
12449
12450 rm -f conftest.$ac_ext
12451 EXEEXT=$ac_cv_exeext
12452 ac_exeext=$EXEEXT
12453 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12454 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12455 if test "${ac_cv_objext+set}" = set; then
12456 echo $ECHO_N "(cached) $ECHO_C" >&6
12457 else
12458 cat >conftest.$ac_ext <<_ACEOF
12459 /* confdefs.h. */
12460 _ACEOF
12461 cat confdefs.h >>conftest.$ac_ext
12462 cat >>conftest.$ac_ext <<_ACEOF
12463 /* end confdefs.h. */
12464
12465 int
12466 main ()
12467 {
12468
12469 ;
12470 return 0;
12471 }
12472 _ACEOF
12473 rm -f conftest.o conftest.obj
12474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12475 (eval $ac_compile) 2>&5
12476 ac_status=$?
12477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12478 (exit $ac_status); }; then
12479 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12480 case $ac_file in
12481 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12482 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12483 break;;
12484 esac
12485 done
12486 else
12487 echo "$as_me: failed program was:" >&5
12488 sed 's/^/| /' conftest.$ac_ext >&5
12489
12490 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12491 See \`config.log' for more details." >&5
12492 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12493 See \`config.log' for more details." >&2;}
12494 { (exit 1); exit 1; }; }
12495 fi
12496
12497 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12498 fi
12499 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12500 echo "${ECHO_T}$ac_cv_objext" >&6
12501 OBJEXT=$ac_cv_objext
12502 ac_objext=$OBJEXT
12503 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12504 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12505 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12506 echo $ECHO_N "(cached) $ECHO_C" >&6
12507 else
12508 cat >conftest.$ac_ext <<_ACEOF
12509 /* confdefs.h. */
12510 _ACEOF
12511 cat confdefs.h >>conftest.$ac_ext
12512 cat >>conftest.$ac_ext <<_ACEOF
12513 /* end confdefs.h. */
12514
12515 int
12516 main ()
12517 {
12518 #ifndef __GNUC__
12519 choke me
12520 #endif
12521
12522 ;
12523 return 0;
12524 }
12525 _ACEOF
12526 rm -f conftest.$ac_objext
12527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12528 (eval $ac_compile) 2>conftest.er1
12529 ac_status=$?
12530 grep -v '^ *+' conftest.er1 >conftest.err
12531 rm -f conftest.er1
12532 cat conftest.err >&5
12533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12534 (exit $ac_status); } &&
12535 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12537 (eval $ac_try) 2>&5
12538 ac_status=$?
12539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12540 (exit $ac_status); }; } &&
12541 { ac_try='test -s conftest.$ac_objext'
12542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12543 (eval $ac_try) 2>&5
12544 ac_status=$?
12545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12546 (exit $ac_status); }; }; then
12547 ac_compiler_gnu=yes
12548 else
12549 echo "$as_me: failed program was:" >&5
12550 sed 's/^/| /' conftest.$ac_ext >&5
12551
12552 ac_compiler_gnu=no
12553 fi
12554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12555 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12556
12557 fi
12558 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12559 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12560 GCC=`test $ac_compiler_gnu = yes && echo yes`
12561 ac_test_CFLAGS=${CFLAGS+set}
12562 ac_save_CFLAGS=$CFLAGS
12563 CFLAGS="-g"
12564 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12565 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12566 if test "${ac_cv_prog_cc_g+set}" = set; then
12567 echo $ECHO_N "(cached) $ECHO_C" >&6
12568 else
12569 cat >conftest.$ac_ext <<_ACEOF
12570 /* confdefs.h. */
12571 _ACEOF
12572 cat confdefs.h >>conftest.$ac_ext
12573 cat >>conftest.$ac_ext <<_ACEOF
12574 /* end confdefs.h. */
12575
12576 int
12577 main ()
12578 {
12579
12580 ;
12581 return 0;
12582 }
12583 _ACEOF
12584 rm -f conftest.$ac_objext
12585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12586 (eval $ac_compile) 2>conftest.er1
12587 ac_status=$?
12588 grep -v '^ *+' conftest.er1 >conftest.err
12589 rm -f conftest.er1
12590 cat conftest.err >&5
12591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12592 (exit $ac_status); } &&
12593 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12595 (eval $ac_try) 2>&5
12596 ac_status=$?
12597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12598 (exit $ac_status); }; } &&
12599 { ac_try='test -s conftest.$ac_objext'
12600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12601 (eval $ac_try) 2>&5
12602 ac_status=$?
12603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12604 (exit $ac_status); }; }; then
12605 ac_cv_prog_cc_g=yes
12606 else
12607 echo "$as_me: failed program was:" >&5
12608 sed 's/^/| /' conftest.$ac_ext >&5
12609
12610 ac_cv_prog_cc_g=no
12611 fi
12612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12613 fi
12614 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12615 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12616 if test "$ac_test_CFLAGS" = set; then
12617 CFLAGS=$ac_save_CFLAGS
12618 elif test $ac_cv_prog_cc_g = yes; then
12619 if test "$GCC" = yes; then
12620 CFLAGS="-g -O2"
12621 else
12622 CFLAGS="-g"
12623 fi
12624 else
12625 if test "$GCC" = yes; then
12626 CFLAGS="-O2"
12627 else
12628 CFLAGS=
12629 fi
12630 fi
12631 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12632 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12633 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12634 echo $ECHO_N "(cached) $ECHO_C" >&6
12635 else
12636 ac_cv_prog_cc_stdc=no
12637 ac_save_CC=$CC
12638 cat >conftest.$ac_ext <<_ACEOF
12639 /* confdefs.h. */
12640 _ACEOF
12641 cat confdefs.h >>conftest.$ac_ext
12642 cat >>conftest.$ac_ext <<_ACEOF
12643 /* end confdefs.h. */
12644 #include <stdarg.h>
12645 #include <stdio.h>
12646 #include <sys/types.h>
12647 #include <sys/stat.h>
12648 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12649 struct buf { int x; };
12650 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12651 static char *e (p, i)
12652 char **p;
12653 int i;
12654 {
12655 return p[i];
12656 }
12657 static char *f (char * (*g) (char **, int), char **p, ...)
12658 {
12659 char *s;
12660 va_list v;
12661 va_start (v,p);
12662 s = g (p, va_arg (v,int));
12663 va_end (v);
12664 return s;
12665 }
12666
12667 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12668 function prototypes and stuff, but not '\xHH' hex character constants.
12669 These don't provoke an error unfortunately, instead are silently treated
12670 as 'x'. The following induces an error, until -std1 is added to get
12671 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12672 array size at least. It's necessary to write '\x00'==0 to get something
12673 that's true only with -std1. */
12674 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12675
12676 int test (int i, double x);
12677 struct s1 {int (*f) (int a);};
12678 struct s2 {int (*f) (double a);};
12679 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12680 int argc;
12681 char **argv;
12682 int
12683 main ()
12684 {
12685 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12686 ;
12687 return 0;
12688 }
12689 _ACEOF
12690 # Don't try gcc -ansi; that turns off useful extensions and
12691 # breaks some systems' header files.
12692 # AIX -qlanglvl=ansi
12693 # Ultrix and OSF/1 -std1
12694 # HP-UX 10.20 and later -Ae
12695 # HP-UX older versions -Aa -D_HPUX_SOURCE
12696 # SVR4 -Xc -D__EXTENSIONS__
12697 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12698 do
12699 CC="$ac_save_CC $ac_arg"
12700 rm -f conftest.$ac_objext
12701 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12702 (eval $ac_compile) 2>conftest.er1
12703 ac_status=$?
12704 grep -v '^ *+' conftest.er1 >conftest.err
12705 rm -f conftest.er1
12706 cat conftest.err >&5
12707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12708 (exit $ac_status); } &&
12709 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12711 (eval $ac_try) 2>&5
12712 ac_status=$?
12713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12714 (exit $ac_status); }; } &&
12715 { ac_try='test -s conftest.$ac_objext'
12716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12717 (eval $ac_try) 2>&5
12718 ac_status=$?
12719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12720 (exit $ac_status); }; }; then
12721 ac_cv_prog_cc_stdc=$ac_arg
12722 break
12723 else
12724 echo "$as_me: failed program was:" >&5
12725 sed 's/^/| /' conftest.$ac_ext >&5
12726
12727 fi
12728 rm -f conftest.err conftest.$ac_objext
12729 done
12730 rm -f conftest.$ac_ext conftest.$ac_objext
12731 CC=$ac_save_CC
12732
12733 fi
12734
12735 case "x$ac_cv_prog_cc_stdc" in
12736 x|xno)
12737 echo "$as_me:$LINENO: result: none needed" >&5
12738 echo "${ECHO_T}none needed" >&6 ;;
12739 *)
12740 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12741 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12742 CC="$CC $ac_cv_prog_cc_stdc" ;;
12743 esac
12744
12745 # Some people use a C++ compiler to compile C. Since we use `exit',
12746 # in C++ we need to declare it. In case someone uses the same compiler
12747 # for both compiling C and C++ we need to have the C++ compiler decide
12748 # the declaration of exit, since it's the most demanding environment.
12749 cat >conftest.$ac_ext <<_ACEOF
12750 #ifndef __cplusplus
12751 choke me
12752 #endif
12753 _ACEOF
12754 rm -f conftest.$ac_objext
12755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12756 (eval $ac_compile) 2>conftest.er1
12757 ac_status=$?
12758 grep -v '^ *+' conftest.er1 >conftest.err
12759 rm -f conftest.er1
12760 cat conftest.err >&5
12761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12762 (exit $ac_status); } &&
12763 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12765 (eval $ac_try) 2>&5
12766 ac_status=$?
12767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12768 (exit $ac_status); }; } &&
12769 { ac_try='test -s conftest.$ac_objext'
12770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12771 (eval $ac_try) 2>&5
12772 ac_status=$?
12773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12774 (exit $ac_status); }; }; then
12775 for ac_declaration in \
12776 '' \
12777 'extern "C" void std::exit (int) throw (); using std::exit;' \
12778 'extern "C" void std::exit (int); using std::exit;' \
12779 'extern "C" void exit (int) throw ();' \
12780 'extern "C" void exit (int);' \
12781 'void exit (int);'
12782 do
12783 cat >conftest.$ac_ext <<_ACEOF
12784 /* confdefs.h. */
12785 _ACEOF
12786 cat confdefs.h >>conftest.$ac_ext
12787 cat >>conftest.$ac_ext <<_ACEOF
12788 /* end confdefs.h. */
12789 $ac_declaration
12790 #include <stdlib.h>
12791 int
12792 main ()
12793 {
12794 exit (42);
12795 ;
12796 return 0;
12797 }
12798 _ACEOF
12799 rm -f conftest.$ac_objext
12800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12801 (eval $ac_compile) 2>conftest.er1
12802 ac_status=$?
12803 grep -v '^ *+' conftest.er1 >conftest.err
12804 rm -f conftest.er1
12805 cat conftest.err >&5
12806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12807 (exit $ac_status); } &&
12808 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12810 (eval $ac_try) 2>&5
12811 ac_status=$?
12812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12813 (exit $ac_status); }; } &&
12814 { ac_try='test -s conftest.$ac_objext'
12815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12816 (eval $ac_try) 2>&5
12817 ac_status=$?
12818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12819 (exit $ac_status); }; }; then
12820 :
12821 else
12822 echo "$as_me: failed program was:" >&5
12823 sed 's/^/| /' conftest.$ac_ext >&5
12824
12825 continue
12826 fi
12827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12828 cat >conftest.$ac_ext <<_ACEOF
12829 /* confdefs.h. */
12830 _ACEOF
12831 cat confdefs.h >>conftest.$ac_ext
12832 cat >>conftest.$ac_ext <<_ACEOF
12833 /* end confdefs.h. */
12834 $ac_declaration
12835 int
12836 main ()
12837 {
12838 exit (42);
12839 ;
12840 return 0;
12841 }
12842 _ACEOF
12843 rm -f conftest.$ac_objext
12844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12845 (eval $ac_compile) 2>conftest.er1
12846 ac_status=$?
12847 grep -v '^ *+' conftest.er1 >conftest.err
12848 rm -f conftest.er1
12849 cat conftest.err >&5
12850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12851 (exit $ac_status); } &&
12852 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12854 (eval $ac_try) 2>&5
12855 ac_status=$?
12856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12857 (exit $ac_status); }; } &&
12858 { ac_try='test -s conftest.$ac_objext'
12859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12860 (eval $ac_try) 2>&5
12861 ac_status=$?
12862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12863 (exit $ac_status); }; }; then
12864 break
12865 else
12866 echo "$as_me: failed program was:" >&5
12867 sed 's/^/| /' conftest.$ac_ext >&5
12868
12869 fi
12870 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12871 done
12872 rm -f conftest*
12873 if test -n "$ac_declaration"; then
12874 echo '#ifdef __cplusplus' >>confdefs.h
12875 echo $ac_declaration >>confdefs.h
12876 echo '#endif' >>confdefs.h
12877 fi
12878
12879 else
12880 echo "$as_me: failed program was:" >&5
12881 sed 's/^/| /' conftest.$ac_ext >&5
12882
12883 fi
12884 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12885 ac_ext=c
12886 ac_cpp='$CPP $CPPFLAGS'
12887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12890
12891
12892
12893 ac_ext=c
12894 ac_cpp='$CPP $CPPFLAGS'
12895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12898
12899 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12900 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12901 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12902 echo $ECHO_N "(cached) $ECHO_C" >&6
12903 else
12904 cat >conftest.$ac_ext <<_ACEOF
12905 /* confdefs.h. */
12906 _ACEOF
12907 cat confdefs.h >>conftest.$ac_ext
12908 cat >>conftest.$ac_ext <<_ACEOF
12909 /* end confdefs.h. */
12910
12911 int
12912 main ()
12913 {
12914
12915 #ifndef __INTEL_COMPILER
12916 choke me
12917 #endif
12918
12919 ;
12920 return 0;
12921 }
12922 _ACEOF
12923 rm -f conftest.$ac_objext
12924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12925 (eval $ac_compile) 2>conftest.er1
12926 ac_status=$?
12927 grep -v '^ *+' conftest.er1 >conftest.err
12928 rm -f conftest.er1
12929 cat conftest.err >&5
12930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12931 (exit $ac_status); } &&
12932 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12934 (eval $ac_try) 2>&5
12935 ac_status=$?
12936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12937 (exit $ac_status); }; } &&
12938 { ac_try='test -s conftest.$ac_objext'
12939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12940 (eval $ac_try) 2>&5
12941 ac_status=$?
12942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12943 (exit $ac_status); }; }; then
12944 bakefile_cv_c_compiler___INTEL_COMPILER=yes
12945 else
12946 echo "$as_me: failed program was:" >&5
12947 sed 's/^/| /' conftest.$ac_ext >&5
12948
12949 bakefile_cv_c_compiler___INTEL_COMPILER=no
12950
12951 fi
12952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12953
12954
12955 fi
12956 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12957 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12958 ac_ext=c
12959 ac_cpp='$CPP $CPPFLAGS'
12960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12963
12964 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12965 :; INTELCC=yes
12966 else
12967 :;
12968 fi
12969
12970
12971 if test "x$GCC" != "xyes"; then
12972 if test "xCC" = "xC"; then
12973 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12974 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12975 if test "${bakefile_cv_c_exto+set}" = set; then
12976 echo $ECHO_N "(cached) $ECHO_C" >&6
12977 else
12978 cat >conftest.$ac_ext <<_ACEOF
12979 /* confdefs.h. */
12980 _ACEOF
12981 cat confdefs.h >>conftest.$ac_ext
12982 cat >>conftest.$ac_ext <<_ACEOF
12983 /* end confdefs.h. */
12984
12985 int
12986 main ()
12987 {
12988
12989 ;
12990 return 0;
12991 }
12992 _ACEOF
12993 rm -f conftest.$ac_objext conftest.$ac_ext.o
12994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12995 (eval $ac_compile) 2>&5
12996 ac_status=$?
12997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12998 (exit $ac_status); }; then
12999 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13000 case $ac_file in
13001 conftest.$ac_ext.o)
13002 bakefile_cv_c_exto="-ext o"
13003 ;;
13004 *)
13005 ;;
13006 esac
13007 done
13008 else
13009 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13010 See \`config.log' for more details." >&5
13011 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13012 See \`config.log' for more details." >&2;}
13013 { (exit 1); exit 1; }; }
13014
13015 fi
13016
13017 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13018
13019 fi
13020 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13021 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
13022 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13023 if test "c" = "c"; then
13024 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13025 fi
13026 if test "c" = "cxx"; then
13027 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13028 fi
13029 fi
13030
13031 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13032 unset ac_cv_prog_cc_g
13033 ac_test_CFLAGS=${CFLAGS+set}
13034 ac_save_CFLAGS=$CFLAGS
13035 CFLAGS="-g"
13036 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13037 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
13038 if test "${ac_cv_prog_cc_g+set}" = set; then
13039 echo $ECHO_N "(cached) $ECHO_C" >&6
13040 else
13041 cat >conftest.$ac_ext <<_ACEOF
13042 /* confdefs.h. */
13043 _ACEOF
13044 cat confdefs.h >>conftest.$ac_ext
13045 cat >>conftest.$ac_ext <<_ACEOF
13046 /* end confdefs.h. */
13047
13048 int
13049 main ()
13050 {
13051
13052 ;
13053 return 0;
13054 }
13055 _ACEOF
13056 rm -f conftest.$ac_objext
13057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13058 (eval $ac_compile) 2>conftest.er1
13059 ac_status=$?
13060 grep -v '^ *+' conftest.er1 >conftest.err
13061 rm -f conftest.er1
13062 cat conftest.err >&5
13063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13064 (exit $ac_status); } &&
13065 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13067 (eval $ac_try) 2>&5
13068 ac_status=$?
13069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13070 (exit $ac_status); }; } &&
13071 { ac_try='test -s conftest.$ac_objext'
13072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13073 (eval $ac_try) 2>&5
13074 ac_status=$?
13075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13076 (exit $ac_status); }; }; then
13077 ac_cv_prog_cc_g=yes
13078 else
13079 echo "$as_me: failed program was:" >&5
13080 sed 's/^/| /' conftest.$ac_ext >&5
13081
13082 ac_cv_prog_cc_g=no
13083 fi
13084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13085 fi
13086 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13087 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
13088 if test "$ac_test_CFLAGS" = set; then
13089 CFLAGS=$ac_save_CFLAGS
13090 elif test $ac_cv_prog_cc_g = yes; then
13091 if test "$GCC" = yes; then
13092 CFLAGS="-g -O2"
13093 else
13094 CFLAGS="-g"
13095 fi
13096 else
13097 if test "$GCC" = yes; then
13098 CFLAGS="-O2"
13099 else
13100 CFLAGS=
13101 fi
13102 fi
13103 fi
13104 fi
13105
13106 case `uname -s` in
13107 AIX*)
13108 ac_ext=c
13109 ac_cpp='$CPP $CPPFLAGS'
13110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13113
13114 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13115 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13116 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13117 echo $ECHO_N "(cached) $ECHO_C" >&6
13118 else
13119 cat >conftest.$ac_ext <<_ACEOF
13120 /* confdefs.h. */
13121 _ACEOF
13122 cat confdefs.h >>conftest.$ac_ext
13123 cat >>conftest.$ac_ext <<_ACEOF
13124 /* end confdefs.h. */
13125
13126 int
13127 main ()
13128 {
13129 #ifndef __xlC__
13130 choke me
13131 #endif
13132
13133 ;
13134 return 0;
13135 }
13136 _ACEOF
13137 rm -f conftest.$ac_objext
13138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13139 (eval $ac_compile) 2>conftest.er1
13140 ac_status=$?
13141 grep -v '^ *+' conftest.er1 >conftest.err
13142 rm -f conftest.er1
13143 cat conftest.err >&5
13144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13145 (exit $ac_status); } &&
13146 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13148 (eval $ac_try) 2>&5
13149 ac_status=$?
13150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13151 (exit $ac_status); }; } &&
13152 { ac_try='test -s conftest.$ac_objext'
13153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13154 (eval $ac_try) 2>&5
13155 ac_status=$?
13156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13157 (exit $ac_status); }; }; then
13158 bakefile_compiler_xlc=yes
13159 else
13160 echo "$as_me: failed program was:" >&5
13161 sed 's/^/| /' conftest.$ac_ext >&5
13162
13163 bakefile_compiler_xlc=no
13164 fi
13165 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13166 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13167
13168 fi
13169 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13170 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13171
13172 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13173 ac_ext=c
13174 ac_cpp='$CPP $CPPFLAGS'
13175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13178
13179
13180 ;;
13181
13182 Darwin)
13183 ac_ext=c
13184 ac_cpp='$CPP $CPPFLAGS'
13185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13188
13189 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
13190 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
13191 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
13192 echo $ECHO_N "(cached) $ECHO_C" >&6
13193 else
13194 cat >conftest.$ac_ext <<_ACEOF
13195 /* confdefs.h. */
13196 _ACEOF
13197 cat confdefs.h >>conftest.$ac_ext
13198 cat >>conftest.$ac_ext <<_ACEOF
13199 /* end confdefs.h. */
13200
13201 int
13202 main ()
13203 {
13204 #ifndef __MWERKS__
13205 choke me
13206 #endif
13207
13208 ;
13209 return 0;
13210 }
13211 _ACEOF
13212 rm -f conftest.$ac_objext
13213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13214 (eval $ac_compile) 2>conftest.er1
13215 ac_status=$?
13216 grep -v '^ *+' conftest.er1 >conftest.err
13217 rm -f conftest.er1
13218 cat conftest.err >&5
13219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13220 (exit $ac_status); } &&
13221 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13223 (eval $ac_try) 2>&5
13224 ac_status=$?
13225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13226 (exit $ac_status); }; } &&
13227 { ac_try='test -s conftest.$ac_objext'
13228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13229 (eval $ac_try) 2>&5
13230 ac_status=$?
13231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13232 (exit $ac_status); }; }; then
13233 bakefile_compiler_mwerks=yes
13234 else
13235 echo "$as_me: failed program was:" >&5
13236 sed 's/^/| /' conftest.$ac_ext >&5
13237
13238 bakefile_compiler_mwerks=no
13239 fi
13240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13241 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
13242
13243 fi
13244 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13245 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13246
13247 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13248 ac_ext=c
13249 ac_cpp='$CPP $CPPFLAGS'
13250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13253
13254
13255 ac_ext=c
13256 ac_cpp='$CPP $CPPFLAGS'
13257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13260
13261 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13262 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13263 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13264 echo $ECHO_N "(cached) $ECHO_C" >&6
13265 else
13266 cat >conftest.$ac_ext <<_ACEOF
13267 /* confdefs.h. */
13268 _ACEOF
13269 cat confdefs.h >>conftest.$ac_ext
13270 cat >>conftest.$ac_ext <<_ACEOF
13271 /* end confdefs.h. */
13272
13273 int
13274 main ()
13275 {
13276 #ifndef __xlC__
13277 choke me
13278 #endif
13279
13280 ;
13281 return 0;
13282 }
13283 _ACEOF
13284 rm -f conftest.$ac_objext
13285 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13286 (eval $ac_compile) 2>conftest.er1
13287 ac_status=$?
13288 grep -v '^ *+' conftest.er1 >conftest.err
13289 rm -f conftest.er1
13290 cat conftest.err >&5
13291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13292 (exit $ac_status); } &&
13293 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13295 (eval $ac_try) 2>&5
13296 ac_status=$?
13297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13298 (exit $ac_status); }; } &&
13299 { ac_try='test -s conftest.$ac_objext'
13300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13301 (eval $ac_try) 2>&5
13302 ac_status=$?
13303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13304 (exit $ac_status); }; }; then
13305 bakefile_compiler_xlc=yes
13306 else
13307 echo "$as_me: failed program was:" >&5
13308 sed 's/^/| /' conftest.$ac_ext >&5
13309
13310 bakefile_compiler_xlc=no
13311 fi
13312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13313 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13314
13315 fi
13316 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13317 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13318
13319 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13320 ac_ext=c
13321 ac_cpp='$CPP $CPPFLAGS'
13322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13325
13326
13327 ;;
13328
13329 IRIX*)
13330
13331
13332 ac_ext=c
13333 ac_cpp='$CPP $CPPFLAGS'
13334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13337
13338 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13339 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13340 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13341 echo $ECHO_N "(cached) $ECHO_C" >&6
13342 else
13343 cat >conftest.$ac_ext <<_ACEOF
13344 /* confdefs.h. */
13345 _ACEOF
13346 cat confdefs.h >>conftest.$ac_ext
13347 cat >>conftest.$ac_ext <<_ACEOF
13348 /* end confdefs.h. */
13349
13350 int
13351 main ()
13352 {
13353
13354 #ifndef _SGI_COMPILER_VERSION
13355 choke me
13356 #endif
13357
13358 ;
13359 return 0;
13360 }
13361 _ACEOF
13362 rm -f conftest.$ac_objext
13363 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13364 (eval $ac_compile) 2>conftest.er1
13365 ac_status=$?
13366 grep -v '^ *+' conftest.er1 >conftest.err
13367 rm -f conftest.er1
13368 cat conftest.err >&5
13369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13370 (exit $ac_status); } &&
13371 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13373 (eval $ac_try) 2>&5
13374 ac_status=$?
13375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13376 (exit $ac_status); }; } &&
13377 { ac_try='test -s conftest.$ac_objext'
13378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13379 (eval $ac_try) 2>&5
13380 ac_status=$?
13381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13382 (exit $ac_status); }; }; then
13383 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
13384 else
13385 echo "$as_me: failed program was:" >&5
13386 sed 's/^/| /' conftest.$ac_ext >&5
13387
13388 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
13389
13390 fi
13391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13392
13393
13394 fi
13395 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13396 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13397 ac_ext=c
13398 ac_cpp='$CPP $CPPFLAGS'
13399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13402
13403 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13404 :; SGICC=yes
13405 else
13406 :;
13407 fi
13408
13409
13410 ;;
13411
13412 HP-UX*)
13413
13414
13415 ac_ext=c
13416 ac_cpp='$CPP $CPPFLAGS'
13417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13420
13421 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13422 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13423 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13424 echo $ECHO_N "(cached) $ECHO_C" >&6
13425 else
13426 cat >conftest.$ac_ext <<_ACEOF
13427 /* confdefs.h. */
13428 _ACEOF
13429 cat confdefs.h >>conftest.$ac_ext
13430 cat >>conftest.$ac_ext <<_ACEOF
13431 /* end confdefs.h. */
13432
13433 int
13434 main ()
13435 {
13436
13437 #ifndef __HP_cc
13438 choke me
13439 #endif
13440
13441 ;
13442 return 0;
13443 }
13444 _ACEOF
13445 rm -f conftest.$ac_objext
13446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13447 (eval $ac_compile) 2>conftest.er1
13448 ac_status=$?
13449 grep -v '^ *+' conftest.er1 >conftest.err
13450 rm -f conftest.er1
13451 cat conftest.err >&5
13452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13453 (exit $ac_status); } &&
13454 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13456 (eval $ac_try) 2>&5
13457 ac_status=$?
13458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13459 (exit $ac_status); }; } &&
13460 { ac_try='test -s conftest.$ac_objext'
13461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13462 (eval $ac_try) 2>&5
13463 ac_status=$?
13464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13465 (exit $ac_status); }; }; then
13466 bakefile_cv_c_compiler___HP_cc=yes
13467 else
13468 echo "$as_me: failed program was:" >&5
13469 sed 's/^/| /' conftest.$ac_ext >&5
13470
13471 bakefile_cv_c_compiler___HP_cc=no
13472
13473 fi
13474 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13475
13476
13477 fi
13478 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13479 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13480 ac_ext=c
13481 ac_cpp='$CPP $CPPFLAGS'
13482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13485
13486 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13487 :; HPCC=yes
13488 else
13489 :;
13490 fi
13491
13492
13493 ;;
13494
13495 OSF1)
13496
13497
13498 ac_ext=c
13499 ac_cpp='$CPP $CPPFLAGS'
13500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13503
13504 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13505 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13506 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13507 echo $ECHO_N "(cached) $ECHO_C" >&6
13508 else
13509 cat >conftest.$ac_ext <<_ACEOF
13510 /* confdefs.h. */
13511 _ACEOF
13512 cat confdefs.h >>conftest.$ac_ext
13513 cat >>conftest.$ac_ext <<_ACEOF
13514 /* end confdefs.h. */
13515
13516 int
13517 main ()
13518 {
13519
13520 #ifndef __DECC
13521 choke me
13522 #endif
13523
13524 ;
13525 return 0;
13526 }
13527 _ACEOF
13528 rm -f conftest.$ac_objext
13529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13530 (eval $ac_compile) 2>conftest.er1
13531 ac_status=$?
13532 grep -v '^ *+' conftest.er1 >conftest.err
13533 rm -f conftest.er1
13534 cat conftest.err >&5
13535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13536 (exit $ac_status); } &&
13537 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13539 (eval $ac_try) 2>&5
13540 ac_status=$?
13541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13542 (exit $ac_status); }; } &&
13543 { ac_try='test -s conftest.$ac_objext'
13544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13545 (eval $ac_try) 2>&5
13546 ac_status=$?
13547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13548 (exit $ac_status); }; }; then
13549 bakefile_cv_c_compiler___DECC=yes
13550 else
13551 echo "$as_me: failed program was:" >&5
13552 sed 's/^/| /' conftest.$ac_ext >&5
13553
13554 bakefile_cv_c_compiler___DECC=no
13555
13556 fi
13557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13558
13559
13560 fi
13561 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13562 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13563 ac_ext=c
13564 ac_cpp='$CPP $CPPFLAGS'
13565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13568
13569 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13570 :; COMPAQCC=yes
13571 else
13572 :;
13573 fi
13574
13575
13576 ;;
13577
13578 SunOS)
13579
13580
13581 ac_ext=c
13582 ac_cpp='$CPP $CPPFLAGS'
13583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13586
13587 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13588 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13589 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13590 echo $ECHO_N "(cached) $ECHO_C" >&6
13591 else
13592 cat >conftest.$ac_ext <<_ACEOF
13593 /* confdefs.h. */
13594 _ACEOF
13595 cat confdefs.h >>conftest.$ac_ext
13596 cat >>conftest.$ac_ext <<_ACEOF
13597 /* end confdefs.h. */
13598
13599 int
13600 main ()
13601 {
13602
13603 #ifndef __SUNPRO_C
13604 choke me
13605 #endif
13606
13607 ;
13608 return 0;
13609 }
13610 _ACEOF
13611 rm -f conftest.$ac_objext
13612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13613 (eval $ac_compile) 2>conftest.er1
13614 ac_status=$?
13615 grep -v '^ *+' conftest.er1 >conftest.err
13616 rm -f conftest.er1
13617 cat conftest.err >&5
13618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13619 (exit $ac_status); } &&
13620 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13622 (eval $ac_try) 2>&5
13623 ac_status=$?
13624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13625 (exit $ac_status); }; } &&
13626 { ac_try='test -s conftest.$ac_objext'
13627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13628 (eval $ac_try) 2>&5
13629 ac_status=$?
13630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13631 (exit $ac_status); }; }; then
13632 bakefile_cv_c_compiler___SUNPRO_C=yes
13633 else
13634 echo "$as_me: failed program was:" >&5
13635 sed 's/^/| /' conftest.$ac_ext >&5
13636
13637 bakefile_cv_c_compiler___SUNPRO_C=no
13638
13639 fi
13640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13641
13642
13643 fi
13644 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13645 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13646 ac_ext=c
13647 ac_cpp='$CPP $CPPFLAGS'
13648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13651
13652 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13653 :; SUNCC=yes
13654 else
13655 :;
13656 fi
13657
13658
13659 ;;
13660 esac
13661 fi
13662
13663
13664
13665 ac_ext=c
13666 ac_cpp='$CPP $CPPFLAGS'
13667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13670 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13671 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13672 # On Suns, sometimes $CPP names a directory.
13673 if test -n "$CPP" && test -d "$CPP"; then
13674 CPP=
13675 fi
13676 if test -z "$CPP"; then
13677 if test "${ac_cv_prog_CPP+set}" = set; then
13678 echo $ECHO_N "(cached) $ECHO_C" >&6
13679 else
13680 # Double quotes because CPP needs to be expanded
13681 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13682 do
13683 ac_preproc_ok=false
13684 for ac_c_preproc_warn_flag in '' yes
13685 do
13686 # Use a header file that comes with gcc, so configuring glibc
13687 # with a fresh cross-compiler works.
13688 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13689 # <limits.h> exists even on freestanding compilers.
13690 # On the NeXT, cc -E runs the code through the compiler's parser,
13691 # not just through cpp. "Syntax error" is here to catch this case.
13692 cat >conftest.$ac_ext <<_ACEOF
13693 /* confdefs.h. */
13694 _ACEOF
13695 cat confdefs.h >>conftest.$ac_ext
13696 cat >>conftest.$ac_ext <<_ACEOF
13697 /* end confdefs.h. */
13698 #ifdef __STDC__
13699 # include <limits.h>
13700 #else
13701 # include <assert.h>
13702 #endif
13703 Syntax error
13704 _ACEOF
13705 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13706 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13707 ac_status=$?
13708 grep -v '^ *+' conftest.er1 >conftest.err
13709 rm -f conftest.er1
13710 cat conftest.err >&5
13711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13712 (exit $ac_status); } >/dev/null; then
13713 if test -s conftest.err; then
13714 ac_cpp_err=$ac_c_preproc_warn_flag
13715 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13716 else
13717 ac_cpp_err=
13718 fi
13719 else
13720 ac_cpp_err=yes
13721 fi
13722 if test -z "$ac_cpp_err"; then
13723 :
13724 else
13725 echo "$as_me: failed program was:" >&5
13726 sed 's/^/| /' conftest.$ac_ext >&5
13727
13728 # Broken: fails on valid input.
13729 continue
13730 fi
13731 rm -f conftest.err conftest.$ac_ext
13732
13733 # OK, works on sane cases. Now check whether non-existent headers
13734 # can be detected and how.
13735 cat >conftest.$ac_ext <<_ACEOF
13736 /* confdefs.h. */
13737 _ACEOF
13738 cat confdefs.h >>conftest.$ac_ext
13739 cat >>conftest.$ac_ext <<_ACEOF
13740 /* end confdefs.h. */
13741 #include <ac_nonexistent.h>
13742 _ACEOF
13743 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13744 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13745 ac_status=$?
13746 grep -v '^ *+' conftest.er1 >conftest.err
13747 rm -f conftest.er1
13748 cat conftest.err >&5
13749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13750 (exit $ac_status); } >/dev/null; then
13751 if test -s conftest.err; then
13752 ac_cpp_err=$ac_c_preproc_warn_flag
13753 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13754 else
13755 ac_cpp_err=
13756 fi
13757 else
13758 ac_cpp_err=yes
13759 fi
13760 if test -z "$ac_cpp_err"; then
13761 # Broken: success on invalid input.
13762 continue
13763 else
13764 echo "$as_me: failed program was:" >&5
13765 sed 's/^/| /' conftest.$ac_ext >&5
13766
13767 # Passes both tests.
13768 ac_preproc_ok=:
13769 break
13770 fi
13771 rm -f conftest.err conftest.$ac_ext
13772
13773 done
13774 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13775 rm -f conftest.err conftest.$ac_ext
13776 if $ac_preproc_ok; then
13777 break
13778 fi
13779
13780 done
13781 ac_cv_prog_CPP=$CPP
13782
13783 fi
13784 CPP=$ac_cv_prog_CPP
13785 else
13786 ac_cv_prog_CPP=$CPP
13787 fi
13788 echo "$as_me:$LINENO: result: $CPP" >&5
13789 echo "${ECHO_T}$CPP" >&6
13790 ac_preproc_ok=false
13791 for ac_c_preproc_warn_flag in '' yes
13792 do
13793 # Use a header file that comes with gcc, so configuring glibc
13794 # with a fresh cross-compiler works.
13795 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13796 # <limits.h> exists even on freestanding compilers.
13797 # On the NeXT, cc -E runs the code through the compiler's parser,
13798 # not just through cpp. "Syntax error" is here to catch this case.
13799 cat >conftest.$ac_ext <<_ACEOF
13800 /* confdefs.h. */
13801 _ACEOF
13802 cat confdefs.h >>conftest.$ac_ext
13803 cat >>conftest.$ac_ext <<_ACEOF
13804 /* end confdefs.h. */
13805 #ifdef __STDC__
13806 # include <limits.h>
13807 #else
13808 # include <assert.h>
13809 #endif
13810 Syntax error
13811 _ACEOF
13812 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13813 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13814 ac_status=$?
13815 grep -v '^ *+' conftest.er1 >conftest.err
13816 rm -f conftest.er1
13817 cat conftest.err >&5
13818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13819 (exit $ac_status); } >/dev/null; then
13820 if test -s conftest.err; then
13821 ac_cpp_err=$ac_c_preproc_warn_flag
13822 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13823 else
13824 ac_cpp_err=
13825 fi
13826 else
13827 ac_cpp_err=yes
13828 fi
13829 if test -z "$ac_cpp_err"; then
13830 :
13831 else
13832 echo "$as_me: failed program was:" >&5
13833 sed 's/^/| /' conftest.$ac_ext >&5
13834
13835 # Broken: fails on valid input.
13836 continue
13837 fi
13838 rm -f conftest.err conftest.$ac_ext
13839
13840 # OK, works on sane cases. Now check whether non-existent headers
13841 # can be detected and how.
13842 cat >conftest.$ac_ext <<_ACEOF
13843 /* confdefs.h. */
13844 _ACEOF
13845 cat confdefs.h >>conftest.$ac_ext
13846 cat >>conftest.$ac_ext <<_ACEOF
13847 /* end confdefs.h. */
13848 #include <ac_nonexistent.h>
13849 _ACEOF
13850 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13851 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13852 ac_status=$?
13853 grep -v '^ *+' conftest.er1 >conftest.err
13854 rm -f conftest.er1
13855 cat conftest.err >&5
13856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13857 (exit $ac_status); } >/dev/null; then
13858 if test -s conftest.err; then
13859 ac_cpp_err=$ac_c_preproc_warn_flag
13860 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13861 else
13862 ac_cpp_err=
13863 fi
13864 else
13865 ac_cpp_err=yes
13866 fi
13867 if test -z "$ac_cpp_err"; then
13868 # Broken: success on invalid input.
13869 continue
13870 else
13871 echo "$as_me: failed program was:" >&5
13872 sed 's/^/| /' conftest.$ac_ext >&5
13873
13874 # Passes both tests.
13875 ac_preproc_ok=:
13876 break
13877 fi
13878 rm -f conftest.err conftest.$ac_ext
13879
13880 done
13881 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13882 rm -f conftest.err conftest.$ac_ext
13883 if $ac_preproc_ok; then
13884 :
13885 else
13886 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13887 See \`config.log' for more details." >&5
13888 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13889 See \`config.log' for more details." >&2;}
13890 { (exit 1); exit 1; }; }
13891 fi
13892
13893 ac_ext=c
13894 ac_cpp='$CPP $CPPFLAGS'
13895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13898
13899
13900 echo "$as_me:$LINENO: checking for egrep" >&5
13901 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13902 if test "${ac_cv_prog_egrep+set}" = set; then
13903 echo $ECHO_N "(cached) $ECHO_C" >&6
13904 else
13905 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13906 then ac_cv_prog_egrep='grep -E'
13907 else ac_cv_prog_egrep='egrep'
13908 fi
13909 fi
13910 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13911 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13912 EGREP=$ac_cv_prog_egrep
13913
13914
13915 if test $ac_cv_c_compiler_gnu = yes; then
13916 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13917 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13918 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13919 echo $ECHO_N "(cached) $ECHO_C" >&6
13920 else
13921 ac_pattern="Autoconf.*'x'"
13922 cat >conftest.$ac_ext <<_ACEOF
13923 /* confdefs.h. */
13924 _ACEOF
13925 cat confdefs.h >>conftest.$ac_ext
13926 cat >>conftest.$ac_ext <<_ACEOF
13927 /* end confdefs.h. */
13928 #include <sgtty.h>
13929 Autoconf TIOCGETP
13930 _ACEOF
13931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13932 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13933 ac_cv_prog_gcc_traditional=yes
13934 else
13935 ac_cv_prog_gcc_traditional=no
13936 fi
13937 rm -f conftest*
13938
13939
13940 if test $ac_cv_prog_gcc_traditional = no; then
13941 cat >conftest.$ac_ext <<_ACEOF
13942 /* confdefs.h. */
13943 _ACEOF
13944 cat confdefs.h >>conftest.$ac_ext
13945 cat >>conftest.$ac_ext <<_ACEOF
13946 /* end confdefs.h. */
13947 #include <termio.h>
13948 Autoconf TCGETA
13949 _ACEOF
13950 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13951 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13952 ac_cv_prog_gcc_traditional=yes
13953 fi
13954 rm -f conftest*
13955
13956 fi
13957 fi
13958 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13959 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13960 if test $ac_cv_prog_gcc_traditional = yes; then
13961 CC="$CC -traditional"
13962 fi
13963 fi
13964
13965
13966 ac_ext=cc
13967 ac_cpp='$CXXCPP $CPPFLAGS'
13968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13971
13972
13973 CXXFLAGS=${CXXFLAGS:=}
13974
13975
13976
13977 ac_ext=cc
13978 ac_cpp='$CXXCPP $CPPFLAGS'
13979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13982 if test -n "$ac_tool_prefix"; then
13983 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13984 do
13985 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13986 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13987 echo "$as_me:$LINENO: checking for $ac_word" >&5
13988 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13989 if test "${ac_cv_prog_CXX+set}" = set; then
13990 echo $ECHO_N "(cached) $ECHO_C" >&6
13991 else
13992 if test -n "$CXX"; then
13993 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13994 else
13995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13996 for as_dir in $PATH
13997 do
13998 IFS=$as_save_IFS
13999 test -z "$as_dir" && as_dir=.
14000 for ac_exec_ext in '' $ac_executable_extensions; do
14001 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14002 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
14003 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14004 break 2
14005 fi
14006 done
14007 done
14008
14009 fi
14010 fi
14011 CXX=$ac_cv_prog_CXX
14012 if test -n "$CXX"; then
14013 echo "$as_me:$LINENO: result: $CXX" >&5
14014 echo "${ECHO_T}$CXX" >&6
14015 else
14016 echo "$as_me:$LINENO: result: no" >&5
14017 echo "${ECHO_T}no" >&6
14018 fi
14019
14020 test -n "$CXX" && break
14021 done
14022 fi
14023 if test -z "$CXX"; then
14024 ac_ct_CXX=$CXX
14025 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
14026 do
14027 # Extract the first word of "$ac_prog", so it can be a program name with args.
14028 set dummy $ac_prog; ac_word=$2
14029 echo "$as_me:$LINENO: checking for $ac_word" >&5
14030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14031 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
14032 echo $ECHO_N "(cached) $ECHO_C" >&6
14033 else
14034 if test -n "$ac_ct_CXX"; then
14035 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
14036 else
14037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14038 for as_dir in $PATH
14039 do
14040 IFS=$as_save_IFS
14041 test -z "$as_dir" && as_dir=.
14042 for ac_exec_ext in '' $ac_executable_extensions; do
14043 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14044 ac_cv_prog_ac_ct_CXX="$ac_prog"
14045 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14046 break 2
14047 fi
14048 done
14049 done
14050
14051 fi
14052 fi
14053 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
14054 if test -n "$ac_ct_CXX"; then
14055 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
14056 echo "${ECHO_T}$ac_ct_CXX" >&6
14057 else
14058 echo "$as_me:$LINENO: result: no" >&5
14059 echo "${ECHO_T}no" >&6
14060 fi
14061
14062 test -n "$ac_ct_CXX" && break
14063 done
14064 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
14065
14066 CXX=$ac_ct_CXX
14067 fi
14068
14069
14070 # Provide some information about the compiler.
14071 echo "$as_me:$LINENO:" \
14072 "checking for C++ compiler version" >&5
14073 ac_compiler=`set X $ac_compile; echo $2`
14074 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
14075 (eval $ac_compiler --version </dev/null >&5) 2>&5
14076 ac_status=$?
14077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14078 (exit $ac_status); }
14079 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
14080 (eval $ac_compiler -v </dev/null >&5) 2>&5
14081 ac_status=$?
14082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14083 (exit $ac_status); }
14084 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
14085 (eval $ac_compiler -V </dev/null >&5) 2>&5
14086 ac_status=$?
14087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14088 (exit $ac_status); }
14089
14090 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
14091 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
14092 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
14093 echo $ECHO_N "(cached) $ECHO_C" >&6
14094 else
14095 cat >conftest.$ac_ext <<_ACEOF
14096 /* confdefs.h. */
14097 _ACEOF
14098 cat confdefs.h >>conftest.$ac_ext
14099 cat >>conftest.$ac_ext <<_ACEOF
14100 /* end confdefs.h. */
14101
14102 int
14103 main ()
14104 {
14105 #ifndef __GNUC__
14106 choke me
14107 #endif
14108
14109 ;
14110 return 0;
14111 }
14112 _ACEOF
14113 rm -f conftest.$ac_objext
14114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14115 (eval $ac_compile) 2>conftest.er1
14116 ac_status=$?
14117 grep -v '^ *+' conftest.er1 >conftest.err
14118 rm -f conftest.er1
14119 cat conftest.err >&5
14120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14121 (exit $ac_status); } &&
14122 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14124 (eval $ac_try) 2>&5
14125 ac_status=$?
14126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14127 (exit $ac_status); }; } &&
14128 { ac_try='test -s conftest.$ac_objext'
14129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14130 (eval $ac_try) 2>&5
14131 ac_status=$?
14132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14133 (exit $ac_status); }; }; then
14134 ac_compiler_gnu=yes
14135 else
14136 echo "$as_me: failed program was:" >&5
14137 sed 's/^/| /' conftest.$ac_ext >&5
14138
14139 ac_compiler_gnu=no
14140 fi
14141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14142 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
14143
14144 fi
14145 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
14146 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
14147 GXX=`test $ac_compiler_gnu = yes && echo yes`
14148 ac_test_CXXFLAGS=${CXXFLAGS+set}
14149 ac_save_CXXFLAGS=$CXXFLAGS
14150 CXXFLAGS="-g"
14151 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
14152 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
14153 if test "${ac_cv_prog_cxx_g+set}" = set; then
14154 echo $ECHO_N "(cached) $ECHO_C" >&6
14155 else
14156 cat >conftest.$ac_ext <<_ACEOF
14157 /* confdefs.h. */
14158 _ACEOF
14159 cat confdefs.h >>conftest.$ac_ext
14160 cat >>conftest.$ac_ext <<_ACEOF
14161 /* end confdefs.h. */
14162
14163 int
14164 main ()
14165 {
14166
14167 ;
14168 return 0;
14169 }
14170 _ACEOF
14171 rm -f conftest.$ac_objext
14172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14173 (eval $ac_compile) 2>conftest.er1
14174 ac_status=$?
14175 grep -v '^ *+' conftest.er1 >conftest.err
14176 rm -f conftest.er1
14177 cat conftest.err >&5
14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179 (exit $ac_status); } &&
14180 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14182 (eval $ac_try) 2>&5
14183 ac_status=$?
14184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14185 (exit $ac_status); }; } &&
14186 { ac_try='test -s conftest.$ac_objext'
14187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14188 (eval $ac_try) 2>&5
14189 ac_status=$?
14190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14191 (exit $ac_status); }; }; then
14192 ac_cv_prog_cxx_g=yes
14193 else
14194 echo "$as_me: failed program was:" >&5
14195 sed 's/^/| /' conftest.$ac_ext >&5
14196
14197 ac_cv_prog_cxx_g=no
14198 fi
14199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14200 fi
14201 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
14202 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
14203 if test "$ac_test_CXXFLAGS" = set; then
14204 CXXFLAGS=$ac_save_CXXFLAGS
14205 elif test $ac_cv_prog_cxx_g = yes; then
14206 if test "$GXX" = yes; then
14207 CXXFLAGS="-g -O2"
14208 else
14209 CXXFLAGS="-g"
14210 fi
14211 else
14212 if test "$GXX" = yes; then
14213 CXXFLAGS="-O2"
14214 else
14215 CXXFLAGS=
14216 fi
14217 fi
14218 for ac_declaration in \
14219 '' \
14220 'extern "C" void std::exit (int) throw (); using std::exit;' \
14221 'extern "C" void std::exit (int); using std::exit;' \
14222 'extern "C" void exit (int) throw ();' \
14223 'extern "C" void exit (int);' \
14224 'void exit (int);'
14225 do
14226 cat >conftest.$ac_ext <<_ACEOF
14227 /* confdefs.h. */
14228 _ACEOF
14229 cat confdefs.h >>conftest.$ac_ext
14230 cat >>conftest.$ac_ext <<_ACEOF
14231 /* end confdefs.h. */
14232 $ac_declaration
14233 #include <stdlib.h>
14234 int
14235 main ()
14236 {
14237 exit (42);
14238 ;
14239 return 0;
14240 }
14241 _ACEOF
14242 rm -f conftest.$ac_objext
14243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14244 (eval $ac_compile) 2>conftest.er1
14245 ac_status=$?
14246 grep -v '^ *+' conftest.er1 >conftest.err
14247 rm -f conftest.er1
14248 cat conftest.err >&5
14249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14250 (exit $ac_status); } &&
14251 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14253 (eval $ac_try) 2>&5
14254 ac_status=$?
14255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14256 (exit $ac_status); }; } &&
14257 { ac_try='test -s conftest.$ac_objext'
14258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14259 (eval $ac_try) 2>&5
14260 ac_status=$?
14261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14262 (exit $ac_status); }; }; then
14263 :
14264 else
14265 echo "$as_me: failed program was:" >&5
14266 sed 's/^/| /' conftest.$ac_ext >&5
14267
14268 continue
14269 fi
14270 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14271 cat >conftest.$ac_ext <<_ACEOF
14272 /* confdefs.h. */
14273 _ACEOF
14274 cat confdefs.h >>conftest.$ac_ext
14275 cat >>conftest.$ac_ext <<_ACEOF
14276 /* end confdefs.h. */
14277 $ac_declaration
14278 int
14279 main ()
14280 {
14281 exit (42);
14282 ;
14283 return 0;
14284 }
14285 _ACEOF
14286 rm -f conftest.$ac_objext
14287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14288 (eval $ac_compile) 2>conftest.er1
14289 ac_status=$?
14290 grep -v '^ *+' conftest.er1 >conftest.err
14291 rm -f conftest.er1
14292 cat conftest.err >&5
14293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14294 (exit $ac_status); } &&
14295 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14297 (eval $ac_try) 2>&5
14298 ac_status=$?
14299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14300 (exit $ac_status); }; } &&
14301 { ac_try='test -s conftest.$ac_objext'
14302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14303 (eval $ac_try) 2>&5
14304 ac_status=$?
14305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14306 (exit $ac_status); }; }; then
14307 break
14308 else
14309 echo "$as_me: failed program was:" >&5
14310 sed 's/^/| /' conftest.$ac_ext >&5
14311
14312 fi
14313 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14314 done
14315 rm -f conftest*
14316 if test -n "$ac_declaration"; then
14317 echo '#ifdef __cplusplus' >>confdefs.h
14318 echo $ac_declaration >>confdefs.h
14319 echo '#endif' >>confdefs.h
14320 fi
14321
14322 ac_ext=cc
14323 ac_cpp='$CXXCPP $CPPFLAGS'
14324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14327
14328
14329
14330 ac_ext=cc
14331 ac_cpp='$CXXCPP $CPPFLAGS'
14332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14335
14336 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14337 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14338 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14339 echo $ECHO_N "(cached) $ECHO_C" >&6
14340 else
14341 cat >conftest.$ac_ext <<_ACEOF
14342 /* confdefs.h. */
14343 _ACEOF
14344 cat confdefs.h >>conftest.$ac_ext
14345 cat >>conftest.$ac_ext <<_ACEOF
14346 /* end confdefs.h. */
14347
14348 int
14349 main ()
14350 {
14351
14352 #ifndef __INTEL_COMPILER
14353 choke me
14354 #endif
14355
14356 ;
14357 return 0;
14358 }
14359 _ACEOF
14360 rm -f conftest.$ac_objext
14361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14362 (eval $ac_compile) 2>conftest.er1
14363 ac_status=$?
14364 grep -v '^ *+' conftest.er1 >conftest.err
14365 rm -f conftest.er1
14366 cat conftest.err >&5
14367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14368 (exit $ac_status); } &&
14369 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14371 (eval $ac_try) 2>&5
14372 ac_status=$?
14373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14374 (exit $ac_status); }; } &&
14375 { ac_try='test -s conftest.$ac_objext'
14376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14377 (eval $ac_try) 2>&5
14378 ac_status=$?
14379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14380 (exit $ac_status); }; }; then
14381 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
14382 else
14383 echo "$as_me: failed program was:" >&5
14384 sed 's/^/| /' conftest.$ac_ext >&5
14385
14386 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
14387
14388 fi
14389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14390
14391
14392 fi
14393 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14394 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14395 ac_ext=cc
14396 ac_cpp='$CXXCPP $CPPFLAGS'
14397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14400
14401 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14402 :; INTELCXX=yes
14403 else
14404 :;
14405 fi
14406
14407
14408 if test "x$GCXX" != "xyes"; then
14409 if test "xCXX" = "xC"; then
14410 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14411 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14412 if test "${bakefile_cv_cxx_exto+set}" = set; then
14413 echo $ECHO_N "(cached) $ECHO_C" >&6
14414 else
14415 cat >conftest.$ac_ext <<_ACEOF
14416 /* confdefs.h. */
14417 _ACEOF
14418 cat confdefs.h >>conftest.$ac_ext
14419 cat >>conftest.$ac_ext <<_ACEOF
14420 /* end confdefs.h. */
14421
14422 int
14423 main ()
14424 {
14425
14426 ;
14427 return 0;
14428 }
14429 _ACEOF
14430 rm -f conftest.$ac_objext conftest.$ac_ext.o
14431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14432 (eval $ac_compile) 2>&5
14433 ac_status=$?
14434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14435 (exit $ac_status); }; then
14436 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14437 case $ac_file in
14438 conftest.$ac_ext.o)
14439 bakefile_cv_cxx_exto="-ext o"
14440 ;;
14441 *)
14442 ;;
14443 esac
14444 done
14445 else
14446 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14447 See \`config.log' for more details." >&5
14448 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14449 See \`config.log' for more details." >&2;}
14450 { (exit 1); exit 1; }; }
14451
14452 fi
14453
14454 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14455
14456 fi
14457 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14458 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14459 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14460 if test "cxx" = "c"; then
14461 CFLAGS="$bakefile_cv_cxx_exto $CFLAGS"
14462 fi
14463 if test "cxx" = "cxx"; then
14464 CXXFLAGS="$bakefile_cv_cxx_exto $CXXFLAGS"
14465 fi
14466 fi
14467
14468 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14469 unset ac_cv_prog_cc_g
14470 ac_test_CFLAGS=${CFLAGS+set}
14471 ac_save_CFLAGS=$CFLAGS
14472 CFLAGS="-g"
14473 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14474 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14475 if test "${ac_cv_prog_cc_g+set}" = set; then
14476 echo $ECHO_N "(cached) $ECHO_C" >&6
14477 else
14478 cat >conftest.$ac_ext <<_ACEOF
14479 /* confdefs.h. */
14480 _ACEOF
14481 cat confdefs.h >>conftest.$ac_ext
14482 cat >>conftest.$ac_ext <<_ACEOF
14483 /* end confdefs.h. */
14484
14485 int
14486 main ()
14487 {
14488
14489 ;
14490 return 0;
14491 }
14492 _ACEOF
14493 rm -f conftest.$ac_objext
14494 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14495 (eval $ac_compile) 2>conftest.er1
14496 ac_status=$?
14497 grep -v '^ *+' conftest.er1 >conftest.err
14498 rm -f conftest.er1
14499 cat conftest.err >&5
14500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14501 (exit $ac_status); } &&
14502 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14504 (eval $ac_try) 2>&5
14505 ac_status=$?
14506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14507 (exit $ac_status); }; } &&
14508 { ac_try='test -s conftest.$ac_objext'
14509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14510 (eval $ac_try) 2>&5
14511 ac_status=$?
14512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14513 (exit $ac_status); }; }; then
14514 ac_cv_prog_cc_g=yes
14515 else
14516 echo "$as_me: failed program was:" >&5
14517 sed 's/^/| /' conftest.$ac_ext >&5
14518
14519 ac_cv_prog_cc_g=no
14520 fi
14521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14522 fi
14523 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14524 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14525 if test "$ac_test_CFLAGS" = set; then
14526 CFLAGS=$ac_save_CFLAGS
14527 elif test $ac_cv_prog_cc_g = yes; then
14528 if test "$GCC" = yes; then
14529 CFLAGS="-g -O2"
14530 else
14531 CFLAGS="-g"
14532 fi
14533 else
14534 if test "$GCC" = yes; then
14535 CFLAGS="-O2"
14536 else
14537 CFLAGS=
14538 fi
14539 fi
14540 fi
14541 fi
14542
14543 case `uname -s` in
14544 AIX*)
14545 ac_ext=cc
14546 ac_cpp='$CXXCPP $CPPFLAGS'
14547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14550
14551 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14552 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14553 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14554 echo $ECHO_N "(cached) $ECHO_C" >&6
14555 else
14556 cat >conftest.$ac_ext <<_ACEOF
14557 /* confdefs.h. */
14558 _ACEOF
14559 cat confdefs.h >>conftest.$ac_ext
14560 cat >>conftest.$ac_ext <<_ACEOF
14561 /* end confdefs.h. */
14562
14563 int
14564 main ()
14565 {
14566 #ifndef __xlC__
14567 choke me
14568 #endif
14569
14570 ;
14571 return 0;
14572 }
14573 _ACEOF
14574 rm -f conftest.$ac_objext
14575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14576 (eval $ac_compile) 2>conftest.er1
14577 ac_status=$?
14578 grep -v '^ *+' conftest.er1 >conftest.err
14579 rm -f conftest.er1
14580 cat conftest.err >&5
14581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14582 (exit $ac_status); } &&
14583 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14585 (eval $ac_try) 2>&5
14586 ac_status=$?
14587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14588 (exit $ac_status); }; } &&
14589 { ac_try='test -s conftest.$ac_objext'
14590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14591 (eval $ac_try) 2>&5
14592 ac_status=$?
14593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14594 (exit $ac_status); }; }; then
14595 bakefile_compiler_xlc=yes
14596 else
14597 echo "$as_me: failed program was:" >&5
14598 sed 's/^/| /' conftest.$ac_ext >&5
14599
14600 bakefile_compiler_xlc=no
14601 fi
14602 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14603 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14604
14605 fi
14606 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14607 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14608
14609 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14610 ac_ext=cc
14611 ac_cpp='$CXXCPP $CPPFLAGS'
14612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14615
14616
14617 ;;
14618
14619 Darwin)
14620 ac_ext=cc
14621 ac_cpp='$CXXCPP $CPPFLAGS'
14622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14625
14626 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14627 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14628 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14629 echo $ECHO_N "(cached) $ECHO_C" >&6
14630 else
14631 cat >conftest.$ac_ext <<_ACEOF
14632 /* confdefs.h. */
14633 _ACEOF
14634 cat confdefs.h >>conftest.$ac_ext
14635 cat >>conftest.$ac_ext <<_ACEOF
14636 /* end confdefs.h. */
14637
14638 int
14639 main ()
14640 {
14641 #ifndef __MWERKS__
14642 choke me
14643 #endif
14644
14645 ;
14646 return 0;
14647 }
14648 _ACEOF
14649 rm -f conftest.$ac_objext
14650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14651 (eval $ac_compile) 2>conftest.er1
14652 ac_status=$?
14653 grep -v '^ *+' conftest.er1 >conftest.err
14654 rm -f conftest.er1
14655 cat conftest.err >&5
14656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14657 (exit $ac_status); } &&
14658 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14660 (eval $ac_try) 2>&5
14661 ac_status=$?
14662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14663 (exit $ac_status); }; } &&
14664 { ac_try='test -s conftest.$ac_objext'
14665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14666 (eval $ac_try) 2>&5
14667 ac_status=$?
14668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14669 (exit $ac_status); }; }; then
14670 bakefile_compiler_mwerks=yes
14671 else
14672 echo "$as_me: failed program was:" >&5
14673 sed 's/^/| /' conftest.$ac_ext >&5
14674
14675 bakefile_compiler_mwerks=no
14676 fi
14677 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14678 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
14679
14680 fi
14681 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14682 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14683
14684 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14685 ac_ext=cc
14686 ac_cpp='$CXXCPP $CPPFLAGS'
14687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14690
14691
14692 ac_ext=cc
14693 ac_cpp='$CXXCPP $CPPFLAGS'
14694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14697
14698 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14699 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14700 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14701 echo $ECHO_N "(cached) $ECHO_C" >&6
14702 else
14703 cat >conftest.$ac_ext <<_ACEOF
14704 /* confdefs.h. */
14705 _ACEOF
14706 cat confdefs.h >>conftest.$ac_ext
14707 cat >>conftest.$ac_ext <<_ACEOF
14708 /* end confdefs.h. */
14709
14710 int
14711 main ()
14712 {
14713 #ifndef __xlC__
14714 choke me
14715 #endif
14716
14717 ;
14718 return 0;
14719 }
14720 _ACEOF
14721 rm -f conftest.$ac_objext
14722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14723 (eval $ac_compile) 2>conftest.er1
14724 ac_status=$?
14725 grep -v '^ *+' conftest.er1 >conftest.err
14726 rm -f conftest.er1
14727 cat conftest.err >&5
14728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14729 (exit $ac_status); } &&
14730 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14732 (eval $ac_try) 2>&5
14733 ac_status=$?
14734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14735 (exit $ac_status); }; } &&
14736 { ac_try='test -s conftest.$ac_objext'
14737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14738 (eval $ac_try) 2>&5
14739 ac_status=$?
14740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14741 (exit $ac_status); }; }; then
14742 bakefile_compiler_xlc=yes
14743 else
14744 echo "$as_me: failed program was:" >&5
14745 sed 's/^/| /' conftest.$ac_ext >&5
14746
14747 bakefile_compiler_xlc=no
14748 fi
14749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14750 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14751
14752 fi
14753 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14754 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14755
14756 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14757 ac_ext=cc
14758 ac_cpp='$CXXCPP $CPPFLAGS'
14759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14762
14763
14764 ;;
14765
14766 IRIX*)
14767
14768
14769 ac_ext=cc
14770 ac_cpp='$CXXCPP $CPPFLAGS'
14771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14774
14775 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14776 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14777 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14778 echo $ECHO_N "(cached) $ECHO_C" >&6
14779 else
14780 cat >conftest.$ac_ext <<_ACEOF
14781 /* confdefs.h. */
14782 _ACEOF
14783 cat confdefs.h >>conftest.$ac_ext
14784 cat >>conftest.$ac_ext <<_ACEOF
14785 /* end confdefs.h. */
14786
14787 int
14788 main ()
14789 {
14790
14791 #ifndef _SGI_COMPILER_VERSION
14792 choke me
14793 #endif
14794
14795 ;
14796 return 0;
14797 }
14798 _ACEOF
14799 rm -f conftest.$ac_objext
14800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14801 (eval $ac_compile) 2>conftest.er1
14802 ac_status=$?
14803 grep -v '^ *+' conftest.er1 >conftest.err
14804 rm -f conftest.er1
14805 cat conftest.err >&5
14806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14807 (exit $ac_status); } &&
14808 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14810 (eval $ac_try) 2>&5
14811 ac_status=$?
14812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14813 (exit $ac_status); }; } &&
14814 { ac_try='test -s conftest.$ac_objext'
14815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14816 (eval $ac_try) 2>&5
14817 ac_status=$?
14818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14819 (exit $ac_status); }; }; then
14820 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
14821 else
14822 echo "$as_me: failed program was:" >&5
14823 sed 's/^/| /' conftest.$ac_ext >&5
14824
14825 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
14826
14827 fi
14828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14829
14830
14831 fi
14832 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14833 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14834 ac_ext=cc
14835 ac_cpp='$CXXCPP $CPPFLAGS'
14836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14839
14840 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14841 :; SGICXX=yes
14842 else
14843 :;
14844 fi
14845
14846
14847 ;;
14848
14849 HP-UX*)
14850
14851
14852 ac_ext=cc
14853 ac_cpp='$CXXCPP $CPPFLAGS'
14854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14857
14858 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14859 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14860 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14861 echo $ECHO_N "(cached) $ECHO_C" >&6
14862 else
14863 cat >conftest.$ac_ext <<_ACEOF
14864 /* confdefs.h. */
14865 _ACEOF
14866 cat confdefs.h >>conftest.$ac_ext
14867 cat >>conftest.$ac_ext <<_ACEOF
14868 /* end confdefs.h. */
14869
14870 int
14871 main ()
14872 {
14873
14874 #ifndef __HP_aCC
14875 choke me
14876 #endif
14877
14878 ;
14879 return 0;
14880 }
14881 _ACEOF
14882 rm -f conftest.$ac_objext
14883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14884 (eval $ac_compile) 2>conftest.er1
14885 ac_status=$?
14886 grep -v '^ *+' conftest.er1 >conftest.err
14887 rm -f conftest.er1
14888 cat conftest.err >&5
14889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14890 (exit $ac_status); } &&
14891 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14893 (eval $ac_try) 2>&5
14894 ac_status=$?
14895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14896 (exit $ac_status); }; } &&
14897 { ac_try='test -s conftest.$ac_objext'
14898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14899 (eval $ac_try) 2>&5
14900 ac_status=$?
14901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14902 (exit $ac_status); }; }; then
14903 bakefile_cv_cxx_compiler___HP_aCC=yes
14904 else
14905 echo "$as_me: failed program was:" >&5
14906 sed 's/^/| /' conftest.$ac_ext >&5
14907
14908 bakefile_cv_cxx_compiler___HP_aCC=no
14909
14910 fi
14911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14912
14913
14914 fi
14915 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14916 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14917 ac_ext=cc
14918 ac_cpp='$CXXCPP $CPPFLAGS'
14919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14922
14923 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14924 :; HPCXX=yes
14925 else
14926 :;
14927 fi
14928
14929
14930 ;;
14931
14932 OSF1)
14933
14934
14935 ac_ext=cc
14936 ac_cpp='$CXXCPP $CPPFLAGS'
14937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14940
14941 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14942 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14943 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14944 echo $ECHO_N "(cached) $ECHO_C" >&6
14945 else
14946 cat >conftest.$ac_ext <<_ACEOF
14947 /* confdefs.h. */
14948 _ACEOF
14949 cat confdefs.h >>conftest.$ac_ext
14950 cat >>conftest.$ac_ext <<_ACEOF
14951 /* end confdefs.h. */
14952
14953 int
14954 main ()
14955 {
14956
14957 #ifndef __DECCXX
14958 choke me
14959 #endif
14960
14961 ;
14962 return 0;
14963 }
14964 _ACEOF
14965 rm -f conftest.$ac_objext
14966 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14967 (eval $ac_compile) 2>conftest.er1
14968 ac_status=$?
14969 grep -v '^ *+' conftest.er1 >conftest.err
14970 rm -f conftest.er1
14971 cat conftest.err >&5
14972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14973 (exit $ac_status); } &&
14974 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14976 (eval $ac_try) 2>&5
14977 ac_status=$?
14978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14979 (exit $ac_status); }; } &&
14980 { ac_try='test -s conftest.$ac_objext'
14981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14982 (eval $ac_try) 2>&5
14983 ac_status=$?
14984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14985 (exit $ac_status); }; }; then
14986 bakefile_cv_cxx_compiler___DECCXX=yes
14987 else
14988 echo "$as_me: failed program was:" >&5
14989 sed 's/^/| /' conftest.$ac_ext >&5
14990
14991 bakefile_cv_cxx_compiler___DECCXX=no
14992
14993 fi
14994 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14995
14996
14997 fi
14998 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14999 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
15000 ac_ext=cc
15001 ac_cpp='$CXXCPP $CPPFLAGS'
15002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15005
15006 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
15007 :; COMPAQCXX=yes
15008 else
15009 :;
15010 fi
15011
15012
15013 ;;
15014
15015 SunOS)
15016
15017
15018 ac_ext=cc
15019 ac_cpp='$CXXCPP $CPPFLAGS'
15020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15023
15024 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
15025 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
15026 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
15027 echo $ECHO_N "(cached) $ECHO_C" >&6
15028 else
15029 cat >conftest.$ac_ext <<_ACEOF
15030 /* confdefs.h. */
15031 _ACEOF
15032 cat confdefs.h >>conftest.$ac_ext
15033 cat >>conftest.$ac_ext <<_ACEOF
15034 /* end confdefs.h. */
15035
15036 int
15037 main ()
15038 {
15039
15040 #ifndef __SUNPRO_CC
15041 choke me
15042 #endif
15043
15044 ;
15045 return 0;
15046 }
15047 _ACEOF
15048 rm -f conftest.$ac_objext
15049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15050 (eval $ac_compile) 2>conftest.er1
15051 ac_status=$?
15052 grep -v '^ *+' conftest.er1 >conftest.err
15053 rm -f conftest.er1
15054 cat conftest.err >&5
15055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15056 (exit $ac_status); } &&
15057 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15059 (eval $ac_try) 2>&5
15060 ac_status=$?
15061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15062 (exit $ac_status); }; } &&
15063 { ac_try='test -s conftest.$ac_objext'
15064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15065 (eval $ac_try) 2>&5
15066 ac_status=$?
15067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15068 (exit $ac_status); }; }; then
15069 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
15070 else
15071 echo "$as_me: failed program was:" >&5
15072 sed 's/^/| /' conftest.$ac_ext >&5
15073
15074 bakefile_cv_cxx_compiler___SUNPRO_CC=no
15075
15076 fi
15077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15078
15079
15080 fi
15081 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
15082 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
15083 ac_ext=cc
15084 ac_cpp='$CXXCPP $CPPFLAGS'
15085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15088
15089 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
15090 :; SUNCXX=yes
15091 else
15092 :;
15093 fi
15094
15095
15096 ;;
15097 esac
15098 fi
15099
15100
15101
15102 if test -n "$ac_tool_prefix"; then
15103 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
15104 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
15105 echo "$as_me:$LINENO: checking for $ac_word" >&5
15106 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15107 if test "${ac_cv_prog_RANLIB+set}" = set; then
15108 echo $ECHO_N "(cached) $ECHO_C" >&6
15109 else
15110 if test -n "$RANLIB"; then
15111 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
15112 else
15113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15114 for as_dir in $PATH
15115 do
15116 IFS=$as_save_IFS
15117 test -z "$as_dir" && as_dir=.
15118 for ac_exec_ext in '' $ac_executable_extensions; do
15119 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15120 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
15121 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15122 break 2
15123 fi
15124 done
15125 done
15126
15127 fi
15128 fi
15129 RANLIB=$ac_cv_prog_RANLIB
15130 if test -n "$RANLIB"; then
15131 echo "$as_me:$LINENO: result: $RANLIB" >&5
15132 echo "${ECHO_T}$RANLIB" >&6
15133 else
15134 echo "$as_me:$LINENO: result: no" >&5
15135 echo "${ECHO_T}no" >&6
15136 fi
15137
15138 fi
15139 if test -z "$ac_cv_prog_RANLIB"; then
15140 ac_ct_RANLIB=$RANLIB
15141 # Extract the first word of "ranlib", so it can be a program name with args.
15142 set dummy ranlib; ac_word=$2
15143 echo "$as_me:$LINENO: checking for $ac_word" >&5
15144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15145 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
15146 echo $ECHO_N "(cached) $ECHO_C" >&6
15147 else
15148 if test -n "$ac_ct_RANLIB"; then
15149 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
15150 else
15151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15152 for as_dir in $PATH
15153 do
15154 IFS=$as_save_IFS
15155 test -z "$as_dir" && as_dir=.
15156 for ac_exec_ext in '' $ac_executable_extensions; do
15157 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15158 ac_cv_prog_ac_ct_RANLIB="ranlib"
15159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15160 break 2
15161 fi
15162 done
15163 done
15164
15165 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
15166 fi
15167 fi
15168 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
15169 if test -n "$ac_ct_RANLIB"; then
15170 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
15171 echo "${ECHO_T}$ac_ct_RANLIB" >&6
15172 else
15173 echo "$as_me:$LINENO: result: no" >&5
15174 echo "${ECHO_T}no" >&6
15175 fi
15176
15177 RANLIB=$ac_ct_RANLIB
15178 else
15179 RANLIB="$ac_cv_prog_RANLIB"
15180 fi
15181
15182
15183 if test -n "$ac_tool_prefix"; then
15184 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
15185 set dummy ${ac_tool_prefix}ar; ac_word=$2
15186 echo "$as_me:$LINENO: checking for $ac_word" >&5
15187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15188 if test "${ac_cv_prog_AR+set}" = set; then
15189 echo $ECHO_N "(cached) $ECHO_C" >&6
15190 else
15191 if test -n "$AR"; then
15192 ac_cv_prog_AR="$AR" # Let the user override the test.
15193 else
15194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15195 for as_dir in $PATH
15196 do
15197 IFS=$as_save_IFS
15198 test -z "$as_dir" && as_dir=.
15199 for ac_exec_ext in '' $ac_executable_extensions; do
15200 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15201 ac_cv_prog_AR="${ac_tool_prefix}ar"
15202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15203 break 2
15204 fi
15205 done
15206 done
15207
15208 fi
15209 fi
15210 AR=$ac_cv_prog_AR
15211 if test -n "$AR"; then
15212 echo "$as_me:$LINENO: result: $AR" >&5
15213 echo "${ECHO_T}$AR" >&6
15214 else
15215 echo "$as_me:$LINENO: result: no" >&5
15216 echo "${ECHO_T}no" >&6
15217 fi
15218
15219 fi
15220 if test -z "$ac_cv_prog_AR"; then
15221 ac_ct_AR=$AR
15222 # Extract the first word of "ar", so it can be a program name with args.
15223 set dummy ar; ac_word=$2
15224 echo "$as_me:$LINENO: checking for $ac_word" >&5
15225 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15226 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15227 echo $ECHO_N "(cached) $ECHO_C" >&6
15228 else
15229 if test -n "$ac_ct_AR"; then
15230 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
15231 else
15232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15233 for as_dir in $PATH
15234 do
15235 IFS=$as_save_IFS
15236 test -z "$as_dir" && as_dir=.
15237 for ac_exec_ext in '' $ac_executable_extensions; do
15238 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15239 ac_cv_prog_ac_ct_AR="ar"
15240 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15241 break 2
15242 fi
15243 done
15244 done
15245
15246 fi
15247 fi
15248 ac_ct_AR=$ac_cv_prog_ac_ct_AR
15249 if test -n "$ac_ct_AR"; then
15250 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15251 echo "${ECHO_T}$ac_ct_AR" >&6
15252 else
15253 echo "$as_me:$LINENO: result: no" >&5
15254 echo "${ECHO_T}no" >&6
15255 fi
15256
15257 AR=$ac_ct_AR
15258 else
15259 AR="$ac_cv_prog_AR"
15260 fi
15261
15262 if test "x$AR" = "x" ; then
15263 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15264 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15265 { (exit 1); exit 1; }; }
15266 fi
15267
15268 # Find a good install program. We prefer a C program (faster),
15269 # so one script is as good as another. But avoid the broken or
15270 # incompatible versions:
15271 # SysV /etc/install, /usr/sbin/install
15272 # SunOS /usr/etc/install
15273 # IRIX /sbin/install
15274 # AIX /bin/install
15275 # AmigaOS /C/install, which installs bootblocks on floppy discs
15276 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15277 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15278 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15279 # OS/2's system install, which has a completely different semantic
15280 # ./install, which can be erroneously created by make from ./install.sh.
15281 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15282 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15283 if test -z "$INSTALL"; then
15284 if test "${ac_cv_path_install+set}" = set; then
15285 echo $ECHO_N "(cached) $ECHO_C" >&6
15286 else
15287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15288 for as_dir in $PATH
15289 do
15290 IFS=$as_save_IFS
15291 test -z "$as_dir" && as_dir=.
15292 # Account for people who put trailing slashes in PATH elements.
15293 case $as_dir/ in
15294 ./ | .// | /cC/* | \
15295 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
15296 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
15297 /usr/ucb/* ) ;;
15298 *)
15299 # OSF1 and SCO ODT 3.0 have their own names for install.
15300 # Don't use installbsd from OSF since it installs stuff as root
15301 # by default.
15302 for ac_prog in ginstall scoinst install; do
15303 for ac_exec_ext in '' $ac_executable_extensions; do
15304 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15305 if test $ac_prog = install &&
15306 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15307 # AIX install. It has an incompatible calling convention.
15308 :
15309 elif test $ac_prog = install &&
15310 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15311 # program-specific install script used by HP pwplus--don't use.
15312 :
15313 else
15314 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
15315 break 3
15316 fi
15317 fi
15318 done
15319 done
15320 ;;
15321 esac
15322 done
15323
15324
15325 fi
15326 if test "${ac_cv_path_install+set}" = set; then
15327 INSTALL=$ac_cv_path_install
15328 else
15329 # As a last resort, use the slow shell script. We don't cache a
15330 # path for INSTALL within a source directory, because that will
15331 # break other packages using the cache if that directory is
15332 # removed, or if the path is relative.
15333 INSTALL=$ac_install_sh
15334 fi
15335 fi
15336 echo "$as_me:$LINENO: result: $INSTALL" >&5
15337 echo "${ECHO_T}$INSTALL" >&6
15338
15339 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15340 # It thinks the first close brace ends the variable substitution.
15341 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
15342
15343 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
15344
15345 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
15346
15347
15348 case ${INSTALL} in
15349 /* ) # Absolute
15350 ;;
15351 ?:* ) # Drive letter, considered as absolute.
15352 ;;
15353 *)
15354 INSTALL=`pwd`/${INSTALL} ;;
15355 esac
15356
15357
15358 case "${host}" in
15359
15360 *-*-darwin* )
15361 INSTALL_PROGRAM="cp -fp"
15362 INSTALL_DATA="cp -fp"
15363 ;;
15364 *)
15365 ;;
15366 esac
15367
15368 if test -n "$ac_tool_prefix"; then
15369 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15370 set dummy ${ac_tool_prefix}strip; ac_word=$2
15371 echo "$as_me:$LINENO: checking for $ac_word" >&5
15372 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15373 if test "${ac_cv_prog_STRIP+set}" = set; then
15374 echo $ECHO_N "(cached) $ECHO_C" >&6
15375 else
15376 if test -n "$STRIP"; then
15377 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
15378 else
15379 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15380 for as_dir in $PATH
15381 do
15382 IFS=$as_save_IFS
15383 test -z "$as_dir" && as_dir=.
15384 for ac_exec_ext in '' $ac_executable_extensions; do
15385 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15386 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
15387 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15388 break 2
15389 fi
15390 done
15391 done
15392
15393 fi
15394 fi
15395 STRIP=$ac_cv_prog_STRIP
15396 if test -n "$STRIP"; then
15397 echo "$as_me:$LINENO: result: $STRIP" >&5
15398 echo "${ECHO_T}$STRIP" >&6
15399 else
15400 echo "$as_me:$LINENO: result: no" >&5
15401 echo "${ECHO_T}no" >&6
15402 fi
15403
15404 fi
15405 if test -z "$ac_cv_prog_STRIP"; then
15406 ac_ct_STRIP=$STRIP
15407 # Extract the first word of "strip", so it can be a program name with args.
15408 set dummy strip; ac_word=$2
15409 echo "$as_me:$LINENO: checking for $ac_word" >&5
15410 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15411 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15412 echo $ECHO_N "(cached) $ECHO_C" >&6
15413 else
15414 if test -n "$ac_ct_STRIP"; then
15415 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
15416 else
15417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15418 for as_dir in $PATH
15419 do
15420 IFS=$as_save_IFS
15421 test -z "$as_dir" && as_dir=.
15422 for ac_exec_ext in '' $ac_executable_extensions; do
15423 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15424 ac_cv_prog_ac_ct_STRIP="strip"
15425 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15426 break 2
15427 fi
15428 done
15429 done
15430
15431 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
15432 fi
15433 fi
15434 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
15435 if test -n "$ac_ct_STRIP"; then
15436 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15437 echo "${ECHO_T}$ac_ct_STRIP" >&6
15438 else
15439 echo "$as_me:$LINENO: result: no" >&5
15440 echo "${ECHO_T}no" >&6
15441 fi
15442
15443 STRIP=$ac_ct_STRIP
15444 else
15445 STRIP="$ac_cv_prog_STRIP"
15446 fi
15447
15448
15449 if test "$wxUSE_WINE" = "yes"; then
15450 if test -n "$ac_tool_prefix"; then
15451 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15452 set dummy ${ac_tool_prefix}wrc; ac_word=$2
15453 echo "$as_me:$LINENO: checking for $ac_word" >&5
15454 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15455 if test "${ac_cv_prog_WINDRES+set}" = set; then
15456 echo $ECHO_N "(cached) $ECHO_C" >&6
15457 else
15458 if test -n "$WINDRES"; then
15459 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15460 else
15461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15462 for as_dir in $PATH
15463 do
15464 IFS=$as_save_IFS
15465 test -z "$as_dir" && as_dir=.
15466 for ac_exec_ext in '' $ac_executable_extensions; do
15467 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15468 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
15469 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15470 break 2
15471 fi
15472 done
15473 done
15474
15475 fi
15476 fi
15477 WINDRES=$ac_cv_prog_WINDRES
15478 if test -n "$WINDRES"; then
15479 echo "$as_me:$LINENO: result: $WINDRES" >&5
15480 echo "${ECHO_T}$WINDRES" >&6
15481 else
15482 echo "$as_me:$LINENO: result: no" >&5
15483 echo "${ECHO_T}no" >&6
15484 fi
15485
15486 fi
15487 if test -z "$ac_cv_prog_WINDRES"; then
15488 ac_ct_WINDRES=$WINDRES
15489 # Extract the first word of "wrc", so it can be a program name with args.
15490 set dummy wrc; ac_word=$2
15491 echo "$as_me:$LINENO: checking for $ac_word" >&5
15492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15493 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15494 echo $ECHO_N "(cached) $ECHO_C" >&6
15495 else
15496 if test -n "$ac_ct_WINDRES"; then
15497 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15498 else
15499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15500 for as_dir in $PATH
15501 do
15502 IFS=$as_save_IFS
15503 test -z "$as_dir" && as_dir=.
15504 for ac_exec_ext in '' $ac_executable_extensions; do
15505 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15506 ac_cv_prog_ac_ct_WINDRES="wrc"
15507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15508 break 2
15509 fi
15510 done
15511 done
15512
15513 fi
15514 fi
15515 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15516 if test -n "$ac_ct_WINDRES"; then
15517 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15518 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15519 else
15520 echo "$as_me:$LINENO: result: no" >&5
15521 echo "${ECHO_T}no" >&6
15522 fi
15523
15524 WINDRES=$ac_ct_WINDRES
15525 else
15526 WINDRES="$ac_cv_prog_WINDRES"
15527 fi
15528
15529 RESCOMP="$WINDRES"
15530 else
15531 case "${host}" in
15532 *-*-cygwin* | *-*-mingw32* )
15533 if test -n "$ac_tool_prefix"; then
15534 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15535 set dummy ${ac_tool_prefix}windres; ac_word=$2
15536 echo "$as_me:$LINENO: checking for $ac_word" >&5
15537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15538 if test "${ac_cv_prog_WINDRES+set}" = set; then
15539 echo $ECHO_N "(cached) $ECHO_C" >&6
15540 else
15541 if test -n "$WINDRES"; then
15542 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15543 else
15544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15545 for as_dir in $PATH
15546 do
15547 IFS=$as_save_IFS
15548 test -z "$as_dir" && as_dir=.
15549 for ac_exec_ext in '' $ac_executable_extensions; do
15550 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15551 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
15552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15553 break 2
15554 fi
15555 done
15556 done
15557
15558 fi
15559 fi
15560 WINDRES=$ac_cv_prog_WINDRES
15561 if test -n "$WINDRES"; then
15562 echo "$as_me:$LINENO: result: $WINDRES" >&5
15563 echo "${ECHO_T}$WINDRES" >&6
15564 else
15565 echo "$as_me:$LINENO: result: no" >&5
15566 echo "${ECHO_T}no" >&6
15567 fi
15568
15569 fi
15570 if test -z "$ac_cv_prog_WINDRES"; then
15571 ac_ct_WINDRES=$WINDRES
15572 # Extract the first word of "windres", so it can be a program name with args.
15573 set dummy windres; ac_word=$2
15574 echo "$as_me:$LINENO: checking for $ac_word" >&5
15575 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15576 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15577 echo $ECHO_N "(cached) $ECHO_C" >&6
15578 else
15579 if test -n "$ac_ct_WINDRES"; then
15580 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15581 else
15582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15583 for as_dir in $PATH
15584 do
15585 IFS=$as_save_IFS
15586 test -z "$as_dir" && as_dir=.
15587 for ac_exec_ext in '' $ac_executable_extensions; do
15588 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15589 ac_cv_prog_ac_ct_WINDRES="windres"
15590 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15591 break 2
15592 fi
15593 done
15594 done
15595
15596 fi
15597 fi
15598 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15599 if test -n "$ac_ct_WINDRES"; then
15600 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15601 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15602 else
15603 echo "$as_me:$LINENO: result: no" >&5
15604 echo "${ECHO_T}no" >&6
15605 fi
15606
15607 WINDRES=$ac_ct_WINDRES
15608 else
15609 WINDRES="$ac_cv_prog_WINDRES"
15610 fi
15611
15612 RESCOMP="$WINDRES"
15613 if test -n "$ac_tool_prefix"; then
15614 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15615 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15616 echo "$as_me:$LINENO: checking for $ac_word" >&5
15617 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15618 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15619 echo $ECHO_N "(cached) $ECHO_C" >&6
15620 else
15621 if test -n "$DLLTOOL"; then
15622 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15623 else
15624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15625 for as_dir in $PATH
15626 do
15627 IFS=$as_save_IFS
15628 test -z "$as_dir" && as_dir=.
15629 for ac_exec_ext in '' $ac_executable_extensions; do
15630 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15631 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15632 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15633 break 2
15634 fi
15635 done
15636 done
15637
15638 fi
15639 fi
15640 DLLTOOL=$ac_cv_prog_DLLTOOL
15641 if test -n "$DLLTOOL"; then
15642 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15643 echo "${ECHO_T}$DLLTOOL" >&6
15644 else
15645 echo "$as_me:$LINENO: result: no" >&5
15646 echo "${ECHO_T}no" >&6
15647 fi
15648
15649 fi
15650 if test -z "$ac_cv_prog_DLLTOOL"; then
15651 ac_ct_DLLTOOL=$DLLTOOL
15652 # Extract the first word of "dlltool", so it can be a program name with args.
15653 set dummy dlltool; ac_word=$2
15654 echo "$as_me:$LINENO: checking for $ac_word" >&5
15655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15656 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15657 echo $ECHO_N "(cached) $ECHO_C" >&6
15658 else
15659 if test -n "$ac_ct_DLLTOOL"; then
15660 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15661 else
15662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15663 for as_dir in $PATH
15664 do
15665 IFS=$as_save_IFS
15666 test -z "$as_dir" && as_dir=.
15667 for ac_exec_ext in '' $ac_executable_extensions; do
15668 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15669 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15671 break 2
15672 fi
15673 done
15674 done
15675
15676 fi
15677 fi
15678 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15679 if test -n "$ac_ct_DLLTOOL"; then
15680 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15681 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15682 else
15683 echo "$as_me:$LINENO: result: no" >&5
15684 echo "${ECHO_T}no" >&6
15685 fi
15686
15687 DLLTOOL=$ac_ct_DLLTOOL
15688 else
15689 DLLTOOL="$ac_cv_prog_DLLTOOL"
15690 fi
15691
15692 ;;
15693 esac
15694 fi
15695
15696 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15697 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15698 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15699 echo $ECHO_N "(cached) $ECHO_C" >&6
15700 else
15701
15702 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
15703 egrep -s GNU > /dev/null); then
15704 wx_cv_prog_makeisgnu="yes"
15705 else
15706 wx_cv_prog_makeisgnu="no"
15707 fi
15708
15709 fi
15710 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15711 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15712
15713 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15714 IF_GNU_MAKE=""
15715 else
15716 IF_GNU_MAKE="#"
15717 fi
15718
15719
15720
15721 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15722 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15723 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15724 if test "${wx_cv_prog_makevpath+set}" = set; then
15725 echo $ECHO_N "(cached) $ECHO_C" >&6
15726 else
15727
15728 cat - << EOF > confMake
15729 check : file
15730 cp \$? \$@
15731 cp \$? final_file
15732 EOF
15733
15734 if test ! -d sub ; then
15735 mkdir sub
15736 fi
15737 echo dummy > sub/file
15738 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
15739 RESULT=$?
15740 rm -f sub/file check final_file confMake
15741 rmdir sub
15742 if test "$RESULT" = 0; then
15743 wx_cv_prog_makevpath="yes"
15744 else
15745 wx_cv_prog_makevpath="no"
15746 fi
15747
15748 fi
15749 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15750 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15751
15752 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15753 { { echo "$as_me:$LINENO: error:
15754 You need a make-utility that is able to use the variable
15755 VPATH correctly.
15756 If your version of make does not support VPATH correctly,
15757 please install GNU-make (possibly as gmake), and start
15758 configure with the following command:
15759 export MAKE=gmake; ./configure for sh-type shells
15760 setenv MAKE gmake; ./configure for csh-type shells
15761 Also please do remember to use gmake in this case every time
15762 you are trying to compile.
15763 " >&5
15764 echo "$as_me: error:
15765 You need a make-utility that is able to use the variable
15766 VPATH correctly.
15767 If your version of make does not support VPATH correctly,
15768 please install GNU-make (possibly as gmake), and start
15769 configure with the following command:
15770 export MAKE=gmake; ./configure for sh-type shells
15771 setenv MAKE gmake; ./configure for csh-type shells
15772 Also please do remember to use gmake in this case every time
15773 you are trying to compile.
15774 " >&2;}
15775 { (exit 1); exit 1; }; }
15776 fi fi
15777 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15778 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15779 LN_S=$as_ln_s
15780 if test "$LN_S" = "ln -s"; then
15781 echo "$as_me:$LINENO: result: yes" >&5
15782 echo "${ECHO_T}yes" >&6
15783 else
15784 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15785 echo "${ECHO_T}no, using $LN_S" >&6
15786 fi
15787
15788
15789
15790
15791 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15792 CXXFLAGS="-qunique $CXXFLAGS"
15793 fi
15794
15795 case "${host}" in
15796 powerpc-*-darwin* )
15797 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15798 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15799 cat >conftest.$ac_ext <<_ACEOF
15800 /* confdefs.h. */
15801 _ACEOF
15802 cat confdefs.h >>conftest.$ac_ext
15803 cat >>conftest.$ac_ext <<_ACEOF
15804 /* end confdefs.h. */
15805
15806 int
15807 main ()
15808 {
15809 #ifndef __POWERPC__
15810 choke me for lack of PowerPC
15811 #endif
15812
15813 ;
15814 return 0;
15815 }
15816 _ACEOF
15817 rm -f conftest.$ac_objext
15818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15819 (eval $ac_compile) 2>conftest.er1
15820 ac_status=$?
15821 grep -v '^ *+' conftest.er1 >conftest.err
15822 rm -f conftest.er1
15823 cat conftest.err >&5
15824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15825 (exit $ac_status); } &&
15826 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15828 (eval $ac_try) 2>&5
15829 ac_status=$?
15830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15831 (exit $ac_status); }; } &&
15832 { ac_try='test -s conftest.$ac_objext'
15833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15834 (eval $ac_try) 2>&5
15835 ac_status=$?
15836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15837 (exit $ac_status); }; }; then
15838 echo "$as_me:$LINENO: result: yes" >&5
15839 echo "${ECHO_T}yes" >&6
15840 else
15841 echo "$as_me: failed program was:" >&5
15842 sed 's/^/| /' conftest.$ac_ext >&5
15843
15844 echo "$as_me:$LINENO: result: no" >&5
15845 echo "${ECHO_T}no" >&6
15846 cat >>confdefs.h <<\_ACEOF
15847 #define __POWERPC__ 1
15848 _ACEOF
15849
15850
15851 fi
15852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15853 ;;
15854 esac
15855
15856 case "${host}" in
15857 *-*-darwin* )
15858 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15859 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15860 cat >conftest.$ac_ext <<_ACEOF
15861 /* confdefs.h. */
15862 _ACEOF
15863 cat confdefs.h >>conftest.$ac_ext
15864 cat >>conftest.$ac_ext <<_ACEOF
15865 /* end confdefs.h. */
15866 #include <CoreFoundation/CFBase.h>
15867
15868 int
15869 main ()
15870 {
15871
15872 ;
15873 return 0;
15874 }
15875 _ACEOF
15876 rm -f conftest.$ac_objext
15877 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15878 (eval $ac_compile) 2>conftest.er1
15879 ac_status=$?
15880 grep -v '^ *+' conftest.er1 >conftest.err
15881 rm -f conftest.er1
15882 cat conftest.err >&5
15883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15884 (exit $ac_status); } &&
15885 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15887 (eval $ac_try) 2>&5
15888 ac_status=$?
15889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15890 (exit $ac_status); }; } &&
15891 { ac_try='test -s conftest.$ac_objext'
15892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15893 (eval $ac_try) 2>&5
15894 ac_status=$?
15895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15896 (exit $ac_status); }; }; then
15897 echo "$as_me:$LINENO: result: yes" >&5
15898 echo "${ECHO_T}yes" >&6
15899 else
15900 echo "$as_me: failed program was:" >&5
15901 sed 's/^/| /' conftest.$ac_ext >&5
15902
15903 echo "$as_me:$LINENO: result: no" >&5
15904 echo "${ECHO_T}no" >&6
15905 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15906 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15907 cat >conftest.$ac_ext <<_ACEOF
15908 /* confdefs.h. */
15909 _ACEOF
15910 cat confdefs.h >>conftest.$ac_ext
15911 cat >>conftest.$ac_ext <<_ACEOF
15912 /* end confdefs.h. */
15913 #define __CF_USE_FRAMEWORK_INCLUDES__
15914 #include <CoreFoundation/CFBase.h>
15915
15916 int
15917 main ()
15918 {
15919
15920 ;
15921 return 0;
15922 }
15923 _ACEOF
15924 rm -f conftest.$ac_objext
15925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15926 (eval $ac_compile) 2>conftest.er1
15927 ac_status=$?
15928 grep -v '^ *+' conftest.er1 >conftest.err
15929 rm -f conftest.er1
15930 cat conftest.err >&5
15931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15932 (exit $ac_status); } &&
15933 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15935 (eval $ac_try) 2>&5
15936 ac_status=$?
15937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15938 (exit $ac_status); }; } &&
15939 { ac_try='test -s conftest.$ac_objext'
15940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15941 (eval $ac_try) 2>&5
15942 ac_status=$?
15943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15944 (exit $ac_status); }; }; then
15945 echo "$as_me:$LINENO: result: yes" >&5
15946 echo "${ECHO_T}yes" >&6
15947 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15948 else
15949 echo "$as_me: failed program was:" >&5
15950 sed 's/^/| /' conftest.$ac_ext >&5
15951
15952 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15953 See \`config.log' for more details." >&5
15954 echo "$as_me: error: no. CoreFoundation not available.
15955 See \`config.log' for more details." >&2;}
15956 { (exit 1); exit 1; }; }
15957
15958 fi
15959 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15960
15961
15962 fi
15963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15964 ;;
15965 esac
15966
15967 wants_win32=0
15968 doesnt_want_win32=0
15969 case "${host}" in
15970 *-*-cygwin*)
15971 if test "$wxUSE_MSW" = 1 ; then
15972 wants_win32=1
15973 else
15974 echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
15975 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6
15976 if test "${wx_cv_nocygwin+set}" = set; then
15977 echo $ECHO_N "(cached) $ECHO_C" >&6
15978 else
15979
15980 cat >conftest.$ac_ext <<_ACEOF
15981 /* confdefs.h. */
15982 _ACEOF
15983 cat confdefs.h >>conftest.$ac_ext
15984 cat >>conftest.$ac_ext <<_ACEOF
15985 /* end confdefs.h. */
15986
15987 int
15988 main ()
15989 {
15990
15991 #ifdef __MINGW32__
15992 choke me
15993 #endif
15994
15995 ;
15996 return 0;
15997 }
15998 _ACEOF
15999 rm -f conftest.$ac_objext
16000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16001 (eval $ac_compile) 2>conftest.er1
16002 ac_status=$?
16003 grep -v '^ *+' conftest.er1 >conftest.err
16004 rm -f conftest.er1
16005 cat conftest.err >&5
16006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16007 (exit $ac_status); } &&
16008 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16010 (eval $ac_try) 2>&5
16011 ac_status=$?
16012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16013 (exit $ac_status); }; } &&
16014 { ac_try='test -s conftest.$ac_objext'
16015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16016 (eval $ac_try) 2>&5
16017 ac_status=$?
16018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16019 (exit $ac_status); }; }; then
16020 wx_cv_nocygwin=no
16021 else
16022 echo "$as_me: failed program was:" >&5
16023 sed 's/^/| /' conftest.$ac_ext >&5
16024
16025 wx_cv_nocygwin=yes
16026
16027 fi
16028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16029
16030
16031 fi
16032 echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
16033 echo "${ECHO_T}$wx_cv_nocygwin" >&6
16034
16035 if test "$wx_cv_nocygwin" = "yes"; then
16036 wants_win32=1
16037 else
16038 doesnt_want_win32=1
16039 fi
16040 fi
16041 if test "$wants_win32" = 1 ; then
16042 BAKEFILE_FORCE_PLATFORM=win32
16043 fi
16044 ;;
16045 *-*-mingw*)
16046 wants_win32=1
16047 ;;
16048 esac
16049
16050 if test "$wxUSE_WINE" = "yes"; then
16051 wants_win32=1
16052 CC=winegcc
16053 CXX=wineg++
16054 LDFLAGS_GUI="-mwindows"
16055 fi
16056
16057 if test "$wants_win32" = 1 ; then
16058 USE_UNIX=0
16059 USE_WIN32=1
16060 cat >>confdefs.h <<\_ACEOF
16061 #define __WIN32__ 1
16062 _ACEOF
16063
16064 cat >>confdefs.h <<\_ACEOF
16065 #define __WIN95__ 1
16066 _ACEOF
16067
16068 cat >>confdefs.h <<\_ACEOF
16069 #define __WINDOWS__ 1
16070 _ACEOF
16071
16072 cat >>confdefs.h <<\_ACEOF
16073 #define __GNUWIN32__ 1
16074 _ACEOF
16075
16076 cat >>confdefs.h <<\_ACEOF
16077 #define STRICT 1
16078 _ACEOF
16079
16080 fi
16081 if test "$doesnt_want_win32" = 1 ; then
16082 USE_UNIX=1
16083 USE_WIN32=0
16084 fi
16085
16086 if test "$USE_UNIX" = 1 ; then
16087 wxUSE_UNIX=yes
16088 cat >>confdefs.h <<\_ACEOF
16089 #define __UNIX__ 1
16090 _ACEOF
16091
16092 fi
16093
16094 case "${host}" in
16095 *-pc-os2_emx | *-pc-os2-emx )
16096 ac_ext=c
16097 ac_cpp='$CPP $CPPFLAGS'
16098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16101
16102 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
16103 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
16104 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
16105 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
16106 echo $ECHO_N "(cached) $ECHO_C" >&6
16107 else
16108 ac_check_lib_save_LIBS=$LIBS
16109 LIBS="-lcExt $LIBS"
16110 cat >conftest.$ac_ext <<_ACEOF
16111 /* confdefs.h. */
16112 _ACEOF
16113 cat confdefs.h >>conftest.$ac_ext
16114 cat >>conftest.$ac_ext <<_ACEOF
16115 /* end confdefs.h. */
16116
16117 /* Override any gcc2 internal prototype to avoid an error. */
16118 #ifdef __cplusplus
16119 extern "C"
16120 #endif
16121 /* We use char because int might match the return type of a gcc2
16122 builtin and then its argument prototype would still apply. */
16123 char drand48 ();
16124 int
16125 main ()
16126 {
16127 drand48 ();
16128 ;
16129 return 0;
16130 }
16131 _ACEOF
16132 rm -f conftest.$ac_objext conftest$ac_exeext
16133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16134 (eval $ac_link) 2>conftest.er1
16135 ac_status=$?
16136 grep -v '^ *+' conftest.er1 >conftest.err
16137 rm -f conftest.er1
16138 cat conftest.err >&5
16139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16140 (exit $ac_status); } &&
16141 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
16142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16143 (eval $ac_try) 2>&5
16144 ac_status=$?
16145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16146 (exit $ac_status); }; } &&
16147 { ac_try='test -s conftest$ac_exeext'
16148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16149 (eval $ac_try) 2>&5
16150 ac_status=$?
16151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16152 (exit $ac_status); }; }; then
16153 ac_cv_lib_cExt_drand48=yes
16154 else
16155 echo "$as_me: failed program was:" >&5
16156 sed 's/^/| /' conftest.$ac_ext >&5
16157
16158 ac_cv_lib_cExt_drand48=no
16159 fi
16160 rm -f conftest.err conftest.$ac_objext \
16161 conftest$ac_exeext conftest.$ac_ext
16162 LIBS=$ac_check_lib_save_LIBS
16163 fi
16164 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
16165 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
16166 if test $ac_cv_lib_cExt_drand48 = yes; then
16167 LIBS="$LIBS -lcExt"
16168 fi
16169
16170 else
16171 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
16172 fi
16173 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
16174 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
16175 if test "${wx_cv_gccversion+set}" = set; then
16176 echo $ECHO_N "(cached) $ECHO_C" >&6
16177 else
16178
16179 if test "$cross_compiling" = yes; then
16180 wx_cv_gccversion="EMX2"
16181
16182 else
16183 cat >conftest.$ac_ext <<_ACEOF
16184 /* confdefs.h. */
16185 _ACEOF
16186 cat confdefs.h >>conftest.$ac_ext
16187 cat >>conftest.$ac_ext <<_ACEOF
16188 /* end confdefs.h. */
16189
16190 #include <stdio.h>
16191
16192 int main()
16193 {
16194 FILE *f=fopen("conftestval", "w");
16195 if (!f) exit(1);
16196 fprintf(f,
16197 #if (__GNUC__ < 3)
16198 "EMX2"
16199 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
16200 "EMX3"
16201 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
16202 "Innotek5"
16203 #else
16204 "Innotek6"
16205 #endif
16206 );
16207 exit(0);
16208 }
16209
16210 _ACEOF
16211 rm -f conftest$ac_exeext
16212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16213 (eval $ac_link) 2>&5
16214 ac_status=$?
16215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16216 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16218 (eval $ac_try) 2>&5
16219 ac_status=$?
16220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16221 (exit $ac_status); }; }; then
16222 wx_cv_gccversion=`cat conftestval`
16223 else
16224 echo "$as_me: program exited with status $ac_status" >&5
16225 echo "$as_me: failed program was:" >&5
16226 sed 's/^/| /' conftest.$ac_ext >&5
16227
16228 ( exit $ac_status )
16229 wx_cv_gccversion="EMX2"
16230 fi
16231 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16232 fi
16233
16234 fi
16235 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
16236 echo "${ECHO_T}$wx_cv_gccversion" >&6
16237 ac_ext=cc
16238 ac_cpp='$CXXCPP $CPPFLAGS'
16239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16242
16243 if test "$wx_cv_gccversion" = "EMX2"; then
16244 LIBS="$LIBS -lstdcpp"
16245 LDFLAGS="$LDFLAGS -Zsysv-signals"
16246 else
16247 if test "$wx_cv_gccversion" = "EMX3"; then
16248 LIBS="$LIBS -lstdcxx -lgcc"
16249 LDFLAGS="$LDFLAGS -Zsysv-signals"
16250 else
16251 LIBS="$LIBS -lstdc++"
16252 fi
16253 fi
16254 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
16255 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
16256 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
16257 wxUSE_OMF=yes
16258 enable_omf=yes
16259 fi
16260 ;;
16261 *)
16262
16263 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
16264 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
16265 if test "${ac_cv_string_strcasecmp+set}" = set; then
16266 echo $ECHO_N "(cached) $ECHO_C" >&6
16267 else
16268
16269 cat >conftest.$ac_ext <<_ACEOF
16270 /* confdefs.h. */
16271 _ACEOF
16272 cat confdefs.h >>conftest.$ac_ext
16273 cat >>conftest.$ac_ext <<_ACEOF
16274 /* end confdefs.h. */
16275
16276 #include <string.h>
16277
16278 int
16279 main ()
16280 {
16281
16282 strcasecmp("foo", "bar");
16283
16284 ;
16285 return 0;
16286 }
16287 _ACEOF
16288 rm -f conftest.$ac_objext conftest$ac_exeext
16289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16290 (eval $ac_link) 2>conftest.er1
16291 ac_status=$?
16292 grep -v '^ *+' conftest.er1 >conftest.err
16293 rm -f conftest.er1
16294 cat conftest.err >&5
16295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16296 (exit $ac_status); } &&
16297 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16299 (eval $ac_try) 2>&5
16300 ac_status=$?
16301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16302 (exit $ac_status); }; } &&
16303 { ac_try='test -s conftest$ac_exeext'
16304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16305 (eval $ac_try) 2>&5
16306 ac_status=$?
16307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16308 (exit $ac_status); }; }; then
16309 ac_cv_string_strcasecmp=yes
16310 else
16311 echo "$as_me: failed program was:" >&5
16312 sed 's/^/| /' conftest.$ac_ext >&5
16313
16314 ac_cv_string_strcasecmp=no
16315
16316 fi
16317 rm -f conftest.err conftest.$ac_objext \
16318 conftest$ac_exeext conftest.$ac_ext
16319
16320 fi
16321 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
16322 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
16323
16324 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
16325 cat >>confdefs.h <<\_ACEOF
16326 #define HAVE_STRCASECMP_IN_STRING_H 1
16327 _ACEOF
16328
16329 else
16330 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
16331 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
16332 if test "${ac_cv_strings_strcasecmp+set}" = set; then
16333 echo $ECHO_N "(cached) $ECHO_C" >&6
16334 else
16335
16336 cat >conftest.$ac_ext <<_ACEOF
16337 /* confdefs.h. */
16338 _ACEOF
16339 cat confdefs.h >>conftest.$ac_ext
16340 cat >>conftest.$ac_ext <<_ACEOF
16341 /* end confdefs.h. */
16342
16343 #include <strings.h>
16344
16345 int
16346 main ()
16347 {
16348
16349 strcasecmp("foo", "bar");
16350
16351 ;
16352 return 0;
16353 }
16354 _ACEOF
16355 rm -f conftest.$ac_objext conftest$ac_exeext
16356 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16357 (eval $ac_link) 2>conftest.er1
16358 ac_status=$?
16359 grep -v '^ *+' conftest.er1 >conftest.err
16360 rm -f conftest.er1
16361 cat conftest.err >&5
16362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16363 (exit $ac_status); } &&
16364 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16366 (eval $ac_try) 2>&5
16367 ac_status=$?
16368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16369 (exit $ac_status); }; } &&
16370 { ac_try='test -s conftest$ac_exeext'
16371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16372 (eval $ac_try) 2>&5
16373 ac_status=$?
16374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16375 (exit $ac_status); }; }; then
16376 ac_cv_strings_strcasecmp=yes
16377 else
16378 echo "$as_me: failed program was:" >&5
16379 sed 's/^/| /' conftest.$ac_ext >&5
16380
16381 ac_cv_strings_strcasecmp=no
16382
16383 fi
16384 rm -f conftest.err conftest.$ac_objext \
16385 conftest$ac_exeext conftest.$ac_ext
16386
16387 fi
16388 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16389 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16390
16391 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
16392 cat >>confdefs.h <<\_ACEOF
16393 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16394 _ACEOF
16395
16396 else
16397 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16398 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16399 { (exit 1); exit 1; }; }
16400 fi
16401 fi
16402
16403 ;;
16404 esac
16405
16406
16407 ac_ext=cc
16408 ac_cpp='$CXXCPP $CPPFLAGS'
16409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16412 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16413 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16414 if test -z "$CXXCPP"; then
16415 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16416 echo $ECHO_N "(cached) $ECHO_C" >&6
16417 else
16418 # Double quotes because CXXCPP needs to be expanded
16419 for CXXCPP in "$CXX -E" "/lib/cpp"
16420 do
16421 ac_preproc_ok=false
16422 for ac_cxx_preproc_warn_flag in '' yes
16423 do
16424 # Use a header file that comes with gcc, so configuring glibc
16425 # with a fresh cross-compiler works.
16426 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16427 # <limits.h> exists even on freestanding compilers.
16428 # On the NeXT, cc -E runs the code through the compiler's parser,
16429 # not just through cpp. "Syntax error" is here to catch this case.
16430 cat >conftest.$ac_ext <<_ACEOF
16431 /* confdefs.h. */
16432 _ACEOF
16433 cat confdefs.h >>conftest.$ac_ext
16434 cat >>conftest.$ac_ext <<_ACEOF
16435 /* end confdefs.h. */
16436 #ifdef __STDC__
16437 # include <limits.h>
16438 #else
16439 # include <assert.h>
16440 #endif
16441 Syntax error
16442 _ACEOF
16443 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16444 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16445 ac_status=$?
16446 grep -v '^ *+' conftest.er1 >conftest.err
16447 rm -f conftest.er1
16448 cat conftest.err >&5
16449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16450 (exit $ac_status); } >/dev/null; then
16451 if test -s conftest.err; then
16452 ac_cpp_err=$ac_cxx_preproc_warn_flag
16453 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16454 else
16455 ac_cpp_err=
16456 fi
16457 else
16458 ac_cpp_err=yes
16459 fi
16460 if test -z "$ac_cpp_err"; then
16461 :
16462 else
16463 echo "$as_me: failed program was:" >&5
16464 sed 's/^/| /' conftest.$ac_ext >&5
16465
16466 # Broken: fails on valid input.
16467 continue
16468 fi
16469 rm -f conftest.err conftest.$ac_ext
16470
16471 # OK, works on sane cases. Now check whether non-existent headers
16472 # can be detected and how.
16473 cat >conftest.$ac_ext <<_ACEOF
16474 /* confdefs.h. */
16475 _ACEOF
16476 cat confdefs.h >>conftest.$ac_ext
16477 cat >>conftest.$ac_ext <<_ACEOF
16478 /* end confdefs.h. */
16479 #include <ac_nonexistent.h>
16480 _ACEOF
16481 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16482 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16483 ac_status=$?
16484 grep -v '^ *+' conftest.er1 >conftest.err
16485 rm -f conftest.er1
16486 cat conftest.err >&5
16487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16488 (exit $ac_status); } >/dev/null; then
16489 if test -s conftest.err; then
16490 ac_cpp_err=$ac_cxx_preproc_warn_flag
16491 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16492 else
16493 ac_cpp_err=
16494 fi
16495 else
16496 ac_cpp_err=yes
16497 fi
16498 if test -z "$ac_cpp_err"; then
16499 # Broken: success on invalid input.
16500 continue
16501 else
16502 echo "$as_me: failed program was:" >&5
16503 sed 's/^/| /' conftest.$ac_ext >&5
16504
16505 # Passes both tests.
16506 ac_preproc_ok=:
16507 break
16508 fi
16509 rm -f conftest.err conftest.$ac_ext
16510
16511 done
16512 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16513 rm -f conftest.err conftest.$ac_ext
16514 if $ac_preproc_ok; then
16515 break
16516 fi
16517
16518 done
16519 ac_cv_prog_CXXCPP=$CXXCPP
16520
16521 fi
16522 CXXCPP=$ac_cv_prog_CXXCPP
16523 else
16524 ac_cv_prog_CXXCPP=$CXXCPP
16525 fi
16526 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16527 echo "${ECHO_T}$CXXCPP" >&6
16528 ac_preproc_ok=false
16529 for ac_cxx_preproc_warn_flag in '' yes
16530 do
16531 # Use a header file that comes with gcc, so configuring glibc
16532 # with a fresh cross-compiler works.
16533 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16534 # <limits.h> exists even on freestanding compilers.
16535 # On the NeXT, cc -E runs the code through the compiler's parser,
16536 # not just through cpp. "Syntax error" is here to catch this case.
16537 cat >conftest.$ac_ext <<_ACEOF
16538 /* confdefs.h. */
16539 _ACEOF
16540 cat confdefs.h >>conftest.$ac_ext
16541 cat >>conftest.$ac_ext <<_ACEOF
16542 /* end confdefs.h. */
16543 #ifdef __STDC__
16544 # include <limits.h>
16545 #else
16546 # include <assert.h>
16547 #endif
16548 Syntax error
16549 _ACEOF
16550 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16551 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16552 ac_status=$?
16553 grep -v '^ *+' conftest.er1 >conftest.err
16554 rm -f conftest.er1
16555 cat conftest.err >&5
16556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16557 (exit $ac_status); } >/dev/null; then
16558 if test -s conftest.err; then
16559 ac_cpp_err=$ac_cxx_preproc_warn_flag
16560 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16561 else
16562 ac_cpp_err=
16563 fi
16564 else
16565 ac_cpp_err=yes
16566 fi
16567 if test -z "$ac_cpp_err"; then
16568 :
16569 else
16570 echo "$as_me: failed program was:" >&5
16571 sed 's/^/| /' conftest.$ac_ext >&5
16572
16573 # Broken: fails on valid input.
16574 continue
16575 fi
16576 rm -f conftest.err conftest.$ac_ext
16577
16578 # OK, works on sane cases. Now check whether non-existent headers
16579 # can be detected and how.
16580 cat >conftest.$ac_ext <<_ACEOF
16581 /* confdefs.h. */
16582 _ACEOF
16583 cat confdefs.h >>conftest.$ac_ext
16584 cat >>conftest.$ac_ext <<_ACEOF
16585 /* end confdefs.h. */
16586 #include <ac_nonexistent.h>
16587 _ACEOF
16588 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16589 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16590 ac_status=$?
16591 grep -v '^ *+' conftest.er1 >conftest.err
16592 rm -f conftest.er1
16593 cat conftest.err >&5
16594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16595 (exit $ac_status); } >/dev/null; then
16596 if test -s conftest.err; then
16597 ac_cpp_err=$ac_cxx_preproc_warn_flag
16598 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16599 else
16600 ac_cpp_err=
16601 fi
16602 else
16603 ac_cpp_err=yes
16604 fi
16605 if test -z "$ac_cpp_err"; then
16606 # Broken: success on invalid input.
16607 continue
16608 else
16609 echo "$as_me: failed program was:" >&5
16610 sed 's/^/| /' conftest.$ac_ext >&5
16611
16612 # Passes both tests.
16613 ac_preproc_ok=:
16614 break
16615 fi
16616 rm -f conftest.err conftest.$ac_ext
16617
16618 done
16619 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16620 rm -f conftest.err conftest.$ac_ext
16621 if $ac_preproc_ok; then
16622 :
16623 else
16624 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16625 See \`config.log' for more details." >&5
16626 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16627 See \`config.log' for more details." >&2;}
16628 { (exit 1); exit 1; }; }
16629 fi
16630
16631 ac_ext=cc
16632 ac_cpp='$CXXCPP $CPPFLAGS'
16633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16636
16637
16638 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16639 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16640 if test "${ac_cv_header_stdc+set}" = set; then
16641 echo $ECHO_N "(cached) $ECHO_C" >&6
16642 else
16643 cat >conftest.$ac_ext <<_ACEOF
16644 /* confdefs.h. */
16645 _ACEOF
16646 cat confdefs.h >>conftest.$ac_ext
16647 cat >>conftest.$ac_ext <<_ACEOF
16648 /* end confdefs.h. */
16649 #include <stdlib.h>
16650 #include <stdarg.h>
16651 #include <string.h>
16652 #include <float.h>
16653
16654 int
16655 main ()
16656 {
16657
16658 ;
16659 return 0;
16660 }
16661 _ACEOF
16662 rm -f conftest.$ac_objext
16663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16664 (eval $ac_compile) 2>conftest.er1
16665 ac_status=$?
16666 grep -v '^ *+' conftest.er1 >conftest.err
16667 rm -f conftest.er1
16668 cat conftest.err >&5
16669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16670 (exit $ac_status); } &&
16671 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16673 (eval $ac_try) 2>&5
16674 ac_status=$?
16675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16676 (exit $ac_status); }; } &&
16677 { ac_try='test -s conftest.$ac_objext'
16678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16679 (eval $ac_try) 2>&5
16680 ac_status=$?
16681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16682 (exit $ac_status); }; }; then
16683 ac_cv_header_stdc=yes
16684 else
16685 echo "$as_me: failed program was:" >&5
16686 sed 's/^/| /' conftest.$ac_ext >&5
16687
16688 ac_cv_header_stdc=no
16689 fi
16690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16691
16692 if test $ac_cv_header_stdc = yes; then
16693 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16694 cat >conftest.$ac_ext <<_ACEOF
16695 /* confdefs.h. */
16696 _ACEOF
16697 cat confdefs.h >>conftest.$ac_ext
16698 cat >>conftest.$ac_ext <<_ACEOF
16699 /* end confdefs.h. */
16700 #include <string.h>
16701
16702 _ACEOF
16703 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16704 $EGREP "memchr" >/dev/null 2>&1; then
16705 :
16706 else
16707 ac_cv_header_stdc=no
16708 fi
16709 rm -f conftest*
16710
16711 fi
16712
16713 if test $ac_cv_header_stdc = yes; then
16714 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16715 cat >conftest.$ac_ext <<_ACEOF
16716 /* confdefs.h. */
16717 _ACEOF
16718 cat confdefs.h >>conftest.$ac_ext
16719 cat >>conftest.$ac_ext <<_ACEOF
16720 /* end confdefs.h. */
16721 #include <stdlib.h>
16722
16723 _ACEOF
16724 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16725 $EGREP "free" >/dev/null 2>&1; then
16726 :
16727 else
16728 ac_cv_header_stdc=no
16729 fi
16730 rm -f conftest*
16731
16732 fi
16733
16734 if test $ac_cv_header_stdc = yes; then
16735 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16736 if test "$cross_compiling" = yes; then
16737 :
16738 else
16739 cat >conftest.$ac_ext <<_ACEOF
16740 /* confdefs.h. */
16741 _ACEOF
16742 cat confdefs.h >>conftest.$ac_ext
16743 cat >>conftest.$ac_ext <<_ACEOF
16744 /* end confdefs.h. */
16745 #include <ctype.h>
16746 #if ((' ' & 0x0FF) == 0x020)
16747 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16748 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16749 #else
16750 # define ISLOWER(c) \
16751 (('a' <= (c) && (c) <= 'i') \
16752 || ('j' <= (c) && (c) <= 'r') \
16753 || ('s' <= (c) && (c) <= 'z'))
16754 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16755 #endif
16756
16757 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16758 int
16759 main ()
16760 {
16761 int i;
16762 for (i = 0; i < 256; i++)
16763 if (XOR (islower (i), ISLOWER (i))
16764 || toupper (i) != TOUPPER (i))
16765 exit(2);
16766 exit (0);
16767 }
16768 _ACEOF
16769 rm -f conftest$ac_exeext
16770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16771 (eval $ac_link) 2>&5
16772 ac_status=$?
16773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16774 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16776 (eval $ac_try) 2>&5
16777 ac_status=$?
16778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16779 (exit $ac_status); }; }; then
16780 :
16781 else
16782 echo "$as_me: program exited with status $ac_status" >&5
16783 echo "$as_me: failed program was:" >&5
16784 sed 's/^/| /' conftest.$ac_ext >&5
16785
16786 ( exit $ac_status )
16787 ac_cv_header_stdc=no
16788 fi
16789 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16790 fi
16791 fi
16792 fi
16793 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16794 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16795 if test $ac_cv_header_stdc = yes; then
16796
16797 cat >>confdefs.h <<\_ACEOF
16798 #define STDC_HEADERS 1
16799 _ACEOF
16800
16801 fi
16802
16803 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16804
16805
16806
16807
16808
16809
16810
16811
16812
16813 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
16814 inttypes.h stdint.h unistd.h
16815 do
16816 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16817 echo "$as_me:$LINENO: checking for $ac_header" >&5
16818 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16819 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16820 echo $ECHO_N "(cached) $ECHO_C" >&6
16821 else
16822 cat >conftest.$ac_ext <<_ACEOF
16823 /* confdefs.h. */
16824 _ACEOF
16825 cat confdefs.h >>conftest.$ac_ext
16826 cat >>conftest.$ac_ext <<_ACEOF
16827 /* end confdefs.h. */
16828 $ac_includes_default
16829
16830 #include <$ac_header>
16831 _ACEOF
16832 rm -f conftest.$ac_objext
16833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16834 (eval $ac_compile) 2>conftest.er1
16835 ac_status=$?
16836 grep -v '^ *+' conftest.er1 >conftest.err
16837 rm -f conftest.er1
16838 cat conftest.err >&5
16839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16840 (exit $ac_status); } &&
16841 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16843 (eval $ac_try) 2>&5
16844 ac_status=$?
16845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16846 (exit $ac_status); }; } &&
16847 { ac_try='test -s conftest.$ac_objext'
16848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16849 (eval $ac_try) 2>&5
16850 ac_status=$?
16851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16852 (exit $ac_status); }; }; then
16853 eval "$as_ac_Header=yes"
16854 else
16855 echo "$as_me: failed program was:" >&5
16856 sed 's/^/| /' conftest.$ac_ext >&5
16857
16858 eval "$as_ac_Header=no"
16859 fi
16860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16861 fi
16862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16863 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16864 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16865 cat >>confdefs.h <<_ACEOF
16866 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16867 _ACEOF
16868
16869 fi
16870
16871 done
16872
16873
16874
16875 for ac_header in stdlib.h
16876 do
16877 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16878 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16879 echo "$as_me:$LINENO: checking for $ac_header" >&5
16880 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16881 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16882 echo $ECHO_N "(cached) $ECHO_C" >&6
16883 fi
16884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16885 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16886 else
16887 # Is the header compilable?
16888 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16889 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16890 cat >conftest.$ac_ext <<_ACEOF
16891 /* confdefs.h. */
16892 _ACEOF
16893 cat confdefs.h >>conftest.$ac_ext
16894 cat >>conftest.$ac_ext <<_ACEOF
16895 /* end confdefs.h. */
16896 $ac_includes_default
16897 #include <$ac_header>
16898 _ACEOF
16899 rm -f conftest.$ac_objext
16900 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16901 (eval $ac_compile) 2>conftest.er1
16902 ac_status=$?
16903 grep -v '^ *+' conftest.er1 >conftest.err
16904 rm -f conftest.er1
16905 cat conftest.err >&5
16906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16907 (exit $ac_status); } &&
16908 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16910 (eval $ac_try) 2>&5
16911 ac_status=$?
16912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16913 (exit $ac_status); }; } &&
16914 { ac_try='test -s conftest.$ac_objext'
16915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16916 (eval $ac_try) 2>&5
16917 ac_status=$?
16918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16919 (exit $ac_status); }; }; then
16920 ac_header_compiler=yes
16921 else
16922 echo "$as_me: failed program was:" >&5
16923 sed 's/^/| /' conftest.$ac_ext >&5
16924
16925 ac_header_compiler=no
16926 fi
16927 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16928 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16929 echo "${ECHO_T}$ac_header_compiler" >&6
16930
16931 # Is the header present?
16932 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16933 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16934 cat >conftest.$ac_ext <<_ACEOF
16935 /* confdefs.h. */
16936 _ACEOF
16937 cat confdefs.h >>conftest.$ac_ext
16938 cat >>conftest.$ac_ext <<_ACEOF
16939 /* end confdefs.h. */
16940 #include <$ac_header>
16941 _ACEOF
16942 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16943 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16944 ac_status=$?
16945 grep -v '^ *+' conftest.er1 >conftest.err
16946 rm -f conftest.er1
16947 cat conftest.err >&5
16948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16949 (exit $ac_status); } >/dev/null; then
16950 if test -s conftest.err; then
16951 ac_cpp_err=$ac_cxx_preproc_warn_flag
16952 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16953 else
16954 ac_cpp_err=
16955 fi
16956 else
16957 ac_cpp_err=yes
16958 fi
16959 if test -z "$ac_cpp_err"; then
16960 ac_header_preproc=yes
16961 else
16962 echo "$as_me: failed program was:" >&5
16963 sed 's/^/| /' conftest.$ac_ext >&5
16964
16965 ac_header_preproc=no
16966 fi
16967 rm -f conftest.err conftest.$ac_ext
16968 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16969 echo "${ECHO_T}$ac_header_preproc" >&6
16970
16971 # So? What about this header?
16972 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16973 yes:no: )
16974 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16975 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16976 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16977 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16978 ac_header_preproc=yes
16979 ;;
16980 no:yes:* )
16981 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16982 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16983 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16984 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16985 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16986 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16987 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16988 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16989 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16990 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16991 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16992 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16993 (
16994 cat <<\_ASBOX
16995 ## ----------------------------------------- ##
16996 ## Report this to wx-dev@lists.wxwidgets.org ##
16997 ## ----------------------------------------- ##
16998 _ASBOX
16999 ) |
17000 sed "s/^/$as_me: WARNING: /" >&2
17001 ;;
17002 esac
17003 echo "$as_me:$LINENO: checking for $ac_header" >&5
17004 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17005 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17006 echo $ECHO_N "(cached) $ECHO_C" >&6
17007 else
17008 eval "$as_ac_Header=\$ac_header_preproc"
17009 fi
17010 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17011 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17012
17013 fi
17014 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17015 cat >>confdefs.h <<_ACEOF
17016 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17017 _ACEOF
17018
17019 fi
17020
17021 done
17022
17023
17024 for ac_header in malloc.h
17025 do
17026 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17027 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17028 echo "$as_me:$LINENO: checking for $ac_header" >&5
17029 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17030 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17031 echo $ECHO_N "(cached) $ECHO_C" >&6
17032 fi
17033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17034 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17035 else
17036 # Is the header compilable?
17037 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17038 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17039 cat >conftest.$ac_ext <<_ACEOF
17040 /* confdefs.h. */
17041 _ACEOF
17042 cat confdefs.h >>conftest.$ac_ext
17043 cat >>conftest.$ac_ext <<_ACEOF
17044 /* end confdefs.h. */
17045 $ac_includes_default
17046 #include <$ac_header>
17047 _ACEOF
17048 rm -f conftest.$ac_objext
17049 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17050 (eval $ac_compile) 2>conftest.er1
17051 ac_status=$?
17052 grep -v '^ *+' conftest.er1 >conftest.err
17053 rm -f conftest.er1
17054 cat conftest.err >&5
17055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17056 (exit $ac_status); } &&
17057 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17059 (eval $ac_try) 2>&5
17060 ac_status=$?
17061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17062 (exit $ac_status); }; } &&
17063 { ac_try='test -s conftest.$ac_objext'
17064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17065 (eval $ac_try) 2>&5
17066 ac_status=$?
17067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17068 (exit $ac_status); }; }; then
17069 ac_header_compiler=yes
17070 else
17071 echo "$as_me: failed program was:" >&5
17072 sed 's/^/| /' conftest.$ac_ext >&5
17073
17074 ac_header_compiler=no
17075 fi
17076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17077 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17078 echo "${ECHO_T}$ac_header_compiler" >&6
17079
17080 # Is the header present?
17081 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17082 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17083 cat >conftest.$ac_ext <<_ACEOF
17084 /* confdefs.h. */
17085 _ACEOF
17086 cat confdefs.h >>conftest.$ac_ext
17087 cat >>conftest.$ac_ext <<_ACEOF
17088 /* end confdefs.h. */
17089 #include <$ac_header>
17090 _ACEOF
17091 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17092 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17093 ac_status=$?
17094 grep -v '^ *+' conftest.er1 >conftest.err
17095 rm -f conftest.er1
17096 cat conftest.err >&5
17097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17098 (exit $ac_status); } >/dev/null; then
17099 if test -s conftest.err; then
17100 ac_cpp_err=$ac_cxx_preproc_warn_flag
17101 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17102 else
17103 ac_cpp_err=
17104 fi
17105 else
17106 ac_cpp_err=yes
17107 fi
17108 if test -z "$ac_cpp_err"; then
17109 ac_header_preproc=yes
17110 else
17111 echo "$as_me: failed program was:" >&5
17112 sed 's/^/| /' conftest.$ac_ext >&5
17113
17114 ac_header_preproc=no
17115 fi
17116 rm -f conftest.err conftest.$ac_ext
17117 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17118 echo "${ECHO_T}$ac_header_preproc" >&6
17119
17120 # So? What about this header?
17121 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17122 yes:no: )
17123 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17124 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17125 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17126 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17127 ac_header_preproc=yes
17128 ;;
17129 no:yes:* )
17130 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17131 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17132 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17133 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17134 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17135 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17136 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17137 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17138 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17139 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17140 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17141 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17142 (
17143 cat <<\_ASBOX
17144 ## ----------------------------------------- ##
17145 ## Report this to wx-dev@lists.wxwidgets.org ##
17146 ## ----------------------------------------- ##
17147 _ASBOX
17148 ) |
17149 sed "s/^/$as_me: WARNING: /" >&2
17150 ;;
17151 esac
17152 echo "$as_me:$LINENO: checking for $ac_header" >&5
17153 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17154 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17155 echo $ECHO_N "(cached) $ECHO_C" >&6
17156 else
17157 eval "$as_ac_Header=\$ac_header_preproc"
17158 fi
17159 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17160 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17161
17162 fi
17163 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17164 cat >>confdefs.h <<_ACEOF
17165 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17166 _ACEOF
17167
17168 fi
17169
17170 done
17171
17172
17173 for ac_header in unistd.h
17174 do
17175 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17176 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17177 echo "$as_me:$LINENO: checking for $ac_header" >&5
17178 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17179 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17180 echo $ECHO_N "(cached) $ECHO_C" >&6
17181 fi
17182 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17183 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17184 else
17185 # Is the header compilable?
17186 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17187 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17188 cat >conftest.$ac_ext <<_ACEOF
17189 /* confdefs.h. */
17190 _ACEOF
17191 cat confdefs.h >>conftest.$ac_ext
17192 cat >>conftest.$ac_ext <<_ACEOF
17193 /* end confdefs.h. */
17194 $ac_includes_default
17195 #include <$ac_header>
17196 _ACEOF
17197 rm -f conftest.$ac_objext
17198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17199 (eval $ac_compile) 2>conftest.er1
17200 ac_status=$?
17201 grep -v '^ *+' conftest.er1 >conftest.err
17202 rm -f conftest.er1
17203 cat conftest.err >&5
17204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17205 (exit $ac_status); } &&
17206 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17208 (eval $ac_try) 2>&5
17209 ac_status=$?
17210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17211 (exit $ac_status); }; } &&
17212 { ac_try='test -s conftest.$ac_objext'
17213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17214 (eval $ac_try) 2>&5
17215 ac_status=$?
17216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17217 (exit $ac_status); }; }; then
17218 ac_header_compiler=yes
17219 else
17220 echo "$as_me: failed program was:" >&5
17221 sed 's/^/| /' conftest.$ac_ext >&5
17222
17223 ac_header_compiler=no
17224 fi
17225 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17226 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17227 echo "${ECHO_T}$ac_header_compiler" >&6
17228
17229 # Is the header present?
17230 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17231 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17232 cat >conftest.$ac_ext <<_ACEOF
17233 /* confdefs.h. */
17234 _ACEOF
17235 cat confdefs.h >>conftest.$ac_ext
17236 cat >>conftest.$ac_ext <<_ACEOF
17237 /* end confdefs.h. */
17238 #include <$ac_header>
17239 _ACEOF
17240 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17241 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17242 ac_status=$?
17243 grep -v '^ *+' conftest.er1 >conftest.err
17244 rm -f conftest.er1
17245 cat conftest.err >&5
17246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17247 (exit $ac_status); } >/dev/null; then
17248 if test -s conftest.err; then
17249 ac_cpp_err=$ac_cxx_preproc_warn_flag
17250 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17251 else
17252 ac_cpp_err=
17253 fi
17254 else
17255 ac_cpp_err=yes
17256 fi
17257 if test -z "$ac_cpp_err"; then
17258 ac_header_preproc=yes
17259 else
17260 echo "$as_me: failed program was:" >&5
17261 sed 's/^/| /' conftest.$ac_ext >&5
17262
17263 ac_header_preproc=no
17264 fi
17265 rm -f conftest.err conftest.$ac_ext
17266 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17267 echo "${ECHO_T}$ac_header_preproc" >&6
17268
17269 # So? What about this header?
17270 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17271 yes:no: )
17272 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17273 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17274 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17275 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17276 ac_header_preproc=yes
17277 ;;
17278 no:yes:* )
17279 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17280 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17281 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17282 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17283 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17284 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17285 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17286 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17287 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17288 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17289 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17290 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17291 (
17292 cat <<\_ASBOX
17293 ## ----------------------------------------- ##
17294 ## Report this to wx-dev@lists.wxwidgets.org ##
17295 ## ----------------------------------------- ##
17296 _ASBOX
17297 ) |
17298 sed "s/^/$as_me: WARNING: /" >&2
17299 ;;
17300 esac
17301 echo "$as_me:$LINENO: checking for $ac_header" >&5
17302 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17303 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17304 echo $ECHO_N "(cached) $ECHO_C" >&6
17305 else
17306 eval "$as_ac_Header=\$ac_header_preproc"
17307 fi
17308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17309 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17310
17311 fi
17312 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17313 cat >>confdefs.h <<_ACEOF
17314 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17315 _ACEOF
17316
17317 fi
17318
17319 done
17320
17321
17322 for ac_header in wchar.h
17323 do
17324 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17325 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17326 echo "$as_me:$LINENO: checking for $ac_header" >&5
17327 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17328 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17329 echo $ECHO_N "(cached) $ECHO_C" >&6
17330 fi
17331 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17332 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17333 else
17334 # Is the header compilable?
17335 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17336 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17337 cat >conftest.$ac_ext <<_ACEOF
17338 /* confdefs.h. */
17339 _ACEOF
17340 cat confdefs.h >>conftest.$ac_ext
17341 cat >>conftest.$ac_ext <<_ACEOF
17342 /* end confdefs.h. */
17343 $ac_includes_default
17344 #include <$ac_header>
17345 _ACEOF
17346 rm -f conftest.$ac_objext
17347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17348 (eval $ac_compile) 2>conftest.er1
17349 ac_status=$?
17350 grep -v '^ *+' conftest.er1 >conftest.err
17351 rm -f conftest.er1
17352 cat conftest.err >&5
17353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17354 (exit $ac_status); } &&
17355 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17357 (eval $ac_try) 2>&5
17358 ac_status=$?
17359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 (exit $ac_status); }; } &&
17361 { ac_try='test -s conftest.$ac_objext'
17362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17363 (eval $ac_try) 2>&5
17364 ac_status=$?
17365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17366 (exit $ac_status); }; }; then
17367 ac_header_compiler=yes
17368 else
17369 echo "$as_me: failed program was:" >&5
17370 sed 's/^/| /' conftest.$ac_ext >&5
17371
17372 ac_header_compiler=no
17373 fi
17374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17375 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17376 echo "${ECHO_T}$ac_header_compiler" >&6
17377
17378 # Is the header present?
17379 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17380 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17381 cat >conftest.$ac_ext <<_ACEOF
17382 /* confdefs.h. */
17383 _ACEOF
17384 cat confdefs.h >>conftest.$ac_ext
17385 cat >>conftest.$ac_ext <<_ACEOF
17386 /* end confdefs.h. */
17387 #include <$ac_header>
17388 _ACEOF
17389 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17390 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17391 ac_status=$?
17392 grep -v '^ *+' conftest.er1 >conftest.err
17393 rm -f conftest.er1
17394 cat conftest.err >&5
17395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17396 (exit $ac_status); } >/dev/null; then
17397 if test -s conftest.err; then
17398 ac_cpp_err=$ac_cxx_preproc_warn_flag
17399 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17400 else
17401 ac_cpp_err=
17402 fi
17403 else
17404 ac_cpp_err=yes
17405 fi
17406 if test -z "$ac_cpp_err"; then
17407 ac_header_preproc=yes
17408 else
17409 echo "$as_me: failed program was:" >&5
17410 sed 's/^/| /' conftest.$ac_ext >&5
17411
17412 ac_header_preproc=no
17413 fi
17414 rm -f conftest.err conftest.$ac_ext
17415 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17416 echo "${ECHO_T}$ac_header_preproc" >&6
17417
17418 # So? What about this header?
17419 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17420 yes:no: )
17421 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17422 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17423 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17424 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17425 ac_header_preproc=yes
17426 ;;
17427 no:yes:* )
17428 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17429 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17430 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17431 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17432 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17433 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17434 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17435 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17436 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17437 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17438 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17439 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17440 (
17441 cat <<\_ASBOX
17442 ## ----------------------------------------- ##
17443 ## Report this to wx-dev@lists.wxwidgets.org ##
17444 ## ----------------------------------------- ##
17445 _ASBOX
17446 ) |
17447 sed "s/^/$as_me: WARNING: /" >&2
17448 ;;
17449 esac
17450 echo "$as_me:$LINENO: checking for $ac_header" >&5
17451 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17452 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17453 echo $ECHO_N "(cached) $ECHO_C" >&6
17454 else
17455 eval "$as_ac_Header=\$ac_header_preproc"
17456 fi
17457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17459
17460 fi
17461 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17462 cat >>confdefs.h <<_ACEOF
17463 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17464 _ACEOF
17465
17466 fi
17467
17468 done
17469
17470
17471 if test "$ac_cv_header_wchar_h" != "yes"; then
17472
17473 for ac_header in wcstr.h
17474 do
17475 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17476 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17477 echo "$as_me:$LINENO: checking for $ac_header" >&5
17478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17480 echo $ECHO_N "(cached) $ECHO_C" >&6
17481 fi
17482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17484 else
17485 # Is the header compilable?
17486 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17487 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17488 cat >conftest.$ac_ext <<_ACEOF
17489 /* confdefs.h. */
17490 _ACEOF
17491 cat confdefs.h >>conftest.$ac_ext
17492 cat >>conftest.$ac_ext <<_ACEOF
17493 /* end confdefs.h. */
17494 $ac_includes_default
17495 #include <$ac_header>
17496 _ACEOF
17497 rm -f conftest.$ac_objext
17498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17499 (eval $ac_compile) 2>conftest.er1
17500 ac_status=$?
17501 grep -v '^ *+' conftest.er1 >conftest.err
17502 rm -f conftest.er1
17503 cat conftest.err >&5
17504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17505 (exit $ac_status); } &&
17506 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17508 (eval $ac_try) 2>&5
17509 ac_status=$?
17510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17511 (exit $ac_status); }; } &&
17512 { ac_try='test -s conftest.$ac_objext'
17513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17514 (eval $ac_try) 2>&5
17515 ac_status=$?
17516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17517 (exit $ac_status); }; }; then
17518 ac_header_compiler=yes
17519 else
17520 echo "$as_me: failed program was:" >&5
17521 sed 's/^/| /' conftest.$ac_ext >&5
17522
17523 ac_header_compiler=no
17524 fi
17525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17526 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17527 echo "${ECHO_T}$ac_header_compiler" >&6
17528
17529 # Is the header present?
17530 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17531 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17532 cat >conftest.$ac_ext <<_ACEOF
17533 /* confdefs.h. */
17534 _ACEOF
17535 cat confdefs.h >>conftest.$ac_ext
17536 cat >>conftest.$ac_ext <<_ACEOF
17537 /* end confdefs.h. */
17538 #include <$ac_header>
17539 _ACEOF
17540 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17541 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17542 ac_status=$?
17543 grep -v '^ *+' conftest.er1 >conftest.err
17544 rm -f conftest.er1
17545 cat conftest.err >&5
17546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17547 (exit $ac_status); } >/dev/null; then
17548 if test -s conftest.err; then
17549 ac_cpp_err=$ac_cxx_preproc_warn_flag
17550 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17551 else
17552 ac_cpp_err=
17553 fi
17554 else
17555 ac_cpp_err=yes
17556 fi
17557 if test -z "$ac_cpp_err"; then
17558 ac_header_preproc=yes
17559 else
17560 echo "$as_me: failed program was:" >&5
17561 sed 's/^/| /' conftest.$ac_ext >&5
17562
17563 ac_header_preproc=no
17564 fi
17565 rm -f conftest.err conftest.$ac_ext
17566 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17567 echo "${ECHO_T}$ac_header_preproc" >&6
17568
17569 # So? What about this header?
17570 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17571 yes:no: )
17572 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17573 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17574 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17575 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17576 ac_header_preproc=yes
17577 ;;
17578 no:yes:* )
17579 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17580 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17581 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17582 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17583 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17584 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17585 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17586 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17587 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17588 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17589 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17590 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17591 (
17592 cat <<\_ASBOX
17593 ## ----------------------------------------- ##
17594 ## Report this to wx-dev@lists.wxwidgets.org ##
17595 ## ----------------------------------------- ##
17596 _ASBOX
17597 ) |
17598 sed "s/^/$as_me: WARNING: /" >&2
17599 ;;
17600 esac
17601 echo "$as_me:$LINENO: checking for $ac_header" >&5
17602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17604 echo $ECHO_N "(cached) $ECHO_C" >&6
17605 else
17606 eval "$as_ac_Header=\$ac_header_preproc"
17607 fi
17608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17609 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17610
17611 fi
17612 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17613 cat >>confdefs.h <<_ACEOF
17614 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17615 _ACEOF
17616
17617 fi
17618
17619 done
17620
17621 fi
17622
17623
17624 for ac_header in fnmatch.h
17625 do
17626 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17627 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17628 echo "$as_me:$LINENO: checking for $ac_header" >&5
17629 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17630 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17631 echo $ECHO_N "(cached) $ECHO_C" >&6
17632 fi
17633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17634 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17635 else
17636 # Is the header compilable?
17637 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17638 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17639 cat >conftest.$ac_ext <<_ACEOF
17640 /* confdefs.h. */
17641 _ACEOF
17642 cat confdefs.h >>conftest.$ac_ext
17643 cat >>conftest.$ac_ext <<_ACEOF
17644 /* end confdefs.h. */
17645 $ac_includes_default
17646 #include <$ac_header>
17647 _ACEOF
17648 rm -f conftest.$ac_objext
17649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17650 (eval $ac_compile) 2>conftest.er1
17651 ac_status=$?
17652 grep -v '^ *+' conftest.er1 >conftest.err
17653 rm -f conftest.er1
17654 cat conftest.err >&5
17655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17656 (exit $ac_status); } &&
17657 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17659 (eval $ac_try) 2>&5
17660 ac_status=$?
17661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17662 (exit $ac_status); }; } &&
17663 { ac_try='test -s conftest.$ac_objext'
17664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17665 (eval $ac_try) 2>&5
17666 ac_status=$?
17667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17668 (exit $ac_status); }; }; then
17669 ac_header_compiler=yes
17670 else
17671 echo "$as_me: failed program was:" >&5
17672 sed 's/^/| /' conftest.$ac_ext >&5
17673
17674 ac_header_compiler=no
17675 fi
17676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17677 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17678 echo "${ECHO_T}$ac_header_compiler" >&6
17679
17680 # Is the header present?
17681 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17682 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17683 cat >conftest.$ac_ext <<_ACEOF
17684 /* confdefs.h. */
17685 _ACEOF
17686 cat confdefs.h >>conftest.$ac_ext
17687 cat >>conftest.$ac_ext <<_ACEOF
17688 /* end confdefs.h. */
17689 #include <$ac_header>
17690 _ACEOF
17691 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17692 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17693 ac_status=$?
17694 grep -v '^ *+' conftest.er1 >conftest.err
17695 rm -f conftest.er1
17696 cat conftest.err >&5
17697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17698 (exit $ac_status); } >/dev/null; then
17699 if test -s conftest.err; then
17700 ac_cpp_err=$ac_cxx_preproc_warn_flag
17701 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17702 else
17703 ac_cpp_err=
17704 fi
17705 else
17706 ac_cpp_err=yes
17707 fi
17708 if test -z "$ac_cpp_err"; then
17709 ac_header_preproc=yes
17710 else
17711 echo "$as_me: failed program was:" >&5
17712 sed 's/^/| /' conftest.$ac_ext >&5
17713
17714 ac_header_preproc=no
17715 fi
17716 rm -f conftest.err conftest.$ac_ext
17717 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17718 echo "${ECHO_T}$ac_header_preproc" >&6
17719
17720 # So? What about this header?
17721 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17722 yes:no: )
17723 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17724 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17725 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17726 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17727 ac_header_preproc=yes
17728 ;;
17729 no:yes:* )
17730 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17731 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17732 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17733 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17734 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17735 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17736 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17737 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17738 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17739 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17740 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17741 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17742 (
17743 cat <<\_ASBOX
17744 ## ----------------------------------------- ##
17745 ## Report this to wx-dev@lists.wxwidgets.org ##
17746 ## ----------------------------------------- ##
17747 _ASBOX
17748 ) |
17749 sed "s/^/$as_me: WARNING: /" >&2
17750 ;;
17751 esac
17752 echo "$as_me:$LINENO: checking for $ac_header" >&5
17753 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17754 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17755 echo $ECHO_N "(cached) $ECHO_C" >&6
17756 else
17757 eval "$as_ac_Header=\$ac_header_preproc"
17758 fi
17759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17760 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17761
17762 fi
17763 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17764 cat >>confdefs.h <<_ACEOF
17765 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17766 _ACEOF
17767
17768 fi
17769
17770 done
17771
17772
17773
17774 for ac_header in langinfo.h
17775 do
17776 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17777 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17778 echo "$as_me:$LINENO: checking for $ac_header" >&5
17779 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17780 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17781 echo $ECHO_N "(cached) $ECHO_C" >&6
17782 fi
17783 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17784 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17785 else
17786 # Is the header compilable?
17787 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17788 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17789 cat >conftest.$ac_ext <<_ACEOF
17790 /* confdefs.h. */
17791 _ACEOF
17792 cat confdefs.h >>conftest.$ac_ext
17793 cat >>conftest.$ac_ext <<_ACEOF
17794 /* end confdefs.h. */
17795 $ac_includes_default
17796 #include <$ac_header>
17797 _ACEOF
17798 rm -f conftest.$ac_objext
17799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17800 (eval $ac_compile) 2>conftest.er1
17801 ac_status=$?
17802 grep -v '^ *+' conftest.er1 >conftest.err
17803 rm -f conftest.er1
17804 cat conftest.err >&5
17805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17806 (exit $ac_status); } &&
17807 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17809 (eval $ac_try) 2>&5
17810 ac_status=$?
17811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17812 (exit $ac_status); }; } &&
17813 { ac_try='test -s conftest.$ac_objext'
17814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17815 (eval $ac_try) 2>&5
17816 ac_status=$?
17817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17818 (exit $ac_status); }; }; then
17819 ac_header_compiler=yes
17820 else
17821 echo "$as_me: failed program was:" >&5
17822 sed 's/^/| /' conftest.$ac_ext >&5
17823
17824 ac_header_compiler=no
17825 fi
17826 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17827 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17828 echo "${ECHO_T}$ac_header_compiler" >&6
17829
17830 # Is the header present?
17831 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17832 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17833 cat >conftest.$ac_ext <<_ACEOF
17834 /* confdefs.h. */
17835 _ACEOF
17836 cat confdefs.h >>conftest.$ac_ext
17837 cat >>conftest.$ac_ext <<_ACEOF
17838 /* end confdefs.h. */
17839 #include <$ac_header>
17840 _ACEOF
17841 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17842 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17843 ac_status=$?
17844 grep -v '^ *+' conftest.er1 >conftest.err
17845 rm -f conftest.er1
17846 cat conftest.err >&5
17847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17848 (exit $ac_status); } >/dev/null; then
17849 if test -s conftest.err; then
17850 ac_cpp_err=$ac_cxx_preproc_warn_flag
17851 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17852 else
17853 ac_cpp_err=
17854 fi
17855 else
17856 ac_cpp_err=yes
17857 fi
17858 if test -z "$ac_cpp_err"; then
17859 ac_header_preproc=yes
17860 else
17861 echo "$as_me: failed program was:" >&5
17862 sed 's/^/| /' conftest.$ac_ext >&5
17863
17864 ac_header_preproc=no
17865 fi
17866 rm -f conftest.err conftest.$ac_ext
17867 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17868 echo "${ECHO_T}$ac_header_preproc" >&6
17869
17870 # So? What about this header?
17871 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17872 yes:no: )
17873 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17874 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17875 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17876 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17877 ac_header_preproc=yes
17878 ;;
17879 no:yes:* )
17880 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17881 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17882 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17883 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17884 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17885 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17886 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17887 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17888 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17889 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17890 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17891 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17892 (
17893 cat <<\_ASBOX
17894 ## ----------------------------------------- ##
17895 ## Report this to wx-dev@lists.wxwidgets.org ##
17896 ## ----------------------------------------- ##
17897 _ASBOX
17898 ) |
17899 sed "s/^/$as_me: WARNING: /" >&2
17900 ;;
17901 esac
17902 echo "$as_me:$LINENO: checking for $ac_header" >&5
17903 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17904 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17905 echo $ECHO_N "(cached) $ECHO_C" >&6
17906 else
17907 eval "$as_ac_Header=\$ac_header_preproc"
17908 fi
17909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17910 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17911
17912 fi
17913 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17914 cat >>confdefs.h <<_ACEOF
17915 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17916 _ACEOF
17917
17918 fi
17919
17920 done
17921
17922
17923 case "${host}" in
17924 *-pc-os2_emx | *-pc-os2-emx )
17925 if test $ac_cv_header_langinfo_h = "yes" \
17926 -a \( "$wx_cv_gccversion" = "EMX2" \
17927 -o "$wx_cv_gccversion" = "EMX3" \
17928 -o "$wx_cv_gccversion" = "Innotek5" \); then
17929 LIBS="$LIBS -lintl"
17930 fi
17931 ;;
17932 esac
17933
17934 if test "$USE_UNIX" = 1 ; then
17935
17936 for ac_header in sys/select.h
17937 do
17938 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17940 echo "$as_me:$LINENO: checking for $ac_header" >&5
17941 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17942 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17943 echo $ECHO_N "(cached) $ECHO_C" >&6
17944 fi
17945 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17946 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17947 else
17948 # Is the header compilable?
17949 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17950 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17951 cat >conftest.$ac_ext <<_ACEOF
17952 /* confdefs.h. */
17953 _ACEOF
17954 cat confdefs.h >>conftest.$ac_ext
17955 cat >>conftest.$ac_ext <<_ACEOF
17956 /* end confdefs.h. */
17957 $ac_includes_default
17958 #include <$ac_header>
17959 _ACEOF
17960 rm -f conftest.$ac_objext
17961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17962 (eval $ac_compile) 2>conftest.er1
17963 ac_status=$?
17964 grep -v '^ *+' conftest.er1 >conftest.err
17965 rm -f conftest.er1
17966 cat conftest.err >&5
17967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17968 (exit $ac_status); } &&
17969 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17971 (eval $ac_try) 2>&5
17972 ac_status=$?
17973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17974 (exit $ac_status); }; } &&
17975 { ac_try='test -s conftest.$ac_objext'
17976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17977 (eval $ac_try) 2>&5
17978 ac_status=$?
17979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17980 (exit $ac_status); }; }; then
17981 ac_header_compiler=yes
17982 else
17983 echo "$as_me: failed program was:" >&5
17984 sed 's/^/| /' conftest.$ac_ext >&5
17985
17986 ac_header_compiler=no
17987 fi
17988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17989 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17990 echo "${ECHO_T}$ac_header_compiler" >&6
17991
17992 # Is the header present?
17993 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17994 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17995 cat >conftest.$ac_ext <<_ACEOF
17996 /* confdefs.h. */
17997 _ACEOF
17998 cat confdefs.h >>conftest.$ac_ext
17999 cat >>conftest.$ac_ext <<_ACEOF
18000 /* end confdefs.h. */
18001 #include <$ac_header>
18002 _ACEOF
18003 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18004 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18005 ac_status=$?
18006 grep -v '^ *+' conftest.er1 >conftest.err
18007 rm -f conftest.er1
18008 cat conftest.err >&5
18009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18010 (exit $ac_status); } >/dev/null; then
18011 if test -s conftest.err; then
18012 ac_cpp_err=$ac_cxx_preproc_warn_flag
18013 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
18014 else
18015 ac_cpp_err=
18016 fi
18017 else
18018 ac_cpp_err=yes
18019 fi
18020 if test -z "$ac_cpp_err"; then
18021 ac_header_preproc=yes
18022 else
18023 echo "$as_me: failed program was:" >&5
18024 sed 's/^/| /' conftest.$ac_ext >&5
18025
18026 ac_header_preproc=no
18027 fi
18028 rm -f conftest.err conftest.$ac_ext
18029 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18030 echo "${ECHO_T}$ac_header_preproc" >&6
18031
18032 # So? What about this header?
18033 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
18034 yes:no: )
18035 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18036 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18037 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18038 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18039 ac_header_preproc=yes
18040 ;;
18041 no:yes:* )
18042 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18043 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18044 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18045 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18046 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18047 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18048 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18049 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18050 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18051 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18052 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18053 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18054 (
18055 cat <<\_ASBOX
18056 ## ----------------------------------------- ##
18057 ## Report this to wx-dev@lists.wxwidgets.org ##
18058 ## ----------------------------------------- ##
18059 _ASBOX
18060 ) |
18061 sed "s/^/$as_me: WARNING: /" >&2
18062 ;;
18063 esac
18064 echo "$as_me:$LINENO: checking for $ac_header" >&5
18065 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18066 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18067 echo $ECHO_N "(cached) $ECHO_C" >&6
18068 else
18069 eval "$as_ac_Header=\$ac_header_preproc"
18070 fi
18071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18072 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18073
18074 fi
18075 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18076 cat >>confdefs.h <<_ACEOF
18077 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18078 _ACEOF
18079
18080 fi
18081
18082 done
18083
18084 fi
18085
18086
18087 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18088 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
18089 if test "${ac_cv_c_const+set}" = set; then
18090 echo $ECHO_N "(cached) $ECHO_C" >&6
18091 else
18092 cat >conftest.$ac_ext <<_ACEOF
18093 /* confdefs.h. */
18094 _ACEOF
18095 cat confdefs.h >>conftest.$ac_ext
18096 cat >>conftest.$ac_ext <<_ACEOF
18097 /* end confdefs.h. */
18098
18099 int
18100 main ()
18101 {
18102 /* FIXME: Include the comments suggested by Paul. */
18103 #ifndef __cplusplus
18104 /* Ultrix mips cc rejects this. */
18105 typedef int charset[2];
18106 const charset x;
18107 /* SunOS 4.1.1 cc rejects this. */
18108 char const *const *ccp;
18109 char **p;
18110 /* NEC SVR4.0.2 mips cc rejects this. */
18111 struct point {int x, y;};
18112 static struct point const zero = {0,0};
18113 /* AIX XL C 1.02.0.0 rejects this.
18114 It does not let you subtract one const X* pointer from another in
18115 an arm of an if-expression whose if-part is not a constant
18116 expression */
18117 const char *g = "string";
18118 ccp = &g + (g ? g-g : 0);
18119 /* HPUX 7.0 cc rejects these. */
18120 ++ccp;
18121 p = (char**) ccp;
18122 ccp = (char const *const *) p;
18123 { /* SCO 3.2v4 cc rejects this. */
18124 char *t;
18125 char const *s = 0 ? (char *) 0 : (char const *) 0;
18126
18127 *t++ = 0;
18128 }
18129 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18130 int x[] = {25, 17};
18131 const int *foo = &x[0];
18132 ++foo;
18133 }
18134 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18135 typedef const int *iptr;
18136 iptr p = 0;
18137 ++p;
18138 }
18139 { /* AIX XL C 1.02.0.0 rejects this saying
18140 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18141 struct s { int j; const int *ap[3]; };
18142 struct s *b; b->j = 5;
18143 }
18144 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18145 const int foo = 10;
18146 }
18147 #endif
18148
18149 ;
18150 return 0;
18151 }
18152 _ACEOF
18153 rm -f conftest.$ac_objext
18154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18155 (eval $ac_compile) 2>conftest.er1
18156 ac_status=$?
18157 grep -v '^ *+' conftest.er1 >conftest.err
18158 rm -f conftest.er1
18159 cat conftest.err >&5
18160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18161 (exit $ac_status); } &&
18162 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18164 (eval $ac_try) 2>&5
18165 ac_status=$?
18166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18167 (exit $ac_status); }; } &&
18168 { ac_try='test -s conftest.$ac_objext'
18169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18170 (eval $ac_try) 2>&5
18171 ac_status=$?
18172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18173 (exit $ac_status); }; }; then
18174 ac_cv_c_const=yes
18175 else
18176 echo "$as_me: failed program was:" >&5
18177 sed 's/^/| /' conftest.$ac_ext >&5
18178
18179 ac_cv_c_const=no
18180 fi
18181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18182 fi
18183 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18184 echo "${ECHO_T}$ac_cv_c_const" >&6
18185 if test $ac_cv_c_const = no; then
18186
18187 cat >>confdefs.h <<\_ACEOF
18188 #define const
18189 _ACEOF
18190
18191 fi
18192
18193 echo "$as_me:$LINENO: checking for inline" >&5
18194 echo $ECHO_N "checking for inline... $ECHO_C" >&6
18195 if test "${ac_cv_c_inline+set}" = set; then
18196 echo $ECHO_N "(cached) $ECHO_C" >&6
18197 else
18198 ac_cv_c_inline=no
18199 for ac_kw in inline __inline__ __inline; do
18200 cat >conftest.$ac_ext <<_ACEOF
18201 /* confdefs.h. */
18202 _ACEOF
18203 cat confdefs.h >>conftest.$ac_ext
18204 cat >>conftest.$ac_ext <<_ACEOF
18205 /* end confdefs.h. */
18206 #ifndef __cplusplus
18207 typedef int foo_t;
18208 static $ac_kw foo_t static_foo () {return 0; }
18209 $ac_kw foo_t foo () {return 0; }
18210 #endif
18211
18212 _ACEOF
18213 rm -f conftest.$ac_objext
18214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18215 (eval $ac_compile) 2>conftest.er1
18216 ac_status=$?
18217 grep -v '^ *+' conftest.er1 >conftest.err
18218 rm -f conftest.er1
18219 cat conftest.err >&5
18220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18221 (exit $ac_status); } &&
18222 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18224 (eval $ac_try) 2>&5
18225 ac_status=$?
18226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18227 (exit $ac_status); }; } &&
18228 { ac_try='test -s conftest.$ac_objext'
18229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18230 (eval $ac_try) 2>&5
18231 ac_status=$?
18232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18233 (exit $ac_status); }; }; then
18234 ac_cv_c_inline=$ac_kw; break
18235 else
18236 echo "$as_me: failed program was:" >&5
18237 sed 's/^/| /' conftest.$ac_ext >&5
18238
18239 fi
18240 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18241 done
18242
18243 fi
18244 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18245 echo "${ECHO_T}$ac_cv_c_inline" >&6
18246
18247
18248 case $ac_cv_c_inline in
18249 inline | yes) ;;
18250 *)
18251 case $ac_cv_c_inline in
18252 no) ac_val=;;
18253 *) ac_val=$ac_cv_c_inline;;
18254 esac
18255 cat >>confdefs.h <<_ACEOF
18256 #ifndef __cplusplus
18257 #define inline $ac_val
18258 #endif
18259 _ACEOF
18260 ;;
18261 esac
18262
18263
18264 echo "$as_me:$LINENO: checking for char" >&5
18265 echo $ECHO_N "checking for char... $ECHO_C" >&6
18266 if test "${ac_cv_type_char+set}" = set; then
18267 echo $ECHO_N "(cached) $ECHO_C" >&6
18268 else
18269 cat >conftest.$ac_ext <<_ACEOF
18270 /* confdefs.h. */
18271 _ACEOF
18272 cat confdefs.h >>conftest.$ac_ext
18273 cat >>conftest.$ac_ext <<_ACEOF
18274 /* end confdefs.h. */
18275 $ac_includes_default
18276 int
18277 main ()
18278 {
18279 if ((char *) 0)
18280 return 0;
18281 if (sizeof (char))
18282 return 0;
18283 ;
18284 return 0;
18285 }
18286 _ACEOF
18287 rm -f conftest.$ac_objext
18288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18289 (eval $ac_compile) 2>conftest.er1
18290 ac_status=$?
18291 grep -v '^ *+' conftest.er1 >conftest.err
18292 rm -f conftest.er1
18293 cat conftest.err >&5
18294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18295 (exit $ac_status); } &&
18296 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18298 (eval $ac_try) 2>&5
18299 ac_status=$?
18300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18301 (exit $ac_status); }; } &&
18302 { ac_try='test -s conftest.$ac_objext'
18303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18304 (eval $ac_try) 2>&5
18305 ac_status=$?
18306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18307 (exit $ac_status); }; }; then
18308 ac_cv_type_char=yes
18309 else
18310 echo "$as_me: failed program was:" >&5
18311 sed 's/^/| /' conftest.$ac_ext >&5
18312
18313 ac_cv_type_char=no
18314 fi
18315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18316 fi
18317 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
18318 echo "${ECHO_T}$ac_cv_type_char" >&6
18319
18320 echo "$as_me:$LINENO: checking size of char" >&5
18321 echo $ECHO_N "checking size of char... $ECHO_C" >&6
18322 if test "${ac_cv_sizeof_char+set}" = set; then
18323 echo $ECHO_N "(cached) $ECHO_C" >&6
18324 else
18325 if test "$ac_cv_type_char" = yes; then
18326 # The cast to unsigned long works around a bug in the HP C Compiler
18327 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18328 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18329 # This bug is HP SR number 8606223364.
18330 if test "$cross_compiling" = yes; then
18331 # Depending upon the size, compute the lo and hi bounds.
18332 cat >conftest.$ac_ext <<_ACEOF
18333 /* confdefs.h. */
18334 _ACEOF
18335 cat confdefs.h >>conftest.$ac_ext
18336 cat >>conftest.$ac_ext <<_ACEOF
18337 /* end confdefs.h. */
18338 $ac_includes_default
18339 int
18340 main ()
18341 {
18342 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
18343 test_array [0] = 0
18344
18345 ;
18346 return 0;
18347 }
18348 _ACEOF
18349 rm -f conftest.$ac_objext
18350 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18351 (eval $ac_compile) 2>conftest.er1
18352 ac_status=$?
18353 grep -v '^ *+' conftest.er1 >conftest.err
18354 rm -f conftest.er1
18355 cat conftest.err >&5
18356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18357 (exit $ac_status); } &&
18358 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18360 (eval $ac_try) 2>&5
18361 ac_status=$?
18362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18363 (exit $ac_status); }; } &&
18364 { ac_try='test -s conftest.$ac_objext'
18365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18366 (eval $ac_try) 2>&5
18367 ac_status=$?
18368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18369 (exit $ac_status); }; }; then
18370 ac_lo=0 ac_mid=0
18371 while :; do
18372 cat >conftest.$ac_ext <<_ACEOF
18373 /* confdefs.h. */
18374 _ACEOF
18375 cat confdefs.h >>conftest.$ac_ext
18376 cat >>conftest.$ac_ext <<_ACEOF
18377 /* end confdefs.h. */
18378 $ac_includes_default
18379 int
18380 main ()
18381 {
18382 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18383 test_array [0] = 0
18384
18385 ;
18386 return 0;
18387 }
18388 _ACEOF
18389 rm -f conftest.$ac_objext
18390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18391 (eval $ac_compile) 2>conftest.er1
18392 ac_status=$?
18393 grep -v '^ *+' conftest.er1 >conftest.err
18394 rm -f conftest.er1
18395 cat conftest.err >&5
18396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18397 (exit $ac_status); } &&
18398 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18400 (eval $ac_try) 2>&5
18401 ac_status=$?
18402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18403 (exit $ac_status); }; } &&
18404 { ac_try='test -s conftest.$ac_objext'
18405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18406 (eval $ac_try) 2>&5
18407 ac_status=$?
18408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18409 (exit $ac_status); }; }; then
18410 ac_hi=$ac_mid; break
18411 else
18412 echo "$as_me: failed program was:" >&5
18413 sed 's/^/| /' conftest.$ac_ext >&5
18414
18415 ac_lo=`expr $ac_mid + 1`
18416 if test $ac_lo -le $ac_mid; then
18417 ac_lo= ac_hi=
18418 break
18419 fi
18420 ac_mid=`expr 2 '*' $ac_mid + 1`
18421 fi
18422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18423 done
18424 else
18425 echo "$as_me: failed program was:" >&5
18426 sed 's/^/| /' conftest.$ac_ext >&5
18427
18428 cat >conftest.$ac_ext <<_ACEOF
18429 /* confdefs.h. */
18430 _ACEOF
18431 cat confdefs.h >>conftest.$ac_ext
18432 cat >>conftest.$ac_ext <<_ACEOF
18433 /* end confdefs.h. */
18434 $ac_includes_default
18435 int
18436 main ()
18437 {
18438 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18439 test_array [0] = 0
18440
18441 ;
18442 return 0;
18443 }
18444 _ACEOF
18445 rm -f conftest.$ac_objext
18446 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18447 (eval $ac_compile) 2>conftest.er1
18448 ac_status=$?
18449 grep -v '^ *+' conftest.er1 >conftest.err
18450 rm -f conftest.er1
18451 cat conftest.err >&5
18452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18453 (exit $ac_status); } &&
18454 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18456 (eval $ac_try) 2>&5
18457 ac_status=$?
18458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18459 (exit $ac_status); }; } &&
18460 { ac_try='test -s conftest.$ac_objext'
18461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18462 (eval $ac_try) 2>&5
18463 ac_status=$?
18464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18465 (exit $ac_status); }; }; then
18466 ac_hi=-1 ac_mid=-1
18467 while :; do
18468 cat >conftest.$ac_ext <<_ACEOF
18469 /* confdefs.h. */
18470 _ACEOF
18471 cat confdefs.h >>conftest.$ac_ext
18472 cat >>conftest.$ac_ext <<_ACEOF
18473 /* end confdefs.h. */
18474 $ac_includes_default
18475 int
18476 main ()
18477 {
18478 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18479 test_array [0] = 0
18480
18481 ;
18482 return 0;
18483 }
18484 _ACEOF
18485 rm -f conftest.$ac_objext
18486 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18487 (eval $ac_compile) 2>conftest.er1
18488 ac_status=$?
18489 grep -v '^ *+' conftest.er1 >conftest.err
18490 rm -f conftest.er1
18491 cat conftest.err >&5
18492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18493 (exit $ac_status); } &&
18494 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18496 (eval $ac_try) 2>&5
18497 ac_status=$?
18498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18499 (exit $ac_status); }; } &&
18500 { ac_try='test -s conftest.$ac_objext'
18501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18502 (eval $ac_try) 2>&5
18503 ac_status=$?
18504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18505 (exit $ac_status); }; }; then
18506 ac_lo=$ac_mid; break
18507 else
18508 echo "$as_me: failed program was:" >&5
18509 sed 's/^/| /' conftest.$ac_ext >&5
18510
18511 ac_hi=`expr '(' $ac_mid ')' - 1`
18512 if test $ac_mid -le $ac_hi; then
18513 ac_lo= ac_hi=
18514 break
18515 fi
18516 ac_mid=`expr 2 '*' $ac_mid`
18517 fi
18518 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18519 done
18520 else
18521 echo "$as_me: failed program was:" >&5
18522 sed 's/^/| /' conftest.$ac_ext >&5
18523
18524 ac_lo= ac_hi=
18525 fi
18526 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18527 fi
18528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18529 # Binary search between lo and hi bounds.
18530 while test "x$ac_lo" != "x$ac_hi"; do
18531 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18532 cat >conftest.$ac_ext <<_ACEOF
18533 /* confdefs.h. */
18534 _ACEOF
18535 cat confdefs.h >>conftest.$ac_ext
18536 cat >>conftest.$ac_ext <<_ACEOF
18537 /* end confdefs.h. */
18538 $ac_includes_default
18539 int
18540 main ()
18541 {
18542 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18543 test_array [0] = 0
18544
18545 ;
18546 return 0;
18547 }
18548 _ACEOF
18549 rm -f conftest.$ac_objext
18550 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18551 (eval $ac_compile) 2>conftest.er1
18552 ac_status=$?
18553 grep -v '^ *+' conftest.er1 >conftest.err
18554 rm -f conftest.er1
18555 cat conftest.err >&5
18556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18557 (exit $ac_status); } &&
18558 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18560 (eval $ac_try) 2>&5
18561 ac_status=$?
18562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18563 (exit $ac_status); }; } &&
18564 { ac_try='test -s conftest.$ac_objext'
18565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18566 (eval $ac_try) 2>&5
18567 ac_status=$?
18568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18569 (exit $ac_status); }; }; then
18570 ac_hi=$ac_mid
18571 else
18572 echo "$as_me: failed program was:" >&5
18573 sed 's/^/| /' conftest.$ac_ext >&5
18574
18575 ac_lo=`expr '(' $ac_mid ')' + 1`
18576 fi
18577 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18578 done
18579 case $ac_lo in
18580 ?*) ac_cv_sizeof_char=$ac_lo;;
18581 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18582 See \`config.log' for more details." >&5
18583 echo "$as_me: error: cannot compute sizeof (char), 77
18584 See \`config.log' for more details." >&2;}
18585 { (exit 1); exit 1; }; } ;;
18586 esac
18587 else
18588 if test "$cross_compiling" = yes; then
18589 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18590 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18591 { (exit 1); exit 1; }; }
18592 else
18593 cat >conftest.$ac_ext <<_ACEOF
18594 /* confdefs.h. */
18595 _ACEOF
18596 cat confdefs.h >>conftest.$ac_ext
18597 cat >>conftest.$ac_ext <<_ACEOF
18598 /* end confdefs.h. */
18599 $ac_includes_default
18600 long longval () { return (long) (sizeof (char)); }
18601 unsigned long ulongval () { return (long) (sizeof (char)); }
18602 #include <stdio.h>
18603 #include <stdlib.h>
18604 int
18605 main ()
18606 {
18607
18608 FILE *f = fopen ("conftest.val", "w");
18609 if (! f)
18610 exit (1);
18611 if (((long) (sizeof (char))) < 0)
18612 {
18613 long i = longval ();
18614 if (i != ((long) (sizeof (char))))
18615 exit (1);
18616 fprintf (f, "%ld\n", i);
18617 }
18618 else
18619 {
18620 unsigned long i = ulongval ();
18621 if (i != ((long) (sizeof (char))))
18622 exit (1);
18623 fprintf (f, "%lu\n", i);
18624 }
18625 exit (ferror (f) || fclose (f) != 0);
18626
18627 ;
18628 return 0;
18629 }
18630 _ACEOF
18631 rm -f conftest$ac_exeext
18632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18633 (eval $ac_link) 2>&5
18634 ac_status=$?
18635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18636 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18638 (eval $ac_try) 2>&5
18639 ac_status=$?
18640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18641 (exit $ac_status); }; }; then
18642 ac_cv_sizeof_char=`cat conftest.val`
18643 else
18644 echo "$as_me: program exited with status $ac_status" >&5
18645 echo "$as_me: failed program was:" >&5
18646 sed 's/^/| /' conftest.$ac_ext >&5
18647
18648 ( exit $ac_status )
18649 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18650 See \`config.log' for more details." >&5
18651 echo "$as_me: error: cannot compute sizeof (char), 77
18652 See \`config.log' for more details." >&2;}
18653 { (exit 1); exit 1; }; }
18654 fi
18655 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18656 fi
18657 fi
18658 rm -f conftest.val
18659 else
18660 ac_cv_sizeof_char=0
18661 fi
18662 fi
18663 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18664 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18665 cat >>confdefs.h <<_ACEOF
18666 #define SIZEOF_CHAR $ac_cv_sizeof_char
18667 _ACEOF
18668
18669
18670 echo "$as_me:$LINENO: checking for short" >&5
18671 echo $ECHO_N "checking for short... $ECHO_C" >&6
18672 if test "${ac_cv_type_short+set}" = set; then
18673 echo $ECHO_N "(cached) $ECHO_C" >&6
18674 else
18675 cat >conftest.$ac_ext <<_ACEOF
18676 /* confdefs.h. */
18677 _ACEOF
18678 cat confdefs.h >>conftest.$ac_ext
18679 cat >>conftest.$ac_ext <<_ACEOF
18680 /* end confdefs.h. */
18681 $ac_includes_default
18682 int
18683 main ()
18684 {
18685 if ((short *) 0)
18686 return 0;
18687 if (sizeof (short))
18688 return 0;
18689 ;
18690 return 0;
18691 }
18692 _ACEOF
18693 rm -f conftest.$ac_objext
18694 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18695 (eval $ac_compile) 2>conftest.er1
18696 ac_status=$?
18697 grep -v '^ *+' conftest.er1 >conftest.err
18698 rm -f conftest.er1
18699 cat conftest.err >&5
18700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18701 (exit $ac_status); } &&
18702 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18704 (eval $ac_try) 2>&5
18705 ac_status=$?
18706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18707 (exit $ac_status); }; } &&
18708 { ac_try='test -s conftest.$ac_objext'
18709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18710 (eval $ac_try) 2>&5
18711 ac_status=$?
18712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18713 (exit $ac_status); }; }; then
18714 ac_cv_type_short=yes
18715 else
18716 echo "$as_me: failed program was:" >&5
18717 sed 's/^/| /' conftest.$ac_ext >&5
18718
18719 ac_cv_type_short=no
18720 fi
18721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18722 fi
18723 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18724 echo "${ECHO_T}$ac_cv_type_short" >&6
18725
18726 echo "$as_me:$LINENO: checking size of short" >&5
18727 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18728 if test "${ac_cv_sizeof_short+set}" = set; then
18729 echo $ECHO_N "(cached) $ECHO_C" >&6
18730 else
18731 if test "$ac_cv_type_short" = yes; then
18732 # The cast to unsigned long works around a bug in the HP C Compiler
18733 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18734 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18735 # This bug is HP SR number 8606223364.
18736 if test "$cross_compiling" = yes; then
18737 # Depending upon the size, compute the lo and hi bounds.
18738 cat >conftest.$ac_ext <<_ACEOF
18739 /* confdefs.h. */
18740 _ACEOF
18741 cat confdefs.h >>conftest.$ac_ext
18742 cat >>conftest.$ac_ext <<_ACEOF
18743 /* end confdefs.h. */
18744 $ac_includes_default
18745 int
18746 main ()
18747 {
18748 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18749 test_array [0] = 0
18750
18751 ;
18752 return 0;
18753 }
18754 _ACEOF
18755 rm -f conftest.$ac_objext
18756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18757 (eval $ac_compile) 2>conftest.er1
18758 ac_status=$?
18759 grep -v '^ *+' conftest.er1 >conftest.err
18760 rm -f conftest.er1
18761 cat conftest.err >&5
18762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18763 (exit $ac_status); } &&
18764 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18766 (eval $ac_try) 2>&5
18767 ac_status=$?
18768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18769 (exit $ac_status); }; } &&
18770 { ac_try='test -s conftest.$ac_objext'
18771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18772 (eval $ac_try) 2>&5
18773 ac_status=$?
18774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18775 (exit $ac_status); }; }; then
18776 ac_lo=0 ac_mid=0
18777 while :; do
18778 cat >conftest.$ac_ext <<_ACEOF
18779 /* confdefs.h. */
18780 _ACEOF
18781 cat confdefs.h >>conftest.$ac_ext
18782 cat >>conftest.$ac_ext <<_ACEOF
18783 /* end confdefs.h. */
18784 $ac_includes_default
18785 int
18786 main ()
18787 {
18788 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18789 test_array [0] = 0
18790
18791 ;
18792 return 0;
18793 }
18794 _ACEOF
18795 rm -f conftest.$ac_objext
18796 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18797 (eval $ac_compile) 2>conftest.er1
18798 ac_status=$?
18799 grep -v '^ *+' conftest.er1 >conftest.err
18800 rm -f conftest.er1
18801 cat conftest.err >&5
18802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18803 (exit $ac_status); } &&
18804 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18806 (eval $ac_try) 2>&5
18807 ac_status=$?
18808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18809 (exit $ac_status); }; } &&
18810 { ac_try='test -s conftest.$ac_objext'
18811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18812 (eval $ac_try) 2>&5
18813 ac_status=$?
18814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18815 (exit $ac_status); }; }; then
18816 ac_hi=$ac_mid; break
18817 else
18818 echo "$as_me: failed program was:" >&5
18819 sed 's/^/| /' conftest.$ac_ext >&5
18820
18821 ac_lo=`expr $ac_mid + 1`
18822 if test $ac_lo -le $ac_mid; then
18823 ac_lo= ac_hi=
18824 break
18825 fi
18826 ac_mid=`expr 2 '*' $ac_mid + 1`
18827 fi
18828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18829 done
18830 else
18831 echo "$as_me: failed program was:" >&5
18832 sed 's/^/| /' conftest.$ac_ext >&5
18833
18834 cat >conftest.$ac_ext <<_ACEOF
18835 /* confdefs.h. */
18836 _ACEOF
18837 cat confdefs.h >>conftest.$ac_ext
18838 cat >>conftest.$ac_ext <<_ACEOF
18839 /* end confdefs.h. */
18840 $ac_includes_default
18841 int
18842 main ()
18843 {
18844 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18845 test_array [0] = 0
18846
18847 ;
18848 return 0;
18849 }
18850 _ACEOF
18851 rm -f conftest.$ac_objext
18852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18853 (eval $ac_compile) 2>conftest.er1
18854 ac_status=$?
18855 grep -v '^ *+' conftest.er1 >conftest.err
18856 rm -f conftest.er1
18857 cat conftest.err >&5
18858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18859 (exit $ac_status); } &&
18860 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18862 (eval $ac_try) 2>&5
18863 ac_status=$?
18864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18865 (exit $ac_status); }; } &&
18866 { ac_try='test -s conftest.$ac_objext'
18867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18868 (eval $ac_try) 2>&5
18869 ac_status=$?
18870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18871 (exit $ac_status); }; }; then
18872 ac_hi=-1 ac_mid=-1
18873 while :; do
18874 cat >conftest.$ac_ext <<_ACEOF
18875 /* confdefs.h. */
18876 _ACEOF
18877 cat confdefs.h >>conftest.$ac_ext
18878 cat >>conftest.$ac_ext <<_ACEOF
18879 /* end confdefs.h. */
18880 $ac_includes_default
18881 int
18882 main ()
18883 {
18884 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18885 test_array [0] = 0
18886
18887 ;
18888 return 0;
18889 }
18890 _ACEOF
18891 rm -f conftest.$ac_objext
18892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18893 (eval $ac_compile) 2>conftest.er1
18894 ac_status=$?
18895 grep -v '^ *+' conftest.er1 >conftest.err
18896 rm -f conftest.er1
18897 cat conftest.err >&5
18898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18899 (exit $ac_status); } &&
18900 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18902 (eval $ac_try) 2>&5
18903 ac_status=$?
18904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18905 (exit $ac_status); }; } &&
18906 { ac_try='test -s conftest.$ac_objext'
18907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18908 (eval $ac_try) 2>&5
18909 ac_status=$?
18910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18911 (exit $ac_status); }; }; then
18912 ac_lo=$ac_mid; break
18913 else
18914 echo "$as_me: failed program was:" >&5
18915 sed 's/^/| /' conftest.$ac_ext >&5
18916
18917 ac_hi=`expr '(' $ac_mid ')' - 1`
18918 if test $ac_mid -le $ac_hi; then
18919 ac_lo= ac_hi=
18920 break
18921 fi
18922 ac_mid=`expr 2 '*' $ac_mid`
18923 fi
18924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18925 done
18926 else
18927 echo "$as_me: failed program was:" >&5
18928 sed 's/^/| /' conftest.$ac_ext >&5
18929
18930 ac_lo= ac_hi=
18931 fi
18932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18933 fi
18934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18935 # Binary search between lo and hi bounds.
18936 while test "x$ac_lo" != "x$ac_hi"; do
18937 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18938 cat >conftest.$ac_ext <<_ACEOF
18939 /* confdefs.h. */
18940 _ACEOF
18941 cat confdefs.h >>conftest.$ac_ext
18942 cat >>conftest.$ac_ext <<_ACEOF
18943 /* end confdefs.h. */
18944 $ac_includes_default
18945 int
18946 main ()
18947 {
18948 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18949 test_array [0] = 0
18950
18951 ;
18952 return 0;
18953 }
18954 _ACEOF
18955 rm -f conftest.$ac_objext
18956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18957 (eval $ac_compile) 2>conftest.er1
18958 ac_status=$?
18959 grep -v '^ *+' conftest.er1 >conftest.err
18960 rm -f conftest.er1
18961 cat conftest.err >&5
18962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18963 (exit $ac_status); } &&
18964 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18966 (eval $ac_try) 2>&5
18967 ac_status=$?
18968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18969 (exit $ac_status); }; } &&
18970 { ac_try='test -s conftest.$ac_objext'
18971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18972 (eval $ac_try) 2>&5
18973 ac_status=$?
18974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18975 (exit $ac_status); }; }; then
18976 ac_hi=$ac_mid
18977 else
18978 echo "$as_me: failed program was:" >&5
18979 sed 's/^/| /' conftest.$ac_ext >&5
18980
18981 ac_lo=`expr '(' $ac_mid ')' + 1`
18982 fi
18983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18984 done
18985 case $ac_lo in
18986 ?*) ac_cv_sizeof_short=$ac_lo;;
18987 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18988 See \`config.log' for more details." >&5
18989 echo "$as_me: error: cannot compute sizeof (short), 77
18990 See \`config.log' for more details." >&2;}
18991 { (exit 1); exit 1; }; } ;;
18992 esac
18993 else
18994 if test "$cross_compiling" = yes; then
18995 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18996 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18997 { (exit 1); exit 1; }; }
18998 else
18999 cat >conftest.$ac_ext <<_ACEOF
19000 /* confdefs.h. */
19001 _ACEOF
19002 cat confdefs.h >>conftest.$ac_ext
19003 cat >>conftest.$ac_ext <<_ACEOF
19004 /* end confdefs.h. */
19005 $ac_includes_default
19006 long longval () { return (long) (sizeof (short)); }
19007 unsigned long ulongval () { return (long) (sizeof (short)); }
19008 #include <stdio.h>
19009 #include <stdlib.h>
19010 int
19011 main ()
19012 {
19013
19014 FILE *f = fopen ("conftest.val", "w");
19015 if (! f)
19016 exit (1);
19017 if (((long) (sizeof (short))) < 0)
19018 {
19019 long i = longval ();
19020 if (i != ((long) (sizeof (short))))
19021 exit (1);
19022 fprintf (f, "%ld\n", i);
19023 }
19024 else
19025 {
19026 unsigned long i = ulongval ();
19027 if (i != ((long) (sizeof (short))))
19028 exit (1);
19029 fprintf (f, "%lu\n", i);
19030 }
19031 exit (ferror (f) || fclose (f) != 0);
19032
19033 ;
19034 return 0;
19035 }
19036 _ACEOF
19037 rm -f conftest$ac_exeext
19038 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19039 (eval $ac_link) 2>&5
19040 ac_status=$?
19041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19042 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19044 (eval $ac_try) 2>&5
19045 ac_status=$?
19046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19047 (exit $ac_status); }; }; then
19048 ac_cv_sizeof_short=`cat conftest.val`
19049 else
19050 echo "$as_me: program exited with status $ac_status" >&5
19051 echo "$as_me: failed program was:" >&5
19052 sed 's/^/| /' conftest.$ac_ext >&5
19053
19054 ( exit $ac_status )
19055 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
19056 See \`config.log' for more details." >&5
19057 echo "$as_me: error: cannot compute sizeof (short), 77
19058 See \`config.log' for more details." >&2;}
19059 { (exit 1); exit 1; }; }
19060 fi
19061 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19062 fi
19063 fi
19064 rm -f conftest.val
19065 else
19066 ac_cv_sizeof_short=0
19067 fi
19068 fi
19069 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19070 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
19071 cat >>confdefs.h <<_ACEOF
19072 #define SIZEOF_SHORT $ac_cv_sizeof_short
19073 _ACEOF
19074
19075
19076 echo "$as_me:$LINENO: checking for void *" >&5
19077 echo $ECHO_N "checking for void *... $ECHO_C" >&6
19078 if test "${ac_cv_type_void_p+set}" = set; then
19079 echo $ECHO_N "(cached) $ECHO_C" >&6
19080 else
19081 cat >conftest.$ac_ext <<_ACEOF
19082 /* confdefs.h. */
19083 _ACEOF
19084 cat confdefs.h >>conftest.$ac_ext
19085 cat >>conftest.$ac_ext <<_ACEOF
19086 /* end confdefs.h. */
19087 $ac_includes_default
19088 int
19089 main ()
19090 {
19091 if ((void * *) 0)
19092 return 0;
19093 if (sizeof (void *))
19094 return 0;
19095 ;
19096 return 0;
19097 }
19098 _ACEOF
19099 rm -f conftest.$ac_objext
19100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19101 (eval $ac_compile) 2>conftest.er1
19102 ac_status=$?
19103 grep -v '^ *+' conftest.er1 >conftest.err
19104 rm -f conftest.er1
19105 cat conftest.err >&5
19106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19107 (exit $ac_status); } &&
19108 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19110 (eval $ac_try) 2>&5
19111 ac_status=$?
19112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19113 (exit $ac_status); }; } &&
19114 { ac_try='test -s conftest.$ac_objext'
19115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19116 (eval $ac_try) 2>&5
19117 ac_status=$?
19118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19119 (exit $ac_status); }; }; then
19120 ac_cv_type_void_p=yes
19121 else
19122 echo "$as_me: failed program was:" >&5
19123 sed 's/^/| /' conftest.$ac_ext >&5
19124
19125 ac_cv_type_void_p=no
19126 fi
19127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19128 fi
19129 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19130 echo "${ECHO_T}$ac_cv_type_void_p" >&6
19131
19132 echo "$as_me:$LINENO: checking size of void *" >&5
19133 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
19134 if test "${ac_cv_sizeof_void_p+set}" = set; then
19135 echo $ECHO_N "(cached) $ECHO_C" >&6
19136 else
19137 if test "$ac_cv_type_void_p" = yes; then
19138 # The cast to unsigned long works around a bug in the HP C Compiler
19139 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19140 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19141 # This bug is HP SR number 8606223364.
19142 if test "$cross_compiling" = yes; then
19143 # Depending upon the size, compute the lo and hi bounds.
19144 cat >conftest.$ac_ext <<_ACEOF
19145 /* confdefs.h. */
19146 _ACEOF
19147 cat confdefs.h >>conftest.$ac_ext
19148 cat >>conftest.$ac_ext <<_ACEOF
19149 /* end confdefs.h. */
19150 $ac_includes_default
19151 int
19152 main ()
19153 {
19154 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
19155 test_array [0] = 0
19156
19157 ;
19158 return 0;
19159 }
19160 _ACEOF
19161 rm -f conftest.$ac_objext
19162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19163 (eval $ac_compile) 2>conftest.er1
19164 ac_status=$?
19165 grep -v '^ *+' conftest.er1 >conftest.err
19166 rm -f conftest.er1
19167 cat conftest.err >&5
19168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19169 (exit $ac_status); } &&
19170 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19172 (eval $ac_try) 2>&5
19173 ac_status=$?
19174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19175 (exit $ac_status); }; } &&
19176 { ac_try='test -s conftest.$ac_objext'
19177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19178 (eval $ac_try) 2>&5
19179 ac_status=$?
19180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19181 (exit $ac_status); }; }; then
19182 ac_lo=0 ac_mid=0
19183 while :; do
19184 cat >conftest.$ac_ext <<_ACEOF
19185 /* confdefs.h. */
19186 _ACEOF
19187 cat confdefs.h >>conftest.$ac_ext
19188 cat >>conftest.$ac_ext <<_ACEOF
19189 /* end confdefs.h. */
19190 $ac_includes_default
19191 int
19192 main ()
19193 {
19194 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19195 test_array [0] = 0
19196
19197 ;
19198 return 0;
19199 }
19200 _ACEOF
19201 rm -f conftest.$ac_objext
19202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19203 (eval $ac_compile) 2>conftest.er1
19204 ac_status=$?
19205 grep -v '^ *+' conftest.er1 >conftest.err
19206 rm -f conftest.er1
19207 cat conftest.err >&5
19208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19209 (exit $ac_status); } &&
19210 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19212 (eval $ac_try) 2>&5
19213 ac_status=$?
19214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19215 (exit $ac_status); }; } &&
19216 { ac_try='test -s conftest.$ac_objext'
19217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19218 (eval $ac_try) 2>&5
19219 ac_status=$?
19220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19221 (exit $ac_status); }; }; then
19222 ac_hi=$ac_mid; break
19223 else
19224 echo "$as_me: failed program was:" >&5
19225 sed 's/^/| /' conftest.$ac_ext >&5
19226
19227 ac_lo=`expr $ac_mid + 1`
19228 if test $ac_lo -le $ac_mid; then
19229 ac_lo= ac_hi=
19230 break
19231 fi
19232 ac_mid=`expr 2 '*' $ac_mid + 1`
19233 fi
19234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19235 done
19236 else
19237 echo "$as_me: failed program was:" >&5
19238 sed 's/^/| /' conftest.$ac_ext >&5
19239
19240 cat >conftest.$ac_ext <<_ACEOF
19241 /* confdefs.h. */
19242 _ACEOF
19243 cat confdefs.h >>conftest.$ac_ext
19244 cat >>conftest.$ac_ext <<_ACEOF
19245 /* end confdefs.h. */
19246 $ac_includes_default
19247 int
19248 main ()
19249 {
19250 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
19251 test_array [0] = 0
19252
19253 ;
19254 return 0;
19255 }
19256 _ACEOF
19257 rm -f conftest.$ac_objext
19258 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19259 (eval $ac_compile) 2>conftest.er1
19260 ac_status=$?
19261 grep -v '^ *+' conftest.er1 >conftest.err
19262 rm -f conftest.er1
19263 cat conftest.err >&5
19264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19265 (exit $ac_status); } &&
19266 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19268 (eval $ac_try) 2>&5
19269 ac_status=$?
19270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19271 (exit $ac_status); }; } &&
19272 { ac_try='test -s conftest.$ac_objext'
19273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19274 (eval $ac_try) 2>&5
19275 ac_status=$?
19276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19277 (exit $ac_status); }; }; then
19278 ac_hi=-1 ac_mid=-1
19279 while :; do
19280 cat >conftest.$ac_ext <<_ACEOF
19281 /* confdefs.h. */
19282 _ACEOF
19283 cat confdefs.h >>conftest.$ac_ext
19284 cat >>conftest.$ac_ext <<_ACEOF
19285 /* end confdefs.h. */
19286 $ac_includes_default
19287 int
19288 main ()
19289 {
19290 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
19291 test_array [0] = 0
19292
19293 ;
19294 return 0;
19295 }
19296 _ACEOF
19297 rm -f conftest.$ac_objext
19298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19299 (eval $ac_compile) 2>conftest.er1
19300 ac_status=$?
19301 grep -v '^ *+' conftest.er1 >conftest.err
19302 rm -f conftest.er1
19303 cat conftest.err >&5
19304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19305 (exit $ac_status); } &&
19306 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19308 (eval $ac_try) 2>&5
19309 ac_status=$?
19310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19311 (exit $ac_status); }; } &&
19312 { ac_try='test -s conftest.$ac_objext'
19313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19314 (eval $ac_try) 2>&5
19315 ac_status=$?
19316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19317 (exit $ac_status); }; }; then
19318 ac_lo=$ac_mid; break
19319 else
19320 echo "$as_me: failed program was:" >&5
19321 sed 's/^/| /' conftest.$ac_ext >&5
19322
19323 ac_hi=`expr '(' $ac_mid ')' - 1`
19324 if test $ac_mid -le $ac_hi; then
19325 ac_lo= ac_hi=
19326 break
19327 fi
19328 ac_mid=`expr 2 '*' $ac_mid`
19329 fi
19330 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19331 done
19332 else
19333 echo "$as_me: failed program was:" >&5
19334 sed 's/^/| /' conftest.$ac_ext >&5
19335
19336 ac_lo= ac_hi=
19337 fi
19338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19339 fi
19340 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19341 # Binary search between lo and hi bounds.
19342 while test "x$ac_lo" != "x$ac_hi"; do
19343 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19344 cat >conftest.$ac_ext <<_ACEOF
19345 /* confdefs.h. */
19346 _ACEOF
19347 cat confdefs.h >>conftest.$ac_ext
19348 cat >>conftest.$ac_ext <<_ACEOF
19349 /* end confdefs.h. */
19350 $ac_includes_default
19351 int
19352 main ()
19353 {
19354 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19355 test_array [0] = 0
19356
19357 ;
19358 return 0;
19359 }
19360 _ACEOF
19361 rm -f conftest.$ac_objext
19362 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19363 (eval $ac_compile) 2>conftest.er1
19364 ac_status=$?
19365 grep -v '^ *+' conftest.er1 >conftest.err
19366 rm -f conftest.er1
19367 cat conftest.err >&5
19368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19369 (exit $ac_status); } &&
19370 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19372 (eval $ac_try) 2>&5
19373 ac_status=$?
19374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19375 (exit $ac_status); }; } &&
19376 { ac_try='test -s conftest.$ac_objext'
19377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19378 (eval $ac_try) 2>&5
19379 ac_status=$?
19380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19381 (exit $ac_status); }; }; then
19382 ac_hi=$ac_mid
19383 else
19384 echo "$as_me: failed program was:" >&5
19385 sed 's/^/| /' conftest.$ac_ext >&5
19386
19387 ac_lo=`expr '(' $ac_mid ')' + 1`
19388 fi
19389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19390 done
19391 case $ac_lo in
19392 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19393 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19394 See \`config.log' for more details." >&5
19395 echo "$as_me: error: cannot compute sizeof (void *), 77
19396 See \`config.log' for more details." >&2;}
19397 { (exit 1); exit 1; }; } ;;
19398 esac
19399 else
19400 if test "$cross_compiling" = yes; then
19401 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19402 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19403 { (exit 1); exit 1; }; }
19404 else
19405 cat >conftest.$ac_ext <<_ACEOF
19406 /* confdefs.h. */
19407 _ACEOF
19408 cat confdefs.h >>conftest.$ac_ext
19409 cat >>conftest.$ac_ext <<_ACEOF
19410 /* end confdefs.h. */
19411 $ac_includes_default
19412 long longval () { return (long) (sizeof (void *)); }
19413 unsigned long ulongval () { return (long) (sizeof (void *)); }
19414 #include <stdio.h>
19415 #include <stdlib.h>
19416 int
19417 main ()
19418 {
19419
19420 FILE *f = fopen ("conftest.val", "w");
19421 if (! f)
19422 exit (1);
19423 if (((long) (sizeof (void *))) < 0)
19424 {
19425 long i = longval ();
19426 if (i != ((long) (sizeof (void *))))
19427 exit (1);
19428 fprintf (f, "%ld\n", i);
19429 }
19430 else
19431 {
19432 unsigned long i = ulongval ();
19433 if (i != ((long) (sizeof (void *))))
19434 exit (1);
19435 fprintf (f, "%lu\n", i);
19436 }
19437 exit (ferror (f) || fclose (f) != 0);
19438
19439 ;
19440 return 0;
19441 }
19442 _ACEOF
19443 rm -f conftest$ac_exeext
19444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19445 (eval $ac_link) 2>&5
19446 ac_status=$?
19447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19448 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19450 (eval $ac_try) 2>&5
19451 ac_status=$?
19452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19453 (exit $ac_status); }; }; then
19454 ac_cv_sizeof_void_p=`cat conftest.val`
19455 else
19456 echo "$as_me: program exited with status $ac_status" >&5
19457 echo "$as_me: failed program was:" >&5
19458 sed 's/^/| /' conftest.$ac_ext >&5
19459
19460 ( exit $ac_status )
19461 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19462 See \`config.log' for more details." >&5
19463 echo "$as_me: error: cannot compute sizeof (void *), 77
19464 See \`config.log' for more details." >&2;}
19465 { (exit 1); exit 1; }; }
19466 fi
19467 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19468 fi
19469 fi
19470 rm -f conftest.val
19471 else
19472 ac_cv_sizeof_void_p=0
19473 fi
19474 fi
19475 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19476 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
19477 cat >>confdefs.h <<_ACEOF
19478 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19479 _ACEOF
19480
19481
19482 echo "$as_me:$LINENO: checking for int" >&5
19483 echo $ECHO_N "checking for int... $ECHO_C" >&6
19484 if test "${ac_cv_type_int+set}" = set; then
19485 echo $ECHO_N "(cached) $ECHO_C" >&6
19486 else
19487 cat >conftest.$ac_ext <<_ACEOF
19488 /* confdefs.h. */
19489 _ACEOF
19490 cat confdefs.h >>conftest.$ac_ext
19491 cat >>conftest.$ac_ext <<_ACEOF
19492 /* end confdefs.h. */
19493 $ac_includes_default
19494 int
19495 main ()
19496 {
19497 if ((int *) 0)
19498 return 0;
19499 if (sizeof (int))
19500 return 0;
19501 ;
19502 return 0;
19503 }
19504 _ACEOF
19505 rm -f conftest.$ac_objext
19506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19507 (eval $ac_compile) 2>conftest.er1
19508 ac_status=$?
19509 grep -v '^ *+' conftest.er1 >conftest.err
19510 rm -f conftest.er1
19511 cat conftest.err >&5
19512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19513 (exit $ac_status); } &&
19514 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19516 (eval $ac_try) 2>&5
19517 ac_status=$?
19518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19519 (exit $ac_status); }; } &&
19520 { ac_try='test -s conftest.$ac_objext'
19521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19522 (eval $ac_try) 2>&5
19523 ac_status=$?
19524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19525 (exit $ac_status); }; }; then
19526 ac_cv_type_int=yes
19527 else
19528 echo "$as_me: failed program was:" >&5
19529 sed 's/^/| /' conftest.$ac_ext >&5
19530
19531 ac_cv_type_int=no
19532 fi
19533 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19534 fi
19535 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19536 echo "${ECHO_T}$ac_cv_type_int" >&6
19537
19538 echo "$as_me:$LINENO: checking size of int" >&5
19539 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19540 if test "${ac_cv_sizeof_int+set}" = set; then
19541 echo $ECHO_N "(cached) $ECHO_C" >&6
19542 else
19543 if test "$ac_cv_type_int" = yes; then
19544 # The cast to unsigned long works around a bug in the HP C Compiler
19545 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19546 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19547 # This bug is HP SR number 8606223364.
19548 if test "$cross_compiling" = yes; then
19549 # Depending upon the size, compute the lo and hi bounds.
19550 cat >conftest.$ac_ext <<_ACEOF
19551 /* confdefs.h. */
19552 _ACEOF
19553 cat confdefs.h >>conftest.$ac_ext
19554 cat >>conftest.$ac_ext <<_ACEOF
19555 /* end confdefs.h. */
19556 $ac_includes_default
19557 int
19558 main ()
19559 {
19560 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19561 test_array [0] = 0
19562
19563 ;
19564 return 0;
19565 }
19566 _ACEOF
19567 rm -f conftest.$ac_objext
19568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19569 (eval $ac_compile) 2>conftest.er1
19570 ac_status=$?
19571 grep -v '^ *+' conftest.er1 >conftest.err
19572 rm -f conftest.er1
19573 cat conftest.err >&5
19574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19575 (exit $ac_status); } &&
19576 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19578 (eval $ac_try) 2>&5
19579 ac_status=$?
19580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19581 (exit $ac_status); }; } &&
19582 { ac_try='test -s conftest.$ac_objext'
19583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19584 (eval $ac_try) 2>&5
19585 ac_status=$?
19586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19587 (exit $ac_status); }; }; then
19588 ac_lo=0 ac_mid=0
19589 while :; do
19590 cat >conftest.$ac_ext <<_ACEOF
19591 /* confdefs.h. */
19592 _ACEOF
19593 cat confdefs.h >>conftest.$ac_ext
19594 cat >>conftest.$ac_ext <<_ACEOF
19595 /* end confdefs.h. */
19596 $ac_includes_default
19597 int
19598 main ()
19599 {
19600 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19601 test_array [0] = 0
19602
19603 ;
19604 return 0;
19605 }
19606 _ACEOF
19607 rm -f conftest.$ac_objext
19608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19609 (eval $ac_compile) 2>conftest.er1
19610 ac_status=$?
19611 grep -v '^ *+' conftest.er1 >conftest.err
19612 rm -f conftest.er1
19613 cat conftest.err >&5
19614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19615 (exit $ac_status); } &&
19616 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19618 (eval $ac_try) 2>&5
19619 ac_status=$?
19620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19621 (exit $ac_status); }; } &&
19622 { ac_try='test -s conftest.$ac_objext'
19623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19624 (eval $ac_try) 2>&5
19625 ac_status=$?
19626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19627 (exit $ac_status); }; }; then
19628 ac_hi=$ac_mid; break
19629 else
19630 echo "$as_me: failed program was:" >&5
19631 sed 's/^/| /' conftest.$ac_ext >&5
19632
19633 ac_lo=`expr $ac_mid + 1`
19634 if test $ac_lo -le $ac_mid; then
19635 ac_lo= ac_hi=
19636 break
19637 fi
19638 ac_mid=`expr 2 '*' $ac_mid + 1`
19639 fi
19640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19641 done
19642 else
19643 echo "$as_me: failed program was:" >&5
19644 sed 's/^/| /' conftest.$ac_ext >&5
19645
19646 cat >conftest.$ac_ext <<_ACEOF
19647 /* confdefs.h. */
19648 _ACEOF
19649 cat confdefs.h >>conftest.$ac_ext
19650 cat >>conftest.$ac_ext <<_ACEOF
19651 /* end confdefs.h. */
19652 $ac_includes_default
19653 int
19654 main ()
19655 {
19656 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19657 test_array [0] = 0
19658
19659 ;
19660 return 0;
19661 }
19662 _ACEOF
19663 rm -f conftest.$ac_objext
19664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19665 (eval $ac_compile) 2>conftest.er1
19666 ac_status=$?
19667 grep -v '^ *+' conftest.er1 >conftest.err
19668 rm -f conftest.er1
19669 cat conftest.err >&5
19670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19671 (exit $ac_status); } &&
19672 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19674 (eval $ac_try) 2>&5
19675 ac_status=$?
19676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19677 (exit $ac_status); }; } &&
19678 { ac_try='test -s conftest.$ac_objext'
19679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19680 (eval $ac_try) 2>&5
19681 ac_status=$?
19682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19683 (exit $ac_status); }; }; then
19684 ac_hi=-1 ac_mid=-1
19685 while :; do
19686 cat >conftest.$ac_ext <<_ACEOF
19687 /* confdefs.h. */
19688 _ACEOF
19689 cat confdefs.h >>conftest.$ac_ext
19690 cat >>conftest.$ac_ext <<_ACEOF
19691 /* end confdefs.h. */
19692 $ac_includes_default
19693 int
19694 main ()
19695 {
19696 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19697 test_array [0] = 0
19698
19699 ;
19700 return 0;
19701 }
19702 _ACEOF
19703 rm -f conftest.$ac_objext
19704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19705 (eval $ac_compile) 2>conftest.er1
19706 ac_status=$?
19707 grep -v '^ *+' conftest.er1 >conftest.err
19708 rm -f conftest.er1
19709 cat conftest.err >&5
19710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19711 (exit $ac_status); } &&
19712 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19714 (eval $ac_try) 2>&5
19715 ac_status=$?
19716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19717 (exit $ac_status); }; } &&
19718 { ac_try='test -s conftest.$ac_objext'
19719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19720 (eval $ac_try) 2>&5
19721 ac_status=$?
19722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19723 (exit $ac_status); }; }; then
19724 ac_lo=$ac_mid; break
19725 else
19726 echo "$as_me: failed program was:" >&5
19727 sed 's/^/| /' conftest.$ac_ext >&5
19728
19729 ac_hi=`expr '(' $ac_mid ')' - 1`
19730 if test $ac_mid -le $ac_hi; then
19731 ac_lo= ac_hi=
19732 break
19733 fi
19734 ac_mid=`expr 2 '*' $ac_mid`
19735 fi
19736 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19737 done
19738 else
19739 echo "$as_me: failed program was:" >&5
19740 sed 's/^/| /' conftest.$ac_ext >&5
19741
19742 ac_lo= ac_hi=
19743 fi
19744 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19745 fi
19746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19747 # Binary search between lo and hi bounds.
19748 while test "x$ac_lo" != "x$ac_hi"; do
19749 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19750 cat >conftest.$ac_ext <<_ACEOF
19751 /* confdefs.h. */
19752 _ACEOF
19753 cat confdefs.h >>conftest.$ac_ext
19754 cat >>conftest.$ac_ext <<_ACEOF
19755 /* end confdefs.h. */
19756 $ac_includes_default
19757 int
19758 main ()
19759 {
19760 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19761 test_array [0] = 0
19762
19763 ;
19764 return 0;
19765 }
19766 _ACEOF
19767 rm -f conftest.$ac_objext
19768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19769 (eval $ac_compile) 2>conftest.er1
19770 ac_status=$?
19771 grep -v '^ *+' conftest.er1 >conftest.err
19772 rm -f conftest.er1
19773 cat conftest.err >&5
19774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19775 (exit $ac_status); } &&
19776 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19778 (eval $ac_try) 2>&5
19779 ac_status=$?
19780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19781 (exit $ac_status); }; } &&
19782 { ac_try='test -s conftest.$ac_objext'
19783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19784 (eval $ac_try) 2>&5
19785 ac_status=$?
19786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19787 (exit $ac_status); }; }; then
19788 ac_hi=$ac_mid
19789 else
19790 echo "$as_me: failed program was:" >&5
19791 sed 's/^/| /' conftest.$ac_ext >&5
19792
19793 ac_lo=`expr '(' $ac_mid ')' + 1`
19794 fi
19795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19796 done
19797 case $ac_lo in
19798 ?*) ac_cv_sizeof_int=$ac_lo;;
19799 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19800 See \`config.log' for more details." >&5
19801 echo "$as_me: error: cannot compute sizeof (int), 77
19802 See \`config.log' for more details." >&2;}
19803 { (exit 1); exit 1; }; } ;;
19804 esac
19805 else
19806 if test "$cross_compiling" = yes; then
19807 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19808 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19809 { (exit 1); exit 1; }; }
19810 else
19811 cat >conftest.$ac_ext <<_ACEOF
19812 /* confdefs.h. */
19813 _ACEOF
19814 cat confdefs.h >>conftest.$ac_ext
19815 cat >>conftest.$ac_ext <<_ACEOF
19816 /* end confdefs.h. */
19817 $ac_includes_default
19818 long longval () { return (long) (sizeof (int)); }
19819 unsigned long ulongval () { return (long) (sizeof (int)); }
19820 #include <stdio.h>
19821 #include <stdlib.h>
19822 int
19823 main ()
19824 {
19825
19826 FILE *f = fopen ("conftest.val", "w");
19827 if (! f)
19828 exit (1);
19829 if (((long) (sizeof (int))) < 0)
19830 {
19831 long i = longval ();
19832 if (i != ((long) (sizeof (int))))
19833 exit (1);
19834 fprintf (f, "%ld\n", i);
19835 }
19836 else
19837 {
19838 unsigned long i = ulongval ();
19839 if (i != ((long) (sizeof (int))))
19840 exit (1);
19841 fprintf (f, "%lu\n", i);
19842 }
19843 exit (ferror (f) || fclose (f) != 0);
19844
19845 ;
19846 return 0;
19847 }
19848 _ACEOF
19849 rm -f conftest$ac_exeext
19850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19851 (eval $ac_link) 2>&5
19852 ac_status=$?
19853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19854 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19856 (eval $ac_try) 2>&5
19857 ac_status=$?
19858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19859 (exit $ac_status); }; }; then
19860 ac_cv_sizeof_int=`cat conftest.val`
19861 else
19862 echo "$as_me: program exited with status $ac_status" >&5
19863 echo "$as_me: failed program was:" >&5
19864 sed 's/^/| /' conftest.$ac_ext >&5
19865
19866 ( exit $ac_status )
19867 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19868 See \`config.log' for more details." >&5
19869 echo "$as_me: error: cannot compute sizeof (int), 77
19870 See \`config.log' for more details." >&2;}
19871 { (exit 1); exit 1; }; }
19872 fi
19873 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19874 fi
19875 fi
19876 rm -f conftest.val
19877 else
19878 ac_cv_sizeof_int=0
19879 fi
19880 fi
19881 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19882 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19883 cat >>confdefs.h <<_ACEOF
19884 #define SIZEOF_INT $ac_cv_sizeof_int
19885 _ACEOF
19886
19887
19888 echo "$as_me:$LINENO: checking for long" >&5
19889 echo $ECHO_N "checking for long... $ECHO_C" >&6
19890 if test "${ac_cv_type_long+set}" = set; then
19891 echo $ECHO_N "(cached) $ECHO_C" >&6
19892 else
19893 cat >conftest.$ac_ext <<_ACEOF
19894 /* confdefs.h. */
19895 _ACEOF
19896 cat confdefs.h >>conftest.$ac_ext
19897 cat >>conftest.$ac_ext <<_ACEOF
19898 /* end confdefs.h. */
19899 $ac_includes_default
19900 int
19901 main ()
19902 {
19903 if ((long *) 0)
19904 return 0;
19905 if (sizeof (long))
19906 return 0;
19907 ;
19908 return 0;
19909 }
19910 _ACEOF
19911 rm -f conftest.$ac_objext
19912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19913 (eval $ac_compile) 2>conftest.er1
19914 ac_status=$?
19915 grep -v '^ *+' conftest.er1 >conftest.err
19916 rm -f conftest.er1
19917 cat conftest.err >&5
19918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19919 (exit $ac_status); } &&
19920 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19922 (eval $ac_try) 2>&5
19923 ac_status=$?
19924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19925 (exit $ac_status); }; } &&
19926 { ac_try='test -s conftest.$ac_objext'
19927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19928 (eval $ac_try) 2>&5
19929 ac_status=$?
19930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19931 (exit $ac_status); }; }; then
19932 ac_cv_type_long=yes
19933 else
19934 echo "$as_me: failed program was:" >&5
19935 sed 's/^/| /' conftest.$ac_ext >&5
19936
19937 ac_cv_type_long=no
19938 fi
19939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19940 fi
19941 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19942 echo "${ECHO_T}$ac_cv_type_long" >&6
19943
19944 echo "$as_me:$LINENO: checking size of long" >&5
19945 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19946 if test "${ac_cv_sizeof_long+set}" = set; then
19947 echo $ECHO_N "(cached) $ECHO_C" >&6
19948 else
19949 if test "$ac_cv_type_long" = yes; then
19950 # The cast to unsigned long works around a bug in the HP C Compiler
19951 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19952 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19953 # This bug is HP SR number 8606223364.
19954 if test "$cross_compiling" = yes; then
19955 # Depending upon the size, compute the lo and hi bounds.
19956 cat >conftest.$ac_ext <<_ACEOF
19957 /* confdefs.h. */
19958 _ACEOF
19959 cat confdefs.h >>conftest.$ac_ext
19960 cat >>conftest.$ac_ext <<_ACEOF
19961 /* end confdefs.h. */
19962 $ac_includes_default
19963 int
19964 main ()
19965 {
19966 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19967 test_array [0] = 0
19968
19969 ;
19970 return 0;
19971 }
19972 _ACEOF
19973 rm -f conftest.$ac_objext
19974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19975 (eval $ac_compile) 2>conftest.er1
19976 ac_status=$?
19977 grep -v '^ *+' conftest.er1 >conftest.err
19978 rm -f conftest.er1
19979 cat conftest.err >&5
19980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19981 (exit $ac_status); } &&
19982 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19984 (eval $ac_try) 2>&5
19985 ac_status=$?
19986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19987 (exit $ac_status); }; } &&
19988 { ac_try='test -s conftest.$ac_objext'
19989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19990 (eval $ac_try) 2>&5
19991 ac_status=$?
19992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19993 (exit $ac_status); }; }; then
19994 ac_lo=0 ac_mid=0
19995 while :; do
19996 cat >conftest.$ac_ext <<_ACEOF
19997 /* confdefs.h. */
19998 _ACEOF
19999 cat confdefs.h >>conftest.$ac_ext
20000 cat >>conftest.$ac_ext <<_ACEOF
20001 /* end confdefs.h. */
20002 $ac_includes_default
20003 int
20004 main ()
20005 {
20006 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
20007 test_array [0] = 0
20008
20009 ;
20010 return 0;
20011 }
20012 _ACEOF
20013 rm -f conftest.$ac_objext
20014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20015 (eval $ac_compile) 2>conftest.er1
20016 ac_status=$?
20017 grep -v '^ *+' conftest.er1 >conftest.err
20018 rm -f conftest.er1
20019 cat conftest.err >&5
20020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20021 (exit $ac_status); } &&
20022 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20024 (eval $ac_try) 2>&5
20025 ac_status=$?
20026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20027 (exit $ac_status); }; } &&
20028 { ac_try='test -s conftest.$ac_objext'
20029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20030 (eval $ac_try) 2>&5
20031 ac_status=$?
20032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20033 (exit $ac_status); }; }; then
20034 ac_hi=$ac_mid; break
20035 else
20036 echo "$as_me: failed program was:" >&5
20037 sed 's/^/| /' conftest.$ac_ext >&5
20038
20039 ac_lo=`expr $ac_mid + 1`
20040 if test $ac_lo -le $ac_mid; then
20041 ac_lo= ac_hi=
20042 break
20043 fi
20044 ac_mid=`expr 2 '*' $ac_mid + 1`
20045 fi
20046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20047 done
20048 else
20049 echo "$as_me: failed program was:" >&5
20050 sed 's/^/| /' conftest.$ac_ext >&5
20051
20052 cat >conftest.$ac_ext <<_ACEOF
20053 /* confdefs.h. */
20054 _ACEOF
20055 cat confdefs.h >>conftest.$ac_ext
20056 cat >>conftest.$ac_ext <<_ACEOF
20057 /* end confdefs.h. */
20058 $ac_includes_default
20059 int
20060 main ()
20061 {
20062 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
20063 test_array [0] = 0
20064
20065 ;
20066 return 0;
20067 }
20068 _ACEOF
20069 rm -f conftest.$ac_objext
20070 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20071 (eval $ac_compile) 2>conftest.er1
20072 ac_status=$?
20073 grep -v '^ *+' conftest.er1 >conftest.err
20074 rm -f conftest.er1
20075 cat conftest.err >&5
20076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20077 (exit $ac_status); } &&
20078 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20080 (eval $ac_try) 2>&5
20081 ac_status=$?
20082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20083 (exit $ac_status); }; } &&
20084 { ac_try='test -s conftest.$ac_objext'
20085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20086 (eval $ac_try) 2>&5
20087 ac_status=$?
20088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20089 (exit $ac_status); }; }; then
20090 ac_hi=-1 ac_mid=-1
20091 while :; do
20092 cat >conftest.$ac_ext <<_ACEOF
20093 /* confdefs.h. */
20094 _ACEOF
20095 cat confdefs.h >>conftest.$ac_ext
20096 cat >>conftest.$ac_ext <<_ACEOF
20097 /* end confdefs.h. */
20098 $ac_includes_default
20099 int
20100 main ()
20101 {
20102 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
20103 test_array [0] = 0
20104
20105 ;
20106 return 0;
20107 }
20108 _ACEOF
20109 rm -f conftest.$ac_objext
20110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20111 (eval $ac_compile) 2>conftest.er1
20112 ac_status=$?
20113 grep -v '^ *+' conftest.er1 >conftest.err
20114 rm -f conftest.er1
20115 cat conftest.err >&5
20116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20117 (exit $ac_status); } &&
20118 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20120 (eval $ac_try) 2>&5
20121 ac_status=$?
20122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20123 (exit $ac_status); }; } &&
20124 { ac_try='test -s conftest.$ac_objext'
20125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20126 (eval $ac_try) 2>&5
20127 ac_status=$?
20128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20129 (exit $ac_status); }; }; then
20130 ac_lo=$ac_mid; break
20131 else
20132 echo "$as_me: failed program was:" >&5
20133 sed 's/^/| /' conftest.$ac_ext >&5
20134
20135 ac_hi=`expr '(' $ac_mid ')' - 1`
20136 if test $ac_mid -le $ac_hi; then
20137 ac_lo= ac_hi=
20138 break
20139 fi
20140 ac_mid=`expr 2 '*' $ac_mid`
20141 fi
20142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20143 done
20144 else
20145 echo "$as_me: failed program was:" >&5
20146 sed 's/^/| /' conftest.$ac_ext >&5
20147
20148 ac_lo= ac_hi=
20149 fi
20150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20151 fi
20152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20153 # Binary search between lo and hi bounds.
20154 while test "x$ac_lo" != "x$ac_hi"; do
20155 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20156 cat >conftest.$ac_ext <<_ACEOF
20157 /* confdefs.h. */
20158 _ACEOF
20159 cat confdefs.h >>conftest.$ac_ext
20160 cat >>conftest.$ac_ext <<_ACEOF
20161 /* end confdefs.h. */
20162 $ac_includes_default
20163 int
20164 main ()
20165 {
20166 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
20167 test_array [0] = 0
20168
20169 ;
20170 return 0;
20171 }
20172 _ACEOF
20173 rm -f conftest.$ac_objext
20174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20175 (eval $ac_compile) 2>conftest.er1
20176 ac_status=$?
20177 grep -v '^ *+' conftest.er1 >conftest.err
20178 rm -f conftest.er1
20179 cat conftest.err >&5
20180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20181 (exit $ac_status); } &&
20182 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20184 (eval $ac_try) 2>&5
20185 ac_status=$?
20186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20187 (exit $ac_status); }; } &&
20188 { ac_try='test -s conftest.$ac_objext'
20189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20190 (eval $ac_try) 2>&5
20191 ac_status=$?
20192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20193 (exit $ac_status); }; }; then
20194 ac_hi=$ac_mid
20195 else
20196 echo "$as_me: failed program was:" >&5
20197 sed 's/^/| /' conftest.$ac_ext >&5
20198
20199 ac_lo=`expr '(' $ac_mid ')' + 1`
20200 fi
20201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20202 done
20203 case $ac_lo in
20204 ?*) ac_cv_sizeof_long=$ac_lo;;
20205 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20206 See \`config.log' for more details." >&5
20207 echo "$as_me: error: cannot compute sizeof (long), 77
20208 See \`config.log' for more details." >&2;}
20209 { (exit 1); exit 1; }; } ;;
20210 esac
20211 else
20212 if test "$cross_compiling" = yes; then
20213 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20214 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20215 { (exit 1); exit 1; }; }
20216 else
20217 cat >conftest.$ac_ext <<_ACEOF
20218 /* confdefs.h. */
20219 _ACEOF
20220 cat confdefs.h >>conftest.$ac_ext
20221 cat >>conftest.$ac_ext <<_ACEOF
20222 /* end confdefs.h. */
20223 $ac_includes_default
20224 long longval () { return (long) (sizeof (long)); }
20225 unsigned long ulongval () { return (long) (sizeof (long)); }
20226 #include <stdio.h>
20227 #include <stdlib.h>
20228 int
20229 main ()
20230 {
20231
20232 FILE *f = fopen ("conftest.val", "w");
20233 if (! f)
20234 exit (1);
20235 if (((long) (sizeof (long))) < 0)
20236 {
20237 long i = longval ();
20238 if (i != ((long) (sizeof (long))))
20239 exit (1);
20240 fprintf (f, "%ld\n", i);
20241 }
20242 else
20243 {
20244 unsigned long i = ulongval ();
20245 if (i != ((long) (sizeof (long))))
20246 exit (1);
20247 fprintf (f, "%lu\n", i);
20248 }
20249 exit (ferror (f) || fclose (f) != 0);
20250
20251 ;
20252 return 0;
20253 }
20254 _ACEOF
20255 rm -f conftest$ac_exeext
20256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20257 (eval $ac_link) 2>&5
20258 ac_status=$?
20259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20260 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20262 (eval $ac_try) 2>&5
20263 ac_status=$?
20264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20265 (exit $ac_status); }; }; then
20266 ac_cv_sizeof_long=`cat conftest.val`
20267 else
20268 echo "$as_me: program exited with status $ac_status" >&5
20269 echo "$as_me: failed program was:" >&5
20270 sed 's/^/| /' conftest.$ac_ext >&5
20271
20272 ( exit $ac_status )
20273 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
20274 See \`config.log' for more details." >&5
20275 echo "$as_me: error: cannot compute sizeof (long), 77
20276 See \`config.log' for more details." >&2;}
20277 { (exit 1); exit 1; }; }
20278 fi
20279 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20280 fi
20281 fi
20282 rm -f conftest.val
20283 else
20284 ac_cv_sizeof_long=0
20285 fi
20286 fi
20287 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20288 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
20289 cat >>confdefs.h <<_ACEOF
20290 #define SIZEOF_LONG $ac_cv_sizeof_long
20291 _ACEOF
20292
20293
20294 echo "$as_me:$LINENO: checking for size_t" >&5
20295 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
20296 if test "${ac_cv_type_size_t+set}" = set; then
20297 echo $ECHO_N "(cached) $ECHO_C" >&6
20298 else
20299 cat >conftest.$ac_ext <<_ACEOF
20300 /* confdefs.h. */
20301 _ACEOF
20302 cat confdefs.h >>conftest.$ac_ext
20303 cat >>conftest.$ac_ext <<_ACEOF
20304 /* end confdefs.h. */
20305 $ac_includes_default
20306 int
20307 main ()
20308 {
20309 if ((size_t *) 0)
20310 return 0;
20311 if (sizeof (size_t))
20312 return 0;
20313 ;
20314 return 0;
20315 }
20316 _ACEOF
20317 rm -f conftest.$ac_objext
20318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20319 (eval $ac_compile) 2>conftest.er1
20320 ac_status=$?
20321 grep -v '^ *+' conftest.er1 >conftest.err
20322 rm -f conftest.er1
20323 cat conftest.err >&5
20324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20325 (exit $ac_status); } &&
20326 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20328 (eval $ac_try) 2>&5
20329 ac_status=$?
20330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20331 (exit $ac_status); }; } &&
20332 { ac_try='test -s conftest.$ac_objext'
20333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20334 (eval $ac_try) 2>&5
20335 ac_status=$?
20336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20337 (exit $ac_status); }; }; then
20338 ac_cv_type_size_t=yes
20339 else
20340 echo "$as_me: failed program was:" >&5
20341 sed 's/^/| /' conftest.$ac_ext >&5
20342
20343 ac_cv_type_size_t=no
20344 fi
20345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20346 fi
20347 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20348 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20349
20350 echo "$as_me:$LINENO: checking size of size_t" >&5
20351 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
20352 if test "${ac_cv_sizeof_size_t+set}" = set; then
20353 echo $ECHO_N "(cached) $ECHO_C" >&6
20354 else
20355 if test "$ac_cv_type_size_t" = yes; then
20356 # The cast to unsigned long works around a bug in the HP C Compiler
20357 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20358 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20359 # This bug is HP SR number 8606223364.
20360 if test "$cross_compiling" = yes; then
20361 # Depending upon the size, compute the lo and hi bounds.
20362 cat >conftest.$ac_ext <<_ACEOF
20363 /* confdefs.h. */
20364 _ACEOF
20365 cat confdefs.h >>conftest.$ac_ext
20366 cat >>conftest.$ac_ext <<_ACEOF
20367 /* end confdefs.h. */
20368 $ac_includes_default
20369 int
20370 main ()
20371 {
20372 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
20373 test_array [0] = 0
20374
20375 ;
20376 return 0;
20377 }
20378 _ACEOF
20379 rm -f conftest.$ac_objext
20380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20381 (eval $ac_compile) 2>conftest.er1
20382 ac_status=$?
20383 grep -v '^ *+' conftest.er1 >conftest.err
20384 rm -f conftest.er1
20385 cat conftest.err >&5
20386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20387 (exit $ac_status); } &&
20388 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20390 (eval $ac_try) 2>&5
20391 ac_status=$?
20392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20393 (exit $ac_status); }; } &&
20394 { ac_try='test -s conftest.$ac_objext'
20395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20396 (eval $ac_try) 2>&5
20397 ac_status=$?
20398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20399 (exit $ac_status); }; }; then
20400 ac_lo=0 ac_mid=0
20401 while :; do
20402 cat >conftest.$ac_ext <<_ACEOF
20403 /* confdefs.h. */
20404 _ACEOF
20405 cat confdefs.h >>conftest.$ac_ext
20406 cat >>conftest.$ac_ext <<_ACEOF
20407 /* end confdefs.h. */
20408 $ac_includes_default
20409 int
20410 main ()
20411 {
20412 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20413 test_array [0] = 0
20414
20415 ;
20416 return 0;
20417 }
20418 _ACEOF
20419 rm -f conftest.$ac_objext
20420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20421 (eval $ac_compile) 2>conftest.er1
20422 ac_status=$?
20423 grep -v '^ *+' conftest.er1 >conftest.err
20424 rm -f conftest.er1
20425 cat conftest.err >&5
20426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20427 (exit $ac_status); } &&
20428 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20430 (eval $ac_try) 2>&5
20431 ac_status=$?
20432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20433 (exit $ac_status); }; } &&
20434 { ac_try='test -s conftest.$ac_objext'
20435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20436 (eval $ac_try) 2>&5
20437 ac_status=$?
20438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20439 (exit $ac_status); }; }; then
20440 ac_hi=$ac_mid; break
20441 else
20442 echo "$as_me: failed program was:" >&5
20443 sed 's/^/| /' conftest.$ac_ext >&5
20444
20445 ac_lo=`expr $ac_mid + 1`
20446 if test $ac_lo -le $ac_mid; then
20447 ac_lo= ac_hi=
20448 break
20449 fi
20450 ac_mid=`expr 2 '*' $ac_mid + 1`
20451 fi
20452 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20453 done
20454 else
20455 echo "$as_me: failed program was:" >&5
20456 sed 's/^/| /' conftest.$ac_ext >&5
20457
20458 cat >conftest.$ac_ext <<_ACEOF
20459 /* confdefs.h. */
20460 _ACEOF
20461 cat confdefs.h >>conftest.$ac_ext
20462 cat >>conftest.$ac_ext <<_ACEOF
20463 /* end confdefs.h. */
20464 $ac_includes_default
20465 int
20466 main ()
20467 {
20468 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
20469 test_array [0] = 0
20470
20471 ;
20472 return 0;
20473 }
20474 _ACEOF
20475 rm -f conftest.$ac_objext
20476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20477 (eval $ac_compile) 2>conftest.er1
20478 ac_status=$?
20479 grep -v '^ *+' conftest.er1 >conftest.err
20480 rm -f conftest.er1
20481 cat conftest.err >&5
20482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20483 (exit $ac_status); } &&
20484 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20486 (eval $ac_try) 2>&5
20487 ac_status=$?
20488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20489 (exit $ac_status); }; } &&
20490 { ac_try='test -s conftest.$ac_objext'
20491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20492 (eval $ac_try) 2>&5
20493 ac_status=$?
20494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20495 (exit $ac_status); }; }; then
20496 ac_hi=-1 ac_mid=-1
20497 while :; do
20498 cat >conftest.$ac_ext <<_ACEOF
20499 /* confdefs.h. */
20500 _ACEOF
20501 cat confdefs.h >>conftest.$ac_ext
20502 cat >>conftest.$ac_ext <<_ACEOF
20503 /* end confdefs.h. */
20504 $ac_includes_default
20505 int
20506 main ()
20507 {
20508 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20509 test_array [0] = 0
20510
20511 ;
20512 return 0;
20513 }
20514 _ACEOF
20515 rm -f conftest.$ac_objext
20516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20517 (eval $ac_compile) 2>conftest.er1
20518 ac_status=$?
20519 grep -v '^ *+' conftest.er1 >conftest.err
20520 rm -f conftest.er1
20521 cat conftest.err >&5
20522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20523 (exit $ac_status); } &&
20524 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20526 (eval $ac_try) 2>&5
20527 ac_status=$?
20528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20529 (exit $ac_status); }; } &&
20530 { ac_try='test -s conftest.$ac_objext'
20531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20532 (eval $ac_try) 2>&5
20533 ac_status=$?
20534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20535 (exit $ac_status); }; }; then
20536 ac_lo=$ac_mid; break
20537 else
20538 echo "$as_me: failed program was:" >&5
20539 sed 's/^/| /' conftest.$ac_ext >&5
20540
20541 ac_hi=`expr '(' $ac_mid ')' - 1`
20542 if test $ac_mid -le $ac_hi; then
20543 ac_lo= ac_hi=
20544 break
20545 fi
20546 ac_mid=`expr 2 '*' $ac_mid`
20547 fi
20548 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20549 done
20550 else
20551 echo "$as_me: failed program was:" >&5
20552 sed 's/^/| /' conftest.$ac_ext >&5
20553
20554 ac_lo= ac_hi=
20555 fi
20556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20557 fi
20558 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20559 # Binary search between lo and hi bounds.
20560 while test "x$ac_lo" != "x$ac_hi"; do
20561 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20562 cat >conftest.$ac_ext <<_ACEOF
20563 /* confdefs.h. */
20564 _ACEOF
20565 cat confdefs.h >>conftest.$ac_ext
20566 cat >>conftest.$ac_ext <<_ACEOF
20567 /* end confdefs.h. */
20568 $ac_includes_default
20569 int
20570 main ()
20571 {
20572 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20573 test_array [0] = 0
20574
20575 ;
20576 return 0;
20577 }
20578 _ACEOF
20579 rm -f conftest.$ac_objext
20580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20581 (eval $ac_compile) 2>conftest.er1
20582 ac_status=$?
20583 grep -v '^ *+' conftest.er1 >conftest.err
20584 rm -f conftest.er1
20585 cat conftest.err >&5
20586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20587 (exit $ac_status); } &&
20588 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20590 (eval $ac_try) 2>&5
20591 ac_status=$?
20592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20593 (exit $ac_status); }; } &&
20594 { ac_try='test -s conftest.$ac_objext'
20595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20596 (eval $ac_try) 2>&5
20597 ac_status=$?
20598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20599 (exit $ac_status); }; }; then
20600 ac_hi=$ac_mid
20601 else
20602 echo "$as_me: failed program was:" >&5
20603 sed 's/^/| /' conftest.$ac_ext >&5
20604
20605 ac_lo=`expr '(' $ac_mid ')' + 1`
20606 fi
20607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20608 done
20609 case $ac_lo in
20610 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20611 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20612 See \`config.log' for more details." >&5
20613 echo "$as_me: error: cannot compute sizeof (size_t), 77
20614 See \`config.log' for more details." >&2;}
20615 { (exit 1); exit 1; }; } ;;
20616 esac
20617 else
20618 if test "$cross_compiling" = yes; then
20619 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20620 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20621 { (exit 1); exit 1; }; }
20622 else
20623 cat >conftest.$ac_ext <<_ACEOF
20624 /* confdefs.h. */
20625 _ACEOF
20626 cat confdefs.h >>conftest.$ac_ext
20627 cat >>conftest.$ac_ext <<_ACEOF
20628 /* end confdefs.h. */
20629 $ac_includes_default
20630 long longval () { return (long) (sizeof (size_t)); }
20631 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20632 #include <stdio.h>
20633 #include <stdlib.h>
20634 int
20635 main ()
20636 {
20637
20638 FILE *f = fopen ("conftest.val", "w");
20639 if (! f)
20640 exit (1);
20641 if (((long) (sizeof (size_t))) < 0)
20642 {
20643 long i = longval ();
20644 if (i != ((long) (sizeof (size_t))))
20645 exit (1);
20646 fprintf (f, "%ld\n", i);
20647 }
20648 else
20649 {
20650 unsigned long i = ulongval ();
20651 if (i != ((long) (sizeof (size_t))))
20652 exit (1);
20653 fprintf (f, "%lu\n", i);
20654 }
20655 exit (ferror (f) || fclose (f) != 0);
20656
20657 ;
20658 return 0;
20659 }
20660 _ACEOF
20661 rm -f conftest$ac_exeext
20662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20663 (eval $ac_link) 2>&5
20664 ac_status=$?
20665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20666 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20668 (eval $ac_try) 2>&5
20669 ac_status=$?
20670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20671 (exit $ac_status); }; }; then
20672 ac_cv_sizeof_size_t=`cat conftest.val`
20673 else
20674 echo "$as_me: program exited with status $ac_status" >&5
20675 echo "$as_me: failed program was:" >&5
20676 sed 's/^/| /' conftest.$ac_ext >&5
20677
20678 ( exit $ac_status )
20679 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20680 See \`config.log' for more details." >&5
20681 echo "$as_me: error: cannot compute sizeof (size_t), 77
20682 See \`config.log' for more details." >&2;}
20683 { (exit 1); exit 1; }; }
20684 fi
20685 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20686 fi
20687 fi
20688 rm -f conftest.val
20689 else
20690 ac_cv_sizeof_size_t=0
20691 fi
20692 fi
20693 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20694 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20695 cat >>confdefs.h <<_ACEOF
20696 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20697 _ACEOF
20698
20699
20700
20701 case "${host}" in
20702 arm-*-linux* )
20703 echo "$as_me:$LINENO: checking for long long" >&5
20704 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20705 if test "${ac_cv_type_long_long+set}" = set; then
20706 echo $ECHO_N "(cached) $ECHO_C" >&6
20707 else
20708 cat >conftest.$ac_ext <<_ACEOF
20709 /* confdefs.h. */
20710 _ACEOF
20711 cat confdefs.h >>conftest.$ac_ext
20712 cat >>conftest.$ac_ext <<_ACEOF
20713 /* end confdefs.h. */
20714 $ac_includes_default
20715 int
20716 main ()
20717 {
20718 if ((long long *) 0)
20719 return 0;
20720 if (sizeof (long long))
20721 return 0;
20722 ;
20723 return 0;
20724 }
20725 _ACEOF
20726 rm -f conftest.$ac_objext
20727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20728 (eval $ac_compile) 2>conftest.er1
20729 ac_status=$?
20730 grep -v '^ *+' conftest.er1 >conftest.err
20731 rm -f conftest.er1
20732 cat conftest.err >&5
20733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20734 (exit $ac_status); } &&
20735 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20737 (eval $ac_try) 2>&5
20738 ac_status=$?
20739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20740 (exit $ac_status); }; } &&
20741 { ac_try='test -s conftest.$ac_objext'
20742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20743 (eval $ac_try) 2>&5
20744 ac_status=$?
20745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20746 (exit $ac_status); }; }; then
20747 ac_cv_type_long_long=yes
20748 else
20749 echo "$as_me: failed program was:" >&5
20750 sed 's/^/| /' conftest.$ac_ext >&5
20751
20752 ac_cv_type_long_long=no
20753 fi
20754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20755 fi
20756 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20757 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20758
20759 echo "$as_me:$LINENO: checking size of long long" >&5
20760 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20761 if test "${ac_cv_sizeof_long_long+set}" = set; then
20762 echo $ECHO_N "(cached) $ECHO_C" >&6
20763 else
20764 if test "$ac_cv_type_long_long" = yes; then
20765 # The cast to unsigned long works around a bug in the HP C Compiler
20766 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20767 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20768 # This bug is HP SR number 8606223364.
20769 if test "$cross_compiling" = yes; then
20770 # Depending upon the size, compute the lo and hi bounds.
20771 cat >conftest.$ac_ext <<_ACEOF
20772 /* confdefs.h. */
20773 _ACEOF
20774 cat confdefs.h >>conftest.$ac_ext
20775 cat >>conftest.$ac_ext <<_ACEOF
20776 /* end confdefs.h. */
20777 $ac_includes_default
20778 int
20779 main ()
20780 {
20781 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20782 test_array [0] = 0
20783
20784 ;
20785 return 0;
20786 }
20787 _ACEOF
20788 rm -f conftest.$ac_objext
20789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20790 (eval $ac_compile) 2>conftest.er1
20791 ac_status=$?
20792 grep -v '^ *+' conftest.er1 >conftest.err
20793 rm -f conftest.er1
20794 cat conftest.err >&5
20795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20796 (exit $ac_status); } &&
20797 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20799 (eval $ac_try) 2>&5
20800 ac_status=$?
20801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20802 (exit $ac_status); }; } &&
20803 { ac_try='test -s conftest.$ac_objext'
20804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20805 (eval $ac_try) 2>&5
20806 ac_status=$?
20807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20808 (exit $ac_status); }; }; then
20809 ac_lo=0 ac_mid=0
20810 while :; do
20811 cat >conftest.$ac_ext <<_ACEOF
20812 /* confdefs.h. */
20813 _ACEOF
20814 cat confdefs.h >>conftest.$ac_ext
20815 cat >>conftest.$ac_ext <<_ACEOF
20816 /* end confdefs.h. */
20817 $ac_includes_default
20818 int
20819 main ()
20820 {
20821 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20822 test_array [0] = 0
20823
20824 ;
20825 return 0;
20826 }
20827 _ACEOF
20828 rm -f conftest.$ac_objext
20829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20830 (eval $ac_compile) 2>conftest.er1
20831 ac_status=$?
20832 grep -v '^ *+' conftest.er1 >conftest.err
20833 rm -f conftest.er1
20834 cat conftest.err >&5
20835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20836 (exit $ac_status); } &&
20837 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20839 (eval $ac_try) 2>&5
20840 ac_status=$?
20841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20842 (exit $ac_status); }; } &&
20843 { ac_try='test -s conftest.$ac_objext'
20844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20845 (eval $ac_try) 2>&5
20846 ac_status=$?
20847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20848 (exit $ac_status); }; }; then
20849 ac_hi=$ac_mid; break
20850 else
20851 echo "$as_me: failed program was:" >&5
20852 sed 's/^/| /' conftest.$ac_ext >&5
20853
20854 ac_lo=`expr $ac_mid + 1`
20855 if test $ac_lo -le $ac_mid; then
20856 ac_lo= ac_hi=
20857 break
20858 fi
20859 ac_mid=`expr 2 '*' $ac_mid + 1`
20860 fi
20861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20862 done
20863 else
20864 echo "$as_me: failed program was:" >&5
20865 sed 's/^/| /' conftest.$ac_ext >&5
20866
20867 cat >conftest.$ac_ext <<_ACEOF
20868 /* confdefs.h. */
20869 _ACEOF
20870 cat confdefs.h >>conftest.$ac_ext
20871 cat >>conftest.$ac_ext <<_ACEOF
20872 /* end confdefs.h. */
20873 $ac_includes_default
20874 int
20875 main ()
20876 {
20877 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20878 test_array [0] = 0
20879
20880 ;
20881 return 0;
20882 }
20883 _ACEOF
20884 rm -f conftest.$ac_objext
20885 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20886 (eval $ac_compile) 2>conftest.er1
20887 ac_status=$?
20888 grep -v '^ *+' conftest.er1 >conftest.err
20889 rm -f conftest.er1
20890 cat conftest.err >&5
20891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20892 (exit $ac_status); } &&
20893 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20895 (eval $ac_try) 2>&5
20896 ac_status=$?
20897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20898 (exit $ac_status); }; } &&
20899 { ac_try='test -s conftest.$ac_objext'
20900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20901 (eval $ac_try) 2>&5
20902 ac_status=$?
20903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20904 (exit $ac_status); }; }; then
20905 ac_hi=-1 ac_mid=-1
20906 while :; do
20907 cat >conftest.$ac_ext <<_ACEOF
20908 /* confdefs.h. */
20909 _ACEOF
20910 cat confdefs.h >>conftest.$ac_ext
20911 cat >>conftest.$ac_ext <<_ACEOF
20912 /* end confdefs.h. */
20913 $ac_includes_default
20914 int
20915 main ()
20916 {
20917 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20918 test_array [0] = 0
20919
20920 ;
20921 return 0;
20922 }
20923 _ACEOF
20924 rm -f conftest.$ac_objext
20925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20926 (eval $ac_compile) 2>conftest.er1
20927 ac_status=$?
20928 grep -v '^ *+' conftest.er1 >conftest.err
20929 rm -f conftest.er1
20930 cat conftest.err >&5
20931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20932 (exit $ac_status); } &&
20933 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20935 (eval $ac_try) 2>&5
20936 ac_status=$?
20937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20938 (exit $ac_status); }; } &&
20939 { ac_try='test -s conftest.$ac_objext'
20940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20941 (eval $ac_try) 2>&5
20942 ac_status=$?
20943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20944 (exit $ac_status); }; }; then
20945 ac_lo=$ac_mid; break
20946 else
20947 echo "$as_me: failed program was:" >&5
20948 sed 's/^/| /' conftest.$ac_ext >&5
20949
20950 ac_hi=`expr '(' $ac_mid ')' - 1`
20951 if test $ac_mid -le $ac_hi; then
20952 ac_lo= ac_hi=
20953 break
20954 fi
20955 ac_mid=`expr 2 '*' $ac_mid`
20956 fi
20957 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20958 done
20959 else
20960 echo "$as_me: failed program was:" >&5
20961 sed 's/^/| /' conftest.$ac_ext >&5
20962
20963 ac_lo= ac_hi=
20964 fi
20965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20966 fi
20967 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20968 # Binary search between lo and hi bounds.
20969 while test "x$ac_lo" != "x$ac_hi"; do
20970 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20971 cat >conftest.$ac_ext <<_ACEOF
20972 /* confdefs.h. */
20973 _ACEOF
20974 cat confdefs.h >>conftest.$ac_ext
20975 cat >>conftest.$ac_ext <<_ACEOF
20976 /* end confdefs.h. */
20977 $ac_includes_default
20978 int
20979 main ()
20980 {
20981 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20982 test_array [0] = 0
20983
20984 ;
20985 return 0;
20986 }
20987 _ACEOF
20988 rm -f conftest.$ac_objext
20989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20990 (eval $ac_compile) 2>conftest.er1
20991 ac_status=$?
20992 grep -v '^ *+' conftest.er1 >conftest.err
20993 rm -f conftest.er1
20994 cat conftest.err >&5
20995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20996 (exit $ac_status); } &&
20997 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20999 (eval $ac_try) 2>&5
21000 ac_status=$?
21001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21002 (exit $ac_status); }; } &&
21003 { ac_try='test -s conftest.$ac_objext'
21004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21005 (eval $ac_try) 2>&5
21006 ac_status=$?
21007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21008 (exit $ac_status); }; }; then
21009 ac_hi=$ac_mid
21010 else
21011 echo "$as_me: failed program was:" >&5
21012 sed 's/^/| /' conftest.$ac_ext >&5
21013
21014 ac_lo=`expr '(' $ac_mid ')' + 1`
21015 fi
21016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21017 done
21018 case $ac_lo in
21019 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21020 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21021 See \`config.log' for more details." >&5
21022 echo "$as_me: error: cannot compute sizeof (long long), 77
21023 See \`config.log' for more details." >&2;}
21024 { (exit 1); exit 1; }; } ;;
21025 esac
21026 else
21027 if test "$cross_compiling" = yes; then
21028 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21029 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21030 { (exit 1); exit 1; }; }
21031 else
21032 cat >conftest.$ac_ext <<_ACEOF
21033 /* confdefs.h. */
21034 _ACEOF
21035 cat confdefs.h >>conftest.$ac_ext
21036 cat >>conftest.$ac_ext <<_ACEOF
21037 /* end confdefs.h. */
21038 $ac_includes_default
21039 long longval () { return (long) (sizeof (long long)); }
21040 unsigned long ulongval () { return (long) (sizeof (long long)); }
21041 #include <stdio.h>
21042 #include <stdlib.h>
21043 int
21044 main ()
21045 {
21046
21047 FILE *f = fopen ("conftest.val", "w");
21048 if (! f)
21049 exit (1);
21050 if (((long) (sizeof (long long))) < 0)
21051 {
21052 long i = longval ();
21053 if (i != ((long) (sizeof (long long))))
21054 exit (1);
21055 fprintf (f, "%ld\n", i);
21056 }
21057 else
21058 {
21059 unsigned long i = ulongval ();
21060 if (i != ((long) (sizeof (long long))))
21061 exit (1);
21062 fprintf (f, "%lu\n", i);
21063 }
21064 exit (ferror (f) || fclose (f) != 0);
21065
21066 ;
21067 return 0;
21068 }
21069 _ACEOF
21070 rm -f conftest$ac_exeext
21071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21072 (eval $ac_link) 2>&5
21073 ac_status=$?
21074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21075 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21077 (eval $ac_try) 2>&5
21078 ac_status=$?
21079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21080 (exit $ac_status); }; }; then
21081 ac_cv_sizeof_long_long=`cat conftest.val`
21082 else
21083 echo "$as_me: program exited with status $ac_status" >&5
21084 echo "$as_me: failed program was:" >&5
21085 sed 's/^/| /' conftest.$ac_ext >&5
21086
21087 ( exit $ac_status )
21088 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21089 See \`config.log' for more details." >&5
21090 echo "$as_me: error: cannot compute sizeof (long long), 77
21091 See \`config.log' for more details." >&2;}
21092 { (exit 1); exit 1; }; }
21093 fi
21094 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21095 fi
21096 fi
21097 rm -f conftest.val
21098 else
21099 ac_cv_sizeof_long_long=0
21100 fi
21101 fi
21102 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21103 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21104 cat >>confdefs.h <<_ACEOF
21105 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21106 _ACEOF
21107
21108
21109 ;;
21110 *-hp-hpux* )
21111 echo "$as_me:$LINENO: checking for long long" >&5
21112 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21113 if test "${ac_cv_type_long_long+set}" = set; then
21114 echo $ECHO_N "(cached) $ECHO_C" >&6
21115 else
21116 cat >conftest.$ac_ext <<_ACEOF
21117 /* confdefs.h. */
21118 _ACEOF
21119 cat confdefs.h >>conftest.$ac_ext
21120 cat >>conftest.$ac_ext <<_ACEOF
21121 /* end confdefs.h. */
21122 $ac_includes_default
21123 int
21124 main ()
21125 {
21126 if ((long long *) 0)
21127 return 0;
21128 if (sizeof (long long))
21129 return 0;
21130 ;
21131 return 0;
21132 }
21133 _ACEOF
21134 rm -f conftest.$ac_objext
21135 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21136 (eval $ac_compile) 2>conftest.er1
21137 ac_status=$?
21138 grep -v '^ *+' conftest.er1 >conftest.err
21139 rm -f conftest.er1
21140 cat conftest.err >&5
21141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21142 (exit $ac_status); } &&
21143 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21145 (eval $ac_try) 2>&5
21146 ac_status=$?
21147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21148 (exit $ac_status); }; } &&
21149 { ac_try='test -s conftest.$ac_objext'
21150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21151 (eval $ac_try) 2>&5
21152 ac_status=$?
21153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21154 (exit $ac_status); }; }; then
21155 ac_cv_type_long_long=yes
21156 else
21157 echo "$as_me: failed program was:" >&5
21158 sed 's/^/| /' conftest.$ac_ext >&5
21159
21160 ac_cv_type_long_long=no
21161 fi
21162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21163 fi
21164 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21165 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21166
21167 echo "$as_me:$LINENO: checking size of long long" >&5
21168 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21169 if test "${ac_cv_sizeof_long_long+set}" = set; then
21170 echo $ECHO_N "(cached) $ECHO_C" >&6
21171 else
21172 if test "$ac_cv_type_long_long" = yes; then
21173 # The cast to unsigned long works around a bug in the HP C Compiler
21174 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21175 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21176 # This bug is HP SR number 8606223364.
21177 if test "$cross_compiling" = yes; then
21178 # Depending upon the size, compute the lo and hi bounds.
21179 cat >conftest.$ac_ext <<_ACEOF
21180 /* confdefs.h. */
21181 _ACEOF
21182 cat confdefs.h >>conftest.$ac_ext
21183 cat >>conftest.$ac_ext <<_ACEOF
21184 /* end confdefs.h. */
21185 $ac_includes_default
21186 int
21187 main ()
21188 {
21189 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21190 test_array [0] = 0
21191
21192 ;
21193 return 0;
21194 }
21195 _ACEOF
21196 rm -f conftest.$ac_objext
21197 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21198 (eval $ac_compile) 2>conftest.er1
21199 ac_status=$?
21200 grep -v '^ *+' conftest.er1 >conftest.err
21201 rm -f conftest.er1
21202 cat conftest.err >&5
21203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21204 (exit $ac_status); } &&
21205 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21207 (eval $ac_try) 2>&5
21208 ac_status=$?
21209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21210 (exit $ac_status); }; } &&
21211 { ac_try='test -s conftest.$ac_objext'
21212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21213 (eval $ac_try) 2>&5
21214 ac_status=$?
21215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21216 (exit $ac_status); }; }; then
21217 ac_lo=0 ac_mid=0
21218 while :; do
21219 cat >conftest.$ac_ext <<_ACEOF
21220 /* confdefs.h. */
21221 _ACEOF
21222 cat confdefs.h >>conftest.$ac_ext
21223 cat >>conftest.$ac_ext <<_ACEOF
21224 /* end confdefs.h. */
21225 $ac_includes_default
21226 int
21227 main ()
21228 {
21229 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21230 test_array [0] = 0
21231
21232 ;
21233 return 0;
21234 }
21235 _ACEOF
21236 rm -f conftest.$ac_objext
21237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21238 (eval $ac_compile) 2>conftest.er1
21239 ac_status=$?
21240 grep -v '^ *+' conftest.er1 >conftest.err
21241 rm -f conftest.er1
21242 cat conftest.err >&5
21243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21244 (exit $ac_status); } &&
21245 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21247 (eval $ac_try) 2>&5
21248 ac_status=$?
21249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21250 (exit $ac_status); }; } &&
21251 { ac_try='test -s conftest.$ac_objext'
21252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21253 (eval $ac_try) 2>&5
21254 ac_status=$?
21255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21256 (exit $ac_status); }; }; then
21257 ac_hi=$ac_mid; break
21258 else
21259 echo "$as_me: failed program was:" >&5
21260 sed 's/^/| /' conftest.$ac_ext >&5
21261
21262 ac_lo=`expr $ac_mid + 1`
21263 if test $ac_lo -le $ac_mid; then
21264 ac_lo= ac_hi=
21265 break
21266 fi
21267 ac_mid=`expr 2 '*' $ac_mid + 1`
21268 fi
21269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21270 done
21271 else
21272 echo "$as_me: failed program was:" >&5
21273 sed 's/^/| /' conftest.$ac_ext >&5
21274
21275 cat >conftest.$ac_ext <<_ACEOF
21276 /* confdefs.h. */
21277 _ACEOF
21278 cat confdefs.h >>conftest.$ac_ext
21279 cat >>conftest.$ac_ext <<_ACEOF
21280 /* end confdefs.h. */
21281 $ac_includes_default
21282 int
21283 main ()
21284 {
21285 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21286 test_array [0] = 0
21287
21288 ;
21289 return 0;
21290 }
21291 _ACEOF
21292 rm -f conftest.$ac_objext
21293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21294 (eval $ac_compile) 2>conftest.er1
21295 ac_status=$?
21296 grep -v '^ *+' conftest.er1 >conftest.err
21297 rm -f conftest.er1
21298 cat conftest.err >&5
21299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21300 (exit $ac_status); } &&
21301 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21303 (eval $ac_try) 2>&5
21304 ac_status=$?
21305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21306 (exit $ac_status); }; } &&
21307 { ac_try='test -s conftest.$ac_objext'
21308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21309 (eval $ac_try) 2>&5
21310 ac_status=$?
21311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21312 (exit $ac_status); }; }; then
21313 ac_hi=-1 ac_mid=-1
21314 while :; do
21315 cat >conftest.$ac_ext <<_ACEOF
21316 /* confdefs.h. */
21317 _ACEOF
21318 cat confdefs.h >>conftest.$ac_ext
21319 cat >>conftest.$ac_ext <<_ACEOF
21320 /* end confdefs.h. */
21321 $ac_includes_default
21322 int
21323 main ()
21324 {
21325 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21326 test_array [0] = 0
21327
21328 ;
21329 return 0;
21330 }
21331 _ACEOF
21332 rm -f conftest.$ac_objext
21333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21334 (eval $ac_compile) 2>conftest.er1
21335 ac_status=$?
21336 grep -v '^ *+' conftest.er1 >conftest.err
21337 rm -f conftest.er1
21338 cat conftest.err >&5
21339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21340 (exit $ac_status); } &&
21341 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21343 (eval $ac_try) 2>&5
21344 ac_status=$?
21345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21346 (exit $ac_status); }; } &&
21347 { ac_try='test -s conftest.$ac_objext'
21348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21349 (eval $ac_try) 2>&5
21350 ac_status=$?
21351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21352 (exit $ac_status); }; }; then
21353 ac_lo=$ac_mid; break
21354 else
21355 echo "$as_me: failed program was:" >&5
21356 sed 's/^/| /' conftest.$ac_ext >&5
21357
21358 ac_hi=`expr '(' $ac_mid ')' - 1`
21359 if test $ac_mid -le $ac_hi; then
21360 ac_lo= ac_hi=
21361 break
21362 fi
21363 ac_mid=`expr 2 '*' $ac_mid`
21364 fi
21365 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21366 done
21367 else
21368 echo "$as_me: failed program was:" >&5
21369 sed 's/^/| /' conftest.$ac_ext >&5
21370
21371 ac_lo= ac_hi=
21372 fi
21373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21374 fi
21375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21376 # Binary search between lo and hi bounds.
21377 while test "x$ac_lo" != "x$ac_hi"; do
21378 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21379 cat >conftest.$ac_ext <<_ACEOF
21380 /* confdefs.h. */
21381 _ACEOF
21382 cat confdefs.h >>conftest.$ac_ext
21383 cat >>conftest.$ac_ext <<_ACEOF
21384 /* end confdefs.h. */
21385 $ac_includes_default
21386 int
21387 main ()
21388 {
21389 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21390 test_array [0] = 0
21391
21392 ;
21393 return 0;
21394 }
21395 _ACEOF
21396 rm -f conftest.$ac_objext
21397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21398 (eval $ac_compile) 2>conftest.er1
21399 ac_status=$?
21400 grep -v '^ *+' conftest.er1 >conftest.err
21401 rm -f conftest.er1
21402 cat conftest.err >&5
21403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21404 (exit $ac_status); } &&
21405 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21407 (eval $ac_try) 2>&5
21408 ac_status=$?
21409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21410 (exit $ac_status); }; } &&
21411 { ac_try='test -s conftest.$ac_objext'
21412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21413 (eval $ac_try) 2>&5
21414 ac_status=$?
21415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21416 (exit $ac_status); }; }; then
21417 ac_hi=$ac_mid
21418 else
21419 echo "$as_me: failed program was:" >&5
21420 sed 's/^/| /' conftest.$ac_ext >&5
21421
21422 ac_lo=`expr '(' $ac_mid ')' + 1`
21423 fi
21424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21425 done
21426 case $ac_lo in
21427 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21428 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21429 See \`config.log' for more details." >&5
21430 echo "$as_me: error: cannot compute sizeof (long long), 77
21431 See \`config.log' for more details." >&2;}
21432 { (exit 1); exit 1; }; } ;;
21433 esac
21434 else
21435 if test "$cross_compiling" = yes; then
21436 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21437 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21438 { (exit 1); exit 1; }; }
21439 else
21440 cat >conftest.$ac_ext <<_ACEOF
21441 /* confdefs.h. */
21442 _ACEOF
21443 cat confdefs.h >>conftest.$ac_ext
21444 cat >>conftest.$ac_ext <<_ACEOF
21445 /* end confdefs.h. */
21446 $ac_includes_default
21447 long longval () { return (long) (sizeof (long long)); }
21448 unsigned long ulongval () { return (long) (sizeof (long long)); }
21449 #include <stdio.h>
21450 #include <stdlib.h>
21451 int
21452 main ()
21453 {
21454
21455 FILE *f = fopen ("conftest.val", "w");
21456 if (! f)
21457 exit (1);
21458 if (((long) (sizeof (long long))) < 0)
21459 {
21460 long i = longval ();
21461 if (i != ((long) (sizeof (long long))))
21462 exit (1);
21463 fprintf (f, "%ld\n", i);
21464 }
21465 else
21466 {
21467 unsigned long i = ulongval ();
21468 if (i != ((long) (sizeof (long long))))
21469 exit (1);
21470 fprintf (f, "%lu\n", i);
21471 }
21472 exit (ferror (f) || fclose (f) != 0);
21473
21474 ;
21475 return 0;
21476 }
21477 _ACEOF
21478 rm -f conftest$ac_exeext
21479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21480 (eval $ac_link) 2>&5
21481 ac_status=$?
21482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21483 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21485 (eval $ac_try) 2>&5
21486 ac_status=$?
21487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21488 (exit $ac_status); }; }; then
21489 ac_cv_sizeof_long_long=`cat conftest.val`
21490 else
21491 echo "$as_me: program exited with status $ac_status" >&5
21492 echo "$as_me: failed program was:" >&5
21493 sed 's/^/| /' conftest.$ac_ext >&5
21494
21495 ( exit $ac_status )
21496 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21497 See \`config.log' for more details." >&5
21498 echo "$as_me: error: cannot compute sizeof (long long), 77
21499 See \`config.log' for more details." >&2;}
21500 { (exit 1); exit 1; }; }
21501 fi
21502 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21503 fi
21504 fi
21505 rm -f conftest.val
21506 else
21507 ac_cv_sizeof_long_long=0
21508 fi
21509 fi
21510 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21511 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21512 cat >>confdefs.h <<_ACEOF
21513 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21514 _ACEOF
21515
21516
21517 if test "$ac_cv_sizeof_long_long" != "0"; then
21518 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21519 fi
21520 ;;
21521 * )
21522 echo "$as_me:$LINENO: checking for long long" >&5
21523 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21524 if test "${ac_cv_type_long_long+set}" = set; then
21525 echo $ECHO_N "(cached) $ECHO_C" >&6
21526 else
21527 cat >conftest.$ac_ext <<_ACEOF
21528 /* confdefs.h. */
21529 _ACEOF
21530 cat confdefs.h >>conftest.$ac_ext
21531 cat >>conftest.$ac_ext <<_ACEOF
21532 /* end confdefs.h. */
21533 $ac_includes_default
21534 int
21535 main ()
21536 {
21537 if ((long long *) 0)
21538 return 0;
21539 if (sizeof (long long))
21540 return 0;
21541 ;
21542 return 0;
21543 }
21544 _ACEOF
21545 rm -f conftest.$ac_objext
21546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21547 (eval $ac_compile) 2>conftest.er1
21548 ac_status=$?
21549 grep -v '^ *+' conftest.er1 >conftest.err
21550 rm -f conftest.er1
21551 cat conftest.err >&5
21552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21553 (exit $ac_status); } &&
21554 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21556 (eval $ac_try) 2>&5
21557 ac_status=$?
21558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21559 (exit $ac_status); }; } &&
21560 { ac_try='test -s conftest.$ac_objext'
21561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21562 (eval $ac_try) 2>&5
21563 ac_status=$?
21564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21565 (exit $ac_status); }; }; then
21566 ac_cv_type_long_long=yes
21567 else
21568 echo "$as_me: failed program was:" >&5
21569 sed 's/^/| /' conftest.$ac_ext >&5
21570
21571 ac_cv_type_long_long=no
21572 fi
21573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21574 fi
21575 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21576 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21577
21578 echo "$as_me:$LINENO: checking size of long long" >&5
21579 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21580 if test "${ac_cv_sizeof_long_long+set}" = set; then
21581 echo $ECHO_N "(cached) $ECHO_C" >&6
21582 else
21583 if test "$ac_cv_type_long_long" = yes; then
21584 # The cast to unsigned long works around a bug in the HP C Compiler
21585 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21586 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21587 # This bug is HP SR number 8606223364.
21588 if test "$cross_compiling" = yes; then
21589 # Depending upon the size, compute the lo and hi bounds.
21590 cat >conftest.$ac_ext <<_ACEOF
21591 /* confdefs.h. */
21592 _ACEOF
21593 cat confdefs.h >>conftest.$ac_ext
21594 cat >>conftest.$ac_ext <<_ACEOF
21595 /* end confdefs.h. */
21596 $ac_includes_default
21597 int
21598 main ()
21599 {
21600 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21601 test_array [0] = 0
21602
21603 ;
21604 return 0;
21605 }
21606 _ACEOF
21607 rm -f conftest.$ac_objext
21608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21609 (eval $ac_compile) 2>conftest.er1
21610 ac_status=$?
21611 grep -v '^ *+' conftest.er1 >conftest.err
21612 rm -f conftest.er1
21613 cat conftest.err >&5
21614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21615 (exit $ac_status); } &&
21616 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21618 (eval $ac_try) 2>&5
21619 ac_status=$?
21620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21621 (exit $ac_status); }; } &&
21622 { ac_try='test -s conftest.$ac_objext'
21623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21624 (eval $ac_try) 2>&5
21625 ac_status=$?
21626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21627 (exit $ac_status); }; }; then
21628 ac_lo=0 ac_mid=0
21629 while :; do
21630 cat >conftest.$ac_ext <<_ACEOF
21631 /* confdefs.h. */
21632 _ACEOF
21633 cat confdefs.h >>conftest.$ac_ext
21634 cat >>conftest.$ac_ext <<_ACEOF
21635 /* end confdefs.h. */
21636 $ac_includes_default
21637 int
21638 main ()
21639 {
21640 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21641 test_array [0] = 0
21642
21643 ;
21644 return 0;
21645 }
21646 _ACEOF
21647 rm -f conftest.$ac_objext
21648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21649 (eval $ac_compile) 2>conftest.er1
21650 ac_status=$?
21651 grep -v '^ *+' conftest.er1 >conftest.err
21652 rm -f conftest.er1
21653 cat conftest.err >&5
21654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21655 (exit $ac_status); } &&
21656 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21658 (eval $ac_try) 2>&5
21659 ac_status=$?
21660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21661 (exit $ac_status); }; } &&
21662 { ac_try='test -s conftest.$ac_objext'
21663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21664 (eval $ac_try) 2>&5
21665 ac_status=$?
21666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21667 (exit $ac_status); }; }; then
21668 ac_hi=$ac_mid; break
21669 else
21670 echo "$as_me: failed program was:" >&5
21671 sed 's/^/| /' conftest.$ac_ext >&5
21672
21673 ac_lo=`expr $ac_mid + 1`
21674 if test $ac_lo -le $ac_mid; then
21675 ac_lo= ac_hi=
21676 break
21677 fi
21678 ac_mid=`expr 2 '*' $ac_mid + 1`
21679 fi
21680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21681 done
21682 else
21683 echo "$as_me: failed program was:" >&5
21684 sed 's/^/| /' conftest.$ac_ext >&5
21685
21686 cat >conftest.$ac_ext <<_ACEOF
21687 /* confdefs.h. */
21688 _ACEOF
21689 cat confdefs.h >>conftest.$ac_ext
21690 cat >>conftest.$ac_ext <<_ACEOF
21691 /* end confdefs.h. */
21692 $ac_includes_default
21693 int
21694 main ()
21695 {
21696 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21697 test_array [0] = 0
21698
21699 ;
21700 return 0;
21701 }
21702 _ACEOF
21703 rm -f conftest.$ac_objext
21704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21705 (eval $ac_compile) 2>conftest.er1
21706 ac_status=$?
21707 grep -v '^ *+' conftest.er1 >conftest.err
21708 rm -f conftest.er1
21709 cat conftest.err >&5
21710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21711 (exit $ac_status); } &&
21712 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21714 (eval $ac_try) 2>&5
21715 ac_status=$?
21716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21717 (exit $ac_status); }; } &&
21718 { ac_try='test -s conftest.$ac_objext'
21719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21720 (eval $ac_try) 2>&5
21721 ac_status=$?
21722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21723 (exit $ac_status); }; }; then
21724 ac_hi=-1 ac_mid=-1
21725 while :; do
21726 cat >conftest.$ac_ext <<_ACEOF
21727 /* confdefs.h. */
21728 _ACEOF
21729 cat confdefs.h >>conftest.$ac_ext
21730 cat >>conftest.$ac_ext <<_ACEOF
21731 /* end confdefs.h. */
21732 $ac_includes_default
21733 int
21734 main ()
21735 {
21736 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21737 test_array [0] = 0
21738
21739 ;
21740 return 0;
21741 }
21742 _ACEOF
21743 rm -f conftest.$ac_objext
21744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21745 (eval $ac_compile) 2>conftest.er1
21746 ac_status=$?
21747 grep -v '^ *+' conftest.er1 >conftest.err
21748 rm -f conftest.er1
21749 cat conftest.err >&5
21750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21751 (exit $ac_status); } &&
21752 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21754 (eval $ac_try) 2>&5
21755 ac_status=$?
21756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21757 (exit $ac_status); }; } &&
21758 { ac_try='test -s conftest.$ac_objext'
21759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21760 (eval $ac_try) 2>&5
21761 ac_status=$?
21762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21763 (exit $ac_status); }; }; then
21764 ac_lo=$ac_mid; break
21765 else
21766 echo "$as_me: failed program was:" >&5
21767 sed 's/^/| /' conftest.$ac_ext >&5
21768
21769 ac_hi=`expr '(' $ac_mid ')' - 1`
21770 if test $ac_mid -le $ac_hi; then
21771 ac_lo= ac_hi=
21772 break
21773 fi
21774 ac_mid=`expr 2 '*' $ac_mid`
21775 fi
21776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21777 done
21778 else
21779 echo "$as_me: failed program was:" >&5
21780 sed 's/^/| /' conftest.$ac_ext >&5
21781
21782 ac_lo= ac_hi=
21783 fi
21784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21785 fi
21786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21787 # Binary search between lo and hi bounds.
21788 while test "x$ac_lo" != "x$ac_hi"; do
21789 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21790 cat >conftest.$ac_ext <<_ACEOF
21791 /* confdefs.h. */
21792 _ACEOF
21793 cat confdefs.h >>conftest.$ac_ext
21794 cat >>conftest.$ac_ext <<_ACEOF
21795 /* end confdefs.h. */
21796 $ac_includes_default
21797 int
21798 main ()
21799 {
21800 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21801 test_array [0] = 0
21802
21803 ;
21804 return 0;
21805 }
21806 _ACEOF
21807 rm -f conftest.$ac_objext
21808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21809 (eval $ac_compile) 2>conftest.er1
21810 ac_status=$?
21811 grep -v '^ *+' conftest.er1 >conftest.err
21812 rm -f conftest.er1
21813 cat conftest.err >&5
21814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21815 (exit $ac_status); } &&
21816 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21818 (eval $ac_try) 2>&5
21819 ac_status=$?
21820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21821 (exit $ac_status); }; } &&
21822 { ac_try='test -s conftest.$ac_objext'
21823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21824 (eval $ac_try) 2>&5
21825 ac_status=$?
21826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21827 (exit $ac_status); }; }; then
21828 ac_hi=$ac_mid
21829 else
21830 echo "$as_me: failed program was:" >&5
21831 sed 's/^/| /' conftest.$ac_ext >&5
21832
21833 ac_lo=`expr '(' $ac_mid ')' + 1`
21834 fi
21835 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21836 done
21837 case $ac_lo in
21838 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21839 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21840 See \`config.log' for more details." >&5
21841 echo "$as_me: error: cannot compute sizeof (long long), 77
21842 See \`config.log' for more details." >&2;}
21843 { (exit 1); exit 1; }; } ;;
21844 esac
21845 else
21846 if test "$cross_compiling" = yes; then
21847 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21848 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21849 { (exit 1); exit 1; }; }
21850 else
21851 cat >conftest.$ac_ext <<_ACEOF
21852 /* confdefs.h. */
21853 _ACEOF
21854 cat confdefs.h >>conftest.$ac_ext
21855 cat >>conftest.$ac_ext <<_ACEOF
21856 /* end confdefs.h. */
21857 $ac_includes_default
21858 long longval () { return (long) (sizeof (long long)); }
21859 unsigned long ulongval () { return (long) (sizeof (long long)); }
21860 #include <stdio.h>
21861 #include <stdlib.h>
21862 int
21863 main ()
21864 {
21865
21866 FILE *f = fopen ("conftest.val", "w");
21867 if (! f)
21868 exit (1);
21869 if (((long) (sizeof (long long))) < 0)
21870 {
21871 long i = longval ();
21872 if (i != ((long) (sizeof (long long))))
21873 exit (1);
21874 fprintf (f, "%ld\n", i);
21875 }
21876 else
21877 {
21878 unsigned long i = ulongval ();
21879 if (i != ((long) (sizeof (long long))))
21880 exit (1);
21881 fprintf (f, "%lu\n", i);
21882 }
21883 exit (ferror (f) || fclose (f) != 0);
21884
21885 ;
21886 return 0;
21887 }
21888 _ACEOF
21889 rm -f conftest$ac_exeext
21890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21891 (eval $ac_link) 2>&5
21892 ac_status=$?
21893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21894 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21896 (eval $ac_try) 2>&5
21897 ac_status=$?
21898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21899 (exit $ac_status); }; }; then
21900 ac_cv_sizeof_long_long=`cat conftest.val`
21901 else
21902 echo "$as_me: program exited with status $ac_status" >&5
21903 echo "$as_me: failed program was:" >&5
21904 sed 's/^/| /' conftest.$ac_ext >&5
21905
21906 ( exit $ac_status )
21907 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21908 See \`config.log' for more details." >&5
21909 echo "$as_me: error: cannot compute sizeof (long long), 77
21910 See \`config.log' for more details." >&2;}
21911 { (exit 1); exit 1; }; }
21912 fi
21913 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21914 fi
21915 fi
21916 rm -f conftest.val
21917 else
21918 ac_cv_sizeof_long_long=0
21919 fi
21920 fi
21921 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21922 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21923 cat >>confdefs.h <<_ACEOF
21924 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21925 _ACEOF
21926
21927
21928 esac
21929
21930 echo "$as_me:$LINENO: checking for wchar_t" >&5
21931 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21932 if test "${ac_cv_type_wchar_t+set}" = set; then
21933 echo $ECHO_N "(cached) $ECHO_C" >&6
21934 else
21935 cat >conftest.$ac_ext <<_ACEOF
21936 /* confdefs.h. */
21937 _ACEOF
21938 cat confdefs.h >>conftest.$ac_ext
21939 cat >>conftest.$ac_ext <<_ACEOF
21940 /* end confdefs.h. */
21941
21942 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21943 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21944 # error "fake wchar_t"
21945 #endif
21946 #ifdef HAVE_WCHAR_H
21947 # ifdef __CYGWIN__
21948 # include <stddef.h>
21949 # endif
21950 # include <wchar.h>
21951 #endif
21952 #ifdef HAVE_STDLIB_H
21953 # include <stdlib.h>
21954 #endif
21955 #include <stdio.h>
21956
21957
21958
21959 int
21960 main ()
21961 {
21962 if ((wchar_t *) 0)
21963 return 0;
21964 if (sizeof (wchar_t))
21965 return 0;
21966 ;
21967 return 0;
21968 }
21969 _ACEOF
21970 rm -f conftest.$ac_objext
21971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21972 (eval $ac_compile) 2>conftest.er1
21973 ac_status=$?
21974 grep -v '^ *+' conftest.er1 >conftest.err
21975 rm -f conftest.er1
21976 cat conftest.err >&5
21977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21978 (exit $ac_status); } &&
21979 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21981 (eval $ac_try) 2>&5
21982 ac_status=$?
21983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21984 (exit $ac_status); }; } &&
21985 { ac_try='test -s conftest.$ac_objext'
21986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21987 (eval $ac_try) 2>&5
21988 ac_status=$?
21989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21990 (exit $ac_status); }; }; then
21991 ac_cv_type_wchar_t=yes
21992 else
21993 echo "$as_me: failed program was:" >&5
21994 sed 's/^/| /' conftest.$ac_ext >&5
21995
21996 ac_cv_type_wchar_t=no
21997 fi
21998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21999 fi
22000 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22001 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
22002
22003 echo "$as_me:$LINENO: checking size of wchar_t" >&5
22004 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
22005 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22006 echo $ECHO_N "(cached) $ECHO_C" >&6
22007 else
22008 if test "$ac_cv_type_wchar_t" = yes; then
22009 # The cast to unsigned long works around a bug in the HP C Compiler
22010 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22011 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22012 # This bug is HP SR number 8606223364.
22013 if test "$cross_compiling" = yes; then
22014 # Depending upon the size, compute the lo and hi bounds.
22015 cat >conftest.$ac_ext <<_ACEOF
22016 /* confdefs.h. */
22017 _ACEOF
22018 cat confdefs.h >>conftest.$ac_ext
22019 cat >>conftest.$ac_ext <<_ACEOF
22020 /* end confdefs.h. */
22021
22022 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22023 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22024 # error "fake wchar_t"
22025 #endif
22026 #ifdef HAVE_WCHAR_H
22027 # ifdef __CYGWIN__
22028 # include <stddef.h>
22029 # endif
22030 # include <wchar.h>
22031 #endif
22032 #ifdef HAVE_STDLIB_H
22033 # include <stdlib.h>
22034 #endif
22035 #include <stdio.h>
22036
22037
22038
22039 int
22040 main ()
22041 {
22042 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
22043 test_array [0] = 0
22044
22045 ;
22046 return 0;
22047 }
22048 _ACEOF
22049 rm -f conftest.$ac_objext
22050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22051 (eval $ac_compile) 2>conftest.er1
22052 ac_status=$?
22053 grep -v '^ *+' conftest.er1 >conftest.err
22054 rm -f conftest.er1
22055 cat conftest.err >&5
22056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22057 (exit $ac_status); } &&
22058 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22060 (eval $ac_try) 2>&5
22061 ac_status=$?
22062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22063 (exit $ac_status); }; } &&
22064 { ac_try='test -s conftest.$ac_objext'
22065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22066 (eval $ac_try) 2>&5
22067 ac_status=$?
22068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22069 (exit $ac_status); }; }; then
22070 ac_lo=0 ac_mid=0
22071 while :; do
22072 cat >conftest.$ac_ext <<_ACEOF
22073 /* confdefs.h. */
22074 _ACEOF
22075 cat confdefs.h >>conftest.$ac_ext
22076 cat >>conftest.$ac_ext <<_ACEOF
22077 /* end confdefs.h. */
22078
22079 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22080 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22081 # error "fake wchar_t"
22082 #endif
22083 #ifdef HAVE_WCHAR_H
22084 # ifdef __CYGWIN__
22085 # include <stddef.h>
22086 # endif
22087 # include <wchar.h>
22088 #endif
22089 #ifdef HAVE_STDLIB_H
22090 # include <stdlib.h>
22091 #endif
22092 #include <stdio.h>
22093
22094
22095
22096 int
22097 main ()
22098 {
22099 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
22100 test_array [0] = 0
22101
22102 ;
22103 return 0;
22104 }
22105 _ACEOF
22106 rm -f conftest.$ac_objext
22107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22108 (eval $ac_compile) 2>conftest.er1
22109 ac_status=$?
22110 grep -v '^ *+' conftest.er1 >conftest.err
22111 rm -f conftest.er1
22112 cat conftest.err >&5
22113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22114 (exit $ac_status); } &&
22115 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22117 (eval $ac_try) 2>&5
22118 ac_status=$?
22119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22120 (exit $ac_status); }; } &&
22121 { ac_try='test -s conftest.$ac_objext'
22122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22123 (eval $ac_try) 2>&5
22124 ac_status=$?
22125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22126 (exit $ac_status); }; }; then
22127 ac_hi=$ac_mid; break
22128 else
22129 echo "$as_me: failed program was:" >&5
22130 sed 's/^/| /' conftest.$ac_ext >&5
22131
22132 ac_lo=`expr $ac_mid + 1`
22133 if test $ac_lo -le $ac_mid; then
22134 ac_lo= ac_hi=
22135 break
22136 fi
22137 ac_mid=`expr 2 '*' $ac_mid + 1`
22138 fi
22139 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22140 done
22141 else
22142 echo "$as_me: failed program was:" >&5
22143 sed 's/^/| /' conftest.$ac_ext >&5
22144
22145 cat >conftest.$ac_ext <<_ACEOF
22146 /* confdefs.h. */
22147 _ACEOF
22148 cat confdefs.h >>conftest.$ac_ext
22149 cat >>conftest.$ac_ext <<_ACEOF
22150 /* end confdefs.h. */
22151
22152 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22153 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22154 # error "fake wchar_t"
22155 #endif
22156 #ifdef HAVE_WCHAR_H
22157 # ifdef __CYGWIN__
22158 # include <stddef.h>
22159 # endif
22160 # include <wchar.h>
22161 #endif
22162 #ifdef HAVE_STDLIB_H
22163 # include <stdlib.h>
22164 #endif
22165 #include <stdio.h>
22166
22167
22168
22169 int
22170 main ()
22171 {
22172 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
22173 test_array [0] = 0
22174
22175 ;
22176 return 0;
22177 }
22178 _ACEOF
22179 rm -f conftest.$ac_objext
22180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22181 (eval $ac_compile) 2>conftest.er1
22182 ac_status=$?
22183 grep -v '^ *+' conftest.er1 >conftest.err
22184 rm -f conftest.er1
22185 cat conftest.err >&5
22186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22187 (exit $ac_status); } &&
22188 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22190 (eval $ac_try) 2>&5
22191 ac_status=$?
22192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22193 (exit $ac_status); }; } &&
22194 { ac_try='test -s conftest.$ac_objext'
22195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22196 (eval $ac_try) 2>&5
22197 ac_status=$?
22198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22199 (exit $ac_status); }; }; then
22200 ac_hi=-1 ac_mid=-1
22201 while :; do
22202 cat >conftest.$ac_ext <<_ACEOF
22203 /* confdefs.h. */
22204 _ACEOF
22205 cat confdefs.h >>conftest.$ac_ext
22206 cat >>conftest.$ac_ext <<_ACEOF
22207 /* end confdefs.h. */
22208
22209 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22210 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22211 # error "fake wchar_t"
22212 #endif
22213 #ifdef HAVE_WCHAR_H
22214 # ifdef __CYGWIN__
22215 # include <stddef.h>
22216 # endif
22217 # include <wchar.h>
22218 #endif
22219 #ifdef HAVE_STDLIB_H
22220 # include <stdlib.h>
22221 #endif
22222 #include <stdio.h>
22223
22224
22225
22226 int
22227 main ()
22228 {
22229 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
22230 test_array [0] = 0
22231
22232 ;
22233 return 0;
22234 }
22235 _ACEOF
22236 rm -f conftest.$ac_objext
22237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22238 (eval $ac_compile) 2>conftest.er1
22239 ac_status=$?
22240 grep -v '^ *+' conftest.er1 >conftest.err
22241 rm -f conftest.er1
22242 cat conftest.err >&5
22243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22244 (exit $ac_status); } &&
22245 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22247 (eval $ac_try) 2>&5
22248 ac_status=$?
22249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22250 (exit $ac_status); }; } &&
22251 { ac_try='test -s conftest.$ac_objext'
22252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22253 (eval $ac_try) 2>&5
22254 ac_status=$?
22255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22256 (exit $ac_status); }; }; then
22257 ac_lo=$ac_mid; break
22258 else
22259 echo "$as_me: failed program was:" >&5
22260 sed 's/^/| /' conftest.$ac_ext >&5
22261
22262 ac_hi=`expr '(' $ac_mid ')' - 1`
22263 if test $ac_mid -le $ac_hi; then
22264 ac_lo= ac_hi=
22265 break
22266 fi
22267 ac_mid=`expr 2 '*' $ac_mid`
22268 fi
22269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22270 done
22271 else
22272 echo "$as_me: failed program was:" >&5
22273 sed 's/^/| /' conftest.$ac_ext >&5
22274
22275 ac_lo= ac_hi=
22276 fi
22277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22278 fi
22279 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22280 # Binary search between lo and hi bounds.
22281 while test "x$ac_lo" != "x$ac_hi"; do
22282 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22283 cat >conftest.$ac_ext <<_ACEOF
22284 /* confdefs.h. */
22285 _ACEOF
22286 cat confdefs.h >>conftest.$ac_ext
22287 cat >>conftest.$ac_ext <<_ACEOF
22288 /* end confdefs.h. */
22289
22290 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22291 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22292 # error "fake wchar_t"
22293 #endif
22294 #ifdef HAVE_WCHAR_H
22295 # ifdef __CYGWIN__
22296 # include <stddef.h>
22297 # endif
22298 # include <wchar.h>
22299 #endif
22300 #ifdef HAVE_STDLIB_H
22301 # include <stdlib.h>
22302 #endif
22303 #include <stdio.h>
22304
22305
22306
22307 int
22308 main ()
22309 {
22310 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
22311 test_array [0] = 0
22312
22313 ;
22314 return 0;
22315 }
22316 _ACEOF
22317 rm -f conftest.$ac_objext
22318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22319 (eval $ac_compile) 2>conftest.er1
22320 ac_status=$?
22321 grep -v '^ *+' conftest.er1 >conftest.err
22322 rm -f conftest.er1
22323 cat conftest.err >&5
22324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22325 (exit $ac_status); } &&
22326 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22328 (eval $ac_try) 2>&5
22329 ac_status=$?
22330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22331 (exit $ac_status); }; } &&
22332 { ac_try='test -s conftest.$ac_objext'
22333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22334 (eval $ac_try) 2>&5
22335 ac_status=$?
22336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22337 (exit $ac_status); }; }; then
22338 ac_hi=$ac_mid
22339 else
22340 echo "$as_me: failed program was:" >&5
22341 sed 's/^/| /' conftest.$ac_ext >&5
22342
22343 ac_lo=`expr '(' $ac_mid ')' + 1`
22344 fi
22345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22346 done
22347 case $ac_lo in
22348 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22349 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22350 See \`config.log' for more details." >&5
22351 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22352 See \`config.log' for more details." >&2;}
22353 { (exit 1); exit 1; }; } ;;
22354 esac
22355 else
22356 if test "$cross_compiling" = yes; then
22357 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22358 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22359 { (exit 1); exit 1; }; }
22360 else
22361 cat >conftest.$ac_ext <<_ACEOF
22362 /* confdefs.h. */
22363 _ACEOF
22364 cat confdefs.h >>conftest.$ac_ext
22365 cat >>conftest.$ac_ext <<_ACEOF
22366 /* end confdefs.h. */
22367
22368 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22369 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22370 # error "fake wchar_t"
22371 #endif
22372 #ifdef HAVE_WCHAR_H
22373 # ifdef __CYGWIN__
22374 # include <stddef.h>
22375 # endif
22376 # include <wchar.h>
22377 #endif
22378 #ifdef HAVE_STDLIB_H
22379 # include <stdlib.h>
22380 #endif
22381 #include <stdio.h>
22382
22383
22384
22385 long longval () { return (long) (sizeof (wchar_t)); }
22386 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
22387 #include <stdio.h>
22388 #include <stdlib.h>
22389 int
22390 main ()
22391 {
22392
22393 FILE *f = fopen ("conftest.val", "w");
22394 if (! f)
22395 exit (1);
22396 if (((long) (sizeof (wchar_t))) < 0)
22397 {
22398 long i = longval ();
22399 if (i != ((long) (sizeof (wchar_t))))
22400 exit (1);
22401 fprintf (f, "%ld\n", i);
22402 }
22403 else
22404 {
22405 unsigned long i = ulongval ();
22406 if (i != ((long) (sizeof (wchar_t))))
22407 exit (1);
22408 fprintf (f, "%lu\n", i);
22409 }
22410 exit (ferror (f) || fclose (f) != 0);
22411
22412 ;
22413 return 0;
22414 }
22415 _ACEOF
22416 rm -f conftest$ac_exeext
22417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22418 (eval $ac_link) 2>&5
22419 ac_status=$?
22420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22423 (eval $ac_try) 2>&5
22424 ac_status=$?
22425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22426 (exit $ac_status); }; }; then
22427 ac_cv_sizeof_wchar_t=`cat conftest.val`
22428 else
22429 echo "$as_me: program exited with status $ac_status" >&5
22430 echo "$as_me: failed program was:" >&5
22431 sed 's/^/| /' conftest.$ac_ext >&5
22432
22433 ( exit $ac_status )
22434 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22435 See \`config.log' for more details." >&5
22436 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22437 See \`config.log' for more details." >&2;}
22438 { (exit 1); exit 1; }; }
22439 fi
22440 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22441 fi
22442 fi
22443 rm -f conftest.val
22444 else
22445 ac_cv_sizeof_wchar_t=0
22446 fi
22447 fi
22448 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22449 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
22450 cat >>confdefs.h <<_ACEOF
22451 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22452 _ACEOF
22453
22454
22455 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22456 wxUSE_WCHAR_T=yes
22457 else
22458 wxUSE_WCHAR_T=no
22459 fi
22460
22461 echo "$as_me:$LINENO: checking for va_copy" >&5
22462 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
22463 if test "${wx_cv_func_va_copy+set}" = set; then
22464 echo $ECHO_N "(cached) $ECHO_C" >&6
22465 else
22466
22467 cat >conftest.$ac_ext <<_ACEOF
22468
22469 #include <stdarg.h>
22470 void foo(char *f, ...)
22471 {
22472 va_list ap1, ap2;
22473 va_start(ap1, f);
22474 va_copy(ap2, ap1);
22475 va_end(ap2);
22476 va_end(ap1);
22477 }
22478 int main()
22479 {
22480 foo("hi", 17);
22481 return 0;
22482 }
22483 _ACEOF
22484 rm -f conftest.$ac_objext conftest$ac_exeext
22485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22486 (eval $ac_link) 2>conftest.er1
22487 ac_status=$?
22488 grep -v '^ *+' conftest.er1 >conftest.err
22489 rm -f conftest.er1
22490 cat conftest.err >&5
22491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22492 (exit $ac_status); } &&
22493 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22495 (eval $ac_try) 2>&5
22496 ac_status=$?
22497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22498 (exit $ac_status); }; } &&
22499 { ac_try='test -s conftest$ac_exeext'
22500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22501 (eval $ac_try) 2>&5
22502 ac_status=$?
22503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22504 (exit $ac_status); }; }; then
22505 wx_cv_func_va_copy=yes
22506 else
22507 echo "$as_me: failed program was:" >&5
22508 sed 's/^/| /' conftest.$ac_ext >&5
22509
22510 wx_cv_func_va_copy=no
22511
22512 fi
22513 rm -f conftest.err conftest.$ac_objext \
22514 conftest$ac_exeext conftest.$ac_ext
22515
22516
22517 fi
22518 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22519 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22520
22521 if test $wx_cv_func_va_copy = "yes"; then
22522 cat >>confdefs.h <<\_ACEOF
22523 #define HAVE_VA_COPY 1
22524 _ACEOF
22525
22526 else
22527 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22528 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22529 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22530 echo $ECHO_N "(cached) $ECHO_C" >&6
22531 else
22532
22533 if test "$cross_compiling" = yes; then
22534 wx_cv_type_va_list_lvalue=yes
22535
22536 else
22537 cat >conftest.$ac_ext <<_ACEOF
22538
22539 #include <stdarg.h>
22540 int foo(char *f, ...)
22541 {
22542 va_list ap1, ap2;
22543 va_start(ap1, f);
22544 ap2 = ap1;
22545 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22546 return 1;
22547 va_end(ap2);
22548 va_end(ap1);
22549 return 0;
22550 }
22551 int main()
22552 {
22553 return foo("hi", 17);
22554 }
22555 _ACEOF
22556 rm -f conftest$ac_exeext
22557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22558 (eval $ac_link) 2>&5
22559 ac_status=$?
22560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22561 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22563 (eval $ac_try) 2>&5
22564 ac_status=$?
22565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22566 (exit $ac_status); }; }; then
22567 wx_cv_type_va_list_lvalue=yes
22568 else
22569 echo "$as_me: program exited with status $ac_status" >&5
22570 echo "$as_me: failed program was:" >&5
22571 sed 's/^/| /' conftest.$ac_ext >&5
22572
22573 ( exit $ac_status )
22574 wx_cv_type_va_list_lvalue=no
22575 fi
22576 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22577 fi
22578
22579
22580 fi
22581 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22582 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22583
22584 if test $wx_cv_type_va_list_lvalue != "yes"; then
22585 cat >>confdefs.h <<\_ACEOF
22586 #define VA_LIST_IS_ARRAY 1
22587 _ACEOF
22588
22589 fi
22590 fi
22591
22592 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22593 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
22594 if test "${wx_cv_have_variadic_macros+set}" = set; then
22595 echo $ECHO_N "(cached) $ECHO_C" >&6
22596 else
22597
22598 cat >conftest.$ac_ext <<_ACEOF
22599 /* confdefs.h. */
22600 _ACEOF
22601 cat confdefs.h >>conftest.$ac_ext
22602 cat >>conftest.$ac_ext <<_ACEOF
22603 /* end confdefs.h. */
22604
22605 #include <stdio.h>
22606 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22607
22608 int
22609 main ()
22610 {
22611
22612 test("%s %d %p", "test", 1, 0);
22613
22614
22615 ;
22616 return 0;
22617 }
22618 _ACEOF
22619 rm -f conftest.$ac_objext
22620 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22621 (eval $ac_compile) 2>conftest.er1
22622 ac_status=$?
22623 grep -v '^ *+' conftest.er1 >conftest.err
22624 rm -f conftest.er1
22625 cat conftest.err >&5
22626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22627 (exit $ac_status); } &&
22628 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22630 (eval $ac_try) 2>&5
22631 ac_status=$?
22632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22633 (exit $ac_status); }; } &&
22634 { ac_try='test -s conftest.$ac_objext'
22635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22636 (eval $ac_try) 2>&5
22637 ac_status=$?
22638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22639 (exit $ac_status); }; }; then
22640 wx_cv_have_variadic_macros=yes
22641 else
22642 echo "$as_me: failed program was:" >&5
22643 sed 's/^/| /' conftest.$ac_ext >&5
22644
22645 wx_cv_have_variadic_macros=no
22646
22647 fi
22648 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22649
22650
22651 fi
22652 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22653 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
22654
22655 if test $wx_cv_have_variadic_macros = "yes"; then
22656 cat >>confdefs.h <<\_ACEOF
22657 #define HAVE_VARIADIC_MACROS 1
22658 _ACEOF
22659
22660 fi
22661
22662 # Check whether --enable-largefile or --disable-largefile was given.
22663 if test "${enable_largefile+set}" = set; then
22664 enableval="$enable_largefile"
22665
22666 fi;
22667 if test "$enable_largefile" != no; then
22668 wx_largefile=no
22669
22670 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22671 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22672 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22673 echo $ECHO_N "(cached) $ECHO_C" >&6
22674 else
22675
22676 cat >conftest.$ac_ext <<_ACEOF
22677 /* confdefs.h. */
22678 _ACEOF
22679 cat confdefs.h >>conftest.$ac_ext
22680 cat >>conftest.$ac_ext <<_ACEOF
22681 /* end confdefs.h. */
22682 #define _FILE_OFFSET_BITS 64
22683 #include <sys/types.h>
22684 int
22685 main ()
22686 {
22687 typedef struct {
22688 unsigned int field: sizeof(off_t) == 8;
22689 } wxlf;
22690
22691 ;
22692 return 0;
22693 }
22694 _ACEOF
22695 rm -f conftest.$ac_objext
22696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22697 (eval $ac_compile) 2>conftest.er1
22698 ac_status=$?
22699 grep -v '^ *+' conftest.er1 >conftest.err
22700 rm -f conftest.er1
22701 cat conftest.err >&5
22702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22703 (exit $ac_status); } &&
22704 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22706 (eval $ac_try) 2>&5
22707 ac_status=$?
22708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22709 (exit $ac_status); }; } &&
22710 { ac_try='test -s conftest.$ac_objext'
22711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22712 (eval $ac_try) 2>&5
22713 ac_status=$?
22714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22715 (exit $ac_status); }; }; then
22716 ac_cv_sys_file_offset_bits=64
22717 else
22718 echo "$as_me: failed program was:" >&5
22719 sed 's/^/| /' conftest.$ac_ext >&5
22720
22721 ac_cv_sys_file_offset_bits=no
22722 fi
22723 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22724
22725
22726 fi
22727 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22728 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22729
22730 if test "$ac_cv_sys_file_offset_bits" != no; then
22731 wx_largefile=yes
22732 cat >>confdefs.h <<_ACEOF
22733 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22734 _ACEOF
22735
22736 fi
22737
22738 if test "x$wx_largefile" != "xyes"; then
22739
22740 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22741 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22742 if test "${ac_cv_sys_large_files+set}" = set; then
22743 echo $ECHO_N "(cached) $ECHO_C" >&6
22744 else
22745
22746 cat >conftest.$ac_ext <<_ACEOF
22747 /* confdefs.h. */
22748 _ACEOF
22749 cat confdefs.h >>conftest.$ac_ext
22750 cat >>conftest.$ac_ext <<_ACEOF
22751 /* end confdefs.h. */
22752 #define _LARGE_FILES 1
22753 #include <sys/types.h>
22754 int
22755 main ()
22756 {
22757 typedef struct {
22758 unsigned int field: sizeof(off_t) == 8;
22759 } wxlf;
22760
22761 ;
22762 return 0;
22763 }
22764 _ACEOF
22765 rm -f conftest.$ac_objext
22766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22767 (eval $ac_compile) 2>conftest.er1
22768 ac_status=$?
22769 grep -v '^ *+' conftest.er1 >conftest.err
22770 rm -f conftest.er1
22771 cat conftest.err >&5
22772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22773 (exit $ac_status); } &&
22774 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22776 (eval $ac_try) 2>&5
22777 ac_status=$?
22778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22779 (exit $ac_status); }; } &&
22780 { ac_try='test -s conftest.$ac_objext'
22781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22782 (eval $ac_try) 2>&5
22783 ac_status=$?
22784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22785 (exit $ac_status); }; }; then
22786 ac_cv_sys_large_files=1
22787 else
22788 echo "$as_me: failed program was:" >&5
22789 sed 's/^/| /' conftest.$ac_ext >&5
22790
22791 ac_cv_sys_large_files=no
22792 fi
22793 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22794
22795
22796 fi
22797 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22798 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22799
22800 if test "$ac_cv_sys_large_files" != no; then
22801 wx_largefile=yes
22802 cat >>confdefs.h <<_ACEOF
22803 #define _LARGE_FILES $ac_cv_sys_large_files
22804 _ACEOF
22805
22806 fi
22807
22808 fi
22809
22810 echo "$as_me:$LINENO: checking if large file support is available" >&5
22811 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22812 if test "x$wx_largefile" = "xyes"; then
22813 cat >>confdefs.h <<\_ACEOF
22814 #define HAVE_LARGEFILE_SUPPORT 1
22815 _ACEOF
22816
22817 fi
22818 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22819 echo "${ECHO_T}$wx_largefile" >&6
22820 fi
22821
22822
22823 if test "x$wx_largefile" = "xyes"; then
22824 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22825 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22826
22827 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22828 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22829 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22830 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22831 echo $ECHO_N "(cached) $ECHO_C" >&6
22832 else
22833
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
22841 int
22842 main ()
22843 {
22844
22845 #ifndef __STDC_EXT__
22846 choke me
22847 #endif
22848
22849 ;
22850 return 0;
22851 }
22852 _ACEOF
22853 rm -f conftest.$ac_objext
22854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22855 (eval $ac_compile) 2>conftest.er1
22856 ac_status=$?
22857 grep -v '^ *+' conftest.er1 >conftest.err
22858 rm -f conftest.er1
22859 cat conftest.err >&5
22860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22861 (exit $ac_status); } &&
22862 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22864 (eval $ac_try) 2>&5
22865 ac_status=$?
22866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22867 (exit $ac_status); }; } &&
22868 { ac_try='test -s conftest.$ac_objext'
22869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22870 (eval $ac_try) 2>&5
22871 ac_status=$?
22872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22873 (exit $ac_status); }; }; then
22874 wx_cv_STDC_EXT_required=no
22875 else
22876 echo "$as_me: failed program was:" >&5
22877 sed 's/^/| /' conftest.$ac_ext >&5
22878
22879 wx_cv_STDC_EXT_required=yes
22880
22881 fi
22882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22883
22884
22885 fi
22886 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22887 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22888 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22889 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22890 fi
22891 fi
22892 else
22893 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22894 fi
22895 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22896 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22897 if test "${ac_cv_sys_largefile_source+set}" = set; then
22898 echo $ECHO_N "(cached) $ECHO_C" >&6
22899 else
22900 while :; do
22901 ac_cv_sys_largefile_source=no
22902 cat >conftest.$ac_ext <<_ACEOF
22903 /* confdefs.h. */
22904 _ACEOF
22905 cat confdefs.h >>conftest.$ac_ext
22906 cat >>conftest.$ac_ext <<_ACEOF
22907 /* end confdefs.h. */
22908 #include <stdio.h>
22909 int
22910 main ()
22911 {
22912 return !fseeko;
22913 ;
22914 return 0;
22915 }
22916 _ACEOF
22917 rm -f conftest.$ac_objext
22918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22919 (eval $ac_compile) 2>conftest.er1
22920 ac_status=$?
22921 grep -v '^ *+' conftest.er1 >conftest.err
22922 rm -f conftest.er1
22923 cat conftest.err >&5
22924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22925 (exit $ac_status); } &&
22926 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22928 (eval $ac_try) 2>&5
22929 ac_status=$?
22930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22931 (exit $ac_status); }; } &&
22932 { ac_try='test -s conftest.$ac_objext'
22933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22934 (eval $ac_try) 2>&5
22935 ac_status=$?
22936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22937 (exit $ac_status); }; }; then
22938 break
22939 else
22940 echo "$as_me: failed program was:" >&5
22941 sed 's/^/| /' conftest.$ac_ext >&5
22942
22943 fi
22944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22945 cat >conftest.$ac_ext <<_ACEOF
22946 /* confdefs.h. */
22947 _ACEOF
22948 cat confdefs.h >>conftest.$ac_ext
22949 cat >>conftest.$ac_ext <<_ACEOF
22950 /* end confdefs.h. */
22951 #define _LARGEFILE_SOURCE 1
22952 #include <stdio.h>
22953 int
22954 main ()
22955 {
22956 return !fseeko;
22957 ;
22958 return 0;
22959 }
22960 _ACEOF
22961 rm -f conftest.$ac_objext
22962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22963 (eval $ac_compile) 2>conftest.er1
22964 ac_status=$?
22965 grep -v '^ *+' conftest.er1 >conftest.err
22966 rm -f conftest.er1
22967 cat conftest.err >&5
22968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22969 (exit $ac_status); } &&
22970 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22972 (eval $ac_try) 2>&5
22973 ac_status=$?
22974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22975 (exit $ac_status); }; } &&
22976 { ac_try='test -s conftest.$ac_objext'
22977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22978 (eval $ac_try) 2>&5
22979 ac_status=$?
22980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22981 (exit $ac_status); }; }; then
22982 ac_cv_sys_largefile_source=1; break
22983 else
22984 echo "$as_me: failed program was:" >&5
22985 sed 's/^/| /' conftest.$ac_ext >&5
22986
22987 fi
22988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22989 break
22990 done
22991 fi
22992 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22993 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22994 if test "$ac_cv_sys_largefile_source" != no; then
22995
22996 cat >>confdefs.h <<_ACEOF
22997 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22998 _ACEOF
22999
23000 fi
23001 rm -f conftest*
23002
23003 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23004 # in glibc 2.1.3, but that breaks too many other things.
23005 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23006 echo "$as_me:$LINENO: checking for fseeko" >&5
23007 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
23008 if test "${ac_cv_func_fseeko+set}" = set; then
23009 echo $ECHO_N "(cached) $ECHO_C" >&6
23010 else
23011 cat >conftest.$ac_ext <<_ACEOF
23012 /* confdefs.h. */
23013 _ACEOF
23014 cat confdefs.h >>conftest.$ac_ext
23015 cat >>conftest.$ac_ext <<_ACEOF
23016 /* end confdefs.h. */
23017 #include <stdio.h>
23018 int
23019 main ()
23020 {
23021 return fseeko && fseeko (stdin, 0, 0);
23022 ;
23023 return 0;
23024 }
23025 _ACEOF
23026 rm -f conftest.$ac_objext conftest$ac_exeext
23027 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23028 (eval $ac_link) 2>conftest.er1
23029 ac_status=$?
23030 grep -v '^ *+' conftest.er1 >conftest.err
23031 rm -f conftest.er1
23032 cat conftest.err >&5
23033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23034 (exit $ac_status); } &&
23035 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23037 (eval $ac_try) 2>&5
23038 ac_status=$?
23039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23040 (exit $ac_status); }; } &&
23041 { ac_try='test -s conftest$ac_exeext'
23042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23043 (eval $ac_try) 2>&5
23044 ac_status=$?
23045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23046 (exit $ac_status); }; }; then
23047 ac_cv_func_fseeko=yes
23048 else
23049 echo "$as_me: failed program was:" >&5
23050 sed 's/^/| /' conftest.$ac_ext >&5
23051
23052 ac_cv_func_fseeko=no
23053 fi
23054 rm -f conftest.err conftest.$ac_objext \
23055 conftest$ac_exeext conftest.$ac_ext
23056 fi
23057 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
23058 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
23059 if test $ac_cv_func_fseeko = yes; then
23060
23061 cat >>confdefs.h <<\_ACEOF
23062 #define HAVE_FSEEKO 1
23063 _ACEOF
23064
23065 fi
23066
23067 if test "$ac_cv_sys_largefile_source" != no; then
23068 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23069 fi
23070 fi
23071
23072 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23073 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
23074 if test "${ac_cv_c_bigendian+set}" = set; then
23075 echo $ECHO_N "(cached) $ECHO_C" >&6
23076 else
23077 ac_cv_c_bigendian=unknown
23078 # See if sys/param.h defines the BYTE_ORDER macro.
23079 cat >conftest.$ac_ext <<_ACEOF
23080 /* confdefs.h. */
23081 _ACEOF
23082 cat confdefs.h >>conftest.$ac_ext
23083 cat >>conftest.$ac_ext <<_ACEOF
23084 /* end confdefs.h. */
23085 #include <sys/types.h>
23086 #include <sys/param.h>
23087 int
23088 main ()
23089 {
23090
23091 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23092 bogus endian macros
23093 #endif
23094 ;
23095 return 0;
23096 }
23097 _ACEOF
23098 rm -f conftest.$ac_objext
23099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23100 (eval $ac_compile) 2>conftest.er1
23101 ac_status=$?
23102 grep -v '^ *+' conftest.er1 >conftest.err
23103 rm -f conftest.er1
23104 cat conftest.err >&5
23105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23106 (exit $ac_status); } &&
23107 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23109 (eval $ac_try) 2>&5
23110 ac_status=$?
23111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23112 (exit $ac_status); }; } &&
23113 { ac_try='test -s conftest.$ac_objext'
23114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23115 (eval $ac_try) 2>&5
23116 ac_status=$?
23117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23118 (exit $ac_status); }; }; then
23119 # It does; now see whether it defined to BIG_ENDIAN or not.
23120 cat >conftest.$ac_ext <<_ACEOF
23121 /* confdefs.h. */
23122 _ACEOF
23123 cat confdefs.h >>conftest.$ac_ext
23124 cat >>conftest.$ac_ext <<_ACEOF
23125 /* end confdefs.h. */
23126 #include <sys/types.h>
23127 #include <sys/param.h>
23128 int
23129 main ()
23130 {
23131
23132 #if BYTE_ORDER != BIG_ENDIAN
23133 not big endian
23134 #endif
23135 ;
23136 return 0;
23137 }
23138 _ACEOF
23139 rm -f conftest.$ac_objext
23140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23141 (eval $ac_compile) 2>conftest.er1
23142 ac_status=$?
23143 grep -v '^ *+' conftest.er1 >conftest.err
23144 rm -f conftest.er1
23145 cat conftest.err >&5
23146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23147 (exit $ac_status); } &&
23148 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23150 (eval $ac_try) 2>&5
23151 ac_status=$?
23152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23153 (exit $ac_status); }; } &&
23154 { ac_try='test -s conftest.$ac_objext'
23155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23156 (eval $ac_try) 2>&5
23157 ac_status=$?
23158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23159 (exit $ac_status); }; }; then
23160 ac_cv_c_bigendian=yes
23161 else
23162 echo "$as_me: failed program was:" >&5
23163 sed 's/^/| /' conftest.$ac_ext >&5
23164
23165 ac_cv_c_bigendian=no
23166 fi
23167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23168 else
23169 echo "$as_me: failed program was:" >&5
23170 sed 's/^/| /' conftest.$ac_ext >&5
23171
23172 fi
23173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23174 if test $ac_cv_c_bigendian = unknown; then
23175 if test "$cross_compiling" = yes; then
23176 ac_cv_c_bigendian=unknown
23177 else
23178 cat >conftest.$ac_ext <<_ACEOF
23179 /* confdefs.h. */
23180 _ACEOF
23181 cat confdefs.h >>conftest.$ac_ext
23182 cat >>conftest.$ac_ext <<_ACEOF
23183 /* end confdefs.h. */
23184 main () {
23185 /* Are we little or big endian? From Harbison&Steele. */
23186 union
23187 {
23188 long l;
23189 char c[sizeof (long)];
23190 } u;
23191 u.l = 1;
23192 exit (u.c[sizeof (long) - 1] == 1);
23193 }
23194 _ACEOF
23195 rm -f conftest$ac_exeext
23196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23197 (eval $ac_link) 2>&5
23198 ac_status=$?
23199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23200 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23202 (eval $ac_try) 2>&5
23203 ac_status=$?
23204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23205 (exit $ac_status); }; }; then
23206 ac_cv_c_bigendian=no
23207 else
23208 echo "$as_me: program exited with status $ac_status" >&5
23209 echo "$as_me: failed program was:" >&5
23210 sed 's/^/| /' conftest.$ac_ext >&5
23211
23212 ( exit $ac_status )
23213 ac_cv_c_bigendian=yes
23214 fi
23215 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23216 fi
23217 fi
23218 fi
23219 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23220 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
23221 if test $ac_cv_c_bigendian = unknown; then
23222 { 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
23223 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;}
23224 fi
23225 if test $ac_cv_c_bigendian = yes; then
23226 cat >>confdefs.h <<\_ACEOF
23227 #define WORDS_BIGENDIAN 1
23228 _ACEOF
23229
23230 fi
23231
23232
23233
23234
23235
23236 ac_ext=cc
23237 ac_cpp='$CXXCPP $CPPFLAGS'
23238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23241
23242
23243
23244 for ac_header in iostream
23245 do
23246 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23247 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23248 echo "$as_me:$LINENO: checking for $ac_header" >&5
23249 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23250 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23251 echo $ECHO_N "(cached) $ECHO_C" >&6
23252 fi
23253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23254 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23255 else
23256 # Is the header compilable?
23257 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23258 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23259 cat >conftest.$ac_ext <<_ACEOF
23260 /* confdefs.h. */
23261 _ACEOF
23262 cat confdefs.h >>conftest.$ac_ext
23263 cat >>conftest.$ac_ext <<_ACEOF
23264 /* end confdefs.h. */
23265 $ac_includes_default
23266 #include <$ac_header>
23267 _ACEOF
23268 rm -f conftest.$ac_objext
23269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23270 (eval $ac_compile) 2>conftest.er1
23271 ac_status=$?
23272 grep -v '^ *+' conftest.er1 >conftest.err
23273 rm -f conftest.er1
23274 cat conftest.err >&5
23275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23276 (exit $ac_status); } &&
23277 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23279 (eval $ac_try) 2>&5
23280 ac_status=$?
23281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23282 (exit $ac_status); }; } &&
23283 { ac_try='test -s conftest.$ac_objext'
23284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23285 (eval $ac_try) 2>&5
23286 ac_status=$?
23287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23288 (exit $ac_status); }; }; then
23289 ac_header_compiler=yes
23290 else
23291 echo "$as_me: failed program was:" >&5
23292 sed 's/^/| /' conftest.$ac_ext >&5
23293
23294 ac_header_compiler=no
23295 fi
23296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23297 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23298 echo "${ECHO_T}$ac_header_compiler" >&6
23299
23300 # Is the header present?
23301 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23302 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23303 cat >conftest.$ac_ext <<_ACEOF
23304 /* confdefs.h. */
23305 _ACEOF
23306 cat confdefs.h >>conftest.$ac_ext
23307 cat >>conftest.$ac_ext <<_ACEOF
23308 /* end confdefs.h. */
23309 #include <$ac_header>
23310 _ACEOF
23311 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23312 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23313 ac_status=$?
23314 grep -v '^ *+' conftest.er1 >conftest.err
23315 rm -f conftest.er1
23316 cat conftest.err >&5
23317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23318 (exit $ac_status); } >/dev/null; then
23319 if test -s conftest.err; then
23320 ac_cpp_err=$ac_cxx_preproc_warn_flag
23321 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
23322 else
23323 ac_cpp_err=
23324 fi
23325 else
23326 ac_cpp_err=yes
23327 fi
23328 if test -z "$ac_cpp_err"; then
23329 ac_header_preproc=yes
23330 else
23331 echo "$as_me: failed program was:" >&5
23332 sed 's/^/| /' conftest.$ac_ext >&5
23333
23334 ac_header_preproc=no
23335 fi
23336 rm -f conftest.err conftest.$ac_ext
23337 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23338 echo "${ECHO_T}$ac_header_preproc" >&6
23339
23340 # So? What about this header?
23341 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
23342 yes:no: )
23343 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23344 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23345 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23346 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23347 ac_header_preproc=yes
23348 ;;
23349 no:yes:* )
23350 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23351 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23352 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23353 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23354 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23355 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23356 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23357 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23358 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23359 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23360 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23361 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23362 (
23363 cat <<\_ASBOX
23364 ## ----------------------------------------- ##
23365 ## Report this to wx-dev@lists.wxwidgets.org ##
23366 ## ----------------------------------------- ##
23367 _ASBOX
23368 ) |
23369 sed "s/^/$as_me: WARNING: /" >&2
23370 ;;
23371 esac
23372 echo "$as_me:$LINENO: checking for $ac_header" >&5
23373 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23374 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23375 echo $ECHO_N "(cached) $ECHO_C" >&6
23376 else
23377 eval "$as_ac_Header=\$ac_header_preproc"
23378 fi
23379 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23380 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23381
23382 fi
23383 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23384 cat >>confdefs.h <<_ACEOF
23385 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23386 _ACEOF
23387
23388 fi
23389
23390 done
23391
23392
23393 if test "$ac_cv_header_iostream" = "yes" ; then
23394 :
23395 else
23396 cat >>confdefs.h <<\_ACEOF
23397 #define wxUSE_IOSTREAMH 1
23398 _ACEOF
23399
23400 fi
23401
23402 ac_ext=cc
23403 ac_cpp='$CXXCPP $CPPFLAGS'
23404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23407
23408
23409
23410
23411 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23412 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
23413 if test "${wx_cv_cpp_bool+set}" = set; then
23414 echo $ECHO_N "(cached) $ECHO_C" >&6
23415 else
23416
23417
23418
23419 ac_ext=cc
23420 ac_cpp='$CXXCPP $CPPFLAGS'
23421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23424
23425
23426 cat >conftest.$ac_ext <<_ACEOF
23427 /* confdefs.h. */
23428 _ACEOF
23429 cat confdefs.h >>conftest.$ac_ext
23430 cat >>conftest.$ac_ext <<_ACEOF
23431 /* end confdefs.h. */
23432
23433
23434 int
23435 main ()
23436 {
23437
23438 bool b = true;
23439
23440 return 0;
23441
23442 ;
23443 return 0;
23444 }
23445 _ACEOF
23446 rm -f conftest.$ac_objext
23447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23448 (eval $ac_compile) 2>conftest.er1
23449 ac_status=$?
23450 grep -v '^ *+' conftest.er1 >conftest.err
23451 rm -f conftest.er1
23452 cat conftest.err >&5
23453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23454 (exit $ac_status); } &&
23455 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23457 (eval $ac_try) 2>&5
23458 ac_status=$?
23459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23460 (exit $ac_status); }; } &&
23461 { ac_try='test -s conftest.$ac_objext'
23462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23463 (eval $ac_try) 2>&5
23464 ac_status=$?
23465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23466 (exit $ac_status); }; }; then
23467
23468 wx_cv_cpp_bool=yes
23469
23470 else
23471 echo "$as_me: failed program was:" >&5
23472 sed 's/^/| /' conftest.$ac_ext >&5
23473
23474
23475 wx_cv_cpp_bool=no
23476
23477
23478 fi
23479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23480
23481 ac_ext=cc
23482 ac_cpp='$CXXCPP $CPPFLAGS'
23483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23486
23487
23488 fi
23489 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23490 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
23491
23492 if test "$wx_cv_cpp_bool" = "yes"; then
23493 cat >>confdefs.h <<\_ACEOF
23494 #define HAVE_BOOL 1
23495 _ACEOF
23496
23497 fi
23498
23499
23500
23501 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23502 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
23503 if test "${wx_cv_explicit+set}" = set; then
23504 echo $ECHO_N "(cached) $ECHO_C" >&6
23505 else
23506
23507
23508
23509 ac_ext=cc
23510 ac_cpp='$CXXCPP $CPPFLAGS'
23511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23514
23515
23516 cat >conftest.$ac_ext <<_ACEOF
23517 /* confdefs.h. */
23518 _ACEOF
23519 cat confdefs.h >>conftest.$ac_ext
23520 cat >>conftest.$ac_ext <<_ACEOF
23521 /* end confdefs.h. */
23522
23523 class Foo { public: explicit Foo(int) {} };
23524
23525 int
23526 main ()
23527 {
23528
23529 return 0;
23530
23531 ;
23532 return 0;
23533 }
23534 _ACEOF
23535 rm -f conftest.$ac_objext
23536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23537 (eval $ac_compile) 2>conftest.er1
23538 ac_status=$?
23539 grep -v '^ *+' conftest.er1 >conftest.err
23540 rm -f conftest.er1
23541 cat conftest.err >&5
23542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23543 (exit $ac_status); } &&
23544 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23546 (eval $ac_try) 2>&5
23547 ac_status=$?
23548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23549 (exit $ac_status); }; } &&
23550 { ac_try='test -s conftest.$ac_objext'
23551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23552 (eval $ac_try) 2>&5
23553 ac_status=$?
23554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23555 (exit $ac_status); }; }; then
23556
23557 cat >conftest.$ac_ext <<_ACEOF
23558 /* confdefs.h. */
23559 _ACEOF
23560 cat confdefs.h >>conftest.$ac_ext
23561 cat >>conftest.$ac_ext <<_ACEOF
23562 /* end confdefs.h. */
23563
23564 class Foo { public: explicit Foo(int) {} };
23565 static void TakeFoo(const Foo& foo) { }
23566
23567 int
23568 main ()
23569 {
23570
23571 TakeFoo(17);
23572 return 0;
23573
23574 ;
23575 return 0;
23576 }
23577 _ACEOF
23578 rm -f conftest.$ac_objext
23579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23580 (eval $ac_compile) 2>conftest.er1
23581 ac_status=$?
23582 grep -v '^ *+' conftest.er1 >conftest.err
23583 rm -f conftest.er1
23584 cat conftest.err >&5
23585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23586 (exit $ac_status); } &&
23587 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23589 (eval $ac_try) 2>&5
23590 ac_status=$?
23591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23592 (exit $ac_status); }; } &&
23593 { ac_try='test -s conftest.$ac_objext'
23594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23595 (eval $ac_try) 2>&5
23596 ac_status=$?
23597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23598 (exit $ac_status); }; }; then
23599 wx_cv_explicit=no
23600 else
23601 echo "$as_me: failed program was:" >&5
23602 sed 's/^/| /' conftest.$ac_ext >&5
23603
23604 wx_cv_explicit=yes
23605
23606 fi
23607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23608
23609 else
23610 echo "$as_me: failed program was:" >&5
23611 sed 's/^/| /' conftest.$ac_ext >&5
23612
23613 wx_cv_explicit=no
23614
23615 fi
23616 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23617
23618 ac_ext=cc
23619 ac_cpp='$CXXCPP $CPPFLAGS'
23620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23623
23624
23625 fi
23626 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23627 echo "${ECHO_T}$wx_cv_explicit" >&6
23628
23629 if test "$wx_cv_explicit" = "yes"; then
23630 cat >>confdefs.h <<\_ACEOF
23631 #define HAVE_EXPLICIT 1
23632 _ACEOF
23633
23634 fi
23635
23636
23637 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23638 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23639 if test "${ac_cv_cxx_const_cast+set}" = set; then
23640 echo $ECHO_N "(cached) $ECHO_C" >&6
23641 else
23642
23643
23644 ac_ext=cc
23645 ac_cpp='$CXXCPP $CPPFLAGS'
23646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23649
23650 cat >conftest.$ac_ext <<_ACEOF
23651 /* confdefs.h. */
23652 _ACEOF
23653 cat confdefs.h >>conftest.$ac_ext
23654 cat >>conftest.$ac_ext <<_ACEOF
23655 /* end confdefs.h. */
23656
23657 int
23658 main ()
23659 {
23660 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23661 ;
23662 return 0;
23663 }
23664 _ACEOF
23665 rm -f conftest.$ac_objext
23666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23667 (eval $ac_compile) 2>conftest.er1
23668 ac_status=$?
23669 grep -v '^ *+' conftest.er1 >conftest.err
23670 rm -f conftest.er1
23671 cat conftest.err >&5
23672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23673 (exit $ac_status); } &&
23674 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23676 (eval $ac_try) 2>&5
23677 ac_status=$?
23678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23679 (exit $ac_status); }; } &&
23680 { ac_try='test -s conftest.$ac_objext'
23681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23682 (eval $ac_try) 2>&5
23683 ac_status=$?
23684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23685 (exit $ac_status); }; }; then
23686 ac_cv_cxx_const_cast=yes
23687 else
23688 echo "$as_me: failed program was:" >&5
23689 sed 's/^/| /' conftest.$ac_ext >&5
23690
23691 ac_cv_cxx_const_cast=no
23692 fi
23693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23694 ac_ext=cc
23695 ac_cpp='$CXXCPP $CPPFLAGS'
23696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23699
23700
23701 fi
23702 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23703 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23704 if test "$ac_cv_cxx_const_cast" = yes; then
23705
23706 cat >>confdefs.h <<\_ACEOF
23707 #define HAVE_CONST_CAST
23708 _ACEOF
23709
23710 fi
23711
23712 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23713 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23714 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23715 echo $ECHO_N "(cached) $ECHO_C" >&6
23716 else
23717
23718
23719 ac_ext=cc
23720 ac_cpp='$CXXCPP $CPPFLAGS'
23721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23724
23725 cat >conftest.$ac_ext <<_ACEOF
23726 /* confdefs.h. */
23727 _ACEOF
23728 cat confdefs.h >>conftest.$ac_ext
23729 cat >>conftest.$ac_ext <<_ACEOF
23730 /* end confdefs.h. */
23731 #include <typeinfo>
23732 class Base { public : Base () {} virtual void f () = 0;};
23733 class Derived : public Base { public : Derived () {} virtual void f () {} };
23734 class Unrelated { public : Unrelated () {} };
23735 int g (Unrelated&) { return 0; }
23736 int
23737 main ()
23738 {
23739
23740 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23741 ;
23742 return 0;
23743 }
23744 _ACEOF
23745 rm -f conftest.$ac_objext
23746 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23747 (eval $ac_compile) 2>conftest.er1
23748 ac_status=$?
23749 grep -v '^ *+' conftest.er1 >conftest.err
23750 rm -f conftest.er1
23751 cat conftest.err >&5
23752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23753 (exit $ac_status); } &&
23754 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23756 (eval $ac_try) 2>&5
23757 ac_status=$?
23758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23759 (exit $ac_status); }; } &&
23760 { ac_try='test -s conftest.$ac_objext'
23761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23762 (eval $ac_try) 2>&5
23763 ac_status=$?
23764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23765 (exit $ac_status); }; }; then
23766 ac_cv_cxx_reinterpret_cast=yes
23767 else
23768 echo "$as_me: failed program was:" >&5
23769 sed 's/^/| /' conftest.$ac_ext >&5
23770
23771 ac_cv_cxx_reinterpret_cast=no
23772 fi
23773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23774 ac_ext=cc
23775 ac_cpp='$CXXCPP $CPPFLAGS'
23776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23779
23780
23781 fi
23782 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23783 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23784 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23785
23786 cat >>confdefs.h <<\_ACEOF
23787 #define HAVE_REINTERPRET_CAST
23788 _ACEOF
23789
23790 fi
23791
23792 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23793 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23794 if test "${ac_cv_cxx_static_cast+set}" = set; then
23795 echo $ECHO_N "(cached) $ECHO_C" >&6
23796 else
23797
23798
23799 ac_ext=cc
23800 ac_cpp='$CXXCPP $CPPFLAGS'
23801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23804
23805 cat >conftest.$ac_ext <<_ACEOF
23806 /* confdefs.h. */
23807 _ACEOF
23808 cat confdefs.h >>conftest.$ac_ext
23809 cat >>conftest.$ac_ext <<_ACEOF
23810 /* end confdefs.h. */
23811 #include <typeinfo>
23812 class Base { public : Base () {} virtual void f () = 0; };
23813 class Derived : public Base { public : Derived () {} virtual void f () {} };
23814 int g (Derived&) { return 0; }
23815 int
23816 main ()
23817 {
23818
23819 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23820 ;
23821 return 0;
23822 }
23823 _ACEOF
23824 rm -f conftest.$ac_objext
23825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23826 (eval $ac_compile) 2>conftest.er1
23827 ac_status=$?
23828 grep -v '^ *+' conftest.er1 >conftest.err
23829 rm -f conftest.er1
23830 cat conftest.err >&5
23831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23832 (exit $ac_status); } &&
23833 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23835 (eval $ac_try) 2>&5
23836 ac_status=$?
23837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23838 (exit $ac_status); }; } &&
23839 { ac_try='test -s conftest.$ac_objext'
23840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23841 (eval $ac_try) 2>&5
23842 ac_status=$?
23843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23844 (exit $ac_status); }; }; then
23845 ac_cv_cxx_static_cast=yes
23846 else
23847 echo "$as_me: failed program was:" >&5
23848 sed 's/^/| /' conftest.$ac_ext >&5
23849
23850 ac_cv_cxx_static_cast=no
23851 fi
23852 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23853 ac_ext=cc
23854 ac_cpp='$CXXCPP $CPPFLAGS'
23855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23858
23859
23860 fi
23861 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23862 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23863 if test "$ac_cv_cxx_static_cast" = yes; then
23864
23865 cat >>confdefs.h <<\_ACEOF
23866 #define HAVE_STATIC_CAST
23867 _ACEOF
23868
23869 fi
23870
23871
23872 if test "x$SUNCXX" = xyes; then
23873 CXXFLAGS="-features=tmplife $CXXFLAGS"
23874 fi
23875
23876 if test "x$SUNCC" = xyes; then
23877 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23878 fi
23879
23880 if test "x$SGICC" = "xyes"; then
23881 CFLAGS="-woff 3970 $CFLAGS"
23882 fi
23883 if test "x$SGICXX" = "xyes"; then
23884 CXXFLAGS="-woff 3970 $CXXFLAGS"
23885 fi
23886
23887 if test "x$HPCC" = "xyes"; then
23888 CFLAGS="+W 2011,2450 $CFLAGS"
23889 fi
23890 if test "x$HPCXX" = "xyes"; then
23891 CXXFLAGS="+W 2340 $CXXFLAGS"
23892 fi
23893
23894 if test "x$COMPAQCXX" = "xyes"; then
23895 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23896 fi
23897
23898 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23899 if test "$wxUSE_UNICODE" = "yes"; then
23900 std_string="std::wstring"
23901 char_type="wchar_t"
23902 else
23903 std_string="std::string"
23904 char_type="char"
23905 fi
23906
23907 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23908 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23909 cat >conftest.$ac_ext <<_ACEOF
23910 /* confdefs.h. */
23911 _ACEOF
23912 cat confdefs.h >>conftest.$ac_ext
23913 cat >>conftest.$ac_ext <<_ACEOF
23914 /* end confdefs.h. */
23915 #include <string>
23916 int
23917 main ()
23918 {
23919 $std_string foo;
23920 ;
23921 return 0;
23922 }
23923 _ACEOF
23924 rm -f conftest.$ac_objext
23925 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23926 (eval $ac_compile) 2>conftest.er1
23927 ac_status=$?
23928 grep -v '^ *+' conftest.er1 >conftest.err
23929 rm -f conftest.er1
23930 cat conftest.err >&5
23931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23932 (exit $ac_status); } &&
23933 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23935 (eval $ac_try) 2>&5
23936 ac_status=$?
23937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23938 (exit $ac_status); }; } &&
23939 { ac_try='test -s conftest.$ac_objext'
23940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23941 (eval $ac_try) 2>&5
23942 ac_status=$?
23943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23944 (exit $ac_status); }; }; then
23945 echo "$as_me:$LINENO: result: yes" >&5
23946 echo "${ECHO_T}yes" >&6
23947 cat >>confdefs.h <<\_ACEOF
23948 #define HAVE_STD_WSTRING 1
23949 _ACEOF
23950
23951 else
23952 echo "$as_me: failed program was:" >&5
23953 sed 's/^/| /' conftest.$ac_ext >&5
23954
23955 echo "$as_me:$LINENO: result: no" >&5
23956 echo "${ECHO_T}no" >&6
23957 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23958 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23959 cat >conftest.$ac_ext <<_ACEOF
23960 /* confdefs.h. */
23961 _ACEOF
23962 cat confdefs.h >>conftest.$ac_ext
23963 cat >>conftest.$ac_ext <<_ACEOF
23964 /* end confdefs.h. */
23965
23966 #ifdef HAVE_WCHAR_H
23967 # ifdef __CYGWIN__
23968 # include <stddef.h>
23969 # endif
23970 # include <wchar.h>
23971 #endif
23972 #ifdef HAVE_STDLIB_H
23973 # include <stdlib.h>
23974 #endif
23975 #include <stdio.h>
23976 #include <string>
23977
23978 int
23979 main ()
23980 {
23981 std::basic_string<$char_type> foo;
23982 const $char_type* dummy = foo.c_str();
23983 ;
23984 return 0;
23985 }
23986 _ACEOF
23987 rm -f conftest.$ac_objext
23988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23989 (eval $ac_compile) 2>conftest.er1
23990 ac_status=$?
23991 grep -v '^ *+' conftest.er1 >conftest.err
23992 rm -f conftest.er1
23993 cat conftest.err >&5
23994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23995 (exit $ac_status); } &&
23996 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23998 (eval $ac_try) 2>&5
23999 ac_status=$?
24000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24001 (exit $ac_status); }; } &&
24002 { ac_try='test -s conftest.$ac_objext'
24003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24004 (eval $ac_try) 2>&5
24005 ac_status=$?
24006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24007 (exit $ac_status); }; }; then
24008 echo "$as_me:$LINENO: result: yes" >&5
24009 echo "${ECHO_T}yes" >&6
24010 else
24011 echo "$as_me: failed program was:" >&5
24012 sed 's/^/| /' conftest.$ac_ext >&5
24013
24014 echo "$as_me:$LINENO: result: no" >&5
24015 echo "${ECHO_T}no" >&6
24016 if test "$wxUSE_STL" = "yes"; then
24017 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24018 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24019 { (exit 1); exit 1; }; }
24020 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
24021 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24022 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24023 { (exit 1); exit 1; }; }
24024 else
24025 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24026 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24027 wxUSE_STD_STRING=no
24028 fi
24029
24030
24031 fi
24032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24033
24034 fi
24035 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24036 fi
24037
24038 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24039 echo "$as_me:$LINENO: checking for std::istream" >&5
24040 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
24041 if test "${ac_cv_type_std__istream+set}" = set; then
24042 echo $ECHO_N "(cached) $ECHO_C" >&6
24043 else
24044 cat >conftest.$ac_ext <<_ACEOF
24045 /* confdefs.h. */
24046 _ACEOF
24047 cat confdefs.h >>conftest.$ac_ext
24048 cat >>conftest.$ac_ext <<_ACEOF
24049 /* end confdefs.h. */
24050 #include <iostream>
24051
24052 int
24053 main ()
24054 {
24055 if ((std::istream *) 0)
24056 return 0;
24057 if (sizeof (std::istream))
24058 return 0;
24059 ;
24060 return 0;
24061 }
24062 _ACEOF
24063 rm -f conftest.$ac_objext
24064 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24065 (eval $ac_compile) 2>conftest.er1
24066 ac_status=$?
24067 grep -v '^ *+' conftest.er1 >conftest.err
24068 rm -f conftest.er1
24069 cat conftest.err >&5
24070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24071 (exit $ac_status); } &&
24072 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24074 (eval $ac_try) 2>&5
24075 ac_status=$?
24076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24077 (exit $ac_status); }; } &&
24078 { ac_try='test -s conftest.$ac_objext'
24079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24080 (eval $ac_try) 2>&5
24081 ac_status=$?
24082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24083 (exit $ac_status); }; }; then
24084 ac_cv_type_std__istream=yes
24085 else
24086 echo "$as_me: failed program was:" >&5
24087 sed 's/^/| /' conftest.$ac_ext >&5
24088
24089 ac_cv_type_std__istream=no
24090 fi
24091 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24092 fi
24093 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24094 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
24095 if test $ac_cv_type_std__istream = yes; then
24096
24097 cat >>confdefs.h <<_ACEOF
24098 #define HAVE_STD__ISTREAM 1
24099 _ACEOF
24100
24101
24102 else
24103 wxUSE_STD_IOSTREAM=no
24104 fi
24105 echo "$as_me:$LINENO: checking for std::ostream" >&5
24106 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
24107 if test "${ac_cv_type_std__ostream+set}" = set; then
24108 echo $ECHO_N "(cached) $ECHO_C" >&6
24109 else
24110 cat >conftest.$ac_ext <<_ACEOF
24111 /* confdefs.h. */
24112 _ACEOF
24113 cat confdefs.h >>conftest.$ac_ext
24114 cat >>conftest.$ac_ext <<_ACEOF
24115 /* end confdefs.h. */
24116 #include <iostream>
24117
24118 int
24119 main ()
24120 {
24121 if ((std::ostream *) 0)
24122 return 0;
24123 if (sizeof (std::ostream))
24124 return 0;
24125 ;
24126 return 0;
24127 }
24128 _ACEOF
24129 rm -f conftest.$ac_objext
24130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24131 (eval $ac_compile) 2>conftest.er1
24132 ac_status=$?
24133 grep -v '^ *+' conftest.er1 >conftest.err
24134 rm -f conftest.er1
24135 cat conftest.err >&5
24136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24137 (exit $ac_status); } &&
24138 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24140 (eval $ac_try) 2>&5
24141 ac_status=$?
24142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24143 (exit $ac_status); }; } &&
24144 { ac_try='test -s conftest.$ac_objext'
24145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24146 (eval $ac_try) 2>&5
24147 ac_status=$?
24148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24149 (exit $ac_status); }; }; then
24150 ac_cv_type_std__ostream=yes
24151 else
24152 echo "$as_me: failed program was:" >&5
24153 sed 's/^/| /' conftest.$ac_ext >&5
24154
24155 ac_cv_type_std__ostream=no
24156 fi
24157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24158 fi
24159 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24160 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
24161 if test $ac_cv_type_std__ostream = yes; then
24162
24163 cat >>confdefs.h <<_ACEOF
24164 #define HAVE_STD__OSTREAM 1
24165 _ACEOF
24166
24167
24168 else
24169 wxUSE_STD_IOSTREAM=no
24170 fi
24171
24172
24173 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24174 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
24175 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24176 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24177 { (exit 1); exit 1; }; }
24178 else
24179 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24180 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24181 fi
24182 fi
24183 fi
24184
24185 if test "$wxUSE_STL" = "yes"; then
24186 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24187 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
24188 cat >conftest.$ac_ext <<_ACEOF
24189 /* confdefs.h. */
24190 _ACEOF
24191 cat confdefs.h >>conftest.$ac_ext
24192 cat >>conftest.$ac_ext <<_ACEOF
24193 /* end confdefs.h. */
24194 #include <string>
24195 #include <functional>
24196 #include <algorithm>
24197 #include <vector>
24198 #include <list>
24199 int
24200 main ()
24201 {
24202 std::vector<int> moo;
24203 std::list<int> foo;
24204 std::vector<int>::iterator it =
24205 std::find_if(moo.begin(), moo.end(),
24206 std::bind2nd(std::less<int>(), 3));
24207 ;
24208 return 0;
24209 }
24210 _ACEOF
24211 rm -f conftest.$ac_objext
24212 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24213 (eval $ac_compile) 2>conftest.er1
24214 ac_status=$?
24215 grep -v '^ *+' conftest.er1 >conftest.err
24216 rm -f conftest.er1
24217 cat conftest.err >&5
24218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24219 (exit $ac_status); } &&
24220 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24222 (eval $ac_try) 2>&5
24223 ac_status=$?
24224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24225 (exit $ac_status); }; } &&
24226 { ac_try='test -s conftest.$ac_objext'
24227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24228 (eval $ac_try) 2>&5
24229 ac_status=$?
24230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24231 (exit $ac_status); }; }; then
24232 echo "$as_me:$LINENO: result: yes" >&5
24233 echo "${ECHO_T}yes" >&6
24234 else
24235 echo "$as_me: failed program was:" >&5
24236 sed 's/^/| /' conftest.$ac_ext >&5
24237
24238 echo "$as_me:$LINENO: result: no" >&5
24239 echo "${ECHO_T}no" >&6
24240 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
24241 echo "$as_me: error: Basic STL functionality missing" >&2;}
24242 { (exit 1); exit 1; }; }
24243 fi
24244 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24245
24246 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24247 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
24248 cat >conftest.$ac_ext <<_ACEOF
24249 /* confdefs.h. */
24250 _ACEOF
24251 cat confdefs.h >>conftest.$ac_ext
24252 cat >>conftest.$ac_ext <<_ACEOF
24253 /* end confdefs.h. */
24254 #include <string>
24255 int
24256 main ()
24257 {
24258 std::string foo, bar;
24259 foo.compare(bar);
24260 foo.compare(1, 1, bar);
24261 foo.compare(1, 1, bar, 1, 1);
24262 foo.compare("");
24263 foo.compare(1, 1, "");
24264 foo.compare(1, 1, "", 2);
24265 ;
24266 return 0;
24267 }
24268 _ACEOF
24269 rm -f conftest.$ac_objext
24270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24271 (eval $ac_compile) 2>conftest.er1
24272 ac_status=$?
24273 grep -v '^ *+' conftest.er1 >conftest.err
24274 rm -f conftest.er1
24275 cat conftest.err >&5
24276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24277 (exit $ac_status); } &&
24278 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24280 (eval $ac_try) 2>&5
24281 ac_status=$?
24282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24283 (exit $ac_status); }; } &&
24284 { ac_try='test -s conftest.$ac_objext'
24285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24286 (eval $ac_try) 2>&5
24287 ac_status=$?
24288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24289 (exit $ac_status); }; }; then
24290 echo "$as_me:$LINENO: result: yes" >&5
24291 echo "${ECHO_T}yes" >&6
24292 cat >>confdefs.h <<\_ACEOF
24293 #define HAVE_STD_STRING_COMPARE 1
24294 _ACEOF
24295
24296 else
24297 echo "$as_me: failed program was:" >&5
24298 sed 's/^/| /' conftest.$ac_ext >&5
24299
24300 echo "$as_me:$LINENO: result: no" >&5
24301 echo "${ECHO_T}no" >&6
24302 fi
24303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24304
24305 if test "${ac_cv_header_hash_map+set}" = set; then
24306 echo "$as_me:$LINENO: checking for hash_map" >&5
24307 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24308 if test "${ac_cv_header_hash_map+set}" = set; then
24309 echo $ECHO_N "(cached) $ECHO_C" >&6
24310 fi
24311 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24312 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24313 else
24314 # Is the header compilable?
24315 echo "$as_me:$LINENO: checking hash_map usability" >&5
24316 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
24317 cat >conftest.$ac_ext <<_ACEOF
24318 /* confdefs.h. */
24319 _ACEOF
24320 cat confdefs.h >>conftest.$ac_ext
24321 cat >>conftest.$ac_ext <<_ACEOF
24322 /* end confdefs.h. */
24323 $ac_includes_default
24324 #include <hash_map>
24325 _ACEOF
24326 rm -f conftest.$ac_objext
24327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24328 (eval $ac_compile) 2>conftest.er1
24329 ac_status=$?
24330 grep -v '^ *+' conftest.er1 >conftest.err
24331 rm -f conftest.er1
24332 cat conftest.err >&5
24333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24334 (exit $ac_status); } &&
24335 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24337 (eval $ac_try) 2>&5
24338 ac_status=$?
24339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24340 (exit $ac_status); }; } &&
24341 { ac_try='test -s conftest.$ac_objext'
24342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24343 (eval $ac_try) 2>&5
24344 ac_status=$?
24345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24346 (exit $ac_status); }; }; then
24347 ac_header_compiler=yes
24348 else
24349 echo "$as_me: failed program was:" >&5
24350 sed 's/^/| /' conftest.$ac_ext >&5
24351
24352 ac_header_compiler=no
24353 fi
24354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24355 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24356 echo "${ECHO_T}$ac_header_compiler" >&6
24357
24358 # Is the header present?
24359 echo "$as_me:$LINENO: checking hash_map presence" >&5
24360 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
24361 cat >conftest.$ac_ext <<_ACEOF
24362 /* confdefs.h. */
24363 _ACEOF
24364 cat confdefs.h >>conftest.$ac_ext
24365 cat >>conftest.$ac_ext <<_ACEOF
24366 /* end confdefs.h. */
24367 #include <hash_map>
24368 _ACEOF
24369 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24370 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24371 ac_status=$?
24372 grep -v '^ *+' conftest.er1 >conftest.err
24373 rm -f conftest.er1
24374 cat conftest.err >&5
24375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24376 (exit $ac_status); } >/dev/null; then
24377 if test -s conftest.err; then
24378 ac_cpp_err=$ac_cxx_preproc_warn_flag
24379 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24380 else
24381 ac_cpp_err=
24382 fi
24383 else
24384 ac_cpp_err=yes
24385 fi
24386 if test -z "$ac_cpp_err"; then
24387 ac_header_preproc=yes
24388 else
24389 echo "$as_me: failed program was:" >&5
24390 sed 's/^/| /' conftest.$ac_ext >&5
24391
24392 ac_header_preproc=no
24393 fi
24394 rm -f conftest.err conftest.$ac_ext
24395 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24396 echo "${ECHO_T}$ac_header_preproc" >&6
24397
24398 # So? What about this header?
24399 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24400 yes:no: )
24401 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24402 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24403 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
24404 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
24405 ac_header_preproc=yes
24406 ;;
24407 no:yes:* )
24408 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
24409 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
24410 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
24411 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
24412 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
24413 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
24414 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
24415 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24416 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
24417 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
24418 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
24419 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
24420 (
24421 cat <<\_ASBOX
24422 ## ----------------------------------------- ##
24423 ## Report this to wx-dev@lists.wxwidgets.org ##
24424 ## ----------------------------------------- ##
24425 _ASBOX
24426 ) |
24427 sed "s/^/$as_me: WARNING: /" >&2
24428 ;;
24429 esac
24430 echo "$as_me:$LINENO: checking for hash_map" >&5
24431 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24432 if test "${ac_cv_header_hash_map+set}" = set; then
24433 echo $ECHO_N "(cached) $ECHO_C" >&6
24434 else
24435 ac_cv_header_hash_map=$ac_header_preproc
24436 fi
24437 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24438 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24439
24440 fi
24441 if test $ac_cv_header_hash_map = yes; then
24442 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24443 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24444 cat >conftest.$ac_ext <<_ACEOF
24445 /* confdefs.h. */
24446 _ACEOF
24447 cat confdefs.h >>conftest.$ac_ext
24448 cat >>conftest.$ac_ext <<_ACEOF
24449 /* end confdefs.h. */
24450 #include <hash_map>
24451 #include <hash_set>
24452 int
24453 main ()
24454 {
24455 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24456 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24457 ;
24458 return 0;
24459 }
24460 _ACEOF
24461 rm -f conftest.$ac_objext
24462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24463 (eval $ac_compile) 2>conftest.er1
24464 ac_status=$?
24465 grep -v '^ *+' conftest.er1 >conftest.err
24466 rm -f conftest.er1
24467 cat conftest.err >&5
24468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24469 (exit $ac_status); } &&
24470 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24472 (eval $ac_try) 2>&5
24473 ac_status=$?
24474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24475 (exit $ac_status); }; } &&
24476 { ac_try='test -s conftest.$ac_objext'
24477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24478 (eval $ac_try) 2>&5
24479 ac_status=$?
24480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24481 (exit $ac_status); }; }; then
24482 echo "$as_me:$LINENO: result: yes" >&5
24483 echo "${ECHO_T}yes" >&6
24484 cat >>confdefs.h <<\_ACEOF
24485 #define HAVE_HASH_MAP 1
24486 _ACEOF
24487
24488 cat >>confdefs.h <<\_ACEOF
24489 #define HAVE_STD_HASH_MAP 1
24490 _ACEOF
24491
24492 else
24493 echo "$as_me: failed program was:" >&5
24494 sed 's/^/| /' conftest.$ac_ext >&5
24495
24496 echo "$as_me:$LINENO: result: no" >&5
24497 echo "${ECHO_T}no" >&6
24498 fi
24499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24500
24501 fi
24502
24503
24504
24505 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24506 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24507 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24508 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24509 echo $ECHO_N "(cached) $ECHO_C" >&6
24510 fi
24511 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24512 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24513 else
24514 # Is the header compilable?
24515 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24516 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
24517 cat >conftest.$ac_ext <<_ACEOF
24518 /* confdefs.h. */
24519 _ACEOF
24520 cat confdefs.h >>conftest.$ac_ext
24521 cat >>conftest.$ac_ext <<_ACEOF
24522 /* end confdefs.h. */
24523 $ac_includes_default
24524 #include <ext/hash_map>
24525 _ACEOF
24526 rm -f conftest.$ac_objext
24527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24528 (eval $ac_compile) 2>conftest.er1
24529 ac_status=$?
24530 grep -v '^ *+' conftest.er1 >conftest.err
24531 rm -f conftest.er1
24532 cat conftest.err >&5
24533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24534 (exit $ac_status); } &&
24535 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24537 (eval $ac_try) 2>&5
24538 ac_status=$?
24539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24540 (exit $ac_status); }; } &&
24541 { ac_try='test -s conftest.$ac_objext'
24542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24543 (eval $ac_try) 2>&5
24544 ac_status=$?
24545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24546 (exit $ac_status); }; }; then
24547 ac_header_compiler=yes
24548 else
24549 echo "$as_me: failed program was:" >&5
24550 sed 's/^/| /' conftest.$ac_ext >&5
24551
24552 ac_header_compiler=no
24553 fi
24554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24555 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24556 echo "${ECHO_T}$ac_header_compiler" >&6
24557
24558 # Is the header present?
24559 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24560 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
24561 cat >conftest.$ac_ext <<_ACEOF
24562 /* confdefs.h. */
24563 _ACEOF
24564 cat confdefs.h >>conftest.$ac_ext
24565 cat >>conftest.$ac_ext <<_ACEOF
24566 /* end confdefs.h. */
24567 #include <ext/hash_map>
24568 _ACEOF
24569 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24570 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24571 ac_status=$?
24572 grep -v '^ *+' conftest.er1 >conftest.err
24573 rm -f conftest.er1
24574 cat conftest.err >&5
24575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24576 (exit $ac_status); } >/dev/null; then
24577 if test -s conftest.err; then
24578 ac_cpp_err=$ac_cxx_preproc_warn_flag
24579 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24580 else
24581 ac_cpp_err=
24582 fi
24583 else
24584 ac_cpp_err=yes
24585 fi
24586 if test -z "$ac_cpp_err"; then
24587 ac_header_preproc=yes
24588 else
24589 echo "$as_me: failed program was:" >&5
24590 sed 's/^/| /' conftest.$ac_ext >&5
24591
24592 ac_header_preproc=no
24593 fi
24594 rm -f conftest.err conftest.$ac_ext
24595 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24596 echo "${ECHO_T}$ac_header_preproc" >&6
24597
24598 # So? What about this header?
24599 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24600 yes:no: )
24601 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24602 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24603 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24604 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24605 ac_header_preproc=yes
24606 ;;
24607 no:yes:* )
24608 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24609 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24610 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24611 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24612 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24613 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24614 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24615 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24616 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24617 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24618 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24619 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24620 (
24621 cat <<\_ASBOX
24622 ## ----------------------------------------- ##
24623 ## Report this to wx-dev@lists.wxwidgets.org ##
24624 ## ----------------------------------------- ##
24625 _ASBOX
24626 ) |
24627 sed "s/^/$as_me: WARNING: /" >&2
24628 ;;
24629 esac
24630 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24631 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24632 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24633 echo $ECHO_N "(cached) $ECHO_C" >&6
24634 else
24635 ac_cv_header_ext_hash_map=$ac_header_preproc
24636 fi
24637 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24638 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24639
24640 fi
24641 if test $ac_cv_header_ext_hash_map = yes; then
24642 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24643 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24644 cat >conftest.$ac_ext <<_ACEOF
24645 /* confdefs.h. */
24646 _ACEOF
24647 cat confdefs.h >>conftest.$ac_ext
24648 cat >>conftest.$ac_ext <<_ACEOF
24649 /* end confdefs.h. */
24650 #include <ext/hash_map>
24651 #include <ext/hash_set>
24652 int
24653 main ()
24654 {
24655 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24656 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24657 ;
24658 return 0;
24659 }
24660 _ACEOF
24661 rm -f conftest.$ac_objext
24662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24663 (eval $ac_compile) 2>conftest.er1
24664 ac_status=$?
24665 grep -v '^ *+' conftest.er1 >conftest.err
24666 rm -f conftest.er1
24667 cat conftest.err >&5
24668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24669 (exit $ac_status); } &&
24670 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24672 (eval $ac_try) 2>&5
24673 ac_status=$?
24674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24675 (exit $ac_status); }; } &&
24676 { ac_try='test -s conftest.$ac_objext'
24677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24678 (eval $ac_try) 2>&5
24679 ac_status=$?
24680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24681 (exit $ac_status); }; }; then
24682 echo "$as_me:$LINENO: result: yes" >&5
24683 echo "${ECHO_T}yes" >&6
24684 cat >>confdefs.h <<\_ACEOF
24685 #define HAVE_EXT_HASH_MAP 1
24686 _ACEOF
24687
24688 cat >>confdefs.h <<\_ACEOF
24689 #define HAVE_GNU_CXX_HASH_MAP 1
24690 _ACEOF
24691
24692 else
24693 echo "$as_me: failed program was:" >&5
24694 sed 's/^/| /' conftest.$ac_ext >&5
24695
24696 echo "$as_me:$LINENO: result: no" >&5
24697 echo "${ECHO_T}no" >&6
24698 fi
24699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24700
24701 fi
24702
24703
24704 fi
24705
24706
24707 SEARCH_INCLUDE="\
24708 /usr/local/include \
24709 \
24710 /usr/Motif-2.1/include \
24711 /usr/Motif-1.2/include \
24712 /usr/include/Motif1.2 \
24713 \
24714 /usr/dt/include \
24715 /usr/openwin/include \
24716 \
24717 /usr/include/Xm \
24718 \
24719 /usr/X11R6/include \
24720 /usr/X11R6.4/include \
24721 /usr/X11R5/include \
24722 /usr/X11R4/include \
24723 \
24724 /usr/include/X11R6 \
24725 /usr/include/X11R5 \
24726 /usr/include/X11R4 \
24727 \
24728 /usr/local/X11R6/include \
24729 /usr/local/X11R5/include \
24730 /usr/local/X11R4/include \
24731 \
24732 /usr/local/include/X11R6 \
24733 /usr/local/include/X11R5 \
24734 /usr/local/include/X11R4 \
24735 \
24736 /usr/X11/include \
24737 /usr/include/X11 \
24738 /usr/local/X11/include \
24739 /usr/local/include/X11 \
24740 \
24741 /usr/XFree86/include/X11 \
24742 /usr/pkg/include \
24743 \
24744 /usr/openwin/share/include"
24745
24746 echo "$as_me:$LINENO: checking for libraries directory" >&5
24747 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24748
24749 case "${host}" in
24750 *-*-irix6* )
24751 if test "${wx_cv_std_libpath+set}" = set; then
24752 echo $ECHO_N "(cached) $ECHO_C" >&6
24753 else
24754
24755 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24756 for e in a so sl dylib dll.a; do
24757 libc="$d/libc.$e"
24758 if test -f $libc; then
24759 save_LIBS="$LIBS"
24760 LIBS="$libc"
24761 cat >conftest.$ac_ext <<_ACEOF
24762 int main() { return 0; }
24763 _ACEOF
24764 rm -f conftest.$ac_objext conftest$ac_exeext
24765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24766 (eval $ac_link) 2>conftest.er1
24767 ac_status=$?
24768 grep -v '^ *+' conftest.er1 >conftest.err
24769 rm -f conftest.er1
24770 cat conftest.err >&5
24771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24772 (exit $ac_status); } &&
24773 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24775 (eval $ac_try) 2>&5
24776 ac_status=$?
24777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24778 (exit $ac_status); }; } &&
24779 { ac_try='test -s conftest$ac_exeext'
24780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24781 (eval $ac_try) 2>&5
24782 ac_status=$?
24783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24784 (exit $ac_status); }; }; then
24785 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24786 else
24787 echo "$as_me: failed program was:" >&5
24788 sed 's/^/| /' conftest.$ac_ext >&5
24789
24790 fi
24791 rm -f conftest.err conftest.$ac_objext \
24792 conftest$ac_exeext conftest.$ac_ext
24793 LIBS="$save_LIBS"
24794 if test "x$wx_cv_std_libpath" != "x"; then
24795 break 2
24796 fi
24797 fi
24798 done
24799 done
24800 if test "x$wx_cv_std_libpath" = "x"; then
24801 wx_cv_std_libpath="lib"
24802 fi
24803
24804
24805 fi
24806
24807 ;;
24808
24809 *-*-solaris2* )
24810 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24811 wx_cv_std_libpath="lib/64"
24812 else
24813 wx_cv_std_libpath="lib"
24814 fi
24815 ;;
24816
24817 *-*-linux* )
24818 if test "$ac_cv_sizeof_void_p" = 8 -a \
24819 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24820 wx_cv_std_libpath="lib64"
24821 else
24822 wx_cv_std_libpath="lib"
24823 fi
24824 ;;
24825
24826 *)
24827 wx_cv_std_libpath="lib";
24828 ;;
24829 esac
24830
24831 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24832 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24833
24834 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24835
24836 if test "$build" != "$host" -a "$GCC" = yes; then
24837 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24838 cross_root=`dirname $cross_root`
24839 cross_root=`dirname $cross_root`
24840
24841 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24842 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24843 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24844
24845 if test -z "$PKG_CONFIG_PATH"; then
24846 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24847 export PKG_CONFIG_PATH
24848 fi
24849
24850 if test -z "$x_includes" -o "$x_includes" = NONE; then
24851
24852 ac_find_includes=
24853 for ac_dir in $SEARCH_INCLUDE /usr/include;
24854 do
24855 if test -f "$ac_dir/X11/Intrinsic.h"; then
24856 ac_find_includes=$ac_dir
24857 break
24858 fi
24859 done
24860
24861 x_includes=$ac_find_includes
24862 fi
24863 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24864
24865 ac_find_libraries=
24866 for ac_dir in $SEARCH_LIB;
24867 do
24868 for ac_extension in a so sl dylib dll.a; do
24869 if test -f "$ac_dir/libXt.$ac_extension"; then
24870 ac_find_libraries=$ac_dir
24871 break 2
24872 fi
24873 done
24874 done
24875
24876 x_libraries=$ac_find_libraries
24877 fi
24878 fi
24879 fi
24880
24881
24882 cat >confcache <<\_ACEOF
24883 # This file is a shell script that caches the results of configure
24884 # tests run on this system so they can be shared between configure
24885 # scripts and configure runs, see configure's option --config-cache.
24886 # It is not useful on other systems. If it contains results you don't
24887 # want to keep, you may remove or edit it.
24888 #
24889 # config.status only pays attention to the cache file if you give it
24890 # the --recheck option to rerun configure.
24891 #
24892 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24893 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24894 # following values.
24895
24896 _ACEOF
24897
24898 # The following way of writing the cache mishandles newlines in values,
24899 # but we know of no workaround that is simple, portable, and efficient.
24900 # So, don't put newlines in cache variables' values.
24901 # Ultrix sh set writes to stderr and can't be redirected directly,
24902 # and sets the high bit in the cache file unless we assign to the vars.
24903 {
24904 (set) 2>&1 |
24905 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24906 *ac_space=\ *)
24907 # `set' does not quote correctly, so add quotes (double-quote
24908 # substitution turns \\\\ into \\, and sed turns \\ into \).
24909 sed -n \
24910 "s/'/'\\\\''/g;
24911 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24912 ;;
24913 *)
24914 # `set' quotes correctly as required by POSIX, so do not add quotes.
24915 sed -n \
24916 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24917 ;;
24918 esac;
24919 } |
24920 sed '
24921 t clear
24922 : clear
24923 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24924 t end
24925 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24926 : end' >>confcache
24927 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24928 if test -w $cache_file; then
24929 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24930 cat confcache >$cache_file
24931 else
24932 echo "not updating unwritable cache $cache_file"
24933 fi
24934 fi
24935 rm -f confcache
24936
24937 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24938 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24939 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24940 if test "${wx_cv_lib_glibc21+set}" = set; then
24941 echo $ECHO_N "(cached) $ECHO_C" >&6
24942 else
24943
24944 cat >conftest.$ac_ext <<_ACEOF
24945 /* confdefs.h. */
24946 _ACEOF
24947 cat confdefs.h >>conftest.$ac_ext
24948 cat >>conftest.$ac_ext <<_ACEOF
24949 /* end confdefs.h. */
24950 #include <features.h>
24951 int
24952 main ()
24953 {
24954
24955 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24956 not glibc 2.1
24957 #endif
24958
24959 ;
24960 return 0;
24961 }
24962 _ACEOF
24963 rm -f conftest.$ac_objext
24964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24965 (eval $ac_compile) 2>conftest.er1
24966 ac_status=$?
24967 grep -v '^ *+' conftest.er1 >conftest.err
24968 rm -f conftest.er1
24969 cat conftest.err >&5
24970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24971 (exit $ac_status); } &&
24972 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24974 (eval $ac_try) 2>&5
24975 ac_status=$?
24976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24977 (exit $ac_status); }; } &&
24978 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
24984
24985 wx_cv_lib_glibc21=yes
24986
24987 else
24988 echo "$as_me: failed program was:" >&5
24989 sed 's/^/| /' conftest.$ac_ext >&5
24990
24991
24992 wx_cv_lib_glibc21=no
24993
24994
24995 fi
24996 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24997
24998 fi
24999 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25000 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
25001 if test "$wx_cv_lib_glibc21" = "yes"; then
25002 cat >>confdefs.h <<\_ACEOF
25003 #define wxHAVE_GLIBC2 1
25004 _ACEOF
25005
25006 fi
25007 fi
25008
25009 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25010 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25011 cat >>confdefs.h <<\_ACEOF
25012 #define _GNU_SOURCE 1
25013 _ACEOF
25014
25015 fi
25016 fi
25017
25018 have_cos=0
25019 have_floor=0
25020
25021 for ac_func in cos
25022 do
25023 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25024 echo "$as_me:$LINENO: checking for $ac_func" >&5
25025 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25026 if eval "test \"\${$as_ac_var+set}\" = set"; then
25027 echo $ECHO_N "(cached) $ECHO_C" >&6
25028 else
25029 cat >conftest.$ac_ext <<_ACEOF
25030 /* confdefs.h. */
25031 _ACEOF
25032 cat confdefs.h >>conftest.$ac_ext
25033 cat >>conftest.$ac_ext <<_ACEOF
25034 /* end confdefs.h. */
25035 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25036 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25037 #define $ac_func innocuous_$ac_func
25038
25039 /* System header to define __stub macros and hopefully few prototypes,
25040 which can conflict with char $ac_func (); below.
25041 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25042 <limits.h> exists even on freestanding compilers. */
25043
25044 #ifdef __STDC__
25045 # include <limits.h>
25046 #else
25047 # include <assert.h>
25048 #endif
25049
25050 #undef $ac_func
25051
25052 /* Override any gcc2 internal prototype to avoid an error. */
25053 #ifdef __cplusplus
25054 extern "C"
25055 {
25056 #endif
25057 /* We use char because int might match the return type of a gcc2
25058 builtin and then its argument prototype would still apply. */
25059 char $ac_func ();
25060 /* The GNU C library defines this for functions which it implements
25061 to always fail with ENOSYS. Some functions are actually named
25062 something starting with __ and the normal name is an alias. */
25063 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25064 choke me
25065 #else
25066 char (*f) () = $ac_func;
25067 #endif
25068 #ifdef __cplusplus
25069 }
25070 #endif
25071
25072 int
25073 main ()
25074 {
25075 return f != $ac_func;
25076 ;
25077 return 0;
25078 }
25079 _ACEOF
25080 rm -f conftest.$ac_objext conftest$ac_exeext
25081 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25082 (eval $ac_link) 2>conftest.er1
25083 ac_status=$?
25084 grep -v '^ *+' conftest.er1 >conftest.err
25085 rm -f conftest.er1
25086 cat conftest.err >&5
25087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25088 (exit $ac_status); } &&
25089 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25091 (eval $ac_try) 2>&5
25092 ac_status=$?
25093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25094 (exit $ac_status); }; } &&
25095 { ac_try='test -s conftest$ac_exeext'
25096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25097 (eval $ac_try) 2>&5
25098 ac_status=$?
25099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25100 (exit $ac_status); }; }; then
25101 eval "$as_ac_var=yes"
25102 else
25103 echo "$as_me: failed program was:" >&5
25104 sed 's/^/| /' conftest.$ac_ext >&5
25105
25106 eval "$as_ac_var=no"
25107 fi
25108 rm -f conftest.err conftest.$ac_objext \
25109 conftest$ac_exeext conftest.$ac_ext
25110 fi
25111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25113 if test `eval echo '${'$as_ac_var'}'` = yes; then
25114 cat >>confdefs.h <<_ACEOF
25115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25116 _ACEOF
25117 have_cos=1
25118 fi
25119 done
25120
25121
25122 for ac_func in floor
25123 do
25124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25125 echo "$as_me:$LINENO: checking for $ac_func" >&5
25126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25127 if eval "test \"\${$as_ac_var+set}\" = set"; then
25128 echo $ECHO_N "(cached) $ECHO_C" >&6
25129 else
25130 cat >conftest.$ac_ext <<_ACEOF
25131 /* confdefs.h. */
25132 _ACEOF
25133 cat confdefs.h >>conftest.$ac_ext
25134 cat >>conftest.$ac_ext <<_ACEOF
25135 /* end confdefs.h. */
25136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25138 #define $ac_func innocuous_$ac_func
25139
25140 /* System header to define __stub macros and hopefully few prototypes,
25141 which can conflict with char $ac_func (); below.
25142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25143 <limits.h> exists even on freestanding compilers. */
25144
25145 #ifdef __STDC__
25146 # include <limits.h>
25147 #else
25148 # include <assert.h>
25149 #endif
25150
25151 #undef $ac_func
25152
25153 /* Override any gcc2 internal prototype to avoid an error. */
25154 #ifdef __cplusplus
25155 extern "C"
25156 {
25157 #endif
25158 /* We use char because int might match the return type of a gcc2
25159 builtin and then its argument prototype would still apply. */
25160 char $ac_func ();
25161 /* The GNU C library defines this for functions which it implements
25162 to always fail with ENOSYS. Some functions are actually named
25163 something starting with __ and the normal name is an alias. */
25164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25165 choke me
25166 #else
25167 char (*f) () = $ac_func;
25168 #endif
25169 #ifdef __cplusplus
25170 }
25171 #endif
25172
25173 int
25174 main ()
25175 {
25176 return f != $ac_func;
25177 ;
25178 return 0;
25179 }
25180 _ACEOF
25181 rm -f conftest.$ac_objext conftest$ac_exeext
25182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25183 (eval $ac_link) 2>conftest.er1
25184 ac_status=$?
25185 grep -v '^ *+' conftest.er1 >conftest.err
25186 rm -f conftest.er1
25187 cat conftest.err >&5
25188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25189 (exit $ac_status); } &&
25190 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25192 (eval $ac_try) 2>&5
25193 ac_status=$?
25194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25195 (exit $ac_status); }; } &&
25196 { ac_try='test -s conftest$ac_exeext'
25197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25198 (eval $ac_try) 2>&5
25199 ac_status=$?
25200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25201 (exit $ac_status); }; }; then
25202 eval "$as_ac_var=yes"
25203 else
25204 echo "$as_me: failed program was:" >&5
25205 sed 's/^/| /' conftest.$ac_ext >&5
25206
25207 eval "$as_ac_var=no"
25208 fi
25209 rm -f conftest.err conftest.$ac_objext \
25210 conftest$ac_exeext conftest.$ac_ext
25211 fi
25212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25214 if test `eval echo '${'$as_ac_var'}'` = yes; then
25215 cat >>confdefs.h <<_ACEOF
25216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25217 _ACEOF
25218 have_floor=1
25219 fi
25220 done
25221
25222 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25223 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
25224 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25225 echo "$as_me:$LINENO: result: yes" >&5
25226 echo "${ECHO_T}yes" >&6
25227 else
25228 echo "$as_me:$LINENO: result: no" >&5
25229 echo "${ECHO_T}no" >&6
25230 LIBS="$LIBS -lm"
25231 # use different functions to avoid configure caching
25232 have_sin=0
25233 have_ceil=0
25234
25235 for ac_func in sin
25236 do
25237 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25238 echo "$as_me:$LINENO: checking for $ac_func" >&5
25239 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25240 if eval "test \"\${$as_ac_var+set}\" = set"; then
25241 echo $ECHO_N "(cached) $ECHO_C" >&6
25242 else
25243 cat >conftest.$ac_ext <<_ACEOF
25244 /* confdefs.h. */
25245 _ACEOF
25246 cat confdefs.h >>conftest.$ac_ext
25247 cat >>conftest.$ac_ext <<_ACEOF
25248 /* end confdefs.h. */
25249 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25250 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25251 #define $ac_func innocuous_$ac_func
25252
25253 /* System header to define __stub macros and hopefully few prototypes,
25254 which can conflict with char $ac_func (); below.
25255 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25256 <limits.h> exists even on freestanding compilers. */
25257
25258 #ifdef __STDC__
25259 # include <limits.h>
25260 #else
25261 # include <assert.h>
25262 #endif
25263
25264 #undef $ac_func
25265
25266 /* Override any gcc2 internal prototype to avoid an error. */
25267 #ifdef __cplusplus
25268 extern "C"
25269 {
25270 #endif
25271 /* We use char because int might match the return type of a gcc2
25272 builtin and then its argument prototype would still apply. */
25273 char $ac_func ();
25274 /* The GNU C library defines this for functions which it implements
25275 to always fail with ENOSYS. Some functions are actually named
25276 something starting with __ and the normal name is an alias. */
25277 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25278 choke me
25279 #else
25280 char (*f) () = $ac_func;
25281 #endif
25282 #ifdef __cplusplus
25283 }
25284 #endif
25285
25286 int
25287 main ()
25288 {
25289 return f != $ac_func;
25290 ;
25291 return 0;
25292 }
25293 _ACEOF
25294 rm -f conftest.$ac_objext conftest$ac_exeext
25295 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25296 (eval $ac_link) 2>conftest.er1
25297 ac_status=$?
25298 grep -v '^ *+' conftest.er1 >conftest.err
25299 rm -f conftest.er1
25300 cat conftest.err >&5
25301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25302 (exit $ac_status); } &&
25303 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25305 (eval $ac_try) 2>&5
25306 ac_status=$?
25307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25308 (exit $ac_status); }; } &&
25309 { ac_try='test -s conftest$ac_exeext'
25310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25311 (eval $ac_try) 2>&5
25312 ac_status=$?
25313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25314 (exit $ac_status); }; }; then
25315 eval "$as_ac_var=yes"
25316 else
25317 echo "$as_me: failed program was:" >&5
25318 sed 's/^/| /' conftest.$ac_ext >&5
25319
25320 eval "$as_ac_var=no"
25321 fi
25322 rm -f conftest.err conftest.$ac_objext \
25323 conftest$ac_exeext conftest.$ac_ext
25324 fi
25325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25327 if test `eval echo '${'$as_ac_var'}'` = yes; then
25328 cat >>confdefs.h <<_ACEOF
25329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25330 _ACEOF
25331 have_sin=1
25332 fi
25333 done
25334
25335
25336 for ac_func in ceil
25337 do
25338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25339 echo "$as_me:$LINENO: checking for $ac_func" >&5
25340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25341 if eval "test \"\${$as_ac_var+set}\" = set"; then
25342 echo $ECHO_N "(cached) $ECHO_C" >&6
25343 else
25344 cat >conftest.$ac_ext <<_ACEOF
25345 /* confdefs.h. */
25346 _ACEOF
25347 cat confdefs.h >>conftest.$ac_ext
25348 cat >>conftest.$ac_ext <<_ACEOF
25349 /* end confdefs.h. */
25350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25352 #define $ac_func innocuous_$ac_func
25353
25354 /* System header to define __stub macros and hopefully few prototypes,
25355 which can conflict with char $ac_func (); below.
25356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25357 <limits.h> exists even on freestanding compilers. */
25358
25359 #ifdef __STDC__
25360 # include <limits.h>
25361 #else
25362 # include <assert.h>
25363 #endif
25364
25365 #undef $ac_func
25366
25367 /* Override any gcc2 internal prototype to avoid an error. */
25368 #ifdef __cplusplus
25369 extern "C"
25370 {
25371 #endif
25372 /* We use char because int might match the return type of a gcc2
25373 builtin and then its argument prototype would still apply. */
25374 char $ac_func ();
25375 /* The GNU C library defines this for functions which it implements
25376 to always fail with ENOSYS. Some functions are actually named
25377 something starting with __ and the normal name is an alias. */
25378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25379 choke me
25380 #else
25381 char (*f) () = $ac_func;
25382 #endif
25383 #ifdef __cplusplus
25384 }
25385 #endif
25386
25387 int
25388 main ()
25389 {
25390 return f != $ac_func;
25391 ;
25392 return 0;
25393 }
25394 _ACEOF
25395 rm -f conftest.$ac_objext conftest$ac_exeext
25396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25397 (eval $ac_link) 2>conftest.er1
25398 ac_status=$?
25399 grep -v '^ *+' conftest.er1 >conftest.err
25400 rm -f conftest.er1
25401 cat conftest.err >&5
25402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25403 (exit $ac_status); } &&
25404 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25406 (eval $ac_try) 2>&5
25407 ac_status=$?
25408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25409 (exit $ac_status); }; } &&
25410 { ac_try='test -s conftest$ac_exeext'
25411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25412 (eval $ac_try) 2>&5
25413 ac_status=$?
25414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25415 (exit $ac_status); }; }; then
25416 eval "$as_ac_var=yes"
25417 else
25418 echo "$as_me: failed program was:" >&5
25419 sed 's/^/| /' conftest.$ac_ext >&5
25420
25421 eval "$as_ac_var=no"
25422 fi
25423 rm -f conftest.err conftest.$ac_objext \
25424 conftest$ac_exeext conftest.$ac_ext
25425 fi
25426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25428 if test `eval echo '${'$as_ac_var'}'` = yes; then
25429 cat >>confdefs.h <<_ACEOF
25430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25431 _ACEOF
25432 have_ceil=1
25433 fi
25434 done
25435
25436 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25437 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
25438 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25439 echo "$as_me:$LINENO: result: yes" >&5
25440 echo "${ECHO_T}yes" >&6
25441 else
25442 echo "$as_me:$LINENO: result: no" >&5
25443 echo "${ECHO_T}no" >&6
25444 # not sure we should warn the user, crash, etc.
25445 fi
25446 fi
25447
25448 if test "wxUSE_UNICODE" = "yes"; then
25449
25450 for ac_func in wcstoull
25451 do
25452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25453 echo "$as_me:$LINENO: checking for $ac_func" >&5
25454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25455 if eval "test \"\${$as_ac_var+set}\" = set"; then
25456 echo $ECHO_N "(cached) $ECHO_C" >&6
25457 else
25458 cat >conftest.$ac_ext <<_ACEOF
25459 /* confdefs.h. */
25460 _ACEOF
25461 cat confdefs.h >>conftest.$ac_ext
25462 cat >>conftest.$ac_ext <<_ACEOF
25463 /* end confdefs.h. */
25464 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25465 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25466 #define $ac_func innocuous_$ac_func
25467
25468 /* System header to define __stub macros and hopefully few prototypes,
25469 which can conflict with char $ac_func (); below.
25470 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25471 <limits.h> exists even on freestanding compilers. */
25472
25473 #ifdef __STDC__
25474 # include <limits.h>
25475 #else
25476 # include <assert.h>
25477 #endif
25478
25479 #undef $ac_func
25480
25481 /* Override any gcc2 internal prototype to avoid an error. */
25482 #ifdef __cplusplus
25483 extern "C"
25484 {
25485 #endif
25486 /* We use char because int might match the return type of a gcc2
25487 builtin and then its argument prototype would still apply. */
25488 char $ac_func ();
25489 /* The GNU C library defines this for functions which it implements
25490 to always fail with ENOSYS. Some functions are actually named
25491 something starting with __ and the normal name is an alias. */
25492 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25493 choke me
25494 #else
25495 char (*f) () = $ac_func;
25496 #endif
25497 #ifdef __cplusplus
25498 }
25499 #endif
25500
25501 int
25502 main ()
25503 {
25504 return f != $ac_func;
25505 ;
25506 return 0;
25507 }
25508 _ACEOF
25509 rm -f conftest.$ac_objext conftest$ac_exeext
25510 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25511 (eval $ac_link) 2>conftest.er1
25512 ac_status=$?
25513 grep -v '^ *+' conftest.er1 >conftest.err
25514 rm -f conftest.er1
25515 cat conftest.err >&5
25516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25517 (exit $ac_status); } &&
25518 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25520 (eval $ac_try) 2>&5
25521 ac_status=$?
25522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25523 (exit $ac_status); }; } &&
25524 { ac_try='test -s conftest$ac_exeext'
25525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25526 (eval $ac_try) 2>&5
25527 ac_status=$?
25528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25529 (exit $ac_status); }; }; then
25530 eval "$as_ac_var=yes"
25531 else
25532 echo "$as_me: failed program was:" >&5
25533 sed 's/^/| /' conftest.$ac_ext >&5
25534
25535 eval "$as_ac_var=no"
25536 fi
25537 rm -f conftest.err conftest.$ac_objext \
25538 conftest$ac_exeext conftest.$ac_ext
25539 fi
25540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25542 if test `eval echo '${'$as_ac_var'}'` = yes; then
25543 cat >>confdefs.h <<_ACEOF
25544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25545 _ACEOF
25546
25547 fi
25548 done
25549
25550 else
25551
25552 for ac_func in strtoull
25553 do
25554 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25555 echo "$as_me:$LINENO: checking for $ac_func" >&5
25556 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25557 if eval "test \"\${$as_ac_var+set}\" = set"; then
25558 echo $ECHO_N "(cached) $ECHO_C" >&6
25559 else
25560 cat >conftest.$ac_ext <<_ACEOF
25561 /* confdefs.h. */
25562 _ACEOF
25563 cat confdefs.h >>conftest.$ac_ext
25564 cat >>conftest.$ac_ext <<_ACEOF
25565 /* end confdefs.h. */
25566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25568 #define $ac_func innocuous_$ac_func
25569
25570 /* System header to define __stub macros and hopefully few prototypes,
25571 which can conflict with char $ac_func (); below.
25572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25573 <limits.h> exists even on freestanding compilers. */
25574
25575 #ifdef __STDC__
25576 # include <limits.h>
25577 #else
25578 # include <assert.h>
25579 #endif
25580
25581 #undef $ac_func
25582
25583 /* Override any gcc2 internal prototype to avoid an error. */
25584 #ifdef __cplusplus
25585 extern "C"
25586 {
25587 #endif
25588 /* We use char because int might match the return type of a gcc2
25589 builtin and then its argument prototype would still apply. */
25590 char $ac_func ();
25591 /* The GNU C library defines this for functions which it implements
25592 to always fail with ENOSYS. Some functions are actually named
25593 something starting with __ and the normal name is an alias. */
25594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25595 choke me
25596 #else
25597 char (*f) () = $ac_func;
25598 #endif
25599 #ifdef __cplusplus
25600 }
25601 #endif
25602
25603 int
25604 main ()
25605 {
25606 return f != $ac_func;
25607 ;
25608 return 0;
25609 }
25610 _ACEOF
25611 rm -f conftest.$ac_objext conftest$ac_exeext
25612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25613 (eval $ac_link) 2>conftest.er1
25614 ac_status=$?
25615 grep -v '^ *+' conftest.er1 >conftest.err
25616 rm -f conftest.er1
25617 cat conftest.err >&5
25618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25619 (exit $ac_status); } &&
25620 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25622 (eval $ac_try) 2>&5
25623 ac_status=$?
25624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25625 (exit $ac_status); }; } &&
25626 { ac_try='test -s conftest$ac_exeext'
25627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25628 (eval $ac_try) 2>&5
25629 ac_status=$?
25630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25631 (exit $ac_status); }; }; then
25632 eval "$as_ac_var=yes"
25633 else
25634 echo "$as_me: failed program was:" >&5
25635 sed 's/^/| /' conftest.$ac_ext >&5
25636
25637 eval "$as_ac_var=no"
25638 fi
25639 rm -f conftest.err conftest.$ac_objext \
25640 conftest$ac_exeext conftest.$ac_ext
25641 fi
25642 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25643 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25644 if test `eval echo '${'$as_ac_var'}'` = yes; then
25645 cat >>confdefs.h <<_ACEOF
25646 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25647 _ACEOF
25648
25649 fi
25650 done
25651
25652 fi
25653
25654
25655
25656 if test "$wxUSE_REGEX" != "no"; then
25657 cat >>confdefs.h <<\_ACEOF
25658 #define wxUSE_REGEX 1
25659 _ACEOF
25660
25661
25662 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25663 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25664 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25665 wxUSE_REGEX=builtin
25666 fi
25667
25668 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25669 if test "${ac_cv_header_regex_h+set}" = set; then
25670 echo "$as_me:$LINENO: checking for regex.h" >&5
25671 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25672 if test "${ac_cv_header_regex_h+set}" = set; then
25673 echo $ECHO_N "(cached) $ECHO_C" >&6
25674 fi
25675 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25676 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25677 else
25678 # Is the header compilable?
25679 echo "$as_me:$LINENO: checking regex.h usability" >&5
25680 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
25681 cat >conftest.$ac_ext <<_ACEOF
25682 /* confdefs.h. */
25683 _ACEOF
25684 cat confdefs.h >>conftest.$ac_ext
25685 cat >>conftest.$ac_ext <<_ACEOF
25686 /* end confdefs.h. */
25687 $ac_includes_default
25688 #include <regex.h>
25689 _ACEOF
25690 rm -f conftest.$ac_objext
25691 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25692 (eval $ac_compile) 2>conftest.er1
25693 ac_status=$?
25694 grep -v '^ *+' conftest.er1 >conftest.err
25695 rm -f conftest.er1
25696 cat conftest.err >&5
25697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25698 (exit $ac_status); } &&
25699 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25701 (eval $ac_try) 2>&5
25702 ac_status=$?
25703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25704 (exit $ac_status); }; } &&
25705 { ac_try='test -s conftest.$ac_objext'
25706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25707 (eval $ac_try) 2>&5
25708 ac_status=$?
25709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25710 (exit $ac_status); }; }; then
25711 ac_header_compiler=yes
25712 else
25713 echo "$as_me: failed program was:" >&5
25714 sed 's/^/| /' conftest.$ac_ext >&5
25715
25716 ac_header_compiler=no
25717 fi
25718 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25719 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25720 echo "${ECHO_T}$ac_header_compiler" >&6
25721
25722 # Is the header present?
25723 echo "$as_me:$LINENO: checking regex.h presence" >&5
25724 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25725 cat >conftest.$ac_ext <<_ACEOF
25726 /* confdefs.h. */
25727 _ACEOF
25728 cat confdefs.h >>conftest.$ac_ext
25729 cat >>conftest.$ac_ext <<_ACEOF
25730 /* end confdefs.h. */
25731 #include <regex.h>
25732 _ACEOF
25733 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25734 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25735 ac_status=$?
25736 grep -v '^ *+' conftest.er1 >conftest.err
25737 rm -f conftest.er1
25738 cat conftest.err >&5
25739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25740 (exit $ac_status); } >/dev/null; then
25741 if test -s conftest.err; then
25742 ac_cpp_err=$ac_cxx_preproc_warn_flag
25743 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25744 else
25745 ac_cpp_err=
25746 fi
25747 else
25748 ac_cpp_err=yes
25749 fi
25750 if test -z "$ac_cpp_err"; then
25751 ac_header_preproc=yes
25752 else
25753 echo "$as_me: failed program was:" >&5
25754 sed 's/^/| /' conftest.$ac_ext >&5
25755
25756 ac_header_preproc=no
25757 fi
25758 rm -f conftest.err conftest.$ac_ext
25759 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25760 echo "${ECHO_T}$ac_header_preproc" >&6
25761
25762 # So? What about this header?
25763 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25764 yes:no: )
25765 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25766 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25767 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25768 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25769 ac_header_preproc=yes
25770 ;;
25771 no:yes:* )
25772 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25773 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25774 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25775 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25776 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25777 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25778 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25779 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25780 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25781 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25782 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25783 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25784 (
25785 cat <<\_ASBOX
25786 ## ----------------------------------------- ##
25787 ## Report this to wx-dev@lists.wxwidgets.org ##
25788 ## ----------------------------------------- ##
25789 _ASBOX
25790 ) |
25791 sed "s/^/$as_me: WARNING: /" >&2
25792 ;;
25793 esac
25794 echo "$as_me:$LINENO: checking for regex.h" >&5
25795 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25796 if test "${ac_cv_header_regex_h+set}" = set; then
25797 echo $ECHO_N "(cached) $ECHO_C" >&6
25798 else
25799 ac_cv_header_regex_h=$ac_header_preproc
25800 fi
25801 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25802 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25803
25804 fi
25805 if test $ac_cv_header_regex_h = yes; then
25806
25807
25808 for ac_func in regcomp re_search
25809 do
25810 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25811 echo "$as_me:$LINENO: checking for $ac_func" >&5
25812 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25813 if eval "test \"\${$as_ac_var+set}\" = set"; then
25814 echo $ECHO_N "(cached) $ECHO_C" >&6
25815 else
25816 cat >conftest.$ac_ext <<_ACEOF
25817 /* confdefs.h. */
25818 _ACEOF
25819 cat confdefs.h >>conftest.$ac_ext
25820 cat >>conftest.$ac_ext <<_ACEOF
25821 /* end confdefs.h. */
25822 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25823 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25824 #define $ac_func innocuous_$ac_func
25825
25826 /* System header to define __stub macros and hopefully few prototypes,
25827 which can conflict with char $ac_func (); below.
25828 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25829 <limits.h> exists even on freestanding compilers. */
25830
25831 #ifdef __STDC__
25832 # include <limits.h>
25833 #else
25834 # include <assert.h>
25835 #endif
25836
25837 #undef $ac_func
25838
25839 /* Override any gcc2 internal prototype to avoid an error. */
25840 #ifdef __cplusplus
25841 extern "C"
25842 {
25843 #endif
25844 /* We use char because int might match the return type of a gcc2
25845 builtin and then its argument prototype would still apply. */
25846 char $ac_func ();
25847 /* The GNU C library defines this for functions which it implements
25848 to always fail with ENOSYS. Some functions are actually named
25849 something starting with __ and the normal name is an alias. */
25850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25851 choke me
25852 #else
25853 char (*f) () = $ac_func;
25854 #endif
25855 #ifdef __cplusplus
25856 }
25857 #endif
25858
25859 int
25860 main ()
25861 {
25862 return f != $ac_func;
25863 ;
25864 return 0;
25865 }
25866 _ACEOF
25867 rm -f conftest.$ac_objext conftest$ac_exeext
25868 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25869 (eval $ac_link) 2>conftest.er1
25870 ac_status=$?
25871 grep -v '^ *+' conftest.er1 >conftest.err
25872 rm -f conftest.er1
25873 cat conftest.err >&5
25874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25875 (exit $ac_status); } &&
25876 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25878 (eval $ac_try) 2>&5
25879 ac_status=$?
25880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25881 (exit $ac_status); }; } &&
25882 { ac_try='test -s conftest$ac_exeext'
25883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25884 (eval $ac_try) 2>&5
25885 ac_status=$?
25886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25887 (exit $ac_status); }; }; then
25888 eval "$as_ac_var=yes"
25889 else
25890 echo "$as_me: failed program was:" >&5
25891 sed 's/^/| /' conftest.$ac_ext >&5
25892
25893 eval "$as_ac_var=no"
25894 fi
25895 rm -f conftest.err conftest.$ac_objext \
25896 conftest$ac_exeext conftest.$ac_ext
25897 fi
25898 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25899 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25900 if test `eval echo '${'$as_ac_var'}'` = yes; then
25901 cat >>confdefs.h <<_ACEOF
25902 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25903 _ACEOF
25904
25905 fi
25906 done
25907
25908 fi
25909
25910
25911
25912 if test "x$ac_cv_func_regcomp" != "xyes"; then
25913 if test "$wxUSE_REGEX" = "sys" ; then
25914 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25915 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25916 { (exit 1); exit 1; }; }
25917 else
25918 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25919 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25920 wxUSE_REGEX=builtin
25921 fi
25922 else
25923 wxUSE_REGEX=sys
25924 cat >>confdefs.h <<\_ACEOF
25925 #define WX_NO_REGEX_ADVANCED 1
25926 _ACEOF
25927
25928 fi
25929 fi
25930 fi
25931
25932
25933 ZLIB_LINK=
25934 if test "$wxUSE_ZLIB" != "no" ; then
25935 cat >>confdefs.h <<\_ACEOF
25936 #define wxUSE_ZLIB 1
25937 _ACEOF
25938
25939
25940 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25941 if test "$USE_DARWIN" = 1; then
25942 system_zlib_h_ok="yes"
25943 else
25944 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25945 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25946 if test "${ac_cv_header_zlib_h+set}" = set; then
25947 echo $ECHO_N "(cached) $ECHO_C" >&6
25948 else
25949 if test "$cross_compiling" = yes; then
25950 unset ac_cv_header_zlib_h
25951
25952 else
25953 cat >conftest.$ac_ext <<_ACEOF
25954 /* confdefs.h. */
25955 _ACEOF
25956 cat confdefs.h >>conftest.$ac_ext
25957 cat >>conftest.$ac_ext <<_ACEOF
25958 /* end confdefs.h. */
25959
25960 #include <zlib.h>
25961 #include <stdio.h>
25962
25963 int main()
25964 {
25965 FILE *f=fopen("conftestval", "w");
25966 if (!f) exit(1);
25967 fprintf(f, "%s",
25968 ZLIB_VERSION[0] == '1' &&
25969 (ZLIB_VERSION[2] > '1' ||
25970 (ZLIB_VERSION[2] == '1' &&
25971 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25972 exit(0);
25973 }
25974
25975 _ACEOF
25976 rm -f conftest$ac_exeext
25977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25978 (eval $ac_link) 2>&5
25979 ac_status=$?
25980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25981 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25983 (eval $ac_try) 2>&5
25984 ac_status=$?
25985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25986 (exit $ac_status); }; }; then
25987 ac_cv_header_zlib_h=`cat conftestval`
25988 else
25989 echo "$as_me: program exited with status $ac_status" >&5
25990 echo "$as_me: failed program was:" >&5
25991 sed 's/^/| /' conftest.$ac_ext >&5
25992
25993 ( exit $ac_status )
25994 ac_cv_header_zlib_h=no
25995 fi
25996 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25997 fi
25998
25999 fi
26000 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26001 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
26002 if test "${ac_cv_header_zlib_h+set}" = set; then
26003 echo "$as_me:$LINENO: checking for zlib.h" >&5
26004 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
26005 if test "${ac_cv_header_zlib_h+set}" = set; then
26006 echo $ECHO_N "(cached) $ECHO_C" >&6
26007 fi
26008 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26009 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
26010 else
26011 # Is the header compilable?
26012 echo "$as_me:$LINENO: checking zlib.h usability" >&5
26013 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
26014 cat >conftest.$ac_ext <<_ACEOF
26015 /* confdefs.h. */
26016 _ACEOF
26017 cat confdefs.h >>conftest.$ac_ext
26018 cat >>conftest.$ac_ext <<_ACEOF
26019 /* end confdefs.h. */
26020 $ac_includes_default
26021 #include <zlib.h>
26022 _ACEOF
26023 rm -f conftest.$ac_objext
26024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26025 (eval $ac_compile) 2>conftest.er1
26026 ac_status=$?
26027 grep -v '^ *+' conftest.er1 >conftest.err
26028 rm -f conftest.er1
26029 cat conftest.err >&5
26030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26031 (exit $ac_status); } &&
26032 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26034 (eval $ac_try) 2>&5
26035 ac_status=$?
26036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26037 (exit $ac_status); }; } &&
26038 { ac_try='test -s conftest.$ac_objext'
26039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26040 (eval $ac_try) 2>&5
26041 ac_status=$?
26042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26043 (exit $ac_status); }; }; then
26044 ac_header_compiler=yes
26045 else
26046 echo "$as_me: failed program was:" >&5
26047 sed 's/^/| /' conftest.$ac_ext >&5
26048
26049 ac_header_compiler=no
26050 fi
26051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26052 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26053 echo "${ECHO_T}$ac_header_compiler" >&6
26054
26055 # Is the header present?
26056 echo "$as_me:$LINENO: checking zlib.h presence" >&5
26057 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
26058 cat >conftest.$ac_ext <<_ACEOF
26059 /* confdefs.h. */
26060 _ACEOF
26061 cat confdefs.h >>conftest.$ac_ext
26062 cat >>conftest.$ac_ext <<_ACEOF
26063 /* end confdefs.h. */
26064 #include <zlib.h>
26065 _ACEOF
26066 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26067 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26068 ac_status=$?
26069 grep -v '^ *+' conftest.er1 >conftest.err
26070 rm -f conftest.er1
26071 cat conftest.err >&5
26072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26073 (exit $ac_status); } >/dev/null; then
26074 if test -s conftest.err; then
26075 ac_cpp_err=$ac_cxx_preproc_warn_flag
26076 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26077 else
26078 ac_cpp_err=
26079 fi
26080 else
26081 ac_cpp_err=yes
26082 fi
26083 if test -z "$ac_cpp_err"; then
26084 ac_header_preproc=yes
26085 else
26086 echo "$as_me: failed program was:" >&5
26087 sed 's/^/| /' conftest.$ac_ext >&5
26088
26089 ac_header_preproc=no
26090 fi
26091 rm -f conftest.err conftest.$ac_ext
26092 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26093 echo "${ECHO_T}$ac_header_preproc" >&6
26094
26095 # So? What about this header?
26096 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26097 yes:no: )
26098 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
26099 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26100 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
26101 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
26102 ac_header_preproc=yes
26103 ;;
26104 no:yes:* )
26105 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
26106 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
26107 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
26108 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
26109 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
26110 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
26111 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
26112 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
26113 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
26114 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
26115 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
26116 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
26117 (
26118 cat <<\_ASBOX
26119 ## ----------------------------------------- ##
26120 ## Report this to wx-dev@lists.wxwidgets.org ##
26121 ## ----------------------------------------- ##
26122 _ASBOX
26123 ) |
26124 sed "s/^/$as_me: WARNING: /" >&2
26125 ;;
26126 esac
26127 echo "$as_me:$LINENO: checking for zlib.h" >&5
26128 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
26129 if test "${ac_cv_header_zlib_h+set}" = set; then
26130 echo $ECHO_N "(cached) $ECHO_C" >&6
26131 else
26132 ac_cv_header_zlib_h=$ac_header_preproc
26133 fi
26134 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26135 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
26136
26137 fi
26138
26139
26140
26141 system_zlib_h_ok=$ac_cv_header_zlib_h
26142 fi
26143
26144 if test "$system_zlib_h_ok" = "yes"; then
26145 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26146 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
26147 if test "${ac_cv_lib_z_deflate+set}" = set; then
26148 echo $ECHO_N "(cached) $ECHO_C" >&6
26149 else
26150 ac_check_lib_save_LIBS=$LIBS
26151 LIBS="-lz $LIBS"
26152 cat >conftest.$ac_ext <<_ACEOF
26153 /* confdefs.h. */
26154 _ACEOF
26155 cat confdefs.h >>conftest.$ac_ext
26156 cat >>conftest.$ac_ext <<_ACEOF
26157 /* end confdefs.h. */
26158
26159 /* Override any gcc2 internal prototype to avoid an error. */
26160 #ifdef __cplusplus
26161 extern "C"
26162 #endif
26163 /* We use char because int might match the return type of a gcc2
26164 builtin and then its argument prototype would still apply. */
26165 char deflate ();
26166 int
26167 main ()
26168 {
26169 deflate ();
26170 ;
26171 return 0;
26172 }
26173 _ACEOF
26174 rm -f conftest.$ac_objext conftest$ac_exeext
26175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26176 (eval $ac_link) 2>conftest.er1
26177 ac_status=$?
26178 grep -v '^ *+' conftest.er1 >conftest.err
26179 rm -f conftest.er1
26180 cat conftest.err >&5
26181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26182 (exit $ac_status); } &&
26183 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26185 (eval $ac_try) 2>&5
26186 ac_status=$?
26187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26188 (exit $ac_status); }; } &&
26189 { ac_try='test -s conftest$ac_exeext'
26190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26191 (eval $ac_try) 2>&5
26192 ac_status=$?
26193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26194 (exit $ac_status); }; }; then
26195 ac_cv_lib_z_deflate=yes
26196 else
26197 echo "$as_me: failed program was:" >&5
26198 sed 's/^/| /' conftest.$ac_ext >&5
26199
26200 ac_cv_lib_z_deflate=no
26201 fi
26202 rm -f conftest.err conftest.$ac_objext \
26203 conftest$ac_exeext conftest.$ac_ext
26204 LIBS=$ac_check_lib_save_LIBS
26205 fi
26206 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26207 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
26208 if test $ac_cv_lib_z_deflate = yes; then
26209 ZLIB_LINK=" -lz"
26210 fi
26211
26212 fi
26213
26214 if test "x$ZLIB_LINK" = "x" ; then
26215 if test "$wxUSE_ZLIB" = "sys" ; then
26216 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26217 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26218 { (exit 1); exit 1; }; }
26219 else
26220 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26221 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26222 wxUSE_ZLIB=builtin
26223 fi
26224 else
26225 wxUSE_ZLIB=sys
26226 fi
26227 fi
26228 fi
26229
26230
26231 PNG_LINK=
26232 if test "$wxUSE_LIBPNG" != "no" ; then
26233 cat >>confdefs.h <<\_ACEOF
26234 #define wxUSE_LIBPNG 1
26235 _ACEOF
26236
26237
26238 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26239 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26240 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26241 wxUSE_LIBPNG=sys
26242 fi
26243
26244 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26245 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26246 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26247 wxUSE_LIBPNG=builtin
26248 fi
26249
26250 if test "$wxUSE_MGL" != 1 ; then
26251 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26252 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26253 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
26254 if test "${ac_cv_header_png_h+set}" = set; then
26255 echo $ECHO_N "(cached) $ECHO_C" >&6
26256 else
26257 if test "$cross_compiling" = yes; then
26258 unset ac_cv_header_png_h
26259
26260 else
26261 cat >conftest.$ac_ext <<_ACEOF
26262 /* confdefs.h. */
26263 _ACEOF
26264 cat confdefs.h >>conftest.$ac_ext
26265 cat >>conftest.$ac_ext <<_ACEOF
26266 /* end confdefs.h. */
26267
26268 #include <png.h>
26269 #include <stdio.h>
26270
26271 int main()
26272 {
26273 FILE *f=fopen("conftestval", "w");
26274 if (!f) exit(1);
26275 fprintf(f, "%s",
26276 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26277 exit(0);
26278 }
26279
26280 _ACEOF
26281 rm -f conftest$ac_exeext
26282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26283 (eval $ac_link) 2>&5
26284 ac_status=$?
26285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26286 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26288 (eval $ac_try) 2>&5
26289 ac_status=$?
26290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26291 (exit $ac_status); }; }; then
26292 ac_cv_header_png_h=`cat conftestval`
26293 else
26294 echo "$as_me: program exited with status $ac_status" >&5
26295 echo "$as_me: failed program was:" >&5
26296 sed 's/^/| /' conftest.$ac_ext >&5
26297
26298 ( exit $ac_status )
26299 ac_cv_header_png_h=no
26300 fi
26301 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26302 fi
26303
26304 fi
26305 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26306 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26307 if test "${ac_cv_header_png_h+set}" = set; then
26308 echo "$as_me:$LINENO: checking for png.h" >&5
26309 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
26310 if test "${ac_cv_header_png_h+set}" = set; then
26311 echo $ECHO_N "(cached) $ECHO_C" >&6
26312 fi
26313 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26314 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26315 else
26316 # Is the header compilable?
26317 echo "$as_me:$LINENO: checking png.h usability" >&5
26318 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
26319 cat >conftest.$ac_ext <<_ACEOF
26320 /* confdefs.h. */
26321 _ACEOF
26322 cat confdefs.h >>conftest.$ac_ext
26323 cat >>conftest.$ac_ext <<_ACEOF
26324 /* end confdefs.h. */
26325 $ac_includes_default
26326 #include <png.h>
26327 _ACEOF
26328 rm -f conftest.$ac_objext
26329 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26330 (eval $ac_compile) 2>conftest.er1
26331 ac_status=$?
26332 grep -v '^ *+' conftest.er1 >conftest.err
26333 rm -f conftest.er1
26334 cat conftest.err >&5
26335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26336 (exit $ac_status); } &&
26337 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26339 (eval $ac_try) 2>&5
26340 ac_status=$?
26341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26342 (exit $ac_status); }; } &&
26343 { ac_try='test -s conftest.$ac_objext'
26344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26345 (eval $ac_try) 2>&5
26346 ac_status=$?
26347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26348 (exit $ac_status); }; }; then
26349 ac_header_compiler=yes
26350 else
26351 echo "$as_me: failed program was:" >&5
26352 sed 's/^/| /' conftest.$ac_ext >&5
26353
26354 ac_header_compiler=no
26355 fi
26356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26357 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26358 echo "${ECHO_T}$ac_header_compiler" >&6
26359
26360 # Is the header present?
26361 echo "$as_me:$LINENO: checking png.h presence" >&5
26362 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
26363 cat >conftest.$ac_ext <<_ACEOF
26364 /* confdefs.h. */
26365 _ACEOF
26366 cat confdefs.h >>conftest.$ac_ext
26367 cat >>conftest.$ac_ext <<_ACEOF
26368 /* end confdefs.h. */
26369 #include <png.h>
26370 _ACEOF
26371 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26372 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26373 ac_status=$?
26374 grep -v '^ *+' conftest.er1 >conftest.err
26375 rm -f conftest.er1
26376 cat conftest.err >&5
26377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26378 (exit $ac_status); } >/dev/null; then
26379 if test -s conftest.err; then
26380 ac_cpp_err=$ac_cxx_preproc_warn_flag
26381 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26382 else
26383 ac_cpp_err=
26384 fi
26385 else
26386 ac_cpp_err=yes
26387 fi
26388 if test -z "$ac_cpp_err"; then
26389 ac_header_preproc=yes
26390 else
26391 echo "$as_me: failed program was:" >&5
26392 sed 's/^/| /' conftest.$ac_ext >&5
26393
26394 ac_header_preproc=no
26395 fi
26396 rm -f conftest.err conftest.$ac_ext
26397 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26398 echo "${ECHO_T}$ac_header_preproc" >&6
26399
26400 # So? What about this header?
26401 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26402 yes:no: )
26403 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
26404 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26405 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
26406 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
26407 ac_header_preproc=yes
26408 ;;
26409 no:yes:* )
26410 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
26411 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
26412 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
26413 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
26414 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
26415 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
26416 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
26417 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
26418 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
26419 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
26420 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
26421 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
26422 (
26423 cat <<\_ASBOX
26424 ## ----------------------------------------- ##
26425 ## Report this to wx-dev@lists.wxwidgets.org ##
26426 ## ----------------------------------------- ##
26427 _ASBOX
26428 ) |
26429 sed "s/^/$as_me: WARNING: /" >&2
26430 ;;
26431 esac
26432 echo "$as_me:$LINENO: checking for png.h" >&5
26433 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
26434 if test "${ac_cv_header_png_h+set}" = set; then
26435 echo $ECHO_N "(cached) $ECHO_C" >&6
26436 else
26437 ac_cv_header_png_h=$ac_header_preproc
26438 fi
26439 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26440 echo "${ECHO_T}$ac_cv_header_png_h" >&6
26441
26442 fi
26443
26444
26445
26446 if test "$ac_cv_header_png_h" = "yes"; then
26447 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26448 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
26449 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26450 echo $ECHO_N "(cached) $ECHO_C" >&6
26451 else
26452 ac_check_lib_save_LIBS=$LIBS
26453 LIBS="-lpng -lz -lm $LIBS"
26454 cat >conftest.$ac_ext <<_ACEOF
26455 /* confdefs.h. */
26456 _ACEOF
26457 cat confdefs.h >>conftest.$ac_ext
26458 cat >>conftest.$ac_ext <<_ACEOF
26459 /* end confdefs.h. */
26460
26461 /* Override any gcc2 internal prototype to avoid an error. */
26462 #ifdef __cplusplus
26463 extern "C"
26464 #endif
26465 /* We use char because int might match the return type of a gcc2
26466 builtin and then its argument prototype would still apply. */
26467 char png_check_sig ();
26468 int
26469 main ()
26470 {
26471 png_check_sig ();
26472 ;
26473 return 0;
26474 }
26475 _ACEOF
26476 rm -f conftest.$ac_objext conftest$ac_exeext
26477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26478 (eval $ac_link) 2>conftest.er1
26479 ac_status=$?
26480 grep -v '^ *+' conftest.er1 >conftest.err
26481 rm -f conftest.er1
26482 cat conftest.err >&5
26483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26484 (exit $ac_status); } &&
26485 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26487 (eval $ac_try) 2>&5
26488 ac_status=$?
26489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26490 (exit $ac_status); }; } &&
26491 { ac_try='test -s conftest$ac_exeext'
26492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26493 (eval $ac_try) 2>&5
26494 ac_status=$?
26495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26496 (exit $ac_status); }; }; then
26497 ac_cv_lib_png_png_check_sig=yes
26498 else
26499 echo "$as_me: failed program was:" >&5
26500 sed 's/^/| /' conftest.$ac_ext >&5
26501
26502 ac_cv_lib_png_png_check_sig=no
26503 fi
26504 rm -f conftest.err conftest.$ac_objext \
26505 conftest$ac_exeext conftest.$ac_ext
26506 LIBS=$ac_check_lib_save_LIBS
26507 fi
26508 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26509 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
26510 if test $ac_cv_lib_png_png_check_sig = yes; then
26511 PNG_LINK=" -lpng -lz"
26512 fi
26513
26514 fi
26515
26516 if test "x$PNG_LINK" = "x" ; then
26517 if test "$wxUSE_LIBPNG" = "sys" ; then
26518 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26519 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26520 { (exit 1); exit 1; }; }
26521 else
26522 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26523 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26524 wxUSE_LIBPNG=builtin
26525 fi
26526 else
26527 wxUSE_LIBPNG=sys
26528 fi
26529 fi
26530 fi
26531
26532 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
26533 fi
26534
26535
26536 JPEG_LINK=
26537 if test "$wxUSE_LIBJPEG" != "no" ; then
26538 cat >>confdefs.h <<\_ACEOF
26539 #define wxUSE_LIBJPEG 1
26540 _ACEOF
26541
26542
26543 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26544 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26545 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26546 wxUSE_LIBJPEG=sys
26547 fi
26548
26549 if test "$wxUSE_MGL" != 1 ; then
26550 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26551 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26552 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
26553 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26554 echo $ECHO_N "(cached) $ECHO_C" >&6
26555 else
26556 cat >conftest.$ac_ext <<_ACEOF
26557 /* confdefs.h. */
26558 _ACEOF
26559 cat confdefs.h >>conftest.$ac_ext
26560 cat >>conftest.$ac_ext <<_ACEOF
26561 /* end confdefs.h. */
26562
26563 #undef HAVE_STDLIB_H
26564 #include <stdio.h>
26565 #include <jpeglib.h>
26566
26567 int
26568 main ()
26569 {
26570
26571
26572 ;
26573 return 0;
26574 }
26575 _ACEOF
26576 rm -f conftest.$ac_objext
26577 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26578 (eval $ac_compile) 2>conftest.er1
26579 ac_status=$?
26580 grep -v '^ *+' conftest.er1 >conftest.err
26581 rm -f conftest.er1
26582 cat conftest.err >&5
26583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26584 (exit $ac_status); } &&
26585 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26587 (eval $ac_try) 2>&5
26588 ac_status=$?
26589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26590 (exit $ac_status); }; } &&
26591 { ac_try='test -s conftest.$ac_objext'
26592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26593 (eval $ac_try) 2>&5
26594 ac_status=$?
26595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26596 (exit $ac_status); }; }; then
26597 ac_cv_header_jpeglib_h=yes
26598 else
26599 echo "$as_me: failed program was:" >&5
26600 sed 's/^/| /' conftest.$ac_ext >&5
26601
26602 ac_cv_header_jpeglib_h=no
26603
26604 fi
26605 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26606
26607 fi
26608
26609 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26610 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
26611
26612 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26613 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26614 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
26615 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26616 echo $ECHO_N "(cached) $ECHO_C" >&6
26617 else
26618 ac_check_lib_save_LIBS=$LIBS
26619 LIBS="-ljpeg $LIBS"
26620 cat >conftest.$ac_ext <<_ACEOF
26621 /* confdefs.h. */
26622 _ACEOF
26623 cat confdefs.h >>conftest.$ac_ext
26624 cat >>conftest.$ac_ext <<_ACEOF
26625 /* end confdefs.h. */
26626
26627 /* Override any gcc2 internal prototype to avoid an error. */
26628 #ifdef __cplusplus
26629 extern "C"
26630 #endif
26631 /* We use char because int might match the return type of a gcc2
26632 builtin and then its argument prototype would still apply. */
26633 char jpeg_read_header ();
26634 int
26635 main ()
26636 {
26637 jpeg_read_header ();
26638 ;
26639 return 0;
26640 }
26641 _ACEOF
26642 rm -f conftest.$ac_objext conftest$ac_exeext
26643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26644 (eval $ac_link) 2>conftest.er1
26645 ac_status=$?
26646 grep -v '^ *+' conftest.er1 >conftest.err
26647 rm -f conftest.er1
26648 cat conftest.err >&5
26649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26650 (exit $ac_status); } &&
26651 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26653 (eval $ac_try) 2>&5
26654 ac_status=$?
26655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26656 (exit $ac_status); }; } &&
26657 { ac_try='test -s conftest$ac_exeext'
26658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26659 (eval $ac_try) 2>&5
26660 ac_status=$?
26661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26662 (exit $ac_status); }; }; then
26663 ac_cv_lib_jpeg_jpeg_read_header=yes
26664 else
26665 echo "$as_me: failed program was:" >&5
26666 sed 's/^/| /' conftest.$ac_ext >&5
26667
26668 ac_cv_lib_jpeg_jpeg_read_header=no
26669 fi
26670 rm -f conftest.err conftest.$ac_objext \
26671 conftest$ac_exeext conftest.$ac_ext
26672 LIBS=$ac_check_lib_save_LIBS
26673 fi
26674 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26675 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26676 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26677 JPEG_LINK=" -ljpeg"
26678 fi
26679
26680 fi
26681
26682 if test "x$JPEG_LINK" = "x" ; then
26683 if test "$wxUSE_LIBJPEG" = "sys" ; then
26684 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26685 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26686 { (exit 1); exit 1; }; }
26687 else
26688 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26689 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26690 wxUSE_LIBJPEG=builtin
26691 fi
26692 else
26693 wxUSE_LIBJPEG=sys
26694 fi
26695 fi
26696 fi
26697 fi
26698
26699
26700 TIFF_LINK=
26701 TIFF_PREREQ_LINKS=-lm
26702 if test "$wxUSE_LIBTIFF" != "no" ; then
26703 cat >>confdefs.h <<\_ACEOF
26704 #define wxUSE_LIBTIFF 1
26705 _ACEOF
26706
26707
26708 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26709 if test "$wxUSE_LIBJPEG" = "sys"; then
26710 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26711 fi
26712 if test "$wxUSE_ZLIB" = "sys"; then
26713 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26714 fi
26715 if test "${ac_cv_header_tiffio_h+set}" = set; then
26716 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26717 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26718 if test "${ac_cv_header_tiffio_h+set}" = set; then
26719 echo $ECHO_N "(cached) $ECHO_C" >&6
26720 fi
26721 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26722 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26723 else
26724 # Is the header compilable?
26725 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26726 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26727 cat >conftest.$ac_ext <<_ACEOF
26728 /* confdefs.h. */
26729 _ACEOF
26730 cat confdefs.h >>conftest.$ac_ext
26731 cat >>conftest.$ac_ext <<_ACEOF
26732 /* end confdefs.h. */
26733 $ac_includes_default
26734 #include <tiffio.h>
26735 _ACEOF
26736 rm -f conftest.$ac_objext
26737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26738 (eval $ac_compile) 2>conftest.er1
26739 ac_status=$?
26740 grep -v '^ *+' conftest.er1 >conftest.err
26741 rm -f conftest.er1
26742 cat conftest.err >&5
26743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26744 (exit $ac_status); } &&
26745 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26747 (eval $ac_try) 2>&5
26748 ac_status=$?
26749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26750 (exit $ac_status); }; } &&
26751 { ac_try='test -s conftest.$ac_objext'
26752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26753 (eval $ac_try) 2>&5
26754 ac_status=$?
26755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26756 (exit $ac_status); }; }; then
26757 ac_header_compiler=yes
26758 else
26759 echo "$as_me: failed program was:" >&5
26760 sed 's/^/| /' conftest.$ac_ext >&5
26761
26762 ac_header_compiler=no
26763 fi
26764 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26765 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26766 echo "${ECHO_T}$ac_header_compiler" >&6
26767
26768 # Is the header present?
26769 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26770 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26771 cat >conftest.$ac_ext <<_ACEOF
26772 /* confdefs.h. */
26773 _ACEOF
26774 cat confdefs.h >>conftest.$ac_ext
26775 cat >>conftest.$ac_ext <<_ACEOF
26776 /* end confdefs.h. */
26777 #include <tiffio.h>
26778 _ACEOF
26779 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26780 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26781 ac_status=$?
26782 grep -v '^ *+' conftest.er1 >conftest.err
26783 rm -f conftest.er1
26784 cat conftest.err >&5
26785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26786 (exit $ac_status); } >/dev/null; then
26787 if test -s conftest.err; then
26788 ac_cpp_err=$ac_cxx_preproc_warn_flag
26789 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26790 else
26791 ac_cpp_err=
26792 fi
26793 else
26794 ac_cpp_err=yes
26795 fi
26796 if test -z "$ac_cpp_err"; then
26797 ac_header_preproc=yes
26798 else
26799 echo "$as_me: failed program was:" >&5
26800 sed 's/^/| /' conftest.$ac_ext >&5
26801
26802 ac_header_preproc=no
26803 fi
26804 rm -f conftest.err conftest.$ac_ext
26805 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26806 echo "${ECHO_T}$ac_header_preproc" >&6
26807
26808 # So? What about this header?
26809 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26810 yes:no: )
26811 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26812 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26813 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26814 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26815 ac_header_preproc=yes
26816 ;;
26817 no:yes:* )
26818 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26819 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26820 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26821 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26822 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26823 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26824 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26825 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26826 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26827 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26828 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26829 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26830 (
26831 cat <<\_ASBOX
26832 ## ----------------------------------------- ##
26833 ## Report this to wx-dev@lists.wxwidgets.org ##
26834 ## ----------------------------------------- ##
26835 _ASBOX
26836 ) |
26837 sed "s/^/$as_me: WARNING: /" >&2
26838 ;;
26839 esac
26840 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26841 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26842 if test "${ac_cv_header_tiffio_h+set}" = set; then
26843 echo $ECHO_N "(cached) $ECHO_C" >&6
26844 else
26845 ac_cv_header_tiffio_h=$ac_header_preproc
26846 fi
26847 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26848 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26849
26850 fi
26851 if test $ac_cv_header_tiffio_h = yes; then
26852
26853 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26854 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26855 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26856 echo $ECHO_N "(cached) $ECHO_C" >&6
26857 else
26858 ac_check_lib_save_LIBS=$LIBS
26859 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26860 cat >conftest.$ac_ext <<_ACEOF
26861 /* confdefs.h. */
26862 _ACEOF
26863 cat confdefs.h >>conftest.$ac_ext
26864 cat >>conftest.$ac_ext <<_ACEOF
26865 /* end confdefs.h. */
26866
26867 /* Override any gcc2 internal prototype to avoid an error. */
26868 #ifdef __cplusplus
26869 extern "C"
26870 #endif
26871 /* We use char because int might match the return type of a gcc2
26872 builtin and then its argument prototype would still apply. */
26873 char TIFFError ();
26874 int
26875 main ()
26876 {
26877 TIFFError ();
26878 ;
26879 return 0;
26880 }
26881 _ACEOF
26882 rm -f conftest.$ac_objext conftest$ac_exeext
26883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26884 (eval $ac_link) 2>conftest.er1
26885 ac_status=$?
26886 grep -v '^ *+' conftest.er1 >conftest.err
26887 rm -f conftest.er1
26888 cat conftest.err >&5
26889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26890 (exit $ac_status); } &&
26891 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26893 (eval $ac_try) 2>&5
26894 ac_status=$?
26895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26896 (exit $ac_status); }; } &&
26897 { ac_try='test -s conftest$ac_exeext'
26898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26899 (eval $ac_try) 2>&5
26900 ac_status=$?
26901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26902 (exit $ac_status); }; }; then
26903 ac_cv_lib_tiff_TIFFError=yes
26904 else
26905 echo "$as_me: failed program was:" >&5
26906 sed 's/^/| /' conftest.$ac_ext >&5
26907
26908 ac_cv_lib_tiff_TIFFError=no
26909 fi
26910 rm -f conftest.err conftest.$ac_objext \
26911 conftest$ac_exeext conftest.$ac_ext
26912 LIBS=$ac_check_lib_save_LIBS
26913 fi
26914 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26915 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26916 if test $ac_cv_lib_tiff_TIFFError = yes; then
26917 TIFF_LINK=" -ltiff"
26918 fi
26919
26920
26921
26922 fi
26923
26924
26925
26926 if test "x$TIFF_LINK" = "x" ; then
26927 if test "$wxUSE_LIBTIFF" = "sys" ; then
26928 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26929 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26930 { (exit 1); exit 1; }; }
26931 else
26932 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26933 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26934 wxUSE_LIBTIFF=builtin
26935 fi
26936 else
26937 wxUSE_LIBTIFF=sys
26938 fi
26939 fi
26940 fi
26941
26942
26943 if test "$wxUSE_WCHAR_T" != "yes"; then
26944 if test "$wxUSE_EXPAT" != "no"; then
26945 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26946 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26947 wxUSE_EXPAT=no
26948 fi
26949 if test "$wxUSE_XML" != "no"; then
26950 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26951 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26952 wxUSE_XML=no
26953 fi
26954 fi
26955
26956 if test "$wxUSE_EXPAT" != "no"; then
26957 wxUSE_XML=yes
26958 cat >>confdefs.h <<\_ACEOF
26959 #define wxUSE_EXPAT 1
26960 _ACEOF
26961
26962 cat >>confdefs.h <<\_ACEOF
26963 #define wxUSE_XML 1
26964 _ACEOF
26965
26966
26967 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26968 if test "${ac_cv_header_expat_h+set}" = set; then
26969 echo "$as_me:$LINENO: checking for expat.h" >&5
26970 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26971 if test "${ac_cv_header_expat_h+set}" = set; then
26972 echo $ECHO_N "(cached) $ECHO_C" >&6
26973 fi
26974 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26975 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26976 else
26977 # Is the header compilable?
26978 echo "$as_me:$LINENO: checking expat.h usability" >&5
26979 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26980 cat >conftest.$ac_ext <<_ACEOF
26981 /* confdefs.h. */
26982 _ACEOF
26983 cat confdefs.h >>conftest.$ac_ext
26984 cat >>conftest.$ac_ext <<_ACEOF
26985 /* end confdefs.h. */
26986 $ac_includes_default
26987 #include <expat.h>
26988 _ACEOF
26989 rm -f conftest.$ac_objext
26990 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26991 (eval $ac_compile) 2>conftest.er1
26992 ac_status=$?
26993 grep -v '^ *+' conftest.er1 >conftest.err
26994 rm -f conftest.er1
26995 cat conftest.err >&5
26996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26997 (exit $ac_status); } &&
26998 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27000 (eval $ac_try) 2>&5
27001 ac_status=$?
27002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27003 (exit $ac_status); }; } &&
27004 { ac_try='test -s conftest.$ac_objext'
27005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27006 (eval $ac_try) 2>&5
27007 ac_status=$?
27008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27009 (exit $ac_status); }; }; then
27010 ac_header_compiler=yes
27011 else
27012 echo "$as_me: failed program was:" >&5
27013 sed 's/^/| /' conftest.$ac_ext >&5
27014
27015 ac_header_compiler=no
27016 fi
27017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27018 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27019 echo "${ECHO_T}$ac_header_compiler" >&6
27020
27021 # Is the header present?
27022 echo "$as_me:$LINENO: checking expat.h presence" >&5
27023 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
27024 cat >conftest.$ac_ext <<_ACEOF
27025 /* confdefs.h. */
27026 _ACEOF
27027 cat confdefs.h >>conftest.$ac_ext
27028 cat >>conftest.$ac_ext <<_ACEOF
27029 /* end confdefs.h. */
27030 #include <expat.h>
27031 _ACEOF
27032 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27033 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27034 ac_status=$?
27035 grep -v '^ *+' conftest.er1 >conftest.err
27036 rm -f conftest.er1
27037 cat conftest.err >&5
27038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27039 (exit $ac_status); } >/dev/null; then
27040 if test -s conftest.err; then
27041 ac_cpp_err=$ac_cxx_preproc_warn_flag
27042 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27043 else
27044 ac_cpp_err=
27045 fi
27046 else
27047 ac_cpp_err=yes
27048 fi
27049 if test -z "$ac_cpp_err"; then
27050 ac_header_preproc=yes
27051 else
27052 echo "$as_me: failed program was:" >&5
27053 sed 's/^/| /' conftest.$ac_ext >&5
27054
27055 ac_header_preproc=no
27056 fi
27057 rm -f conftest.err conftest.$ac_ext
27058 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27059 echo "${ECHO_T}$ac_header_preproc" >&6
27060
27061 # So? What about this header?
27062 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27063 yes:no: )
27064 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
27065 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27066 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
27067 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
27068 ac_header_preproc=yes
27069 ;;
27070 no:yes:* )
27071 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
27072 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
27073 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
27074 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
27075 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
27076 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
27077 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
27078 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
27079 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
27080 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
27081 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
27082 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
27083 (
27084 cat <<\_ASBOX
27085 ## ----------------------------------------- ##
27086 ## Report this to wx-dev@lists.wxwidgets.org ##
27087 ## ----------------------------------------- ##
27088 _ASBOX
27089 ) |
27090 sed "s/^/$as_me: WARNING: /" >&2
27091 ;;
27092 esac
27093 echo "$as_me:$LINENO: checking for expat.h" >&5
27094 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
27095 if test "${ac_cv_header_expat_h+set}" = set; then
27096 echo $ECHO_N "(cached) $ECHO_C" >&6
27097 else
27098 ac_cv_header_expat_h=$ac_header_preproc
27099 fi
27100 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27101 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
27102
27103 fi
27104 if test $ac_cv_header_expat_h = yes; then
27105 found_expat_h=1
27106 fi
27107
27108
27109 if test "x$found_expat_h" = "x1"; then
27110 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27111 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
27112 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27113 echo $ECHO_N "(cached) $ECHO_C" >&6
27114 else
27115
27116 cat >conftest.$ac_ext <<_ACEOF
27117 /* confdefs.h. */
27118 _ACEOF
27119 cat confdefs.h >>conftest.$ac_ext
27120 cat >>conftest.$ac_ext <<_ACEOF
27121 /* end confdefs.h. */
27122 #include <expat.h>
27123 int
27124 main ()
27125 {
27126
27127 ;
27128 return 0;
27129 }
27130 _ACEOF
27131 rm -f conftest.$ac_objext
27132 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27133 (eval $ac_compile) 2>conftest.er1
27134 ac_status=$?
27135 grep -v '^ *+' conftest.er1 >conftest.err
27136 rm -f conftest.er1
27137 cat conftest.err >&5
27138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27139 (exit $ac_status); } &&
27140 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27142 (eval $ac_try) 2>&5
27143 ac_status=$?
27144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27145 (exit $ac_status); }; } &&
27146 { ac_try='test -s conftest.$ac_objext'
27147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27148 (eval $ac_try) 2>&5
27149 ac_status=$?
27150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27151 (exit $ac_status); }; }; then
27152 wx_cv_expat_is_not_broken=yes
27153 else
27154 echo "$as_me: failed program was:" >&5
27155 sed 's/^/| /' conftest.$ac_ext >&5
27156
27157 wx_cv_expat_is_not_broken=no
27158
27159 fi
27160 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27161
27162
27163 fi
27164 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27165 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
27166 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27167 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27168 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
27169 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27170 echo $ECHO_N "(cached) $ECHO_C" >&6
27171 else
27172 ac_check_lib_save_LIBS=$LIBS
27173 LIBS="-lexpat $LIBS"
27174 cat >conftest.$ac_ext <<_ACEOF
27175 /* confdefs.h. */
27176 _ACEOF
27177 cat confdefs.h >>conftest.$ac_ext
27178 cat >>conftest.$ac_ext <<_ACEOF
27179 /* end confdefs.h. */
27180
27181 /* Override any gcc2 internal prototype to avoid an error. */
27182 #ifdef __cplusplus
27183 extern "C"
27184 #endif
27185 /* We use char because int might match the return type of a gcc2
27186 builtin and then its argument prototype would still apply. */
27187 char XML_ParserCreate ();
27188 int
27189 main ()
27190 {
27191 XML_ParserCreate ();
27192 ;
27193 return 0;
27194 }
27195 _ACEOF
27196 rm -f conftest.$ac_objext conftest$ac_exeext
27197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27198 (eval $ac_link) 2>conftest.er1
27199 ac_status=$?
27200 grep -v '^ *+' conftest.er1 >conftest.err
27201 rm -f conftest.er1
27202 cat conftest.err >&5
27203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27204 (exit $ac_status); } &&
27205 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27207 (eval $ac_try) 2>&5
27208 ac_status=$?
27209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27210 (exit $ac_status); }; } &&
27211 { ac_try='test -s conftest$ac_exeext'
27212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27213 (eval $ac_try) 2>&5
27214 ac_status=$?
27215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27216 (exit $ac_status); }; }; then
27217 ac_cv_lib_expat_XML_ParserCreate=yes
27218 else
27219 echo "$as_me: failed program was:" >&5
27220 sed 's/^/| /' conftest.$ac_ext >&5
27221
27222 ac_cv_lib_expat_XML_ParserCreate=no
27223 fi
27224 rm -f conftest.err conftest.$ac_objext \
27225 conftest$ac_exeext conftest.$ac_ext
27226 LIBS=$ac_check_lib_save_LIBS
27227 fi
27228 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27229 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
27230 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27231 EXPAT_LINK=" -lexpat"
27232 fi
27233
27234 fi
27235 fi
27236 if test "x$EXPAT_LINK" = "x" ; then
27237 if test "$wxUSE_EXPAT" = "sys" ; then
27238 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27239 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27240 { (exit 1); exit 1; }; }
27241 else
27242 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27243 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27244 wxUSE_EXPAT=builtin
27245 fi
27246 else
27247 wxUSE_EXPAT=sys
27248 fi
27249 fi
27250 if test "$wxUSE_EXPAT" = "builtin" ; then
27251
27252
27253 subdirs="$subdirs src/expat"
27254
27255 fi
27256 fi
27257
27258
27259
27260 if test "$wxUSE_LIBMSPACK" != "no"; then
27261 if test "${ac_cv_header_mspack_h+set}" = set; then
27262 echo "$as_me:$LINENO: checking for mspack.h" >&5
27263 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27264 if test "${ac_cv_header_mspack_h+set}" = set; then
27265 echo $ECHO_N "(cached) $ECHO_C" >&6
27266 fi
27267 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27268 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27269 else
27270 # Is the header compilable?
27271 echo "$as_me:$LINENO: checking mspack.h usability" >&5
27272 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
27273 cat >conftest.$ac_ext <<_ACEOF
27274 /* confdefs.h. */
27275 _ACEOF
27276 cat confdefs.h >>conftest.$ac_ext
27277 cat >>conftest.$ac_ext <<_ACEOF
27278 /* end confdefs.h. */
27279 $ac_includes_default
27280 #include <mspack.h>
27281 _ACEOF
27282 rm -f conftest.$ac_objext
27283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27284 (eval $ac_compile) 2>conftest.er1
27285 ac_status=$?
27286 grep -v '^ *+' conftest.er1 >conftest.err
27287 rm -f conftest.er1
27288 cat conftest.err >&5
27289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27290 (exit $ac_status); } &&
27291 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27293 (eval $ac_try) 2>&5
27294 ac_status=$?
27295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27296 (exit $ac_status); }; } &&
27297 { ac_try='test -s conftest.$ac_objext'
27298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27299 (eval $ac_try) 2>&5
27300 ac_status=$?
27301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27302 (exit $ac_status); }; }; then
27303 ac_header_compiler=yes
27304 else
27305 echo "$as_me: failed program was:" >&5
27306 sed 's/^/| /' conftest.$ac_ext >&5
27307
27308 ac_header_compiler=no
27309 fi
27310 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27311 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27312 echo "${ECHO_T}$ac_header_compiler" >&6
27313
27314 # Is the header present?
27315 echo "$as_me:$LINENO: checking mspack.h presence" >&5
27316 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
27317 cat >conftest.$ac_ext <<_ACEOF
27318 /* confdefs.h. */
27319 _ACEOF
27320 cat confdefs.h >>conftest.$ac_ext
27321 cat >>conftest.$ac_ext <<_ACEOF
27322 /* end confdefs.h. */
27323 #include <mspack.h>
27324 _ACEOF
27325 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27326 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27327 ac_status=$?
27328 grep -v '^ *+' conftest.er1 >conftest.err
27329 rm -f conftest.er1
27330 cat conftest.err >&5
27331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27332 (exit $ac_status); } >/dev/null; then
27333 if test -s conftest.err; then
27334 ac_cpp_err=$ac_cxx_preproc_warn_flag
27335 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27336 else
27337 ac_cpp_err=
27338 fi
27339 else
27340 ac_cpp_err=yes
27341 fi
27342 if test -z "$ac_cpp_err"; then
27343 ac_header_preproc=yes
27344 else
27345 echo "$as_me: failed program was:" >&5
27346 sed 's/^/| /' conftest.$ac_ext >&5
27347
27348 ac_header_preproc=no
27349 fi
27350 rm -f conftest.err conftest.$ac_ext
27351 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27352 echo "${ECHO_T}$ac_header_preproc" >&6
27353
27354 # So? What about this header?
27355 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27356 yes:no: )
27357 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
27358 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27359 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
27360 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
27361 ac_header_preproc=yes
27362 ;;
27363 no:yes:* )
27364 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
27365 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
27366 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
27367 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
27368 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
27369 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
27370 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
27371 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
27372 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
27373 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
27374 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
27375 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
27376 (
27377 cat <<\_ASBOX
27378 ## ----------------------------------------- ##
27379 ## Report this to wx-dev@lists.wxwidgets.org ##
27380 ## ----------------------------------------- ##
27381 _ASBOX
27382 ) |
27383 sed "s/^/$as_me: WARNING: /" >&2
27384 ;;
27385 esac
27386 echo "$as_me:$LINENO: checking for mspack.h" >&5
27387 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
27388 if test "${ac_cv_header_mspack_h+set}" = set; then
27389 echo $ECHO_N "(cached) $ECHO_C" >&6
27390 else
27391 ac_cv_header_mspack_h=$ac_header_preproc
27392 fi
27393 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27394 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
27395
27396 fi
27397 if test $ac_cv_header_mspack_h = yes; then
27398 found_mspack_h=1
27399 fi
27400
27401
27402 if test "x$found_mspack_h" = "x1"; then
27403 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27404 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
27405 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27406 echo $ECHO_N "(cached) $ECHO_C" >&6
27407 else
27408 ac_check_lib_save_LIBS=$LIBS
27409 LIBS="-lmspack $LIBS"
27410 cat >conftest.$ac_ext <<_ACEOF
27411 /* confdefs.h. */
27412 _ACEOF
27413 cat confdefs.h >>conftest.$ac_ext
27414 cat >>conftest.$ac_ext <<_ACEOF
27415 /* end confdefs.h. */
27416
27417 /* Override any gcc2 internal prototype to avoid an error. */
27418 #ifdef __cplusplus
27419 extern "C"
27420 #endif
27421 /* We use char because int might match the return type of a gcc2
27422 builtin and then its argument prototype would still apply. */
27423 char mspack_create_chm_decompressor ();
27424 int
27425 main ()
27426 {
27427 mspack_create_chm_decompressor ();
27428 ;
27429 return 0;
27430 }
27431 _ACEOF
27432 rm -f conftest.$ac_objext conftest$ac_exeext
27433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27434 (eval $ac_link) 2>conftest.er1
27435 ac_status=$?
27436 grep -v '^ *+' conftest.er1 >conftest.err
27437 rm -f conftest.er1
27438 cat conftest.err >&5
27439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27440 (exit $ac_status); } &&
27441 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27443 (eval $ac_try) 2>&5
27444 ac_status=$?
27445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27446 (exit $ac_status); }; } &&
27447 { ac_try='test -s conftest$ac_exeext'
27448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27449 (eval $ac_try) 2>&5
27450 ac_status=$?
27451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27452 (exit $ac_status); }; }; then
27453 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27454 else
27455 echo "$as_me: failed program was:" >&5
27456 sed 's/^/| /' conftest.$ac_ext >&5
27457
27458 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27459 fi
27460 rm -f conftest.err conftest.$ac_objext \
27461 conftest$ac_exeext conftest.$ac_ext
27462 LIBS=$ac_check_lib_save_LIBS
27463 fi
27464 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27465 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
27466 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27467 MSPACK_LINK=" -lmspack"
27468 fi
27469
27470 fi
27471 if test "x$MSPACK_LINK" = "x" ; then
27472 wxUSE_LIBMSPACK=no
27473 fi
27474 fi
27475
27476 if test "$wxUSE_LIBMSPACK" != "no"; then
27477 cat >>confdefs.h <<\_ACEOF
27478 #define wxUSE_LIBMSPACK 1
27479 _ACEOF
27480
27481 fi
27482
27483
27484
27485 AFMINSTALL=
27486 WIN32INSTALL=
27487
27488 TOOLKIT=
27489 TOOLKIT_INCLUDE=
27490 WIDGET_SET=
27491
27492 if test "$USE_WIN32" = 1 ; then
27493
27494 for ac_header in w32api.h
27495 do
27496 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27497 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27498 echo "$as_me:$LINENO: checking for $ac_header" >&5
27499 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27500 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27501 echo $ECHO_N "(cached) $ECHO_C" >&6
27502 fi
27503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27504 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27505 else
27506 # Is the header compilable?
27507 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27508 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27509 cat >conftest.$ac_ext <<_ACEOF
27510 /* confdefs.h. */
27511 _ACEOF
27512 cat confdefs.h >>conftest.$ac_ext
27513 cat >>conftest.$ac_ext <<_ACEOF
27514 /* end confdefs.h. */
27515 $ac_includes_default
27516 #include <$ac_header>
27517 _ACEOF
27518 rm -f conftest.$ac_objext
27519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27520 (eval $ac_compile) 2>conftest.er1
27521 ac_status=$?
27522 grep -v '^ *+' conftest.er1 >conftest.err
27523 rm -f conftest.er1
27524 cat conftest.err >&5
27525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27526 (exit $ac_status); } &&
27527 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27529 (eval $ac_try) 2>&5
27530 ac_status=$?
27531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27532 (exit $ac_status); }; } &&
27533 { ac_try='test -s conftest.$ac_objext'
27534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27535 (eval $ac_try) 2>&5
27536 ac_status=$?
27537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27538 (exit $ac_status); }; }; then
27539 ac_header_compiler=yes
27540 else
27541 echo "$as_me: failed program was:" >&5
27542 sed 's/^/| /' conftest.$ac_ext >&5
27543
27544 ac_header_compiler=no
27545 fi
27546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27547 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27548 echo "${ECHO_T}$ac_header_compiler" >&6
27549
27550 # Is the header present?
27551 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27552 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27553 cat >conftest.$ac_ext <<_ACEOF
27554 /* confdefs.h. */
27555 _ACEOF
27556 cat confdefs.h >>conftest.$ac_ext
27557 cat >>conftest.$ac_ext <<_ACEOF
27558 /* end confdefs.h. */
27559 #include <$ac_header>
27560 _ACEOF
27561 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27562 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27563 ac_status=$?
27564 grep -v '^ *+' conftest.er1 >conftest.err
27565 rm -f conftest.er1
27566 cat conftest.err >&5
27567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27568 (exit $ac_status); } >/dev/null; then
27569 if test -s conftest.err; then
27570 ac_cpp_err=$ac_cxx_preproc_warn_flag
27571 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27572 else
27573 ac_cpp_err=
27574 fi
27575 else
27576 ac_cpp_err=yes
27577 fi
27578 if test -z "$ac_cpp_err"; then
27579 ac_header_preproc=yes
27580 else
27581 echo "$as_me: failed program was:" >&5
27582 sed 's/^/| /' conftest.$ac_ext >&5
27583
27584 ac_header_preproc=no
27585 fi
27586 rm -f conftest.err conftest.$ac_ext
27587 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27588 echo "${ECHO_T}$ac_header_preproc" >&6
27589
27590 # So? What about this header?
27591 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27592 yes:no: )
27593 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27594 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27595 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27596 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27597 ac_header_preproc=yes
27598 ;;
27599 no:yes:* )
27600 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27601 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27602 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27603 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27604 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27605 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27606 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27607 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27608 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27609 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27610 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27611 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27612 (
27613 cat <<\_ASBOX
27614 ## ----------------------------------------- ##
27615 ## Report this to wx-dev@lists.wxwidgets.org ##
27616 ## ----------------------------------------- ##
27617 _ASBOX
27618 ) |
27619 sed "s/^/$as_me: WARNING: /" >&2
27620 ;;
27621 esac
27622 echo "$as_me:$LINENO: checking for $ac_header" >&5
27623 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27624 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27625 echo $ECHO_N "(cached) $ECHO_C" >&6
27626 else
27627 eval "$as_ac_Header=\$ac_header_preproc"
27628 fi
27629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27630 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27631
27632 fi
27633 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27634 cat >>confdefs.h <<_ACEOF
27635 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27636 _ACEOF
27637
27638 fi
27639
27640 done
27641
27642 if test "${ac_cv_header_windows_h+set}" = set; then
27643 echo "$as_me:$LINENO: checking for windows.h" >&5
27644 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27645 if test "${ac_cv_header_windows_h+set}" = set; then
27646 echo $ECHO_N "(cached) $ECHO_C" >&6
27647 fi
27648 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27649 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27650 else
27651 # Is the header compilable?
27652 echo "$as_me:$LINENO: checking windows.h usability" >&5
27653 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27654 cat >conftest.$ac_ext <<_ACEOF
27655 /* confdefs.h. */
27656 _ACEOF
27657 cat confdefs.h >>conftest.$ac_ext
27658 cat >>conftest.$ac_ext <<_ACEOF
27659 /* end confdefs.h. */
27660 $ac_includes_default
27661 #include <windows.h>
27662 _ACEOF
27663 rm -f conftest.$ac_objext
27664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27665 (eval $ac_compile) 2>conftest.er1
27666 ac_status=$?
27667 grep -v '^ *+' conftest.er1 >conftest.err
27668 rm -f conftest.er1
27669 cat conftest.err >&5
27670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27671 (exit $ac_status); } &&
27672 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27674 (eval $ac_try) 2>&5
27675 ac_status=$?
27676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27677 (exit $ac_status); }; } &&
27678 { ac_try='test -s conftest.$ac_objext'
27679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27680 (eval $ac_try) 2>&5
27681 ac_status=$?
27682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27683 (exit $ac_status); }; }; then
27684 ac_header_compiler=yes
27685 else
27686 echo "$as_me: failed program was:" >&5
27687 sed 's/^/| /' conftest.$ac_ext >&5
27688
27689 ac_header_compiler=no
27690 fi
27691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27692 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27693 echo "${ECHO_T}$ac_header_compiler" >&6
27694
27695 # Is the header present?
27696 echo "$as_me:$LINENO: checking windows.h presence" >&5
27697 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27698 cat >conftest.$ac_ext <<_ACEOF
27699 /* confdefs.h. */
27700 _ACEOF
27701 cat confdefs.h >>conftest.$ac_ext
27702 cat >>conftest.$ac_ext <<_ACEOF
27703 /* end confdefs.h. */
27704 #include <windows.h>
27705 _ACEOF
27706 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27707 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27708 ac_status=$?
27709 grep -v '^ *+' conftest.er1 >conftest.err
27710 rm -f conftest.er1
27711 cat conftest.err >&5
27712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27713 (exit $ac_status); } >/dev/null; then
27714 if test -s conftest.err; then
27715 ac_cpp_err=$ac_cxx_preproc_warn_flag
27716 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27717 else
27718 ac_cpp_err=
27719 fi
27720 else
27721 ac_cpp_err=yes
27722 fi
27723 if test -z "$ac_cpp_err"; then
27724 ac_header_preproc=yes
27725 else
27726 echo "$as_me: failed program was:" >&5
27727 sed 's/^/| /' conftest.$ac_ext >&5
27728
27729 ac_header_preproc=no
27730 fi
27731 rm -f conftest.err conftest.$ac_ext
27732 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27733 echo "${ECHO_T}$ac_header_preproc" >&6
27734
27735 # So? What about this header?
27736 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27737 yes:no: )
27738 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27739 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27740 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27741 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27742 ac_header_preproc=yes
27743 ;;
27744 no:yes:* )
27745 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27746 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27747 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27748 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27749 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27750 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27751 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27752 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27753 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27754 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27755 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27756 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27757 (
27758 cat <<\_ASBOX
27759 ## ----------------------------------------- ##
27760 ## Report this to wx-dev@lists.wxwidgets.org ##
27761 ## ----------------------------------------- ##
27762 _ASBOX
27763 ) |
27764 sed "s/^/$as_me: WARNING: /" >&2
27765 ;;
27766 esac
27767 echo "$as_me:$LINENO: checking for windows.h" >&5
27768 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27769 if test "${ac_cv_header_windows_h+set}" = set; then
27770 echo $ECHO_N "(cached) $ECHO_C" >&6
27771 else
27772 ac_cv_header_windows_h=$ac_header_preproc
27773 fi
27774 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27775 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27776
27777 fi
27778 if test $ac_cv_header_windows_h = yes; then
27779 :
27780 else
27781
27782 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27783 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27784 { (exit 1); exit 1; }; }
27785
27786 fi
27787
27788
27789
27790 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27791
27792 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27793 LIBS="$LIBS -loleacc"
27794 fi
27795
27796 case "${host}" in
27797 *-*-cygwin* )
27798 LIBS="$LIBS -lkernel32 -luser32"
27799 esac
27800
27801 if test "$wxUSE_ODBC" = "sys" ; then
27802 wxUSE_ODBC = "yes"
27803 fi
27804 if test "$wxUSE_ODBC" = "yes" ; then
27805 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27806 cat >>confdefs.h <<\_ACEOF
27807 #define wxUSE_ODBC 1
27808 _ACEOF
27809
27810 fi
27811
27812 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27813 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27814
27815 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27816
27817 WIN32INSTALL=win32install
27818
27819 echo "$as_me:$LINENO: checking for boolean" >&5
27820 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27821 if test "${ac_cv_type_boolean+set}" = set; then
27822 echo $ECHO_N "(cached) $ECHO_C" >&6
27823 else
27824 cat >conftest.$ac_ext <<_ACEOF
27825 /* confdefs.h. */
27826 _ACEOF
27827 cat confdefs.h >>conftest.$ac_ext
27828 cat >>conftest.$ac_ext <<_ACEOF
27829 /* end confdefs.h. */
27830 #include <windows.h>
27831
27832 int
27833 main ()
27834 {
27835 if ((boolean *) 0)
27836 return 0;
27837 if (sizeof (boolean))
27838 return 0;
27839 ;
27840 return 0;
27841 }
27842 _ACEOF
27843 rm -f conftest.$ac_objext
27844 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27845 (eval $ac_compile) 2>conftest.er1
27846 ac_status=$?
27847 grep -v '^ *+' conftest.er1 >conftest.err
27848 rm -f conftest.er1
27849 cat conftest.err >&5
27850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27851 (exit $ac_status); } &&
27852 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27854 (eval $ac_try) 2>&5
27855 ac_status=$?
27856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27857 (exit $ac_status); }; } &&
27858 { ac_try='test -s conftest.$ac_objext'
27859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27860 (eval $ac_try) 2>&5
27861 ac_status=$?
27862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27863 (exit $ac_status); }; }; then
27864 ac_cv_type_boolean=yes
27865 else
27866 echo "$as_me: failed program was:" >&5
27867 sed 's/^/| /' conftest.$ac_ext >&5
27868
27869 ac_cv_type_boolean=no
27870 fi
27871 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27872 fi
27873 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27874 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27875 if test $ac_cv_type_boolean = yes; then
27876
27877 cat >>confdefs.h <<_ACEOF
27878 #define HAVE_BOOLEAN 1
27879 _ACEOF
27880
27881
27882 fi
27883
27884
27885
27886 for ac_header in pbt.h
27887 do
27888 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27889 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27890 echo "$as_me:$LINENO: checking for $ac_header" >&5
27891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27893 echo $ECHO_N "(cached) $ECHO_C" >&6
27894 fi
27895 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27896 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27897 else
27898 # Is the header compilable?
27899 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27900 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27901 cat >conftest.$ac_ext <<_ACEOF
27902 /* confdefs.h. */
27903 _ACEOF
27904 cat confdefs.h >>conftest.$ac_ext
27905 cat >>conftest.$ac_ext <<_ACEOF
27906 /* end confdefs.h. */
27907 $ac_includes_default
27908 #include <$ac_header>
27909 _ACEOF
27910 rm -f conftest.$ac_objext
27911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27912 (eval $ac_compile) 2>conftest.er1
27913 ac_status=$?
27914 grep -v '^ *+' conftest.er1 >conftest.err
27915 rm -f conftest.er1
27916 cat conftest.err >&5
27917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27918 (exit $ac_status); } &&
27919 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27921 (eval $ac_try) 2>&5
27922 ac_status=$?
27923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27924 (exit $ac_status); }; } &&
27925 { ac_try='test -s conftest.$ac_objext'
27926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27927 (eval $ac_try) 2>&5
27928 ac_status=$?
27929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27930 (exit $ac_status); }; }; then
27931 ac_header_compiler=yes
27932 else
27933 echo "$as_me: failed program was:" >&5
27934 sed 's/^/| /' conftest.$ac_ext >&5
27935
27936 ac_header_compiler=no
27937 fi
27938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27939 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27940 echo "${ECHO_T}$ac_header_compiler" >&6
27941
27942 # Is the header present?
27943 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27944 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27945 cat >conftest.$ac_ext <<_ACEOF
27946 /* confdefs.h. */
27947 _ACEOF
27948 cat confdefs.h >>conftest.$ac_ext
27949 cat >>conftest.$ac_ext <<_ACEOF
27950 /* end confdefs.h. */
27951 #include <$ac_header>
27952 _ACEOF
27953 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27954 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27955 ac_status=$?
27956 grep -v '^ *+' conftest.er1 >conftest.err
27957 rm -f conftest.er1
27958 cat conftest.err >&5
27959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27960 (exit $ac_status); } >/dev/null; then
27961 if test -s conftest.err; then
27962 ac_cpp_err=$ac_cxx_preproc_warn_flag
27963 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27964 else
27965 ac_cpp_err=
27966 fi
27967 else
27968 ac_cpp_err=yes
27969 fi
27970 if test -z "$ac_cpp_err"; then
27971 ac_header_preproc=yes
27972 else
27973 echo "$as_me: failed program was:" >&5
27974 sed 's/^/| /' conftest.$ac_ext >&5
27975
27976 ac_header_preproc=no
27977 fi
27978 rm -f conftest.err conftest.$ac_ext
27979 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27980 echo "${ECHO_T}$ac_header_preproc" >&6
27981
27982 # So? What about this header?
27983 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27984 yes:no: )
27985 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27986 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27987 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27988 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27989 ac_header_preproc=yes
27990 ;;
27991 no:yes:* )
27992 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27993 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27994 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27995 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27996 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27997 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27998 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27999 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
28000 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
28001 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
28002 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
28003 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
28004 (
28005 cat <<\_ASBOX
28006 ## ----------------------------------------- ##
28007 ## Report this to wx-dev@lists.wxwidgets.org ##
28008 ## ----------------------------------------- ##
28009 _ASBOX
28010 ) |
28011 sed "s/^/$as_me: WARNING: /" >&2
28012 ;;
28013 esac
28014 echo "$as_me:$LINENO: checking for $ac_header" >&5
28015 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
28016 if eval "test \"\${$as_ac_Header+set}\" = set"; then
28017 echo $ECHO_N "(cached) $ECHO_C" >&6
28018 else
28019 eval "$as_ac_Header=\$ac_header_preproc"
28020 fi
28021 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
28022 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
28023
28024 fi
28025 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28026 cat >>confdefs.h <<_ACEOF
28027 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28028 _ACEOF
28029
28030 else
28031 cat >>confdefs.h <<\_ACEOF
28032 #define NEED_PBT_H 1
28033 _ACEOF
28034
28035 fi
28036
28037 done
28038
28039 fi
28040
28041 if test "$wxUSE_GUI" = "yes"; then
28042 USE_GUI=1
28043
28044 GUI_TK_LIBRARY=
28045
28046 WXGTK12=
28047 WXGTK127=
28048 WXGTK20=
28049 WXGPE=
28050
28051 if test "$wxUSE_COCOA" = 1 ; then
28052 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28053 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28054 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28055 wxUSE_PRINTING_ARCHITECTURE=no
28056 fi
28057 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28058 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28059 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28060 wxUSE_DRAG_AND_DROP=no
28061 fi
28062 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28063 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
28064 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
28065 wxUSE_DRAGIMAGE=no
28066 fi
28067 fi
28068
28069 if test "$wxUSE_MSW" = 1 ; then
28070 TOOLKIT=MSW
28071 GUIDIST=MSW_DIST
28072
28073 case "${host}" in
28074 *-*-mingw32* )
28075 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28076 esac
28077 fi
28078
28079 if test "$wxUSE_GTK" = 1; then
28080 ac_ext=c
28081 ac_cpp='$CPP $CPPFLAGS'
28082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28085
28086
28087 echo "$as_me:$LINENO: checking for GTK+ version" >&5
28088 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
28089
28090 gtk_version_cached=1
28091 if test "${wx_cv_lib_gtk+set}" = set; then
28092 echo $ECHO_N "(cached) $ECHO_C" >&6
28093 else
28094
28095 gtk_version_cached=0
28096 echo "$as_me:$LINENO: result: " >&5
28097 echo "${ECHO_T}" >&6
28098
28099 GTK_MODULES=
28100 if test "$wxUSE_THREADS" = "yes"; then
28101 GTK_MODULES=gthread
28102 fi
28103
28104 wx_cv_lib_gtk=
28105 if test "x$wxGTK_VERSION" != "x1"
28106 then
28107 case "${host}" in
28108 *-*-solaris2* )
28109 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28110 enable_gtktest=no
28111 fi
28112 esac
28113
28114 # Check whether --enable-gtktest or --disable-gtktest was given.
28115 if test "${enable_gtktest+set}" = set; then
28116 enableval="$enable_gtktest"
28117
28118 else
28119 enable_gtktest=yes
28120 fi;
28121
28122 pkg_config_args=gtk+-2.0
28123 for module in . $GTK_MODULES
28124 do
28125 case "$module" in
28126 gthread)
28127 pkg_config_args="$pkg_config_args gthread-2.0"
28128 ;;
28129 esac
28130 done
28131
28132 no_gtk=""
28133
28134 # Extract the first word of "pkg-config", so it can be a program name with args.
28135 set dummy pkg-config; ac_word=$2
28136 echo "$as_me:$LINENO: checking for $ac_word" >&5
28137 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28138 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28139 echo $ECHO_N "(cached) $ECHO_C" >&6
28140 else
28141 case $PKG_CONFIG in
28142 [\\/]* | ?:[\\/]*)
28143 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28144 ;;
28145 *)
28146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28147 for as_dir in $PATH
28148 do
28149 IFS=$as_save_IFS
28150 test -z "$as_dir" && as_dir=.
28151 for ac_exec_ext in '' $ac_executable_extensions; do
28152 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28153 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28154 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28155 break 2
28156 fi
28157 done
28158 done
28159
28160 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28161 ;;
28162 esac
28163 fi
28164 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28165
28166 if test -n "$PKG_CONFIG"; then
28167 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28168 echo "${ECHO_T}$PKG_CONFIG" >&6
28169 else
28170 echo "$as_me:$LINENO: result: no" >&5
28171 echo "${ECHO_T}no" >&6
28172 fi
28173
28174
28175 if test x$PKG_CONFIG != xno ; then
28176 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28177 :
28178 else
28179 echo "*** pkg-config too old; version 0.7 or better required."
28180 no_gtk=yes
28181 PKG_CONFIG=no
28182 fi
28183 else
28184 no_gtk=yes
28185 fi
28186
28187 min_gtk_version=2.0.0
28188 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28189 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
28190
28191 if test x$PKG_CONFIG != xno ; then
28192 ## don't try to run the test against uninstalled libtool libs
28193 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28194 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28195 enable_gtktest=no
28196 fi
28197
28198 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28199 :
28200 else
28201 no_gtk=yes
28202 fi
28203 fi
28204
28205 if test x"$no_gtk" = x ; then
28206 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28207 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28208 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28209 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28210 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28211 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28212 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28213 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28214 if test "x$enable_gtktest" = "xyes" ; then
28215 ac_save_CFLAGS="$CFLAGS"
28216 ac_save_LIBS="$LIBS"
28217 CFLAGS="$CFLAGS $GTK_CFLAGS"
28218 LIBS="$GTK_LIBS $LIBS"
28219 rm -f conf.gtktest
28220 if test "$cross_compiling" = yes; then
28221 echo $ac_n "cross compiling; assumed OK... $ac_c"
28222 else
28223 cat >conftest.$ac_ext <<_ACEOF
28224 /* confdefs.h. */
28225 _ACEOF
28226 cat confdefs.h >>conftest.$ac_ext
28227 cat >>conftest.$ac_ext <<_ACEOF
28228 /* end confdefs.h. */
28229
28230 #include <gtk/gtk.h>
28231 #include <stdio.h>
28232 #include <stdlib.h>
28233
28234 int
28235 main ()
28236 {
28237 int major, minor, micro;
28238 char *tmp_version;
28239
28240 system ("touch conf.gtktest");
28241
28242 /* HP/UX 9 (%@#!) writes to sscanf strings */
28243 tmp_version = g_strdup("$min_gtk_version");
28244 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28245 printf("%s, bad version string\n", "$min_gtk_version");
28246 exit(1);
28247 }
28248
28249 if ((gtk_major_version != $gtk_config_major_version) ||
28250 (gtk_minor_version != $gtk_config_minor_version) ||
28251 (gtk_micro_version != $gtk_config_micro_version))
28252 {
28253 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28254 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28255 gtk_major_version, gtk_minor_version, gtk_micro_version);
28256 printf ("*** was found! If pkg-config was correct, then it is best\n");
28257 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28258 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28259 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28260 printf("*** required on your system.\n");
28261 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28262 printf("*** to point to the correct configuration files\n");
28263 }
28264 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28265 (gtk_minor_version != GTK_MINOR_VERSION) ||
28266 (gtk_micro_version != GTK_MICRO_VERSION))
28267 {
28268 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28269 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28270 printf("*** library (version %d.%d.%d)\n",
28271 gtk_major_version, gtk_minor_version, gtk_micro_version);
28272 }
28273 else
28274 {
28275 if ((gtk_major_version > major) ||
28276 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28277 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28278 {
28279 return 0;
28280 }
28281 else
28282 {
28283 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28284 gtk_major_version, gtk_minor_version, gtk_micro_version);
28285 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28286 major, minor, micro);
28287 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28288 printf("***\n");
28289 printf("*** If you have already installed a sufficiently new version, this error\n");
28290 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28291 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28292 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28293 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28294 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28295 printf("*** so that the correct libraries are found at run-time))\n");
28296 }
28297 }
28298 return 1;
28299 }
28300
28301 _ACEOF
28302 rm -f conftest$ac_exeext
28303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28304 (eval $ac_link) 2>&5
28305 ac_status=$?
28306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28307 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28309 (eval $ac_try) 2>&5
28310 ac_status=$?
28311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28312 (exit $ac_status); }; }; then
28313 :
28314 else
28315 echo "$as_me: program exited with status $ac_status" >&5
28316 echo "$as_me: failed program was:" >&5
28317 sed 's/^/| /' conftest.$ac_ext >&5
28318
28319 ( exit $ac_status )
28320 no_gtk=yes
28321 fi
28322 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28323 fi
28324 CFLAGS="$ac_save_CFLAGS"
28325 LIBS="$ac_save_LIBS"
28326 fi
28327 fi
28328 if test "x$no_gtk" = x ; then
28329 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28330 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
28331 wx_cv_lib_gtk=2.0
28332 else
28333 echo "$as_me:$LINENO: result: no" >&5
28334 echo "${ECHO_T}no" >&6
28335 if test "$PKG_CONFIG" = "no" ; then
28336 echo "*** A new enough version of pkg-config was not found."
28337 echo "*** See http://pkgconfig.sourceforge.net"
28338 else
28339 if test -f conf.gtktest ; then
28340 :
28341 else
28342 echo "*** Could not run GTK+ test program, checking why..."
28343 ac_save_CFLAGS="$CFLAGS"
28344 ac_save_LIBS="$LIBS"
28345 CFLAGS="$CFLAGS $GTK_CFLAGS"
28346 LIBS="$LIBS $GTK_LIBS"
28347 cat >conftest.$ac_ext <<_ACEOF
28348 /* confdefs.h. */
28349 _ACEOF
28350 cat confdefs.h >>conftest.$ac_ext
28351 cat >>conftest.$ac_ext <<_ACEOF
28352 /* end confdefs.h. */
28353
28354 #include <gtk/gtk.h>
28355 #include <stdio.h>
28356
28357 int
28358 main ()
28359 {
28360 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28361 ;
28362 return 0;
28363 }
28364 _ACEOF
28365 rm -f conftest.$ac_objext conftest$ac_exeext
28366 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28367 (eval $ac_link) 2>conftest.er1
28368 ac_status=$?
28369 grep -v '^ *+' conftest.er1 >conftest.err
28370 rm -f conftest.er1
28371 cat conftest.err >&5
28372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28373 (exit $ac_status); } &&
28374 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28376 (eval $ac_try) 2>&5
28377 ac_status=$?
28378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28379 (exit $ac_status); }; } &&
28380 { ac_try='test -s conftest$ac_exeext'
28381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28382 (eval $ac_try) 2>&5
28383 ac_status=$?
28384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28385 (exit $ac_status); }; }; then
28386 echo "*** The test program compiled, but did not run. This usually means"
28387 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28388 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28389 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28390 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28391 echo "*** is required on your system"
28392 echo "***"
28393 echo "*** If you have an old version installed, it is best to remove it, although"
28394 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28395 else
28396 echo "$as_me: failed program was:" >&5
28397 sed 's/^/| /' conftest.$ac_ext >&5
28398
28399 echo "*** The test program failed to compile or link. See the file config.log for the"
28400 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28401 fi
28402 rm -f conftest.err conftest.$ac_objext \
28403 conftest$ac_exeext conftest.$ac_ext
28404 CFLAGS="$ac_save_CFLAGS"
28405 LIBS="$ac_save_LIBS"
28406 fi
28407 fi
28408 GTK_CFLAGS=""
28409 GTK_LIBS=""
28410 :
28411 fi
28412
28413
28414 rm -f conf.gtktest
28415
28416
28417 case "${host}" in
28418 *-*-solaris2* )
28419 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28420 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
28421 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
28422 fi
28423 if test "$wxUSE_SHARED" != "yes"; then
28424 GTK_LIBS="$GTK_LIBS -lX11"
28425 fi
28426 esac
28427 fi
28428
28429 if test -z "$wx_cv_lib_gtk"; then
28430 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28431
28432 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28433 if test "${with_gtk_prefix+set}" = set; then
28434 withval="$with_gtk_prefix"
28435 gtk_config_prefix="$withval"
28436 else
28437 gtk_config_prefix=""
28438 fi;
28439
28440 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28441 if test "${with_gtk_exec_prefix+set}" = set; then
28442 withval="$with_gtk_exec_prefix"
28443 gtk_config_exec_prefix="$withval"
28444 else
28445 gtk_config_exec_prefix=""
28446 fi;
28447 # Check whether --enable-gtktest or --disable-gtktest was given.
28448 if test "${enable_gtktest+set}" = set; then
28449 enableval="$enable_gtktest"
28450
28451 else
28452 enable_gtktest=yes
28453 fi;
28454
28455 for module in . $GTK_MODULES
28456 do
28457 case "$module" in
28458 gthread)
28459 gtk_config_args="$gtk_config_args gthread"
28460 ;;
28461 esac
28462 done
28463
28464 if test x$gtk_config_exec_prefix != x ; then
28465 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28466 if test x${GTK_CONFIG+set} != xset ; then
28467 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28468 fi
28469 fi
28470 if test x$gtk_config_prefix != x ; then
28471 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28472 if test x${GTK_CONFIG+set} != xset ; then
28473 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28474 fi
28475 fi
28476
28477 # Extract the first word of "gtk-config", so it can be a program name with args.
28478 set dummy gtk-config; ac_word=$2
28479 echo "$as_me:$LINENO: checking for $ac_word" >&5
28480 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28481 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28482 echo $ECHO_N "(cached) $ECHO_C" >&6
28483 else
28484 case $GTK_CONFIG in
28485 [\\/]* | ?:[\\/]*)
28486 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28487 ;;
28488 *)
28489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28490 for as_dir in $PATH
28491 do
28492 IFS=$as_save_IFS
28493 test -z "$as_dir" && as_dir=.
28494 for ac_exec_ext in '' $ac_executable_extensions; do
28495 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28496 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28497 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28498 break 2
28499 fi
28500 done
28501 done
28502
28503 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28504 ;;
28505 esac
28506 fi
28507 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28508
28509 if test -n "$GTK_CONFIG"; then
28510 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28511 echo "${ECHO_T}$GTK_CONFIG" >&6
28512 else
28513 echo "$as_me:$LINENO: result: no" >&5
28514 echo "${ECHO_T}no" >&6
28515 fi
28516
28517 min_gtk_version=1.2.7
28518 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28519 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28520 no_gtk=""
28521 if test "$GTK_CONFIG" = "no" ; then
28522 no_gtk=yes
28523 else
28524 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28525 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28526 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28527 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28528 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28529 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28530 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28531 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28532 if test "x$enable_gtktest" = "xyes" ; then
28533 ac_save_CFLAGS="$CFLAGS"
28534 ac_save_LIBS="$LIBS"
28535 CFLAGS="$CFLAGS $GTK_CFLAGS"
28536 LIBS="$GTK_LIBS $LIBS"
28537 rm -f conf.gtktest
28538 if test "$cross_compiling" = yes; then
28539 echo $ac_n "cross compiling; assumed OK... $ac_c"
28540 else
28541 cat >conftest.$ac_ext <<_ACEOF
28542 /* confdefs.h. */
28543 _ACEOF
28544 cat confdefs.h >>conftest.$ac_ext
28545 cat >>conftest.$ac_ext <<_ACEOF
28546 /* end confdefs.h. */
28547
28548 #include <gtk/gtk.h>
28549 #include <stdio.h>
28550 #include <stdlib.h>
28551
28552 int
28553 main ()
28554 {
28555 int major, minor, micro;
28556 char *tmp_version;
28557
28558 system ("touch conf.gtktest");
28559
28560 /* HP/UX 9 (%@#!) writes to sscanf strings */
28561 tmp_version = g_strdup("$min_gtk_version");
28562 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28563 printf("%s, bad version string\n", "$min_gtk_version");
28564 exit(1);
28565 }
28566
28567 if ((gtk_major_version != $gtk_config_major_version) ||
28568 (gtk_minor_version != $gtk_config_minor_version) ||
28569 (gtk_micro_version != $gtk_config_micro_version))
28570 {
28571 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28572 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28573 gtk_major_version, gtk_minor_version, gtk_micro_version);
28574 printf ("*** was found! If gtk-config was correct, then it is best\n");
28575 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28576 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28577 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28578 printf("*** required on your system.\n");
28579 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28580 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28581 printf("*** before re-running configure\n");
28582 }
28583 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28584 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28585 (gtk_minor_version != GTK_MINOR_VERSION) ||
28586 (gtk_micro_version != GTK_MICRO_VERSION))
28587 {
28588 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28589 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28590 printf("*** library (version %d.%d.%d)\n",
28591 gtk_major_version, gtk_minor_version, gtk_micro_version);
28592 }
28593 #endif /* defined (GTK_MAJOR_VERSION) ... */
28594 else
28595 {
28596 if ((gtk_major_version > major) ||
28597 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28598 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28599 {
28600 return 0;
28601 }
28602 else
28603 {
28604 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28605 gtk_major_version, gtk_minor_version, gtk_micro_version);
28606 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28607 major, minor, micro);
28608 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28609 printf("***\n");
28610 printf("*** If you have already installed a sufficiently new version, this error\n");
28611 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28612 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28613 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28614 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28615 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28616 printf("*** so that the correct libraries are found at run-time))\n");
28617 }
28618 }
28619 return 1;
28620 }
28621
28622 _ACEOF
28623 rm -f conftest$ac_exeext
28624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28625 (eval $ac_link) 2>&5
28626 ac_status=$?
28627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28628 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28630 (eval $ac_try) 2>&5
28631 ac_status=$?
28632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28633 (exit $ac_status); }; }; then
28634 :
28635 else
28636 echo "$as_me: program exited with status $ac_status" >&5
28637 echo "$as_me: failed program was:" >&5
28638 sed 's/^/| /' conftest.$ac_ext >&5
28639
28640 ( exit $ac_status )
28641 no_gtk=yes
28642 fi
28643 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28644 fi
28645 CFLAGS="$ac_save_CFLAGS"
28646 LIBS="$ac_save_LIBS"
28647 fi
28648 fi
28649 if test "x$no_gtk" = x ; then
28650 echo "$as_me:$LINENO: result: yes" >&5
28651 echo "${ECHO_T}yes" >&6
28652 wx_cv_lib_gtk=1.2.7
28653 else
28654 echo "$as_me:$LINENO: result: no" >&5
28655 echo "${ECHO_T}no" >&6
28656 if test "$GTK_CONFIG" = "no" ; then
28657 echo "*** The gtk-config script installed by GTK could not be found"
28658 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28659 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28660 echo "*** full path to gtk-config."
28661 else
28662 if test -f conf.gtktest ; then
28663 :
28664 else
28665 echo "*** Could not run GTK test program, checking why..."
28666 CFLAGS="$CFLAGS $GTK_CFLAGS"
28667 LIBS="$LIBS $GTK_LIBS"
28668 cat >conftest.$ac_ext <<_ACEOF
28669 /* confdefs.h. */
28670 _ACEOF
28671 cat confdefs.h >>conftest.$ac_ext
28672 cat >>conftest.$ac_ext <<_ACEOF
28673 /* end confdefs.h. */
28674
28675 #include <gtk/gtk.h>
28676 #include <stdio.h>
28677
28678 int
28679 main ()
28680 {
28681 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28682 ;
28683 return 0;
28684 }
28685 _ACEOF
28686 rm -f conftest.$ac_objext conftest$ac_exeext
28687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28688 (eval $ac_link) 2>conftest.er1
28689 ac_status=$?
28690 grep -v '^ *+' conftest.er1 >conftest.err
28691 rm -f conftest.er1
28692 cat conftest.err >&5
28693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28694 (exit $ac_status); } &&
28695 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28697 (eval $ac_try) 2>&5
28698 ac_status=$?
28699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28700 (exit $ac_status); }; } &&
28701 { ac_try='test -s conftest$ac_exeext'
28702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28703 (eval $ac_try) 2>&5
28704 ac_status=$?
28705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28706 (exit $ac_status); }; }; then
28707 echo "*** The test program compiled, but did not run. This usually means"
28708 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28709 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28710 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28711 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28712 echo "*** is required on your system"
28713 echo "***"
28714 echo "*** If you have an old version installed, it is best to remove it, although"
28715 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28716 echo "***"
28717 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28718 echo "*** came with the system with the command"
28719 echo "***"
28720 echo "*** rpm --erase --nodeps gtk gtk-devel"
28721 else
28722 echo "$as_me: failed program was:" >&5
28723 sed 's/^/| /' conftest.$ac_ext >&5
28724
28725 echo "*** The test program failed to compile or link. See the file config.log for the"
28726 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28727 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28728 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28729 fi
28730 rm -f conftest.err conftest.$ac_objext \
28731 conftest$ac_exeext conftest.$ac_ext
28732 CFLAGS="$ac_save_CFLAGS"
28733 LIBS="$ac_save_LIBS"
28734 fi
28735 fi
28736 GTK_CFLAGS=""
28737 GTK_LIBS=""
28738 :
28739 fi
28740
28741
28742 rm -f conf.gtktest
28743
28744
28745 if test -z "$wx_cv_lib_gtk"; then
28746
28747 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28748 if test "${with_gtk_prefix+set}" = set; then
28749 withval="$with_gtk_prefix"
28750 gtk_config_prefix="$withval"
28751 else
28752 gtk_config_prefix=""
28753 fi;
28754
28755 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28756 if test "${with_gtk_exec_prefix+set}" = set; then
28757 withval="$with_gtk_exec_prefix"
28758 gtk_config_exec_prefix="$withval"
28759 else
28760 gtk_config_exec_prefix=""
28761 fi;
28762 # Check whether --enable-gtktest or --disable-gtktest was given.
28763 if test "${enable_gtktest+set}" = set; then
28764 enableval="$enable_gtktest"
28765
28766 else
28767 enable_gtktest=yes
28768 fi;
28769
28770 for module in . $GTK_MODULES
28771 do
28772 case "$module" in
28773 gthread)
28774 gtk_config_args="$gtk_config_args gthread"
28775 ;;
28776 esac
28777 done
28778
28779 if test x$gtk_config_exec_prefix != x ; then
28780 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28781 if test x${GTK_CONFIG+set} != xset ; then
28782 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28783 fi
28784 fi
28785 if test x$gtk_config_prefix != x ; then
28786 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28787 if test x${GTK_CONFIG+set} != xset ; then
28788 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28789 fi
28790 fi
28791
28792 # Extract the first word of "gtk-config", so it can be a program name with args.
28793 set dummy gtk-config; ac_word=$2
28794 echo "$as_me:$LINENO: checking for $ac_word" >&5
28795 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28796 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28797 echo $ECHO_N "(cached) $ECHO_C" >&6
28798 else
28799 case $GTK_CONFIG in
28800 [\\/]* | ?:[\\/]*)
28801 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28802 ;;
28803 *)
28804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28805 for as_dir in $PATH
28806 do
28807 IFS=$as_save_IFS
28808 test -z "$as_dir" && as_dir=.
28809 for ac_exec_ext in '' $ac_executable_extensions; do
28810 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28811 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28812 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28813 break 2
28814 fi
28815 done
28816 done
28817
28818 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28819 ;;
28820 esac
28821 fi
28822 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28823
28824 if test -n "$GTK_CONFIG"; then
28825 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28826 echo "${ECHO_T}$GTK_CONFIG" >&6
28827 else
28828 echo "$as_me:$LINENO: result: no" >&5
28829 echo "${ECHO_T}no" >&6
28830 fi
28831
28832 min_gtk_version=1.2.3
28833 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28834 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28835 no_gtk=""
28836 if test "$GTK_CONFIG" = "no" ; then
28837 no_gtk=yes
28838 else
28839 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28840 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28841 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28842 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28843 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28844 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28845 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28846 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28847 if test "x$enable_gtktest" = "xyes" ; then
28848 ac_save_CFLAGS="$CFLAGS"
28849 ac_save_LIBS="$LIBS"
28850 CFLAGS="$CFLAGS $GTK_CFLAGS"
28851 LIBS="$GTK_LIBS $LIBS"
28852 rm -f conf.gtktest
28853 if test "$cross_compiling" = yes; then
28854 echo $ac_n "cross compiling; assumed OK... $ac_c"
28855 else
28856 cat >conftest.$ac_ext <<_ACEOF
28857 /* confdefs.h. */
28858 _ACEOF
28859 cat confdefs.h >>conftest.$ac_ext
28860 cat >>conftest.$ac_ext <<_ACEOF
28861 /* end confdefs.h. */
28862
28863 #include <gtk/gtk.h>
28864 #include <stdio.h>
28865 #include <stdlib.h>
28866
28867 int
28868 main ()
28869 {
28870 int major, minor, micro;
28871 char *tmp_version;
28872
28873 system ("touch conf.gtktest");
28874
28875 /* HP/UX 9 (%@#!) writes to sscanf strings */
28876 tmp_version = g_strdup("$min_gtk_version");
28877 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28878 printf("%s, bad version string\n", "$min_gtk_version");
28879 exit(1);
28880 }
28881
28882 if ((gtk_major_version != $gtk_config_major_version) ||
28883 (gtk_minor_version != $gtk_config_minor_version) ||
28884 (gtk_micro_version != $gtk_config_micro_version))
28885 {
28886 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28887 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28888 gtk_major_version, gtk_minor_version, gtk_micro_version);
28889 printf ("*** was found! If gtk-config was correct, then it is best\n");
28890 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28891 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28892 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28893 printf("*** required on your system.\n");
28894 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28895 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28896 printf("*** before re-running configure\n");
28897 }
28898 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28899 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28900 (gtk_minor_version != GTK_MINOR_VERSION) ||
28901 (gtk_micro_version != GTK_MICRO_VERSION))
28902 {
28903 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28904 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28905 printf("*** library (version %d.%d.%d)\n",
28906 gtk_major_version, gtk_minor_version, gtk_micro_version);
28907 }
28908 #endif /* defined (GTK_MAJOR_VERSION) ... */
28909 else
28910 {
28911 if ((gtk_major_version > major) ||
28912 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28913 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28914 {
28915 return 0;
28916 }
28917 else
28918 {
28919 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28920 gtk_major_version, gtk_minor_version, gtk_micro_version);
28921 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28922 major, minor, micro);
28923 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28924 printf("***\n");
28925 printf("*** If you have already installed a sufficiently new version, this error\n");
28926 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28927 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28928 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28929 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28930 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28931 printf("*** so that the correct libraries are found at run-time))\n");
28932 }
28933 }
28934 return 1;
28935 }
28936
28937 _ACEOF
28938 rm -f conftest$ac_exeext
28939 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28940 (eval $ac_link) 2>&5
28941 ac_status=$?
28942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28943 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28945 (eval $ac_try) 2>&5
28946 ac_status=$?
28947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28948 (exit $ac_status); }; }; then
28949 :
28950 else
28951 echo "$as_me: program exited with status $ac_status" >&5
28952 echo "$as_me: failed program was:" >&5
28953 sed 's/^/| /' conftest.$ac_ext >&5
28954
28955 ( exit $ac_status )
28956 no_gtk=yes
28957 fi
28958 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28959 fi
28960 CFLAGS="$ac_save_CFLAGS"
28961 LIBS="$ac_save_LIBS"
28962 fi
28963 fi
28964 if test "x$no_gtk" = x ; then
28965 echo "$as_me:$LINENO: result: yes" >&5
28966 echo "${ECHO_T}yes" >&6
28967 wx_cv_lib_gtk=1.2.3
28968 else
28969 echo "$as_me:$LINENO: result: no" >&5
28970 echo "${ECHO_T}no" >&6
28971 if test "$GTK_CONFIG" = "no" ; then
28972 echo "*** The gtk-config script installed by GTK could not be found"
28973 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28974 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28975 echo "*** full path to gtk-config."
28976 else
28977 if test -f conf.gtktest ; then
28978 :
28979 else
28980 echo "*** Could not run GTK test program, checking why..."
28981 CFLAGS="$CFLAGS $GTK_CFLAGS"
28982 LIBS="$LIBS $GTK_LIBS"
28983 cat >conftest.$ac_ext <<_ACEOF
28984 /* confdefs.h. */
28985 _ACEOF
28986 cat confdefs.h >>conftest.$ac_ext
28987 cat >>conftest.$ac_ext <<_ACEOF
28988 /* end confdefs.h. */
28989
28990 #include <gtk/gtk.h>
28991 #include <stdio.h>
28992
28993 int
28994 main ()
28995 {
28996 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28997 ;
28998 return 0;
28999 }
29000 _ACEOF
29001 rm -f conftest.$ac_objext conftest$ac_exeext
29002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29003 (eval $ac_link) 2>conftest.er1
29004 ac_status=$?
29005 grep -v '^ *+' conftest.er1 >conftest.err
29006 rm -f conftest.er1
29007 cat conftest.err >&5
29008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29009 (exit $ac_status); } &&
29010 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29012 (eval $ac_try) 2>&5
29013 ac_status=$?
29014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29015 (exit $ac_status); }; } &&
29016 { ac_try='test -s conftest$ac_exeext'
29017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29018 (eval $ac_try) 2>&5
29019 ac_status=$?
29020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29021 (exit $ac_status); }; }; then
29022 echo "*** The test program compiled, but did not run. This usually means"
29023 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29024 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29025 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29026 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29027 echo "*** is required on your system"
29028 echo "***"
29029 echo "*** If you have an old version installed, it is best to remove it, although"
29030 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29031 echo "***"
29032 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29033 echo "*** came with the system with the command"
29034 echo "***"
29035 echo "*** rpm --erase --nodeps gtk gtk-devel"
29036 else
29037 echo "$as_me: failed program was:" >&5
29038 sed 's/^/| /' conftest.$ac_ext >&5
29039
29040 echo "*** The test program failed to compile or link. See the file config.log for the"
29041 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29042 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29043 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29044 fi
29045 rm -f conftest.err conftest.$ac_objext \
29046 conftest$ac_exeext conftest.$ac_ext
29047 CFLAGS="$ac_save_CFLAGS"
29048 LIBS="$ac_save_LIBS"
29049 fi
29050 fi
29051 GTK_CFLAGS=""
29052 GTK_LIBS=""
29053 :
29054 fi
29055
29056
29057 rm -f conf.gtktest
29058
29059 fi
29060 fi
29061 fi
29062
29063 if test -z "$wx_cv_lib_gtk"; then
29064 wx_cv_lib_gtk=none
29065 else
29066 wx_cv_cflags_gtk=$GTK_CFLAGS
29067 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29068 fi
29069
29070
29071 fi
29072
29073
29074 if test "$gtk_version_cached" = 1; then
29075 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29076 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
29077 fi
29078
29079 case "$wx_cv_lib_gtk" in
29080 2.0) WXGTK20=1
29081 TOOLKIT_VERSION=2
29082 ;;
29083 1.2.7) WXGTK127=1
29084 WXGTK12=1
29085 ;;
29086 1.2.3) WXGTK12=1
29087 ;;
29088 *) { { echo "$as_me:$LINENO: error:
29089 The development files for GTK+ were not found. For GTK+ 2, please
29090 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29091 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29092 and that the version is 1.2.3 or above. Also check that the
29093 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29094 --libs' are in the LD_LIBRARY_PATH or equivalent.
29095 " >&5
29096 echo "$as_me: error:
29097 The development files for GTK+ were not found. For GTK+ 2, please
29098 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29099 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29100 and that the version is 1.2.3 or above. Also check that the
29101 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29102 --libs' are in the LD_LIBRARY_PATH or equivalent.
29103 " >&2;}
29104 { (exit 1); exit 1; }; }
29105 ;;
29106 esac
29107
29108 if test "$WXGTK20" = 1; then
29109 save_CFLAGS="$CFLAGS"
29110 save_LIBS="$LIBS"
29111 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29112 LIBS="$LIBS $wx_cv_libs_gtk"
29113
29114 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
29115 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
29116 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
29117 echo $ECHO_N "(cached) $ECHO_C" >&6
29118 else
29119 cat >conftest.$ac_ext <<_ACEOF
29120 /* confdefs.h. */
29121 _ACEOF
29122 cat confdefs.h >>conftest.$ac_ext
29123 cat >>conftest.$ac_ext <<_ACEOF
29124 /* end confdefs.h. */
29125 #include <gtk/gtk.h>
29126
29127 int
29128 main ()
29129 {
29130 #ifndef gtk_icon_size_lookup
29131 char *p = (char *) gtk_icon_size_lookup;
29132 #endif
29133
29134 ;
29135 return 0;
29136 }
29137 _ACEOF
29138 rm -f conftest.$ac_objext
29139 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29140 (eval $ac_compile) 2>conftest.er1
29141 ac_status=$?
29142 grep -v '^ *+' conftest.er1 >conftest.err
29143 rm -f conftest.er1
29144 cat conftest.err >&5
29145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29146 (exit $ac_status); } &&
29147 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29149 (eval $ac_try) 2>&5
29150 ac_status=$?
29151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29152 (exit $ac_status); }; } &&
29153 { ac_try='test -s conftest.$ac_objext'
29154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29155 (eval $ac_try) 2>&5
29156 ac_status=$?
29157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29158 (exit $ac_status); }; }; then
29159 ac_cv_have_decl_gtk_icon_size_lookup=yes
29160 else
29161 echo "$as_me: failed program was:" >&5
29162 sed 's/^/| /' conftest.$ac_ext >&5
29163
29164 ac_cv_have_decl_gtk_icon_size_lookup=no
29165 fi
29166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29167 fi
29168 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
29169 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
29170 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
29171
29172 cat >>confdefs.h <<_ACEOF
29173 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
29174 _ACEOF
29175
29176
29177 else
29178 cat >>confdefs.h <<_ACEOF
29179 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
29180 _ACEOF
29181
29182 cat >>confdefs.h <<\_ACEOF
29183 #define NEED_GTK_ICON_SIZE_LOOKUP 1
29184 _ACEOF
29185
29186 fi
29187
29188
29189
29190 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29191 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
29192 cat >conftest.$ac_ext <<_ACEOF
29193 /* confdefs.h. */
29194 _ACEOF
29195 cat confdefs.h >>conftest.$ac_ext
29196 cat >>conftest.$ac_ext <<_ACEOF
29197 /* end confdefs.h. */
29198
29199 #include <gtk/gtk.h>
29200
29201 int
29202 main ()
29203 {
29204
29205 #if !GTK_CHECK_VERSION(2,6,0)
29206 Not GTK+ 2.6
29207 #endif
29208
29209 ;
29210 return 0;
29211 }
29212 _ACEOF
29213 rm -f conftest.$ac_objext
29214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29215 (eval $ac_compile) 2>conftest.er1
29216 ac_status=$?
29217 grep -v '^ *+' conftest.er1 >conftest.err
29218 rm -f conftest.er1
29219 cat conftest.err >&5
29220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29221 (exit $ac_status); } &&
29222 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29224 (eval $ac_try) 2>&5
29225 ac_status=$?
29226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29227 (exit $ac_status); }; } &&
29228 { ac_try='test -s conftest.$ac_objext'
29229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29230 (eval $ac_try) 2>&5
29231 ac_status=$?
29232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29233 (exit $ac_status); }; }; then
29234
29235 cat >>confdefs.h <<\_ACEOF
29236 #define __WXGTK26__ 1
29237 _ACEOF
29238
29239 cat >>confdefs.h <<\_ACEOF
29240 #define __WXGTK24__ 1
29241 _ACEOF
29242
29243 echo "$as_me:$LINENO: result: yes" >&5
29244 echo "${ECHO_T}yes" >&6
29245 ac_wxgtk26=1
29246
29247 else
29248 echo "$as_me: failed program was:" >&5
29249 sed 's/^/| /' conftest.$ac_ext >&5
29250
29251
29252 echo "$as_me:$LINENO: result: no" >&5
29253 echo "${ECHO_T}no" >&6
29254 ac_wxgtk26=0
29255
29256 fi
29257 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29258
29259 if test "$ac_wxgtk26" = 0; then
29260 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
29261 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
29262 cat >conftest.$ac_ext <<_ACEOF
29263 /* confdefs.h. */
29264 _ACEOF
29265 cat confdefs.h >>conftest.$ac_ext
29266 cat >>conftest.$ac_ext <<_ACEOF
29267 /* end confdefs.h. */
29268
29269 #include <gtk/gtk.h>
29270
29271 int
29272 main ()
29273 {
29274
29275 #if !GTK_CHECK_VERSION(2,4,0)
29276 Not GTK+ 2.4
29277 #endif
29278
29279 ;
29280 return 0;
29281 }
29282 _ACEOF
29283 rm -f conftest.$ac_objext
29284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29285 (eval $ac_compile) 2>conftest.er1
29286 ac_status=$?
29287 grep -v '^ *+' conftest.er1 >conftest.err
29288 rm -f conftest.er1
29289 cat conftest.err >&5
29290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29291 (exit $ac_status); } &&
29292 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
29293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29294 (eval $ac_try) 2>&5
29295 ac_status=$?
29296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29297 (exit $ac_status); }; } &&
29298 { ac_try='test -s conftest.$ac_objext'
29299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29300 (eval $ac_try) 2>&5
29301 ac_status=$?
29302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29303 (exit $ac_status); }; }; then
29304
29305 cat >>confdefs.h <<\_ACEOF
29306 #define __WXGTK24__ 1
29307 _ACEOF
29308
29309 echo "$as_me:$LINENO: result: yes" >&5
29310 echo "${ECHO_T}yes" >&6
29311
29312 else
29313 echo "$as_me: failed program was:" >&5
29314 sed 's/^/| /' conftest.$ac_ext >&5
29315
29316
29317 echo "$as_me:$LINENO: result: no" >&5
29318 echo "${ECHO_T}no" >&6
29319
29320 fi
29321 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29322 fi
29323
29324 CFLAGS="$save_CFLAGS"
29325 LIBS="$save_LIBS"
29326 else
29327 if test "$wxUSE_UNICODE" = "yes"; then
29328 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29329 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29330 wxUSE_UNICODE=no
29331 fi
29332
29333 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29334 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
29335 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29336 echo $ECHO_N "(cached) $ECHO_C" >&6
29337 else
29338 ac_check_lib_save_LIBS=$LIBS
29339 LIBS="-lgdk $LIBS"
29340 cat >conftest.$ac_ext <<_ACEOF
29341 /* confdefs.h. */
29342 _ACEOF
29343 cat confdefs.h >>conftest.$ac_ext
29344 cat >>conftest.$ac_ext <<_ACEOF
29345 /* end confdefs.h. */
29346
29347 /* Override any gcc2 internal prototype to avoid an error. */
29348 #ifdef __cplusplus
29349 extern "C"
29350 #endif
29351 /* We use char because int might match the return type of a gcc2
29352 builtin and then its argument prototype would still apply. */
29353 char gdk_im_open ();
29354 int
29355 main ()
29356 {
29357 gdk_im_open ();
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_c_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 ac_cv_lib_gdk_gdk_im_open=yes
29384 else
29385 echo "$as_me: failed program was:" >&5
29386 sed 's/^/| /' conftest.$ac_ext >&5
29387
29388 ac_cv_lib_gdk_gdk_im_open=no
29389 fi
29390 rm -f conftest.err conftest.$ac_objext \
29391 conftest$ac_exeext conftest.$ac_ext
29392 LIBS=$ac_check_lib_save_LIBS
29393 fi
29394 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29395 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
29396 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29397 cat >>confdefs.h <<\_ACEOF
29398 #define HAVE_XIM 1
29399 _ACEOF
29400
29401 fi
29402
29403 fi
29404
29405 ac_ext=cc
29406 ac_cpp='$CXXCPP $CPPFLAGS'
29407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29410
29411
29412 if test "$USE_DARWIN" != 1; then
29413
29414 for ac_func in poll
29415 do
29416 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29417 echo "$as_me:$LINENO: checking for $ac_func" >&5
29418 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29419 if eval "test \"\${$as_ac_var+set}\" = set"; then
29420 echo $ECHO_N "(cached) $ECHO_C" >&6
29421 else
29422 cat >conftest.$ac_ext <<_ACEOF
29423 /* confdefs.h. */
29424 _ACEOF
29425 cat confdefs.h >>conftest.$ac_ext
29426 cat >>conftest.$ac_ext <<_ACEOF
29427 /* end confdefs.h. */
29428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29430 #define $ac_func innocuous_$ac_func
29431
29432 /* System header to define __stub macros and hopefully few prototypes,
29433 which can conflict with char $ac_func (); below.
29434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29435 <limits.h> exists even on freestanding compilers. */
29436
29437 #ifdef __STDC__
29438 # include <limits.h>
29439 #else
29440 # include <assert.h>
29441 #endif
29442
29443 #undef $ac_func
29444
29445 /* Override any gcc2 internal prototype to avoid an error. */
29446 #ifdef __cplusplus
29447 extern "C"
29448 {
29449 #endif
29450 /* We use char because int might match the return type of a gcc2
29451 builtin and then its argument prototype would still apply. */
29452 char $ac_func ();
29453 /* The GNU C library defines this for functions which it implements
29454 to always fail with ENOSYS. Some functions are actually named
29455 something starting with __ and the normal name is an alias. */
29456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29457 choke me
29458 #else
29459 char (*f) () = $ac_func;
29460 #endif
29461 #ifdef __cplusplus
29462 }
29463 #endif
29464
29465 int
29466 main ()
29467 {
29468 return f != $ac_func;
29469 ;
29470 return 0;
29471 }
29472 _ACEOF
29473 rm -f conftest.$ac_objext conftest$ac_exeext
29474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29475 (eval $ac_link) 2>conftest.er1
29476 ac_status=$?
29477 grep -v '^ *+' conftest.er1 >conftest.err
29478 rm -f conftest.er1
29479 cat conftest.err >&5
29480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29481 (exit $ac_status); } &&
29482 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29484 (eval $ac_try) 2>&5
29485 ac_status=$?
29486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29487 (exit $ac_status); }; } &&
29488 { ac_try='test -s conftest$ac_exeext'
29489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29490 (eval $ac_try) 2>&5
29491 ac_status=$?
29492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29493 (exit $ac_status); }; }; then
29494 eval "$as_ac_var=yes"
29495 else
29496 echo "$as_me: failed program was:" >&5
29497 sed 's/^/| /' conftest.$ac_ext >&5
29498
29499 eval "$as_ac_var=no"
29500 fi
29501 rm -f conftest.err conftest.$ac_objext \
29502 conftest$ac_exeext conftest.$ac_ext
29503 fi
29504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29506 if test `eval echo '${'$as_ac_var'}'` = yes; then
29507 cat >>confdefs.h <<_ACEOF
29508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29509 _ACEOF
29510
29511 fi
29512 done
29513
29514 fi
29515
29516 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29517 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29518
29519 AFMINSTALL=afminstall
29520 TOOLKIT=GTK
29521 GUIDIST=GTK_DIST
29522
29523 if test "$wxUSE_GPE" = "yes"; then
29524 echo "$as_me:$LINENO: checking for gpewidget library" >&5
29525 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
29526
29527 ac_find_libraries=
29528 for ac_dir in $SEARCH_LIB;
29529 do
29530 for ac_extension in a so sl dylib dll.a; do
29531 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29532 ac_find_libraries=$ac_dir
29533 break 2
29534 fi
29535 done
29536 done
29537
29538 if test "$ac_find_libraries" != "" ; then
29539
29540 if test "$ac_find_libraries" = "default location"; then
29541 ac_path_to_link=""
29542 else
29543 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29544 result=$?
29545 if test $result = 0; then
29546 ac_path_to_link=""
29547 else
29548 ac_path_to_link=" -L$ac_find_libraries"
29549 fi
29550 fi
29551
29552 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29553 WXGPE=1
29554 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29555 echo "${ECHO_T}found in $ac_find_libraries" >&6
29556 else
29557 echo "$as_me:$LINENO: result: not found" >&5
29558 echo "${ECHO_T}not found" >&6
29559 fi
29560
29561 fi
29562 fi
29563
29564 if test "$wxUSE_MGL" = 1; then
29565 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29566 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
29567 if test "x$MGL_ROOT" = x ; then
29568 echo "$as_me:$LINENO: result: not found" >&5
29569 echo "${ECHO_T}not found" >&6
29570 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29571 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29572 { (exit 1); exit 1; }; }
29573 else
29574 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29575 echo "${ECHO_T}$MGL_ROOT" >&6
29576 fi
29577
29578 echo "$as_me:$LINENO: checking for libmgl location" >&5
29579 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
29580 case "${host}" in
29581 *-*-linux* )
29582 if test "x$wxUSE_SHARED" = xyes ; then
29583 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29584 else
29585 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29586 fi
29587 ;;
29588 *-pc-msdosdjgpp )
29589 mgl_os_candidates="dos32/dj2"
29590 ;;
29591 *)
29592 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29593 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29594 { (exit 1); exit 1; }; }
29595 esac
29596
29597 mgl_lib_type=""
29598 mgl_os=""
29599
29600 for mgl_os_i in $mgl_os_candidates ; do
29601 if test "x$mgl_os" = x ; then
29602 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29603 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29604 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29605 mgl_lib_type=debug
29606 mgl_os=$mgl_os_i
29607 fi
29608 fi
29609 if test "x$mgl_lib_type" = x ; then
29610 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29611 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29612 mgl_lib_type=release
29613 mgl_os=$mgl_os_i
29614 fi
29615 fi
29616 fi
29617 done
29618
29619 if test "x$mgl_os" = x ; then
29620 echo "$as_me:$LINENO: result: not found" >&5
29621 echo "${ECHO_T}not found" >&6
29622 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29623 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29624 { (exit 1); exit 1; }; }
29625 fi
29626 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29627 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29628
29629 wxUSE_UNIVERSAL="yes"
29630
29631 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29632 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29633
29634 AFMINSTALL=afminstall
29635 TOOLKIT=MGL
29636 GUIDIST=MGL_DIST
29637 fi
29638
29639 if test "$wxUSE_DFB" = 1; then
29640
29641
29642 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29643 if test -n "$ac_tool_prefix"; then
29644 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29645 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29646 echo "$as_me:$LINENO: checking for $ac_word" >&5
29647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29648 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29649 echo $ECHO_N "(cached) $ECHO_C" >&6
29650 else
29651 case $PKG_CONFIG in
29652 [\\/]* | ?:[\\/]*)
29653 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29654 ;;
29655 *)
29656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29657 for as_dir in $PATH
29658 do
29659 IFS=$as_save_IFS
29660 test -z "$as_dir" && as_dir=.
29661 for ac_exec_ext in '' $ac_executable_extensions; do
29662 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29663 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29664 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29665 break 2
29666 fi
29667 done
29668 done
29669
29670 ;;
29671 esac
29672 fi
29673 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29674
29675 if test -n "$PKG_CONFIG"; then
29676 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29677 echo "${ECHO_T}$PKG_CONFIG" >&6
29678 else
29679 echo "$as_me:$LINENO: result: no" >&5
29680 echo "${ECHO_T}no" >&6
29681 fi
29682
29683 fi
29684 if test -z "$ac_cv_path_PKG_CONFIG"; then
29685 ac_pt_PKG_CONFIG=$PKG_CONFIG
29686 # Extract the first word of "pkg-config", so it can be a program name with args.
29687 set dummy pkg-config; ac_word=$2
29688 echo "$as_me:$LINENO: checking for $ac_word" >&5
29689 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29690 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29691 echo $ECHO_N "(cached) $ECHO_C" >&6
29692 else
29693 case $ac_pt_PKG_CONFIG in
29694 [\\/]* | ?:[\\/]*)
29695 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29696 ;;
29697 *)
29698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29699 for as_dir in $PATH
29700 do
29701 IFS=$as_save_IFS
29702 test -z "$as_dir" && as_dir=.
29703 for ac_exec_ext in '' $ac_executable_extensions; do
29704 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29705 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29706 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29707 break 2
29708 fi
29709 done
29710 done
29711
29712 ;;
29713 esac
29714 fi
29715 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29716
29717 if test -n "$ac_pt_PKG_CONFIG"; then
29718 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29719 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29720 else
29721 echo "$as_me:$LINENO: result: no" >&5
29722 echo "${ECHO_T}no" >&6
29723 fi
29724
29725 PKG_CONFIG=$ac_pt_PKG_CONFIG
29726 else
29727 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29728 fi
29729
29730 fi
29731 if test -n "$PKG_CONFIG"; then
29732 _pkg_min_version=0.9.0
29733 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29734 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29735 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29736 echo "$as_me:$LINENO: result: yes" >&5
29737 echo "${ECHO_T}yes" >&6
29738 else
29739 echo "$as_me:$LINENO: result: no" >&5
29740 echo "${ECHO_T}no" >&6
29741 PKG_CONFIG=""
29742 fi
29743
29744 fi
29745
29746
29747 pkg_failed=no
29748 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29749 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29750
29751 if test -n "$PKG_CONFIG"; then
29752 if test -n "$DIRECTFB_CFLAGS"; then
29753 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29754 else
29755 if test -n "$PKG_CONFIG" && \
29756 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29757 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29758 ac_status=$?
29759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29760 (exit $ac_status); }; then
29761 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29762 else
29763 pkg_failed=yes
29764 fi
29765 fi
29766 else
29767 pkg_failed=untried
29768 fi
29769 if test -n "$PKG_CONFIG"; then
29770 if test -n "$DIRECTFB_LIBS"; then
29771 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29772 else
29773 if test -n "$PKG_CONFIG" && \
29774 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29775 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29776 ac_status=$?
29777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29778 (exit $ac_status); }; then
29779 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29780 else
29781 pkg_failed=yes
29782 fi
29783 fi
29784 else
29785 pkg_failed=untried
29786 fi
29787
29788
29789
29790 if test $pkg_failed = yes; then
29791
29792 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29793 _pkg_short_errors_supported=yes
29794 else
29795 _pkg_short_errors_supported=no
29796 fi
29797 if test $_pkg_short_errors_supported = yes; then
29798 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29799 else
29800 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29801 fi
29802 # Put the nasty error message in config.log where it belongs
29803 echo "$DIRECTFB_PKG_ERRORS" >&5
29804
29805
29806 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29807 echo "$as_me: error: DirectFB not found." >&2;}
29808 { (exit 1); exit 1; }; }
29809
29810
29811 elif test $pkg_failed = untried; then
29812
29813 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29814 echo "$as_me: error: DirectFB not found." >&2;}
29815 { (exit 1); exit 1; }; }
29816
29817
29818 else
29819 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29820 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29821 echo "$as_me:$LINENO: result: yes" >&5
29822 echo "${ECHO_T}yes" >&6
29823
29824 wxUSE_UNIVERSAL="yes"
29825 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29826 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29827 TOOLKIT=DFB
29828 GUIDIST=DFB_DIST
29829
29830 fi
29831 fi
29832
29833 if test "$wxUSE_MICROWIN" = 1; then
29834 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29835 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29836 if test "x$MICROWINDOWS" = x ; then
29837 echo "$as_me:$LINENO: result: not found" >&5
29838 echo "${ECHO_T}not found" >&6
29839 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29840 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29841 { (exit 1); exit 1; }; }
29842 else
29843 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29844 echo "${ECHO_T}$MICROWINDOWS" >&6
29845 fi
29846
29847 if test -f $MICROWINDOWS/lib/libmwin.a; then
29848 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29849 echo "${ECHO_T}MicroWindows' libraries found." >&6
29850 else
29851 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29852 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29853 { (exit 1); exit 1; }; }
29854 fi
29855
29856 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29857 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29858
29859 wxUSE_UNIVERSAL="yes"
29860
29861 AFMINSTALL=afminstall
29862 TOOLKIT=MICROWIN
29863 GUIDIST=MICROWIN_DIST
29864
29865 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29866 fi
29867
29868 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29869
29870 if test "x$ac_path_x_has_been_run" != xyes; then
29871 echo "$as_me:$LINENO: checking for X" >&5
29872 echo $ECHO_N "checking for X... $ECHO_C" >&6
29873
29874 ac_path_x_has_been_run=yes
29875
29876 # Check whether --with-x or --without-x was given.
29877 if test "${with_x+set}" = set; then
29878 withval="$with_x"
29879
29880 fi;
29881 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29882 if test "x$with_x" = xno; then
29883 # The user explicitly disabled X.
29884 have_x=disabled
29885 else
29886 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
29887 # Both variables are already set.
29888 have_x=yes
29889 else
29890 if test "${ac_cv_have_x+set}" = set; then
29891 echo $ECHO_N "(cached) $ECHO_C" >&6
29892 else
29893 # One or both of the vars are not set, and there is no cached value.
29894 ac_x_includes=no ac_x_libraries=no
29895 rm -fr conftest.dir
29896 if mkdir conftest.dir; then
29897 cd conftest.dir
29898 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29899 cat >Imakefile <<'_ACEOF'
29900 acfindx:
29901 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29902 _ACEOF
29903 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
29904 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29905 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29906 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29907 for ac_extension in a so sl; do
29908 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
29909 test -f $ac_im_libdir/libX11.$ac_extension; then
29910 ac_im_usrlibdir=$ac_im_libdir; break
29911 fi
29912 done
29913 # Screen out bogus values from the imake configuration. They are
29914 # bogus both because they are the default anyway, and because
29915 # using them would break gcc on systems where it needs fixed includes.
29916 case $ac_im_incroot in
29917 /usr/include) ;;
29918 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29919 esac
29920 case $ac_im_usrlibdir in
29921 /usr/lib | /lib) ;;
29922 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29923 esac
29924 fi
29925 cd ..
29926 rm -fr conftest.dir
29927 fi
29928
29929 # Standard set of common directories for X headers.
29930 # Check X11 before X11Rn because it is often a symlink to the current release.
29931 ac_x_header_dirs='
29932 /usr/X11/include
29933 /usr/X11R6/include
29934 /usr/X11R5/include
29935 /usr/X11R4/include
29936
29937 /usr/include/X11
29938 /usr/include/X11R6
29939 /usr/include/X11R5
29940 /usr/include/X11R4
29941
29942 /usr/local/X11/include
29943 /usr/local/X11R6/include
29944 /usr/local/X11R5/include
29945 /usr/local/X11R4/include
29946
29947 /usr/local/include/X11
29948 /usr/local/include/X11R6
29949 /usr/local/include/X11R5
29950 /usr/local/include/X11R4
29951
29952 /usr/X386/include
29953 /usr/x386/include
29954 /usr/XFree86/include/X11
29955
29956 /usr/include
29957 /usr/local/include
29958 /usr/unsupported/include
29959 /usr/athena/include
29960 /usr/local/x11r5/include
29961 /usr/lpp/Xamples/include
29962
29963 /usr/openwin/include
29964 /usr/openwin/share/include'
29965
29966 if test "$ac_x_includes" = no; then
29967 # Guess where to find include files, by looking for a specified header file.
29968 # First, try using that file with no special directory specified.
29969 cat >conftest.$ac_ext <<_ACEOF
29970 /* confdefs.h. */
29971 _ACEOF
29972 cat confdefs.h >>conftest.$ac_ext
29973 cat >>conftest.$ac_ext <<_ACEOF
29974 /* end confdefs.h. */
29975 #include <X11/Xlib.h>
29976 _ACEOF
29977 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29978 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29979 ac_status=$?
29980 grep -v '^ *+' conftest.er1 >conftest.err
29981 rm -f conftest.er1
29982 cat conftest.err >&5
29983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29984 (exit $ac_status); } >/dev/null; then
29985 if test -s conftest.err; then
29986 ac_cpp_err=$ac_cxx_preproc_warn_flag
29987 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
29988 else
29989 ac_cpp_err=
29990 fi
29991 else
29992 ac_cpp_err=yes
29993 fi
29994 if test -z "$ac_cpp_err"; then
29995 # We can compile using X headers with no special include directory.
29996 ac_x_includes=
29997 else
29998 echo "$as_me: failed program was:" >&5
29999 sed 's/^/| /' conftest.$ac_ext >&5
30000
30001 for ac_dir in $ac_x_header_dirs; do
30002 if test -r "$ac_dir/X11/Xlib.h"; then
30003 ac_x_includes=$ac_dir
30004 break
30005 fi
30006 done
30007 fi
30008 rm -f conftest.err conftest.$ac_ext
30009 fi # $ac_x_includes = no
30010
30011 if test "$ac_x_libraries" = no; then
30012 # Check for the libraries.
30013 # See if we find them without any special options.
30014 # Don't add to $LIBS permanently.
30015 ac_save_LIBS=$LIBS
30016 LIBS="-lX11 $LIBS"
30017 cat >conftest.$ac_ext <<_ACEOF
30018 /* confdefs.h. */
30019 _ACEOF
30020 cat confdefs.h >>conftest.$ac_ext
30021 cat >>conftest.$ac_ext <<_ACEOF
30022 /* end confdefs.h. */
30023 #include <X11/Xlib.h>
30024 int
30025 main ()
30026 {
30027 XrmInitialize ()
30028 ;
30029 return 0;
30030 }
30031 _ACEOF
30032 rm -f conftest.$ac_objext conftest$ac_exeext
30033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30034 (eval $ac_link) 2>conftest.er1
30035 ac_status=$?
30036 grep -v '^ *+' conftest.er1 >conftest.err
30037 rm -f conftest.er1
30038 cat conftest.err >&5
30039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30040 (exit $ac_status); } &&
30041 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30043 (eval $ac_try) 2>&5
30044 ac_status=$?
30045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30046 (exit $ac_status); }; } &&
30047 { ac_try='test -s conftest$ac_exeext'
30048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30049 (eval $ac_try) 2>&5
30050 ac_status=$?
30051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30052 (exit $ac_status); }; }; then
30053 LIBS=$ac_save_LIBS
30054 # We can link X programs with no special library path.
30055 ac_x_libraries=
30056 else
30057 echo "$as_me: failed program was:" >&5
30058 sed 's/^/| /' conftest.$ac_ext >&5
30059
30060 LIBS=$ac_save_LIBS
30061 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30062 do
30063 # Don't even attempt the hair of trying to link an X program!
30064 for ac_extension in a so sl; do
30065 if test -r $ac_dir/libX11.$ac_extension; then
30066 ac_x_libraries=$ac_dir
30067 break 2
30068 fi
30069 done
30070 done
30071 fi
30072 rm -f conftest.err conftest.$ac_objext \
30073 conftest$ac_exeext conftest.$ac_ext
30074 fi # $ac_x_libraries = no
30075
30076 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
30077 # Didn't find X anywhere. Cache the known absence of X.
30078 ac_cv_have_x="have_x=no"
30079 else
30080 # Record where we found X for the cache.
30081 ac_cv_have_x="have_x=yes \
30082 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
30083 fi
30084 fi
30085
30086 fi
30087 eval "$ac_cv_have_x"
30088 fi # $with_x != no
30089
30090 if test "$have_x" != yes; then
30091 echo "$as_me:$LINENO: result: $have_x" >&5
30092 echo "${ECHO_T}$have_x" >&6
30093 no_x=yes
30094 else
30095 # If each of the values was on the command line, it overrides each guess.
30096 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30097 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30098 # Update the cache value to reflect the command line values.
30099 ac_cv_have_x="have_x=yes \
30100 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
30101 # It might be that x_includes is empty (headers are found in the
30102 # standard search path. Then output the corresponding message
30103 ac_out_x_includes=$x_includes
30104 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
30105 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
30106 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
30107 fi
30108
30109 fi
30110 if test "$no_x" = yes; then
30111 # Not all programs may use this symbol, but it does not hurt to define it.
30112
30113 cat >>confdefs.h <<\_ACEOF
30114 #define X_DISPLAY_MISSING 1
30115 _ACEOF
30116
30117 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30118 else
30119 if test -n "$x_includes"; then
30120 X_CFLAGS="$X_CFLAGS -I$x_includes"
30121 fi
30122
30123 # It would also be nice to do this for all -L options, not just this one.
30124 if test -n "$x_libraries"; then
30125 X_LIBS="$X_LIBS -L$x_libraries"
30126 # For Solaris; some versions of Sun CC require a space after -R and
30127 # others require no space. Words are not sufficient . . . .
30128 case `(uname -sr) 2>/dev/null` in
30129 "SunOS 5"*)
30130 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30131 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
30132 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30133 cat >conftest.$ac_ext <<_ACEOF
30134 /* confdefs.h. */
30135 _ACEOF
30136 cat confdefs.h >>conftest.$ac_ext
30137 cat >>conftest.$ac_ext <<_ACEOF
30138 /* end confdefs.h. */
30139
30140 int
30141 main ()
30142 {
30143
30144 ;
30145 return 0;
30146 }
30147 _ACEOF
30148 rm -f conftest.$ac_objext conftest$ac_exeext
30149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30150 (eval $ac_link) 2>conftest.er1
30151 ac_status=$?
30152 grep -v '^ *+' conftest.er1 >conftest.err
30153 rm -f conftest.er1
30154 cat conftest.err >&5
30155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30156 (exit $ac_status); } &&
30157 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30159 (eval $ac_try) 2>&5
30160 ac_status=$?
30161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30162 (exit $ac_status); }; } &&
30163 { ac_try='test -s conftest$ac_exeext'
30164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30165 (eval $ac_try) 2>&5
30166 ac_status=$?
30167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30168 (exit $ac_status); }; }; then
30169 ac_R_nospace=yes
30170 else
30171 echo "$as_me: failed program was:" >&5
30172 sed 's/^/| /' conftest.$ac_ext >&5
30173
30174 ac_R_nospace=no
30175 fi
30176 rm -f conftest.err conftest.$ac_objext \
30177 conftest$ac_exeext conftest.$ac_ext
30178 if test $ac_R_nospace = yes; then
30179 echo "$as_me:$LINENO: result: no" >&5
30180 echo "${ECHO_T}no" >&6
30181 X_LIBS="$X_LIBS -R$x_libraries"
30182 else
30183 LIBS="$ac_xsave_LIBS -R $x_libraries"
30184 cat >conftest.$ac_ext <<_ACEOF
30185 /* confdefs.h. */
30186 _ACEOF
30187 cat confdefs.h >>conftest.$ac_ext
30188 cat >>conftest.$ac_ext <<_ACEOF
30189 /* end confdefs.h. */
30190
30191 int
30192 main ()
30193 {
30194
30195 ;
30196 return 0;
30197 }
30198 _ACEOF
30199 rm -f conftest.$ac_objext conftest$ac_exeext
30200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30201 (eval $ac_link) 2>conftest.er1
30202 ac_status=$?
30203 grep -v '^ *+' conftest.er1 >conftest.err
30204 rm -f conftest.er1
30205 cat conftest.err >&5
30206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30207 (exit $ac_status); } &&
30208 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30210 (eval $ac_try) 2>&5
30211 ac_status=$?
30212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30213 (exit $ac_status); }; } &&
30214 { ac_try='test -s conftest$ac_exeext'
30215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30216 (eval $ac_try) 2>&5
30217 ac_status=$?
30218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30219 (exit $ac_status); }; }; then
30220 ac_R_space=yes
30221 else
30222 echo "$as_me: failed program was:" >&5
30223 sed 's/^/| /' conftest.$ac_ext >&5
30224
30225 ac_R_space=no
30226 fi
30227 rm -f conftest.err conftest.$ac_objext \
30228 conftest$ac_exeext conftest.$ac_ext
30229 if test $ac_R_space = yes; then
30230 echo "$as_me:$LINENO: result: yes" >&5
30231 echo "${ECHO_T}yes" >&6
30232 X_LIBS="$X_LIBS -R $x_libraries"
30233 else
30234 echo "$as_me:$LINENO: result: neither works" >&5
30235 echo "${ECHO_T}neither works" >&6
30236 fi
30237 fi
30238 LIBS=$ac_xsave_LIBS
30239 esac
30240 fi
30241
30242 # Check for system-dependent libraries X programs must link with.
30243 # Do this before checking for the system-independent R6 libraries
30244 # (-lICE), since we may need -lsocket or whatever for X linking.
30245
30246 if test "$ISC" = yes; then
30247 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30248 else
30249 # Martyn Johnson says this is needed for Ultrix, if the X
30250 # libraries were built with DECnet support. And Karl Berry says
30251 # the Alpha needs dnet_stub (dnet does not exist).
30252 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30253 cat >conftest.$ac_ext <<_ACEOF
30254 /* confdefs.h. */
30255 _ACEOF
30256 cat confdefs.h >>conftest.$ac_ext
30257 cat >>conftest.$ac_ext <<_ACEOF
30258 /* end confdefs.h. */
30259
30260 /* Override any gcc2 internal prototype to avoid an error. */
30261 #ifdef __cplusplus
30262 extern "C"
30263 #endif
30264 /* We use char because int might match the return type of a gcc2
30265 builtin and then its argument prototype would still apply. */
30266 char XOpenDisplay ();
30267 int
30268 main ()
30269 {
30270 XOpenDisplay ();
30271 ;
30272 return 0;
30273 }
30274 _ACEOF
30275 rm -f conftest.$ac_objext conftest$ac_exeext
30276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30277 (eval $ac_link) 2>conftest.er1
30278 ac_status=$?
30279 grep -v '^ *+' conftest.er1 >conftest.err
30280 rm -f conftest.er1
30281 cat conftest.err >&5
30282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30283 (exit $ac_status); } &&
30284 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30286 (eval $ac_try) 2>&5
30287 ac_status=$?
30288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30289 (exit $ac_status); }; } &&
30290 { ac_try='test -s conftest$ac_exeext'
30291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30292 (eval $ac_try) 2>&5
30293 ac_status=$?
30294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30295 (exit $ac_status); }; }; then
30296 :
30297 else
30298 echo "$as_me: failed program was:" >&5
30299 sed 's/^/| /' conftest.$ac_ext >&5
30300
30301 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30302 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
30303 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30304 echo $ECHO_N "(cached) $ECHO_C" >&6
30305 else
30306 ac_check_lib_save_LIBS=$LIBS
30307 LIBS="-ldnet $LIBS"
30308 cat >conftest.$ac_ext <<_ACEOF
30309 /* confdefs.h. */
30310 _ACEOF
30311 cat confdefs.h >>conftest.$ac_ext
30312 cat >>conftest.$ac_ext <<_ACEOF
30313 /* end confdefs.h. */
30314
30315 /* Override any gcc2 internal prototype to avoid an error. */
30316 #ifdef __cplusplus
30317 extern "C"
30318 #endif
30319 /* We use char because int might match the return type of a gcc2
30320 builtin and then its argument prototype would still apply. */
30321 char dnet_ntoa ();
30322 int
30323 main ()
30324 {
30325 dnet_ntoa ();
30326 ;
30327 return 0;
30328 }
30329 _ACEOF
30330 rm -f conftest.$ac_objext conftest$ac_exeext
30331 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30332 (eval $ac_link) 2>conftest.er1
30333 ac_status=$?
30334 grep -v '^ *+' conftest.er1 >conftest.err
30335 rm -f conftest.er1
30336 cat conftest.err >&5
30337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30338 (exit $ac_status); } &&
30339 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30341 (eval $ac_try) 2>&5
30342 ac_status=$?
30343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30344 (exit $ac_status); }; } &&
30345 { ac_try='test -s conftest$ac_exeext'
30346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30347 (eval $ac_try) 2>&5
30348 ac_status=$?
30349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30350 (exit $ac_status); }; }; then
30351 ac_cv_lib_dnet_dnet_ntoa=yes
30352 else
30353 echo "$as_me: failed program was:" >&5
30354 sed 's/^/| /' conftest.$ac_ext >&5
30355
30356 ac_cv_lib_dnet_dnet_ntoa=no
30357 fi
30358 rm -f conftest.err conftest.$ac_objext \
30359 conftest$ac_exeext conftest.$ac_ext
30360 LIBS=$ac_check_lib_save_LIBS
30361 fi
30362 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30363 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
30364 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30365 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30366 fi
30367
30368 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30369 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30370 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
30371 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30372 echo $ECHO_N "(cached) $ECHO_C" >&6
30373 else
30374 ac_check_lib_save_LIBS=$LIBS
30375 LIBS="-ldnet_stub $LIBS"
30376 cat >conftest.$ac_ext <<_ACEOF
30377 /* confdefs.h. */
30378 _ACEOF
30379 cat confdefs.h >>conftest.$ac_ext
30380 cat >>conftest.$ac_ext <<_ACEOF
30381 /* end confdefs.h. */
30382
30383 /* Override any gcc2 internal prototype to avoid an error. */
30384 #ifdef __cplusplus
30385 extern "C"
30386 #endif
30387 /* We use char because int might match the return type of a gcc2
30388 builtin and then its argument prototype would still apply. */
30389 char dnet_ntoa ();
30390 int
30391 main ()
30392 {
30393 dnet_ntoa ();
30394 ;
30395 return 0;
30396 }
30397 _ACEOF
30398 rm -f conftest.$ac_objext conftest$ac_exeext
30399 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30400 (eval $ac_link) 2>conftest.er1
30401 ac_status=$?
30402 grep -v '^ *+' conftest.er1 >conftest.err
30403 rm -f conftest.er1
30404 cat conftest.err >&5
30405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30406 (exit $ac_status); } &&
30407 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30409 (eval $ac_try) 2>&5
30410 ac_status=$?
30411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30412 (exit $ac_status); }; } &&
30413 { ac_try='test -s conftest$ac_exeext'
30414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30415 (eval $ac_try) 2>&5
30416 ac_status=$?
30417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30418 (exit $ac_status); }; }; then
30419 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30420 else
30421 echo "$as_me: failed program was:" >&5
30422 sed 's/^/| /' conftest.$ac_ext >&5
30423
30424 ac_cv_lib_dnet_stub_dnet_ntoa=no
30425 fi
30426 rm -f conftest.err conftest.$ac_objext \
30427 conftest$ac_exeext conftest.$ac_ext
30428 LIBS=$ac_check_lib_save_LIBS
30429 fi
30430 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30431 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
30432 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30433 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30434 fi
30435
30436 fi
30437 fi
30438 rm -f conftest.err conftest.$ac_objext \
30439 conftest$ac_exeext conftest.$ac_ext
30440 LIBS="$ac_xsave_LIBS"
30441
30442 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30443 # to get the SysV transport functions.
30444 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30445 # needs -lnsl.
30446 # The nsl library prevents programs from opening the X display
30447 # on Irix 5.2, according to T.E. Dickey.
30448 # The functions gethostbyname, getservbyname, and inet_addr are
30449 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30450 echo "$as_me:$LINENO: checking for gethostbyname" >&5
30451 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
30452 if test "${ac_cv_func_gethostbyname+set}" = set; then
30453 echo $ECHO_N "(cached) $ECHO_C" >&6
30454 else
30455 cat >conftest.$ac_ext <<_ACEOF
30456 /* confdefs.h. */
30457 _ACEOF
30458 cat confdefs.h >>conftest.$ac_ext
30459 cat >>conftest.$ac_ext <<_ACEOF
30460 /* end confdefs.h. */
30461 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30462 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30463 #define gethostbyname innocuous_gethostbyname
30464
30465 /* System header to define __stub macros and hopefully few prototypes,
30466 which can conflict with char gethostbyname (); below.
30467 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30468 <limits.h> exists even on freestanding compilers. */
30469
30470 #ifdef __STDC__
30471 # include <limits.h>
30472 #else
30473 # include <assert.h>
30474 #endif
30475
30476 #undef gethostbyname
30477
30478 /* Override any gcc2 internal prototype to avoid an error. */
30479 #ifdef __cplusplus
30480 extern "C"
30481 {
30482 #endif
30483 /* We use char because int might match the return type of a gcc2
30484 builtin and then its argument prototype would still apply. */
30485 char gethostbyname ();
30486 /* The GNU C library defines this for functions which it implements
30487 to always fail with ENOSYS. Some functions are actually named
30488 something starting with __ and the normal name is an alias. */
30489 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
30490 choke me
30491 #else
30492 char (*f) () = gethostbyname;
30493 #endif
30494 #ifdef __cplusplus
30495 }
30496 #endif
30497
30498 int
30499 main ()
30500 {
30501 return f != gethostbyname;
30502 ;
30503 return 0;
30504 }
30505 _ACEOF
30506 rm -f conftest.$ac_objext conftest$ac_exeext
30507 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30508 (eval $ac_link) 2>conftest.er1
30509 ac_status=$?
30510 grep -v '^ *+' conftest.er1 >conftest.err
30511 rm -f conftest.er1
30512 cat conftest.err >&5
30513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30514 (exit $ac_status); } &&
30515 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30517 (eval $ac_try) 2>&5
30518 ac_status=$?
30519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30520 (exit $ac_status); }; } &&
30521 { ac_try='test -s conftest$ac_exeext'
30522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30523 (eval $ac_try) 2>&5
30524 ac_status=$?
30525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30526 (exit $ac_status); }; }; then
30527 ac_cv_func_gethostbyname=yes
30528 else
30529 echo "$as_me: failed program was:" >&5
30530 sed 's/^/| /' conftest.$ac_ext >&5
30531
30532 ac_cv_func_gethostbyname=no
30533 fi
30534 rm -f conftest.err conftest.$ac_objext \
30535 conftest$ac_exeext conftest.$ac_ext
30536 fi
30537 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30538 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
30539
30540 if test $ac_cv_func_gethostbyname = no; then
30541 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30542 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
30543 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30544 echo $ECHO_N "(cached) $ECHO_C" >&6
30545 else
30546 ac_check_lib_save_LIBS=$LIBS
30547 LIBS="-lnsl $LIBS"
30548 cat >conftest.$ac_ext <<_ACEOF
30549 /* confdefs.h. */
30550 _ACEOF
30551 cat confdefs.h >>conftest.$ac_ext
30552 cat >>conftest.$ac_ext <<_ACEOF
30553 /* end confdefs.h. */
30554
30555 /* Override any gcc2 internal prototype to avoid an error. */
30556 #ifdef __cplusplus
30557 extern "C"
30558 #endif
30559 /* We use char because int might match the return type of a gcc2
30560 builtin and then its argument prototype would still apply. */
30561 char gethostbyname ();
30562 int
30563 main ()
30564 {
30565 gethostbyname ();
30566 ;
30567 return 0;
30568 }
30569 _ACEOF
30570 rm -f conftest.$ac_objext conftest$ac_exeext
30571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30572 (eval $ac_link) 2>conftest.er1
30573 ac_status=$?
30574 grep -v '^ *+' conftest.er1 >conftest.err
30575 rm -f conftest.er1
30576 cat conftest.err >&5
30577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30578 (exit $ac_status); } &&
30579 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30581 (eval $ac_try) 2>&5
30582 ac_status=$?
30583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30584 (exit $ac_status); }; } &&
30585 { ac_try='test -s conftest$ac_exeext'
30586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30587 (eval $ac_try) 2>&5
30588 ac_status=$?
30589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30590 (exit $ac_status); }; }; then
30591 ac_cv_lib_nsl_gethostbyname=yes
30592 else
30593 echo "$as_me: failed program was:" >&5
30594 sed 's/^/| /' conftest.$ac_ext >&5
30595
30596 ac_cv_lib_nsl_gethostbyname=no
30597 fi
30598 rm -f conftest.err conftest.$ac_objext \
30599 conftest$ac_exeext conftest.$ac_ext
30600 LIBS=$ac_check_lib_save_LIBS
30601 fi
30602 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30603 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30604 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30605 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30606 fi
30607
30608 if test $ac_cv_lib_nsl_gethostbyname = no; then
30609 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30610 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30611 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30612 echo $ECHO_N "(cached) $ECHO_C" >&6
30613 else
30614 ac_check_lib_save_LIBS=$LIBS
30615 LIBS="-lbsd $LIBS"
30616 cat >conftest.$ac_ext <<_ACEOF
30617 /* confdefs.h. */
30618 _ACEOF
30619 cat confdefs.h >>conftest.$ac_ext
30620 cat >>conftest.$ac_ext <<_ACEOF
30621 /* end confdefs.h. */
30622
30623 /* Override any gcc2 internal prototype to avoid an error. */
30624 #ifdef __cplusplus
30625 extern "C"
30626 #endif
30627 /* We use char because int might match the return type of a gcc2
30628 builtin and then its argument prototype would still apply. */
30629 char gethostbyname ();
30630 int
30631 main ()
30632 {
30633 gethostbyname ();
30634 ;
30635 return 0;
30636 }
30637 _ACEOF
30638 rm -f conftest.$ac_objext conftest$ac_exeext
30639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30640 (eval $ac_link) 2>conftest.er1
30641 ac_status=$?
30642 grep -v '^ *+' conftest.er1 >conftest.err
30643 rm -f conftest.er1
30644 cat conftest.err >&5
30645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30646 (exit $ac_status); } &&
30647 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30649 (eval $ac_try) 2>&5
30650 ac_status=$?
30651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30652 (exit $ac_status); }; } &&
30653 { ac_try='test -s conftest$ac_exeext'
30654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30655 (eval $ac_try) 2>&5
30656 ac_status=$?
30657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30658 (exit $ac_status); }; }; then
30659 ac_cv_lib_bsd_gethostbyname=yes
30660 else
30661 echo "$as_me: failed program was:" >&5
30662 sed 's/^/| /' conftest.$ac_ext >&5
30663
30664 ac_cv_lib_bsd_gethostbyname=no
30665 fi
30666 rm -f conftest.err conftest.$ac_objext \
30667 conftest$ac_exeext conftest.$ac_ext
30668 LIBS=$ac_check_lib_save_LIBS
30669 fi
30670 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30671 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30672 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30673 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30674 fi
30675
30676 fi
30677 fi
30678
30679 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30680 # socket/setsockopt and other routines are undefined under SCO ODT
30681 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30682 # on later versions), says Simon Leinen: it contains gethostby*
30683 # variants that don't use the name server (or something). -lsocket
30684 # must be given before -lnsl if both are needed. We assume that
30685 # if connect needs -lnsl, so does gethostbyname.
30686 echo "$as_me:$LINENO: checking for connect" >&5
30687 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30688 if test "${ac_cv_func_connect+set}" = set; then
30689 echo $ECHO_N "(cached) $ECHO_C" >&6
30690 else
30691 cat >conftest.$ac_ext <<_ACEOF
30692 /* confdefs.h. */
30693 _ACEOF
30694 cat confdefs.h >>conftest.$ac_ext
30695 cat >>conftest.$ac_ext <<_ACEOF
30696 /* end confdefs.h. */
30697 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30699 #define connect innocuous_connect
30700
30701 /* System header to define __stub macros and hopefully few prototypes,
30702 which can conflict with char connect (); below.
30703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30704 <limits.h> exists even on freestanding compilers. */
30705
30706 #ifdef __STDC__
30707 # include <limits.h>
30708 #else
30709 # include <assert.h>
30710 #endif
30711
30712 #undef connect
30713
30714 /* Override any gcc2 internal prototype to avoid an error. */
30715 #ifdef __cplusplus
30716 extern "C"
30717 {
30718 #endif
30719 /* We use char because int might match the return type of a gcc2
30720 builtin and then its argument prototype would still apply. */
30721 char connect ();
30722 /* The GNU C library defines this for functions which it implements
30723 to always fail with ENOSYS. Some functions are actually named
30724 something starting with __ and the normal name is an alias. */
30725 #if defined (__stub_connect) || defined (__stub___connect)
30726 choke me
30727 #else
30728 char (*f) () = connect;
30729 #endif
30730 #ifdef __cplusplus
30731 }
30732 #endif
30733
30734 int
30735 main ()
30736 {
30737 return f != connect;
30738 ;
30739 return 0;
30740 }
30741 _ACEOF
30742 rm -f conftest.$ac_objext conftest$ac_exeext
30743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30744 (eval $ac_link) 2>conftest.er1
30745 ac_status=$?
30746 grep -v '^ *+' conftest.er1 >conftest.err
30747 rm -f conftest.er1
30748 cat conftest.err >&5
30749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30750 (exit $ac_status); } &&
30751 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30753 (eval $ac_try) 2>&5
30754 ac_status=$?
30755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30756 (exit $ac_status); }; } &&
30757 { ac_try='test -s conftest$ac_exeext'
30758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30759 (eval $ac_try) 2>&5
30760 ac_status=$?
30761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30762 (exit $ac_status); }; }; then
30763 ac_cv_func_connect=yes
30764 else
30765 echo "$as_me: failed program was:" >&5
30766 sed 's/^/| /' conftest.$ac_ext >&5
30767
30768 ac_cv_func_connect=no
30769 fi
30770 rm -f conftest.err conftest.$ac_objext \
30771 conftest$ac_exeext conftest.$ac_ext
30772 fi
30773 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30774 echo "${ECHO_T}$ac_cv_func_connect" >&6
30775
30776 if test $ac_cv_func_connect = no; then
30777 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30778 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30779 if test "${ac_cv_lib_socket_connect+set}" = set; then
30780 echo $ECHO_N "(cached) $ECHO_C" >&6
30781 else
30782 ac_check_lib_save_LIBS=$LIBS
30783 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30784 cat >conftest.$ac_ext <<_ACEOF
30785 /* confdefs.h. */
30786 _ACEOF
30787 cat confdefs.h >>conftest.$ac_ext
30788 cat >>conftest.$ac_ext <<_ACEOF
30789 /* end confdefs.h. */
30790
30791 /* Override any gcc2 internal prototype to avoid an error. */
30792 #ifdef __cplusplus
30793 extern "C"
30794 #endif
30795 /* We use char because int might match the return type of a gcc2
30796 builtin and then its argument prototype would still apply. */
30797 char connect ();
30798 int
30799 main ()
30800 {
30801 connect ();
30802 ;
30803 return 0;
30804 }
30805 _ACEOF
30806 rm -f conftest.$ac_objext conftest$ac_exeext
30807 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30808 (eval $ac_link) 2>conftest.er1
30809 ac_status=$?
30810 grep -v '^ *+' conftest.er1 >conftest.err
30811 rm -f conftest.er1
30812 cat conftest.err >&5
30813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30814 (exit $ac_status); } &&
30815 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30817 (eval $ac_try) 2>&5
30818 ac_status=$?
30819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30820 (exit $ac_status); }; } &&
30821 { ac_try='test -s conftest$ac_exeext'
30822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30823 (eval $ac_try) 2>&5
30824 ac_status=$?
30825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30826 (exit $ac_status); }; }; then
30827 ac_cv_lib_socket_connect=yes
30828 else
30829 echo "$as_me: failed program was:" >&5
30830 sed 's/^/| /' conftest.$ac_ext >&5
30831
30832 ac_cv_lib_socket_connect=no
30833 fi
30834 rm -f conftest.err conftest.$ac_objext \
30835 conftest$ac_exeext conftest.$ac_ext
30836 LIBS=$ac_check_lib_save_LIBS
30837 fi
30838 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30839 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30840 if test $ac_cv_lib_socket_connect = yes; then
30841 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30842 fi
30843
30844 fi
30845
30846 # Guillermo Gomez says -lposix is necessary on A/UX.
30847 echo "$as_me:$LINENO: checking for remove" >&5
30848 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30849 if test "${ac_cv_func_remove+set}" = set; then
30850 echo $ECHO_N "(cached) $ECHO_C" >&6
30851 else
30852 cat >conftest.$ac_ext <<_ACEOF
30853 /* confdefs.h. */
30854 _ACEOF
30855 cat confdefs.h >>conftest.$ac_ext
30856 cat >>conftest.$ac_ext <<_ACEOF
30857 /* end confdefs.h. */
30858 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30860 #define remove innocuous_remove
30861
30862 /* System header to define __stub macros and hopefully few prototypes,
30863 which can conflict with char remove (); below.
30864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30865 <limits.h> exists even on freestanding compilers. */
30866
30867 #ifdef __STDC__
30868 # include <limits.h>
30869 #else
30870 # include <assert.h>
30871 #endif
30872
30873 #undef remove
30874
30875 /* Override any gcc2 internal prototype to avoid an error. */
30876 #ifdef __cplusplus
30877 extern "C"
30878 {
30879 #endif
30880 /* We use char because int might match the return type of a gcc2
30881 builtin and then its argument prototype would still apply. */
30882 char remove ();
30883 /* The GNU C library defines this for functions which it implements
30884 to always fail with ENOSYS. Some functions are actually named
30885 something starting with __ and the normal name is an alias. */
30886 #if defined (__stub_remove) || defined (__stub___remove)
30887 choke me
30888 #else
30889 char (*f) () = remove;
30890 #endif
30891 #ifdef __cplusplus
30892 }
30893 #endif
30894
30895 int
30896 main ()
30897 {
30898 return f != remove;
30899 ;
30900 return 0;
30901 }
30902 _ACEOF
30903 rm -f conftest.$ac_objext conftest$ac_exeext
30904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30905 (eval $ac_link) 2>conftest.er1
30906 ac_status=$?
30907 grep -v '^ *+' conftest.er1 >conftest.err
30908 rm -f conftest.er1
30909 cat conftest.err >&5
30910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30911 (exit $ac_status); } &&
30912 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30914 (eval $ac_try) 2>&5
30915 ac_status=$?
30916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30917 (exit $ac_status); }; } &&
30918 { ac_try='test -s conftest$ac_exeext'
30919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30920 (eval $ac_try) 2>&5
30921 ac_status=$?
30922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30923 (exit $ac_status); }; }; then
30924 ac_cv_func_remove=yes
30925 else
30926 echo "$as_me: failed program was:" >&5
30927 sed 's/^/| /' conftest.$ac_ext >&5
30928
30929 ac_cv_func_remove=no
30930 fi
30931 rm -f conftest.err conftest.$ac_objext \
30932 conftest$ac_exeext conftest.$ac_ext
30933 fi
30934 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30935 echo "${ECHO_T}$ac_cv_func_remove" >&6
30936
30937 if test $ac_cv_func_remove = no; then
30938 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30939 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30940 if test "${ac_cv_lib_posix_remove+set}" = set; then
30941 echo $ECHO_N "(cached) $ECHO_C" >&6
30942 else
30943 ac_check_lib_save_LIBS=$LIBS
30944 LIBS="-lposix $LIBS"
30945 cat >conftest.$ac_ext <<_ACEOF
30946 /* confdefs.h. */
30947 _ACEOF
30948 cat confdefs.h >>conftest.$ac_ext
30949 cat >>conftest.$ac_ext <<_ACEOF
30950 /* end confdefs.h. */
30951
30952 /* Override any gcc2 internal prototype to avoid an error. */
30953 #ifdef __cplusplus
30954 extern "C"
30955 #endif
30956 /* We use char because int might match the return type of a gcc2
30957 builtin and then its argument prototype would still apply. */
30958 char remove ();
30959 int
30960 main ()
30961 {
30962 remove ();
30963 ;
30964 return 0;
30965 }
30966 _ACEOF
30967 rm -f conftest.$ac_objext conftest$ac_exeext
30968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30969 (eval $ac_link) 2>conftest.er1
30970 ac_status=$?
30971 grep -v '^ *+' conftest.er1 >conftest.err
30972 rm -f conftest.er1
30973 cat conftest.err >&5
30974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30975 (exit $ac_status); } &&
30976 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30978 (eval $ac_try) 2>&5
30979 ac_status=$?
30980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30981 (exit $ac_status); }; } &&
30982 { ac_try='test -s conftest$ac_exeext'
30983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30984 (eval $ac_try) 2>&5
30985 ac_status=$?
30986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30987 (exit $ac_status); }; }; then
30988 ac_cv_lib_posix_remove=yes
30989 else
30990 echo "$as_me: failed program was:" >&5
30991 sed 's/^/| /' conftest.$ac_ext >&5
30992
30993 ac_cv_lib_posix_remove=no
30994 fi
30995 rm -f conftest.err conftest.$ac_objext \
30996 conftest$ac_exeext conftest.$ac_ext
30997 LIBS=$ac_check_lib_save_LIBS
30998 fi
30999 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31000 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
31001 if test $ac_cv_lib_posix_remove = yes; then
31002 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31003 fi
31004
31005 fi
31006
31007 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31008 echo "$as_me:$LINENO: checking for shmat" >&5
31009 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
31010 if test "${ac_cv_func_shmat+set}" = set; then
31011 echo $ECHO_N "(cached) $ECHO_C" >&6
31012 else
31013 cat >conftest.$ac_ext <<_ACEOF
31014 /* confdefs.h. */
31015 _ACEOF
31016 cat confdefs.h >>conftest.$ac_ext
31017 cat >>conftest.$ac_ext <<_ACEOF
31018 /* end confdefs.h. */
31019 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31020 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31021 #define shmat innocuous_shmat
31022
31023 /* System header to define __stub macros and hopefully few prototypes,
31024 which can conflict with char shmat (); below.
31025 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31026 <limits.h> exists even on freestanding compilers. */
31027
31028 #ifdef __STDC__
31029 # include <limits.h>
31030 #else
31031 # include <assert.h>
31032 #endif
31033
31034 #undef shmat
31035
31036 /* Override any gcc2 internal prototype to avoid an error. */
31037 #ifdef __cplusplus
31038 extern "C"
31039 {
31040 #endif
31041 /* We use char because int might match the return type of a gcc2
31042 builtin and then its argument prototype would still apply. */
31043 char shmat ();
31044 /* The GNU C library defines this for functions which it implements
31045 to always fail with ENOSYS. Some functions are actually named
31046 something starting with __ and the normal name is an alias. */
31047 #if defined (__stub_shmat) || defined (__stub___shmat)
31048 choke me
31049 #else
31050 char (*f) () = shmat;
31051 #endif
31052 #ifdef __cplusplus
31053 }
31054 #endif
31055
31056 int
31057 main ()
31058 {
31059 return f != shmat;
31060 ;
31061 return 0;
31062 }
31063 _ACEOF
31064 rm -f conftest.$ac_objext conftest$ac_exeext
31065 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31066 (eval $ac_link) 2>conftest.er1
31067 ac_status=$?
31068 grep -v '^ *+' conftest.er1 >conftest.err
31069 rm -f conftest.er1
31070 cat conftest.err >&5
31071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31072 (exit $ac_status); } &&
31073 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31075 (eval $ac_try) 2>&5
31076 ac_status=$?
31077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31078 (exit $ac_status); }; } &&
31079 { ac_try='test -s conftest$ac_exeext'
31080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31081 (eval $ac_try) 2>&5
31082 ac_status=$?
31083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31084 (exit $ac_status); }; }; then
31085 ac_cv_func_shmat=yes
31086 else
31087 echo "$as_me: failed program was:" >&5
31088 sed 's/^/| /' conftest.$ac_ext >&5
31089
31090 ac_cv_func_shmat=no
31091 fi
31092 rm -f conftest.err conftest.$ac_objext \
31093 conftest$ac_exeext conftest.$ac_ext
31094 fi
31095 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31096 echo "${ECHO_T}$ac_cv_func_shmat" >&6
31097
31098 if test $ac_cv_func_shmat = no; then
31099 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31100 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
31101 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31102 echo $ECHO_N "(cached) $ECHO_C" >&6
31103 else
31104 ac_check_lib_save_LIBS=$LIBS
31105 LIBS="-lipc $LIBS"
31106 cat >conftest.$ac_ext <<_ACEOF
31107 /* confdefs.h. */
31108 _ACEOF
31109 cat confdefs.h >>conftest.$ac_ext
31110 cat >>conftest.$ac_ext <<_ACEOF
31111 /* end confdefs.h. */
31112
31113 /* Override any gcc2 internal prototype to avoid an error. */
31114 #ifdef __cplusplus
31115 extern "C"
31116 #endif
31117 /* We use char because int might match the return type of a gcc2
31118 builtin and then its argument prototype would still apply. */
31119 char shmat ();
31120 int
31121 main ()
31122 {
31123 shmat ();
31124 ;
31125 return 0;
31126 }
31127 _ACEOF
31128 rm -f conftest.$ac_objext conftest$ac_exeext
31129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31130 (eval $ac_link) 2>conftest.er1
31131 ac_status=$?
31132 grep -v '^ *+' conftest.er1 >conftest.err
31133 rm -f conftest.er1
31134 cat conftest.err >&5
31135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31136 (exit $ac_status); } &&
31137 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31139 (eval $ac_try) 2>&5
31140 ac_status=$?
31141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31142 (exit $ac_status); }; } &&
31143 { ac_try='test -s conftest$ac_exeext'
31144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31145 (eval $ac_try) 2>&5
31146 ac_status=$?
31147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31148 (exit $ac_status); }; }; then
31149 ac_cv_lib_ipc_shmat=yes
31150 else
31151 echo "$as_me: failed program was:" >&5
31152 sed 's/^/| /' conftest.$ac_ext >&5
31153
31154 ac_cv_lib_ipc_shmat=no
31155 fi
31156 rm -f conftest.err conftest.$ac_objext \
31157 conftest$ac_exeext conftest.$ac_ext
31158 LIBS=$ac_check_lib_save_LIBS
31159 fi
31160 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31161 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
31162 if test $ac_cv_lib_ipc_shmat = yes; then
31163 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31164 fi
31165
31166 fi
31167 fi
31168
31169 # Check for libraries that X11R6 Xt/Xaw programs need.
31170 ac_save_LDFLAGS=$LDFLAGS
31171 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31172 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31173 # check for ICE first), but we must link in the order -lSM -lICE or
31174 # we get undefined symbols. So assume we have SM if we have ICE.
31175 # These have to be linked with before -lX11, unlike the other
31176 # libraries we check for below, so use a different variable.
31177 # John Interrante, Karl Berry
31178 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31179 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
31180 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31181 echo $ECHO_N "(cached) $ECHO_C" >&6
31182 else
31183 ac_check_lib_save_LIBS=$LIBS
31184 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31185 cat >conftest.$ac_ext <<_ACEOF
31186 /* confdefs.h. */
31187 _ACEOF
31188 cat confdefs.h >>conftest.$ac_ext
31189 cat >>conftest.$ac_ext <<_ACEOF
31190 /* end confdefs.h. */
31191
31192 /* Override any gcc2 internal prototype to avoid an error. */
31193 #ifdef __cplusplus
31194 extern "C"
31195 #endif
31196 /* We use char because int might match the return type of a gcc2
31197 builtin and then its argument prototype would still apply. */
31198 char IceConnectionNumber ();
31199 int
31200 main ()
31201 {
31202 IceConnectionNumber ();
31203 ;
31204 return 0;
31205 }
31206 _ACEOF
31207 rm -f conftest.$ac_objext conftest$ac_exeext
31208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31209 (eval $ac_link) 2>conftest.er1
31210 ac_status=$?
31211 grep -v '^ *+' conftest.er1 >conftest.err
31212 rm -f conftest.er1
31213 cat conftest.err >&5
31214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31215 (exit $ac_status); } &&
31216 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31218 (eval $ac_try) 2>&5
31219 ac_status=$?
31220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31221 (exit $ac_status); }; } &&
31222 { ac_try='test -s conftest$ac_exeext'
31223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31224 (eval $ac_try) 2>&5
31225 ac_status=$?
31226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31227 (exit $ac_status); }; }; then
31228 ac_cv_lib_ICE_IceConnectionNumber=yes
31229 else
31230 echo "$as_me: failed program was:" >&5
31231 sed 's/^/| /' conftest.$ac_ext >&5
31232
31233 ac_cv_lib_ICE_IceConnectionNumber=no
31234 fi
31235 rm -f conftest.err conftest.$ac_objext \
31236 conftest$ac_exeext conftest.$ac_ext
31237 LIBS=$ac_check_lib_save_LIBS
31238 fi
31239 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31240 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
31241 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31242 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31243 fi
31244
31245 LDFLAGS=$ac_save_LDFLAGS
31246
31247 fi
31248
31249
31250 if test "$no_x" = "yes"; then
31251 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31252 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31253 { (exit 1); exit 1; }; }
31254 fi
31255
31256 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31257 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31258 AFMINSTALL=afminstall
31259 COMPILED_X_PROGRAM=0
31260
31261 fi
31262
31263 if test "$wxUSE_X11" = 1; then
31264 if test "$wxUSE_NANOX" = "yes"; then
31265 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31266 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
31267 if test "x$MICROWIN" = x ; then
31268 echo "$as_me:$LINENO: result: not found" >&5
31269 echo "${ECHO_T}not found" >&6
31270 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31271 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31272 { (exit 1); exit 1; }; }
31273 else
31274 echo "$as_me:$LINENO: result: $MICROWIN" >&5
31275 echo "${ECHO_T}$MICROWIN" >&6
31276 cat >>confdefs.h <<\_ACEOF
31277 #define wxUSE_NANOX 1
31278 _ACEOF
31279
31280 fi
31281 fi
31282
31283 if test "$wxUSE_UNICODE" = "yes"; then
31284
31285
31286 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31287 if test -n "$ac_tool_prefix"; then
31288 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31289 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31290 echo "$as_me:$LINENO: checking for $ac_word" >&5
31291 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31292 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31293 echo $ECHO_N "(cached) $ECHO_C" >&6
31294 else
31295 case $PKG_CONFIG in
31296 [\\/]* | ?:[\\/]*)
31297 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31298 ;;
31299 *)
31300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31301 for as_dir in $PATH
31302 do
31303 IFS=$as_save_IFS
31304 test -z "$as_dir" && as_dir=.
31305 for ac_exec_ext in '' $ac_executable_extensions; do
31306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31307 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31309 break 2
31310 fi
31311 done
31312 done
31313
31314 ;;
31315 esac
31316 fi
31317 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31318
31319 if test -n "$PKG_CONFIG"; then
31320 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31321 echo "${ECHO_T}$PKG_CONFIG" >&6
31322 else
31323 echo "$as_me:$LINENO: result: no" >&5
31324 echo "${ECHO_T}no" >&6
31325 fi
31326
31327 fi
31328 if test -z "$ac_cv_path_PKG_CONFIG"; then
31329 ac_pt_PKG_CONFIG=$PKG_CONFIG
31330 # Extract the first word of "pkg-config", so it can be a program name with args.
31331 set dummy pkg-config; ac_word=$2
31332 echo "$as_me:$LINENO: checking for $ac_word" >&5
31333 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
31334 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31335 echo $ECHO_N "(cached) $ECHO_C" >&6
31336 else
31337 case $ac_pt_PKG_CONFIG in
31338 [\\/]* | ?:[\\/]*)
31339 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31340 ;;
31341 *)
31342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31343 for as_dir in $PATH
31344 do
31345 IFS=$as_save_IFS
31346 test -z "$as_dir" && as_dir=.
31347 for ac_exec_ext in '' $ac_executable_extensions; do
31348 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
31349 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31350 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31351 break 2
31352 fi
31353 done
31354 done
31355
31356 ;;
31357 esac
31358 fi
31359 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31360
31361 if test -n "$ac_pt_PKG_CONFIG"; then
31362 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31363 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
31364 else
31365 echo "$as_me:$LINENO: result: no" >&5
31366 echo "${ECHO_T}no" >&6
31367 fi
31368
31369 PKG_CONFIG=$ac_pt_PKG_CONFIG
31370 else
31371 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31372 fi
31373
31374 fi
31375 if test -n "$PKG_CONFIG"; then
31376 _pkg_min_version=0.9.0
31377 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31378 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
31379 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31380 echo "$as_me:$LINENO: result: yes" >&5
31381 echo "${ECHO_T}yes" >&6
31382 else
31383 echo "$as_me:$LINENO: result: no" >&5
31384 echo "${ECHO_T}no" >&6
31385 PKG_CONFIG=""
31386 fi
31387
31388 fi
31389
31390
31391 pkg_failed=no
31392 echo "$as_me:$LINENO: checking for PANGOX" >&5
31393 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
31394
31395 if test -n "$PKG_CONFIG"; then
31396 if test -n "$PANGOX_CFLAGS"; then
31397 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31398 else
31399 if test -n "$PKG_CONFIG" && \
31400 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31401 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31402 ac_status=$?
31403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31404 (exit $ac_status); }; then
31405 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31406 else
31407 pkg_failed=yes
31408 fi
31409 fi
31410 else
31411 pkg_failed=untried
31412 fi
31413 if test -n "$PKG_CONFIG"; then
31414 if test -n "$PANGOX_LIBS"; then
31415 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31416 else
31417 if test -n "$PKG_CONFIG" && \
31418 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31419 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31420 ac_status=$?
31421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31422 (exit $ac_status); }; then
31423 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31424 else
31425 pkg_failed=yes
31426 fi
31427 fi
31428 else
31429 pkg_failed=untried
31430 fi
31431
31432
31433
31434 if test $pkg_failed = yes; then
31435
31436 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31437 _pkg_short_errors_supported=yes
31438 else
31439 _pkg_short_errors_supported=no
31440 fi
31441 if test $_pkg_short_errors_supported = yes; then
31442 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31443 else
31444 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31445 fi
31446 # Put the nasty error message in config.log where it belongs
31447 echo "$PANGOX_PKG_ERRORS" >&5
31448
31449
31450 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31451 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31452 { (exit 1); exit 1; }; }
31453
31454
31455 elif test $pkg_failed = untried; then
31456
31457 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31458 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31459 { (exit 1); exit 1; }; }
31460
31461
31462 else
31463 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31464 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31465 echo "$as_me:$LINENO: result: yes" >&5
31466 echo "${ECHO_T}yes" >&6
31467
31468 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31469 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31470
31471 fi
31472
31473 pkg_failed=no
31474 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31475 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
31476
31477 if test -n "$PKG_CONFIG"; then
31478 if test -n "$PANGOFT2_CFLAGS"; then
31479 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31480 else
31481 if test -n "$PKG_CONFIG" && \
31482 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31483 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31484 ac_status=$?
31485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31486 (exit $ac_status); }; then
31487 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31488 else
31489 pkg_failed=yes
31490 fi
31491 fi
31492 else
31493 pkg_failed=untried
31494 fi
31495 if test -n "$PKG_CONFIG"; then
31496 if test -n "$PANGOFT2_LIBS"; then
31497 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31498 else
31499 if test -n "$PKG_CONFIG" && \
31500 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31501 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31502 ac_status=$?
31503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31504 (exit $ac_status); }; then
31505 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31506 else
31507 pkg_failed=yes
31508 fi
31509 fi
31510 else
31511 pkg_failed=untried
31512 fi
31513
31514
31515
31516 if test $pkg_failed = yes; then
31517
31518 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31519 _pkg_short_errors_supported=yes
31520 else
31521 _pkg_short_errors_supported=no
31522 fi
31523 if test $_pkg_short_errors_supported = yes; then
31524 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31525 else
31526 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31527 fi
31528 # Put the nasty error message in config.log where it belongs
31529 echo "$PANGOFT2_PKG_ERRORS" >&5
31530
31531
31532 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31533 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31534 wxUSE_PRINTING_ARCHITECTURE="no"
31535
31536
31537 elif test $pkg_failed = untried; then
31538
31539 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31540 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31541 wxUSE_PRINTING_ARCHITECTURE="no"
31542
31543
31544 else
31545 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31546 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31547 echo "$as_me:$LINENO: result: yes" >&5
31548 echo "${ECHO_T}yes" >&6
31549
31550 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31551 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31552
31553 fi
31554
31555 pkg_failed=no
31556 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31557 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
31558
31559 if test -n "$PKG_CONFIG"; then
31560 if test -n "$PANGOXFT_CFLAGS"; then
31561 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31562 else
31563 if test -n "$PKG_CONFIG" && \
31564 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31565 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31566 ac_status=$?
31567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31568 (exit $ac_status); }; then
31569 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31570 else
31571 pkg_failed=yes
31572 fi
31573 fi
31574 else
31575 pkg_failed=untried
31576 fi
31577 if test -n "$PKG_CONFIG"; then
31578 if test -n "$PANGOXFT_LIBS"; then
31579 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31580 else
31581 if test -n "$PKG_CONFIG" && \
31582 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31583 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31584 ac_status=$?
31585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31586 (exit $ac_status); }; then
31587 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31588 else
31589 pkg_failed=yes
31590 fi
31591 fi
31592 else
31593 pkg_failed=untried
31594 fi
31595
31596
31597
31598 if test $pkg_failed = yes; then
31599
31600 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31601 _pkg_short_errors_supported=yes
31602 else
31603 _pkg_short_errors_supported=no
31604 fi
31605 if test $_pkg_short_errors_supported = yes; then
31606 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31607 else
31608 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31609 fi
31610 # Put the nasty error message in config.log where it belongs
31611 echo "$PANGOXFT_PKG_ERRORS" >&5
31612
31613
31614 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31615 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31616
31617
31618 elif test $pkg_failed = untried; then
31619
31620 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31621 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31622
31623
31624 else
31625 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31626 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31627 echo "$as_me:$LINENO: result: yes" >&5
31628 echo "${ECHO_T}yes" >&6
31629
31630 cat >>confdefs.h <<\_ACEOF
31631 #define HAVE_PANGO_XFT 1
31632 _ACEOF
31633
31634 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31635 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31636
31637 fi
31638 save_CXXFLAGS="$CXXFLAGS"
31639 save_LIBS="$LIBS"
31640 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31641 LIBS="$LIBS $PANGOX_LIBS"
31642
31643 for ac_func in pango_font_family_is_monospace
31644 do
31645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31646 echo "$as_me:$LINENO: checking for $ac_func" >&5
31647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31648 if eval "test \"\${$as_ac_var+set}\" = set"; then
31649 echo $ECHO_N "(cached) $ECHO_C" >&6
31650 else
31651 cat >conftest.$ac_ext <<_ACEOF
31652 /* confdefs.h. */
31653 _ACEOF
31654 cat confdefs.h >>conftest.$ac_ext
31655 cat >>conftest.$ac_ext <<_ACEOF
31656 /* end confdefs.h. */
31657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31659 #define $ac_func innocuous_$ac_func
31660
31661 /* System header to define __stub macros and hopefully few prototypes,
31662 which can conflict with char $ac_func (); below.
31663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31664 <limits.h> exists even on freestanding compilers. */
31665
31666 #ifdef __STDC__
31667 # include <limits.h>
31668 #else
31669 # include <assert.h>
31670 #endif
31671
31672 #undef $ac_func
31673
31674 /* Override any gcc2 internal prototype to avoid an error. */
31675 #ifdef __cplusplus
31676 extern "C"
31677 {
31678 #endif
31679 /* We use char because int might match the return type of a gcc2
31680 builtin and then its argument prototype would still apply. */
31681 char $ac_func ();
31682 /* The GNU C library defines this for functions which it implements
31683 to always fail with ENOSYS. Some functions are actually named
31684 something starting with __ and the normal name is an alias. */
31685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31686 choke me
31687 #else
31688 char (*f) () = $ac_func;
31689 #endif
31690 #ifdef __cplusplus
31691 }
31692 #endif
31693
31694 int
31695 main ()
31696 {
31697 return f != $ac_func;
31698 ;
31699 return 0;
31700 }
31701 _ACEOF
31702 rm -f conftest.$ac_objext conftest$ac_exeext
31703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31704 (eval $ac_link) 2>conftest.er1
31705 ac_status=$?
31706 grep -v '^ *+' conftest.er1 >conftest.err
31707 rm -f conftest.er1
31708 cat conftest.err >&5
31709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31710 (exit $ac_status); } &&
31711 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31713 (eval $ac_try) 2>&5
31714 ac_status=$?
31715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31716 (exit $ac_status); }; } &&
31717 { ac_try='test -s conftest$ac_exeext'
31718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31719 (eval $ac_try) 2>&5
31720 ac_status=$?
31721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31722 (exit $ac_status); }; }; then
31723 eval "$as_ac_var=yes"
31724 else
31725 echo "$as_me: failed program was:" >&5
31726 sed 's/^/| /' conftest.$ac_ext >&5
31727
31728 eval "$as_ac_var=no"
31729 fi
31730 rm -f conftest.err conftest.$ac_objext \
31731 conftest$ac_exeext conftest.$ac_ext
31732 fi
31733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31735 if test `eval echo '${'$as_ac_var'}'` = yes; then
31736 cat >>confdefs.h <<_ACEOF
31737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31738 _ACEOF
31739
31740 fi
31741 done
31742
31743 CXXFLAGS="$save_CXXFLAGS"
31744 LIBS="$save_LIBS"
31745 fi
31746
31747 wxUSE_UNIVERSAL="yes"
31748
31749 if test "$wxUSE_NANOX" = "yes"; then
31750 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31751 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"
31752 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31753 else
31754 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31755 fi
31756
31757 TOOLKIT=X11
31758 GUIDIST=X11_DIST
31759 fi
31760
31761 if test "$wxUSE_MOTIF" = 1; then
31762 if test "$wxUSE_UNICODE" = "yes"; then
31763 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31764 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31765 { (exit 1); exit 1; }; }
31766 fi
31767
31768 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31769 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31770
31771 ac_find_includes=
31772 for ac_dir in $SEARCH_INCLUDE /usr/include;
31773 do
31774 if test -f "$ac_dir/Xm/Xm.h"; then
31775 ac_find_includes=$ac_dir
31776 break
31777 fi
31778 done
31779
31780 if test "$ac_find_includes" != "" ; then
31781 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31782 echo "${ECHO_T}found in $ac_find_includes" >&6
31783
31784 if test "x$ac_find_includes" = "x/usr/include"; then
31785 ac_path_to_include=""
31786 else
31787 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31788 result=$?
31789 if test $result = 0; then
31790 ac_path_to_include=""
31791 else
31792 ac_path_to_include=" -I$ac_find_includes"
31793 fi
31794 fi
31795
31796 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31797 else
31798 save_CXXFLAGS=$CXXFLAGS
31799 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31800
31801 cat >conftest.$ac_ext <<_ACEOF
31802 /* confdefs.h. */
31803 _ACEOF
31804 cat confdefs.h >>conftest.$ac_ext
31805 cat >>conftest.$ac_ext <<_ACEOF
31806 /* end confdefs.h. */
31807
31808 #include <Xm/Xm.h>
31809
31810 int
31811 main ()
31812 {
31813
31814 int version;
31815 version = xmUseVersion;
31816
31817 ;
31818 return 0;
31819 }
31820 _ACEOF
31821 rm -f conftest.$ac_objext
31822 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31823 (eval $ac_compile) 2>conftest.er1
31824 ac_status=$?
31825 grep -v '^ *+' conftest.er1 >conftest.err
31826 rm -f conftest.er1
31827 cat conftest.err >&5
31828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31829 (exit $ac_status); } &&
31830 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31832 (eval $ac_try) 2>&5
31833 ac_status=$?
31834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31835 (exit $ac_status); }; } &&
31836 { ac_try='test -s conftest.$ac_objext'
31837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31838 (eval $ac_try) 2>&5
31839 ac_status=$?
31840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31841 (exit $ac_status); }; }; then
31842
31843 echo "$as_me:$LINENO: result: found in default search path" >&5
31844 echo "${ECHO_T}found in default search path" >&6
31845 COMPILED_X_PROGRAM=1
31846
31847 else
31848 echo "$as_me: failed program was:" >&5
31849 sed 's/^/| /' conftest.$ac_ext >&5
31850
31851
31852 echo "$as_me:$LINENO: result: no" >&5
31853 echo "${ECHO_T}no" >&6
31854 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31855 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31856 { (exit 1); exit 1; }; }
31857
31858
31859 fi
31860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31861
31862 CXXFLAGS=$save_CXXFLAGS
31863 fi
31864
31865
31866 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31867 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31868
31869 ac_find_libraries=
31870 for ac_dir in $SEARCH_LIB;
31871 do
31872 for ac_extension in a so sl dylib dll.a; do
31873 if test -f "$ac_dir/libXm.$ac_extension"; then
31874 ac_find_libraries=$ac_dir
31875 break 2
31876 fi
31877 done
31878 done
31879
31880
31881 if test "x$ac_find_libraries" != "x" ; then
31882 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31883 echo "${ECHO_T}found in $ac_find_libraries" >&6
31884
31885
31886 if test "$ac_find_libraries" = "default location"; then
31887 ac_path_to_link=""
31888 else
31889 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31890 result=$?
31891 if test $result = 0; then
31892 ac_path_to_link=""
31893 else
31894 ac_path_to_link=" -L$ac_find_libraries"
31895 fi
31896 fi
31897
31898 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31899 else
31900 save_CXXFLAGS=$CXXFLAGS
31901 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31902 save_LIBS="$LIBS"
31903 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31904
31905 cat >conftest.$ac_ext <<_ACEOF
31906 /* confdefs.h. */
31907 _ACEOF
31908 cat confdefs.h >>conftest.$ac_ext
31909 cat >>conftest.$ac_ext <<_ACEOF
31910 /* end confdefs.h. */
31911
31912 #include <Xm/Xm.h>
31913
31914 int
31915 main ()
31916 {
31917
31918 int version;
31919 version = xmUseVersion;
31920
31921 ;
31922 return 0;
31923 }
31924 _ACEOF
31925 rm -f conftest.$ac_objext conftest$ac_exeext
31926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31927 (eval $ac_link) 2>conftest.er1
31928 ac_status=$?
31929 grep -v '^ *+' conftest.er1 >conftest.err
31930 rm -f conftest.er1
31931 cat conftest.err >&5
31932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31933 (exit $ac_status); } &&
31934 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31936 (eval $ac_try) 2>&5
31937 ac_status=$?
31938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31939 (exit $ac_status); }; } &&
31940 { ac_try='test -s conftest$ac_exeext'
31941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31942 (eval $ac_try) 2>&5
31943 ac_status=$?
31944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31945 (exit $ac_status); }; }; then
31946
31947 echo "$as_me:$LINENO: result: found in default search path" >&5
31948 echo "${ECHO_T}found in default search path" >&6
31949 COMPILED_X_PROGRAM=1
31950
31951 else
31952 echo "$as_me: failed program was:" >&5
31953 sed 's/^/| /' conftest.$ac_ext >&5
31954
31955
31956 echo "$as_me:$LINENO: result: no" >&5
31957 echo "${ECHO_T}no" >&6
31958 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31959 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31960 { (exit 1); exit 1; }; }
31961
31962
31963 fi
31964 rm -f conftest.err conftest.$ac_objext \
31965 conftest$ac_exeext conftest.$ac_ext
31966
31967 CXXFLAGS=$save_CXXFLAGS
31968 LIBS="$save_LIBS"
31969 fi
31970
31971 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31972 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31973 libp_link=""
31974 libsm_ice_link=""
31975 libs_found=0
31976 for libp in "" " -lXp"; do
31977 if test "$libs_found" = "0"; then
31978 for libsm_ice in "" " -lSM -lICE"; do
31979 if test "$libs_found" = "0"; then
31980 save_LIBS="$LIBS"
31981 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31982 save_CXXFLAGS=$CXXFLAGS
31983 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31984
31985 cat >conftest.$ac_ext <<_ACEOF
31986 /* confdefs.h. */
31987 _ACEOF
31988 cat confdefs.h >>conftest.$ac_ext
31989 cat >>conftest.$ac_ext <<_ACEOF
31990 /* end confdefs.h. */
31991
31992 #include <Xm/Xm.h>
31993 #include <Xm/List.h>
31994
31995 int
31996 main ()
31997 {
31998
31999 XmString string = NULL;
32000 Widget w = NULL;
32001 int position = 0;
32002 XmListAddItem(w, string, position);
32003
32004 ;
32005 return 0;
32006 }
32007 _ACEOF
32008 rm -f conftest.$ac_objext conftest$ac_exeext
32009 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32010 (eval $ac_link) 2>conftest.er1
32011 ac_status=$?
32012 grep -v '^ *+' conftest.er1 >conftest.err
32013 rm -f conftest.er1
32014 cat conftest.err >&5
32015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32016 (exit $ac_status); } &&
32017 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32019 (eval $ac_try) 2>&5
32020 ac_status=$?
32021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32022 (exit $ac_status); }; } &&
32023 { ac_try='test -s conftest$ac_exeext'
32024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32025 (eval $ac_try) 2>&5
32026 ac_status=$?
32027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32028 (exit $ac_status); }; }; then
32029
32030 libp_link="$libp"
32031 libsm_ice_link="$libsm_ice"
32032 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32033 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
32034 libs_found=1
32035
32036 else
32037 echo "$as_me: failed program was:" >&5
32038 sed 's/^/| /' conftest.$ac_ext >&5
32039
32040
32041
32042 fi
32043 rm -f conftest.err conftest.$ac_objext \
32044 conftest$ac_exeext conftest.$ac_ext
32045
32046 LIBS="$save_LIBS"
32047 CXXFLAGS=$save_CXXFLAGS
32048 fi
32049 done
32050 fi
32051 done
32052
32053 if test "$libs_found" = "0"; then
32054 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32055 echo "${ECHO_T}can't find the right libraries" >&6
32056 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32057 echo "$as_me: error: can't link a simple motif program" >&2;}
32058 { (exit 1); exit 1; }; }
32059 fi
32060
32061 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32062 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
32063 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32064 echo $ECHO_N "(cached) $ECHO_C" >&6
32065 else
32066 ac_check_lib_save_LIBS=$LIBS
32067 LIBS="-lSgm $LIBS"
32068 cat >conftest.$ac_ext <<_ACEOF
32069 /* confdefs.h. */
32070 _ACEOF
32071 cat confdefs.h >>conftest.$ac_ext
32072 cat >>conftest.$ac_ext <<_ACEOF
32073 /* end confdefs.h. */
32074
32075 /* Override any gcc2 internal prototype to avoid an error. */
32076 #ifdef __cplusplus
32077 extern "C"
32078 #endif
32079 /* We use char because int might match the return type of a gcc2
32080 builtin and then its argument prototype would still apply. */
32081 char SgCreateList ();
32082 int
32083 main ()
32084 {
32085 SgCreateList ();
32086 ;
32087 return 0;
32088 }
32089 _ACEOF
32090 rm -f conftest.$ac_objext conftest$ac_exeext
32091 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32092 (eval $ac_link) 2>conftest.er1
32093 ac_status=$?
32094 grep -v '^ *+' conftest.er1 >conftest.err
32095 rm -f conftest.er1
32096 cat conftest.err >&5
32097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32098 (exit $ac_status); } &&
32099 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32101 (eval $ac_try) 2>&5
32102 ac_status=$?
32103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32104 (exit $ac_status); }; } &&
32105 { ac_try='test -s conftest$ac_exeext'
32106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32107 (eval $ac_try) 2>&5
32108 ac_status=$?
32109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32110 (exit $ac_status); }; }; then
32111 ac_cv_lib_Sgm_SgCreateList=yes
32112 else
32113 echo "$as_me: failed program was:" >&5
32114 sed 's/^/| /' conftest.$ac_ext >&5
32115
32116 ac_cv_lib_Sgm_SgCreateList=no
32117 fi
32118 rm -f conftest.err conftest.$ac_objext \
32119 conftest$ac_exeext conftest.$ac_ext
32120 LIBS=$ac_check_lib_save_LIBS
32121 fi
32122 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32123 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
32124 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32125 libsgm_link=" -lSgm"
32126 fi
32127
32128
32129 save_CXXFLAGS=$CXXFLAGS
32130 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
32131
32132 echo "$as_me:$LINENO: checking for Motif 2" >&5
32133 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
32134 if test "${wx_cv_lib_motif2+set}" = set; then
32135 echo $ECHO_N "(cached) $ECHO_C" >&6
32136 else
32137 cat >conftest.$ac_ext <<_ACEOF
32138 /* confdefs.h. */
32139 _ACEOF
32140 cat confdefs.h >>conftest.$ac_ext
32141 cat >>conftest.$ac_ext <<_ACEOF
32142 /* end confdefs.h. */
32143
32144 #include <Xm/Xm.h>
32145
32146 int
32147 main ()
32148 {
32149
32150 #if XmVersion < 2000
32151 Not Motif 2
32152 #endif
32153
32154 ;
32155 return 0;
32156 }
32157 _ACEOF
32158 rm -f conftest.$ac_objext
32159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32160 (eval $ac_compile) 2>conftest.er1
32161 ac_status=$?
32162 grep -v '^ *+' conftest.er1 >conftest.err
32163 rm -f conftest.er1
32164 cat conftest.err >&5
32165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32166 (exit $ac_status); } &&
32167 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32169 (eval $ac_try) 2>&5
32170 ac_status=$?
32171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32172 (exit $ac_status); }; } &&
32173 { ac_try='test -s conftest.$ac_objext'
32174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32175 (eval $ac_try) 2>&5
32176 ac_status=$?
32177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32178 (exit $ac_status); }; }; then
32179 wx_cv_lib_motif2="yes"
32180 else
32181 echo "$as_me: failed program was:" >&5
32182 sed 's/^/| /' conftest.$ac_ext >&5
32183
32184 wx_cv_lib_motif2="no"
32185 fi
32186 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32187 fi
32188 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32189 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
32190 if test "$wx_cv_lib_motif2" = "yes"; then
32191 cat >>confdefs.h <<\_ACEOF
32192 #define __WXMOTIF20__ 1
32193 _ACEOF
32194
32195 else
32196 cat >>confdefs.h <<\_ACEOF
32197 #define __WXMOTIF20__ 0
32198 _ACEOF
32199
32200 fi
32201
32202 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32203 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
32204 if test "${wx_cv_lib_lesstif+set}" = set; then
32205 echo $ECHO_N "(cached) $ECHO_C" >&6
32206 else
32207 cat >conftest.$ac_ext <<_ACEOF
32208 /* confdefs.h. */
32209 _ACEOF
32210 cat confdefs.h >>conftest.$ac_ext
32211 cat >>conftest.$ac_ext <<_ACEOF
32212 /* end confdefs.h. */
32213
32214 #include <Xm/Xm.h>
32215
32216 int
32217 main ()
32218 {
32219
32220 #if !defined(LesstifVersion) || LesstifVersion <= 0
32221 Not Lesstif
32222 #endif
32223
32224 ;
32225 return 0;
32226 }
32227 _ACEOF
32228 rm -f conftest.$ac_objext
32229 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32230 (eval $ac_compile) 2>conftest.er1
32231 ac_status=$?
32232 grep -v '^ *+' conftest.er1 >conftest.err
32233 rm -f conftest.er1
32234 cat conftest.err >&5
32235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32236 (exit $ac_status); } &&
32237 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32239 (eval $ac_try) 2>&5
32240 ac_status=$?
32241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32242 (exit $ac_status); }; } &&
32243 { ac_try='test -s conftest.$ac_objext'
32244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32245 (eval $ac_try) 2>&5
32246 ac_status=$?
32247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32248 (exit $ac_status); }; }; then
32249 wx_cv_lib_lesstif="yes"
32250 else
32251 echo "$as_me: failed program was:" >&5
32252 sed 's/^/| /' conftest.$ac_ext >&5
32253
32254 wx_cv_lib_lesstif="no"
32255 fi
32256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32257
32258 fi
32259 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32260 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
32261 if test "$wx_cv_lib_lesstif" = "yes"; then
32262 cat >>confdefs.h <<\_ACEOF
32263 #define __WXLESSTIF__ 1
32264 _ACEOF
32265
32266 else
32267 cat >>confdefs.h <<\_ACEOF
32268 #define __WXLESSTIF__ 0
32269 _ACEOF
32270
32271 fi
32272
32273 CXXFLAGS=$save_CXXFLAGS
32274
32275 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32276 TOOLKIT=MOTIF
32277 GUIDIST=MOTIF_DIST
32278 fi
32279
32280 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32281 if test "$wxUSE_LIBXPM" = "sys"; then
32282 echo "$as_me:$LINENO: checking for Xpm library" >&5
32283 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
32284
32285 ac_find_libraries=
32286 for ac_dir in $SEARCH_LIB;
32287 do
32288 for ac_extension in a so sl dylib dll.a; do
32289 if test -f "$ac_dir/libXpm.$ac_extension"; then
32290 ac_find_libraries=$ac_dir
32291 break 2
32292 fi
32293 done
32294 done
32295
32296 if test "$ac_find_libraries" != "" ; then
32297
32298 if test "$ac_find_libraries" = "default location"; then
32299 ac_path_to_link=""
32300 else
32301 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32302 result=$?
32303 if test $result = 0; then
32304 ac_path_to_link=""
32305 else
32306 ac_path_to_link=" -L$ac_find_libraries"
32307 fi
32308 fi
32309
32310 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32311 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32312 echo "${ECHO_T}found in $ac_find_libraries" >&6
32313
32314 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32315 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
32316 if test "${wx_cv_x11_xpm_h+set}" = set; then
32317 echo $ECHO_N "(cached) $ECHO_C" >&6
32318 else
32319
32320 save_CXXFLAGS=$CXXFLAGS
32321 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
32322
32323 cat >conftest.$ac_ext <<_ACEOF
32324 /* confdefs.h. */
32325 _ACEOF
32326 cat confdefs.h >>conftest.$ac_ext
32327 cat >>conftest.$ac_ext <<_ACEOF
32328 /* end confdefs.h. */
32329
32330 #include <X11/xpm.h>
32331
32332 int
32333 main ()
32334 {
32335
32336 int version;
32337 version = XpmLibraryVersion();
32338
32339 ;
32340 return 0;
32341 }
32342 _ACEOF
32343 rm -f conftest.$ac_objext
32344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32345 (eval $ac_compile) 2>conftest.er1
32346 ac_status=$?
32347 grep -v '^ *+' conftest.er1 >conftest.err
32348 rm -f conftest.er1
32349 cat conftest.err >&5
32350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32351 (exit $ac_status); } &&
32352 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32354 (eval $ac_try) 2>&5
32355 ac_status=$?
32356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32357 (exit $ac_status); }; } &&
32358 { ac_try='test -s conftest.$ac_objext'
32359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32360 (eval $ac_try) 2>&5
32361 ac_status=$?
32362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32363 (exit $ac_status); }; }; then
32364 wx_cv_x11_xpm_h=yes
32365 else
32366 echo "$as_me: failed program was:" >&5
32367 sed 's/^/| /' conftest.$ac_ext >&5
32368
32369 wx_cv_x11_xpm_h=no
32370
32371 fi
32372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32373
32374 CXXFLAGS=$save_CXXFLAGS
32375
32376
32377 fi
32378 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32379 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
32380
32381 if test $wx_cv_x11_xpm_h = "yes"; then
32382 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32383 cat >>confdefs.h <<\_ACEOF
32384 #define wxHAVE_LIB_XPM 1
32385 _ACEOF
32386
32387 else
32388 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32389 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32390 fi
32391 fi
32392
32393 fi
32394
32395 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32396 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
32397 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32398 echo $ECHO_N "(cached) $ECHO_C" >&6
32399 else
32400 ac_check_lib_save_LIBS=$LIBS
32401 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32402 cat >conftest.$ac_ext <<_ACEOF
32403 /* confdefs.h. */
32404 _ACEOF
32405 cat confdefs.h >>conftest.$ac_ext
32406 cat >>conftest.$ac_ext <<_ACEOF
32407 /* end confdefs.h. */
32408
32409 /* Override any gcc2 internal prototype to avoid an error. */
32410 #ifdef __cplusplus
32411 extern "C"
32412 #endif
32413 /* We use char because int might match the return type of a gcc2
32414 builtin and then its argument prototype would still apply. */
32415 char XShapeQueryExtension ();
32416 int
32417 main ()
32418 {
32419 XShapeQueryExtension ();
32420 ;
32421 return 0;
32422 }
32423 _ACEOF
32424 rm -f conftest.$ac_objext conftest$ac_exeext
32425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32426 (eval $ac_link) 2>conftest.er1
32427 ac_status=$?
32428 grep -v '^ *+' conftest.er1 >conftest.err
32429 rm -f conftest.er1
32430 cat conftest.err >&5
32431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32432 (exit $ac_status); } &&
32433 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32435 (eval $ac_try) 2>&5
32436 ac_status=$?
32437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32438 (exit $ac_status); }; } &&
32439 { ac_try='test -s conftest$ac_exeext'
32440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32441 (eval $ac_try) 2>&5
32442 ac_status=$?
32443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32444 (exit $ac_status); }; }; then
32445 ac_cv_lib_Xext_XShapeQueryExtension=yes
32446 else
32447 echo "$as_me: failed program was:" >&5
32448 sed 's/^/| /' conftest.$ac_ext >&5
32449
32450 ac_cv_lib_Xext_XShapeQueryExtension=no
32451 fi
32452 rm -f conftest.err conftest.$ac_objext \
32453 conftest$ac_exeext conftest.$ac_ext
32454 LIBS=$ac_check_lib_save_LIBS
32455 fi
32456 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32457 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
32458 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32459
32460 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32461 wxHAVE_XEXT_LIB=1
32462
32463 fi
32464
32465
32466 if test "$wxHAVE_XEXT_LIB" = 1; then
32467 save_CXXFLAGS="$CXXFLAGS"
32468 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
32469
32470 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32471 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
32472 cat >conftest.$ac_ext <<_ACEOF
32473 /* confdefs.h. */
32474 _ACEOF
32475 cat confdefs.h >>conftest.$ac_ext
32476 cat >>conftest.$ac_ext <<_ACEOF
32477 /* end confdefs.h. */
32478
32479 #include <X11/Xlib.h>
32480 #include <X11/extensions/shape.h>
32481
32482 int
32483 main ()
32484 {
32485
32486 int dummy1, dummy2;
32487 XShapeQueryExtension((Display*)NULL,
32488 (int*)NULL, (int*)NULL);
32489
32490 ;
32491 return 0;
32492 }
32493 _ACEOF
32494 rm -f conftest.$ac_objext
32495 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32496 (eval $ac_compile) 2>conftest.er1
32497 ac_status=$?
32498 grep -v '^ *+' conftest.er1 >conftest.err
32499 rm -f conftest.er1
32500 cat conftest.err >&5
32501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32502 (exit $ac_status); } &&
32503 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
32509 { ac_try='test -s conftest.$ac_objext'
32510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32511 (eval $ac_try) 2>&5
32512 ac_status=$?
32513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32514 (exit $ac_status); }; }; then
32515
32516 cat >>confdefs.h <<\_ACEOF
32517 #define HAVE_XSHAPE 1
32518 _ACEOF
32519
32520 echo "$as_me:$LINENO: result: found" >&5
32521 echo "${ECHO_T}found" >&6
32522
32523 else
32524 echo "$as_me: failed program was:" >&5
32525 sed 's/^/| /' conftest.$ac_ext >&5
32526
32527
32528 echo "$as_me:$LINENO: result: not found" >&5
32529 echo "${ECHO_T}not found" >&6
32530
32531 fi
32532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32533 CXXFLAGS="$save_CXXFLAGS"
32534
32535 fi
32536 fi
32537
32538 if test "$wxUSE_MAC" = 1; then
32539 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32540 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
32541 if test "$GCC" = yes; then
32542 echo "$as_me:$LINENO: result: gcc" >&5
32543 echo "${ECHO_T}gcc" >&6
32544 CPPFLAGS_PASCAL="-fpascal-strings"
32545 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32546 echo "$as_me:$LINENO: result: xlc" >&5
32547 echo "${ECHO_T}xlc" >&6
32548 CPPFLAGS_PASCAL="-qmacpstr"
32549 else
32550 echo "$as_me:$LINENO: result: none" >&5
32551 echo "${ECHO_T}none" >&6
32552 fi
32553
32554 if test "x$wxUSE_UNIX" = "xyes"; then
32555 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32556 else
32557 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32558 fi
32559
32560 TOOLKIT=MAC
32561 GUIDIST=MACX_DIST
32562 WXBASEPORT="_carbon"
32563 fi
32564
32565 if test "$wxUSE_COCOA" = 1; then
32566 TOOLKIT=COCOA
32567 GUIDIST=COCOA_DIST
32568 fi
32569
32570 if test "$wxUSE_PM" = 1; then
32571 TOOLKIT=PM
32572 GUIDIST=PM_DIST
32573 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32574 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
32575 if test "${wx_cv_spbcdata+set}" = set; then
32576 echo $ECHO_N "(cached) $ECHO_C" >&6
32577 else
32578
32579 cat >conftest.$ac_ext <<_ACEOF
32580 /* confdefs.h. */
32581 _ACEOF
32582 cat confdefs.h >>conftest.$ac_ext
32583 cat >>conftest.$ac_ext <<_ACEOF
32584 /* end confdefs.h. */
32585
32586 #define INCL_PM
32587 #include <os2.h>
32588
32589 int
32590 main ()
32591 {
32592
32593 SPBCDATA test;
32594
32595 ;
32596 return 0;
32597 }
32598 _ACEOF
32599 rm -f conftest.$ac_objext
32600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32601 (eval $ac_compile) 2>conftest.er1
32602 ac_status=$?
32603 grep -v '^ *+' conftest.er1 >conftest.err
32604 rm -f conftest.er1
32605 cat conftest.err >&5
32606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32607 (exit $ac_status); } &&
32608 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32610 (eval $ac_try) 2>&5
32611 ac_status=$?
32612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32613 (exit $ac_status); }; } &&
32614 { ac_try='test -s conftest.$ac_objext'
32615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32616 (eval $ac_try) 2>&5
32617 ac_status=$?
32618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32619 (exit $ac_status); }; }; then
32620 wx_cv_spbcdata=yes
32621 else
32622 echo "$as_me: failed program was:" >&5
32623 sed 's/^/| /' conftest.$ac_ext >&5
32624
32625 wx_cv_spbcdata=no
32626
32627 fi
32628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32629
32630
32631 fi
32632 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32633 echo "${ECHO_T}$wx_cv_spbcdata" >&6
32634
32635 if test $wx_cv_spbcdata = "yes"; then
32636 cat >>confdefs.h <<\_ACEOF
32637 #define HAVE_SPBCDATA 1
32638 _ACEOF
32639
32640 fi
32641 fi
32642
32643 if test "$TOOLKIT" = "PM" ; then
32644 TOOLKIT_DIR="os2"
32645 else
32646 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
32647 fi
32648
32649 if test "$wxUSE_UNIVERSAL" = "yes"; then
32650 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32651 WIDGET_SET=univ
32652 fi
32653
32654 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32655 DISTDIR="wx\$(TOOLKIT)"
32656 else
32657 USE_GUI=0
32658
32659 TOOLKIT_DIR="base"
32660
32661 if test "$USE_WIN32" = 1 ; then
32662 TOOLKIT="MSW"
32663 fi
32664
32665 GUIDIST="BASE_DIST"
32666 DISTDIR="wxBase"
32667 fi
32668
32669
32670 if test "$wxUSE_GUI" = "yes"; then
32671 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32672
32673 for ac_header in X11/Xlib.h
32674 do
32675 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32676 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32677 echo "$as_me:$LINENO: checking for $ac_header" >&5
32678 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32679 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32680 echo $ECHO_N "(cached) $ECHO_C" >&6
32681 fi
32682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32683 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32684 else
32685 # Is the header compilable?
32686 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32687 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32688 cat >conftest.$ac_ext <<_ACEOF
32689 /* confdefs.h. */
32690 _ACEOF
32691 cat confdefs.h >>conftest.$ac_ext
32692 cat >>conftest.$ac_ext <<_ACEOF
32693 /* end confdefs.h. */
32694 $ac_includes_default
32695 #include <$ac_header>
32696 _ACEOF
32697 rm -f conftest.$ac_objext
32698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32699 (eval $ac_compile) 2>conftest.er1
32700 ac_status=$?
32701 grep -v '^ *+' conftest.er1 >conftest.err
32702 rm -f conftest.er1
32703 cat conftest.err >&5
32704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32705 (exit $ac_status); } &&
32706 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32708 (eval $ac_try) 2>&5
32709 ac_status=$?
32710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32711 (exit $ac_status); }; } &&
32712 { ac_try='test -s conftest.$ac_objext'
32713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32714 (eval $ac_try) 2>&5
32715 ac_status=$?
32716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32717 (exit $ac_status); }; }; then
32718 ac_header_compiler=yes
32719 else
32720 echo "$as_me: failed program was:" >&5
32721 sed 's/^/| /' conftest.$ac_ext >&5
32722
32723 ac_header_compiler=no
32724 fi
32725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32726 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32727 echo "${ECHO_T}$ac_header_compiler" >&6
32728
32729 # Is the header present?
32730 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32731 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32732 cat >conftest.$ac_ext <<_ACEOF
32733 /* confdefs.h. */
32734 _ACEOF
32735 cat confdefs.h >>conftest.$ac_ext
32736 cat >>conftest.$ac_ext <<_ACEOF
32737 /* end confdefs.h. */
32738 #include <$ac_header>
32739 _ACEOF
32740 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32741 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32742 ac_status=$?
32743 grep -v '^ *+' conftest.er1 >conftest.err
32744 rm -f conftest.er1
32745 cat conftest.err >&5
32746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32747 (exit $ac_status); } >/dev/null; then
32748 if test -s conftest.err; then
32749 ac_cpp_err=$ac_cxx_preproc_warn_flag
32750 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32751 else
32752 ac_cpp_err=
32753 fi
32754 else
32755 ac_cpp_err=yes
32756 fi
32757 if test -z "$ac_cpp_err"; then
32758 ac_header_preproc=yes
32759 else
32760 echo "$as_me: failed program was:" >&5
32761 sed 's/^/| /' conftest.$ac_ext >&5
32762
32763 ac_header_preproc=no
32764 fi
32765 rm -f conftest.err conftest.$ac_ext
32766 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32767 echo "${ECHO_T}$ac_header_preproc" >&6
32768
32769 # So? What about this header?
32770 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32771 yes:no: )
32772 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32773 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32774 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32775 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32776 ac_header_preproc=yes
32777 ;;
32778 no:yes:* )
32779 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32780 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32781 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32782 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32783 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32784 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32785 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32786 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32787 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32788 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32789 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32790 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32791 (
32792 cat <<\_ASBOX
32793 ## ----------------------------------------- ##
32794 ## Report this to wx-dev@lists.wxwidgets.org ##
32795 ## ----------------------------------------- ##
32796 _ASBOX
32797 ) |
32798 sed "s/^/$as_me: WARNING: /" >&2
32799 ;;
32800 esac
32801 echo "$as_me:$LINENO: checking for $ac_header" >&5
32802 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32803 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32804 echo $ECHO_N "(cached) $ECHO_C" >&6
32805 else
32806 eval "$as_ac_Header=\$ac_header_preproc"
32807 fi
32808 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32809 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32810
32811 fi
32812 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32813 cat >>confdefs.h <<_ACEOF
32814 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32815 _ACEOF
32816
32817 fi
32818
32819 done
32820
32821
32822 for ac_header in X11/XKBlib.h
32823 do
32824 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32825 echo "$as_me:$LINENO: checking for $ac_header" >&5
32826 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32827 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32828 echo $ECHO_N "(cached) $ECHO_C" >&6
32829 else
32830 cat >conftest.$ac_ext <<_ACEOF
32831 /* confdefs.h. */
32832 _ACEOF
32833 cat confdefs.h >>conftest.$ac_ext
32834 cat >>conftest.$ac_ext <<_ACEOF
32835 /* end confdefs.h. */
32836
32837 #if HAVE_X11_XLIB_H
32838 #include <X11/Xlib.h>
32839 #endif
32840
32841
32842 #include <$ac_header>
32843 _ACEOF
32844 rm -f conftest.$ac_objext
32845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32846 (eval $ac_compile) 2>conftest.er1
32847 ac_status=$?
32848 grep -v '^ *+' conftest.er1 >conftest.err
32849 rm -f conftest.er1
32850 cat conftest.err >&5
32851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32852 (exit $ac_status); } &&
32853 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32855 (eval $ac_try) 2>&5
32856 ac_status=$?
32857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32858 (exit $ac_status); }; } &&
32859 { ac_try='test -s conftest.$ac_objext'
32860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32861 (eval $ac_try) 2>&5
32862 ac_status=$?
32863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32864 (exit $ac_status); }; }; then
32865 eval "$as_ac_Header=yes"
32866 else
32867 echo "$as_me: failed program was:" >&5
32868 sed 's/^/| /' conftest.$ac_ext >&5
32869
32870 eval "$as_ac_Header=no"
32871 fi
32872 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32873 fi
32874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32875 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32876 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32877 cat >>confdefs.h <<_ACEOF
32878 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32879 _ACEOF
32880
32881 fi
32882
32883 done
32884
32885 fi
32886 fi
32887
32888
32889
32890 IODBC_C_SRC=""
32891
32892
32893 if test "$TOOLKIT" != "MSW" ; then
32894
32895 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32896
32897 if test "${ac_cv_header_sql_h+set}" = set; then
32898 echo "$as_me:$LINENO: checking for sql.h" >&5
32899 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32900 if test "${ac_cv_header_sql_h+set}" = set; then
32901 echo $ECHO_N "(cached) $ECHO_C" >&6
32902 fi
32903 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32904 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32905 else
32906 # Is the header compilable?
32907 echo "$as_me:$LINENO: checking sql.h usability" >&5
32908 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32909 cat >conftest.$ac_ext <<_ACEOF
32910 /* confdefs.h. */
32911 _ACEOF
32912 cat confdefs.h >>conftest.$ac_ext
32913 cat >>conftest.$ac_ext <<_ACEOF
32914 /* end confdefs.h. */
32915 $ac_includes_default
32916 #include <sql.h>
32917 _ACEOF
32918 rm -f conftest.$ac_objext
32919 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32920 (eval $ac_compile) 2>conftest.er1
32921 ac_status=$?
32922 grep -v '^ *+' conftest.er1 >conftest.err
32923 rm -f conftest.er1
32924 cat conftest.err >&5
32925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32926 (exit $ac_status); } &&
32927 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32929 (eval $ac_try) 2>&5
32930 ac_status=$?
32931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32932 (exit $ac_status); }; } &&
32933 { ac_try='test -s conftest.$ac_objext'
32934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32935 (eval $ac_try) 2>&5
32936 ac_status=$?
32937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32938 (exit $ac_status); }; }; then
32939 ac_header_compiler=yes
32940 else
32941 echo "$as_me: failed program was:" >&5
32942 sed 's/^/| /' conftest.$ac_ext >&5
32943
32944 ac_header_compiler=no
32945 fi
32946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32947 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32948 echo "${ECHO_T}$ac_header_compiler" >&6
32949
32950 # Is the header present?
32951 echo "$as_me:$LINENO: checking sql.h presence" >&5
32952 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32953 cat >conftest.$ac_ext <<_ACEOF
32954 /* confdefs.h. */
32955 _ACEOF
32956 cat confdefs.h >>conftest.$ac_ext
32957 cat >>conftest.$ac_ext <<_ACEOF
32958 /* end confdefs.h. */
32959 #include <sql.h>
32960 _ACEOF
32961 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32962 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32963 ac_status=$?
32964 grep -v '^ *+' conftest.er1 >conftest.err
32965 rm -f conftest.er1
32966 cat conftest.err >&5
32967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32968 (exit $ac_status); } >/dev/null; then
32969 if test -s conftest.err; then
32970 ac_cpp_err=$ac_cxx_preproc_warn_flag
32971 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32972 else
32973 ac_cpp_err=
32974 fi
32975 else
32976 ac_cpp_err=yes
32977 fi
32978 if test -z "$ac_cpp_err"; then
32979 ac_header_preproc=yes
32980 else
32981 echo "$as_me: failed program was:" >&5
32982 sed 's/^/| /' conftest.$ac_ext >&5
32983
32984 ac_header_preproc=no
32985 fi
32986 rm -f conftest.err conftest.$ac_ext
32987 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32988 echo "${ECHO_T}$ac_header_preproc" >&6
32989
32990 # So? What about this header?
32991 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32992 yes:no: )
32993 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32994 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32995 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32996 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32997 ac_header_preproc=yes
32998 ;;
32999 no:yes:* )
33000 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
33001 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
33002 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
33003 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
33004 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
33005 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
33006 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
33007 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
33008 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
33009 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
33010 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
33011 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
33012 (
33013 cat <<\_ASBOX
33014 ## ----------------------------------------- ##
33015 ## Report this to wx-dev@lists.wxwidgets.org ##
33016 ## ----------------------------------------- ##
33017 _ASBOX
33018 ) |
33019 sed "s/^/$as_me: WARNING: /" >&2
33020 ;;
33021 esac
33022 echo "$as_me:$LINENO: checking for sql.h" >&5
33023 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
33024 if test "${ac_cv_header_sql_h+set}" = set; then
33025 echo $ECHO_N "(cached) $ECHO_C" >&6
33026 else
33027 ac_cv_header_sql_h=$ac_header_preproc
33028 fi
33029 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
33030 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
33031
33032 fi
33033 if test $ac_cv_header_sql_h = yes; then
33034 found_sql_h=1
33035 fi
33036
33037
33038 if test "x$found_sql_h" = "x1" ; then
33039 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
33040 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
33041 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
33042 echo $ECHO_N "(cached) $ECHO_C" >&6
33043 else
33044 ac_check_lib_save_LIBS=$LIBS
33045 LIBS="-liodbc $LIBS"
33046 cat >conftest.$ac_ext <<_ACEOF
33047 /* confdefs.h. */
33048 _ACEOF
33049 cat confdefs.h >>conftest.$ac_ext
33050 cat >>conftest.$ac_ext <<_ACEOF
33051 /* end confdefs.h. */
33052
33053 /* Override any gcc2 internal prototype to avoid an error. */
33054 #ifdef __cplusplus
33055 extern "C"
33056 #endif
33057 /* We use char because int might match the return type of a gcc2
33058 builtin and then its argument prototype would still apply. */
33059 char SQLAllocEnv ();
33060 int
33061 main ()
33062 {
33063 SQLAllocEnv ();
33064 ;
33065 return 0;
33066 }
33067 _ACEOF
33068 rm -f conftest.$ac_objext conftest$ac_exeext
33069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33070 (eval $ac_link) 2>conftest.er1
33071 ac_status=$?
33072 grep -v '^ *+' conftest.er1 >conftest.err
33073 rm -f conftest.er1
33074 cat conftest.err >&5
33075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33076 (exit $ac_status); } &&
33077 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33079 (eval $ac_try) 2>&5
33080 ac_status=$?
33081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33082 (exit $ac_status); }; } &&
33083 { ac_try='test -s conftest$ac_exeext'
33084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33085 (eval $ac_try) 2>&5
33086 ac_status=$?
33087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33088 (exit $ac_status); }; }; then
33089 ac_cv_lib_iodbc_SQLAllocEnv=yes
33090 else
33091 echo "$as_me: failed program was:" >&5
33092 sed 's/^/| /' conftest.$ac_ext >&5
33093
33094 ac_cv_lib_iodbc_SQLAllocEnv=no
33095 fi
33096 rm -f conftest.err conftest.$ac_objext \
33097 conftest$ac_exeext conftest.$ac_ext
33098 LIBS=$ac_check_lib_save_LIBS
33099 fi
33100 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
33101 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
33102 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
33103 ODBC_LINK=" -liodbc"
33104 else
33105
33106 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
33107 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
33108 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
33109 echo $ECHO_N "(cached) $ECHO_C" >&6
33110 else
33111 ac_check_lib_save_LIBS=$LIBS
33112 LIBS="-lunixodbc $LIBS"
33113 cat >conftest.$ac_ext <<_ACEOF
33114 /* confdefs.h. */
33115 _ACEOF
33116 cat confdefs.h >>conftest.$ac_ext
33117 cat >>conftest.$ac_ext <<_ACEOF
33118 /* end confdefs.h. */
33119
33120 /* Override any gcc2 internal prototype to avoid an error. */
33121 #ifdef __cplusplus
33122 extern "C"
33123 #endif
33124 /* We use char because int might match the return type of a gcc2
33125 builtin and then its argument prototype would still apply. */
33126 char SQLAllocEnv ();
33127 int
33128 main ()
33129 {
33130 SQLAllocEnv ();
33131 ;
33132 return 0;
33133 }
33134 _ACEOF
33135 rm -f conftest.$ac_objext conftest$ac_exeext
33136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33137 (eval $ac_link) 2>conftest.er1
33138 ac_status=$?
33139 grep -v '^ *+' conftest.er1 >conftest.err
33140 rm -f conftest.er1
33141 cat conftest.err >&5
33142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33143 (exit $ac_status); } &&
33144 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33146 (eval $ac_try) 2>&5
33147 ac_status=$?
33148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33149 (exit $ac_status); }; } &&
33150 { ac_try='test -s conftest$ac_exeext'
33151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33152 (eval $ac_try) 2>&5
33153 ac_status=$?
33154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33155 (exit $ac_status); }; }; then
33156 ac_cv_lib_unixodbc_SQLAllocEnv=yes
33157 else
33158 echo "$as_me: failed program was:" >&5
33159 sed 's/^/| /' conftest.$ac_ext >&5
33160
33161 ac_cv_lib_unixodbc_SQLAllocEnv=no
33162 fi
33163 rm -f conftest.err conftest.$ac_objext \
33164 conftest$ac_exeext conftest.$ac_ext
33165 LIBS=$ac_check_lib_save_LIBS
33166 fi
33167 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
33168 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
33169 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
33170 ODBC_LINK=" -lunixodbc"
33171 else
33172
33173 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
33174 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
33175 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
33176 echo $ECHO_N "(cached) $ECHO_C" >&6
33177 else
33178 ac_check_lib_save_LIBS=$LIBS
33179 LIBS="-lodbc $LIBS"
33180 cat >conftest.$ac_ext <<_ACEOF
33181 /* confdefs.h. */
33182 _ACEOF
33183 cat confdefs.h >>conftest.$ac_ext
33184 cat >>conftest.$ac_ext <<_ACEOF
33185 /* end confdefs.h. */
33186
33187 /* Override any gcc2 internal prototype to avoid an error. */
33188 #ifdef __cplusplus
33189 extern "C"
33190 #endif
33191 /* We use char because int might match the return type of a gcc2
33192 builtin and then its argument prototype would still apply. */
33193 char SQLAllocEnv ();
33194 int
33195 main ()
33196 {
33197 SQLAllocEnv ();
33198 ;
33199 return 0;
33200 }
33201 _ACEOF
33202 rm -f conftest.$ac_objext conftest$ac_exeext
33203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33204 (eval $ac_link) 2>conftest.er1
33205 ac_status=$?
33206 grep -v '^ *+' conftest.er1 >conftest.err
33207 rm -f conftest.er1
33208 cat conftest.err >&5
33209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33210 (exit $ac_status); } &&
33211 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33213 (eval $ac_try) 2>&5
33214 ac_status=$?
33215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33216 (exit $ac_status); }; } &&
33217 { ac_try='test -s conftest$ac_exeext'
33218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33219 (eval $ac_try) 2>&5
33220 ac_status=$?
33221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33222 (exit $ac_status); }; }; then
33223 ac_cv_lib_odbc_SQLAllocEnv=yes
33224 else
33225 echo "$as_me: failed program was:" >&5
33226 sed 's/^/| /' conftest.$ac_ext >&5
33227
33228 ac_cv_lib_odbc_SQLAllocEnv=no
33229 fi
33230 rm -f conftest.err conftest.$ac_objext \
33231 conftest$ac_exeext conftest.$ac_ext
33232 LIBS=$ac_check_lib_save_LIBS
33233 fi
33234 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
33235 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
33236 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
33237 ODBC_LINK=" -lodbc"
33238 fi
33239
33240
33241 fi
33242
33243
33244 fi
33245
33246 fi
33247 if test "x$ODBC_LINK" = "x" ; then
33248 if test "$wxUSE_ODBC" = "sys" ; then
33249 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
33250 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
33251 { (exit 1); exit 1; }; }
33252 else
33253 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
33254 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
33255 wxUSE_ODBC=builtin
33256 fi
33257 else
33258 wxUSE_ODBC=sys
33259 fi
33260 fi
33261
33262 if test "$wxUSE_ODBC" = "builtin" ; then
33263 cat >>confdefs.h <<\_ACEOF
33264 #define wxUSE_BUILTIN_IODBC 1
33265 _ACEOF
33266
33267 fi
33268 fi
33269
33270 if test "$wxUSE_ODBC" != "no" ; then
33271 cat >>confdefs.h <<\_ACEOF
33272 #define wxUSE_ODBC 1
33273 _ACEOF
33274
33275 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
33276
33277 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
33278 fi
33279
33280
33281 if test "$wxUSE_DISPLAY" = "yes"; then
33282 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33283 echo "$as_me:$LINENO: checking for Xinerama" >&5
33284 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
33285
33286 ac_find_libraries=
33287 for ac_dir in $SEARCH_LIB;
33288 do
33289 for ac_extension in a so sl dylib dll.a; do
33290 if test -f "$ac_dir/libXinerama.$ac_extension"; then
33291 ac_find_libraries=$ac_dir
33292 break 2
33293 fi
33294 done
33295 done
33296
33297 if test "$ac_find_libraries" != "" ; then
33298
33299 if test "$ac_find_libraries" = "default location"; then
33300 ac_path_to_link=""
33301 else
33302 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33303 result=$?
33304 if test $result = 0; then
33305 ac_path_to_link=""
33306 else
33307 ac_path_to_link=" -L$ac_find_libraries"
33308 fi
33309 fi
33310
33311 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33312 LDFLAGS="$LDFLAGS $ac_path_to_link"
33313 fi
33314 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
33315 echo "$as_me:$LINENO: result: yes" >&5
33316 echo "${ECHO_T}yes" >&6
33317
33318 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
33319 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
33320
33321 ac_find_libraries=
33322 for ac_dir in $SEARCH_LIB;
33323 do
33324 for ac_extension in a so sl dylib dll.a; do
33325 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
33326 ac_find_libraries=$ac_dir
33327 break 2
33328 fi
33329 done
33330 done
33331
33332 if test "$ac_find_libraries" != "" ; then
33333 echo "$as_me:$LINENO: result: yes" >&5
33334 echo "${ECHO_T}yes" >&6
33335
33336 for ac_header in X11/extensions/xf86vmode.h
33337 do
33338 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33339 echo "$as_me:$LINENO: checking for $ac_header" >&5
33340 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33341 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33342 echo $ECHO_N "(cached) $ECHO_C" >&6
33343 else
33344 cat >conftest.$ac_ext <<_ACEOF
33345 /* confdefs.h. */
33346 _ACEOF
33347 cat confdefs.h >>conftest.$ac_ext
33348 cat >>conftest.$ac_ext <<_ACEOF
33349 /* end confdefs.h. */
33350
33351 #if HAVE_X11_XLIB_H
33352 #include <X11/Xlib.h>
33353 #endif
33354
33355
33356 #include <$ac_header>
33357 _ACEOF
33358 rm -f conftest.$ac_objext
33359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33360 (eval $ac_compile) 2>conftest.er1
33361 ac_status=$?
33362 grep -v '^ *+' conftest.er1 >conftest.err
33363 rm -f conftest.er1
33364 cat conftest.err >&5
33365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33366 (exit $ac_status); } &&
33367 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33369 (eval $ac_try) 2>&5
33370 ac_status=$?
33371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33372 (exit $ac_status); }; } &&
33373 { ac_try='test -s conftest.$ac_objext'
33374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33375 (eval $ac_try) 2>&5
33376 ac_status=$?
33377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33378 (exit $ac_status); }; }; then
33379 eval "$as_ac_Header=yes"
33380 else
33381 echo "$as_me: failed program was:" >&5
33382 sed 's/^/| /' conftest.$ac_ext >&5
33383
33384 eval "$as_ac_Header=no"
33385 fi
33386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33387 fi
33388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33389 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33390 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33391 cat >>confdefs.h <<_ACEOF
33392 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33393 _ACEOF
33394
33395 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
33396
33397 fi
33398
33399 done
33400
33401 else
33402 echo "$as_me:$LINENO: result: no" >&5
33403 echo "${ECHO_T}no" >&6
33404 fi
33405
33406 else
33407 echo "$as_me:$LINENO: result: no" >&5
33408 echo "${ECHO_T}no" >&6
33409 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
33410 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
33411 wxUSE_DISPLAY="no"
33412 fi
33413 elif test "$wxUSE_MSW" = 1; then
33414
33415 for ac_header in ddraw.h
33416 do
33417 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
33418 echo "$as_me:$LINENO: checking for $ac_header" >&5
33419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
33420 if eval "test \"\${$as_ac_Header+set}\" = set"; then
33421 echo $ECHO_N "(cached) $ECHO_C" >&6
33422 else
33423 cat >conftest.$ac_ext <<_ACEOF
33424 /* confdefs.h. */
33425 _ACEOF
33426 cat confdefs.h >>conftest.$ac_ext
33427 cat >>conftest.$ac_ext <<_ACEOF
33428 /* end confdefs.h. */
33429 #include <windows.h>
33430
33431 #include <$ac_header>
33432 _ACEOF
33433 rm -f conftest.$ac_objext
33434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33435 (eval $ac_compile) 2>conftest.er1
33436 ac_status=$?
33437 grep -v '^ *+' conftest.er1 >conftest.err
33438 rm -f conftest.er1
33439 cat conftest.err >&5
33440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33441 (exit $ac_status); } &&
33442 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33444 (eval $ac_try) 2>&5
33445 ac_status=$?
33446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33447 (exit $ac_status); }; } &&
33448 { ac_try='test -s conftest.$ac_objext'
33449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33450 (eval $ac_try) 2>&5
33451 ac_status=$?
33452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33453 (exit $ac_status); }; }; then
33454 eval "$as_ac_Header=yes"
33455 else
33456 echo "$as_me: failed program was:" >&5
33457 sed 's/^/| /' conftest.$ac_ext >&5
33458
33459 eval "$as_ac_Header=no"
33460 fi
33461 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33462 fi
33463 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
33464 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
33465 if test `eval echo '${'$as_ac_Header'}'` = yes; then
33466 cat >>confdefs.h <<_ACEOF
33467 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
33468 _ACEOF
33469
33470 fi
33471
33472 done
33473
33474 fi
33475 fi
33476
33477 if test "$wxUSE_DETECT_SM" = "yes"; then
33478 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
33479 echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
33480 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6
33481
33482 ac_find_libraries=
33483 for ac_dir in $SEARCH_LIB;
33484 do
33485 for ac_extension in a so sl dylib dll.a; do
33486 if test -f "$ac_dir/libSM.$ac_extension"; then
33487 ac_find_libraries=$ac_dir
33488 break 2
33489 fi
33490 done
33491 done
33492
33493 if test "$ac_find_libraries" != "" ; then
33494
33495 if test "$ac_find_libraries" = "default location"; then
33496 ac_path_to_link=""
33497 else
33498 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33499 result=$?
33500 if test $result = 0; then
33501 ac_path_to_link=""
33502 else
33503 ac_path_to_link=" -L$ac_find_libraries"
33504 fi
33505 fi
33506
33507 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33508 LDFLAGS="$LDFLAGS $ac_path_to_link"
33509 fi
33510 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
33511 echo "$as_me:$LINENO: result: yes" >&5
33512 echo "${ECHO_T}yes" >&6
33513 else
33514 echo "$as_me:$LINENO: result: no" >&5
33515 echo "${ECHO_T}no" >&6
33516 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
33517 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
33518 wxUSE_DETECT_SM="no"
33519 fi
33520 else
33521 wxUSE_DETECT_SM="no"
33522 fi
33523 fi
33524
33525
33526
33527 USE_OPENGL=0
33528 if test "$wxUSE_OPENGL" = "yes"; then
33529 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
33530 OPENGL_LIBS="-framework OpenGL -framework AGL"
33531 elif test "$wxUSE_MSW" = 1; then
33532 OPENGL_LIBS="-lopengl32 -lglu32"
33533 else
33534 echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33535 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6
33536
33537 ac_find_includes=
33538 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33539 do
33540 if test -f "$ac_dir/GL/gl.h"; then
33541 ac_find_includes=$ac_dir
33542 break
33543 fi
33544 done
33545
33546 if test "$ac_find_includes" != "" ; then
33547 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33548 echo "${ECHO_T}found in $ac_find_includes" >&6
33549
33550 if test "x$ac_find_includes" = "x/usr/include"; then
33551 ac_path_to_include=""
33552 else
33553 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33554 result=$?
33555 if test $result = 0; then
33556 ac_path_to_include=""
33557 else
33558 ac_path_to_include=" -I$ac_find_includes"
33559 fi
33560 fi
33561
33562 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33563 else
33564 echo "$as_me:$LINENO: result: not found" >&5
33565 echo "${ECHO_T}not found" >&6
33566 fi
33567
33568 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33569 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33570 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33571 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33572 echo $ECHO_N "(cached) $ECHO_C" >&6
33573 fi
33574 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33575 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33576 else
33577 # Is the header compilable?
33578 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
33579 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
33580 cat >conftest.$ac_ext <<_ACEOF
33581 /* confdefs.h. */
33582 _ACEOF
33583 cat confdefs.h >>conftest.$ac_ext
33584 cat >>conftest.$ac_ext <<_ACEOF
33585 /* end confdefs.h. */
33586 $ac_includes_default
33587 #include <GL/gl.h>
33588 _ACEOF
33589 rm -f conftest.$ac_objext
33590 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33591 (eval $ac_compile) 2>conftest.er1
33592 ac_status=$?
33593 grep -v '^ *+' conftest.er1 >conftest.err
33594 rm -f conftest.er1
33595 cat conftest.err >&5
33596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33597 (exit $ac_status); } &&
33598 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33600 (eval $ac_try) 2>&5
33601 ac_status=$?
33602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33603 (exit $ac_status); }; } &&
33604 { ac_try='test -s conftest.$ac_objext'
33605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33606 (eval $ac_try) 2>&5
33607 ac_status=$?
33608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33609 (exit $ac_status); }; }; then
33610 ac_header_compiler=yes
33611 else
33612 echo "$as_me: failed program was:" >&5
33613 sed 's/^/| /' conftest.$ac_ext >&5
33614
33615 ac_header_compiler=no
33616 fi
33617 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33618 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33619 echo "${ECHO_T}$ac_header_compiler" >&6
33620
33621 # Is the header present?
33622 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
33623 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
33624 cat >conftest.$ac_ext <<_ACEOF
33625 /* confdefs.h. */
33626 _ACEOF
33627 cat confdefs.h >>conftest.$ac_ext
33628 cat >>conftest.$ac_ext <<_ACEOF
33629 /* end confdefs.h. */
33630 #include <GL/gl.h>
33631 _ACEOF
33632 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33633 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33634 ac_status=$?
33635 grep -v '^ *+' conftest.er1 >conftest.err
33636 rm -f conftest.er1
33637 cat conftest.err >&5
33638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33639 (exit $ac_status); } >/dev/null; then
33640 if test -s conftest.err; then
33641 ac_cpp_err=$ac_cxx_preproc_warn_flag
33642 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
33643 else
33644 ac_cpp_err=
33645 fi
33646 else
33647 ac_cpp_err=yes
33648 fi
33649 if test -z "$ac_cpp_err"; then
33650 ac_header_preproc=yes
33651 else
33652 echo "$as_me: failed program was:" >&5
33653 sed 's/^/| /' conftest.$ac_ext >&5
33654
33655 ac_header_preproc=no
33656 fi
33657 rm -f conftest.err conftest.$ac_ext
33658 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33659 echo "${ECHO_T}$ac_header_preproc" >&6
33660
33661 # So? What about this header?
33662 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
33663 yes:no: )
33664 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
33665 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33666 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
33667 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
33668 ac_header_preproc=yes
33669 ;;
33670 no:yes:* )
33671 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
33672 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
33673 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
33674 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
33675 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
33676 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
33677 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
33678 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
33679 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
33680 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
33681 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
33682 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
33683 (
33684 cat <<\_ASBOX
33685 ## ----------------------------------------- ##
33686 ## Report this to wx-dev@lists.wxwidgets.org ##
33687 ## ----------------------------------------- ##
33688 _ASBOX
33689 ) |
33690 sed "s/^/$as_me: WARNING: /" >&2
33691 ;;
33692 esac
33693 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33694 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
33695 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33696 echo $ECHO_N "(cached) $ECHO_C" >&6
33697 else
33698 ac_cv_header_GL_gl_h=$ac_header_preproc
33699 fi
33700 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33701 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
33702
33703 fi
33704 if test $ac_cv_header_GL_gl_h = yes; then
33705
33706 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33707 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33708 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
33709 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33710 echo $ECHO_N "(cached) $ECHO_C" >&6
33711 fi
33712 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33713 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
33714 else
33715 # Is the header compilable?
33716 echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
33717 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6
33718 cat >conftest.$ac_ext <<_ACEOF
33719 /* confdefs.h. */
33720 _ACEOF
33721 cat confdefs.h >>conftest.$ac_ext
33722 cat >>conftest.$ac_ext <<_ACEOF
33723 /* end confdefs.h. */
33724 $ac_includes_default
33725 #include <GL/glu.h>
33726 _ACEOF
33727 rm -f conftest.$ac_objext
33728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33729 (eval $ac_compile) 2>conftest.er1
33730 ac_status=$?
33731 grep -v '^ *+' conftest.er1 >conftest.err
33732 rm -f conftest.er1
33733 cat conftest.err >&5
33734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33735 (exit $ac_status); } &&
33736 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33738 (eval $ac_try) 2>&5
33739 ac_status=$?
33740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33741 (exit $ac_status); }; } &&
33742 { ac_try='test -s conftest.$ac_objext'
33743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33744 (eval $ac_try) 2>&5
33745 ac_status=$?
33746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33747 (exit $ac_status); }; }; then
33748 ac_header_compiler=yes
33749 else
33750 echo "$as_me: failed program was:" >&5
33751 sed 's/^/| /' conftest.$ac_ext >&5
33752
33753 ac_header_compiler=no
33754 fi
33755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33756 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
33757 echo "${ECHO_T}$ac_header_compiler" >&6
33758
33759 # Is the header present?
33760 echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
33761 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6
33762 cat >conftest.$ac_ext <<_ACEOF
33763 /* confdefs.h. */
33764 _ACEOF
33765 cat confdefs.h >>conftest.$ac_ext
33766 cat >>conftest.$ac_ext <<_ACEOF
33767 /* end confdefs.h. */
33768 #include <GL/glu.h>
33769 _ACEOF
33770 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
33771 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
33772 ac_status=$?
33773 grep -v '^ *+' conftest.er1 >conftest.err
33774 rm -f conftest.er1
33775 cat conftest.err >&5
33776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33777 (exit $ac_status); } >/dev/null; then
33778 if test -s conftest.err; then
33779 ac_cpp_err=$ac_cxx_preproc_warn_flag
33780 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
33781 else
33782 ac_cpp_err=
33783 fi
33784 else
33785 ac_cpp_err=yes
33786 fi
33787 if test -z "$ac_cpp_err"; then
33788 ac_header_preproc=yes
33789 else
33790 echo "$as_me: failed program was:" >&5
33791 sed 's/^/| /' conftest.$ac_ext >&5
33792
33793 ac_header_preproc=no
33794 fi
33795 rm -f conftest.err conftest.$ac_ext
33796 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
33797 echo "${ECHO_T}$ac_header_preproc" >&6
33798
33799 # So? What about this header?
33800 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
33801 yes:no: )
33802 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
33803 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
33804 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
33805 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
33806 ac_header_preproc=yes
33807 ;;
33808 no:yes:* )
33809 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
33810 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
33811 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
33812 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
33813 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
33814 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
33815 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
33816 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
33817 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
33818 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
33819 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
33820 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
33821 (
33822 cat <<\_ASBOX
33823 ## ----------------------------------------- ##
33824 ## Report this to wx-dev@lists.wxwidgets.org ##
33825 ## ----------------------------------------- ##
33826 _ASBOX
33827 ) |
33828 sed "s/^/$as_me: WARNING: /" >&2
33829 ;;
33830 esac
33831 echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33832 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6
33833 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33834 echo $ECHO_N "(cached) $ECHO_C" >&6
33835 else
33836 ac_cv_header_GL_glu_h=$ac_header_preproc
33837 fi
33838 echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33839 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6
33840
33841 fi
33842 if test $ac_cv_header_GL_glu_h = yes; then
33843
33844 found_gl=0
33845
33846 echo "$as_me:$LINENO: checking for -lGL" >&5
33847 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33848
33849 ac_find_libraries=
33850 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33851 do
33852 for ac_extension in a so sl dylib dll.a; do
33853 if test -f "$ac_dir/libGL.$ac_extension"; then
33854 ac_find_libraries=$ac_dir
33855 break 2
33856 fi
33857 done
33858 done
33859
33860 if test "$ac_find_libraries" != "" ; then
33861 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33862 echo "${ECHO_T}found in $ac_find_libraries" >&6
33863
33864
33865 if test "$ac_find_libraries" = "default location"; then
33866 ac_path_to_link=""
33867 else
33868 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33869 result=$?
33870 if test $result = 0; then
33871 ac_path_to_link=""
33872 else
33873 ac_path_to_link=" -L$ac_find_libraries"
33874 fi
33875 fi
33876
33877 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33878 LDFLAGS_GL="$ac_path_to_link"
33879 fi
33880
33881 echo "$as_me:$LINENO: checking for -lGLU" >&5
33882 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33883
33884 ac_find_libraries=
33885 for ac_dir in $SEARCH_LIB;
33886 do
33887 for ac_extension in a so sl dylib dll.a; do
33888 if test -f "$ac_dir/libGLU.$ac_extension"; then
33889 ac_find_libraries=$ac_dir
33890 break 2
33891 fi
33892 done
33893 done
33894
33895 if test "$ac_find_libraries" != "" ; then
33896
33897 if test "$ac_find_libraries" = "default location"; then
33898 ac_path_to_link=""
33899 else
33900 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33901 result=$?
33902 if test $result = 0; then
33903 ac_path_to_link=""
33904 else
33905 ac_path_to_link=" -L$ac_find_libraries"
33906 fi
33907 fi
33908
33909 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33910 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33911 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33912 fi
33913
33914 found_gl=1
33915 OPENGL_LIBS="-lGL -lGLU"
33916 echo "$as_me:$LINENO: result: yes" >&5
33917 echo "${ECHO_T}yes" >&6
33918 else
33919 echo "$as_me:$LINENO: result: no" >&5
33920 echo "${ECHO_T}no" >&6
33921 fi
33922 else
33923 echo "$as_me:$LINENO: result: no" >&5
33924 echo "${ECHO_T}no" >&6
33925 fi
33926
33927 if test "$found_gl" != 1; then
33928 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33929 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33930
33931 ac_find_libraries=
33932 for ac_dir in $SEARCH_LIB;
33933 do
33934 for ac_extension in a so sl dylib dll.a; do
33935 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33936 ac_find_libraries=$ac_dir
33937 break 2
33938 fi
33939 done
33940 done
33941
33942 if test "$ac_find_libraries" != "" ; then
33943
33944 if test "$ac_find_libraries" = "default location"; then
33945 ac_path_to_link=""
33946 else
33947 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33948 result=$?
33949 if test $result = 0; then
33950 ac_path_to_link=""
33951 else
33952 ac_path_to_link=" -L$ac_find_libraries"
33953 fi
33954 fi
33955
33956 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33957 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33958 echo "$as_me:$LINENO: result: yes" >&5
33959 echo "${ECHO_T}yes" >&6
33960 else
33961 echo "$as_me:$LINENO: result: no" >&5
33962 echo "${ECHO_T}no" >&6
33963 fi
33964 fi
33965
33966 fi
33967
33968
33969
33970 fi
33971
33972
33973
33974 if test "x$OPENGL_LIBS" = "x"; then
33975 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33976 echo "$as_me: error: OpenGL libraries not available" >&2;}
33977 { (exit 1); exit 1; }; }
33978 fi
33979 fi
33980
33981 if test "$wxUSE_OPENGL" = "yes"; then
33982 USE_OPENGL=1
33983 cat >>confdefs.h <<\_ACEOF
33984 #define wxUSE_OPENGL 1
33985 _ACEOF
33986
33987 cat >>confdefs.h <<\_ACEOF
33988 #define wxUSE_GLCANVAS 1
33989 _ACEOF
33990
33991 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33992 fi
33993 fi
33994
33995
33996 if test -n "$TOOLKIT" ; then
33997 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33998 fi
33999
34000
34001
34002 if test "$wxUSE_SHARED" = "yes"; then
34003 case "${host}" in
34004 *-pc-msdosdjgpp )
34005 wxUSE_SHARED=no
34006 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
34007 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
34008 ;;
34009 esac
34010 fi
34011
34012 if test "$wxUSE_SHARED" = "yes"; then
34013
34014
34015 found_versioning=no
34016
34017
34018 if test $found_versioning = no ; then
34019 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
34020 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
34021 if test "${wx_cv_version_script+set}" = set; then
34022 echo $ECHO_N "(cached) $ECHO_C" >&6
34023 else
34024
34025 echo "VER_1 { *; };" >conftest.sym
34026 echo "int main() { return 0; }" >conftest.cpp
34027
34028 if { ac_try='
34029 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34030 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
34031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34032 (eval $ac_try) 2>&5
34033 ac_status=$?
34034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34035 (exit $ac_status); }; } ; then
34036 if test -s conftest.stderr ; then
34037 wx_cv_version_script=no
34038 else
34039 wx_cv_version_script=yes
34040 fi
34041 else
34042 wx_cv_version_script=no
34043 fi
34044
34045 if test $wx_cv_version_script = yes
34046 then
34047 echo "struct B { virtual ~B() { } }; \
34048 struct D : public B { }; \
34049 void F() { D d; }" > conftest.cpp
34050
34051 if { ac_try='
34052 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34053 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
34054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34055 (eval $ac_try) 2>&5
34056 ac_status=$?
34057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34058 (exit $ac_status); }; } &&
34059 { ac_try='
34060 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34061 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
34062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34063 (eval $ac_try) 2>&5
34064 ac_status=$?
34065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34066 (exit $ac_status); }; }
34067 then
34068 if { ac_try='
34069 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
34070 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
34071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34072 (eval $ac_try) 2>&5
34073 ac_status=$?
34074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34075 (exit $ac_status); }; }
34076 then
34077 wx_cv_version_script=yes
34078 else
34079 wx_cv_version_script=no
34080 fi
34081 fi
34082 fi
34083
34084 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
34085 rm -f conftest1.output conftest2.output conftest3.output
34086
34087 fi
34088 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
34089 echo "${ECHO_T}$wx_cv_version_script" >&6
34090 if test $wx_cv_version_script = yes ; then
34091 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
34092 fi
34093 fi
34094
34095
34096 case "${host}" in
34097 *-*-linux* | *-*-gnu* )
34098 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34099 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34100 ;;
34101
34102 *-*-solaris2* )
34103 if test "$GCC" = yes ; then
34104 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
34105
34106 saveLdflags="$LDFLAGS"
34107 LDFLAGS="$saveLdflags -Wl,-rpath,/"
34108 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
34109 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
34110 cat >conftest.$ac_ext <<_ACEOF
34111 /* confdefs.h. */
34112 _ACEOF
34113 cat confdefs.h >>conftest.$ac_ext
34114 cat >>conftest.$ac_ext <<_ACEOF
34115 /* end confdefs.h. */
34116
34117 int
34118 main ()
34119 {
34120
34121 ;
34122 return 0;
34123 }
34124 _ACEOF
34125 rm -f conftest.$ac_objext conftest$ac_exeext
34126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34127 (eval $ac_link) 2>conftest.er1
34128 ac_status=$?
34129 grep -v '^ *+' conftest.er1 >conftest.err
34130 rm -f conftest.er1
34131 cat conftest.err >&5
34132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34133 (exit $ac_status); } &&
34134 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34136 (eval $ac_try) 2>&5
34137 ac_status=$?
34138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34139 (exit $ac_status); }; } &&
34140 { ac_try='test -s conftest$ac_exeext'
34141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34142 (eval $ac_try) 2>&5
34143 ac_status=$?
34144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34145 (exit $ac_status); }; }; then
34146
34147 echo "$as_me:$LINENO: result: yes" >&5
34148 echo "${ECHO_T}yes" >&6
34149 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
34150 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
34151
34152 else
34153 echo "$as_me: failed program was:" >&5
34154 sed 's/^/| /' conftest.$ac_ext >&5
34155
34156
34157 echo "$as_me:$LINENO: result: no" >&5
34158 echo "${ECHO_T}no" >&6
34159 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
34160 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
34161 LDFLAGS="$saveLdflags -Wl,-R,/"
34162 cat >conftest.$ac_ext <<_ACEOF
34163 /* confdefs.h. */
34164 _ACEOF
34165 cat confdefs.h >>conftest.$ac_ext
34166 cat >>conftest.$ac_ext <<_ACEOF
34167 /* end confdefs.h. */
34168
34169 int
34170 main ()
34171 {
34172
34173 ;
34174 return 0;
34175 }
34176 _ACEOF
34177 rm -f conftest.$ac_objext conftest$ac_exeext
34178 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34179 (eval $ac_link) 2>conftest.er1
34180 ac_status=$?
34181 grep -v '^ *+' conftest.er1 >conftest.err
34182 rm -f conftest.er1
34183 cat conftest.err >&5
34184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34185 (exit $ac_status); } &&
34186 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34188 (eval $ac_try) 2>&5
34189 ac_status=$?
34190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34191 (exit $ac_status); }; } &&
34192 { ac_try='test -s conftest$ac_exeext'
34193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34194 (eval $ac_try) 2>&5
34195 ac_status=$?
34196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34197 (exit $ac_status); }; }; then
34198
34199 echo "$as_me:$LINENO: result: yes" >&5
34200 echo "${ECHO_T}yes" >&6
34201 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
34202 WXCONFIG_RPATH="-Wl,-R,\$libdir"
34203
34204 else
34205 echo "$as_me: failed program was:" >&5
34206 sed 's/^/| /' conftest.$ac_ext >&5
34207
34208
34209 echo "$as_me:$LINENO: result: no" >&5
34210 echo "${ECHO_T}no" >&6
34211
34212 fi
34213 rm -f conftest.err conftest.$ac_objext \
34214 conftest$ac_exeext conftest.$ac_ext
34215
34216 fi
34217 rm -f conftest.err conftest.$ac_objext \
34218 conftest$ac_exeext conftest.$ac_ext
34219 LDFLAGS="$saveLdflags"
34220 else
34221 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
34222 WXCONFIG_RPATH="-R\$libdir"
34223 fi
34224 ;;
34225
34226 *-*-darwin* )
34227 install_name_tool=`which install_name_tool`
34228 if test "$install_name_tool" -a -x "$install_name_tool"; then
34229 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
34230 cat <<EOF >change-install-names
34231 #!/bin/sh
34232 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
34233 inst_cmd="install_name_tool "
34234 for i in \${libnames} ; do
34235 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
34236 done
34237 \${inst_cmd} \${3}
34238 EOF
34239 chmod +x change-install-names
34240 fi
34241 ;;
34242
34243 *-*-cygwin* | *-*-mingw32* )
34244 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
34245 ;;
34246
34247 *-*-hpux* )
34248 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
34249 WXCONFIG_RPATH="-Wl,+b,\$libdir"
34250 ;;
34251
34252 esac
34253
34254 if test $wxUSE_RPATH = "no"; then
34255 SAMPLES_RPATH_FLAG=''
34256 SAMPLES_RPATH_POSTLINK=''
34257 WXCONFIG_RPATH=''
34258 fi
34259
34260 SHARED=1
34261
34262 else
34263
34264 config_linkage_component="-static"
34265 SHARED=0
34266
34267 fi
34268
34269
34270 UNICODE=0
34271 lib_unicode_suffix=
34272 WX_CHARTYPE="ansi"
34273 if test "$wxUSE_UNICODE" = "yes"; then
34274 lib_unicode_suffix=u
34275 WX_CHARTYPE="unicode"
34276 UNICODE=1
34277 fi
34278
34279 lib_debug_suffix=
34280 WX_DEBUGTYPE="release"
34281 DEBUG_FLAG=0
34282 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
34283 lib_debug_suffix=d
34284 WX_DEBUGTYPE="debug"
34285 DEBUG_FLAG=1
34286 fi
34287
34288 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
34289 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
34290
34291 DEBUG_INFO=0
34292 if test "$wxUSE_DEBUG_INFO" = "yes"; then
34293 DEBUG_INFO=1
34294 fi
34295
34296 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
34297
34298 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
34299
34300 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
34301
34302 if test "$cross_compiling" = "yes"; then
34303 HOST_SUFFIX="-$host_alias"
34304 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
34305 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
34306 fi
34307
34308 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34309 if test "${TOOLKIT_DIR}" = "os2"; then
34310 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34311 else
34312 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
34313 fi
34314
34315
34316
34317 if test "$wxUSE_COCOA" = 1; then
34318
34319
34320 ac_ext=c
34321 ac_cpp='$CPP $CPPFLAGS'
34322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34325
34326 ac_ext=m
34327
34328 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
34329 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
34330 cat >conftest.$ac_ext <<_ACEOF
34331 /* confdefs.h. */
34332 _ACEOF
34333 cat confdefs.h >>conftest.$ac_ext
34334 cat >>conftest.$ac_ext <<_ACEOF
34335 /* end confdefs.h. */
34336 #include <AppKit/NSEvent.h>
34337 #include <CoreFoundation/CoreFoundation.h>
34338
34339 int
34340 main ()
34341 {
34342
34343 ;
34344 return 0;
34345 }
34346 _ACEOF
34347 rm -f conftest.$ac_objext
34348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34349 (eval $ac_compile) 2>conftest.er1
34350 ac_status=$?
34351 grep -v '^ *+' conftest.er1 >conftest.err
34352 rm -f conftest.er1
34353 cat conftest.err >&5
34354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34355 (exit $ac_status); } &&
34356 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34358 (eval $ac_try) 2>&5
34359 ac_status=$?
34360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34361 (exit $ac_status); }; } &&
34362 { ac_try='test -s conftest.$ac_objext'
34363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34364 (eval $ac_try) 2>&5
34365 ac_status=$?
34366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34367 (exit $ac_status); }; }; then
34368 echo "$as_me:$LINENO: result: no" >&5
34369 echo "${ECHO_T}no" >&6
34370 else
34371 echo "$as_me: failed program was:" >&5
34372 sed 's/^/| /' conftest.$ac_ext >&5
34373
34374 echo "$as_me:$LINENO: result: yes" >&5
34375 echo "${ECHO_T}yes" >&6
34376 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
34377 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
34378 cat >conftest.$ac_ext <<_ACEOF
34379 /* confdefs.h. */
34380 _ACEOF
34381 cat confdefs.h >>conftest.$ac_ext
34382 cat >>conftest.$ac_ext <<_ACEOF
34383 /* end confdefs.h. */
34384 #define __Point__ 1
34385 #include <AppKit/NSEvent.h>
34386 #include <CoreFoundation/CoreFoundation.h>
34387
34388 int
34389 main ()
34390 {
34391
34392 ;
34393 return 0;
34394 }
34395 _ACEOF
34396 rm -f conftest.$ac_objext
34397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34398 (eval $ac_compile) 2>conftest.er1
34399 ac_status=$?
34400 grep -v '^ *+' conftest.er1 >conftest.err
34401 rm -f conftest.er1
34402 cat conftest.err >&5
34403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34404 (exit $ac_status); } &&
34405 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
34406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34407 (eval $ac_try) 2>&5
34408 ac_status=$?
34409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34410 (exit $ac_status); }; } &&
34411 { ac_try='test -s conftest.$ac_objext'
34412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34413 (eval $ac_try) 2>&5
34414 ac_status=$?
34415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34416 (exit $ac_status); }; }; then
34417 echo "$as_me:$LINENO: result: yes" >&5
34418 echo "${ECHO_T}yes" >&6
34419 cat >>confdefs.h <<\_ACEOF
34420 #define __Point__ 1
34421 _ACEOF
34422
34423
34424 else
34425 echo "$as_me: failed program was:" >&5
34426 sed 's/^/| /' conftest.$ac_ext >&5
34427
34428 { { echo "$as_me:$LINENO: error: no
34429 See \`config.log' for more details." >&5
34430 echo "$as_me: error: no
34431 See \`config.log' for more details." >&2;}
34432 { (exit 1); exit 1; }; }
34433
34434 fi
34435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34436
34437 fi
34438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34439 ac_ext=cc
34440 ac_cpp='$CXXCPP $CPPFLAGS'
34441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34444
34445 fi
34446
34447 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
34448 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
34449 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
34450
34451 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
34452
34453 # Extract the first word of "Rez", so it can be a program name with args.
34454 set dummy Rez; ac_word=$2
34455 echo "$as_me:$LINENO: checking for $ac_word" >&5
34456 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34457 if test "${ac_cv_prog_REZ+set}" = set; then
34458 echo $ECHO_N "(cached) $ECHO_C" >&6
34459 else
34460 if test -n "$REZ"; then
34461 ac_cv_prog_REZ="$REZ" # Let the user override the test.
34462 else
34463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34464 for as_dir in $PATH
34465 do
34466 IFS=$as_save_IFS
34467 test -z "$as_dir" && as_dir=.
34468 for ac_exec_ext in '' $ac_executable_extensions; do
34469 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34470 ac_cv_prog_REZ="Rez"
34471 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34472 break 2
34473 fi
34474 done
34475 done
34476
34477 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
34478 fi
34479 fi
34480 REZ=$ac_cv_prog_REZ
34481 if test -n "$REZ"; then
34482 echo "$as_me:$LINENO: result: $REZ" >&5
34483 echo "${ECHO_T}$REZ" >&6
34484 else
34485 echo "$as_me:$LINENO: result: no" >&5
34486 echo "${ECHO_T}no" >&6
34487 fi
34488
34489 # Extract the first word of "DeRez", so it can be a program name with args.
34490 set dummy DeRez; ac_word=$2
34491 echo "$as_me:$LINENO: checking for $ac_word" >&5
34492 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34493 if test "${ac_cv_prog_DEREZ+set}" = set; then
34494 echo $ECHO_N "(cached) $ECHO_C" >&6
34495 else
34496 if test -n "$DEREZ"; then
34497 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
34498 else
34499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34500 for as_dir in $PATH
34501 do
34502 IFS=$as_save_IFS
34503 test -z "$as_dir" && as_dir=.
34504 for ac_exec_ext in '' $ac_executable_extensions; do
34505 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34506 ac_cv_prog_DEREZ="DeRez"
34507 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34508 break 2
34509 fi
34510 done
34511 done
34512
34513 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
34514 fi
34515 fi
34516 DEREZ=$ac_cv_prog_DEREZ
34517 if test -n "$DEREZ"; then
34518 echo "$as_me:$LINENO: result: $DEREZ" >&5
34519 echo "${ECHO_T}$DEREZ" >&6
34520 else
34521 echo "$as_me:$LINENO: result: no" >&5
34522 echo "${ECHO_T}no" >&6
34523 fi
34524
34525 # Extract the first word of "SetFile", so it can be a program name with args.
34526 set dummy SetFile; ac_word=$2
34527 echo "$as_me:$LINENO: checking for $ac_word" >&5
34528 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
34529 if test "${ac_cv_prog_SETFILE+set}" = set; then
34530 echo $ECHO_N "(cached) $ECHO_C" >&6
34531 else
34532 if test -n "$SETFILE"; then
34533 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
34534 else
34535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
34536 for as_dir in $PATH
34537 do
34538 IFS=$as_save_IFS
34539 test -z "$as_dir" && as_dir=.
34540 for ac_exec_ext in '' $ac_executable_extensions; do
34541 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
34542 ac_cv_prog_SETFILE="SetFile"
34543 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
34544 break 2
34545 fi
34546 done
34547 done
34548
34549 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
34550 fi
34551 fi
34552 SETFILE=$ac_cv_prog_SETFILE
34553 if test -n "$SETFILE"; then
34554 echo "$as_me:$LINENO: result: $SETFILE" >&5
34555 echo "${ECHO_T}$SETFILE" >&6
34556 else
34557 echo "$as_me:$LINENO: result: no" >&5
34558 echo "${ECHO_T}no" >&6
34559 fi
34560
34561
34562 MACSETFILE="\$(SETFILE)"
34563
34564 if test "$wxUSE_MAC" = 1; then
34565 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
34566 RESCOMP="$REZ"
34567 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
34568 else
34569 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
34570 RESCOMP="echo -n \| $REZ"
34571 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
34572 fi
34573
34574 else
34575 MACSETFILE="@true"
34576
34577 if test "$wxUSE_PM" = 1; then
34578 RESCOMP="emxbind"
34579 WXCONFIG_RESFLAGS="-ep"
34580
34581 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
34582 else
34583 POSTLINK_COMMAND="@true"
34584 fi
34585
34586 fi
34587
34588
34589
34590 echo "$as_me:$LINENO: checking for mode_t" >&5
34591 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
34592 if test "${ac_cv_type_mode_t+set}" = set; then
34593 echo $ECHO_N "(cached) $ECHO_C" >&6
34594 else
34595 cat >conftest.$ac_ext <<_ACEOF
34596 /* confdefs.h. */
34597 _ACEOF
34598 cat confdefs.h >>conftest.$ac_ext
34599 cat >>conftest.$ac_ext <<_ACEOF
34600 /* end confdefs.h. */
34601 $ac_includes_default
34602 int
34603 main ()
34604 {
34605 if ((mode_t *) 0)
34606 return 0;
34607 if (sizeof (mode_t))
34608 return 0;
34609 ;
34610 return 0;
34611 }
34612 _ACEOF
34613 rm -f conftest.$ac_objext
34614 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34615 (eval $ac_compile) 2>conftest.er1
34616 ac_status=$?
34617 grep -v '^ *+' conftest.er1 >conftest.err
34618 rm -f conftest.er1
34619 cat conftest.err >&5
34620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34621 (exit $ac_status); } &&
34622 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34624 (eval $ac_try) 2>&5
34625 ac_status=$?
34626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34627 (exit $ac_status); }; } &&
34628 { ac_try='test -s conftest.$ac_objext'
34629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34630 (eval $ac_try) 2>&5
34631 ac_status=$?
34632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34633 (exit $ac_status); }; }; then
34634 ac_cv_type_mode_t=yes
34635 else
34636 echo "$as_me: failed program was:" >&5
34637 sed 's/^/| /' conftest.$ac_ext >&5
34638
34639 ac_cv_type_mode_t=no
34640 fi
34641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34642 fi
34643 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34644 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
34645 if test $ac_cv_type_mode_t = yes; then
34646 :
34647 else
34648
34649 cat >>confdefs.h <<_ACEOF
34650 #define mode_t int
34651 _ACEOF
34652
34653 fi
34654
34655 echo "$as_me:$LINENO: checking for off_t" >&5
34656 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
34657 if test "${ac_cv_type_off_t+set}" = set; then
34658 echo $ECHO_N "(cached) $ECHO_C" >&6
34659 else
34660 cat >conftest.$ac_ext <<_ACEOF
34661 /* confdefs.h. */
34662 _ACEOF
34663 cat confdefs.h >>conftest.$ac_ext
34664 cat >>conftest.$ac_ext <<_ACEOF
34665 /* end confdefs.h. */
34666 $ac_includes_default
34667 int
34668 main ()
34669 {
34670 if ((off_t *) 0)
34671 return 0;
34672 if (sizeof (off_t))
34673 return 0;
34674 ;
34675 return 0;
34676 }
34677 _ACEOF
34678 rm -f conftest.$ac_objext
34679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34680 (eval $ac_compile) 2>conftest.er1
34681 ac_status=$?
34682 grep -v '^ *+' conftest.er1 >conftest.err
34683 rm -f conftest.er1
34684 cat conftest.err >&5
34685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34686 (exit $ac_status); } &&
34687 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34689 (eval $ac_try) 2>&5
34690 ac_status=$?
34691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34692 (exit $ac_status); }; } &&
34693 { ac_try='test -s conftest.$ac_objext'
34694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34695 (eval $ac_try) 2>&5
34696 ac_status=$?
34697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34698 (exit $ac_status); }; }; then
34699 ac_cv_type_off_t=yes
34700 else
34701 echo "$as_me: failed program was:" >&5
34702 sed 's/^/| /' conftest.$ac_ext >&5
34703
34704 ac_cv_type_off_t=no
34705 fi
34706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34707 fi
34708 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34709 echo "${ECHO_T}$ac_cv_type_off_t" >&6
34710 if test $ac_cv_type_off_t = yes; then
34711 :
34712 else
34713
34714 cat >>confdefs.h <<_ACEOF
34715 #define off_t long
34716 _ACEOF
34717
34718 fi
34719
34720 echo "$as_me:$LINENO: checking for pid_t" >&5
34721 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
34722 if test "${ac_cv_type_pid_t+set}" = set; then
34723 echo $ECHO_N "(cached) $ECHO_C" >&6
34724 else
34725 cat >conftest.$ac_ext <<_ACEOF
34726 /* confdefs.h. */
34727 _ACEOF
34728 cat confdefs.h >>conftest.$ac_ext
34729 cat >>conftest.$ac_ext <<_ACEOF
34730 /* end confdefs.h. */
34731 $ac_includes_default
34732 int
34733 main ()
34734 {
34735 if ((pid_t *) 0)
34736 return 0;
34737 if (sizeof (pid_t))
34738 return 0;
34739 ;
34740 return 0;
34741 }
34742 _ACEOF
34743 rm -f conftest.$ac_objext
34744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34745 (eval $ac_compile) 2>conftest.er1
34746 ac_status=$?
34747 grep -v '^ *+' conftest.er1 >conftest.err
34748 rm -f conftest.er1
34749 cat conftest.err >&5
34750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34751 (exit $ac_status); } &&
34752 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34754 (eval $ac_try) 2>&5
34755 ac_status=$?
34756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34757 (exit $ac_status); }; } &&
34758 { ac_try='test -s conftest.$ac_objext'
34759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34760 (eval $ac_try) 2>&5
34761 ac_status=$?
34762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34763 (exit $ac_status); }; }; then
34764 ac_cv_type_pid_t=yes
34765 else
34766 echo "$as_me: failed program was:" >&5
34767 sed 's/^/| /' conftest.$ac_ext >&5
34768
34769 ac_cv_type_pid_t=no
34770 fi
34771 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34772 fi
34773 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34774 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
34775 if test $ac_cv_type_pid_t = yes; then
34776 :
34777 else
34778
34779 cat >>confdefs.h <<_ACEOF
34780 #define pid_t int
34781 _ACEOF
34782
34783 fi
34784
34785 echo "$as_me:$LINENO: checking for size_t" >&5
34786 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
34787 if test "${ac_cv_type_size_t+set}" = set; then
34788 echo $ECHO_N "(cached) $ECHO_C" >&6
34789 else
34790 cat >conftest.$ac_ext <<_ACEOF
34791 /* confdefs.h. */
34792 _ACEOF
34793 cat confdefs.h >>conftest.$ac_ext
34794 cat >>conftest.$ac_ext <<_ACEOF
34795 /* end confdefs.h. */
34796 $ac_includes_default
34797 int
34798 main ()
34799 {
34800 if ((size_t *) 0)
34801 return 0;
34802 if (sizeof (size_t))
34803 return 0;
34804 ;
34805 return 0;
34806 }
34807 _ACEOF
34808 rm -f conftest.$ac_objext
34809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34810 (eval $ac_compile) 2>conftest.er1
34811 ac_status=$?
34812 grep -v '^ *+' conftest.er1 >conftest.err
34813 rm -f conftest.er1
34814 cat conftest.err >&5
34815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34816 (exit $ac_status); } &&
34817 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34819 (eval $ac_try) 2>&5
34820 ac_status=$?
34821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34822 (exit $ac_status); }; } &&
34823 { ac_try='test -s conftest.$ac_objext'
34824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34825 (eval $ac_try) 2>&5
34826 ac_status=$?
34827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34828 (exit $ac_status); }; }; then
34829 ac_cv_type_size_t=yes
34830 else
34831 echo "$as_me: failed program was:" >&5
34832 sed 's/^/| /' conftest.$ac_ext >&5
34833
34834 ac_cv_type_size_t=no
34835 fi
34836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34837 fi
34838 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34839 echo "${ECHO_T}$ac_cv_type_size_t" >&6
34840 if test $ac_cv_type_size_t = yes; then
34841 :
34842 else
34843
34844 cat >>confdefs.h <<_ACEOF
34845 #define size_t unsigned
34846 _ACEOF
34847
34848 fi
34849
34850 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
34851 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34852 if test "${ac_cv_type_uid_t+set}" = set; then
34853 echo $ECHO_N "(cached) $ECHO_C" >&6
34854 else
34855 cat >conftest.$ac_ext <<_ACEOF
34856 /* confdefs.h. */
34857 _ACEOF
34858 cat confdefs.h >>conftest.$ac_ext
34859 cat >>conftest.$ac_ext <<_ACEOF
34860 /* end confdefs.h. */
34861 #include <sys/types.h>
34862
34863 _ACEOF
34864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34865 $EGREP "uid_t" >/dev/null 2>&1; then
34866 ac_cv_type_uid_t=yes
34867 else
34868 ac_cv_type_uid_t=no
34869 fi
34870 rm -f conftest*
34871
34872 fi
34873 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34874 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34875 if test $ac_cv_type_uid_t = no; then
34876
34877 cat >>confdefs.h <<\_ACEOF
34878 #define uid_t int
34879 _ACEOF
34880
34881
34882 cat >>confdefs.h <<\_ACEOF
34883 #define gid_t int
34884 _ACEOF
34885
34886 fi
34887
34888
34889 echo "$as_me:$LINENO: checking for ssize_t" >&5
34890 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34891 if test "${ac_cv_type_ssize_t+set}" = set; then
34892 echo $ECHO_N "(cached) $ECHO_C" >&6
34893 else
34894 cat >conftest.$ac_ext <<_ACEOF
34895 /* confdefs.h. */
34896 _ACEOF
34897 cat confdefs.h >>conftest.$ac_ext
34898 cat >>conftest.$ac_ext <<_ACEOF
34899 /* end confdefs.h. */
34900 $ac_includes_default
34901 int
34902 main ()
34903 {
34904 if ((ssize_t *) 0)
34905 return 0;
34906 if (sizeof (ssize_t))
34907 return 0;
34908 ;
34909 return 0;
34910 }
34911 _ACEOF
34912 rm -f conftest.$ac_objext
34913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34914 (eval $ac_compile) 2>conftest.er1
34915 ac_status=$?
34916 grep -v '^ *+' conftest.er1 >conftest.err
34917 rm -f conftest.er1
34918 cat conftest.err >&5
34919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34920 (exit $ac_status); } &&
34921 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34923 (eval $ac_try) 2>&5
34924 ac_status=$?
34925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34926 (exit $ac_status); }; } &&
34927 { ac_try='test -s conftest.$ac_objext'
34928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34929 (eval $ac_try) 2>&5
34930 ac_status=$?
34931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34932 (exit $ac_status); }; }; then
34933 ac_cv_type_ssize_t=yes
34934 else
34935 echo "$as_me: failed program was:" >&5
34936 sed 's/^/| /' conftest.$ac_ext >&5
34937
34938 ac_cv_type_ssize_t=no
34939 fi
34940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34941 fi
34942 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34943 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34944 if test $ac_cv_type_ssize_t = yes; then
34945
34946 cat >>confdefs.h <<_ACEOF
34947 #define HAVE_SSIZE_T 1
34948 _ACEOF
34949
34950
34951 fi
34952
34953
34954 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34955 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34956 if test "${wx_cv_size_t_is_uint+set}" = set; then
34957 echo $ECHO_N "(cached) $ECHO_C" >&6
34958 else
34959
34960 cat >conftest.$ac_ext <<_ACEOF
34961 /* confdefs.h. */
34962 _ACEOF
34963 cat confdefs.h >>conftest.$ac_ext
34964 cat >>conftest.$ac_ext <<_ACEOF
34965 /* end confdefs.h. */
34966 #include <stddef.h>
34967 int
34968 main ()
34969 {
34970
34971 return 0; }
34972
34973 struct Foo { void foo(size_t); void foo(unsigned int); };
34974
34975 int bar() {
34976
34977 ;
34978 return 0;
34979 }
34980 _ACEOF
34981 rm -f conftest.$ac_objext
34982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34983 (eval $ac_compile) 2>conftest.er1
34984 ac_status=$?
34985 grep -v '^ *+' conftest.er1 >conftest.err
34986 rm -f conftest.er1
34987 cat conftest.err >&5
34988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34989 (exit $ac_status); } &&
34990 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34992 (eval $ac_try) 2>&5
34993 ac_status=$?
34994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34995 (exit $ac_status); }; } &&
34996 { ac_try='test -s conftest.$ac_objext'
34997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34998 (eval $ac_try) 2>&5
34999 ac_status=$?
35000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35001 (exit $ac_status); }; }; then
35002 wx_cv_size_t_is_uint=no
35003 else
35004 echo "$as_me: failed program was:" >&5
35005 sed 's/^/| /' conftest.$ac_ext >&5
35006
35007 wx_cv_size_t_is_uint=yes
35008
35009 fi
35010 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35011
35012
35013 fi
35014 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
35015 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
35016
35017 if test "$wx_cv_size_t_is_uint" = "yes"; then
35018 cat >>confdefs.h <<\_ACEOF
35019 #define wxSIZE_T_IS_UINT 1
35020 _ACEOF
35021
35022 else
35023 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
35024 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
35025 if test "${wx_cv_size_t_is_ulong+set}" = set; then
35026 echo $ECHO_N "(cached) $ECHO_C" >&6
35027 else
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 #include <stddef.h>
35035 int
35036 main ()
35037 {
35038
35039 return 0; }
35040
35041 struct Foo { void foo(size_t); void foo(unsigned long); };
35042
35043 int bar() {
35044
35045 ;
35046 return 0;
35047 }
35048 _ACEOF
35049 rm -f conftest.$ac_objext
35050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35051 (eval $ac_compile) 2>conftest.er1
35052 ac_status=$?
35053 grep -v '^ *+' conftest.er1 >conftest.err
35054 rm -f conftest.er1
35055 cat conftest.err >&5
35056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35057 (exit $ac_status); } &&
35058 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35060 (eval $ac_try) 2>&5
35061 ac_status=$?
35062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35063 (exit $ac_status); }; } &&
35064 { ac_try='test -s conftest.$ac_objext'
35065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35066 (eval $ac_try) 2>&5
35067 ac_status=$?
35068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35069 (exit $ac_status); }; }; then
35070 wx_cv_size_t_is_ulong=no
35071 else
35072 echo "$as_me: failed program was:" >&5
35073 sed 's/^/| /' conftest.$ac_ext >&5
35074
35075 wx_cv_size_t_is_ulong=yes
35076
35077 fi
35078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35079
35080 fi
35081 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
35082 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
35083
35084 if test "$wx_cv_size_t_is_ulong" = "yes"; then
35085 cat >>confdefs.h <<\_ACEOF
35086 #define wxSIZE_T_IS_ULONG 1
35087 _ACEOF
35088
35089 fi
35090 fi
35091
35092
35093 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
35094 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
35095 if test "${wx_cv_struct_pw_gecos+set}" = set; then
35096 echo $ECHO_N "(cached) $ECHO_C" >&6
35097 else
35098
35099 cat >conftest.$ac_ext <<_ACEOF
35100 /* confdefs.h. */
35101 _ACEOF
35102 cat confdefs.h >>conftest.$ac_ext
35103 cat >>conftest.$ac_ext <<_ACEOF
35104 /* end confdefs.h. */
35105 #include <pwd.h>
35106 int
35107 main ()
35108 {
35109
35110 char *p;
35111 struct passwd *pw;
35112 p = pw->pw_gecos;
35113
35114 ;
35115 return 0;
35116 }
35117 _ACEOF
35118 rm -f conftest.$ac_objext
35119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35120 (eval $ac_compile) 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_objext'
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
35140 wx_cv_struct_pw_gecos=yes
35141
35142 else
35143 echo "$as_me: failed program was:" >&5
35144 sed 's/^/| /' conftest.$ac_ext >&5
35145
35146
35147 wx_cv_struct_pw_gecos=no
35148
35149
35150 fi
35151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35152
35153
35154 fi
35155 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
35156 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
35157
35158 if test "$wx_cv_struct_pw_gecos" = "yes"; then
35159 cat >>confdefs.h <<\_ACEOF
35160 #define HAVE_PW_GECOS 1
35161 _ACEOF
35162
35163 fi
35164
35165
35166 if test "$wxUSE_WCHAR_T" = "yes"; then
35167 cat >>confdefs.h <<\_ACEOF
35168 #define wxUSE_WCHAR_T 1
35169 _ACEOF
35170
35171
35172 WCSLEN_FOUND=0
35173 WCHAR_LINK=
35174
35175 for ac_func in wcslen
35176 do
35177 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35178 echo "$as_me:$LINENO: checking for $ac_func" >&5
35179 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35180 if eval "test \"\${$as_ac_var+set}\" = set"; then
35181 echo $ECHO_N "(cached) $ECHO_C" >&6
35182 else
35183 cat >conftest.$ac_ext <<_ACEOF
35184 /* confdefs.h. */
35185 _ACEOF
35186 cat confdefs.h >>conftest.$ac_ext
35187 cat >>conftest.$ac_ext <<_ACEOF
35188 /* end confdefs.h. */
35189 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35190 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35191 #define $ac_func innocuous_$ac_func
35192
35193 /* System header to define __stub macros and hopefully few prototypes,
35194 which can conflict with char $ac_func (); below.
35195 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35196 <limits.h> exists even on freestanding compilers. */
35197
35198 #ifdef __STDC__
35199 # include <limits.h>
35200 #else
35201 # include <assert.h>
35202 #endif
35203
35204 #undef $ac_func
35205
35206 /* Override any gcc2 internal prototype to avoid an error. */
35207 #ifdef __cplusplus
35208 extern "C"
35209 {
35210 #endif
35211 /* We use char because int might match the return type of a gcc2
35212 builtin and then its argument prototype would still apply. */
35213 char $ac_func ();
35214 /* The GNU C library defines this for functions which it implements
35215 to always fail with ENOSYS. Some functions are actually named
35216 something starting with __ and the normal name is an alias. */
35217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35218 choke me
35219 #else
35220 char (*f) () = $ac_func;
35221 #endif
35222 #ifdef __cplusplus
35223 }
35224 #endif
35225
35226 int
35227 main ()
35228 {
35229 return f != $ac_func;
35230 ;
35231 return 0;
35232 }
35233 _ACEOF
35234 rm -f conftest.$ac_objext conftest$ac_exeext
35235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35236 (eval $ac_link) 2>conftest.er1
35237 ac_status=$?
35238 grep -v '^ *+' conftest.er1 >conftest.err
35239 rm -f conftest.er1
35240 cat conftest.err >&5
35241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35242 (exit $ac_status); } &&
35243 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35245 (eval $ac_try) 2>&5
35246 ac_status=$?
35247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35248 (exit $ac_status); }; } &&
35249 { ac_try='test -s conftest$ac_exeext'
35250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35251 (eval $ac_try) 2>&5
35252 ac_status=$?
35253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35254 (exit $ac_status); }; }; then
35255 eval "$as_ac_var=yes"
35256 else
35257 echo "$as_me: failed program was:" >&5
35258 sed 's/^/| /' conftest.$ac_ext >&5
35259
35260 eval "$as_ac_var=no"
35261 fi
35262 rm -f conftest.err conftest.$ac_objext \
35263 conftest$ac_exeext conftest.$ac_ext
35264 fi
35265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35266 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35267 if test `eval echo '${'$as_ac_var'}'` = yes; then
35268 cat >>confdefs.h <<_ACEOF
35269 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35270 _ACEOF
35271 WCSLEN_FOUND=1
35272 fi
35273 done
35274
35275
35276 if test "$WCSLEN_FOUND" = 0; then
35277 if test "$TOOLKIT" = "MSW"; then
35278 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
35279 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
35280 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
35281 echo $ECHO_N "(cached) $ECHO_C" >&6
35282 else
35283 ac_check_lib_save_LIBS=$LIBS
35284 LIBS="-lmsvcrt $LIBS"
35285 cat >conftest.$ac_ext <<_ACEOF
35286 /* confdefs.h. */
35287 _ACEOF
35288 cat confdefs.h >>conftest.$ac_ext
35289 cat >>conftest.$ac_ext <<_ACEOF
35290 /* end confdefs.h. */
35291
35292 /* Override any gcc2 internal prototype to avoid an error. */
35293 #ifdef __cplusplus
35294 extern "C"
35295 #endif
35296 /* We use char because int might match the return type of a gcc2
35297 builtin and then its argument prototype would still apply. */
35298 char wcslen ();
35299 int
35300 main ()
35301 {
35302 wcslen ();
35303 ;
35304 return 0;
35305 }
35306 _ACEOF
35307 rm -f conftest.$ac_objext conftest$ac_exeext
35308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35309 (eval $ac_link) 2>conftest.er1
35310 ac_status=$?
35311 grep -v '^ *+' conftest.er1 >conftest.err
35312 rm -f conftest.er1
35313 cat conftest.err >&5
35314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35315 (exit $ac_status); } &&
35316 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35318 (eval $ac_try) 2>&5
35319 ac_status=$?
35320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35321 (exit $ac_status); }; } &&
35322 { ac_try='test -s conftest$ac_exeext'
35323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35324 (eval $ac_try) 2>&5
35325 ac_status=$?
35326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35327 (exit $ac_status); }; }; then
35328 ac_cv_lib_msvcrt_wcslen=yes
35329 else
35330 echo "$as_me: failed program was:" >&5
35331 sed 's/^/| /' conftest.$ac_ext >&5
35332
35333 ac_cv_lib_msvcrt_wcslen=no
35334 fi
35335 rm -f conftest.err conftest.$ac_objext \
35336 conftest$ac_exeext conftest.$ac_ext
35337 LIBS=$ac_check_lib_save_LIBS
35338 fi
35339 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
35340 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
35341 if test $ac_cv_lib_msvcrt_wcslen = yes; then
35342 WCHAR_OK=1
35343 fi
35344
35345 else
35346 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
35347 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
35348 if test "${ac_cv_lib_w_wcslen+set}" = set; then
35349 echo $ECHO_N "(cached) $ECHO_C" >&6
35350 else
35351 ac_check_lib_save_LIBS=$LIBS
35352 LIBS="-lw $LIBS"
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
35360 /* Override any gcc2 internal prototype to avoid an error. */
35361 #ifdef __cplusplus
35362 extern "C"
35363 #endif
35364 /* We use char because int might match the return type of a gcc2
35365 builtin and then its argument prototype would still apply. */
35366 char wcslen ();
35367 int
35368 main ()
35369 {
35370 wcslen ();
35371 ;
35372 return 0;
35373 }
35374 _ACEOF
35375 rm -f conftest.$ac_objext conftest$ac_exeext
35376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35377 (eval $ac_link) 2>conftest.er1
35378 ac_status=$?
35379 grep -v '^ *+' conftest.er1 >conftest.err
35380 rm -f conftest.er1
35381 cat conftest.err >&5
35382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35383 (exit $ac_status); } &&
35384 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35386 (eval $ac_try) 2>&5
35387 ac_status=$?
35388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35389 (exit $ac_status); }; } &&
35390 { ac_try='test -s conftest$ac_exeext'
35391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35392 (eval $ac_try) 2>&5
35393 ac_status=$?
35394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35395 (exit $ac_status); }; }; then
35396 ac_cv_lib_w_wcslen=yes
35397 else
35398 echo "$as_me: failed program was:" >&5
35399 sed 's/^/| /' conftest.$ac_ext >&5
35400
35401 ac_cv_lib_w_wcslen=no
35402 fi
35403 rm -f conftest.err conftest.$ac_objext \
35404 conftest$ac_exeext conftest.$ac_ext
35405 LIBS=$ac_check_lib_save_LIBS
35406 fi
35407 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
35408 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
35409 if test $ac_cv_lib_w_wcslen = yes; then
35410
35411 WCHAR_LINK=" -lw"
35412 WCSLEN_FOUND=1
35413
35414 fi
35415
35416 fi
35417 fi
35418
35419 if test "$WCSLEN_FOUND" = 1; then
35420 cat >>confdefs.h <<\_ACEOF
35421 #define HAVE_WCSLEN 1
35422 _ACEOF
35423
35424 fi
35425
35426 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
35427 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
35428 fi
35429
35430 echo "$as_me:$LINENO: checking for mbstate_t" >&5
35431 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
35432 if test "${ac_cv_type_mbstate_t+set}" = set; then
35433 echo $ECHO_N "(cached) $ECHO_C" >&6
35434 else
35435 cat >conftest.$ac_ext <<_ACEOF
35436 /* confdefs.h. */
35437 _ACEOF
35438 cat confdefs.h >>conftest.$ac_ext
35439 cat >>conftest.$ac_ext <<_ACEOF
35440 /* end confdefs.h. */
35441 #include <wchar.h>
35442
35443 int
35444 main ()
35445 {
35446 if ((mbstate_t *) 0)
35447 return 0;
35448 if (sizeof (mbstate_t))
35449 return 0;
35450 ;
35451 return 0;
35452 }
35453 _ACEOF
35454 rm -f conftest.$ac_objext
35455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35456 (eval $ac_compile) 2>conftest.er1
35457 ac_status=$?
35458 grep -v '^ *+' conftest.er1 >conftest.err
35459 rm -f conftest.er1
35460 cat conftest.err >&5
35461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35462 (exit $ac_status); } &&
35463 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35465 (eval $ac_try) 2>&5
35466 ac_status=$?
35467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35468 (exit $ac_status); }; } &&
35469 { ac_try='test -s conftest.$ac_objext'
35470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35471 (eval $ac_try) 2>&5
35472 ac_status=$?
35473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35474 (exit $ac_status); }; }; then
35475 ac_cv_type_mbstate_t=yes
35476 else
35477 echo "$as_me: failed program was:" >&5
35478 sed 's/^/| /' conftest.$ac_ext >&5
35479
35480 ac_cv_type_mbstate_t=no
35481 fi
35482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35483 fi
35484 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35485 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
35486 if test $ac_cv_type_mbstate_t = yes; then
35487
35488 cat >>confdefs.h <<_ACEOF
35489 #define HAVE_MBSTATE_T 1
35490 _ACEOF
35491
35492
35493 for ac_func in wcsrtombs
35494 do
35495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35496 echo "$as_me:$LINENO: checking for $ac_func" >&5
35497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35498 if eval "test \"\${$as_ac_var+set}\" = set"; then
35499 echo $ECHO_N "(cached) $ECHO_C" >&6
35500 else
35501 cat >conftest.$ac_ext <<_ACEOF
35502 /* confdefs.h. */
35503 _ACEOF
35504 cat confdefs.h >>conftest.$ac_ext
35505 cat >>conftest.$ac_ext <<_ACEOF
35506 /* end confdefs.h. */
35507 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35508 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35509 #define $ac_func innocuous_$ac_func
35510
35511 /* System header to define __stub macros and hopefully few prototypes,
35512 which can conflict with char $ac_func (); below.
35513 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35514 <limits.h> exists even on freestanding compilers. */
35515
35516 #ifdef __STDC__
35517 # include <limits.h>
35518 #else
35519 # include <assert.h>
35520 #endif
35521
35522 #undef $ac_func
35523
35524 /* Override any gcc2 internal prototype to avoid an error. */
35525 #ifdef __cplusplus
35526 extern "C"
35527 {
35528 #endif
35529 /* We use char because int might match the return type of a gcc2
35530 builtin and then its argument prototype would still apply. */
35531 char $ac_func ();
35532 /* The GNU C library defines this for functions which it implements
35533 to always fail with ENOSYS. Some functions are actually named
35534 something starting with __ and the normal name is an alias. */
35535 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35536 choke me
35537 #else
35538 char (*f) () = $ac_func;
35539 #endif
35540 #ifdef __cplusplus
35541 }
35542 #endif
35543
35544 int
35545 main ()
35546 {
35547 return f != $ac_func;
35548 ;
35549 return 0;
35550 }
35551 _ACEOF
35552 rm -f conftest.$ac_objext conftest$ac_exeext
35553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35554 (eval $ac_link) 2>conftest.er1
35555 ac_status=$?
35556 grep -v '^ *+' conftest.er1 >conftest.err
35557 rm -f conftest.er1
35558 cat conftest.err >&5
35559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35560 (exit $ac_status); } &&
35561 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35563 (eval $ac_try) 2>&5
35564 ac_status=$?
35565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35566 (exit $ac_status); }; } &&
35567 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
35573 eval "$as_ac_var=yes"
35574 else
35575 echo "$as_me: failed program was:" >&5
35576 sed 's/^/| /' conftest.$ac_ext >&5
35577
35578 eval "$as_ac_var=no"
35579 fi
35580 rm -f conftest.err conftest.$ac_objext \
35581 conftest$ac_exeext conftest.$ac_ext
35582 fi
35583 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35584 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35585 if test `eval echo '${'$as_ac_var'}'` = yes; then
35586 cat >>confdefs.h <<_ACEOF
35587 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35588 _ACEOF
35589
35590 fi
35591 done
35592
35593 fi
35594
35595 else
35596 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35597 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35598 fi
35599
35600
35601
35602 for ac_func in snprintf vsnprintf
35603 do
35604 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35605 echo "$as_me:$LINENO: checking for $ac_func" >&5
35606 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35607 if eval "test \"\${$as_ac_var+set}\" = set"; then
35608 echo $ECHO_N "(cached) $ECHO_C" >&6
35609 else
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35617 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35618 #define $ac_func innocuous_$ac_func
35619
35620 /* System header to define __stub macros and hopefully few prototypes,
35621 which can conflict with char $ac_func (); below.
35622 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35623 <limits.h> exists even on freestanding compilers. */
35624
35625 #ifdef __STDC__
35626 # include <limits.h>
35627 #else
35628 # include <assert.h>
35629 #endif
35630
35631 #undef $ac_func
35632
35633 /* Override any gcc2 internal prototype to avoid an error. */
35634 #ifdef __cplusplus
35635 extern "C"
35636 {
35637 #endif
35638 /* We use char because int might match the return type of a gcc2
35639 builtin and then its argument prototype would still apply. */
35640 char $ac_func ();
35641 /* The GNU C library defines this for functions which it implements
35642 to always fail with ENOSYS. Some functions are actually named
35643 something starting with __ and the normal name is an alias. */
35644 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35645 choke me
35646 #else
35647 char (*f) () = $ac_func;
35648 #endif
35649 #ifdef __cplusplus
35650 }
35651 #endif
35652
35653 int
35654 main ()
35655 {
35656 return f != $ac_func;
35657 ;
35658 return 0;
35659 }
35660 _ACEOF
35661 rm -f conftest.$ac_objext conftest$ac_exeext
35662 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35663 (eval $ac_link) 2>conftest.er1
35664 ac_status=$?
35665 grep -v '^ *+' conftest.er1 >conftest.err
35666 rm -f conftest.er1
35667 cat conftest.err >&5
35668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35669 (exit $ac_status); } &&
35670 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35672 (eval $ac_try) 2>&5
35673 ac_status=$?
35674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35675 (exit $ac_status); }; } &&
35676 { ac_try='test -s conftest$ac_exeext'
35677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35678 (eval $ac_try) 2>&5
35679 ac_status=$?
35680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35681 (exit $ac_status); }; }; then
35682 eval "$as_ac_var=yes"
35683 else
35684 echo "$as_me: failed program was:" >&5
35685 sed 's/^/| /' conftest.$ac_ext >&5
35686
35687 eval "$as_ac_var=no"
35688 fi
35689 rm -f conftest.err conftest.$ac_objext \
35690 conftest$ac_exeext conftest.$ac_ext
35691 fi
35692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35694 if test `eval echo '${'$as_ac_var'}'` = yes; then
35695 cat >>confdefs.h <<_ACEOF
35696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35697 _ACEOF
35698
35699 fi
35700 done
35701
35702
35703 if test "$ac_cv_func_vsnprintf" = "yes"; then
35704 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35705 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
35706 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35707 echo $ECHO_N "(cached) $ECHO_C" >&6
35708 else
35709
35710 cat >conftest.$ac_ext <<_ACEOF
35711 /* confdefs.h. */
35712 _ACEOF
35713 cat confdefs.h >>conftest.$ac_ext
35714 cat >>conftest.$ac_ext <<_ACEOF
35715 /* end confdefs.h. */
35716
35717 #include <stdio.h>
35718 #include <stdarg.h>
35719 #ifdef __MSL__
35720 #if __MSL__ >= 0x6000
35721 namespace std {}
35722 using namespace std;
35723 #endif
35724 #endif
35725
35726 int
35727 main ()
35728 {
35729
35730 char *buf;
35731 va_list ap;
35732 vsnprintf(buf, 10u, "%s", ap);
35733
35734 ;
35735 return 0;
35736 }
35737 _ACEOF
35738 rm -f conftest.$ac_objext
35739 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35740 (eval $ac_compile) 2>conftest.er1
35741 ac_status=$?
35742 grep -v '^ *+' conftest.er1 >conftest.err
35743 rm -f conftest.er1
35744 cat conftest.err >&5
35745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35746 (exit $ac_status); } &&
35747 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35749 (eval $ac_try) 2>&5
35750 ac_status=$?
35751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35752 (exit $ac_status); }; } &&
35753 { ac_try='test -s conftest.$ac_objext'
35754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35755 (eval $ac_try) 2>&5
35756 ac_status=$?
35757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35758 (exit $ac_status); }; }; then
35759 wx_cv_func_vsnprintf_decl=yes
35760 else
35761 echo "$as_me: failed program was:" >&5
35762 sed 's/^/| /' conftest.$ac_ext >&5
35763
35764 wx_cv_func_vsnprintf_decl=no
35765
35766 fi
35767 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35768
35769
35770 fi
35771 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35772 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
35773
35774 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35775 cat >>confdefs.h <<\_ACEOF
35776 #define HAVE_VSNPRINTF_DECL 1
35777 _ACEOF
35778
35779
35780 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35781 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
35782 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35783 echo $ECHO_N "(cached) $ECHO_C" >&6
35784 else
35785
35786 cat >conftest.$ac_ext <<_ACEOF
35787 /* confdefs.h. */
35788 _ACEOF
35789 cat confdefs.h >>conftest.$ac_ext
35790 cat >>conftest.$ac_ext <<_ACEOF
35791 /* end confdefs.h. */
35792
35793 #include <stdio.h>
35794 #include <stdarg.h>
35795 #ifdef __MSL__
35796 #if __MSL__ >= 0x6000
35797 namespace std {}
35798 using namespace std;
35799 #endif
35800 #endif
35801
35802 int
35803 main ()
35804 {
35805
35806 char *buf;
35807 va_list ap;
35808 const char *fmt = "%s";
35809 vsnprintf(buf, 10u, fmt, ap);
35810
35811 ;
35812 return 0;
35813 }
35814 _ACEOF
35815 rm -f conftest.$ac_objext
35816 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35817 (eval $ac_compile) 2>conftest.er1
35818 ac_status=$?
35819 grep -v '^ *+' conftest.er1 >conftest.err
35820 rm -f conftest.er1
35821 cat conftest.err >&5
35822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35823 (exit $ac_status); } &&
35824 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35826 (eval $ac_try) 2>&5
35827 ac_status=$?
35828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35829 (exit $ac_status); }; } &&
35830 { ac_try='test -s conftest.$ac_objext'
35831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35832 (eval $ac_try) 2>&5
35833 ac_status=$?
35834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35835 (exit $ac_status); }; }; then
35836 wx_cv_func_broken_vsnprintf_decl=no
35837 else
35838 echo "$as_me: failed program was:" >&5
35839 sed 's/^/| /' conftest.$ac_ext >&5
35840
35841 wx_cv_func_broken_vsnprintf_decl=yes
35842
35843 fi
35844 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35845
35846
35847 fi
35848 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35849 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
35850
35851 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35852 cat >>confdefs.h <<\_ACEOF
35853 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35854 _ACEOF
35855
35856 fi
35857 fi
35858 fi
35859
35860 if test "$ac_cv_func_snprintf" = "yes"; then
35861 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35862 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35863 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35864 echo $ECHO_N "(cached) $ECHO_C" >&6
35865 else
35866
35867 cat >conftest.$ac_ext <<_ACEOF
35868 /* confdefs.h. */
35869 _ACEOF
35870 cat confdefs.h >>conftest.$ac_ext
35871 cat >>conftest.$ac_ext <<_ACEOF
35872 /* end confdefs.h. */
35873
35874 #include <stdio.h>
35875 #include <stdarg.h>
35876 #ifdef __MSL__
35877 #if __MSL__ >= 0x6000
35878 namespace std {}
35879 using namespace std;
35880 #endif
35881 #endif
35882
35883 int
35884 main ()
35885 {
35886
35887 char *buf;
35888 snprintf(buf, 10u, "%s", "wx");
35889
35890 ;
35891 return 0;
35892 }
35893 _ACEOF
35894 rm -f conftest.$ac_objext
35895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35896 (eval $ac_compile) 2>conftest.er1
35897 ac_status=$?
35898 grep -v '^ *+' conftest.er1 >conftest.err
35899 rm -f conftest.er1
35900 cat conftest.err >&5
35901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35902 (exit $ac_status); } &&
35903 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35905 (eval $ac_try) 2>&5
35906 ac_status=$?
35907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35908 (exit $ac_status); }; } &&
35909 { ac_try='test -s conftest.$ac_objext'
35910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35911 (eval $ac_try) 2>&5
35912 ac_status=$?
35913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35914 (exit $ac_status); }; }; then
35915 wx_cv_func_snprintf_decl=yes
35916 else
35917 echo "$as_me: failed program was:" >&5
35918 sed 's/^/| /' conftest.$ac_ext >&5
35919
35920 wx_cv_func_snprintf_decl=no
35921
35922 fi
35923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35924
35925
35926 fi
35927 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35928 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35929
35930 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35931 cat >>confdefs.h <<\_ACEOF
35932 #define HAVE_SNPRINTF_DECL 1
35933 _ACEOF
35934
35935
35936 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35937 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35938 if test "${wx_cv_func_broken_snprintf_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 #ifdef __MSL__
35952 #if __MSL__ >= 0x6000
35953 namespace std {}
35954 using namespace std;
35955 #endif
35956 #endif
35957
35958 int
35959 main ()
35960 {
35961
35962 char *buf;
35963 const char *fmt = "%s";
35964 snprintf(buf, 10u, fmt, "wx");
35965
35966 ;
35967 return 0;
35968 }
35969 _ACEOF
35970 rm -f conftest.$ac_objext
35971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35972 (eval $ac_compile) 2>conftest.er1
35973 ac_status=$?
35974 grep -v '^ *+' conftest.er1 >conftest.err
35975 rm -f conftest.er1
35976 cat conftest.err >&5
35977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35978 (exit $ac_status); } &&
35979 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35981 (eval $ac_try) 2>&5
35982 ac_status=$?
35983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35984 (exit $ac_status); }; } &&
35985 { ac_try='test -s conftest.$ac_objext'
35986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35987 (eval $ac_try) 2>&5
35988 ac_status=$?
35989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35990 (exit $ac_status); }; }; then
35991 wx_cv_func_broken_snprintf_decl=no
35992 else
35993 echo "$as_me: failed program was:" >&5
35994 sed 's/^/| /' conftest.$ac_ext >&5
35995
35996 wx_cv_func_broken_snprintf_decl=yes
35997
35998 fi
35999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36000
36001
36002 fi
36003 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
36004 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
36005
36006 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
36007 cat >>confdefs.h <<\_ACEOF
36008 #define HAVE_BROKEN_SNPRINTF_DECL 1
36009 _ACEOF
36010
36011 fi
36012 fi
36013
36014 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
36015
36016 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
36017 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
36018 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
36019 echo $ECHO_N "(cached) $ECHO_C" >&6
36020 else
36021
36022 if test "$cross_compiling" = yes; then
36023
36024 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
36025 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
36026 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
36027 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
36028 wx_cv_func_snprintf_pos_params=no
36029
36030
36031 else
36032 cat >conftest.$ac_ext <<_ACEOF
36033 /* confdefs.h. */
36034 _ACEOF
36035 cat confdefs.h >>conftest.$ac_ext
36036 cat >>conftest.$ac_ext <<_ACEOF
36037 /* end confdefs.h. */
36038
36039 #include <stdio.h>
36040
36041 int main (void)
36042 {
36043 char buffer[128];
36044 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
36045 if (strcmp ("2 3 1", buffer) == 0)
36046 exit (0);
36047 exit (1);
36048 }
36049
36050 _ACEOF
36051 rm -f conftest$ac_exeext
36052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36053 (eval $ac_link) 2>&5
36054 ac_status=$?
36055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36056 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
36057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36058 (eval $ac_try) 2>&5
36059 ac_status=$?
36060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36061 (exit $ac_status); }; }; then
36062 wx_cv_func_snprintf_pos_params=no
36063 else
36064 echo "$as_me: program exited with status $ac_status" >&5
36065 echo "$as_me: failed program was:" >&5
36066 sed 's/^/| /' conftest.$ac_ext >&5
36067
36068 ( exit $ac_status )
36069 wx_cv_func_snprintf_pos_params=yes
36070 fi
36071 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
36072 fi
36073
36074
36075 fi
36076 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
36077 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
36078
36079 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
36080 cat >>confdefs.h <<\_ACEOF
36081 #define HAVE_UNIX98_PRINTF 1
36082 _ACEOF
36083
36084 fi
36085 fi
36086 fi
36087
36088 if test "$wxUSE_UNICODE" = yes; then
36089
36090
36091 for ac_func in swprintf
36092 do
36093 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36094 echo "$as_me:$LINENO: checking for $ac_func" >&5
36095 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36096 if eval "test \"\${$as_ac_var+set}\" = set"; then
36097 echo $ECHO_N "(cached) $ECHO_C" >&6
36098 else
36099 cat >conftest.$ac_ext <<_ACEOF
36100 /* confdefs.h. */
36101 _ACEOF
36102 cat confdefs.h >>conftest.$ac_ext
36103 cat >>conftest.$ac_ext <<_ACEOF
36104 /* end confdefs.h. */
36105 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36106 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36107 #define $ac_func innocuous_$ac_func
36108
36109 /* System header to define __stub macros and hopefully few prototypes,
36110 which can conflict with char $ac_func (); below.
36111 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36112 <limits.h> exists even on freestanding compilers. */
36113
36114 #ifdef __STDC__
36115 # include <limits.h>
36116 #else
36117 # include <assert.h>
36118 #endif
36119
36120 #undef $ac_func
36121
36122 /* Override any gcc2 internal prototype to avoid an error. */
36123 #ifdef __cplusplus
36124 extern "C"
36125 {
36126 #endif
36127 /* We use char because int might match the return type of a gcc2
36128 builtin and then its argument prototype would still apply. */
36129 char $ac_func ();
36130 /* The GNU C library defines this for functions which it implements
36131 to always fail with ENOSYS. Some functions are actually named
36132 something starting with __ and the normal name is an alias. */
36133 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36134 choke me
36135 #else
36136 char (*f) () = $ac_func;
36137 #endif
36138 #ifdef __cplusplus
36139 }
36140 #endif
36141
36142 int
36143 main ()
36144 {
36145 return f != $ac_func;
36146 ;
36147 return 0;
36148 }
36149 _ACEOF
36150 rm -f conftest.$ac_objext conftest$ac_exeext
36151 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36152 (eval $ac_link) 2>conftest.er1
36153 ac_status=$?
36154 grep -v '^ *+' conftest.er1 >conftest.err
36155 rm -f conftest.er1
36156 cat conftest.err >&5
36157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36158 (exit $ac_status); } &&
36159 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36161 (eval $ac_try) 2>&5
36162 ac_status=$?
36163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36164 (exit $ac_status); }; } &&
36165 { ac_try='test -s conftest$ac_exeext'
36166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36167 (eval $ac_try) 2>&5
36168 ac_status=$?
36169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36170 (exit $ac_status); }; }; then
36171 eval "$as_ac_var=yes"
36172 else
36173 echo "$as_me: failed program was:" >&5
36174 sed 's/^/| /' conftest.$ac_ext >&5
36175
36176 eval "$as_ac_var=no"
36177 fi
36178 rm -f conftest.err conftest.$ac_objext \
36179 conftest$ac_exeext conftest.$ac_ext
36180 fi
36181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36183 if test `eval echo '${'$as_ac_var'}'` = yes; then
36184 cat >>confdefs.h <<_ACEOF
36185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36186 _ACEOF
36187
36188 fi
36189 done
36190
36191
36192 if test "$ac_cv_func_swprintf" = "yes"; then
36193 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
36194 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
36195 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
36196 echo $ECHO_N "(cached) $ECHO_C" >&6
36197 else
36198
36199 cat >conftest.$ac_ext <<_ACEOF
36200 /* confdefs.h. */
36201 _ACEOF
36202 cat confdefs.h >>conftest.$ac_ext
36203 cat >>conftest.$ac_ext <<_ACEOF
36204 /* end confdefs.h. */
36205
36206 #include <stdio.h>
36207 #include <stdarg.h>
36208 #include <wchar.h>
36209
36210 int
36211 main ()
36212 {
36213
36214 wchar_t *buf;
36215 const wchar_t *fmt = L"test";
36216 swprintf(buf, 10u, fmt);
36217
36218 ;
36219 return 0;
36220 }
36221 _ACEOF
36222 rm -f conftest.$ac_objext
36223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36224 (eval $ac_compile) 2>conftest.er1
36225 ac_status=$?
36226 grep -v '^ *+' conftest.er1 >conftest.err
36227 rm -f conftest.er1
36228 cat conftest.err >&5
36229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36230 (exit $ac_status); } &&
36231 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36233 (eval $ac_try) 2>&5
36234 ac_status=$?
36235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36236 (exit $ac_status); }; } &&
36237 { ac_try='test -s conftest.$ac_objext'
36238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36239 (eval $ac_try) 2>&5
36240 ac_status=$?
36241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36242 (exit $ac_status); }; }; then
36243 wx_cv_func_broken_swprintf_decl=no
36244 else
36245 echo "$as_me: failed program was:" >&5
36246 sed 's/^/| /' conftest.$ac_ext >&5
36247
36248 wx_cv_func_broken_swprintf_decl=yes
36249
36250 fi
36251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36252
36253
36254 fi
36255 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
36256 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
36257
36258 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
36259 cat >>confdefs.h <<\_ACEOF
36260 #define HAVE_BROKEN_SWPRINTF_DECL 1
36261 _ACEOF
36262
36263 fi
36264 fi
36265
36266
36267
36268
36269
36270
36271
36272 for ac_func in wputc wputchar putws fputws wprintf vswprintf
36273 do
36274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36275 echo "$as_me:$LINENO: checking for $ac_func" >&5
36276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36277 if eval "test \"\${$as_ac_var+set}\" = set"; then
36278 echo $ECHO_N "(cached) $ECHO_C" >&6
36279 else
36280 cat >conftest.$ac_ext <<_ACEOF
36281 /* confdefs.h. */
36282 _ACEOF
36283 cat confdefs.h >>conftest.$ac_ext
36284 cat >>conftest.$ac_ext <<_ACEOF
36285 /* end confdefs.h. */
36286 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36287 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36288 #define $ac_func innocuous_$ac_func
36289
36290 /* System header to define __stub macros and hopefully few prototypes,
36291 which can conflict with char $ac_func (); below.
36292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36293 <limits.h> exists even on freestanding compilers. */
36294
36295 #ifdef __STDC__
36296 # include <limits.h>
36297 #else
36298 # include <assert.h>
36299 #endif
36300
36301 #undef $ac_func
36302
36303 /* Override any gcc2 internal prototype to avoid an error. */
36304 #ifdef __cplusplus
36305 extern "C"
36306 {
36307 #endif
36308 /* We use char because int might match the return type of a gcc2
36309 builtin and then its argument prototype would still apply. */
36310 char $ac_func ();
36311 /* The GNU C library defines this for functions which it implements
36312 to always fail with ENOSYS. Some functions are actually named
36313 something starting with __ and the normal name is an alias. */
36314 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36315 choke me
36316 #else
36317 char (*f) () = $ac_func;
36318 #endif
36319 #ifdef __cplusplus
36320 }
36321 #endif
36322
36323 int
36324 main ()
36325 {
36326 return f != $ac_func;
36327 ;
36328 return 0;
36329 }
36330 _ACEOF
36331 rm -f conftest.$ac_objext conftest$ac_exeext
36332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36333 (eval $ac_link) 2>conftest.er1
36334 ac_status=$?
36335 grep -v '^ *+' conftest.er1 >conftest.err
36336 rm -f conftest.er1
36337 cat conftest.err >&5
36338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36339 (exit $ac_status); } &&
36340 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36342 (eval $ac_try) 2>&5
36343 ac_status=$?
36344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36345 (exit $ac_status); }; } &&
36346 { ac_try='test -s conftest$ac_exeext'
36347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36348 (eval $ac_try) 2>&5
36349 ac_status=$?
36350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36351 (exit $ac_status); }; }; then
36352 eval "$as_ac_var=yes"
36353 else
36354 echo "$as_me: failed program was:" >&5
36355 sed 's/^/| /' conftest.$ac_ext >&5
36356
36357 eval "$as_ac_var=no"
36358 fi
36359 rm -f conftest.err conftest.$ac_objext \
36360 conftest$ac_exeext conftest.$ac_ext
36361 fi
36362 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36363 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36364 if test `eval echo '${'$as_ac_var'}'` = yes; then
36365 cat >>confdefs.h <<_ACEOF
36366 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36367 _ACEOF
36368
36369 fi
36370 done
36371
36372
36373 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
36374 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
36375 cat >conftest.$ac_ext <<_ACEOF
36376 /* confdefs.h. */
36377 _ACEOF
36378 cat confdefs.h >>conftest.$ac_ext
36379 cat >>conftest.$ac_ext <<_ACEOF
36380 /* end confdefs.h. */
36381 #include <wchar.h>
36382 int
36383 main ()
36384 {
36385 &_vsnwprintf;
36386 ;
36387 return 0;
36388 }
36389 _ACEOF
36390 rm -f conftest.$ac_objext
36391 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36392 (eval $ac_compile) 2>conftest.er1
36393 ac_status=$?
36394 grep -v '^ *+' conftest.er1 >conftest.err
36395 rm -f conftest.er1
36396 cat conftest.err >&5
36397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36398 (exit $ac_status); } &&
36399 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36401 (eval $ac_try) 2>&5
36402 ac_status=$?
36403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36404 (exit $ac_status); }; } &&
36405 { ac_try='test -s conftest.$ac_objext'
36406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36407 (eval $ac_try) 2>&5
36408 ac_status=$?
36409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36410 (exit $ac_status); }; }; then
36411 echo "$as_me:$LINENO: result: yes" >&5
36412 echo "${ECHO_T}yes" >&6
36413 cat >>confdefs.h <<\_ACEOF
36414 #define HAVE__VSNWPRINTF 1
36415 _ACEOF
36416
36417 else
36418 echo "$as_me: failed program was:" >&5
36419 sed 's/^/| /' conftest.$ac_ext >&5
36420
36421 echo "$as_me:$LINENO: result: no" >&5
36422 echo "${ECHO_T}no" >&6
36423 fi
36424 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
36425 fi
36426
36427 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
36428
36429 for ac_func in fnmatch
36430 do
36431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36432 echo "$as_me:$LINENO: checking for $ac_func" >&5
36433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36434 if eval "test \"\${$as_ac_var+set}\" = set"; then
36435 echo $ECHO_N "(cached) $ECHO_C" >&6
36436 else
36437 cat >conftest.$ac_ext <<_ACEOF
36438 /* confdefs.h. */
36439 _ACEOF
36440 cat confdefs.h >>conftest.$ac_ext
36441 cat >>conftest.$ac_ext <<_ACEOF
36442 /* end confdefs.h. */
36443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36445 #define $ac_func innocuous_$ac_func
36446
36447 /* System header to define __stub macros and hopefully few prototypes,
36448 which can conflict with char $ac_func (); below.
36449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36450 <limits.h> exists even on freestanding compilers. */
36451
36452 #ifdef __STDC__
36453 # include <limits.h>
36454 #else
36455 # include <assert.h>
36456 #endif
36457
36458 #undef $ac_func
36459
36460 /* Override any gcc2 internal prototype to avoid an error. */
36461 #ifdef __cplusplus
36462 extern "C"
36463 {
36464 #endif
36465 /* We use char because int might match the return type of a gcc2
36466 builtin and then its argument prototype would still apply. */
36467 char $ac_func ();
36468 /* The GNU C library defines this for functions which it implements
36469 to always fail with ENOSYS. Some functions are actually named
36470 something starting with __ and the normal name is an alias. */
36471 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36472 choke me
36473 #else
36474 char (*f) () = $ac_func;
36475 #endif
36476 #ifdef __cplusplus
36477 }
36478 #endif
36479
36480 int
36481 main ()
36482 {
36483 return f != $ac_func;
36484 ;
36485 return 0;
36486 }
36487 _ACEOF
36488 rm -f conftest.$ac_objext conftest$ac_exeext
36489 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36490 (eval $ac_link) 2>conftest.er1
36491 ac_status=$?
36492 grep -v '^ *+' conftest.er1 >conftest.err
36493 rm -f conftest.er1
36494 cat conftest.err >&5
36495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36496 (exit $ac_status); } &&
36497 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36499 (eval $ac_try) 2>&5
36500 ac_status=$?
36501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36502 (exit $ac_status); }; } &&
36503 { ac_try='test -s conftest$ac_exeext'
36504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36505 (eval $ac_try) 2>&5
36506 ac_status=$?
36507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36508 (exit $ac_status); }; }; then
36509 eval "$as_ac_var=yes"
36510 else
36511 echo "$as_me: failed program was:" >&5
36512 sed 's/^/| /' conftest.$ac_ext >&5
36513
36514 eval "$as_ac_var=no"
36515 fi
36516 rm -f conftest.err conftest.$ac_objext \
36517 conftest$ac_exeext conftest.$ac_ext
36518 fi
36519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36521 if test `eval echo '${'$as_ac_var'}'` = yes; then
36522 cat >>confdefs.h <<_ACEOF
36523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36524 _ACEOF
36525
36526 fi
36527 done
36528
36529 fi
36530
36531 if test "$wxUSE_FILE" = "yes"; then
36532
36533 for ac_func in fsync
36534 do
36535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36536 echo "$as_me:$LINENO: checking for $ac_func" >&5
36537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36538 if eval "test \"\${$as_ac_var+set}\" = set"; then
36539 echo $ECHO_N "(cached) $ECHO_C" >&6
36540 else
36541 cat >conftest.$ac_ext <<_ACEOF
36542 /* confdefs.h. */
36543 _ACEOF
36544 cat confdefs.h >>conftest.$ac_ext
36545 cat >>conftest.$ac_ext <<_ACEOF
36546 /* end confdefs.h. */
36547 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36548 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36549 #define $ac_func innocuous_$ac_func
36550
36551 /* System header to define __stub macros and hopefully few prototypes,
36552 which can conflict with char $ac_func (); below.
36553 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36554 <limits.h> exists even on freestanding compilers. */
36555
36556 #ifdef __STDC__
36557 # include <limits.h>
36558 #else
36559 # include <assert.h>
36560 #endif
36561
36562 #undef $ac_func
36563
36564 /* Override any gcc2 internal prototype to avoid an error. */
36565 #ifdef __cplusplus
36566 extern "C"
36567 {
36568 #endif
36569 /* We use char because int might match the return type of a gcc2
36570 builtin and then its argument prototype would still apply. */
36571 char $ac_func ();
36572 /* The GNU C library defines this for functions which it implements
36573 to always fail with ENOSYS. Some functions are actually named
36574 something starting with __ and the normal name is an alias. */
36575 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36576 choke me
36577 #else
36578 char (*f) () = $ac_func;
36579 #endif
36580 #ifdef __cplusplus
36581 }
36582 #endif
36583
36584 int
36585 main ()
36586 {
36587 return f != $ac_func;
36588 ;
36589 return 0;
36590 }
36591 _ACEOF
36592 rm -f conftest.$ac_objext conftest$ac_exeext
36593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36594 (eval $ac_link) 2>conftest.er1
36595 ac_status=$?
36596 grep -v '^ *+' conftest.er1 >conftest.err
36597 rm -f conftest.er1
36598 cat conftest.err >&5
36599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36600 (exit $ac_status); } &&
36601 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36603 (eval $ac_try) 2>&5
36604 ac_status=$?
36605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36606 (exit $ac_status); }; } &&
36607 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
36613 eval "$as_ac_var=yes"
36614 else
36615 echo "$as_me: failed program was:" >&5
36616 sed 's/^/| /' conftest.$ac_ext >&5
36617
36618 eval "$as_ac_var=no"
36619 fi
36620 rm -f conftest.err conftest.$ac_objext \
36621 conftest$ac_exeext conftest.$ac_ext
36622 fi
36623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36624 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36625 if test `eval echo '${'$as_ac_var'}'` = yes; then
36626 cat >>confdefs.h <<_ACEOF
36627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36628 _ACEOF
36629
36630 fi
36631 done
36632
36633 fi
36634
36635
36636 for ac_func in round
36637 do
36638 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36639 echo "$as_me:$LINENO: checking for $ac_func" >&5
36640 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36641 if eval "test \"\${$as_ac_var+set}\" = set"; then
36642 echo $ECHO_N "(cached) $ECHO_C" >&6
36643 else
36644 cat >conftest.$ac_ext <<_ACEOF
36645 /* confdefs.h. */
36646 _ACEOF
36647 cat confdefs.h >>conftest.$ac_ext
36648 cat >>conftest.$ac_ext <<_ACEOF
36649 /* end confdefs.h. */
36650 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36652 #define $ac_func innocuous_$ac_func
36653
36654 /* System header to define __stub macros and hopefully few prototypes,
36655 which can conflict with char $ac_func (); below.
36656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36657 <limits.h> exists even on freestanding compilers. */
36658
36659 #ifdef __STDC__
36660 # include <limits.h>
36661 #else
36662 # include <assert.h>
36663 #endif
36664
36665 #undef $ac_func
36666
36667 /* Override any gcc2 internal prototype to avoid an error. */
36668 #ifdef __cplusplus
36669 extern "C"
36670 {
36671 #endif
36672 /* We use char because int might match the return type of a gcc2
36673 builtin and then its argument prototype would still apply. */
36674 char $ac_func ();
36675 /* The GNU C library defines this for functions which it implements
36676 to always fail with ENOSYS. Some functions are actually named
36677 something starting with __ and the normal name is an alias. */
36678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36679 choke me
36680 #else
36681 char (*f) () = $ac_func;
36682 #endif
36683 #ifdef __cplusplus
36684 }
36685 #endif
36686
36687 int
36688 main ()
36689 {
36690 return f != $ac_func;
36691 ;
36692 return 0;
36693 }
36694 _ACEOF
36695 rm -f conftest.$ac_objext conftest$ac_exeext
36696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36697 (eval $ac_link) 2>conftest.er1
36698 ac_status=$?
36699 grep -v '^ *+' conftest.er1 >conftest.err
36700 rm -f conftest.er1
36701 cat conftest.err >&5
36702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36703 (exit $ac_status); } &&
36704 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36706 (eval $ac_try) 2>&5
36707 ac_status=$?
36708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36709 (exit $ac_status); }; } &&
36710 { ac_try='test -s conftest$ac_exeext'
36711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36712 (eval $ac_try) 2>&5
36713 ac_status=$?
36714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36715 (exit $ac_status); }; }; then
36716 eval "$as_ac_var=yes"
36717 else
36718 echo "$as_me: failed program was:" >&5
36719 sed 's/^/| /' conftest.$ac_ext >&5
36720
36721 eval "$as_ac_var=no"
36722 fi
36723 rm -f conftest.err conftest.$ac_objext \
36724 conftest$ac_exeext conftest.$ac_ext
36725 fi
36726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36727 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36728 if test `eval echo '${'$as_ac_var'}'` = yes; then
36729 cat >>confdefs.h <<_ACEOF
36730 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36731 _ACEOF
36732
36733 fi
36734 done
36735
36736 if test "$ac_cv_func_round" = yes; then
36737 echo "$as_me:$LINENO: checking whether round is declared" >&5
36738 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
36739 if test "${ac_cv_have_decl_round+set}" = set; then
36740 echo $ECHO_N "(cached) $ECHO_C" >&6
36741 else
36742 cat >conftest.$ac_ext <<_ACEOF
36743 /* confdefs.h. */
36744 _ACEOF
36745 cat confdefs.h >>conftest.$ac_ext
36746 cat >>conftest.$ac_ext <<_ACEOF
36747 /* end confdefs.h. */
36748 #include <math.h>
36749
36750 int
36751 main ()
36752 {
36753 #ifndef round
36754 char *p = (char *) round;
36755 #endif
36756
36757 ;
36758 return 0;
36759 }
36760 _ACEOF
36761 rm -f conftest.$ac_objext
36762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36763 (eval $ac_compile) 2>conftest.er1
36764 ac_status=$?
36765 grep -v '^ *+' conftest.er1 >conftest.err
36766 rm -f conftest.er1
36767 cat conftest.err >&5
36768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36769 (exit $ac_status); } &&
36770 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36772 (eval $ac_try) 2>&5
36773 ac_status=$?
36774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36775 (exit $ac_status); }; } &&
36776 { ac_try='test -s conftest.$ac_objext'
36777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36778 (eval $ac_try) 2>&5
36779 ac_status=$?
36780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36781 (exit $ac_status); }; }; then
36782 ac_cv_have_decl_round=yes
36783 else
36784 echo "$as_me: failed program was:" >&5
36785 sed 's/^/| /' conftest.$ac_ext >&5
36786
36787 ac_cv_have_decl_round=no
36788 fi
36789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36790 fi
36791 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
36792 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
36793 if test $ac_cv_have_decl_round = yes; then
36794
36795 cat >>confdefs.h <<_ACEOF
36796 #define HAVE_DECL_ROUND 1
36797 _ACEOF
36798
36799
36800 else
36801 cat >>confdefs.h <<_ACEOF
36802 #define HAVE_DECL_ROUND 0
36803 _ACEOF
36804
36805
36806 fi
36807
36808
36809 fi
36810
36811
36812 if test "$TOOLKIT" != "MSW"; then
36813
36814
36815
36816
36817
36818 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
36819 if test "${with_libiconv_prefix+set}" = set; then
36820 withval="$with_libiconv_prefix"
36821
36822 for dir in `echo "$withval" | tr : ' '`; do
36823 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36824 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36825 done
36826
36827 fi;
36828
36829 echo "$as_me:$LINENO: checking for iconv" >&5
36830 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
36831 if test "${am_cv_func_iconv+set}" = set; then
36832 echo $ECHO_N "(cached) $ECHO_C" >&6
36833 else
36834
36835 am_cv_func_iconv="no, consider installing GNU libiconv"
36836 am_cv_lib_iconv=no
36837 cat >conftest.$ac_ext <<_ACEOF
36838 /* confdefs.h. */
36839 _ACEOF
36840 cat confdefs.h >>conftest.$ac_ext
36841 cat >>conftest.$ac_ext <<_ACEOF
36842 /* end confdefs.h. */
36843 #include <stdlib.h>
36844 #include <iconv.h>
36845 int
36846 main ()
36847 {
36848 iconv_t cd = iconv_open("","");
36849 iconv(cd,NULL,NULL,NULL,NULL);
36850 iconv_close(cd);
36851 ;
36852 return 0;
36853 }
36854 _ACEOF
36855 rm -f conftest.$ac_objext conftest$ac_exeext
36856 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36857 (eval $ac_link) 2>conftest.er1
36858 ac_status=$?
36859 grep -v '^ *+' conftest.er1 >conftest.err
36860 rm -f conftest.er1
36861 cat conftest.err >&5
36862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36863 (exit $ac_status); } &&
36864 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36866 (eval $ac_try) 2>&5
36867 ac_status=$?
36868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36869 (exit $ac_status); }; } &&
36870 { ac_try='test -s conftest$ac_exeext'
36871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36872 (eval $ac_try) 2>&5
36873 ac_status=$?
36874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36875 (exit $ac_status); }; }; then
36876 am_cv_func_iconv=yes
36877 else
36878 echo "$as_me: failed program was:" >&5
36879 sed 's/^/| /' conftest.$ac_ext >&5
36880
36881 fi
36882 rm -f conftest.err conftest.$ac_objext \
36883 conftest$ac_exeext conftest.$ac_ext
36884 if test "$am_cv_func_iconv" != yes; then
36885 am_save_LIBS="$LIBS"
36886 LIBS="$LIBS -liconv"
36887 cat >conftest.$ac_ext <<_ACEOF
36888 /* confdefs.h. */
36889 _ACEOF
36890 cat confdefs.h >>conftest.$ac_ext
36891 cat >>conftest.$ac_ext <<_ACEOF
36892 /* end confdefs.h. */
36893 #include <stdlib.h>
36894 #include <iconv.h>
36895 int
36896 main ()
36897 {
36898 iconv_t cd = iconv_open("","");
36899 iconv(cd,NULL,NULL,NULL,NULL);
36900 iconv_close(cd);
36901 ;
36902 return 0;
36903 }
36904 _ACEOF
36905 rm -f conftest.$ac_objext conftest$ac_exeext
36906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36907 (eval $ac_link) 2>conftest.er1
36908 ac_status=$?
36909 grep -v '^ *+' conftest.er1 >conftest.err
36910 rm -f conftest.er1
36911 cat conftest.err >&5
36912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36913 (exit $ac_status); } &&
36914 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36916 (eval $ac_try) 2>&5
36917 ac_status=$?
36918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36919 (exit $ac_status); }; } &&
36920 { ac_try='test -s conftest$ac_exeext'
36921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36922 (eval $ac_try) 2>&5
36923 ac_status=$?
36924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36925 (exit $ac_status); }; }; then
36926 am_cv_lib_iconv=yes
36927 am_cv_func_iconv=yes
36928 else
36929 echo "$as_me: failed program was:" >&5
36930 sed 's/^/| /' conftest.$ac_ext >&5
36931
36932 fi
36933 rm -f conftest.err conftest.$ac_objext \
36934 conftest$ac_exeext conftest.$ac_ext
36935 LIBS="$am_save_LIBS"
36936 fi
36937
36938 fi
36939 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36940 echo "${ECHO_T}$am_cv_func_iconv" >&6
36941 if test "$am_cv_func_iconv" = yes; then
36942
36943 cat >>confdefs.h <<\_ACEOF
36944 #define HAVE_ICONV 1
36945 _ACEOF
36946
36947 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36948 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36949 if test "${wx_cv_func_iconv_const+set}" = set; then
36950 echo $ECHO_N "(cached) $ECHO_C" >&6
36951 else
36952 cat >conftest.$ac_ext <<_ACEOF
36953 /* confdefs.h. */
36954 _ACEOF
36955 cat confdefs.h >>conftest.$ac_ext
36956 cat >>conftest.$ac_ext <<_ACEOF
36957 /* end confdefs.h. */
36958
36959 #include <stdlib.h>
36960 #include <iconv.h>
36961 extern
36962 #ifdef __cplusplus
36963 "C"
36964 #endif
36965 #if defined(__STDC__) || defined(__cplusplus)
36966 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36967 #else
36968 size_t iconv();
36969 #endif
36970
36971 int
36972 main ()
36973 {
36974
36975 ;
36976 return 0;
36977 }
36978 _ACEOF
36979 rm -f conftest.$ac_objext
36980 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36981 (eval $ac_compile) 2>conftest.er1
36982 ac_status=$?
36983 grep -v '^ *+' conftest.er1 >conftest.err
36984 rm -f conftest.er1
36985 cat conftest.err >&5
36986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36987 (exit $ac_status); } &&
36988 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36990 (eval $ac_try) 2>&5
36991 ac_status=$?
36992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36993 (exit $ac_status); }; } &&
36994 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
37000 wx_cv_func_iconv_const="no"
37001 else
37002 echo "$as_me: failed program was:" >&5
37003 sed 's/^/| /' conftest.$ac_ext >&5
37004
37005 wx_cv_func_iconv_const="yes"
37006
37007 fi
37008 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37009
37010 fi
37011 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
37012 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
37013
37014 iconv_const=
37015 if test "x$wx_cv_func_iconv_const" = "xyes"; then
37016 iconv_const="const"
37017 fi
37018
37019
37020 cat >>confdefs.h <<_ACEOF
37021 #define ICONV_CONST $iconv_const
37022 _ACEOF
37023
37024 fi
37025 LIBICONV=
37026 if test "$am_cv_lib_iconv" = yes; then
37027 LIBICONV="-liconv"
37028 fi
37029
37030
37031 LIBS="$LIBICONV $LIBS"
37032
37033 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37034
37035 for ac_func in sigaction
37036 do
37037 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37038 echo "$as_me:$LINENO: checking for $ac_func" >&5
37039 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37040 if eval "test \"\${$as_ac_var+set}\" = set"; then
37041 echo $ECHO_N "(cached) $ECHO_C" >&6
37042 else
37043 cat >conftest.$ac_ext <<_ACEOF
37044 /* confdefs.h. */
37045 _ACEOF
37046 cat confdefs.h >>conftest.$ac_ext
37047 cat >>conftest.$ac_ext <<_ACEOF
37048 /* end confdefs.h. */
37049 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37050 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37051 #define $ac_func innocuous_$ac_func
37052
37053 /* System header to define __stub macros and hopefully few prototypes,
37054 which can conflict with char $ac_func (); below.
37055 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37056 <limits.h> exists even on freestanding compilers. */
37057
37058 #ifdef __STDC__
37059 # include <limits.h>
37060 #else
37061 # include <assert.h>
37062 #endif
37063
37064 #undef $ac_func
37065
37066 /* Override any gcc2 internal prototype to avoid an error. */
37067 #ifdef __cplusplus
37068 extern "C"
37069 {
37070 #endif
37071 /* We use char because int might match the return type of a gcc2
37072 builtin and then its argument prototype would still apply. */
37073 char $ac_func ();
37074 /* The GNU C library defines this for functions which it implements
37075 to always fail with ENOSYS. Some functions are actually named
37076 something starting with __ and the normal name is an alias. */
37077 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37078 choke me
37079 #else
37080 char (*f) () = $ac_func;
37081 #endif
37082 #ifdef __cplusplus
37083 }
37084 #endif
37085
37086 int
37087 main ()
37088 {
37089 return f != $ac_func;
37090 ;
37091 return 0;
37092 }
37093 _ACEOF
37094 rm -f conftest.$ac_objext conftest$ac_exeext
37095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37096 (eval $ac_link) 2>conftest.er1
37097 ac_status=$?
37098 grep -v '^ *+' conftest.er1 >conftest.err
37099 rm -f conftest.er1
37100 cat conftest.err >&5
37101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37102 (exit $ac_status); } &&
37103 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37105 (eval $ac_try) 2>&5
37106 ac_status=$?
37107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37108 (exit $ac_status); }; } &&
37109 { ac_try='test -s conftest$ac_exeext'
37110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37111 (eval $ac_try) 2>&5
37112 ac_status=$?
37113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37114 (exit $ac_status); }; }; then
37115 eval "$as_ac_var=yes"
37116 else
37117 echo "$as_me: failed program was:" >&5
37118 sed 's/^/| /' conftest.$ac_ext >&5
37119
37120 eval "$as_ac_var=no"
37121 fi
37122 rm -f conftest.err conftest.$ac_objext \
37123 conftest$ac_exeext conftest.$ac_ext
37124 fi
37125 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37126 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37127 if test `eval echo '${'$as_ac_var'}'` = yes; then
37128 cat >>confdefs.h <<_ACEOF
37129 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37130 _ACEOF
37131
37132 fi
37133 done
37134
37135
37136 if test "$ac_cv_func_sigaction" = "no"; then
37137 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
37138 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
37139 wxUSE_ON_FATAL_EXCEPTION=no
37140 fi
37141
37142 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
37143 echo "$as_me:$LINENO: checking for sa_handler type" >&5
37144 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
37145 if test "${wx_cv_type_sa_handler+set}" = set; then
37146 echo $ECHO_N "(cached) $ECHO_C" >&6
37147 else
37148
37149 cat >conftest.$ac_ext <<_ACEOF
37150 /* confdefs.h. */
37151 _ACEOF
37152 cat confdefs.h >>conftest.$ac_ext
37153 cat >>conftest.$ac_ext <<_ACEOF
37154 /* end confdefs.h. */
37155 #include <signal.h>
37156 int
37157 main ()
37158 {
37159
37160 extern void testSigHandler(int);
37161
37162 struct sigaction sa;
37163 sa.sa_handler = testSigHandler;
37164
37165 ;
37166 return 0;
37167 }
37168 _ACEOF
37169 rm -f conftest.$ac_objext
37170 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37171 (eval $ac_compile) 2>conftest.er1
37172 ac_status=$?
37173 grep -v '^ *+' conftest.er1 >conftest.err
37174 rm -f conftest.er1
37175 cat conftest.err >&5
37176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37177 (exit $ac_status); } &&
37178 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37180 (eval $ac_try) 2>&5
37181 ac_status=$?
37182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37183 (exit $ac_status); }; } &&
37184 { ac_try='test -s conftest.$ac_objext'
37185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37186 (eval $ac_try) 2>&5
37187 ac_status=$?
37188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37189 (exit $ac_status); }; }; then
37190
37191 wx_cv_type_sa_handler=int
37192
37193 else
37194 echo "$as_me: failed program was:" >&5
37195 sed 's/^/| /' conftest.$ac_ext >&5
37196
37197
37198 wx_cv_type_sa_handler=void
37199
37200 fi
37201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37202
37203 fi
37204 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
37205 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
37206
37207 cat >>confdefs.h <<_ACEOF
37208 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
37209 _ACEOF
37210
37211 fi
37212 fi
37213
37214 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
37215 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
37216 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
37217 if test "${wx_cv_func_backtrace+set}" = set; then
37218 echo $ECHO_N "(cached) $ECHO_C" >&6
37219 else
37220
37221 cat >conftest.$ac_ext <<_ACEOF
37222 /* confdefs.h. */
37223 _ACEOF
37224 cat confdefs.h >>conftest.$ac_ext
37225 cat >>conftest.$ac_ext <<_ACEOF
37226 /* end confdefs.h. */
37227 #include <execinfo.h>
37228 int
37229 main ()
37230 {
37231
37232 void *trace[1];
37233 char **messages;
37234
37235 backtrace(trace, 1);
37236 messages = backtrace_symbols(trace, 1);
37237
37238 ;
37239 return 0;
37240 }
37241 _ACEOF
37242 rm -f conftest.$ac_objext
37243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37244 (eval $ac_compile) 2>conftest.er1
37245 ac_status=$?
37246 grep -v '^ *+' conftest.er1 >conftest.err
37247 rm -f conftest.er1
37248 cat conftest.err >&5
37249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37250 (exit $ac_status); } &&
37251 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37253 (eval $ac_try) 2>&5
37254 ac_status=$?
37255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37256 (exit $ac_status); }; } &&
37257 { ac_try='test -s conftest.$ac_objext'
37258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37259 (eval $ac_try) 2>&5
37260 ac_status=$?
37261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37262 (exit $ac_status); }; }; then
37263 wx_cv_func_backtrace=yes
37264 else
37265 echo "$as_me: failed program was:" >&5
37266 sed 's/^/| /' conftest.$ac_ext >&5
37267
37268 wx_cv_func_backtrace=no
37269
37270 fi
37271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37272
37273
37274 fi
37275 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
37276 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
37277
37278
37279 if test "$wx_cv_func_backtrace" = "no"; then
37280 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
37281 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
37282 wxUSE_STACKWALKER=no
37283 else
37284 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
37285 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
37286 if test "${wx_cv_func_cxa_demangle+set}" = set; then
37287 echo $ECHO_N "(cached) $ECHO_C" >&6
37288 else
37289
37290 cat >conftest.$ac_ext <<_ACEOF
37291 /* confdefs.h. */
37292 _ACEOF
37293 cat confdefs.h >>conftest.$ac_ext
37294 cat >>conftest.$ac_ext <<_ACEOF
37295 /* end confdefs.h. */
37296 #include <cxxabi.h>
37297 int
37298 main ()
37299 {
37300
37301 int rc;
37302 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
37303
37304 ;
37305 return 0;
37306 }
37307 _ACEOF
37308 rm -f conftest.$ac_objext conftest$ac_exeext
37309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37310 (eval $ac_link) 2>conftest.er1
37311 ac_status=$?
37312 grep -v '^ *+' conftest.er1 >conftest.err
37313 rm -f conftest.er1
37314 cat conftest.err >&5
37315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37316 (exit $ac_status); } &&
37317 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37319 (eval $ac_try) 2>&5
37320 ac_status=$?
37321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37322 (exit $ac_status); }; } &&
37323 { ac_try='test -s conftest$ac_exeext'
37324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37325 (eval $ac_try) 2>&5
37326 ac_status=$?
37327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37328 (exit $ac_status); }; }; then
37329 wx_cv_func_cxa_demangle=yes
37330 else
37331 echo "$as_me: failed program was:" >&5
37332 sed 's/^/| /' conftest.$ac_ext >&5
37333
37334 wx_cv_func_cxa_demangle=no
37335
37336 fi
37337 rm -f conftest.err conftest.$ac_objext \
37338 conftest$ac_exeext conftest.$ac_ext
37339
37340
37341 fi
37342 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
37343 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
37344
37345 if test "$wx_cv_func_cxa_demangle" = "yes"; then
37346 cat >>confdefs.h <<\_ACEOF
37347 #define HAVE_CXA_DEMANGLE 1
37348 _ACEOF
37349
37350 fi
37351 fi
37352 fi
37353
37354 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
37355 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
37356 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
37357 wxUSE_STACKWALKER=no
37358 fi
37359
37360
37361
37362
37363 for ac_func in mkstemp mktemp
37364 do
37365 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37366 echo "$as_me:$LINENO: checking for $ac_func" >&5
37367 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37368 if eval "test \"\${$as_ac_var+set}\" = set"; then
37369 echo $ECHO_N "(cached) $ECHO_C" >&6
37370 else
37371 cat >conftest.$ac_ext <<_ACEOF
37372 /* confdefs.h. */
37373 _ACEOF
37374 cat confdefs.h >>conftest.$ac_ext
37375 cat >>conftest.$ac_ext <<_ACEOF
37376 /* end confdefs.h. */
37377 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37378 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37379 #define $ac_func innocuous_$ac_func
37380
37381 /* System header to define __stub macros and hopefully few prototypes,
37382 which can conflict with char $ac_func (); below.
37383 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37384 <limits.h> exists even on freestanding compilers. */
37385
37386 #ifdef __STDC__
37387 # include <limits.h>
37388 #else
37389 # include <assert.h>
37390 #endif
37391
37392 #undef $ac_func
37393
37394 /* Override any gcc2 internal prototype to avoid an error. */
37395 #ifdef __cplusplus
37396 extern "C"
37397 {
37398 #endif
37399 /* We use char because int might match the return type of a gcc2
37400 builtin and then its argument prototype would still apply. */
37401 char $ac_func ();
37402 /* The GNU C library defines this for functions which it implements
37403 to always fail with ENOSYS. Some functions are actually named
37404 something starting with __ and the normal name is an alias. */
37405 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37406 choke me
37407 #else
37408 char (*f) () = $ac_func;
37409 #endif
37410 #ifdef __cplusplus
37411 }
37412 #endif
37413
37414 int
37415 main ()
37416 {
37417 return f != $ac_func;
37418 ;
37419 return 0;
37420 }
37421 _ACEOF
37422 rm -f conftest.$ac_objext conftest$ac_exeext
37423 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37424 (eval $ac_link) 2>conftest.er1
37425 ac_status=$?
37426 grep -v '^ *+' conftest.er1 >conftest.err
37427 rm -f conftest.er1
37428 cat conftest.err >&5
37429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37430 (exit $ac_status); } &&
37431 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37433 (eval $ac_try) 2>&5
37434 ac_status=$?
37435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37436 (exit $ac_status); }; } &&
37437 { ac_try='test -s conftest$ac_exeext'
37438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37439 (eval $ac_try) 2>&5
37440 ac_status=$?
37441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37442 (exit $ac_status); }; }; then
37443 eval "$as_ac_var=yes"
37444 else
37445 echo "$as_me: failed program was:" >&5
37446 sed 's/^/| /' conftest.$ac_ext >&5
37447
37448 eval "$as_ac_var=no"
37449 fi
37450 rm -f conftest.err conftest.$ac_objext \
37451 conftest$ac_exeext conftest.$ac_ext
37452 fi
37453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37455 if test `eval echo '${'$as_ac_var'}'` = yes; then
37456 cat >>confdefs.h <<_ACEOF
37457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37458 _ACEOF
37459 break
37460 fi
37461 done
37462
37463
37464 echo "$as_me:$LINENO: checking for statfs" >&5
37465 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
37466 if test "${wx_cv_func_statfs+set}" = set; then
37467 echo $ECHO_N "(cached) $ECHO_C" >&6
37468 else
37469 cat >conftest.$ac_ext <<_ACEOF
37470 /* confdefs.h. */
37471 _ACEOF
37472 cat confdefs.h >>conftest.$ac_ext
37473 cat >>conftest.$ac_ext <<_ACEOF
37474 /* end confdefs.h. */
37475
37476 #if defined(__BSD__)
37477 #include <sys/param.h>
37478 #include <sys/mount.h>
37479 #else
37480 #include <sys/vfs.h>
37481 #endif
37482
37483 int
37484 main ()
37485 {
37486
37487 long l;
37488 struct statfs fs;
37489 statfs("/", &fs);
37490 l = fs.f_bsize;
37491 l += fs.f_blocks;
37492 l += fs.f_bavail;
37493
37494 ;
37495 return 0;
37496 }
37497 _ACEOF
37498 rm -f conftest.$ac_objext
37499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37500 (eval $ac_compile) 2>conftest.er1
37501 ac_status=$?
37502 grep -v '^ *+' conftest.er1 >conftest.err
37503 rm -f conftest.er1
37504 cat conftest.err >&5
37505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37506 (exit $ac_status); } &&
37507 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37509 (eval $ac_try) 2>&5
37510 ac_status=$?
37511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37512 (exit $ac_status); }; } &&
37513 { ac_try='test -s conftest.$ac_objext'
37514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37515 (eval $ac_try) 2>&5
37516 ac_status=$?
37517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37518 (exit $ac_status); }; }; then
37519 wx_cv_func_statfs=yes
37520 else
37521 echo "$as_me: failed program was:" >&5
37522 sed 's/^/| /' conftest.$ac_ext >&5
37523
37524 wx_cv_func_statfs=no
37525
37526 fi
37527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37528
37529 fi
37530 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
37531 echo "${ECHO_T}$wx_cv_func_statfs" >&6
37532
37533 if test "$wx_cv_func_statfs" = "yes"; then
37534 echo "$as_me:$LINENO: checking for statfs declaration" >&5
37535 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
37536 if test "${wx_cv_func_statfs_decl+set}" = set; then
37537 echo $ECHO_N "(cached) $ECHO_C" >&6
37538 else
37539 cat >conftest.$ac_ext <<_ACEOF
37540 /* confdefs.h. */
37541 _ACEOF
37542 cat confdefs.h >>conftest.$ac_ext
37543 cat >>conftest.$ac_ext <<_ACEOF
37544 /* end confdefs.h. */
37545
37546 #if defined(__BSD__)
37547 #include <sys/param.h>
37548 #include <sys/mount.h>
37549 #else
37550 #include <sys/vfs.h>
37551 #endif
37552
37553 int
37554 main ()
37555 {
37556
37557 struct statfs fs;
37558 statfs("", &fs);
37559
37560 ;
37561 return 0;
37562 }
37563 _ACEOF
37564 rm -f conftest.$ac_objext
37565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37566 (eval $ac_compile) 2>conftest.er1
37567 ac_status=$?
37568 grep -v '^ *+' conftest.er1 >conftest.err
37569 rm -f conftest.er1
37570 cat conftest.err >&5
37571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37572 (exit $ac_status); } &&
37573 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37575 (eval $ac_try) 2>&5
37576 ac_status=$?
37577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37578 (exit $ac_status); }; } &&
37579 { ac_try='test -s conftest.$ac_objext'
37580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37581 (eval $ac_try) 2>&5
37582 ac_status=$?
37583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37584 (exit $ac_status); }; }; then
37585 wx_cv_func_statfs_decl=yes
37586 else
37587 echo "$as_me: failed program was:" >&5
37588 sed 's/^/| /' conftest.$ac_ext >&5
37589
37590 wx_cv_func_statfs_decl=no
37591
37592 fi
37593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37594
37595 fi
37596 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
37597 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
37598
37599 if test "$wx_cv_func_statfs_decl" = "yes"; then
37600 cat >>confdefs.h <<\_ACEOF
37601 #define HAVE_STATFS_DECL 1
37602 _ACEOF
37603
37604 fi
37605
37606 wx_cv_type_statvfs_t="struct statfs"
37607 cat >>confdefs.h <<\_ACEOF
37608 #define HAVE_STATFS 1
37609 _ACEOF
37610
37611 else
37612 echo "$as_me:$LINENO: checking for statvfs" >&5
37613 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
37614 if test "${wx_cv_func_statvfs+set}" = set; then
37615 echo $ECHO_N "(cached) $ECHO_C" >&6
37616 else
37617 cat >conftest.$ac_ext <<_ACEOF
37618 /* confdefs.h. */
37619 _ACEOF
37620 cat confdefs.h >>conftest.$ac_ext
37621 cat >>conftest.$ac_ext <<_ACEOF
37622 /* end confdefs.h. */
37623
37624 #include <stddef.h>
37625 #include <sys/statvfs.h>
37626
37627 int
37628 main ()
37629 {
37630
37631 statvfs("/", NULL);
37632
37633 ;
37634 return 0;
37635 }
37636 _ACEOF
37637 rm -f conftest.$ac_objext
37638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37639 (eval $ac_compile) 2>conftest.er1
37640 ac_status=$?
37641 grep -v '^ *+' conftest.er1 >conftest.err
37642 rm -f conftest.er1
37643 cat conftest.err >&5
37644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37645 (exit $ac_status); } &&
37646 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37648 (eval $ac_try) 2>&5
37649 ac_status=$?
37650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37651 (exit $ac_status); }; } &&
37652 { ac_try='test -s conftest.$ac_objext'
37653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37654 (eval $ac_try) 2>&5
37655 ac_status=$?
37656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37657 (exit $ac_status); }; }; then
37658 wx_cv_func_statvfs=yes
37659 else
37660 echo "$as_me: failed program was:" >&5
37661 sed 's/^/| /' conftest.$ac_ext >&5
37662
37663 wx_cv_func_statvfs=no
37664
37665 fi
37666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37667
37668 fi
37669 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
37670 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
37671
37672 if test "$wx_cv_func_statvfs" = "yes"; then
37673 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
37674 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
37675 if test "${wx_cv_type_statvfs_t+set}" = set; then
37676 echo $ECHO_N "(cached) $ECHO_C" >&6
37677 else
37678 cat >conftest.$ac_ext <<_ACEOF
37679 /* confdefs.h. */
37680 _ACEOF
37681 cat confdefs.h >>conftest.$ac_ext
37682 cat >>conftest.$ac_ext <<_ACEOF
37683 /* end confdefs.h. */
37684
37685 #include <sys/statvfs.h>
37686
37687 int
37688 main ()
37689 {
37690
37691 long l;
37692 statvfs_t fs;
37693 statvfs("/", &fs);
37694 l = fs.f_bsize;
37695 l += fs.f_blocks;
37696 l += fs.f_bavail;
37697
37698 ;
37699 return 0;
37700 }
37701 _ACEOF
37702 rm -f conftest.$ac_objext
37703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37704 (eval $ac_compile) 2>conftest.er1
37705 ac_status=$?
37706 grep -v '^ *+' conftest.er1 >conftest.err
37707 rm -f conftest.er1
37708 cat conftest.err >&5
37709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37710 (exit $ac_status); } &&
37711 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37713 (eval $ac_try) 2>&5
37714 ac_status=$?
37715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37716 (exit $ac_status); }; } &&
37717 { ac_try='test -s conftest.$ac_objext'
37718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37719 (eval $ac_try) 2>&5
37720 ac_status=$?
37721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37722 (exit $ac_status); }; }; then
37723 wx_cv_type_statvfs_t=statvfs_t
37724 else
37725 echo "$as_me: failed program was:" >&5
37726 sed 's/^/| /' conftest.$ac_ext >&5
37727
37728
37729 cat >conftest.$ac_ext <<_ACEOF
37730 /* confdefs.h. */
37731 _ACEOF
37732 cat confdefs.h >>conftest.$ac_ext
37733 cat >>conftest.$ac_ext <<_ACEOF
37734 /* end confdefs.h. */
37735
37736 #include <sys/statvfs.h>
37737
37738 int
37739 main ()
37740 {
37741
37742 long l;
37743 struct statvfs fs;
37744 statvfs("/", &fs);
37745 l = fs.f_bsize;
37746 l += fs.f_blocks;
37747 l += fs.f_bavail;
37748
37749 ;
37750 return 0;
37751 }
37752 _ACEOF
37753 rm -f conftest.$ac_objext
37754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37755 (eval $ac_compile) 2>conftest.er1
37756 ac_status=$?
37757 grep -v '^ *+' conftest.er1 >conftest.err
37758 rm -f conftest.er1
37759 cat conftest.err >&5
37760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37761 (exit $ac_status); } &&
37762 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37764 (eval $ac_try) 2>&5
37765 ac_status=$?
37766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37767 (exit $ac_status); }; } &&
37768 { ac_try='test -s conftest.$ac_objext'
37769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37770 (eval $ac_try) 2>&5
37771 ac_status=$?
37772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37773 (exit $ac_status); }; }; then
37774 wx_cv_type_statvfs_t="struct statvfs"
37775 else
37776 echo "$as_me: failed program was:" >&5
37777 sed 's/^/| /' conftest.$ac_ext >&5
37778
37779 wx_cv_type_statvfs_t="unknown"
37780
37781 fi
37782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37783
37784
37785 fi
37786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37787
37788 fi
37789 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
37790 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
37791
37792 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37793 cat >>confdefs.h <<\_ACEOF
37794 #define HAVE_STATVFS 1
37795 _ACEOF
37796
37797 fi
37798 else
37799 wx_cv_type_statvfs_t="unknown"
37800 fi
37801 fi
37802
37803 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37804 cat >>confdefs.h <<_ACEOF
37805 #define WX_STATFS_T $wx_cv_type_statvfs_t
37806 _ACEOF
37807
37808 else
37809 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37810 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37811 fi
37812
37813 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37814
37815
37816 for ac_func in fcntl flock
37817 do
37818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37819 echo "$as_me:$LINENO: checking for $ac_func" >&5
37820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37821 if eval "test \"\${$as_ac_var+set}\" = set"; then
37822 echo $ECHO_N "(cached) $ECHO_C" >&6
37823 else
37824 cat >conftest.$ac_ext <<_ACEOF
37825 /* confdefs.h. */
37826 _ACEOF
37827 cat confdefs.h >>conftest.$ac_ext
37828 cat >>conftest.$ac_ext <<_ACEOF
37829 /* end confdefs.h. */
37830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37832 #define $ac_func innocuous_$ac_func
37833
37834 /* System header to define __stub macros and hopefully few prototypes,
37835 which can conflict with char $ac_func (); below.
37836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37837 <limits.h> exists even on freestanding compilers. */
37838
37839 #ifdef __STDC__
37840 # include <limits.h>
37841 #else
37842 # include <assert.h>
37843 #endif
37844
37845 #undef $ac_func
37846
37847 /* Override any gcc2 internal prototype to avoid an error. */
37848 #ifdef __cplusplus
37849 extern "C"
37850 {
37851 #endif
37852 /* We use char because int might match the return type of a gcc2
37853 builtin and then its argument prototype would still apply. */
37854 char $ac_func ();
37855 /* The GNU C library defines this for functions which it implements
37856 to always fail with ENOSYS. Some functions are actually named
37857 something starting with __ and the normal name is an alias. */
37858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37859 choke me
37860 #else
37861 char (*f) () = $ac_func;
37862 #endif
37863 #ifdef __cplusplus
37864 }
37865 #endif
37866
37867 int
37868 main ()
37869 {
37870 return f != $ac_func;
37871 ;
37872 return 0;
37873 }
37874 _ACEOF
37875 rm -f conftest.$ac_objext conftest$ac_exeext
37876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37877 (eval $ac_link) 2>conftest.er1
37878 ac_status=$?
37879 grep -v '^ *+' conftest.er1 >conftest.err
37880 rm -f conftest.er1
37881 cat conftest.err >&5
37882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37883 (exit $ac_status); } &&
37884 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37886 (eval $ac_try) 2>&5
37887 ac_status=$?
37888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37889 (exit $ac_status); }; } &&
37890 { ac_try='test -s conftest$ac_exeext'
37891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37892 (eval $ac_try) 2>&5
37893 ac_status=$?
37894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37895 (exit $ac_status); }; }; then
37896 eval "$as_ac_var=yes"
37897 else
37898 echo "$as_me: failed program was:" >&5
37899 sed 's/^/| /' conftest.$ac_ext >&5
37900
37901 eval "$as_ac_var=no"
37902 fi
37903 rm -f conftest.err conftest.$ac_objext \
37904 conftest$ac_exeext conftest.$ac_ext
37905 fi
37906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37908 if test `eval echo '${'$as_ac_var'}'` = yes; then
37909 cat >>confdefs.h <<_ACEOF
37910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37911 _ACEOF
37912 break
37913 fi
37914 done
37915
37916
37917 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37918 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37919 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37920 wxUSE_SNGLINST_CHECKER=no
37921 fi
37922 fi
37923
37924
37925 for ac_func in timegm
37926 do
37927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37928 echo "$as_me:$LINENO: checking for $ac_func" >&5
37929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37930 if eval "test \"\${$as_ac_var+set}\" = set"; then
37931 echo $ECHO_N "(cached) $ECHO_C" >&6
37932 else
37933 cat >conftest.$ac_ext <<_ACEOF
37934 /* confdefs.h. */
37935 _ACEOF
37936 cat confdefs.h >>conftest.$ac_ext
37937 cat >>conftest.$ac_ext <<_ACEOF
37938 /* end confdefs.h. */
37939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37941 #define $ac_func innocuous_$ac_func
37942
37943 /* System header to define __stub macros and hopefully few prototypes,
37944 which can conflict with char $ac_func (); below.
37945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37946 <limits.h> exists even on freestanding compilers. */
37947
37948 #ifdef __STDC__
37949 # include <limits.h>
37950 #else
37951 # include <assert.h>
37952 #endif
37953
37954 #undef $ac_func
37955
37956 /* Override any gcc2 internal prototype to avoid an error. */
37957 #ifdef __cplusplus
37958 extern "C"
37959 {
37960 #endif
37961 /* We use char because int might match the return type of a gcc2
37962 builtin and then its argument prototype would still apply. */
37963 char $ac_func ();
37964 /* The GNU C library defines this for functions which it implements
37965 to always fail with ENOSYS. Some functions are actually named
37966 something starting with __ and the normal name is an alias. */
37967 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37968 choke me
37969 #else
37970 char (*f) () = $ac_func;
37971 #endif
37972 #ifdef __cplusplus
37973 }
37974 #endif
37975
37976 int
37977 main ()
37978 {
37979 return f != $ac_func;
37980 ;
37981 return 0;
37982 }
37983 _ACEOF
37984 rm -f conftest.$ac_objext conftest$ac_exeext
37985 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37986 (eval $ac_link) 2>conftest.er1
37987 ac_status=$?
37988 grep -v '^ *+' conftest.er1 >conftest.err
37989 rm -f conftest.er1
37990 cat conftest.err >&5
37991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37992 (exit $ac_status); } &&
37993 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37995 (eval $ac_try) 2>&5
37996 ac_status=$?
37997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37998 (exit $ac_status); }; } &&
37999 { ac_try='test -s conftest$ac_exeext'
38000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38001 (eval $ac_try) 2>&5
38002 ac_status=$?
38003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38004 (exit $ac_status); }; }; then
38005 eval "$as_ac_var=yes"
38006 else
38007 echo "$as_me: failed program was:" >&5
38008 sed 's/^/| /' conftest.$ac_ext >&5
38009
38010 eval "$as_ac_var=no"
38011 fi
38012 rm -f conftest.err conftest.$ac_objext \
38013 conftest$ac_exeext conftest.$ac_ext
38014 fi
38015 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38016 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38017 if test `eval echo '${'$as_ac_var'}'` = yes; then
38018 cat >>confdefs.h <<_ACEOF
38019 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38020 _ACEOF
38021
38022 fi
38023 done
38024
38025
38026
38027
38028 for ac_func in putenv setenv
38029 do
38030 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38031 echo "$as_me:$LINENO: checking for $ac_func" >&5
38032 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38033 if eval "test \"\${$as_ac_var+set}\" = set"; then
38034 echo $ECHO_N "(cached) $ECHO_C" >&6
38035 else
38036 cat >conftest.$ac_ext <<_ACEOF
38037 /* confdefs.h. */
38038 _ACEOF
38039 cat confdefs.h >>conftest.$ac_ext
38040 cat >>conftest.$ac_ext <<_ACEOF
38041 /* end confdefs.h. */
38042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38044 #define $ac_func innocuous_$ac_func
38045
38046 /* System header to define __stub macros and hopefully few prototypes,
38047 which can conflict with char $ac_func (); below.
38048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38049 <limits.h> exists even on freestanding compilers. */
38050
38051 #ifdef __STDC__
38052 # include <limits.h>
38053 #else
38054 # include <assert.h>
38055 #endif
38056
38057 #undef $ac_func
38058
38059 /* Override any gcc2 internal prototype to avoid an error. */
38060 #ifdef __cplusplus
38061 extern "C"
38062 {
38063 #endif
38064 /* We use char because int might match the return type of a gcc2
38065 builtin and then its argument prototype would still apply. */
38066 char $ac_func ();
38067 /* The GNU C library defines this for functions which it implements
38068 to always fail with ENOSYS. Some functions are actually named
38069 something starting with __ and the normal name is an alias. */
38070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38071 choke me
38072 #else
38073 char (*f) () = $ac_func;
38074 #endif
38075 #ifdef __cplusplus
38076 }
38077 #endif
38078
38079 int
38080 main ()
38081 {
38082 return f != $ac_func;
38083 ;
38084 return 0;
38085 }
38086 _ACEOF
38087 rm -f conftest.$ac_objext conftest$ac_exeext
38088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38089 (eval $ac_link) 2>conftest.er1
38090 ac_status=$?
38091 grep -v '^ *+' conftest.er1 >conftest.err
38092 rm -f conftest.er1
38093 cat conftest.err >&5
38094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38095 (exit $ac_status); } &&
38096 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38098 (eval $ac_try) 2>&5
38099 ac_status=$?
38100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38101 (exit $ac_status); }; } &&
38102 { ac_try='test -s conftest$ac_exeext'
38103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38104 (eval $ac_try) 2>&5
38105 ac_status=$?
38106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38107 (exit $ac_status); }; }; then
38108 eval "$as_ac_var=yes"
38109 else
38110 echo "$as_me: failed program was:" >&5
38111 sed 's/^/| /' conftest.$ac_ext >&5
38112
38113 eval "$as_ac_var=no"
38114 fi
38115 rm -f conftest.err conftest.$ac_objext \
38116 conftest$ac_exeext conftest.$ac_ext
38117 fi
38118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38120 if test `eval echo '${'$as_ac_var'}'` = yes; then
38121 cat >>confdefs.h <<_ACEOF
38122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38123 _ACEOF
38124 break
38125 fi
38126 done
38127
38128
38129 HAVE_SOME_SLEEP_FUNC=0
38130 if test "$USE_BEOS" = 1; then
38131 cat >>confdefs.h <<\_ACEOF
38132 #define HAVE_SLEEP 1
38133 _ACEOF
38134
38135 HAVE_SOME_SLEEP_FUNC=1
38136 fi
38137
38138 if test "$USE_DARWIN" = 1; then
38139 cat >>confdefs.h <<\_ACEOF
38140 #define HAVE_USLEEP 1
38141 _ACEOF
38142
38143 HAVE_SOME_SLEEP_FUNC=1
38144 fi
38145
38146 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
38147 POSIX4_LINK=
38148
38149 for ac_func in nanosleep
38150 do
38151 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38152 echo "$as_me:$LINENO: checking for $ac_func" >&5
38153 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38154 if eval "test \"\${$as_ac_var+set}\" = set"; then
38155 echo $ECHO_N "(cached) $ECHO_C" >&6
38156 else
38157 cat >conftest.$ac_ext <<_ACEOF
38158 /* confdefs.h. */
38159 _ACEOF
38160 cat confdefs.h >>conftest.$ac_ext
38161 cat >>conftest.$ac_ext <<_ACEOF
38162 /* end confdefs.h. */
38163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38165 #define $ac_func innocuous_$ac_func
38166
38167 /* System header to define __stub macros and hopefully few prototypes,
38168 which can conflict with char $ac_func (); below.
38169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38170 <limits.h> exists even on freestanding compilers. */
38171
38172 #ifdef __STDC__
38173 # include <limits.h>
38174 #else
38175 # include <assert.h>
38176 #endif
38177
38178 #undef $ac_func
38179
38180 /* Override any gcc2 internal prototype to avoid an error. */
38181 #ifdef __cplusplus
38182 extern "C"
38183 {
38184 #endif
38185 /* We use char because int might match the return type of a gcc2
38186 builtin and then its argument prototype would still apply. */
38187 char $ac_func ();
38188 /* The GNU C library defines this for functions which it implements
38189 to always fail with ENOSYS. Some functions are actually named
38190 something starting with __ and the normal name is an alias. */
38191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38192 choke me
38193 #else
38194 char (*f) () = $ac_func;
38195 #endif
38196 #ifdef __cplusplus
38197 }
38198 #endif
38199
38200 int
38201 main ()
38202 {
38203 return f != $ac_func;
38204 ;
38205 return 0;
38206 }
38207 _ACEOF
38208 rm -f conftest.$ac_objext conftest$ac_exeext
38209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38210 (eval $ac_link) 2>conftest.er1
38211 ac_status=$?
38212 grep -v '^ *+' conftest.er1 >conftest.err
38213 rm -f conftest.er1
38214 cat conftest.err >&5
38215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38216 (exit $ac_status); } &&
38217 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38219 (eval $ac_try) 2>&5
38220 ac_status=$?
38221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38222 (exit $ac_status); }; } &&
38223 { ac_try='test -s conftest$ac_exeext'
38224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38225 (eval $ac_try) 2>&5
38226 ac_status=$?
38227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38228 (exit $ac_status); }; }; then
38229 eval "$as_ac_var=yes"
38230 else
38231 echo "$as_me: failed program was:" >&5
38232 sed 's/^/| /' conftest.$ac_ext >&5
38233
38234 eval "$as_ac_var=no"
38235 fi
38236 rm -f conftest.err conftest.$ac_objext \
38237 conftest$ac_exeext conftest.$ac_ext
38238 fi
38239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38241 if test `eval echo '${'$as_ac_var'}'` = yes; then
38242 cat >>confdefs.h <<_ACEOF
38243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38244 _ACEOF
38245 cat >>confdefs.h <<\_ACEOF
38246 #define HAVE_NANOSLEEP 1
38247 _ACEOF
38248
38249 else
38250
38251 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
38252 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
38253 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
38254 echo $ECHO_N "(cached) $ECHO_C" >&6
38255 else
38256 ac_check_lib_save_LIBS=$LIBS
38257 LIBS="-lposix4 $LIBS"
38258 cat >conftest.$ac_ext <<_ACEOF
38259 /* confdefs.h. */
38260 _ACEOF
38261 cat confdefs.h >>conftest.$ac_ext
38262 cat >>conftest.$ac_ext <<_ACEOF
38263 /* end confdefs.h. */
38264
38265 /* Override any gcc2 internal prototype to avoid an error. */
38266 #ifdef __cplusplus
38267 extern "C"
38268 #endif
38269 /* We use char because int might match the return type of a gcc2
38270 builtin and then its argument prototype would still apply. */
38271 char nanosleep ();
38272 int
38273 main ()
38274 {
38275 nanosleep ();
38276 ;
38277 return 0;
38278 }
38279 _ACEOF
38280 rm -f conftest.$ac_objext conftest$ac_exeext
38281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38282 (eval $ac_link) 2>conftest.er1
38283 ac_status=$?
38284 grep -v '^ *+' conftest.er1 >conftest.err
38285 rm -f conftest.er1
38286 cat conftest.err >&5
38287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38288 (exit $ac_status); } &&
38289 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38291 (eval $ac_try) 2>&5
38292 ac_status=$?
38293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38294 (exit $ac_status); }; } &&
38295 { ac_try='test -s conftest$ac_exeext'
38296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38297 (eval $ac_try) 2>&5
38298 ac_status=$?
38299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38300 (exit $ac_status); }; }; then
38301 ac_cv_lib_posix4_nanosleep=yes
38302 else
38303 echo "$as_me: failed program was:" >&5
38304 sed 's/^/| /' conftest.$ac_ext >&5
38305
38306 ac_cv_lib_posix4_nanosleep=no
38307 fi
38308 rm -f conftest.err conftest.$ac_objext \
38309 conftest$ac_exeext conftest.$ac_ext
38310 LIBS=$ac_check_lib_save_LIBS
38311 fi
38312 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
38313 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
38314 if test $ac_cv_lib_posix4_nanosleep = yes; then
38315
38316 cat >>confdefs.h <<\_ACEOF
38317 #define HAVE_NANOSLEEP 1
38318 _ACEOF
38319
38320 POSIX4_LINK=" -lposix4"
38321
38322 else
38323
38324
38325 for ac_func in usleep
38326 do
38327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38328 echo "$as_me:$LINENO: checking for $ac_func" >&5
38329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38330 if eval "test \"\${$as_ac_var+set}\" = set"; then
38331 echo $ECHO_N "(cached) $ECHO_C" >&6
38332 else
38333 cat >conftest.$ac_ext <<_ACEOF
38334 /* confdefs.h. */
38335 _ACEOF
38336 cat confdefs.h >>conftest.$ac_ext
38337 cat >>conftest.$ac_ext <<_ACEOF
38338 /* end confdefs.h. */
38339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38341 #define $ac_func innocuous_$ac_func
38342
38343 /* System header to define __stub macros and hopefully few prototypes,
38344 which can conflict with char $ac_func (); below.
38345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38346 <limits.h> exists even on freestanding compilers. */
38347
38348 #ifdef __STDC__
38349 # include <limits.h>
38350 #else
38351 # include <assert.h>
38352 #endif
38353
38354 #undef $ac_func
38355
38356 /* Override any gcc2 internal prototype to avoid an error. */
38357 #ifdef __cplusplus
38358 extern "C"
38359 {
38360 #endif
38361 /* We use char because int might match the return type of a gcc2
38362 builtin and then its argument prototype would still apply. */
38363 char $ac_func ();
38364 /* The GNU C library defines this for functions which it implements
38365 to always fail with ENOSYS. Some functions are actually named
38366 something starting with __ and the normal name is an alias. */
38367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38368 choke me
38369 #else
38370 char (*f) () = $ac_func;
38371 #endif
38372 #ifdef __cplusplus
38373 }
38374 #endif
38375
38376 int
38377 main ()
38378 {
38379 return f != $ac_func;
38380 ;
38381 return 0;
38382 }
38383 _ACEOF
38384 rm -f conftest.$ac_objext conftest$ac_exeext
38385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38386 (eval $ac_link) 2>conftest.er1
38387 ac_status=$?
38388 grep -v '^ *+' conftest.er1 >conftest.err
38389 rm -f conftest.er1
38390 cat conftest.err >&5
38391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38392 (exit $ac_status); } &&
38393 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38395 (eval $ac_try) 2>&5
38396 ac_status=$?
38397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38398 (exit $ac_status); }; } &&
38399 { ac_try='test -s conftest$ac_exeext'
38400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38401 (eval $ac_try) 2>&5
38402 ac_status=$?
38403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38404 (exit $ac_status); }; }; then
38405 eval "$as_ac_var=yes"
38406 else
38407 echo "$as_me: failed program was:" >&5
38408 sed 's/^/| /' conftest.$ac_ext >&5
38409
38410 eval "$as_ac_var=no"
38411 fi
38412 rm -f conftest.err conftest.$ac_objext \
38413 conftest$ac_exeext conftest.$ac_ext
38414 fi
38415 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38416 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38417 if test `eval echo '${'$as_ac_var'}'` = yes; then
38418 cat >>confdefs.h <<_ACEOF
38419 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38420 _ACEOF
38421 cat >>confdefs.h <<\_ACEOF
38422 #define HAVE_USLEEP 1
38423 _ACEOF
38424
38425 else
38426 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
38427 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
38428
38429 fi
38430 done
38431
38432
38433
38434 fi
38435
38436
38437
38438 fi
38439 done
38440
38441 fi
38442
38443
38444
38445 for ac_func in uname gethostname
38446 do
38447 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38448 echo "$as_me:$LINENO: checking for $ac_func" >&5
38449 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38450 if eval "test \"\${$as_ac_var+set}\" = set"; then
38451 echo $ECHO_N "(cached) $ECHO_C" >&6
38452 else
38453 cat >conftest.$ac_ext <<_ACEOF
38454 /* confdefs.h. */
38455 _ACEOF
38456 cat confdefs.h >>conftest.$ac_ext
38457 cat >>conftest.$ac_ext <<_ACEOF
38458 /* end confdefs.h. */
38459 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38460 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38461 #define $ac_func innocuous_$ac_func
38462
38463 /* System header to define __stub macros and hopefully few prototypes,
38464 which can conflict with char $ac_func (); below.
38465 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38466 <limits.h> exists even on freestanding compilers. */
38467
38468 #ifdef __STDC__
38469 # include <limits.h>
38470 #else
38471 # include <assert.h>
38472 #endif
38473
38474 #undef $ac_func
38475
38476 /* Override any gcc2 internal prototype to avoid an error. */
38477 #ifdef __cplusplus
38478 extern "C"
38479 {
38480 #endif
38481 /* We use char because int might match the return type of a gcc2
38482 builtin and then its argument prototype would still apply. */
38483 char $ac_func ();
38484 /* The GNU C library defines this for functions which it implements
38485 to always fail with ENOSYS. Some functions are actually named
38486 something starting with __ and the normal name is an alias. */
38487 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38488 choke me
38489 #else
38490 char (*f) () = $ac_func;
38491 #endif
38492 #ifdef __cplusplus
38493 }
38494 #endif
38495
38496 int
38497 main ()
38498 {
38499 return f != $ac_func;
38500 ;
38501 return 0;
38502 }
38503 _ACEOF
38504 rm -f conftest.$ac_objext conftest$ac_exeext
38505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38506 (eval $ac_link) 2>conftest.er1
38507 ac_status=$?
38508 grep -v '^ *+' conftest.er1 >conftest.err
38509 rm -f conftest.er1
38510 cat conftest.err >&5
38511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38512 (exit $ac_status); } &&
38513 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38515 (eval $ac_try) 2>&5
38516 ac_status=$?
38517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38518 (exit $ac_status); }; } &&
38519 { ac_try='test -s conftest$ac_exeext'
38520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38521 (eval $ac_try) 2>&5
38522 ac_status=$?
38523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38524 (exit $ac_status); }; }; then
38525 eval "$as_ac_var=yes"
38526 else
38527 echo "$as_me: failed program was:" >&5
38528 sed 's/^/| /' conftest.$ac_ext >&5
38529
38530 eval "$as_ac_var=no"
38531 fi
38532 rm -f conftest.err conftest.$ac_objext \
38533 conftest$ac_exeext conftest.$ac_ext
38534 fi
38535 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38536 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38537 if test `eval echo '${'$as_ac_var'}'` = yes; then
38538 cat >>confdefs.h <<_ACEOF
38539 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38540 _ACEOF
38541 break
38542 fi
38543 done
38544
38545
38546
38547 for wx_func in strtok_r
38548 do
38549 echo "$as_me:$LINENO: checking for $wx_func" >&5
38550 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
38551 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
38552 echo $ECHO_N "(cached) $ECHO_C" >&6
38553 else
38554
38555 cat >conftest.$ac_ext <<_ACEOF
38556
38557 /* confdefs.h. */
38558 _ACEOF
38559 cat confdefs.h >>conftest.$ac_ext
38560 cat >>conftest.$ac_ext <<_ACEOF
38561 /* end confdefs.h. */
38562
38563 #define _REENTRANT
38564 $ac_includes_default
38565
38566 int
38567 main ()
38568 {
38569
38570 #ifndef $wx_func
38571 &$wx_func;
38572 #endif
38573
38574
38575 ;
38576 return 0;
38577 }
38578
38579 _ACEOF
38580 rm -f conftest.$ac_objext conftest$ac_exeext
38581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38582 (eval $ac_link) 2>conftest.er1
38583 ac_status=$?
38584 grep -v '^ *+' conftest.er1 >conftest.err
38585 rm -f conftest.er1
38586 cat conftest.err >&5
38587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38588 (exit $ac_status); } &&
38589 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38591 (eval $ac_try) 2>&5
38592 ac_status=$?
38593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38594 (exit $ac_status); }; } &&
38595 { ac_try='test -s conftest$ac_exeext'
38596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38597 (eval $ac_try) 2>&5
38598 ac_status=$?
38599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38600 (exit $ac_status); }; }; then
38601 eval wx_cv_func_$wx_func=yes
38602 else
38603 echo "$as_me: failed program was:" >&5
38604 sed 's/^/| /' conftest.$ac_ext >&5
38605
38606 eval wx_cv_func_$wx_func=no
38607 fi
38608 rm -f conftest.err conftest.$ac_objext \
38609 conftest$ac_exeext conftest.$ac_ext
38610
38611 fi
38612 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
38613 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
38614
38615 if eval test \$wx_cv_func_$wx_func = yes
38616 then
38617 cat >>confdefs.h <<_ACEOF
38618 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
38619 _ACEOF
38620
38621
38622 else
38623 :
38624
38625 fi
38626 done
38627
38628
38629 INET_LINK=
38630
38631 for ac_func in inet_addr
38632 do
38633 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38634 echo "$as_me:$LINENO: checking for $ac_func" >&5
38635 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38636 if eval "test \"\${$as_ac_var+set}\" = set"; then
38637 echo $ECHO_N "(cached) $ECHO_C" >&6
38638 else
38639 cat >conftest.$ac_ext <<_ACEOF
38640 /* confdefs.h. */
38641 _ACEOF
38642 cat confdefs.h >>conftest.$ac_ext
38643 cat >>conftest.$ac_ext <<_ACEOF
38644 /* end confdefs.h. */
38645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38647 #define $ac_func innocuous_$ac_func
38648
38649 /* System header to define __stub macros and hopefully few prototypes,
38650 which can conflict with char $ac_func (); below.
38651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38652 <limits.h> exists even on freestanding compilers. */
38653
38654 #ifdef __STDC__
38655 # include <limits.h>
38656 #else
38657 # include <assert.h>
38658 #endif
38659
38660 #undef $ac_func
38661
38662 /* Override any gcc2 internal prototype to avoid an error. */
38663 #ifdef __cplusplus
38664 extern "C"
38665 {
38666 #endif
38667 /* We use char because int might match the return type of a gcc2
38668 builtin and then its argument prototype would still apply. */
38669 char $ac_func ();
38670 /* The GNU C library defines this for functions which it implements
38671 to always fail with ENOSYS. Some functions are actually named
38672 something starting with __ and the normal name is an alias. */
38673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38674 choke me
38675 #else
38676 char (*f) () = $ac_func;
38677 #endif
38678 #ifdef __cplusplus
38679 }
38680 #endif
38681
38682 int
38683 main ()
38684 {
38685 return f != $ac_func;
38686 ;
38687 return 0;
38688 }
38689 _ACEOF
38690 rm -f conftest.$ac_objext conftest$ac_exeext
38691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38692 (eval $ac_link) 2>conftest.er1
38693 ac_status=$?
38694 grep -v '^ *+' conftest.er1 >conftest.err
38695 rm -f conftest.er1
38696 cat conftest.err >&5
38697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38698 (exit $ac_status); } &&
38699 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38701 (eval $ac_try) 2>&5
38702 ac_status=$?
38703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38704 (exit $ac_status); }; } &&
38705 { ac_try='test -s conftest$ac_exeext'
38706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38707 (eval $ac_try) 2>&5
38708 ac_status=$?
38709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38710 (exit $ac_status); }; }; then
38711 eval "$as_ac_var=yes"
38712 else
38713 echo "$as_me: failed program was:" >&5
38714 sed 's/^/| /' conftest.$ac_ext >&5
38715
38716 eval "$as_ac_var=no"
38717 fi
38718 rm -f conftest.err conftest.$ac_objext \
38719 conftest$ac_exeext conftest.$ac_ext
38720 fi
38721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38723 if test `eval echo '${'$as_ac_var'}'` = yes; then
38724 cat >>confdefs.h <<_ACEOF
38725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38726 _ACEOF
38727 cat >>confdefs.h <<\_ACEOF
38728 #define HAVE_INET_ADDR 1
38729 _ACEOF
38730
38731 else
38732
38733 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
38734 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
38735 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
38736 echo $ECHO_N "(cached) $ECHO_C" >&6
38737 else
38738 ac_check_lib_save_LIBS=$LIBS
38739 LIBS="-lnsl $LIBS"
38740 cat >conftest.$ac_ext <<_ACEOF
38741 /* confdefs.h. */
38742 _ACEOF
38743 cat confdefs.h >>conftest.$ac_ext
38744 cat >>conftest.$ac_ext <<_ACEOF
38745 /* end confdefs.h. */
38746
38747 /* Override any gcc2 internal prototype to avoid an error. */
38748 #ifdef __cplusplus
38749 extern "C"
38750 #endif
38751 /* We use char because int might match the return type of a gcc2
38752 builtin and then its argument prototype would still apply. */
38753 char inet_addr ();
38754 int
38755 main ()
38756 {
38757 inet_addr ();
38758 ;
38759 return 0;
38760 }
38761 _ACEOF
38762 rm -f conftest.$ac_objext conftest$ac_exeext
38763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38764 (eval $ac_link) 2>conftest.er1
38765 ac_status=$?
38766 grep -v '^ *+' conftest.er1 >conftest.err
38767 rm -f conftest.er1
38768 cat conftest.err >&5
38769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38770 (exit $ac_status); } &&
38771 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38773 (eval $ac_try) 2>&5
38774 ac_status=$?
38775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38776 (exit $ac_status); }; } &&
38777 { ac_try='test -s conftest$ac_exeext'
38778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38779 (eval $ac_try) 2>&5
38780 ac_status=$?
38781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38782 (exit $ac_status); }; }; then
38783 ac_cv_lib_nsl_inet_addr=yes
38784 else
38785 echo "$as_me: failed program was:" >&5
38786 sed 's/^/| /' conftest.$ac_ext >&5
38787
38788 ac_cv_lib_nsl_inet_addr=no
38789 fi
38790 rm -f conftest.err conftest.$ac_objext \
38791 conftest$ac_exeext conftest.$ac_ext
38792 LIBS=$ac_check_lib_save_LIBS
38793 fi
38794 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
38795 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
38796 if test $ac_cv_lib_nsl_inet_addr = yes; then
38797 INET_LINK="nsl"
38798 else
38799
38800 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38801 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
38802 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38803 echo $ECHO_N "(cached) $ECHO_C" >&6
38804 else
38805 ac_check_lib_save_LIBS=$LIBS
38806 LIBS="-lresolv $LIBS"
38807 cat >conftest.$ac_ext <<_ACEOF
38808 /* confdefs.h. */
38809 _ACEOF
38810 cat confdefs.h >>conftest.$ac_ext
38811 cat >>conftest.$ac_ext <<_ACEOF
38812 /* end confdefs.h. */
38813
38814 /* Override any gcc2 internal prototype to avoid an error. */
38815 #ifdef __cplusplus
38816 extern "C"
38817 #endif
38818 /* We use char because int might match the return type of a gcc2
38819 builtin and then its argument prototype would still apply. */
38820 char inet_addr ();
38821 int
38822 main ()
38823 {
38824 inet_addr ();
38825 ;
38826 return 0;
38827 }
38828 _ACEOF
38829 rm -f conftest.$ac_objext conftest$ac_exeext
38830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38831 (eval $ac_link) 2>conftest.er1
38832 ac_status=$?
38833 grep -v '^ *+' conftest.er1 >conftest.err
38834 rm -f conftest.er1
38835 cat conftest.err >&5
38836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38837 (exit $ac_status); } &&
38838 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38840 (eval $ac_try) 2>&5
38841 ac_status=$?
38842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38843 (exit $ac_status); }; } &&
38844 { ac_try='test -s conftest$ac_exeext'
38845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38846 (eval $ac_try) 2>&5
38847 ac_status=$?
38848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38849 (exit $ac_status); }; }; then
38850 ac_cv_lib_resolv_inet_addr=yes
38851 else
38852 echo "$as_me: failed program was:" >&5
38853 sed 's/^/| /' conftest.$ac_ext >&5
38854
38855 ac_cv_lib_resolv_inet_addr=no
38856 fi
38857 rm -f conftest.err conftest.$ac_objext \
38858 conftest$ac_exeext conftest.$ac_ext
38859 LIBS=$ac_check_lib_save_LIBS
38860 fi
38861 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38862 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38863 if test $ac_cv_lib_resolv_inet_addr = yes; then
38864 INET_LINK="resolv"
38865 else
38866
38867 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38868 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38869 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38870 echo $ECHO_N "(cached) $ECHO_C" >&6
38871 else
38872 ac_check_lib_save_LIBS=$LIBS
38873 LIBS="-lsocket $LIBS"
38874 cat >conftest.$ac_ext <<_ACEOF
38875 /* confdefs.h. */
38876 _ACEOF
38877 cat confdefs.h >>conftest.$ac_ext
38878 cat >>conftest.$ac_ext <<_ACEOF
38879 /* end confdefs.h. */
38880
38881 /* Override any gcc2 internal prototype to avoid an error. */
38882 #ifdef __cplusplus
38883 extern "C"
38884 #endif
38885 /* We use char because int might match the return type of a gcc2
38886 builtin and then its argument prototype would still apply. */
38887 char inet_addr ();
38888 int
38889 main ()
38890 {
38891 inet_addr ();
38892 ;
38893 return 0;
38894 }
38895 _ACEOF
38896 rm -f conftest.$ac_objext conftest$ac_exeext
38897 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38898 (eval $ac_link) 2>conftest.er1
38899 ac_status=$?
38900 grep -v '^ *+' conftest.er1 >conftest.err
38901 rm -f conftest.er1
38902 cat conftest.err >&5
38903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38904 (exit $ac_status); } &&
38905 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38907 (eval $ac_try) 2>&5
38908 ac_status=$?
38909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38910 (exit $ac_status); }; } &&
38911 { ac_try='test -s conftest$ac_exeext'
38912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38913 (eval $ac_try) 2>&5
38914 ac_status=$?
38915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38916 (exit $ac_status); }; }; then
38917 ac_cv_lib_socket_inet_addr=yes
38918 else
38919 echo "$as_me: failed program was:" >&5
38920 sed 's/^/| /' conftest.$ac_ext >&5
38921
38922 ac_cv_lib_socket_inet_addr=no
38923 fi
38924 rm -f conftest.err conftest.$ac_objext \
38925 conftest$ac_exeext conftest.$ac_ext
38926 LIBS=$ac_check_lib_save_LIBS
38927 fi
38928 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38929 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38930 if test $ac_cv_lib_socket_inet_addr = yes; then
38931 INET_LINK="socket"
38932
38933 fi
38934
38935
38936
38937 fi
38938
38939
38940
38941 fi
38942
38943
38944
38945 fi
38946 done
38947
38948
38949
38950 for ac_func in inet_aton
38951 do
38952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38953 echo "$as_me:$LINENO: checking for $ac_func" >&5
38954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38955 if eval "test \"\${$as_ac_var+set}\" = set"; then
38956 echo $ECHO_N "(cached) $ECHO_C" >&6
38957 else
38958 cat >conftest.$ac_ext <<_ACEOF
38959 /* confdefs.h. */
38960 _ACEOF
38961 cat confdefs.h >>conftest.$ac_ext
38962 cat >>conftest.$ac_ext <<_ACEOF
38963 /* end confdefs.h. */
38964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38966 #define $ac_func innocuous_$ac_func
38967
38968 /* System header to define __stub macros and hopefully few prototypes,
38969 which can conflict with char $ac_func (); below.
38970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38971 <limits.h> exists even on freestanding compilers. */
38972
38973 #ifdef __STDC__
38974 # include <limits.h>
38975 #else
38976 # include <assert.h>
38977 #endif
38978
38979 #undef $ac_func
38980
38981 /* Override any gcc2 internal prototype to avoid an error. */
38982 #ifdef __cplusplus
38983 extern "C"
38984 {
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 $ac_func ();
38989 /* The GNU C library defines this for functions which it implements
38990 to always fail with ENOSYS. Some functions are actually named
38991 something starting with __ and the normal name is an alias. */
38992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38993 choke me
38994 #else
38995 char (*f) () = $ac_func;
38996 #endif
38997 #ifdef __cplusplus
38998 }
38999 #endif
39000
39001 int
39002 main ()
39003 {
39004 return f != $ac_func;
39005 ;
39006 return 0;
39007 }
39008 _ACEOF
39009 rm -f conftest.$ac_objext conftest$ac_exeext
39010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39011 (eval $ac_link) 2>conftest.er1
39012 ac_status=$?
39013 grep -v '^ *+' conftest.er1 >conftest.err
39014 rm -f conftest.er1
39015 cat conftest.err >&5
39016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39017 (exit $ac_status); } &&
39018 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39020 (eval $ac_try) 2>&5
39021 ac_status=$?
39022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39023 (exit $ac_status); }; } &&
39024 { ac_try='test -s conftest$ac_exeext'
39025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39026 (eval $ac_try) 2>&5
39027 ac_status=$?
39028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39029 (exit $ac_status); }; }; then
39030 eval "$as_ac_var=yes"
39031 else
39032 echo "$as_me: failed program was:" >&5
39033 sed 's/^/| /' conftest.$ac_ext >&5
39034
39035 eval "$as_ac_var=no"
39036 fi
39037 rm -f conftest.err conftest.$ac_objext \
39038 conftest$ac_exeext conftest.$ac_ext
39039 fi
39040 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39041 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39042 if test `eval echo '${'$as_ac_var'}'` = yes; then
39043 cat >>confdefs.h <<_ACEOF
39044 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39045 _ACEOF
39046 cat >>confdefs.h <<\_ACEOF
39047 #define HAVE_INET_ATON 1
39048 _ACEOF
39049
39050 else
39051
39052 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
39053 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
39054 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
39055 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
39056 echo $ECHO_N "(cached) $ECHO_C" >&6
39057 else
39058 ac_check_lib_save_LIBS=$LIBS
39059 LIBS="-l$INET_LINK $LIBS"
39060 cat >conftest.$ac_ext <<_ACEOF
39061 /* confdefs.h. */
39062 _ACEOF
39063 cat confdefs.h >>conftest.$ac_ext
39064 cat >>conftest.$ac_ext <<_ACEOF
39065 /* end confdefs.h. */
39066
39067 /* Override any gcc2 internal prototype to avoid an error. */
39068 #ifdef __cplusplus
39069 extern "C"
39070 #endif
39071 /* We use char because int might match the return type of a gcc2
39072 builtin and then its argument prototype would still apply. */
39073 char inet_aton ();
39074 int
39075 main ()
39076 {
39077 inet_aton ();
39078 ;
39079 return 0;
39080 }
39081 _ACEOF
39082 rm -f conftest.$ac_objext conftest$ac_exeext
39083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39084 (eval $ac_link) 2>conftest.er1
39085 ac_status=$?
39086 grep -v '^ *+' conftest.er1 >conftest.err
39087 rm -f conftest.er1
39088 cat conftest.err >&5
39089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39090 (exit $ac_status); } &&
39091 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39093 (eval $ac_try) 2>&5
39094 ac_status=$?
39095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39096 (exit $ac_status); }; } &&
39097 { ac_try='test -s conftest$ac_exeext'
39098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39099 (eval $ac_try) 2>&5
39100 ac_status=$?
39101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39102 (exit $ac_status); }; }; then
39103 eval "$as_ac_Lib=yes"
39104 else
39105 echo "$as_me: failed program was:" >&5
39106 sed 's/^/| /' conftest.$ac_ext >&5
39107
39108 eval "$as_ac_Lib=no"
39109 fi
39110 rm -f conftest.err conftest.$ac_objext \
39111 conftest$ac_exeext conftest.$ac_ext
39112 LIBS=$ac_check_lib_save_LIBS
39113 fi
39114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
39115 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
39116 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
39117 cat >>confdefs.h <<\_ACEOF
39118 #define HAVE_INET_ATON 1
39119 _ACEOF
39120
39121 fi
39122
39123
39124 fi
39125 done
39126
39127
39128 if test "x$INET_LINK" != "x"; then
39129 cat >>confdefs.h <<\_ACEOF
39130 #define HAVE_INET_ADDR 1
39131 _ACEOF
39132
39133 INET_LINK=" -l$INET_LINK"
39134 fi
39135
39136
39137 for wx_func in fdopen
39138 do
39139 echo "$as_me:$LINENO: checking for $wx_func" >&5
39140 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
39141 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
39142 echo $ECHO_N "(cached) $ECHO_C" >&6
39143 else
39144
39145 cat >conftest.$ac_ext <<_ACEOF
39146
39147 /* confdefs.h. */
39148 _ACEOF
39149 cat confdefs.h >>conftest.$ac_ext
39150 cat >>conftest.$ac_ext <<_ACEOF
39151 /* end confdefs.h. */
39152
39153
39154 $ac_includes_default
39155
39156 int
39157 main ()
39158 {
39159
39160 #ifndef $wx_func
39161 &$wx_func;
39162 #endif
39163
39164
39165 ;
39166 return 0;
39167 }
39168
39169 _ACEOF
39170 rm -f conftest.$ac_objext conftest$ac_exeext
39171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39172 (eval $ac_link) 2>conftest.er1
39173 ac_status=$?
39174 grep -v '^ *+' conftest.er1 >conftest.err
39175 rm -f conftest.er1
39176 cat conftest.err >&5
39177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39178 (exit $ac_status); } &&
39179 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39181 (eval $ac_try) 2>&5
39182 ac_status=$?
39183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39184 (exit $ac_status); }; } &&
39185 { ac_try='test -s conftest$ac_exeext'
39186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39187 (eval $ac_try) 2>&5
39188 ac_status=$?
39189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39190 (exit $ac_status); }; }; then
39191 eval wx_cv_func_$wx_func=yes
39192 else
39193 echo "$as_me: failed program was:" >&5
39194 sed 's/^/| /' conftest.$ac_ext >&5
39195
39196 eval wx_cv_func_$wx_func=no
39197 fi
39198 rm -f conftest.err conftest.$ac_objext \
39199 conftest$ac_exeext conftest.$ac_ext
39200
39201 fi
39202 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
39203 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
39204
39205 if eval test \$wx_cv_func_$wx_func = yes
39206 then
39207 cat >>confdefs.h <<_ACEOF
39208 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
39209 _ACEOF
39210
39211
39212 else
39213 :
39214
39215 fi
39216 done
39217
39218
39219 fi
39220
39221
39222
39223
39224 EXTRALIBS_ESD=
39225 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
39226 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
39227 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
39228 echo $ECHO_N "(cached) $ECHO_C" >&6
39229 else
39230 ac_check_lib_save_LIBS=$LIBS
39231 LIBS="-lesd $LIBS"
39232 cat >conftest.$ac_ext <<_ACEOF
39233 /* confdefs.h. */
39234 _ACEOF
39235 cat confdefs.h >>conftest.$ac_ext
39236 cat >>conftest.$ac_ext <<_ACEOF
39237 /* end confdefs.h. */
39238
39239 /* Override any gcc2 internal prototype to avoid an error. */
39240 #ifdef __cplusplus
39241 extern "C"
39242 #endif
39243 /* We use char because int might match the return type of a gcc2
39244 builtin and then its argument prototype would still apply. */
39245 char esd_close ();
39246 int
39247 main ()
39248 {
39249 esd_close ();
39250 ;
39251 return 0;
39252 }
39253 _ACEOF
39254 rm -f conftest.$ac_objext conftest$ac_exeext
39255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39256 (eval $ac_link) 2>conftest.er1
39257 ac_status=$?
39258 grep -v '^ *+' conftest.er1 >conftest.err
39259 rm -f conftest.er1
39260 cat conftest.err >&5
39261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39262 (exit $ac_status); } &&
39263 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39265 (eval $ac_try) 2>&5
39266 ac_status=$?
39267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39268 (exit $ac_status); }; } &&
39269 { ac_try='test -s conftest$ac_exeext'
39270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39271 (eval $ac_try) 2>&5
39272 ac_status=$?
39273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39274 (exit $ac_status); }; }; then
39275 ac_cv_lib_esd_esd_close=yes
39276 else
39277 echo "$as_me: failed program was:" >&5
39278 sed 's/^/| /' conftest.$ac_ext >&5
39279
39280 ac_cv_lib_esd_esd_close=no
39281 fi
39282 rm -f conftest.err conftest.$ac_objext \
39283 conftest$ac_exeext conftest.$ac_ext
39284 LIBS=$ac_check_lib_save_LIBS
39285 fi
39286 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
39287 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
39288 if test $ac_cv_lib_esd_esd_close = yes; then
39289
39290
39291 for ac_header in esd.h
39292 do
39293 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39294 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39295 echo "$as_me:$LINENO: checking for $ac_header" >&5
39296 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39297 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39298 echo $ECHO_N "(cached) $ECHO_C" >&6
39299 fi
39300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39301 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39302 else
39303 # Is the header compilable?
39304 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39305 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39306 cat >conftest.$ac_ext <<_ACEOF
39307 /* confdefs.h. */
39308 _ACEOF
39309 cat confdefs.h >>conftest.$ac_ext
39310 cat >>conftest.$ac_ext <<_ACEOF
39311 /* end confdefs.h. */
39312 $ac_includes_default
39313 #include <$ac_header>
39314 _ACEOF
39315 rm -f conftest.$ac_objext
39316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39317 (eval $ac_compile) 2>conftest.er1
39318 ac_status=$?
39319 grep -v '^ *+' conftest.er1 >conftest.err
39320 rm -f conftest.er1
39321 cat conftest.err >&5
39322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39323 (exit $ac_status); } &&
39324 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39326 (eval $ac_try) 2>&5
39327 ac_status=$?
39328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39329 (exit $ac_status); }; } &&
39330 { ac_try='test -s conftest.$ac_objext'
39331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39332 (eval $ac_try) 2>&5
39333 ac_status=$?
39334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39335 (exit $ac_status); }; }; then
39336 ac_header_compiler=yes
39337 else
39338 echo "$as_me: failed program was:" >&5
39339 sed 's/^/| /' conftest.$ac_ext >&5
39340
39341 ac_header_compiler=no
39342 fi
39343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39344 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39345 echo "${ECHO_T}$ac_header_compiler" >&6
39346
39347 # Is the header present?
39348 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39349 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39350 cat >conftest.$ac_ext <<_ACEOF
39351 /* confdefs.h. */
39352 _ACEOF
39353 cat confdefs.h >>conftest.$ac_ext
39354 cat >>conftest.$ac_ext <<_ACEOF
39355 /* end confdefs.h. */
39356 #include <$ac_header>
39357 _ACEOF
39358 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39359 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39360 ac_status=$?
39361 grep -v '^ *+' conftest.er1 >conftest.err
39362 rm -f conftest.er1
39363 cat conftest.err >&5
39364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39365 (exit $ac_status); } >/dev/null; then
39366 if test -s conftest.err; then
39367 ac_cpp_err=$ac_cxx_preproc_warn_flag
39368 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39369 else
39370 ac_cpp_err=
39371 fi
39372 else
39373 ac_cpp_err=yes
39374 fi
39375 if test -z "$ac_cpp_err"; then
39376 ac_header_preproc=yes
39377 else
39378 echo "$as_me: failed program was:" >&5
39379 sed 's/^/| /' conftest.$ac_ext >&5
39380
39381 ac_header_preproc=no
39382 fi
39383 rm -f conftest.err conftest.$ac_ext
39384 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39385 echo "${ECHO_T}$ac_header_preproc" >&6
39386
39387 # So? What about this header?
39388 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39389 yes:no: )
39390 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39391 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39392 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39393 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39394 ac_header_preproc=yes
39395 ;;
39396 no:yes:* )
39397 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39398 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39399 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39400 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39401 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39402 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39403 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39404 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39405 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39406 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39407 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39408 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39409 (
39410 cat <<\_ASBOX
39411 ## ----------------------------------------- ##
39412 ## Report this to wx-dev@lists.wxwidgets.org ##
39413 ## ----------------------------------------- ##
39414 _ASBOX
39415 ) |
39416 sed "s/^/$as_me: WARNING: /" >&2
39417 ;;
39418 esac
39419 echo "$as_me:$LINENO: checking for $ac_header" >&5
39420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39421 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39422 echo $ECHO_N "(cached) $ECHO_C" >&6
39423 else
39424 eval "$as_ac_Header=\$ac_header_preproc"
39425 fi
39426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39427 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39428
39429 fi
39430 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39431 cat >>confdefs.h <<_ACEOF
39432 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39433 _ACEOF
39434
39435 EXTRALIBS_ESD="-lesd"
39436
39437 fi
39438
39439 done
39440
39441
39442 fi
39443
39444
39445
39446 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
39447 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
39448 cat >conftest.$ac_ext <<_ACEOF
39449 /* confdefs.h. */
39450 _ACEOF
39451 cat confdefs.h >>conftest.$ac_ext
39452 cat >>conftest.$ac_ext <<_ACEOF
39453 /* end confdefs.h. */
39454 #ifdef __linux__
39455 #include <linux/cdrom.h>
39456 #else
39457 /* For Solaris */
39458 #include <sys/cdio.h>
39459 #endif
39460
39461 int
39462 main ()
39463 {
39464 struct cdrom_tocentry entry, old_entry;
39465 ;
39466 return 0;
39467 }
39468 _ACEOF
39469 rm -f conftest.$ac_objext
39470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39471 (eval $ac_compile) 2>conftest.er1
39472 ac_status=$?
39473 grep -v '^ *+' conftest.er1 >conftest.err
39474 rm -f conftest.er1
39475 cat conftest.err >&5
39476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39477 (exit $ac_status); } &&
39478 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39480 (eval $ac_try) 2>&5
39481 ac_status=$?
39482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39483 (exit $ac_status); }; } &&
39484 { ac_try='test -s conftest.$ac_objext'
39485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39486 (eval $ac_try) 2>&5
39487 ac_status=$?
39488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39489 (exit $ac_status); }; }; then
39490 echo "$as_me:$LINENO: result: yes" >&5
39491 echo "${ECHO_T}yes" >&6
39492 cat >>confdefs.h <<\_ACEOF
39493 #define HAVE_KNOWN_CDROM_INTERFACE 1
39494 _ACEOF
39495
39496 else
39497 echo "$as_me: failed program was:" >&5
39498 sed 's/^/| /' conftest.$ac_ext >&5
39499
39500 echo "$as_me:$LINENO: result: no" >&5
39501 echo "${ECHO_T}no" >&6
39502 fi
39503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39504
39505
39506 cat >confcache <<\_ACEOF
39507 # This file is a shell script that caches the results of configure
39508 # tests run on this system so they can be shared between configure
39509 # scripts and configure runs, see configure's option --config-cache.
39510 # It is not useful on other systems. If it contains results you don't
39511 # want to keep, you may remove or edit it.
39512 #
39513 # config.status only pays attention to the cache file if you give it
39514 # the --recheck option to rerun configure.
39515 #
39516 # `ac_cv_env_foo' variables (set or unset) will be overridden when
39517 # loading this file, other *unset* `ac_cv_foo' will be assigned the
39518 # following values.
39519
39520 _ACEOF
39521
39522 # The following way of writing the cache mishandles newlines in values,
39523 # but we know of no workaround that is simple, portable, and efficient.
39524 # So, don't put newlines in cache variables' values.
39525 # Ultrix sh set writes to stderr and can't be redirected directly,
39526 # and sets the high bit in the cache file unless we assign to the vars.
39527 {
39528 (set) 2>&1 |
39529 case `(ac_space=' '; set | grep ac_space) 2>&1` in
39530 *ac_space=\ *)
39531 # `set' does not quote correctly, so add quotes (double-quote
39532 # substitution turns \\\\ into \\, and sed turns \\ into \).
39533 sed -n \
39534 "s/'/'\\\\''/g;
39535 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
39536 ;;
39537 *)
39538 # `set' quotes correctly as required by POSIX, so do not add quotes.
39539 sed -n \
39540 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
39541 ;;
39542 esac;
39543 } |
39544 sed '
39545 t clear
39546 : clear
39547 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
39548 t end
39549 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
39550 : end' >>confcache
39551 if diff $cache_file confcache >/dev/null 2>&1; then :; else
39552 if test -w $cache_file; then
39553 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
39554 cat confcache >$cache_file
39555 else
39556 echo "not updating unwritable cache $cache_file"
39557 fi
39558 fi
39559 rm -f confcache
39560
39561
39562 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
39563
39564
39565 THREADS_LINK=
39566 THREADS_CXXFLAGS=
39567
39568 if test "$wxUSE_THREADS" = "yes" ; then
39569 if test "$USE_BEOS" = 1; then
39570 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
39571 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
39572 wxUSE_THREADS="no"
39573 fi
39574 fi
39575
39576 if test "$wxUSE_THREADS" = "yes" ; then
39577
39578
39579 THREAD_OPTS="-pthread"
39580 case "${host}" in
39581 *-*-solaris2* | *-*-sunos4* )
39582 if test "x$GCC" = "xyes"; then
39583 THREAD_OPTS="-pthreads $THREAD_OPTS"
39584 else
39585 THREAD_OPTS="-mt $THREAD_OPTS"
39586 fi
39587 ;;
39588 *-*-freebsd*)
39589 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
39590 ;;
39591 *-*-darwin* | *-*-cygwin* )
39592 THREAD_OPTS=""
39593 ;;
39594 *-*-aix*)
39595 THREAD_OPTS="pthreads"
39596 ;;
39597 *-hp-hpux* )
39598 if test "x$GCC" = "xyes"; then
39599 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
39600 THREAD_OPTS=""
39601 else
39602 THREAD_OPTS="-mt"
39603 fi
39604 ;;
39605
39606 *-*-irix* )
39607 if test "x$GCC" = "xyes"; then
39608 THREAD_OPTS=""
39609 fi
39610 ;;
39611
39612 *-*-*UnixWare*)
39613 if test "x$GCC" != "xyes"; then
39614 THREAD_OPTS="-Ethread"
39615 fi
39616 ;;
39617 esac
39618
39619 THREAD_OPTS="$THREAD_OPTS pthread none"
39620
39621 THREADS_OK=no
39622 for flag in $THREAD_OPTS; do
39623 case $flag in
39624 none)
39625 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
39626 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
39627 ;;
39628
39629 -*)
39630 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
39631 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
39632 THREADS_CXXFLAGS="$flag"
39633 ;;
39634
39635 *)
39636 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
39637 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
39638 THREADS_LINK="-l$flag"
39639 ;;
39640 esac
39641
39642 save_LIBS="$LIBS"
39643 save_CXXFLAGS="$CXXFLAGS"
39644 LIBS="$THREADS_LINK $LIBS"
39645 CXXFLAGS="$THREADS_CXXFLAGS $CXXFLAGS"
39646
39647 cat >conftest.$ac_ext <<_ACEOF
39648 /* confdefs.h. */
39649 _ACEOF
39650 cat confdefs.h >>conftest.$ac_ext
39651 cat >>conftest.$ac_ext <<_ACEOF
39652 /* end confdefs.h. */
39653 #include <pthread.h>
39654 int
39655 main ()
39656 {
39657 pthread_create(0,0,0,0);
39658 ;
39659 return 0;
39660 }
39661 _ACEOF
39662 rm -f conftest.$ac_objext conftest$ac_exeext
39663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39664 (eval $ac_link) 2>conftest.er1
39665 ac_status=$?
39666 grep -v '^ *+' conftest.er1 >conftest.err
39667 rm -f conftest.er1
39668 cat conftest.err >&5
39669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39670 (exit $ac_status); } &&
39671 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39673 (eval $ac_try) 2>&5
39674 ac_status=$?
39675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39676 (exit $ac_status); }; } &&
39677 { ac_try='test -s conftest$ac_exeext'
39678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39679 (eval $ac_try) 2>&5
39680 ac_status=$?
39681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39682 (exit $ac_status); }; }; then
39683 THREADS_OK=yes
39684 else
39685 echo "$as_me: failed program was:" >&5
39686 sed 's/^/| /' conftest.$ac_ext >&5
39687
39688 fi
39689 rm -f conftest.err conftest.$ac_objext \
39690 conftest$ac_exeext conftest.$ac_ext
39691
39692 LIBS="$save_LIBS"
39693 CXXFLAGS="$save_CXXFLAGS"
39694
39695 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
39696 echo "${ECHO_T}$THREADS_OK" >&6
39697 if test "x$THREADS_OK" = "xyes"; then
39698 break;
39699 fi
39700
39701 THREADS_LINK=""
39702 THREADS_CXXFLAGS=""
39703 done
39704
39705 if test "x$THREADS_OK" != "xyes"; then
39706 wxUSE_THREADS=no
39707 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
39708 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
39709 else
39710 LDFLAGS="$THREADS_CXXFLAGS $LDFLAGS"
39711 LIBS="$THREADS_LINK $LIBS"
39712
39713 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
39714 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
39715 flag=no
39716 case "${host}" in
39717 *-aix*)
39718 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
39719 flag="-D_THREAD_SAFE"
39720 ;;
39721 *-freebsd*)
39722 flag="-D_THREAD_SAFE"
39723 ;;
39724 *-hp-hpux* )
39725 flag="-D_REENTRANT"
39726 if test "x$GCC" != "xyes"; then
39727 flag="$flag -D_RWSTD_MULTI_THREAD"
39728 fi
39729 ;;
39730 *solaris* | alpha*-osf*)
39731 flag="-D_REENTRANT"
39732 ;;
39733 esac
39734 echo "$as_me:$LINENO: result: ${flag}" >&5
39735 echo "${ECHO_T}${flag}" >&6
39736 if test "x$flag" != xno; then
39737 THREADS_CXXFLAGS="$THREADS_CXXFLAGS $flag"
39738 fi
39739
39740 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
39741 fi
39742 fi
39743
39744 if test "$wxUSE_THREADS" = "yes" ; then
39745
39746 for ac_func in thr_setconcurrency
39747 do
39748 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39749 echo "$as_me:$LINENO: checking for $ac_func" >&5
39750 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39751 if eval "test \"\${$as_ac_var+set}\" = set"; then
39752 echo $ECHO_N "(cached) $ECHO_C" >&6
39753 else
39754 cat >conftest.$ac_ext <<_ACEOF
39755 /* confdefs.h. */
39756 _ACEOF
39757 cat confdefs.h >>conftest.$ac_ext
39758 cat >>conftest.$ac_ext <<_ACEOF
39759 /* end confdefs.h. */
39760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39762 #define $ac_func innocuous_$ac_func
39763
39764 /* System header to define __stub macros and hopefully few prototypes,
39765 which can conflict with char $ac_func (); below.
39766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39767 <limits.h> exists even on freestanding compilers. */
39768
39769 #ifdef __STDC__
39770 # include <limits.h>
39771 #else
39772 # include <assert.h>
39773 #endif
39774
39775 #undef $ac_func
39776
39777 /* Override any gcc2 internal prototype to avoid an error. */
39778 #ifdef __cplusplus
39779 extern "C"
39780 {
39781 #endif
39782 /* We use char because int might match the return type of a gcc2
39783 builtin and then its argument prototype would still apply. */
39784 char $ac_func ();
39785 /* The GNU C library defines this for functions which it implements
39786 to always fail with ENOSYS. Some functions are actually named
39787 something starting with __ and the normal name is an alias. */
39788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39789 choke me
39790 #else
39791 char (*f) () = $ac_func;
39792 #endif
39793 #ifdef __cplusplus
39794 }
39795 #endif
39796
39797 int
39798 main ()
39799 {
39800 return f != $ac_func;
39801 ;
39802 return 0;
39803 }
39804 _ACEOF
39805 rm -f conftest.$ac_objext conftest$ac_exeext
39806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39807 (eval $ac_link) 2>conftest.er1
39808 ac_status=$?
39809 grep -v '^ *+' conftest.er1 >conftest.err
39810 rm -f conftest.er1
39811 cat conftest.err >&5
39812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39813 (exit $ac_status); } &&
39814 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39816 (eval $ac_try) 2>&5
39817 ac_status=$?
39818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39819 (exit $ac_status); }; } &&
39820 { ac_try='test -s conftest$ac_exeext'
39821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39822 (eval $ac_try) 2>&5
39823 ac_status=$?
39824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39825 (exit $ac_status); }; }; then
39826 eval "$as_ac_var=yes"
39827 else
39828 echo "$as_me: failed program was:" >&5
39829 sed 's/^/| /' conftest.$ac_ext >&5
39830
39831 eval "$as_ac_var=no"
39832 fi
39833 rm -f conftest.err conftest.$ac_objext \
39834 conftest$ac_exeext conftest.$ac_ext
39835 fi
39836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39837 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39838 if test `eval echo '${'$as_ac_var'}'` = yes; then
39839 cat >>confdefs.h <<_ACEOF
39840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39841 _ACEOF
39842
39843 fi
39844 done
39845
39846
39847 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39848 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
39849 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39850 echo $ECHO_N "(cached) $ECHO_C" >&6
39851 else
39852
39853 cat >conftest.$ac_ext <<_ACEOF
39854 /* confdefs.h. */
39855 _ACEOF
39856 cat confdefs.h >>conftest.$ac_ext
39857 cat >>conftest.$ac_ext <<_ACEOF
39858 /* end confdefs.h. */
39859 #include <pthread.h>
39860 void ThreadCleanupFunc(void *p);
39861
39862 int
39863 main ()
39864 {
39865
39866 void *p;
39867 pthread_cleanup_push(ThreadCleanupFunc, p);
39868 pthread_cleanup_pop(0);
39869
39870 ;
39871 return 0;
39872 }
39873 _ACEOF
39874 rm -f conftest.$ac_objext
39875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39876 (eval $ac_compile) 2>conftest.er1
39877 ac_status=$?
39878 grep -v '^ *+' conftest.er1 >conftest.err
39879 rm -f conftest.er1
39880 cat conftest.err >&5
39881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39882 (exit $ac_status); } &&
39883 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
39889 { ac_try='test -s conftest.$ac_objext'
39890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39891 (eval $ac_try) 2>&5
39892 ac_status=$?
39893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39894 (exit $ac_status); }; }; then
39895
39896 wx_cv_func_pthread_cleanup=yes
39897
39898 else
39899 echo "$as_me: failed program was:" >&5
39900 sed 's/^/| /' conftest.$ac_ext >&5
39901
39902
39903 wx_cv_func_pthread_cleanup=no
39904
39905
39906 fi
39907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39908
39909 fi
39910 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39911 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
39912 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39913 cat >>confdefs.h <<\_ACEOF
39914 #define wxHAVE_PTHREAD_CLEANUP 1
39915 _ACEOF
39916
39917 fi
39918
39919
39920 for ac_header in sched.h
39921 do
39922 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39923 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39924 echo "$as_me:$LINENO: checking for $ac_header" >&5
39925 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39926 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39927 echo $ECHO_N "(cached) $ECHO_C" >&6
39928 fi
39929 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39930 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39931 else
39932 # Is the header compilable?
39933 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39934 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39935 cat >conftest.$ac_ext <<_ACEOF
39936 /* confdefs.h. */
39937 _ACEOF
39938 cat confdefs.h >>conftest.$ac_ext
39939 cat >>conftest.$ac_ext <<_ACEOF
39940 /* end confdefs.h. */
39941 $ac_includes_default
39942 #include <$ac_header>
39943 _ACEOF
39944 rm -f conftest.$ac_objext
39945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39946 (eval $ac_compile) 2>conftest.er1
39947 ac_status=$?
39948 grep -v '^ *+' conftest.er1 >conftest.err
39949 rm -f conftest.er1
39950 cat conftest.err >&5
39951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39952 (exit $ac_status); } &&
39953 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39955 (eval $ac_try) 2>&5
39956 ac_status=$?
39957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39958 (exit $ac_status); }; } &&
39959 { ac_try='test -s conftest.$ac_objext'
39960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39961 (eval $ac_try) 2>&5
39962 ac_status=$?
39963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39964 (exit $ac_status); }; }; then
39965 ac_header_compiler=yes
39966 else
39967 echo "$as_me: failed program was:" >&5
39968 sed 's/^/| /' conftest.$ac_ext >&5
39969
39970 ac_header_compiler=no
39971 fi
39972 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39973 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39974 echo "${ECHO_T}$ac_header_compiler" >&6
39975
39976 # Is the header present?
39977 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39978 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39979 cat >conftest.$ac_ext <<_ACEOF
39980 /* confdefs.h. */
39981 _ACEOF
39982 cat confdefs.h >>conftest.$ac_ext
39983 cat >>conftest.$ac_ext <<_ACEOF
39984 /* end confdefs.h. */
39985 #include <$ac_header>
39986 _ACEOF
39987 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39988 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39989 ac_status=$?
39990 grep -v '^ *+' conftest.er1 >conftest.err
39991 rm -f conftest.er1
39992 cat conftest.err >&5
39993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39994 (exit $ac_status); } >/dev/null; then
39995 if test -s conftest.err; then
39996 ac_cpp_err=$ac_cxx_preproc_warn_flag
39997 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39998 else
39999 ac_cpp_err=
40000 fi
40001 else
40002 ac_cpp_err=yes
40003 fi
40004 if test -z "$ac_cpp_err"; then
40005 ac_header_preproc=yes
40006 else
40007 echo "$as_me: failed program was:" >&5
40008 sed 's/^/| /' conftest.$ac_ext >&5
40009
40010 ac_header_preproc=no
40011 fi
40012 rm -f conftest.err conftest.$ac_ext
40013 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40014 echo "${ECHO_T}$ac_header_preproc" >&6
40015
40016 # So? What about this header?
40017 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
40018 yes:no: )
40019 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40020 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40021 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40022 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40023 ac_header_preproc=yes
40024 ;;
40025 no:yes:* )
40026 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40027 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40028 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40029 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40030 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40031 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40032 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40033 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40034 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40035 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40036 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40037 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40038 (
40039 cat <<\_ASBOX
40040 ## ----------------------------------------- ##
40041 ## Report this to wx-dev@lists.wxwidgets.org ##
40042 ## ----------------------------------------- ##
40043 _ASBOX
40044 ) |
40045 sed "s/^/$as_me: WARNING: /" >&2
40046 ;;
40047 esac
40048 echo "$as_me:$LINENO: checking for $ac_header" >&5
40049 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40050 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40051 echo $ECHO_N "(cached) $ECHO_C" >&6
40052 else
40053 eval "$as_ac_Header=\$ac_header_preproc"
40054 fi
40055 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40056 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40057
40058 fi
40059 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40060 cat >>confdefs.h <<_ACEOF
40061 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40062 _ACEOF
40063
40064 fi
40065
40066 done
40067
40068 if test "$ac_cv_header_sched_h" = "yes"; then
40069 echo "$as_me:$LINENO: checking for sched_yield" >&5
40070 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
40071 if test "${ac_cv_func_sched_yield+set}" = set; then
40072 echo $ECHO_N "(cached) $ECHO_C" >&6
40073 else
40074 cat >conftest.$ac_ext <<_ACEOF
40075 /* confdefs.h. */
40076 _ACEOF
40077 cat confdefs.h >>conftest.$ac_ext
40078 cat >>conftest.$ac_ext <<_ACEOF
40079 /* end confdefs.h. */
40080 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
40081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40082 #define sched_yield innocuous_sched_yield
40083
40084 /* System header to define __stub macros and hopefully few prototypes,
40085 which can conflict with char sched_yield (); below.
40086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40087 <limits.h> exists even on freestanding compilers. */
40088
40089 #ifdef __STDC__
40090 # include <limits.h>
40091 #else
40092 # include <assert.h>
40093 #endif
40094
40095 #undef sched_yield
40096
40097 /* Override any gcc2 internal prototype to avoid an error. */
40098 #ifdef __cplusplus
40099 extern "C"
40100 {
40101 #endif
40102 /* We use char because int might match the return type of a gcc2
40103 builtin and then its argument prototype would still apply. */
40104 char sched_yield ();
40105 /* The GNU C library defines this for functions which it implements
40106 to always fail with ENOSYS. Some functions are actually named
40107 something starting with __ and the normal name is an alias. */
40108 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
40109 choke me
40110 #else
40111 char (*f) () = sched_yield;
40112 #endif
40113 #ifdef __cplusplus
40114 }
40115 #endif
40116
40117 int
40118 main ()
40119 {
40120 return f != sched_yield;
40121 ;
40122 return 0;
40123 }
40124 _ACEOF
40125 rm -f conftest.$ac_objext conftest$ac_exeext
40126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40127 (eval $ac_link) 2>conftest.er1
40128 ac_status=$?
40129 grep -v '^ *+' conftest.er1 >conftest.err
40130 rm -f conftest.er1
40131 cat conftest.err >&5
40132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40133 (exit $ac_status); } &&
40134 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40136 (eval $ac_try) 2>&5
40137 ac_status=$?
40138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40139 (exit $ac_status); }; } &&
40140 { ac_try='test -s conftest$ac_exeext'
40141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40142 (eval $ac_try) 2>&5
40143 ac_status=$?
40144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40145 (exit $ac_status); }; }; then
40146 ac_cv_func_sched_yield=yes
40147 else
40148 echo "$as_me: failed program was:" >&5
40149 sed 's/^/| /' conftest.$ac_ext >&5
40150
40151 ac_cv_func_sched_yield=no
40152 fi
40153 rm -f conftest.err conftest.$ac_objext \
40154 conftest$ac_exeext conftest.$ac_ext
40155 fi
40156 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
40157 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
40158 if test $ac_cv_func_sched_yield = yes; then
40159 cat >>confdefs.h <<\_ACEOF
40160 #define HAVE_SCHED_YIELD 1
40161 _ACEOF
40162
40163 else
40164
40165 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
40166 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
40167 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
40168 echo $ECHO_N "(cached) $ECHO_C" >&6
40169 else
40170 ac_check_lib_save_LIBS=$LIBS
40171 LIBS="-lposix4 $LIBS"
40172 cat >conftest.$ac_ext <<_ACEOF
40173 /* confdefs.h. */
40174 _ACEOF
40175 cat confdefs.h >>conftest.$ac_ext
40176 cat >>conftest.$ac_ext <<_ACEOF
40177 /* end confdefs.h. */
40178
40179 /* Override any gcc2 internal prototype to avoid an error. */
40180 #ifdef __cplusplus
40181 extern "C"
40182 #endif
40183 /* We use char because int might match the return type of a gcc2
40184 builtin and then its argument prototype would still apply. */
40185 char sched_yield ();
40186 int
40187 main ()
40188 {
40189 sched_yield ();
40190 ;
40191 return 0;
40192 }
40193 _ACEOF
40194 rm -f conftest.$ac_objext conftest$ac_exeext
40195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40196 (eval $ac_link) 2>conftest.er1
40197 ac_status=$?
40198 grep -v '^ *+' conftest.er1 >conftest.err
40199 rm -f conftest.er1
40200 cat conftest.err >&5
40201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40202 (exit $ac_status); } &&
40203 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40205 (eval $ac_try) 2>&5
40206 ac_status=$?
40207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40208 (exit $ac_status); }; } &&
40209 { ac_try='test -s conftest$ac_exeext'
40210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40211 (eval $ac_try) 2>&5
40212 ac_status=$?
40213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40214 (exit $ac_status); }; }; then
40215 ac_cv_lib_posix4_sched_yield=yes
40216 else
40217 echo "$as_me: failed program was:" >&5
40218 sed 's/^/| /' conftest.$ac_ext >&5
40219
40220 ac_cv_lib_posix4_sched_yield=no
40221 fi
40222 rm -f conftest.err conftest.$ac_objext \
40223 conftest$ac_exeext conftest.$ac_ext
40224 LIBS=$ac_check_lib_save_LIBS
40225 fi
40226 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
40227 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
40228 if test $ac_cv_lib_posix4_sched_yield = yes; then
40229 cat >>confdefs.h <<\_ACEOF
40230 #define HAVE_SCHED_YIELD 1
40231 _ACEOF
40232 POSIX4_LINK=" -lposix4"
40233 else
40234 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
40235 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
40236
40237 fi
40238
40239
40240
40241 fi
40242
40243 fi
40244
40245 HAVE_PRIOR_FUNCS=0
40246 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
40247 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
40248 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
40249 echo $ECHO_N "(cached) $ECHO_C" >&6
40250 else
40251 cat >conftest.$ac_ext <<_ACEOF
40252 /* confdefs.h. */
40253 _ACEOF
40254 cat confdefs.h >>conftest.$ac_ext
40255 cat >>conftest.$ac_ext <<_ACEOF
40256 /* end confdefs.h. */
40257 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
40258 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40259 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
40260
40261 /* System header to define __stub macros and hopefully few prototypes,
40262 which can conflict with char pthread_attr_getschedpolicy (); below.
40263 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40264 <limits.h> exists even on freestanding compilers. */
40265
40266 #ifdef __STDC__
40267 # include <limits.h>
40268 #else
40269 # include <assert.h>
40270 #endif
40271
40272 #undef pthread_attr_getschedpolicy
40273
40274 /* Override any gcc2 internal prototype to avoid an error. */
40275 #ifdef __cplusplus
40276 extern "C"
40277 {
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 pthread_attr_getschedpolicy ();
40282 /* The GNU C library defines this for functions which it implements
40283 to always fail with ENOSYS. Some functions are actually named
40284 something starting with __ and the normal name is an alias. */
40285 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
40286 choke me
40287 #else
40288 char (*f) () = pthread_attr_getschedpolicy;
40289 #endif
40290 #ifdef __cplusplus
40291 }
40292 #endif
40293
40294 int
40295 main ()
40296 {
40297 return f != pthread_attr_getschedpolicy;
40298 ;
40299 return 0;
40300 }
40301 _ACEOF
40302 rm -f conftest.$ac_objext conftest$ac_exeext
40303 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40304 (eval $ac_link) 2>conftest.er1
40305 ac_status=$?
40306 grep -v '^ *+' conftest.er1 >conftest.err
40307 rm -f conftest.er1
40308 cat conftest.err >&5
40309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40310 (exit $ac_status); } &&
40311 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40313 (eval $ac_try) 2>&5
40314 ac_status=$?
40315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40316 (exit $ac_status); }; } &&
40317 { ac_try='test -s conftest$ac_exeext'
40318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40319 (eval $ac_try) 2>&5
40320 ac_status=$?
40321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40322 (exit $ac_status); }; }; then
40323 ac_cv_func_pthread_attr_getschedpolicy=yes
40324 else
40325 echo "$as_me: failed program was:" >&5
40326 sed 's/^/| /' conftest.$ac_ext >&5
40327
40328 ac_cv_func_pthread_attr_getschedpolicy=no
40329 fi
40330 rm -f conftest.err conftest.$ac_objext \
40331 conftest$ac_exeext conftest.$ac_ext
40332 fi
40333 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
40334 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
40335 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
40336 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
40337 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
40338 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
40339 echo $ECHO_N "(cached) $ECHO_C" >&6
40340 else
40341 cat >conftest.$ac_ext <<_ACEOF
40342 /* confdefs.h. */
40343 _ACEOF
40344 cat confdefs.h >>conftest.$ac_ext
40345 cat >>conftest.$ac_ext <<_ACEOF
40346 /* end confdefs.h. */
40347 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
40348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40349 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
40350
40351 /* System header to define __stub macros and hopefully few prototypes,
40352 which can conflict with char pthread_attr_setschedparam (); below.
40353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40354 <limits.h> exists even on freestanding compilers. */
40355
40356 #ifdef __STDC__
40357 # include <limits.h>
40358 #else
40359 # include <assert.h>
40360 #endif
40361
40362 #undef pthread_attr_setschedparam
40363
40364 /* Override any gcc2 internal prototype to avoid an error. */
40365 #ifdef __cplusplus
40366 extern "C"
40367 {
40368 #endif
40369 /* We use char because int might match the return type of a gcc2
40370 builtin and then its argument prototype would still apply. */
40371 char pthread_attr_setschedparam ();
40372 /* The GNU C library defines this for functions which it implements
40373 to always fail with ENOSYS. Some functions are actually named
40374 something starting with __ and the normal name is an alias. */
40375 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
40376 choke me
40377 #else
40378 char (*f) () = pthread_attr_setschedparam;
40379 #endif
40380 #ifdef __cplusplus
40381 }
40382 #endif
40383
40384 int
40385 main ()
40386 {
40387 return f != pthread_attr_setschedparam;
40388 ;
40389 return 0;
40390 }
40391 _ACEOF
40392 rm -f conftest.$ac_objext conftest$ac_exeext
40393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40394 (eval $ac_link) 2>conftest.er1
40395 ac_status=$?
40396 grep -v '^ *+' conftest.er1 >conftest.err
40397 rm -f conftest.er1
40398 cat conftest.err >&5
40399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40400 (exit $ac_status); } &&
40401 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40403 (eval $ac_try) 2>&5
40404 ac_status=$?
40405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40406 (exit $ac_status); }; } &&
40407 { ac_try='test -s conftest$ac_exeext'
40408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40409 (eval $ac_try) 2>&5
40410 ac_status=$?
40411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40412 (exit $ac_status); }; }; then
40413 ac_cv_func_pthread_attr_setschedparam=yes
40414 else
40415 echo "$as_me: failed program was:" >&5
40416 sed 's/^/| /' conftest.$ac_ext >&5
40417
40418 ac_cv_func_pthread_attr_setschedparam=no
40419 fi
40420 rm -f conftest.err conftest.$ac_objext \
40421 conftest$ac_exeext conftest.$ac_ext
40422 fi
40423 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
40424 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
40425 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
40426 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
40427 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
40428 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
40429 echo $ECHO_N "(cached) $ECHO_C" >&6
40430 else
40431 cat >conftest.$ac_ext <<_ACEOF
40432 /* confdefs.h. */
40433 _ACEOF
40434 cat confdefs.h >>conftest.$ac_ext
40435 cat >>conftest.$ac_ext <<_ACEOF
40436 /* end confdefs.h. */
40437 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
40438 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40439 #define sched_get_priority_max innocuous_sched_get_priority_max
40440
40441 /* System header to define __stub macros and hopefully few prototypes,
40442 which can conflict with char sched_get_priority_max (); below.
40443 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40444 <limits.h> exists even on freestanding compilers. */
40445
40446 #ifdef __STDC__
40447 # include <limits.h>
40448 #else
40449 # include <assert.h>
40450 #endif
40451
40452 #undef sched_get_priority_max
40453
40454 /* Override any gcc2 internal prototype to avoid an error. */
40455 #ifdef __cplusplus
40456 extern "C"
40457 {
40458 #endif
40459 /* We use char because int might match the return type of a gcc2
40460 builtin and then its argument prototype would still apply. */
40461 char sched_get_priority_max ();
40462 /* The GNU C library defines this for functions which it implements
40463 to always fail with ENOSYS. Some functions are actually named
40464 something starting with __ and the normal name is an alias. */
40465 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
40466 choke me
40467 #else
40468 char (*f) () = sched_get_priority_max;
40469 #endif
40470 #ifdef __cplusplus
40471 }
40472 #endif
40473
40474 int
40475 main ()
40476 {
40477 return f != sched_get_priority_max;
40478 ;
40479 return 0;
40480 }
40481 _ACEOF
40482 rm -f conftest.$ac_objext conftest$ac_exeext
40483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40484 (eval $ac_link) 2>conftest.er1
40485 ac_status=$?
40486 grep -v '^ *+' conftest.er1 >conftest.err
40487 rm -f conftest.er1
40488 cat conftest.err >&5
40489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40490 (exit $ac_status); } &&
40491 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40493 (eval $ac_try) 2>&5
40494 ac_status=$?
40495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40496 (exit $ac_status); }; } &&
40497 { ac_try='test -s conftest$ac_exeext'
40498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40499 (eval $ac_try) 2>&5
40500 ac_status=$?
40501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40502 (exit $ac_status); }; }; then
40503 ac_cv_func_sched_get_priority_max=yes
40504 else
40505 echo "$as_me: failed program was:" >&5
40506 sed 's/^/| /' conftest.$ac_ext >&5
40507
40508 ac_cv_func_sched_get_priority_max=no
40509 fi
40510 rm -f conftest.err conftest.$ac_objext \
40511 conftest$ac_exeext conftest.$ac_ext
40512 fi
40513 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
40514 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
40515 if test $ac_cv_func_sched_get_priority_max = yes; then
40516 HAVE_PRIOR_FUNCS=1
40517 else
40518 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
40519 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
40520 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
40521 echo $ECHO_N "(cached) $ECHO_C" >&6
40522 else
40523 ac_check_lib_save_LIBS=$LIBS
40524 LIBS="-lposix4 $LIBS"
40525 cat >conftest.$ac_ext <<_ACEOF
40526 /* confdefs.h. */
40527 _ACEOF
40528 cat confdefs.h >>conftest.$ac_ext
40529 cat >>conftest.$ac_ext <<_ACEOF
40530 /* end confdefs.h. */
40531
40532 /* Override any gcc2 internal prototype to avoid an error. */
40533 #ifdef __cplusplus
40534 extern "C"
40535 #endif
40536 /* We use char because int might match the return type of a gcc2
40537 builtin and then its argument prototype would still apply. */
40538 char sched_get_priority_max ();
40539 int
40540 main ()
40541 {
40542 sched_get_priority_max ();
40543 ;
40544 return 0;
40545 }
40546 _ACEOF
40547 rm -f conftest.$ac_objext conftest$ac_exeext
40548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40549 (eval $ac_link) 2>conftest.er1
40550 ac_status=$?
40551 grep -v '^ *+' conftest.er1 >conftest.err
40552 rm -f conftest.er1
40553 cat conftest.err >&5
40554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40555 (exit $ac_status); } &&
40556 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40558 (eval $ac_try) 2>&5
40559 ac_status=$?
40560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40561 (exit $ac_status); }; } &&
40562 { ac_try='test -s conftest$ac_exeext'
40563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40564 (eval $ac_try) 2>&5
40565 ac_status=$?
40566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40567 (exit $ac_status); }; }; then
40568 ac_cv_lib_posix4_sched_get_priority_max=yes
40569 else
40570 echo "$as_me: failed program was:" >&5
40571 sed 's/^/| /' conftest.$ac_ext >&5
40572
40573 ac_cv_lib_posix4_sched_get_priority_max=no
40574 fi
40575 rm -f conftest.err conftest.$ac_objext \
40576 conftest$ac_exeext conftest.$ac_ext
40577 LIBS=$ac_check_lib_save_LIBS
40578 fi
40579 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
40580 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
40581 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
40582
40583 HAVE_PRIOR_FUNCS=1
40584 POSIX4_LINK=" -lposix4"
40585
40586 fi
40587
40588
40589 fi
40590
40591
40592 fi
40593
40594
40595 fi
40596
40597
40598 if test "$HAVE_PRIOR_FUNCS" = 1; then
40599 cat >>confdefs.h <<\_ACEOF
40600 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
40601 _ACEOF
40602
40603 else
40604 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
40605 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
40606 fi
40607
40608 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
40609 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
40610 if test "${ac_cv_func_pthread_cancel+set}" = set; then
40611 echo $ECHO_N "(cached) $ECHO_C" >&6
40612 else
40613 cat >conftest.$ac_ext <<_ACEOF
40614 /* confdefs.h. */
40615 _ACEOF
40616 cat confdefs.h >>conftest.$ac_ext
40617 cat >>conftest.$ac_ext <<_ACEOF
40618 /* end confdefs.h. */
40619 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
40620 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40621 #define pthread_cancel innocuous_pthread_cancel
40622
40623 /* System header to define __stub macros and hopefully few prototypes,
40624 which can conflict with char pthread_cancel (); below.
40625 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40626 <limits.h> exists even on freestanding compilers. */
40627
40628 #ifdef __STDC__
40629 # include <limits.h>
40630 #else
40631 # include <assert.h>
40632 #endif
40633
40634 #undef pthread_cancel
40635
40636 /* Override any gcc2 internal prototype to avoid an error. */
40637 #ifdef __cplusplus
40638 extern "C"
40639 {
40640 #endif
40641 /* We use char because int might match the return type of a gcc2
40642 builtin and then its argument prototype would still apply. */
40643 char pthread_cancel ();
40644 /* The GNU C library defines this for functions which it implements
40645 to always fail with ENOSYS. Some functions are actually named
40646 something starting with __ and the normal name is an alias. */
40647 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
40648 choke me
40649 #else
40650 char (*f) () = pthread_cancel;
40651 #endif
40652 #ifdef __cplusplus
40653 }
40654 #endif
40655
40656 int
40657 main ()
40658 {
40659 return f != pthread_cancel;
40660 ;
40661 return 0;
40662 }
40663 _ACEOF
40664 rm -f conftest.$ac_objext conftest$ac_exeext
40665 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40666 (eval $ac_link) 2>conftest.er1
40667 ac_status=$?
40668 grep -v '^ *+' conftest.er1 >conftest.err
40669 rm -f conftest.er1
40670 cat conftest.err >&5
40671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40672 (exit $ac_status); } &&
40673 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40675 (eval $ac_try) 2>&5
40676 ac_status=$?
40677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40678 (exit $ac_status); }; } &&
40679 { ac_try='test -s conftest$ac_exeext'
40680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40681 (eval $ac_try) 2>&5
40682 ac_status=$?
40683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40684 (exit $ac_status); }; }; then
40685 ac_cv_func_pthread_cancel=yes
40686 else
40687 echo "$as_me: failed program was:" >&5
40688 sed 's/^/| /' conftest.$ac_ext >&5
40689
40690 ac_cv_func_pthread_cancel=no
40691 fi
40692 rm -f conftest.err conftest.$ac_objext \
40693 conftest$ac_exeext conftest.$ac_ext
40694 fi
40695 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
40696 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
40697 if test $ac_cv_func_pthread_cancel = yes; then
40698 cat >>confdefs.h <<\_ACEOF
40699 #define HAVE_PTHREAD_CANCEL 1
40700 _ACEOF
40701
40702 else
40703 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
40704 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
40705 fi
40706
40707
40708 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
40709 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
40710 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
40711 echo $ECHO_N "(cached) $ECHO_C" >&6
40712 else
40713 cat >conftest.$ac_ext <<_ACEOF
40714 /* confdefs.h. */
40715 _ACEOF
40716 cat confdefs.h >>conftest.$ac_ext
40717 cat >>conftest.$ac_ext <<_ACEOF
40718 /* end confdefs.h. */
40719 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
40720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40721 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
40722
40723 /* System header to define __stub macros and hopefully few prototypes,
40724 which can conflict with char pthread_attr_setstacksize (); below.
40725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40726 <limits.h> exists even on freestanding compilers. */
40727
40728 #ifdef __STDC__
40729 # include <limits.h>
40730 #else
40731 # include <assert.h>
40732 #endif
40733
40734 #undef pthread_attr_setstacksize
40735
40736 /* Override any gcc2 internal prototype to avoid an error. */
40737 #ifdef __cplusplus
40738 extern "C"
40739 {
40740 #endif
40741 /* We use char because int might match the return type of a gcc2
40742 builtin and then its argument prototype would still apply. */
40743 char pthread_attr_setstacksize ();
40744 /* The GNU C library defines this for functions which it implements
40745 to always fail with ENOSYS. Some functions are actually named
40746 something starting with __ and the normal name is an alias. */
40747 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
40748 choke me
40749 #else
40750 char (*f) () = pthread_attr_setstacksize;
40751 #endif
40752 #ifdef __cplusplus
40753 }
40754 #endif
40755
40756 int
40757 main ()
40758 {
40759 return f != pthread_attr_setstacksize;
40760 ;
40761 return 0;
40762 }
40763 _ACEOF
40764 rm -f conftest.$ac_objext conftest$ac_exeext
40765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40766 (eval $ac_link) 2>conftest.er1
40767 ac_status=$?
40768 grep -v '^ *+' conftest.er1 >conftest.err
40769 rm -f conftest.er1
40770 cat conftest.err >&5
40771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40772 (exit $ac_status); } &&
40773 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40775 (eval $ac_try) 2>&5
40776 ac_status=$?
40777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40778 (exit $ac_status); }; } &&
40779 { ac_try='test -s conftest$ac_exeext'
40780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40781 (eval $ac_try) 2>&5
40782 ac_status=$?
40783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40784 (exit $ac_status); }; }; then
40785 ac_cv_func_pthread_attr_setstacksize=yes
40786 else
40787 echo "$as_me: failed program was:" >&5
40788 sed 's/^/| /' conftest.$ac_ext >&5
40789
40790 ac_cv_func_pthread_attr_setstacksize=no
40791 fi
40792 rm -f conftest.err conftest.$ac_objext \
40793 conftest$ac_exeext conftest.$ac_ext
40794 fi
40795 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
40796 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
40797 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
40798 cat >>confdefs.h <<\_ACEOF
40799 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
40800 _ACEOF
40801
40802 fi
40803
40804
40805
40806 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
40807 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
40808 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
40809 echo $ECHO_N "(cached) $ECHO_C" >&6
40810 else
40811
40812 cat >conftest.$ac_ext <<_ACEOF
40813 /* confdefs.h. */
40814 _ACEOF
40815 cat confdefs.h >>conftest.$ac_ext
40816 cat >>conftest.$ac_ext <<_ACEOF
40817 /* end confdefs.h. */
40818 #include <pthread.h>
40819 int
40820 main ()
40821 {
40822
40823 pthread_mutexattr_t attr;
40824 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40825
40826 ;
40827 return 0;
40828 }
40829 _ACEOF
40830 rm -f conftest.$ac_objext
40831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40832 (eval $ac_compile) 2>conftest.er1
40833 ac_status=$?
40834 grep -v '^ *+' conftest.er1 >conftest.err
40835 rm -f conftest.er1
40836 cat conftest.err >&5
40837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40838 (exit $ac_status); } &&
40839 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40841 (eval $ac_try) 2>&5
40842 ac_status=$?
40843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40844 (exit $ac_status); }; } &&
40845 { ac_try='test -s conftest.$ac_objext'
40846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40847 (eval $ac_try) 2>&5
40848 ac_status=$?
40849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40850 (exit $ac_status); }; }; then
40851 wx_cv_type_pthread_mutexattr_t=yes
40852 else
40853 echo "$as_me: failed program was:" >&5
40854 sed 's/^/| /' conftest.$ac_ext >&5
40855
40856 wx_cv_type_pthread_mutexattr_t=no
40857
40858 fi
40859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40860
40861 fi
40862 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40863 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
40864
40865 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40866 cat >>confdefs.h <<\_ACEOF
40867 #define HAVE_PTHREAD_MUTEXATTR_T 1
40868 _ACEOF
40869
40870
40871 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40872 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
40873 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40874 echo $ECHO_N "(cached) $ECHO_C" >&6
40875 else
40876
40877 cat >conftest.$ac_ext <<_ACEOF
40878 /* confdefs.h. */
40879 _ACEOF
40880 cat confdefs.h >>conftest.$ac_ext
40881 cat >>conftest.$ac_ext <<_ACEOF
40882 /* end confdefs.h. */
40883 #include <pthread.h>
40884 int
40885 main ()
40886 {
40887
40888 pthread_mutexattr_t attr;
40889 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40890
40891 ;
40892 return 0;
40893 }
40894 _ACEOF
40895 rm -f conftest.$ac_objext
40896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40897 (eval $ac_compile) 2>conftest.er1
40898 ac_status=$?
40899 grep -v '^ *+' conftest.er1 >conftest.err
40900 rm -f conftest.er1
40901 cat conftest.err >&5
40902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40903 (exit $ac_status); } &&
40904 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40906 (eval $ac_try) 2>&5
40907 ac_status=$?
40908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40909 (exit $ac_status); }; } &&
40910 { ac_try='test -s conftest.$ac_objext'
40911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40912 (eval $ac_try) 2>&5
40913 ac_status=$?
40914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40915 (exit $ac_status); }; }; then
40916 wx_cv_func_pthread_mutexattr_settype_decl=yes
40917 else
40918 echo "$as_me: failed program was:" >&5
40919 sed 's/^/| /' conftest.$ac_ext >&5
40920
40921 wx_cv_func_pthread_mutexattr_settype_decl=no
40922
40923 fi
40924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40925
40926 fi
40927 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40928 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
40929 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40930 cat >>confdefs.h <<\_ACEOF
40931 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40932 _ACEOF
40933
40934 fi
40935 else
40936 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40937 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40938 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40939 echo $ECHO_N "(cached) $ECHO_C" >&6
40940 else
40941
40942 cat >conftest.$ac_ext <<_ACEOF
40943 /* confdefs.h. */
40944 _ACEOF
40945 cat confdefs.h >>conftest.$ac_ext
40946 cat >>conftest.$ac_ext <<_ACEOF
40947 /* end confdefs.h. */
40948 #include <pthread.h>
40949 int
40950 main ()
40951 {
40952
40953 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40954
40955 ;
40956 return 0;
40957 }
40958 _ACEOF
40959 rm -f conftest.$ac_objext
40960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40961 (eval $ac_compile) 2>conftest.er1
40962 ac_status=$?
40963 grep -v '^ *+' conftest.er1 >conftest.err
40964 rm -f conftest.er1
40965 cat conftest.err >&5
40966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40967 (exit $ac_status); } &&
40968 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40970 (eval $ac_try) 2>&5
40971 ac_status=$?
40972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40973 (exit $ac_status); }; } &&
40974 { ac_try='test -s conftest.$ac_objext'
40975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40976 (eval $ac_try) 2>&5
40977 ac_status=$?
40978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40979 (exit $ac_status); }; }; then
40980
40981 wx_cv_type_pthread_rec_mutex_init=yes
40982
40983 else
40984 echo "$as_me: failed program was:" >&5
40985 sed 's/^/| /' conftest.$ac_ext >&5
40986
40987
40988 wx_cv_type_pthread_rec_mutex_init=no
40989
40990
40991 fi
40992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40993
40994 fi
40995 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40996 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40997 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40998 cat >>confdefs.h <<\_ACEOF
40999 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
41000 _ACEOF
41001
41002 else
41003 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
41004 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
41005 fi
41006 fi
41007 fi
41008
41009 else
41010 if test "$wxUSE_THREADS" = "yes" ; then
41011 case "${host}" in
41012 *-*-mingw32* )
41013 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
41014 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
41015 if test "${wx_cv_cflags_mthread+set}" = set; then
41016 echo $ECHO_N "(cached) $ECHO_C" >&6
41017 else
41018
41019 CXXFLAGS_OLD="$CXXFLAGS"
41020 CXXFLAGS="-mthreads $CXXFLAGS"
41021 cat >conftest.$ac_ext <<_ACEOF
41022 /* confdefs.h. */
41023 _ACEOF
41024 cat confdefs.h >>conftest.$ac_ext
41025 cat >>conftest.$ac_ext <<_ACEOF
41026 /* end confdefs.h. */
41027
41028 int
41029 main ()
41030 {
41031
41032 ;
41033 return 0;
41034 }
41035 _ACEOF
41036 rm -f conftest.$ac_objext
41037 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41038 (eval $ac_compile) 2>conftest.er1
41039 ac_status=$?
41040 grep -v '^ *+' conftest.er1 >conftest.err
41041 rm -f conftest.er1
41042 cat conftest.err >&5
41043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41044 (exit $ac_status); } &&
41045 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41047 (eval $ac_try) 2>&5
41048 ac_status=$?
41049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41050 (exit $ac_status); }; } &&
41051 { ac_try='test -s conftest.$ac_objext'
41052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41053 (eval $ac_try) 2>&5
41054 ac_status=$?
41055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41056 (exit $ac_status); }; }; then
41057 wx_cv_cflags_mthread=yes
41058 else
41059 echo "$as_me: failed program was:" >&5
41060 sed 's/^/| /' conftest.$ac_ext >&5
41061
41062 wx_cv_cflags_mthread=no
41063
41064 fi
41065 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41066
41067
41068 fi
41069 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
41070 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
41071
41072 if test "$wx_cv_cflags_mthread" = "yes"; then
41073 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -mthreads"
41074 LDFLAGS="$LDFLAGS -mthreads"
41075 else
41076 CXXFLAGS="$CXXFLAGS_OLD"
41077 fi
41078 ;;
41079 *-pc-os2*emx )
41080 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
41081 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
41082 LDFLAGS="$LDFLAGS -Zmt"
41083 ;;
41084 esac
41085 fi
41086 fi
41087
41088 echo "$as_me:$LINENO: checking for localtime_r" >&5
41089 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
41090 if test "${ac_cv_func_localtime_r+set}" = set; then
41091 echo $ECHO_N "(cached) $ECHO_C" >&6
41092 else
41093 cat >conftest.$ac_ext <<_ACEOF
41094 /* confdefs.h. */
41095 _ACEOF
41096 cat confdefs.h >>conftest.$ac_ext
41097 cat >>conftest.$ac_ext <<_ACEOF
41098 /* end confdefs.h. */
41099 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
41100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41101 #define localtime_r innocuous_localtime_r
41102
41103 /* System header to define __stub macros and hopefully few prototypes,
41104 which can conflict with char localtime_r (); below.
41105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41106 <limits.h> exists even on freestanding compilers. */
41107
41108 #ifdef __STDC__
41109 # include <limits.h>
41110 #else
41111 # include <assert.h>
41112 #endif
41113
41114 #undef localtime_r
41115
41116 /* Override any gcc2 internal prototype to avoid an error. */
41117 #ifdef __cplusplus
41118 extern "C"
41119 {
41120 #endif
41121 /* We use char because int might match the return type of a gcc2
41122 builtin and then its argument prototype would still apply. */
41123 char localtime_r ();
41124 /* The GNU C library defines this for functions which it implements
41125 to always fail with ENOSYS. Some functions are actually named
41126 something starting with __ and the normal name is an alias. */
41127 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
41128 choke me
41129 #else
41130 char (*f) () = localtime_r;
41131 #endif
41132 #ifdef __cplusplus
41133 }
41134 #endif
41135
41136 int
41137 main ()
41138 {
41139 return f != localtime_r;
41140 ;
41141 return 0;
41142 }
41143 _ACEOF
41144 rm -f conftest.$ac_objext conftest$ac_exeext
41145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41146 (eval $ac_link) 2>conftest.er1
41147 ac_status=$?
41148 grep -v '^ *+' conftest.er1 >conftest.err
41149 rm -f conftest.er1
41150 cat conftest.err >&5
41151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41152 (exit $ac_status); } &&
41153 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41155 (eval $ac_try) 2>&5
41156 ac_status=$?
41157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41158 (exit $ac_status); }; } &&
41159 { ac_try='test -s conftest$ac_exeext'
41160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41161 (eval $ac_try) 2>&5
41162 ac_status=$?
41163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41164 (exit $ac_status); }; }; then
41165 ac_cv_func_localtime_r=yes
41166 else
41167 echo "$as_me: failed program was:" >&5
41168 sed 's/^/| /' conftest.$ac_ext >&5
41169
41170 ac_cv_func_localtime_r=no
41171 fi
41172 rm -f conftest.err conftest.$ac_objext \
41173 conftest$ac_exeext conftest.$ac_ext
41174 fi
41175 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
41176 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
41177 if test $ac_cv_func_localtime_r = yes; then
41178 cat >>confdefs.h <<\_ACEOF
41179 #define HAVE_LOCALTIME_R 1
41180 _ACEOF
41181
41182 fi
41183
41184 echo "$as_me:$LINENO: checking for gmtime_r" >&5
41185 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
41186 if test "${ac_cv_func_gmtime_r+set}" = set; then
41187 echo $ECHO_N "(cached) $ECHO_C" >&6
41188 else
41189 cat >conftest.$ac_ext <<_ACEOF
41190 /* confdefs.h. */
41191 _ACEOF
41192 cat confdefs.h >>conftest.$ac_ext
41193 cat >>conftest.$ac_ext <<_ACEOF
41194 /* end confdefs.h. */
41195 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
41196 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41197 #define gmtime_r innocuous_gmtime_r
41198
41199 /* System header to define __stub macros and hopefully few prototypes,
41200 which can conflict with char gmtime_r (); below.
41201 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41202 <limits.h> exists even on freestanding compilers. */
41203
41204 #ifdef __STDC__
41205 # include <limits.h>
41206 #else
41207 # include <assert.h>
41208 #endif
41209
41210 #undef gmtime_r
41211
41212 /* Override any gcc2 internal prototype to avoid an error. */
41213 #ifdef __cplusplus
41214 extern "C"
41215 {
41216 #endif
41217 /* We use char because int might match the return type of a gcc2
41218 builtin and then its argument prototype would still apply. */
41219 char gmtime_r ();
41220 /* The GNU C library defines this for functions which it implements
41221 to always fail with ENOSYS. Some functions are actually named
41222 something starting with __ and the normal name is an alias. */
41223 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
41224 choke me
41225 #else
41226 char (*f) () = gmtime_r;
41227 #endif
41228 #ifdef __cplusplus
41229 }
41230 #endif
41231
41232 int
41233 main ()
41234 {
41235 return f != gmtime_r;
41236 ;
41237 return 0;
41238 }
41239 _ACEOF
41240 rm -f conftest.$ac_objext conftest$ac_exeext
41241 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41242 (eval $ac_link) 2>conftest.er1
41243 ac_status=$?
41244 grep -v '^ *+' conftest.er1 >conftest.err
41245 rm -f conftest.er1
41246 cat conftest.err >&5
41247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41248 (exit $ac_status); } &&
41249 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41251 (eval $ac_try) 2>&5
41252 ac_status=$?
41253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41254 (exit $ac_status); }; } &&
41255 { ac_try='test -s conftest$ac_exeext'
41256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41257 (eval $ac_try) 2>&5
41258 ac_status=$?
41259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41260 (exit $ac_status); }; }; then
41261 ac_cv_func_gmtime_r=yes
41262 else
41263 echo "$as_me: failed program was:" >&5
41264 sed 's/^/| /' conftest.$ac_ext >&5
41265
41266 ac_cv_func_gmtime_r=no
41267 fi
41268 rm -f conftest.err conftest.$ac_objext \
41269 conftest$ac_exeext conftest.$ac_ext
41270 fi
41271 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
41272 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
41273 if test $ac_cv_func_gmtime_r = yes; then
41274 cat >>confdefs.h <<\_ACEOF
41275 #define HAVE_GMTIME_R 1
41276 _ACEOF
41277
41278 fi
41279
41280 echo "$as_me:$LINENO: checking for readdir_r" >&5
41281 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
41282 if test "${ac_cv_func_readdir_r+set}" = set; then
41283 echo $ECHO_N "(cached) $ECHO_C" >&6
41284 else
41285 cat >conftest.$ac_ext <<_ACEOF
41286 /* confdefs.h. */
41287 _ACEOF
41288 cat confdefs.h >>conftest.$ac_ext
41289 cat >>conftest.$ac_ext <<_ACEOF
41290 /* end confdefs.h. */
41291 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
41292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41293 #define readdir_r innocuous_readdir_r
41294
41295 /* System header to define __stub macros and hopefully few prototypes,
41296 which can conflict with char readdir_r (); below.
41297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41298 <limits.h> exists even on freestanding compilers. */
41299
41300 #ifdef __STDC__
41301 # include <limits.h>
41302 #else
41303 # include <assert.h>
41304 #endif
41305
41306 #undef readdir_r
41307
41308 /* Override any gcc2 internal prototype to avoid an error. */
41309 #ifdef __cplusplus
41310 extern "C"
41311 {
41312 #endif
41313 /* We use char because int might match the return type of a gcc2
41314 builtin and then its argument prototype would still apply. */
41315 char readdir_r ();
41316 /* The GNU C library defines this for functions which it implements
41317 to always fail with ENOSYS. Some functions are actually named
41318 something starting with __ and the normal name is an alias. */
41319 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
41320 choke me
41321 #else
41322 char (*f) () = readdir_r;
41323 #endif
41324 #ifdef __cplusplus
41325 }
41326 #endif
41327
41328 int
41329 main ()
41330 {
41331 return f != readdir_r;
41332 ;
41333 return 0;
41334 }
41335 _ACEOF
41336 rm -f conftest.$ac_objext conftest$ac_exeext
41337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41338 (eval $ac_link) 2>conftest.er1
41339 ac_status=$?
41340 grep -v '^ *+' conftest.er1 >conftest.err
41341 rm -f conftest.er1
41342 cat conftest.err >&5
41343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41344 (exit $ac_status); } &&
41345 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41347 (eval $ac_try) 2>&5
41348 ac_status=$?
41349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41350 (exit $ac_status); }; } &&
41351 { ac_try='test -s conftest$ac_exeext'
41352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41353 (eval $ac_try) 2>&5
41354 ac_status=$?
41355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41356 (exit $ac_status); }; }; then
41357 ac_cv_func_readdir_r=yes
41358 else
41359 echo "$as_me: failed program was:" >&5
41360 sed 's/^/| /' conftest.$ac_ext >&5
41361
41362 ac_cv_func_readdir_r=no
41363 fi
41364 rm -f conftest.err conftest.$ac_objext \
41365 conftest$ac_exeext conftest.$ac_ext
41366 fi
41367 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
41368 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
41369 if test $ac_cv_func_readdir_r = yes; then
41370 cat >>confdefs.h <<\_ACEOF
41371 #define HAVE_READDIR_R 1
41372 _ACEOF
41373
41374 fi
41375
41376
41377
41378
41379 ac_ext=c
41380 ac_cpp='$CPP $CPPFLAGS'
41381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41384
41385 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
41386 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
41387
41388 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
41389 echo $ECHO_N "(cached) $ECHO_C" >&6
41390 else
41391
41392
41393 ################################################################
41394
41395 ac_cv_func_which_gethostbyname_r=unknown
41396
41397 #
41398 # ONE ARGUMENT (sanity check)
41399 #
41400
41401 # This should fail, as there is no variant of gethostbyname_r() that takes
41402 # a single argument. If it actually compiles, then we can assume that
41403 # netdb.h is not declaring the function, and the compiler is thereby
41404 # assuming an implicit prototype. In which case, we're out of luck.
41405 #
41406 cat >conftest.$ac_ext <<_ACEOF
41407 /* confdefs.h. */
41408 _ACEOF
41409 cat confdefs.h >>conftest.$ac_ext
41410 cat >>conftest.$ac_ext <<_ACEOF
41411 /* end confdefs.h. */
41412 #include <netdb.h>
41413 int
41414 main ()
41415 {
41416
41417 char *name = "www.gnu.org";
41418 (void)gethostbyname_r(name) /* ; */
41419
41420 ;
41421 return 0;
41422 }
41423 _ACEOF
41424 rm -f conftest.$ac_objext
41425 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41426 (eval $ac_compile) 2>conftest.er1
41427 ac_status=$?
41428 grep -v '^ *+' conftest.er1 >conftest.err
41429 rm -f conftest.er1
41430 cat conftest.err >&5
41431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41432 (exit $ac_status); } &&
41433 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41435 (eval $ac_try) 2>&5
41436 ac_status=$?
41437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41438 (exit $ac_status); }; } &&
41439 { ac_try='test -s conftest.$ac_objext'
41440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41441 (eval $ac_try) 2>&5
41442 ac_status=$?
41443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41444 (exit $ac_status); }; }; then
41445 ac_cv_func_which_gethostbyname_r=no
41446 else
41447 echo "$as_me: failed program was:" >&5
41448 sed 's/^/| /' conftest.$ac_ext >&5
41449
41450 fi
41451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41452
41453 #
41454 # SIX ARGUMENTS
41455 # (e.g. Linux)
41456 #
41457
41458 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41459
41460 cat >conftest.$ac_ext <<_ACEOF
41461 /* confdefs.h. */
41462 _ACEOF
41463 cat confdefs.h >>conftest.$ac_ext
41464 cat >>conftest.$ac_ext <<_ACEOF
41465 /* end confdefs.h. */
41466 #include <netdb.h>
41467 int
41468 main ()
41469 {
41470
41471 char *name = "www.gnu.org";
41472 struct hostent ret, *retp;
41473 char buf[1024];
41474 int buflen = 1024;
41475 int my_h_errno;
41476 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
41477
41478 ;
41479 return 0;
41480 }
41481 _ACEOF
41482 rm -f conftest.$ac_objext
41483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41484 (eval $ac_compile) 2>conftest.er1
41485 ac_status=$?
41486 grep -v '^ *+' conftest.er1 >conftest.err
41487 rm -f conftest.er1
41488 cat conftest.err >&5
41489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41490 (exit $ac_status); } &&
41491 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41493 (eval $ac_try) 2>&5
41494 ac_status=$?
41495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41496 (exit $ac_status); }; } &&
41497 { ac_try='test -s conftest.$ac_objext'
41498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41499 (eval $ac_try) 2>&5
41500 ac_status=$?
41501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41502 (exit $ac_status); }; }; then
41503 ac_cv_func_which_gethostbyname_r=six
41504 else
41505 echo "$as_me: failed program was:" >&5
41506 sed 's/^/| /' conftest.$ac_ext >&5
41507
41508 fi
41509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41510
41511 fi
41512
41513 #
41514 # FIVE ARGUMENTS
41515 # (e.g. Solaris)
41516 #
41517
41518 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41519
41520 cat >conftest.$ac_ext <<_ACEOF
41521 /* confdefs.h. */
41522 _ACEOF
41523 cat confdefs.h >>conftest.$ac_ext
41524 cat >>conftest.$ac_ext <<_ACEOF
41525 /* end confdefs.h. */
41526 #include <netdb.h>
41527 int
41528 main ()
41529 {
41530
41531 char *name = "www.gnu.org";
41532 struct hostent ret;
41533 char buf[1024];
41534 int buflen = 1024;
41535 int my_h_errno;
41536 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
41537
41538 ;
41539 return 0;
41540 }
41541 _ACEOF
41542 rm -f conftest.$ac_objext
41543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41544 (eval $ac_compile) 2>conftest.er1
41545 ac_status=$?
41546 grep -v '^ *+' conftest.er1 >conftest.err
41547 rm -f conftest.er1
41548 cat conftest.err >&5
41549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41550 (exit $ac_status); } &&
41551 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41553 (eval $ac_try) 2>&5
41554 ac_status=$?
41555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41556 (exit $ac_status); }; } &&
41557 { ac_try='test -s conftest.$ac_objext'
41558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41559 (eval $ac_try) 2>&5
41560 ac_status=$?
41561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41562 (exit $ac_status); }; }; then
41563 ac_cv_func_which_gethostbyname_r=five
41564 else
41565 echo "$as_me: failed program was:" >&5
41566 sed 's/^/| /' conftest.$ac_ext >&5
41567
41568 fi
41569 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41570
41571 fi
41572
41573 #
41574 # THREE ARGUMENTS
41575 # (e.g. AIX, HP-UX, Tru64)
41576 #
41577
41578 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
41579
41580 cat >conftest.$ac_ext <<_ACEOF
41581 /* confdefs.h. */
41582 _ACEOF
41583 cat confdefs.h >>conftest.$ac_ext
41584 cat >>conftest.$ac_ext <<_ACEOF
41585 /* end confdefs.h. */
41586 #include <netdb.h>
41587 int
41588 main ()
41589 {
41590
41591 char *name = "www.gnu.org";
41592 struct hostent ret;
41593 struct hostent_data data;
41594 (void)gethostbyname_r(name, &ret, &data) /* ; */
41595
41596 ;
41597 return 0;
41598 }
41599 _ACEOF
41600 rm -f conftest.$ac_objext
41601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41602 (eval $ac_compile) 2>conftest.er1
41603 ac_status=$?
41604 grep -v '^ *+' conftest.er1 >conftest.err
41605 rm -f conftest.er1
41606 cat conftest.err >&5
41607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41608 (exit $ac_status); } &&
41609 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
41610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41611 (eval $ac_try) 2>&5
41612 ac_status=$?
41613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41614 (exit $ac_status); }; } &&
41615 { ac_try='test -s conftest.$ac_objext'
41616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41617 (eval $ac_try) 2>&5
41618 ac_status=$?
41619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41620 (exit $ac_status); }; }; then
41621 ac_cv_func_which_gethostbyname_r=three
41622 else
41623 echo "$as_me: failed program was:" >&5
41624 sed 's/^/| /' conftest.$ac_ext >&5
41625
41626 fi
41627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41628
41629 fi
41630
41631 ################################################################
41632
41633
41634 fi
41635
41636 case "$ac_cv_func_which_gethostbyname_r" in
41637 three)
41638 echo "$as_me:$LINENO: result: three" >&5
41639 echo "${ECHO_T}three" >&6
41640 cat >>confdefs.h <<\_ACEOF
41641 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
41642 _ACEOF
41643
41644 ;;
41645
41646 five)
41647 echo "$as_me:$LINENO: result: five" >&5
41648 echo "${ECHO_T}five" >&6
41649 cat >>confdefs.h <<\_ACEOF
41650 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
41651 _ACEOF
41652
41653 ;;
41654
41655 six)
41656 echo "$as_me:$LINENO: result: six" >&5
41657 echo "${ECHO_T}six" >&6
41658 cat >>confdefs.h <<\_ACEOF
41659 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
41660 _ACEOF
41661
41662 ;;
41663
41664 no)
41665 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
41666 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
41667 ;;
41668
41669 unknown)
41670 echo "$as_me:$LINENO: result: can't tell" >&5
41671 echo "${ECHO_T}can't tell" >&6
41672 ;;
41673
41674 *)
41675 { { echo "$as_me:$LINENO: error: internal error" >&5
41676 echo "$as_me: error: internal error" >&2;}
41677 { (exit 1); exit 1; }; }
41678 ;;
41679 esac
41680
41681 ac_ext=cc
41682 ac_cpp='$CXXCPP $CPPFLAGS'
41683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41686
41687
41688
41689 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
41690 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
41691 echo "$as_me:$LINENO: checking for gethostbyname" >&5
41692 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
41693 if test "${ac_cv_func_gethostbyname+set}" = set; then
41694 echo $ECHO_N "(cached) $ECHO_C" >&6
41695 else
41696 cat >conftest.$ac_ext <<_ACEOF
41697 /* confdefs.h. */
41698 _ACEOF
41699 cat confdefs.h >>conftest.$ac_ext
41700 cat >>conftest.$ac_ext <<_ACEOF
41701 /* end confdefs.h. */
41702 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
41703 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41704 #define gethostbyname innocuous_gethostbyname
41705
41706 /* System header to define __stub macros and hopefully few prototypes,
41707 which can conflict with char gethostbyname (); below.
41708 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41709 <limits.h> exists even on freestanding compilers. */
41710
41711 #ifdef __STDC__
41712 # include <limits.h>
41713 #else
41714 # include <assert.h>
41715 #endif
41716
41717 #undef gethostbyname
41718
41719 /* Override any gcc2 internal prototype to avoid an error. */
41720 #ifdef __cplusplus
41721 extern "C"
41722 {
41723 #endif
41724 /* We use char because int might match the return type of a gcc2
41725 builtin and then its argument prototype would still apply. */
41726 char gethostbyname ();
41727 /* The GNU C library defines this for functions which it implements
41728 to always fail with ENOSYS. Some functions are actually named
41729 something starting with __ and the normal name is an alias. */
41730 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
41731 choke me
41732 #else
41733 char (*f) () = gethostbyname;
41734 #endif
41735 #ifdef __cplusplus
41736 }
41737 #endif
41738
41739 int
41740 main ()
41741 {
41742 return f != gethostbyname;
41743 ;
41744 return 0;
41745 }
41746 _ACEOF
41747 rm -f conftest.$ac_objext conftest$ac_exeext
41748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41749 (eval $ac_link) 2>conftest.er1
41750 ac_status=$?
41751 grep -v '^ *+' conftest.er1 >conftest.err
41752 rm -f conftest.er1
41753 cat conftest.err >&5
41754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41755 (exit $ac_status); } &&
41756 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41758 (eval $ac_try) 2>&5
41759 ac_status=$?
41760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41761 (exit $ac_status); }; } &&
41762 { ac_try='test -s conftest$ac_exeext'
41763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41764 (eval $ac_try) 2>&5
41765 ac_status=$?
41766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41767 (exit $ac_status); }; }; then
41768 ac_cv_func_gethostbyname=yes
41769 else
41770 echo "$as_me: failed program was:" >&5
41771 sed 's/^/| /' conftest.$ac_ext >&5
41772
41773 ac_cv_func_gethostbyname=no
41774 fi
41775 rm -f conftest.err conftest.$ac_objext \
41776 conftest$ac_exeext conftest.$ac_ext
41777 fi
41778 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
41779 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
41780 if test $ac_cv_func_gethostbyname = yes; then
41781 cat >>confdefs.h <<\_ACEOF
41782 #define HAVE_GETHOSTBYNAME 1
41783 _ACEOF
41784
41785 fi
41786
41787 fi
41788
41789 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
41790 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
41791 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
41792 echo $ECHO_N "(cached) $ECHO_C" >&6
41793 else
41794
41795 cat >conftest.$ac_ext <<_ACEOF
41796 /* confdefs.h. */
41797 _ACEOF
41798 cat confdefs.h >>conftest.$ac_ext
41799 cat >>conftest.$ac_ext <<_ACEOF
41800 /* end confdefs.h. */
41801 #include <netdb.h>
41802 int
41803 main ()
41804 {
41805
41806 char *name;
41807 char *proto;
41808 struct servent *se, *res;
41809 char buffer[2048];
41810 int buflen = 2048;
41811 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
41812
41813 ;
41814 return 0;
41815 }
41816 _ACEOF
41817 rm -f conftest.$ac_objext
41818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41819 (eval $ac_compile) 2>conftest.er1
41820 ac_status=$?
41821 grep -v '^ *+' conftest.er1 >conftest.err
41822 rm -f conftest.er1
41823 cat conftest.err >&5
41824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41825 (exit $ac_status); } &&
41826 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41828 (eval $ac_try) 2>&5
41829 ac_status=$?
41830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41831 (exit $ac_status); }; } &&
41832 { ac_try='test -s conftest.$ac_objext'
41833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41834 (eval $ac_try) 2>&5
41835 ac_status=$?
41836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41837 (exit $ac_status); }; }; then
41838 ac_cv_func_which_getservbyname_r=six
41839 else
41840 echo "$as_me: failed program was:" >&5
41841 sed 's/^/| /' conftest.$ac_ext >&5
41842
41843
41844 cat >conftest.$ac_ext <<_ACEOF
41845 /* confdefs.h. */
41846 _ACEOF
41847 cat confdefs.h >>conftest.$ac_ext
41848 cat >>conftest.$ac_ext <<_ACEOF
41849 /* end confdefs.h. */
41850 #include <netdb.h>
41851 int
41852 main ()
41853 {
41854
41855 char *name;
41856 char *proto;
41857 struct servent *se;
41858 char buffer[2048];
41859 int buflen = 2048;
41860 (void) getservbyname_r(name, proto, se, buffer, buflen)
41861
41862 ;
41863 return 0;
41864 }
41865 _ACEOF
41866 rm -f conftest.$ac_objext
41867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41868 (eval $ac_compile) 2>conftest.er1
41869 ac_status=$?
41870 grep -v '^ *+' conftest.er1 >conftest.err
41871 rm -f conftest.er1
41872 cat conftest.err >&5
41873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41874 (exit $ac_status); } &&
41875 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41877 (eval $ac_try) 2>&5
41878 ac_status=$?
41879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41880 (exit $ac_status); }; } &&
41881 { ac_try='test -s conftest.$ac_objext'
41882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41883 (eval $ac_try) 2>&5
41884 ac_status=$?
41885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41886 (exit $ac_status); }; }; then
41887 ac_cv_func_which_getservbyname_r=five
41888 else
41889 echo "$as_me: failed program was:" >&5
41890 sed 's/^/| /' conftest.$ac_ext >&5
41891
41892
41893 cat >conftest.$ac_ext <<_ACEOF
41894 /* confdefs.h. */
41895 _ACEOF
41896 cat confdefs.h >>conftest.$ac_ext
41897 cat >>conftest.$ac_ext <<_ACEOF
41898 /* end confdefs.h. */
41899 #include <netdb.h>
41900 int
41901 main ()
41902 {
41903
41904 char *name;
41905 char *proto;
41906 struct servent *se;
41907 struct servent_data data;
41908 (void) getservbyname_r(name, proto, se, &data);
41909
41910 ;
41911 return 0;
41912 }
41913 _ACEOF
41914 rm -f conftest.$ac_objext
41915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41916 (eval $ac_compile) 2>conftest.er1
41917 ac_status=$?
41918 grep -v '^ *+' conftest.er1 >conftest.err
41919 rm -f conftest.er1
41920 cat conftest.err >&5
41921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41922 (exit $ac_status); } &&
41923 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41925 (eval $ac_try) 2>&5
41926 ac_status=$?
41927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41928 (exit $ac_status); }; } &&
41929 { ac_try='test -s conftest.$ac_objext'
41930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41931 (eval $ac_try) 2>&5
41932 ac_status=$?
41933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41934 (exit $ac_status); }; }; then
41935 ac_cv_func_which_getservbyname_r=four
41936 else
41937 echo "$as_me: failed program was:" >&5
41938 sed 's/^/| /' conftest.$ac_ext >&5
41939
41940 ac_cv_func_which_getservbyname_r=no
41941
41942 fi
41943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41944
41945
41946 fi
41947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41948
41949
41950 fi
41951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41952
41953
41954 fi
41955 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41956 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41957
41958 if test $ac_cv_func_which_getservbyname_r = six; then
41959 cat >>confdefs.h <<\_ACEOF
41960 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41961 _ACEOF
41962
41963 elif test $ac_cv_func_which_getservbyname_r = five; then
41964 cat >>confdefs.h <<\_ACEOF
41965 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41966 _ACEOF
41967
41968 elif test $ac_cv_func_which_getservbyname_r = four; then
41969 cat >>confdefs.h <<\_ACEOF
41970 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41971 _ACEOF
41972
41973 fi
41974
41975
41976 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41977 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41978
41979 for ac_func in getservbyname
41980 do
41981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41982 echo "$as_me:$LINENO: checking for $ac_func" >&5
41983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41984 if eval "test \"\${$as_ac_var+set}\" = set"; then
41985 echo $ECHO_N "(cached) $ECHO_C" >&6
41986 else
41987 cat >conftest.$ac_ext <<_ACEOF
41988 /* confdefs.h. */
41989 _ACEOF
41990 cat confdefs.h >>conftest.$ac_ext
41991 cat >>conftest.$ac_ext <<_ACEOF
41992 /* end confdefs.h. */
41993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41995 #define $ac_func innocuous_$ac_func
41996
41997 /* System header to define __stub macros and hopefully few prototypes,
41998 which can conflict with char $ac_func (); below.
41999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42000 <limits.h> exists even on freestanding compilers. */
42001
42002 #ifdef __STDC__
42003 # include <limits.h>
42004 #else
42005 # include <assert.h>
42006 #endif
42007
42008 #undef $ac_func
42009
42010 /* Override any gcc2 internal prototype to avoid an error. */
42011 #ifdef __cplusplus
42012 extern "C"
42013 {
42014 #endif
42015 /* We use char because int might match the return type of a gcc2
42016 builtin and then its argument prototype would still apply. */
42017 char $ac_func ();
42018 /* The GNU C library defines this for functions which it implements
42019 to always fail with ENOSYS. Some functions are actually named
42020 something starting with __ and the normal name is an alias. */
42021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42022 choke me
42023 #else
42024 char (*f) () = $ac_func;
42025 #endif
42026 #ifdef __cplusplus
42027 }
42028 #endif
42029
42030 int
42031 main ()
42032 {
42033 return f != $ac_func;
42034 ;
42035 return 0;
42036 }
42037 _ACEOF
42038 rm -f conftest.$ac_objext conftest$ac_exeext
42039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42040 (eval $ac_link) 2>conftest.er1
42041 ac_status=$?
42042 grep -v '^ *+' conftest.er1 >conftest.err
42043 rm -f conftest.er1
42044 cat conftest.err >&5
42045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42046 (exit $ac_status); } &&
42047 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42049 (eval $ac_try) 2>&5
42050 ac_status=$?
42051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42052 (exit $ac_status); }; } &&
42053 { ac_try='test -s conftest$ac_exeext'
42054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42055 (eval $ac_try) 2>&5
42056 ac_status=$?
42057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42058 (exit $ac_status); }; }; then
42059 eval "$as_ac_var=yes"
42060 else
42061 echo "$as_me: failed program was:" >&5
42062 sed 's/^/| /' conftest.$ac_ext >&5
42063
42064 eval "$as_ac_var=no"
42065 fi
42066 rm -f conftest.err conftest.$ac_objext \
42067 conftest$ac_exeext conftest.$ac_ext
42068 fi
42069 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42070 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42071 if test `eval echo '${'$as_ac_var'}'` = yes; then
42072 cat >>confdefs.h <<_ACEOF
42073 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42074 _ACEOF
42075 cat >>confdefs.h <<\_ACEOF
42076 #define HAVE_GETSERVBYNAME 1
42077 _ACEOF
42078
42079 fi
42080 done
42081
42082 fi
42083
42084 if test "$wxUSE_THREADS" = "yes"; then
42085 cat >>confdefs.h <<\_ACEOF
42086 #define wxUSE_THREADS 1
42087 _ACEOF
42088
42089
42090 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
42091 else
42092 if test "$wx_cv_func_strtok_r" = "yes"; then
42093 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
42094 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
42095 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
42096 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
42097 echo "$as_me:$LINENO: result: yes" >&5
42098 echo "${ECHO_T}yes" >&6
42099 else
42100 echo "$as_me:$LINENO: result: no" >&5
42101 echo "${ECHO_T}no" >&6
42102 fi
42103 fi
42104 fi
42105
42106 if test "$WXGTK20" = 1 ; then
42107 cat >>confdefs.h <<_ACEOF
42108 #define __WXGTK20__ $WXGTK20
42109 _ACEOF
42110
42111 WXGTK12=1
42112 fi
42113
42114 if test "$WXGTK12" = 1 ; then
42115 cat >>confdefs.h <<_ACEOF
42116 #define __WXGTK12__ $WXGTK12
42117 _ACEOF
42118
42119 fi
42120
42121 if test "$WXGTK127" = 1 ; then
42122 cat >>confdefs.h <<_ACEOF
42123 #define __WXGTK127__ $WXGTK127
42124 _ACEOF
42125
42126 fi
42127
42128 if test "$WXGPE" = 1 ; then
42129 cat >>confdefs.h <<_ACEOF
42130 #define __WXGPE__ $WXGPE
42131 _ACEOF
42132
42133 fi
42134
42135 DEBUG_CFLAGS=
42136 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
42137 DEBUG_CFLAGS="-g"
42138 wxUSE_OPTIMISE=no
42139 fi
42140
42141 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
42142 wxUSE_DEBUG_INFO=yes
42143 if test "$GCC" = yes; then
42144 DEBUG_CFLAGS="-ggdb"
42145 fi
42146 fi
42147
42148 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
42149 cat >>confdefs.h <<\_ACEOF
42150 #define WXDEBUG 1
42151 _ACEOF
42152
42153 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
42154 else
42155 if test "$wxUSE_GTK" = 1 ; then
42156 if test "x$wxGTK_VERSION" = "x1" ; then
42157 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
42158 fi
42159 fi
42160 fi
42161
42162 if test "$wxUSE_MEM_TRACING" = "yes" ; then
42163 cat >>confdefs.h <<\_ACEOF
42164 #define wxUSE_MEMORY_TRACING 1
42165 _ACEOF
42166
42167 cat >>confdefs.h <<\_ACEOF
42168 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
42169 _ACEOF
42170
42171 cat >>confdefs.h <<\_ACEOF
42172 #define wxUSE_DEBUG_NEW_ALWAYS 1
42173 _ACEOF
42174
42175 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
42176 fi
42177
42178 if test "$wxUSE_DMALLOC" = "yes" ; then
42179 DMALLOC_LIBS="-ldmallocthcxx"
42180 fi
42181
42182 PROFILE_FLAGS=
42183 if test "$wxUSE_PROFILE" = "yes" ; then
42184 PROFILE_FLAGS=" -pg"
42185 fi
42186
42187 if test "$GCC" = "yes" ; then
42188 if test "$wxUSE_NO_RTTI" = "yes" ; then
42189 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
42190 fi
42191 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
42192 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
42193 fi
42194 if test "$wxUSE_PERMISSIVE" = "yes" ; then
42195 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
42196 fi
42197
42198 case "${host}" in
42199 powerpc*-*-aix* )
42200 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
42201 ;;
42202 *-hppa* )
42203 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
42204 ;;
42205 esac
42206 fi
42207
42208 OPTIMISE_CFLAGS=
42209 if test "$wxUSE_OPTIMISE" = "no" ; then
42210 if test "$GCC" = yes ; then
42211 OPTIMISE_CFLAGS="-O0"
42212 fi
42213 else
42214 if test "$GCC" = yes ; then
42215 case "${host}" in
42216 *-pc-os2_emx | *-pc-os2-emx )
42217 OPTIMISE_CFLAGS="-O2"
42218 ;;
42219 *)
42220 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
42221 ;;
42222 esac
42223 else
42224 OPTIMISE_CFLAGS="-O"
42225 fi
42226 fi
42227
42228
42229 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
42230 cat >>confdefs.h <<\_ACEOF
42231 #define WXWIN_COMPATIBILITY_2_4 1
42232 _ACEOF
42233
42234
42235 WXWIN_COMPATIBILITY_2_6="yes"
42236 fi
42237
42238 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
42239 cat >>confdefs.h <<\_ACEOF
42240 #define WXWIN_COMPATIBILITY_2_6 1
42241 _ACEOF
42242
42243 fi
42244
42245
42246 if test "$wxUSE_GUI" = "yes"; then
42247 cat >>confdefs.h <<\_ACEOF
42248 #define wxUSE_GUI 1
42249 _ACEOF
42250
42251
42252 fi
42253
42254
42255 if test "$wxUSE_UNIX" = "yes"; then
42256 cat >>confdefs.h <<\_ACEOF
42257 #define wxUSE_UNIX 1
42258 _ACEOF
42259
42260 fi
42261
42262
42263 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
42264
42265 HAVE_DL_FUNCS=0
42266 HAVE_SHL_FUNCS=0
42267 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42268 if test "$USE_DARWIN" = 1; then
42269 HAVE_DL_FUNCS=1
42270 elif test "$USE_DOS" = 1; then
42271 HAVE_DL_FUNCS=0
42272 else
42273
42274 for ac_func in dlopen
42275 do
42276 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42277 echo "$as_me:$LINENO: checking for $ac_func" >&5
42278 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42279 if eval "test \"\${$as_ac_var+set}\" = set"; then
42280 echo $ECHO_N "(cached) $ECHO_C" >&6
42281 else
42282 cat >conftest.$ac_ext <<_ACEOF
42283 /* confdefs.h. */
42284 _ACEOF
42285 cat confdefs.h >>conftest.$ac_ext
42286 cat >>conftest.$ac_ext <<_ACEOF
42287 /* end confdefs.h. */
42288 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42289 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42290 #define $ac_func innocuous_$ac_func
42291
42292 /* System header to define __stub macros and hopefully few prototypes,
42293 which can conflict with char $ac_func (); below.
42294 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42295 <limits.h> exists even on freestanding compilers. */
42296
42297 #ifdef __STDC__
42298 # include <limits.h>
42299 #else
42300 # include <assert.h>
42301 #endif
42302
42303 #undef $ac_func
42304
42305 /* Override any gcc2 internal prototype to avoid an error. */
42306 #ifdef __cplusplus
42307 extern "C"
42308 {
42309 #endif
42310 /* We use char because int might match the return type of a gcc2
42311 builtin and then its argument prototype would still apply. */
42312 char $ac_func ();
42313 /* The GNU C library defines this for functions which it implements
42314 to always fail with ENOSYS. Some functions are actually named
42315 something starting with __ and the normal name is an alias. */
42316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42317 choke me
42318 #else
42319 char (*f) () = $ac_func;
42320 #endif
42321 #ifdef __cplusplus
42322 }
42323 #endif
42324
42325 int
42326 main ()
42327 {
42328 return f != $ac_func;
42329 ;
42330 return 0;
42331 }
42332 _ACEOF
42333 rm -f conftest.$ac_objext conftest$ac_exeext
42334 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42335 (eval $ac_link) 2>conftest.er1
42336 ac_status=$?
42337 grep -v '^ *+' conftest.er1 >conftest.err
42338 rm -f conftest.er1
42339 cat conftest.err >&5
42340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42341 (exit $ac_status); } &&
42342 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42344 (eval $ac_try) 2>&5
42345 ac_status=$?
42346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42347 (exit $ac_status); }; } &&
42348 { ac_try='test -s conftest$ac_exeext'
42349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42350 (eval $ac_try) 2>&5
42351 ac_status=$?
42352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42353 (exit $ac_status); }; }; then
42354 eval "$as_ac_var=yes"
42355 else
42356 echo "$as_me: failed program was:" >&5
42357 sed 's/^/| /' conftest.$ac_ext >&5
42358
42359 eval "$as_ac_var=no"
42360 fi
42361 rm -f conftest.err conftest.$ac_objext \
42362 conftest$ac_exeext conftest.$ac_ext
42363 fi
42364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42365 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42366 if test `eval echo '${'$as_ac_var'}'` = yes; then
42367 cat >>confdefs.h <<_ACEOF
42368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42369 _ACEOF
42370
42371 cat >>confdefs.h <<\_ACEOF
42372 #define HAVE_DLOPEN 1
42373 _ACEOF
42374
42375 HAVE_DL_FUNCS=1
42376
42377 else
42378
42379 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
42380 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
42381 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
42382 echo $ECHO_N "(cached) $ECHO_C" >&6
42383 else
42384 ac_check_lib_save_LIBS=$LIBS
42385 LIBS="-ldl $LIBS"
42386 cat >conftest.$ac_ext <<_ACEOF
42387 /* confdefs.h. */
42388 _ACEOF
42389 cat confdefs.h >>conftest.$ac_ext
42390 cat >>conftest.$ac_ext <<_ACEOF
42391 /* end confdefs.h. */
42392
42393 /* Override any gcc2 internal prototype to avoid an error. */
42394 #ifdef __cplusplus
42395 extern "C"
42396 #endif
42397 /* We use char because int might match the return type of a gcc2
42398 builtin and then its argument prototype would still apply. */
42399 char dlopen ();
42400 int
42401 main ()
42402 {
42403 dlopen ();
42404 ;
42405 return 0;
42406 }
42407 _ACEOF
42408 rm -f conftest.$ac_objext conftest$ac_exeext
42409 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42410 (eval $ac_link) 2>conftest.er1
42411 ac_status=$?
42412 grep -v '^ *+' conftest.er1 >conftest.err
42413 rm -f conftest.er1
42414 cat conftest.err >&5
42415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42416 (exit $ac_status); } &&
42417 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42419 (eval $ac_try) 2>&5
42420 ac_status=$?
42421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42422 (exit $ac_status); }; } &&
42423 { ac_try='test -s conftest$ac_exeext'
42424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42425 (eval $ac_try) 2>&5
42426 ac_status=$?
42427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42428 (exit $ac_status); }; }; then
42429 ac_cv_lib_dl_dlopen=yes
42430 else
42431 echo "$as_me: failed program was:" >&5
42432 sed 's/^/| /' conftest.$ac_ext >&5
42433
42434 ac_cv_lib_dl_dlopen=no
42435 fi
42436 rm -f conftest.err conftest.$ac_objext \
42437 conftest$ac_exeext conftest.$ac_ext
42438 LIBS=$ac_check_lib_save_LIBS
42439 fi
42440 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
42441 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
42442 if test $ac_cv_lib_dl_dlopen = yes; then
42443
42444 cat >>confdefs.h <<\_ACEOF
42445 #define HAVE_DLOPEN 1
42446 _ACEOF
42447
42448 HAVE_DL_FUNCS=1
42449 DL_LINK=" -ldl$DL_LINK"
42450
42451 else
42452
42453
42454 for ac_func in shl_load
42455 do
42456 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42457 echo "$as_me:$LINENO: checking for $ac_func" >&5
42458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42459 if eval "test \"\${$as_ac_var+set}\" = set"; then
42460 echo $ECHO_N "(cached) $ECHO_C" >&6
42461 else
42462 cat >conftest.$ac_ext <<_ACEOF
42463 /* confdefs.h. */
42464 _ACEOF
42465 cat confdefs.h >>conftest.$ac_ext
42466 cat >>conftest.$ac_ext <<_ACEOF
42467 /* end confdefs.h. */
42468 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42470 #define $ac_func innocuous_$ac_func
42471
42472 /* System header to define __stub macros and hopefully few prototypes,
42473 which can conflict with char $ac_func (); below.
42474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42475 <limits.h> exists even on freestanding compilers. */
42476
42477 #ifdef __STDC__
42478 # include <limits.h>
42479 #else
42480 # include <assert.h>
42481 #endif
42482
42483 #undef $ac_func
42484
42485 /* Override any gcc2 internal prototype to avoid an error. */
42486 #ifdef __cplusplus
42487 extern "C"
42488 {
42489 #endif
42490 /* We use char because int might match the return type of a gcc2
42491 builtin and then its argument prototype would still apply. */
42492 char $ac_func ();
42493 /* The GNU C library defines this for functions which it implements
42494 to always fail with ENOSYS. Some functions are actually named
42495 something starting with __ and the normal name is an alias. */
42496 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42497 choke me
42498 #else
42499 char (*f) () = $ac_func;
42500 #endif
42501 #ifdef __cplusplus
42502 }
42503 #endif
42504
42505 int
42506 main ()
42507 {
42508 return f != $ac_func;
42509 ;
42510 return 0;
42511 }
42512 _ACEOF
42513 rm -f conftest.$ac_objext conftest$ac_exeext
42514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42515 (eval $ac_link) 2>conftest.er1
42516 ac_status=$?
42517 grep -v '^ *+' conftest.er1 >conftest.err
42518 rm -f conftest.er1
42519 cat conftest.err >&5
42520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42521 (exit $ac_status); } &&
42522 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42524 (eval $ac_try) 2>&5
42525 ac_status=$?
42526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42527 (exit $ac_status); }; } &&
42528 { ac_try='test -s conftest$ac_exeext'
42529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42530 (eval $ac_try) 2>&5
42531 ac_status=$?
42532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42533 (exit $ac_status); }; }; then
42534 eval "$as_ac_var=yes"
42535 else
42536 echo "$as_me: failed program was:" >&5
42537 sed 's/^/| /' conftest.$ac_ext >&5
42538
42539 eval "$as_ac_var=no"
42540 fi
42541 rm -f conftest.err conftest.$ac_objext \
42542 conftest$ac_exeext conftest.$ac_ext
42543 fi
42544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42546 if test `eval echo '${'$as_ac_var'}'` = yes; then
42547 cat >>confdefs.h <<_ACEOF
42548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42549 _ACEOF
42550
42551 cat >>confdefs.h <<\_ACEOF
42552 #define HAVE_SHL_LOAD 1
42553 _ACEOF
42554
42555 HAVE_SHL_FUNCS=1
42556
42557 else
42558
42559 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
42560 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
42561 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
42562 echo $ECHO_N "(cached) $ECHO_C" >&6
42563 else
42564 ac_check_lib_save_LIBS=$LIBS
42565 LIBS="-lshl_load $LIBS"
42566 cat >conftest.$ac_ext <<_ACEOF
42567 /* confdefs.h. */
42568 _ACEOF
42569 cat confdefs.h >>conftest.$ac_ext
42570 cat >>conftest.$ac_ext <<_ACEOF
42571 /* end confdefs.h. */
42572
42573 /* Override any gcc2 internal prototype to avoid an error. */
42574 #ifdef __cplusplus
42575 extern "C"
42576 #endif
42577 /* We use char because int might match the return type of a gcc2
42578 builtin and then its argument prototype would still apply. */
42579 char dld ();
42580 int
42581 main ()
42582 {
42583 dld ();
42584 ;
42585 return 0;
42586 }
42587 _ACEOF
42588 rm -f conftest.$ac_objext conftest$ac_exeext
42589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42590 (eval $ac_link) 2>conftest.er1
42591 ac_status=$?
42592 grep -v '^ *+' conftest.er1 >conftest.err
42593 rm -f conftest.er1
42594 cat conftest.err >&5
42595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42596 (exit $ac_status); } &&
42597 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42599 (eval $ac_try) 2>&5
42600 ac_status=$?
42601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42602 (exit $ac_status); }; } &&
42603 { ac_try='test -s conftest$ac_exeext'
42604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42605 (eval $ac_try) 2>&5
42606 ac_status=$?
42607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42608 (exit $ac_status); }; }; then
42609 ac_cv_lib_shl_load_dld=yes
42610 else
42611 echo "$as_me: failed program was:" >&5
42612 sed 's/^/| /' conftest.$ac_ext >&5
42613
42614 ac_cv_lib_shl_load_dld=no
42615 fi
42616 rm -f conftest.err conftest.$ac_objext \
42617 conftest$ac_exeext conftest.$ac_ext
42618 LIBS=$ac_check_lib_save_LIBS
42619 fi
42620 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
42621 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
42622 if test $ac_cv_lib_shl_load_dld = yes; then
42623
42624 HAVE_SHL_FUNCS=1
42625 DL_LINK=" -ldld$DL_LINK"
42626
42627 fi
42628
42629
42630 fi
42631 done
42632
42633
42634 fi
42635
42636
42637 fi
42638 done
42639
42640
42641 if test "$HAVE_DL_FUNCS" = 1; then
42642
42643 for ac_func in dlerror
42644 do
42645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42646 echo "$as_me:$LINENO: checking for $ac_func" >&5
42647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42648 if eval "test \"\${$as_ac_var+set}\" = set"; then
42649 echo $ECHO_N "(cached) $ECHO_C" >&6
42650 else
42651 cat >conftest.$ac_ext <<_ACEOF
42652 /* confdefs.h. */
42653 _ACEOF
42654 cat confdefs.h >>conftest.$ac_ext
42655 cat >>conftest.$ac_ext <<_ACEOF
42656 /* end confdefs.h. */
42657 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42658 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42659 #define $ac_func innocuous_$ac_func
42660
42661 /* System header to define __stub macros and hopefully few prototypes,
42662 which can conflict with char $ac_func (); below.
42663 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42664 <limits.h> exists even on freestanding compilers. */
42665
42666 #ifdef __STDC__
42667 # include <limits.h>
42668 #else
42669 # include <assert.h>
42670 #endif
42671
42672 #undef $ac_func
42673
42674 /* Override any gcc2 internal prototype to avoid an error. */
42675 #ifdef __cplusplus
42676 extern "C"
42677 {
42678 #endif
42679 /* We use char because int might match the return type of a gcc2
42680 builtin and then its argument prototype would still apply. */
42681 char $ac_func ();
42682 /* The GNU C library defines this for functions which it implements
42683 to always fail with ENOSYS. Some functions are actually named
42684 something starting with __ and the normal name is an alias. */
42685 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42686 choke me
42687 #else
42688 char (*f) () = $ac_func;
42689 #endif
42690 #ifdef __cplusplus
42691 }
42692 #endif
42693
42694 int
42695 main ()
42696 {
42697 return f != $ac_func;
42698 ;
42699 return 0;
42700 }
42701 _ACEOF
42702 rm -f conftest.$ac_objext conftest$ac_exeext
42703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42704 (eval $ac_link) 2>conftest.er1
42705 ac_status=$?
42706 grep -v '^ *+' conftest.er1 >conftest.err
42707 rm -f conftest.er1
42708 cat conftest.err >&5
42709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42710 (exit $ac_status); } &&
42711 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42713 (eval $ac_try) 2>&5
42714 ac_status=$?
42715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42716 (exit $ac_status); }; } &&
42717 { ac_try='test -s conftest$ac_exeext'
42718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42719 (eval $ac_try) 2>&5
42720 ac_status=$?
42721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42722 (exit $ac_status); }; }; then
42723 eval "$as_ac_var=yes"
42724 else
42725 echo "$as_me: failed program was:" >&5
42726 sed 's/^/| /' conftest.$ac_ext >&5
42727
42728 eval "$as_ac_var=no"
42729 fi
42730 rm -f conftest.err conftest.$ac_objext \
42731 conftest$ac_exeext conftest.$ac_ext
42732 fi
42733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42735 if test `eval echo '${'$as_ac_var'}'` = yes; then
42736 cat >>confdefs.h <<_ACEOF
42737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42738 _ACEOF
42739 cat >>confdefs.h <<\_ACEOF
42740 #define HAVE_DLERROR 1
42741 _ACEOF
42742
42743 else
42744
42745 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
42746 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
42747 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
42748 echo $ECHO_N "(cached) $ECHO_C" >&6
42749 else
42750 ac_check_lib_save_LIBS=$LIBS
42751 LIBS="-ldl $LIBS"
42752 cat >conftest.$ac_ext <<_ACEOF
42753 /* confdefs.h. */
42754 _ACEOF
42755 cat confdefs.h >>conftest.$ac_ext
42756 cat >>conftest.$ac_ext <<_ACEOF
42757 /* end confdefs.h. */
42758
42759 /* Override any gcc2 internal prototype to avoid an error. */
42760 #ifdef __cplusplus
42761 extern "C"
42762 #endif
42763 /* We use char because int might match the return type of a gcc2
42764 builtin and then its argument prototype would still apply. */
42765 char dlerror ();
42766 int
42767 main ()
42768 {
42769 dlerror ();
42770 ;
42771 return 0;
42772 }
42773 _ACEOF
42774 rm -f conftest.$ac_objext conftest$ac_exeext
42775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42776 (eval $ac_link) 2>conftest.er1
42777 ac_status=$?
42778 grep -v '^ *+' conftest.er1 >conftest.err
42779 rm -f conftest.er1
42780 cat conftest.err >&5
42781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42782 (exit $ac_status); } &&
42783 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42785 (eval $ac_try) 2>&5
42786 ac_status=$?
42787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42788 (exit $ac_status); }; } &&
42789 { ac_try='test -s conftest$ac_exeext'
42790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42791 (eval $ac_try) 2>&5
42792 ac_status=$?
42793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42794 (exit $ac_status); }; }; then
42795 ac_cv_lib_dl_dlerror=yes
42796 else
42797 echo "$as_me: failed program was:" >&5
42798 sed 's/^/| /' conftest.$ac_ext >&5
42799
42800 ac_cv_lib_dl_dlerror=no
42801 fi
42802 rm -f conftest.err conftest.$ac_objext \
42803 conftest$ac_exeext conftest.$ac_ext
42804 LIBS=$ac_check_lib_save_LIBS
42805 fi
42806 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
42807 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
42808 if test $ac_cv_lib_dl_dlerror = yes; then
42809 cat >>confdefs.h <<\_ACEOF
42810 #define HAVE_DLERROR 1
42811 _ACEOF
42812
42813 fi
42814
42815
42816
42817 fi
42818 done
42819
42820 fi
42821 fi
42822
42823 if test "$HAVE_DL_FUNCS" = 0; then
42824 if test "$HAVE_SHL_FUNCS" = 0; then
42825 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
42826 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
42827 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
42828 wxUSE_DYNAMIC_LOADER=no
42829 wxUSE_DYNLIB_CLASS=no
42830 else
42831 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
42832 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
42833 fi
42834 fi
42835 fi
42836 fi
42837 fi
42838
42839 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
42840 cat >>confdefs.h <<\_ACEOF
42841 #define wxUSE_DYNAMIC_LOADER 1
42842 _ACEOF
42843
42844 fi
42845 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
42846 cat >>confdefs.h <<\_ACEOF
42847 #define wxUSE_DYNLIB_CLASS 1
42848 _ACEOF
42849
42850 fi
42851
42852
42853
42854 if test "$wxUSE_PLUGINS" = "yes" ; then
42855 if test "$wxUSE_SHARED" = "no" ; then
42856 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
42857 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
42858 wxUSE_PLUGINS=no
42859 fi
42860 if test "$wxUSE_MONOLITHIC" = "yes" ; then
42861 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
42862 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
42863 wxUSE_PLUGINS=no
42864 fi
42865 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
42866 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
42867 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
42868 wxUSE_PLUGINS=no
42869 fi
42870 if test "$wxUSE_PLUGINS" = "yes" ; then
42871 cat >>confdefs.h <<\_ACEOF
42872 #define wxUSE_PLUGINS 1
42873 _ACEOF
42874
42875 fi
42876 fi
42877
42878
42879 if test "$wxUSE_STL" = "yes"; then
42880 cat >>confdefs.h <<\_ACEOF
42881 #define wxUSE_STL 1
42882 _ACEOF
42883
42884 fi
42885
42886 if test "$wxUSE_APPLE_IEEE" = "yes"; then
42887 cat >>confdefs.h <<\_ACEOF
42888 #define wxUSE_APPLE_IEEE 1
42889 _ACEOF
42890
42891 fi
42892
42893 if test "$wxUSE_TIMER" = "yes"; then
42894 cat >>confdefs.h <<\_ACEOF
42895 #define wxUSE_TIMER 1
42896 _ACEOF
42897
42898 fi
42899
42900 if test "$USE_UNIX" = "1" ; then
42901 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
42902 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
42903 if test "${ac_cv_header_sys_soundcard+set}" = set; then
42904 echo $ECHO_N "(cached) $ECHO_C" >&6
42905 else
42906
42907 cat >conftest.$ac_ext <<_ACEOF
42908 /* confdefs.h. */
42909 _ACEOF
42910 cat confdefs.h >>conftest.$ac_ext
42911 cat >>conftest.$ac_ext <<_ACEOF
42912 /* end confdefs.h. */
42913
42914 #include <sys/ioctl.h>
42915 #include <sys/soundcard.h>
42916
42917 int
42918 main ()
42919 {
42920
42921 ioctl(0, SNDCTL_DSP_SPEED, 0);
42922
42923 ;
42924 return 0;
42925 }
42926 _ACEOF
42927 rm -f conftest.$ac_objext conftest$ac_exeext
42928 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42929 (eval $ac_link) 2>conftest.er1
42930 ac_status=$?
42931 grep -v '^ *+' conftest.er1 >conftest.err
42932 rm -f conftest.er1
42933 cat conftest.err >&5
42934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42935 (exit $ac_status); } &&
42936 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42938 (eval $ac_try) 2>&5
42939 ac_status=$?
42940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42941 (exit $ac_status); }; } &&
42942 { ac_try='test -s conftest$ac_exeext'
42943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42944 (eval $ac_try) 2>&5
42945 ac_status=$?
42946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42947 (exit $ac_status); }; }; then
42948 ac_cv_header_sys_soundcard=yes
42949 else
42950 echo "$as_me: failed program was:" >&5
42951 sed 's/^/| /' conftest.$ac_ext >&5
42952
42953
42954 saveLibs="$LIBS"
42955 LIBS="$saveLibs -lossaudio"
42956 cat >conftest.$ac_ext <<_ACEOF
42957 /* confdefs.h. */
42958 _ACEOF
42959 cat confdefs.h >>conftest.$ac_ext
42960 cat >>conftest.$ac_ext <<_ACEOF
42961 /* end confdefs.h. */
42962
42963 #include <sys/ioctl.h>
42964 #include <sys/soundcard.h>
42965
42966 int
42967 main ()
42968 {
42969
42970 ioctl(0, SNDCTL_DSP_SPEED, 0);
42971
42972 ;
42973 return 0;
42974 }
42975 _ACEOF
42976 rm -f conftest.$ac_objext conftest$ac_exeext
42977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42978 (eval $ac_link) 2>conftest.er1
42979 ac_status=$?
42980 grep -v '^ *+' conftest.er1 >conftest.err
42981 rm -f conftest.er1
42982 cat conftest.err >&5
42983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42984 (exit $ac_status); } &&
42985 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42987 (eval $ac_try) 2>&5
42988 ac_status=$?
42989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42990 (exit $ac_status); }; } &&
42991 { ac_try='test -s conftest$ac_exeext'
42992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42993 (eval $ac_try) 2>&5
42994 ac_status=$?
42995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42996 (exit $ac_status); }; }; then
42997 ac_cv_header_sys_soundcard=yes
42998 else
42999 echo "$as_me: failed program was:" >&5
43000 sed 's/^/| /' conftest.$ac_ext >&5
43001
43002
43003 LIBS="$saveLibs"
43004 ac_cv_header_sys_soundcard=no
43005
43006
43007 fi
43008 rm -f conftest.err conftest.$ac_objext \
43009 conftest$ac_exeext conftest.$ac_ext
43010
43011
43012 fi
43013 rm -f conftest.err conftest.$ac_objext \
43014 conftest$ac_exeext conftest.$ac_ext
43015
43016 fi
43017 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
43018 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
43019
43020 if test "$ac_cv_header_sys_soundcard" = "yes"; then
43021 cat >>confdefs.h <<\_ACEOF
43022 #define HAVE_SYS_SOUNDCARD_H 1
43023 _ACEOF
43024
43025 else
43026 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
43027 fi
43028 fi
43029 WITH_PLUGIN_SDL=0
43030 if test "$wxUSE_SOUND" = "yes"; then
43031 if test "$USE_UNIX" = "1" ; then
43032 if test "$wxUSE_LIBSDL" != "no"; then
43033
43034 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
43035 if test "${with_sdl_prefix+set}" = set; then
43036 withval="$with_sdl_prefix"
43037 sdl_prefix="$withval"
43038 else
43039 sdl_prefix=""
43040 fi;
43041
43042 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
43043 if test "${with_sdl_exec_prefix+set}" = set; then
43044 withval="$with_sdl_exec_prefix"
43045 sdl_exec_prefix="$withval"
43046 else
43047 sdl_exec_prefix=""
43048 fi;
43049 # Check whether --enable-sdltest or --disable-sdltest was given.
43050 if test "${enable_sdltest+set}" = set; then
43051 enableval="$enable_sdltest"
43052
43053 else
43054 enable_sdltest=yes
43055 fi;
43056
43057 if test x$sdl_exec_prefix != x ; then
43058 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
43059 if test x${SDL_CONFIG+set} != xset ; then
43060 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
43061 fi
43062 fi
43063 if test x$sdl_prefix != x ; then
43064 sdl_args="$sdl_args --prefix=$sdl_prefix"
43065 if test x${SDL_CONFIG+set} != xset ; then
43066 SDL_CONFIG=$sdl_prefix/bin/sdl-config
43067 fi
43068 fi
43069
43070 if test "x$prefix" != xNONE; then
43071 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
43072 fi
43073 # Extract the first word of "sdl-config", so it can be a program name with args.
43074 set dummy sdl-config; ac_word=$2
43075 echo "$as_me:$LINENO: checking for $ac_word" >&5
43076 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43077 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
43078 echo $ECHO_N "(cached) $ECHO_C" >&6
43079 else
43080 case $SDL_CONFIG in
43081 [\\/]* | ?:[\\/]*)
43082 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
43083 ;;
43084 *)
43085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43086 for as_dir in $PATH
43087 do
43088 IFS=$as_save_IFS
43089 test -z "$as_dir" && as_dir=.
43090 for ac_exec_ext in '' $ac_executable_extensions; do
43091 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43092 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43093 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43094 break 2
43095 fi
43096 done
43097 done
43098
43099 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
43100 ;;
43101 esac
43102 fi
43103 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
43104
43105 if test -n "$SDL_CONFIG"; then
43106 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
43107 echo "${ECHO_T}$SDL_CONFIG" >&6
43108 else
43109 echo "$as_me:$LINENO: result: no" >&5
43110 echo "${ECHO_T}no" >&6
43111 fi
43112
43113 min_sdl_version=1.2.0
43114 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
43115 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
43116 no_sdl=""
43117 if test "$SDL_CONFIG" = "no" ; then
43118 no_sdl=yes
43119 else
43120 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
43121 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
43122
43123 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
43124 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
43125 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
43126 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
43127 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
43128 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
43129 if test "x$enable_sdltest" = "xyes" ; then
43130 ac_save_CFLAGS="$CFLAGS"
43131 ac_save_CXXFLAGS="$CXXFLAGS"
43132 ac_save_LIBS="$LIBS"
43133 CFLAGS="$CFLAGS $SDL_CFLAGS"
43134 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43135 LIBS="$LIBS $SDL_LIBS"
43136 rm -f conf.sdltest
43137 if test "$cross_compiling" = yes; then
43138 echo $ac_n "cross compiling; assumed OK... $ac_c"
43139 else
43140 cat >conftest.$ac_ext <<_ACEOF
43141 /* confdefs.h. */
43142 _ACEOF
43143 cat confdefs.h >>conftest.$ac_ext
43144 cat >>conftest.$ac_ext <<_ACEOF
43145 /* end confdefs.h. */
43146
43147 #include <stdio.h>
43148 #include <stdlib.h>
43149 #include <string.h>
43150 #include "SDL.h"
43151
43152 char*
43153 my_strdup (char *str)
43154 {
43155 char *new_str;
43156
43157 if (str)
43158 {
43159 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
43160 strcpy (new_str, str);
43161 }
43162 else
43163 new_str = NULL;
43164
43165 return new_str;
43166 }
43167
43168 int main (int argc, char *argv[])
43169 {
43170 int major, minor, micro;
43171 char *tmp_version;
43172
43173 /* This hangs on some systems (?)
43174 system ("touch conf.sdltest");
43175 */
43176 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
43177
43178 /* HP/UX 9 (%@#!) writes to sscanf strings */
43179 tmp_version = my_strdup("$min_sdl_version");
43180 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
43181 printf("%s, bad version string\n", "$min_sdl_version");
43182 exit(1);
43183 }
43184
43185 if (($sdl_major_version > major) ||
43186 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
43187 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
43188 {
43189 return 0;
43190 }
43191 else
43192 {
43193 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
43194 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
43195 printf("*** best to upgrade to the required version.\n");
43196 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
43197 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
43198 printf("*** config.cache before re-running configure\n");
43199 return 1;
43200 }
43201 }
43202
43203
43204 _ACEOF
43205 rm -f conftest$ac_exeext
43206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43207 (eval $ac_link) 2>&5
43208 ac_status=$?
43209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43210 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43212 (eval $ac_try) 2>&5
43213 ac_status=$?
43214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43215 (exit $ac_status); }; }; then
43216 :
43217 else
43218 echo "$as_me: program exited with status $ac_status" >&5
43219 echo "$as_me: failed program was:" >&5
43220 sed 's/^/| /' conftest.$ac_ext >&5
43221
43222 ( exit $ac_status )
43223 no_sdl=yes
43224 fi
43225 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43226 fi
43227 CFLAGS="$ac_save_CFLAGS"
43228 CXXFLAGS="$ac_save_CXXFLAGS"
43229 LIBS="$ac_save_LIBS"
43230 fi
43231 fi
43232 if test "x$no_sdl" = x ; then
43233 echo "$as_me:$LINENO: result: yes" >&5
43234 echo "${ECHO_T}yes" >&6
43235
43236 EXTRALIBS_SDL="$SDL_LIBS"
43237 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
43238 cat >>confdefs.h <<\_ACEOF
43239 #define wxUSE_LIBSDL 1
43240 _ACEOF
43241
43242
43243 else
43244 echo "$as_me:$LINENO: result: no" >&5
43245 echo "${ECHO_T}no" >&6
43246 if test "$SDL_CONFIG" = "no" ; then
43247 echo "*** The sdl-config script installed by SDL could not be found"
43248 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
43249 echo "*** your path, or set the SDL_CONFIG environment variable to the"
43250 echo "*** full path to sdl-config."
43251 else
43252 if test -f conf.sdltest ; then
43253 :
43254 else
43255 echo "*** Could not run SDL test program, checking why..."
43256 CFLAGS="$CFLAGS $SDL_CFLAGS"
43257 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
43258 LIBS="$LIBS $SDL_LIBS"
43259 cat >conftest.$ac_ext <<_ACEOF
43260 /* confdefs.h. */
43261 _ACEOF
43262 cat confdefs.h >>conftest.$ac_ext
43263 cat >>conftest.$ac_ext <<_ACEOF
43264 /* end confdefs.h. */
43265
43266 #include <stdio.h>
43267 #include "SDL.h"
43268
43269 int main(int argc, char *argv[])
43270 { return 0; }
43271 #undef main
43272 #define main K_and_R_C_main
43273
43274 int
43275 main ()
43276 {
43277 return 0;
43278 ;
43279 return 0;
43280 }
43281 _ACEOF
43282 rm -f conftest.$ac_objext conftest$ac_exeext
43283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43284 (eval $ac_link) 2>conftest.er1
43285 ac_status=$?
43286 grep -v '^ *+' conftest.er1 >conftest.err
43287 rm -f conftest.er1
43288 cat conftest.err >&5
43289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43290 (exit $ac_status); } &&
43291 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43293 (eval $ac_try) 2>&5
43294 ac_status=$?
43295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43296 (exit $ac_status); }; } &&
43297 { ac_try='test -s conftest$ac_exeext'
43298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43299 (eval $ac_try) 2>&5
43300 ac_status=$?
43301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43302 (exit $ac_status); }; }; then
43303 echo "*** The test program compiled, but did not run. This usually means"
43304 echo "*** that the run-time linker is not finding SDL or finding the wrong"
43305 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
43306 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
43307 echo "*** to the installed location Also, make sure you have run ldconfig if that"
43308 echo "*** is required on your system"
43309 echo "***"
43310 echo "*** If you have an old version installed, it is best to remove it, although"
43311 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
43312 else
43313 echo "$as_me: failed program was:" >&5
43314 sed 's/^/| /' conftest.$ac_ext >&5
43315
43316 echo "*** The test program failed to compile or link. See the file config.log for the"
43317 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
43318 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
43319 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
43320 fi
43321 rm -f conftest.err conftest.$ac_objext \
43322 conftest$ac_exeext conftest.$ac_ext
43323 CFLAGS="$ac_save_CFLAGS"
43324 CXXFLAGS="$ac_save_CXXFLAGS"
43325 LIBS="$ac_save_LIBS"
43326 fi
43327 fi
43328 SDL_CFLAGS=""
43329 SDL_LIBS=""
43330 wxUSE_LIBSDL="no"
43331 fi
43332
43333
43334 rm -f conf.sdltest
43335
43336 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
43337 WITH_PLUGIN_SDL=1
43338 fi
43339 fi
43340 fi
43341
43342 cat >>confdefs.h <<\_ACEOF
43343 #define wxUSE_SOUND 1
43344 _ACEOF
43345
43346 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
43347 fi
43348
43349 if test "$WXGTK20" = 1; then
43350
43351
43352 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
43353 if test -n "$ac_tool_prefix"; then
43354 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
43355 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
43356 echo "$as_me:$LINENO: checking for $ac_word" >&5
43357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43358 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
43359 echo $ECHO_N "(cached) $ECHO_C" >&6
43360 else
43361 case $PKG_CONFIG in
43362 [\\/]* | ?:[\\/]*)
43363 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
43364 ;;
43365 *)
43366 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43367 for as_dir in $PATH
43368 do
43369 IFS=$as_save_IFS
43370 test -z "$as_dir" && as_dir=.
43371 for ac_exec_ext in '' $ac_executable_extensions; do
43372 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43373 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43375 break 2
43376 fi
43377 done
43378 done
43379
43380 ;;
43381 esac
43382 fi
43383 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
43384
43385 if test -n "$PKG_CONFIG"; then
43386 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
43387 echo "${ECHO_T}$PKG_CONFIG" >&6
43388 else
43389 echo "$as_me:$LINENO: result: no" >&5
43390 echo "${ECHO_T}no" >&6
43391 fi
43392
43393 fi
43394 if test -z "$ac_cv_path_PKG_CONFIG"; then
43395 ac_pt_PKG_CONFIG=$PKG_CONFIG
43396 # Extract the first word of "pkg-config", so it can be a program name with args.
43397 set dummy pkg-config; ac_word=$2
43398 echo "$as_me:$LINENO: checking for $ac_word" >&5
43399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
43400 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
43401 echo $ECHO_N "(cached) $ECHO_C" >&6
43402 else
43403 case $ac_pt_PKG_CONFIG in
43404 [\\/]* | ?:[\\/]*)
43405 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
43406 ;;
43407 *)
43408 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
43409 for as_dir in $PATH
43410 do
43411 IFS=$as_save_IFS
43412 test -z "$as_dir" && as_dir=.
43413 for ac_exec_ext in '' $ac_executable_extensions; do
43414 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
43415 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
43416 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
43417 break 2
43418 fi
43419 done
43420 done
43421
43422 ;;
43423 esac
43424 fi
43425 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
43426
43427 if test -n "$ac_pt_PKG_CONFIG"; then
43428 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
43429 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
43430 else
43431 echo "$as_me:$LINENO: result: no" >&5
43432 echo "${ECHO_T}no" >&6
43433 fi
43434
43435 PKG_CONFIG=$ac_pt_PKG_CONFIG
43436 else
43437 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
43438 fi
43439
43440 fi
43441 if test -n "$PKG_CONFIG"; then
43442 _pkg_min_version=0.9.0
43443 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
43444 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
43445 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
43446 echo "$as_me:$LINENO: result: yes" >&5
43447 echo "${ECHO_T}yes" >&6
43448 else
43449 echo "$as_me:$LINENO: result: no" >&5
43450 echo "${ECHO_T}no" >&6
43451 PKG_CONFIG=""
43452 fi
43453
43454 fi
43455
43456 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43457 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
43458
43459
43460 pkg_failed=no
43461 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
43462 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
43463
43464 if test -n "$PKG_CONFIG"; then
43465 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
43466 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
43467 else
43468 if test -n "$PKG_CONFIG" && \
43469 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43470 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43471 ac_status=$?
43472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43473 (exit $ac_status); }; then
43474 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43475 else
43476 pkg_failed=yes
43477 fi
43478 fi
43479 else
43480 pkg_failed=untried
43481 fi
43482 if test -n "$PKG_CONFIG"; then
43483 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
43484 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
43485 else
43486 if test -n "$PKG_CONFIG" && \
43487 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
43488 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
43489 ac_status=$?
43490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43491 (exit $ac_status); }; then
43492 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
43493 else
43494 pkg_failed=yes
43495 fi
43496 fi
43497 else
43498 pkg_failed=untried
43499 fi
43500
43501
43502
43503 if test $pkg_failed = yes; then
43504
43505 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43506 _pkg_short_errors_supported=yes
43507 else
43508 _pkg_short_errors_supported=no
43509 fi
43510 if test $_pkg_short_errors_supported = yes; then
43511 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43512 else
43513 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
43514 fi
43515 # Put the nasty error message in config.log where it belongs
43516 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
43517
43518
43519 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43520 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43521 wxUSE_LIBGNOMEPRINT="no"
43522
43523
43524 elif test $pkg_failed = untried; then
43525
43526 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
43527 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
43528 wxUSE_LIBGNOMEPRINT="no"
43529
43530
43531 else
43532 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
43533 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
43534 echo "$as_me:$LINENO: result: yes" >&5
43535 echo "${ECHO_T}yes" >&6
43536
43537 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
43538 cat >>confdefs.h <<\_ACEOF
43539 #define wxUSE_LIBGNOMEPRINT 1
43540 _ACEOF
43541
43542
43543 fi
43544 fi
43545 fi
43546
43547 if test "$wxUSE_MIMETYPE" = "yes" ; then
43548 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
43549
43550
43551 pkg_failed=no
43552 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
43553 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
43554
43555 if test -n "$PKG_CONFIG"; then
43556 if test -n "$GNOMEVFS_CFLAGS"; then
43557 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
43558 else
43559 if test -n "$PKG_CONFIG" && \
43560 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43561 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43562 ac_status=$?
43563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43564 (exit $ac_status); }; then
43565 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43566 else
43567 pkg_failed=yes
43568 fi
43569 fi
43570 else
43571 pkg_failed=untried
43572 fi
43573 if test -n "$PKG_CONFIG"; then
43574 if test -n "$GNOMEVFS_LIBS"; then
43575 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
43576 else
43577 if test -n "$PKG_CONFIG" && \
43578 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
43579 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
43580 ac_status=$?
43581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43582 (exit $ac_status); }; then
43583 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
43584 else
43585 pkg_failed=yes
43586 fi
43587 fi
43588 else
43589 pkg_failed=untried
43590 fi
43591
43592
43593
43594 if test $pkg_failed = yes; then
43595
43596 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43597 _pkg_short_errors_supported=yes
43598 else
43599 _pkg_short_errors_supported=no
43600 fi
43601 if test $_pkg_short_errors_supported = yes; then
43602 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43603 else
43604 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
43605 fi
43606 # Put the nasty error message in config.log where it belongs
43607 echo "$GNOMEVFS_PKG_ERRORS" >&5
43608
43609
43610 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43611 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43612 wxUSE_LIBGNOMEVFS="no"
43613
43614
43615 elif test $pkg_failed = untried; then
43616
43617 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
43618 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
43619 wxUSE_LIBGNOMEVFS="no"
43620
43621
43622 else
43623 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
43624 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
43625 echo "$as_me:$LINENO: result: yes" >&5
43626 echo "${ECHO_T}yes" >&6
43627
43628 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
43629 cat >>confdefs.h <<\_ACEOF
43630 #define wxUSE_LIBGNOMEVFS 1
43631 _ACEOF
43632
43633
43634 fi
43635 fi
43636 fi
43637
43638 if test "$wxUSE_LIBHILDON" = "yes" ; then
43639
43640 pkg_failed=no
43641 echo "$as_me:$LINENO: checking for HILDON" >&5
43642 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
43643
43644 if test -n "$PKG_CONFIG"; then
43645 if test -n "$HILDON_CFLAGS"; then
43646 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
43647 else
43648 if test -n "$PKG_CONFIG" && \
43649 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43650 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43651 ac_status=$?
43652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43653 (exit $ac_status); }; then
43654 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
43655 else
43656 pkg_failed=yes
43657 fi
43658 fi
43659 else
43660 pkg_failed=untried
43661 fi
43662 if test -n "$PKG_CONFIG"; then
43663 if test -n "$HILDON_LIBS"; then
43664 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
43665 else
43666 if test -n "$PKG_CONFIG" && \
43667 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
43668 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
43669 ac_status=$?
43670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43671 (exit $ac_status); }; then
43672 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
43673 else
43674 pkg_failed=yes
43675 fi
43676 fi
43677 else
43678 pkg_failed=untried
43679 fi
43680
43681
43682
43683 if test $pkg_failed = yes; then
43684
43685 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
43686 _pkg_short_errors_supported=yes
43687 else
43688 _pkg_short_errors_supported=no
43689 fi
43690 if test $_pkg_short_errors_supported = yes; then
43691 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43692 else
43693 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
43694 fi
43695 # Put the nasty error message in config.log where it belongs
43696 echo "$HILDON_PKG_ERRORS" >&5
43697
43698
43699 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43700 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43701 wxUSE_LIBHILDON="no"
43702
43703
43704 elif test $pkg_failed = untried; then
43705
43706 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
43707 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
43708 wxUSE_LIBHILDON="no"
43709
43710
43711 else
43712 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
43713 HILDON_LIBS=$pkg_cv_HILDON_LIBS
43714 echo "$as_me:$LINENO: result: yes" >&5
43715 echo "${ECHO_T}yes" >&6
43716
43717 EXTRALIBS_HILDON="$HILDON_LIBS"
43718 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
43719 cat >>confdefs.h <<\_ACEOF
43720 #define wxUSE_LIBHILDON 1
43721 _ACEOF
43722
43723
43724 fi
43725 fi
43726 fi
43727
43728 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
43729 cat >>confdefs.h <<\_ACEOF
43730 #define wxUSE_CMDLINE_PARSER 1
43731 _ACEOF
43732
43733 fi
43734
43735 if test "$wxUSE_STOPWATCH" = "yes"; then
43736 cat >>confdefs.h <<\_ACEOF
43737 #define wxUSE_STOPWATCH 1
43738 _ACEOF
43739
43740 fi
43741
43742 if test "$wxUSE_DATETIME" = "yes"; then
43743 cat >>confdefs.h <<\_ACEOF
43744 #define wxUSE_DATETIME 1
43745 _ACEOF
43746
43747 fi
43748
43749 if test "$wxUSE_FILE" = "yes"; then
43750 cat >>confdefs.h <<\_ACEOF
43751 #define wxUSE_FILE 1
43752 _ACEOF
43753
43754 fi
43755
43756 if test "$wxUSE_FFILE" = "yes"; then
43757 cat >>confdefs.h <<\_ACEOF
43758 #define wxUSE_FFILE 1
43759 _ACEOF
43760
43761 fi
43762
43763 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
43764 if test "$wxUSE_STREAMS" != yes; then
43765 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
43766 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
43767 wxUSE_ARCHIVE_STREAMS=no
43768 else
43769 cat >>confdefs.h <<\_ACEOF
43770 #define wxUSE_ARCHIVE_STREAMS 1
43771 _ACEOF
43772
43773 fi
43774 fi
43775
43776 if test "$wxUSE_ZIPSTREAM" = "yes"; then
43777 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43778 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
43779 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
43780 elif test "$wxUSE_ZLIB" = "no"; then
43781 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
43782 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
43783 else
43784 cat >>confdefs.h <<\_ACEOF
43785 #define wxUSE_ZIPSTREAM 1
43786 _ACEOF
43787
43788 fi
43789 fi
43790
43791 if test "$wxUSE_TARSTREAM" = "yes"; then
43792 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
43793 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
43794 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
43795 else
43796 cat >>confdefs.h <<\_ACEOF
43797 #define wxUSE_TARSTREAM 1
43798 _ACEOF
43799
43800 fi
43801 fi
43802
43803 if test "$wxUSE_FILESYSTEM" = "yes"; then
43804 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
43805 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
43806 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
43807 wxUSE_FILESYSTEM=no
43808 else
43809 cat >>confdefs.h <<\_ACEOF
43810 #define wxUSE_FILESYSTEM 1
43811 _ACEOF
43812
43813 fi
43814 fi
43815
43816 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
43817 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
43818 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
43819 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
43820 else
43821 cat >>confdefs.h <<\_ACEOF
43822 #define wxUSE_FS_ARCHIVE 1
43823 _ACEOF
43824
43825 fi
43826 fi
43827
43828 if test "$wxUSE_FS_ZIP" = "yes"; then
43829 if test "$wxUSE_FS_ARCHIVE" != yes; then
43830 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
43831 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43832 else
43833 cat >>confdefs.h <<\_ACEOF
43834 #define wxUSE_FS_ZIP 1
43835 _ACEOF
43836
43837 fi
43838 fi
43839
43840 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43841 if test "$USE_UNIX" != 1; then
43842 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43843 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43844 wxUSE_ON_FATAL_EXCEPTION=no
43845 else
43846 cat >>confdefs.h <<\_ACEOF
43847 #define wxUSE_ON_FATAL_EXCEPTION 1
43848 _ACEOF
43849
43850 fi
43851 fi
43852
43853 if test "$wxUSE_STACKWALKER" = "yes"; then
43854 cat >>confdefs.h <<\_ACEOF
43855 #define wxUSE_STACKWALKER 1
43856 _ACEOF
43857
43858 fi
43859
43860 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43861 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
43862 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43863 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43864 wxUSE_DEBUGREPORT=no
43865 else
43866 cat >>confdefs.h <<\_ACEOF
43867 #define wxUSE_DEBUGREPORT 1
43868 _ACEOF
43869
43870 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43871 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43872 fi
43873 fi
43874 fi
43875
43876 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43877 cat >>confdefs.h <<\_ACEOF
43878 #define wxUSE_SNGLINST_CHECKER 1
43879 _ACEOF
43880
43881 fi
43882
43883 if test "$wxUSE_BUSYINFO" = "yes"; then
43884 cat >>confdefs.h <<\_ACEOF
43885 #define wxUSE_BUSYINFO 1
43886 _ACEOF
43887
43888 fi
43889
43890 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43891 cat >>confdefs.h <<\_ACEOF
43892 #define wxUSE_STD_IOSTREAM 1
43893 _ACEOF
43894
43895 fi
43896
43897 if test "$wxUSE_STD_STRING" = "yes"; then
43898 cat >>confdefs.h <<\_ACEOF
43899 #define wxUSE_STD_STRING 1
43900 _ACEOF
43901
43902 fi
43903
43904 if test "$wxUSE_STDPATHS" = "yes"; then
43905 cat >>confdefs.h <<\_ACEOF
43906 #define wxUSE_STDPATHS 1
43907 _ACEOF
43908
43909 fi
43910
43911 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43912 cat >>confdefs.h <<\_ACEOF
43913 #define wxUSE_TEXTBUFFER 1
43914 _ACEOF
43915
43916 fi
43917
43918 if test "$wxUSE_TEXTFILE" = "yes"; then
43919 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43920 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43921 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43922 else
43923 cat >>confdefs.h <<\_ACEOF
43924 #define wxUSE_TEXTFILE 1
43925 _ACEOF
43926
43927 fi
43928 fi
43929
43930 if test "$wxUSE_CONFIG" = "yes" ; then
43931 if test "$wxUSE_TEXTFILE" != "yes"; then
43932 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43933 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43934 else
43935 cat >>confdefs.h <<\_ACEOF
43936 #define wxUSE_CONFIG 1
43937 _ACEOF
43938
43939 cat >>confdefs.h <<\_ACEOF
43940 #define wxUSE_CONFIG_NATIVE 1
43941 _ACEOF
43942
43943 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43944 fi
43945 fi
43946
43947 if test "$wxUSE_INTL" = "yes" ; then
43948 if test "$wxUSE_FILE" != "yes"; then
43949 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43950 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43951 else
43952 cat >>confdefs.h <<\_ACEOF
43953 #define wxUSE_INTL 1
43954 _ACEOF
43955
43956 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43957 GUIDIST="$GUIDIST INTL_DIST"
43958 fi
43959 fi
43960
43961 if test "$wxUSE_LOG" = "yes"; then
43962 cat >>confdefs.h <<\_ACEOF
43963 #define wxUSE_LOG 1
43964 _ACEOF
43965
43966
43967 if test "$wxUSE_LOGGUI" = "yes"; then
43968 cat >>confdefs.h <<\_ACEOF
43969 #define wxUSE_LOGGUI 1
43970 _ACEOF
43971
43972 fi
43973
43974 if test "$wxUSE_LOGWINDOW" = "yes"; then
43975 cat >>confdefs.h <<\_ACEOF
43976 #define wxUSE_LOGWINDOW 1
43977 _ACEOF
43978
43979 fi
43980
43981 if test "$wxUSE_LOGDIALOG" = "yes"; then
43982 cat >>confdefs.h <<\_ACEOF
43983 #define wxUSE_LOG_DIALOG 1
43984 _ACEOF
43985
43986 fi
43987
43988 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43989 fi
43990
43991 if test "$wxUSE_LONGLONG" = "yes"; then
43992 cat >>confdefs.h <<\_ACEOF
43993 #define wxUSE_LONGLONG 1
43994 _ACEOF
43995
43996 fi
43997
43998 if test "$wxUSE_GEOMETRY" = "yes"; then
43999 cat >>confdefs.h <<\_ACEOF
44000 #define wxUSE_GEOMETRY 1
44001 _ACEOF
44002
44003 fi
44004
44005 if test "$wxUSE_STREAMS" = "yes" ; then
44006 cat >>confdefs.h <<\_ACEOF
44007 #define wxUSE_STREAMS 1
44008 _ACEOF
44009
44010 fi
44011
44012 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
44013 cat >>confdefs.h <<\_ACEOF
44014 #define wxUSE_PRINTF_POS_PARAMS 1
44015 _ACEOF
44016
44017 fi
44018
44019
44020
44021 if test "$wxUSE_DATETIME" = "yes"; then
44022
44023 for ac_func in strptime
44024 do
44025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44026 echo "$as_me:$LINENO: checking for $ac_func" >&5
44027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44028 if eval "test \"\${$as_ac_var+set}\" = set"; then
44029 echo $ECHO_N "(cached) $ECHO_C" >&6
44030 else
44031 cat >conftest.$ac_ext <<_ACEOF
44032 /* confdefs.h. */
44033 _ACEOF
44034 cat confdefs.h >>conftest.$ac_ext
44035 cat >>conftest.$ac_ext <<_ACEOF
44036 /* end confdefs.h. */
44037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44039 #define $ac_func innocuous_$ac_func
44040
44041 /* System header to define __stub macros and hopefully few prototypes,
44042 which can conflict with char $ac_func (); below.
44043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44044 <limits.h> exists even on freestanding compilers. */
44045
44046 #ifdef __STDC__
44047 # include <limits.h>
44048 #else
44049 # include <assert.h>
44050 #endif
44051
44052 #undef $ac_func
44053
44054 /* Override any gcc2 internal prototype to avoid an error. */
44055 #ifdef __cplusplus
44056 extern "C"
44057 {
44058 #endif
44059 /* We use char because int might match the return type of a gcc2
44060 builtin and then its argument prototype would still apply. */
44061 char $ac_func ();
44062 /* The GNU C library defines this for functions which it implements
44063 to always fail with ENOSYS. Some functions are actually named
44064 something starting with __ and the normal name is an alias. */
44065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44066 choke me
44067 #else
44068 char (*f) () = $ac_func;
44069 #endif
44070 #ifdef __cplusplus
44071 }
44072 #endif
44073
44074 int
44075 main ()
44076 {
44077 return f != $ac_func;
44078 ;
44079 return 0;
44080 }
44081 _ACEOF
44082 rm -f conftest.$ac_objext conftest$ac_exeext
44083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44084 (eval $ac_link) 2>conftest.er1
44085 ac_status=$?
44086 grep -v '^ *+' conftest.er1 >conftest.err
44087 rm -f conftest.er1
44088 cat conftest.err >&5
44089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44090 (exit $ac_status); } &&
44091 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
44097 { ac_try='test -s conftest$ac_exeext'
44098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44099 (eval $ac_try) 2>&5
44100 ac_status=$?
44101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44102 (exit $ac_status); }; }; then
44103 eval "$as_ac_var=yes"
44104 else
44105 echo "$as_me: failed program was:" >&5
44106 sed 's/^/| /' conftest.$ac_ext >&5
44107
44108 eval "$as_ac_var=no"
44109 fi
44110 rm -f conftest.err conftest.$ac_objext \
44111 conftest$ac_exeext conftest.$ac_ext
44112 fi
44113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44115 if test `eval echo '${'$as_ac_var'}'` = yes; then
44116 cat >>confdefs.h <<_ACEOF
44117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44118 _ACEOF
44119
44120 fi
44121 done
44122
44123 if test "$ac_cv_func_strptime" = "yes"; then
44124 echo "$as_me:$LINENO: checking for strptime declaration" >&5
44125 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
44126 if test "${wx_cv_func_strptime_decl+set}" = set; then
44127 echo $ECHO_N "(cached) $ECHO_C" >&6
44128 else
44129
44130 cat >conftest.$ac_ext <<_ACEOF
44131 /* confdefs.h. */
44132 _ACEOF
44133 cat confdefs.h >>conftest.$ac_ext
44134 cat >>conftest.$ac_ext <<_ACEOF
44135 /* end confdefs.h. */
44136
44137 #include <time.h>
44138
44139 int
44140 main ()
44141 {
44142
44143 struct tm t;
44144 strptime("foo", "bar", &t);
44145
44146 ;
44147 return 0;
44148 }
44149 _ACEOF
44150 rm -f conftest.$ac_objext
44151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44152 (eval $ac_compile) 2>conftest.er1
44153 ac_status=$?
44154 grep -v '^ *+' conftest.er1 >conftest.err
44155 rm -f conftest.er1
44156 cat conftest.err >&5
44157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44158 (exit $ac_status); } &&
44159 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44161 (eval $ac_try) 2>&5
44162 ac_status=$?
44163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44164 (exit $ac_status); }; } &&
44165 { ac_try='test -s conftest.$ac_objext'
44166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44167 (eval $ac_try) 2>&5
44168 ac_status=$?
44169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44170 (exit $ac_status); }; }; then
44171 wx_cv_func_strptime_decl=yes
44172 else
44173 echo "$as_me: failed program was:" >&5
44174 sed 's/^/| /' conftest.$ac_ext >&5
44175
44176 wx_cv_func_strptime_decl=no
44177
44178 fi
44179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44180
44181
44182 fi
44183 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
44184 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
44185 fi
44186 if test "$wx_cv_func_strptime_decl" = "yes"; then
44187 cat >>confdefs.h <<\_ACEOF
44188 #define HAVE_STRPTIME_DECL 1
44189 _ACEOF
44190
44191 fi
44192
44193 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
44194 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
44195 if test "${wx_cv_var_timezone+set}" = set; then
44196 echo $ECHO_N "(cached) $ECHO_C" >&6
44197 else
44198
44199 cat >conftest.$ac_ext <<_ACEOF
44200 /* confdefs.h. */
44201 _ACEOF
44202 cat confdefs.h >>conftest.$ac_ext
44203 cat >>conftest.$ac_ext <<_ACEOF
44204 /* end confdefs.h. */
44205
44206 #include <time.h>
44207
44208 int
44209 main ()
44210 {
44211
44212 int tz;
44213 tz = timezone;
44214
44215 ;
44216 return 0;
44217 }
44218 _ACEOF
44219 rm -f conftest.$ac_objext
44220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44221 (eval $ac_compile) 2>conftest.er1
44222 ac_status=$?
44223 grep -v '^ *+' conftest.er1 >conftest.err
44224 rm -f conftest.er1
44225 cat conftest.err >&5
44226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44227 (exit $ac_status); } &&
44228 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44230 (eval $ac_try) 2>&5
44231 ac_status=$?
44232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44233 (exit $ac_status); }; } &&
44234 { ac_try='test -s conftest.$ac_objext'
44235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44236 (eval $ac_try) 2>&5
44237 ac_status=$?
44238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44239 (exit $ac_status); }; }; then
44240
44241 wx_cv_var_timezone=timezone
44242
44243 else
44244 echo "$as_me: failed program was:" >&5
44245 sed 's/^/| /' conftest.$ac_ext >&5
44246
44247
44248 cat >conftest.$ac_ext <<_ACEOF
44249 /* confdefs.h. */
44250 _ACEOF
44251 cat confdefs.h >>conftest.$ac_ext
44252 cat >>conftest.$ac_ext <<_ACEOF
44253 /* end confdefs.h. */
44254
44255 #include <time.h>
44256
44257 int
44258 main ()
44259 {
44260
44261 int tz;
44262 tz = _timezone;
44263
44264 ;
44265 return 0;
44266 }
44267 _ACEOF
44268 rm -f conftest.$ac_objext
44269 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44270 (eval $ac_compile) 2>conftest.er1
44271 ac_status=$?
44272 grep -v '^ *+' conftest.er1 >conftest.err
44273 rm -f conftest.er1
44274 cat conftest.err >&5
44275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44276 (exit $ac_status); } &&
44277 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44279 (eval $ac_try) 2>&5
44280 ac_status=$?
44281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44282 (exit $ac_status); }; } &&
44283 { ac_try='test -s conftest.$ac_objext'
44284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44285 (eval $ac_try) 2>&5
44286 ac_status=$?
44287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44288 (exit $ac_status); }; }; then
44289
44290 wx_cv_var_timezone=_timezone
44291
44292 else
44293 echo "$as_me: failed program was:" >&5
44294 sed 's/^/| /' conftest.$ac_ext >&5
44295
44296
44297 cat >conftest.$ac_ext <<_ACEOF
44298 /* confdefs.h. */
44299 _ACEOF
44300 cat confdefs.h >>conftest.$ac_ext
44301 cat >>conftest.$ac_ext <<_ACEOF
44302 /* end confdefs.h. */
44303
44304 #include <time.h>
44305
44306 int
44307 main ()
44308 {
44309
44310 int tz;
44311 tz = __timezone;
44312
44313 ;
44314 return 0;
44315 }
44316 _ACEOF
44317 rm -f conftest.$ac_objext
44318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44319 (eval $ac_compile) 2>conftest.er1
44320 ac_status=$?
44321 grep -v '^ *+' conftest.er1 >conftest.err
44322 rm -f conftest.er1
44323 cat conftest.err >&5
44324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44325 (exit $ac_status); } &&
44326 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44328 (eval $ac_try) 2>&5
44329 ac_status=$?
44330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44331 (exit $ac_status); }; } &&
44332 { ac_try='test -s conftest.$ac_objext'
44333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44334 (eval $ac_try) 2>&5
44335 ac_status=$?
44336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44337 (exit $ac_status); }; }; then
44338
44339 wx_cv_var_timezone=__timezone
44340
44341 else
44342 echo "$as_me: failed program was:" >&5
44343 sed 's/^/| /' conftest.$ac_ext >&5
44344
44345
44346 if test "$USE_DOS" = 0 ; then
44347 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
44348 echo "$as_me: WARNING: no timezone variable" >&2;}
44349 fi
44350
44351
44352 fi
44353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44354
44355
44356 fi
44357 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44358
44359
44360 fi
44361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44362
44363
44364 fi
44365 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
44366 echo "${ECHO_T}$wx_cv_var_timezone" >&6
44367
44368 if test "x$wx_cv_var_timezone" != x ; then
44369 cat >>confdefs.h <<_ACEOF
44370 #define WX_TIMEZONE $wx_cv_var_timezone
44371 _ACEOF
44372
44373 fi
44374
44375
44376 for ac_func in localtime
44377 do
44378 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44379 echo "$as_me:$LINENO: checking for $ac_func" >&5
44380 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44381 if eval "test \"\${$as_ac_var+set}\" = set"; then
44382 echo $ECHO_N "(cached) $ECHO_C" >&6
44383 else
44384 cat >conftest.$ac_ext <<_ACEOF
44385 /* confdefs.h. */
44386 _ACEOF
44387 cat confdefs.h >>conftest.$ac_ext
44388 cat >>conftest.$ac_ext <<_ACEOF
44389 /* end confdefs.h. */
44390 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44391 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44392 #define $ac_func innocuous_$ac_func
44393
44394 /* System header to define __stub macros and hopefully few prototypes,
44395 which can conflict with char $ac_func (); below.
44396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44397 <limits.h> exists even on freestanding compilers. */
44398
44399 #ifdef __STDC__
44400 # include <limits.h>
44401 #else
44402 # include <assert.h>
44403 #endif
44404
44405 #undef $ac_func
44406
44407 /* Override any gcc2 internal prototype to avoid an error. */
44408 #ifdef __cplusplus
44409 extern "C"
44410 {
44411 #endif
44412 /* We use char because int might match the return type of a gcc2
44413 builtin and then its argument prototype would still apply. */
44414 char $ac_func ();
44415 /* The GNU C library defines this for functions which it implements
44416 to always fail with ENOSYS. Some functions are actually named
44417 something starting with __ and the normal name is an alias. */
44418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44419 choke me
44420 #else
44421 char (*f) () = $ac_func;
44422 #endif
44423 #ifdef __cplusplus
44424 }
44425 #endif
44426
44427 int
44428 main ()
44429 {
44430 return f != $ac_func;
44431 ;
44432 return 0;
44433 }
44434 _ACEOF
44435 rm -f conftest.$ac_objext conftest$ac_exeext
44436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44437 (eval $ac_link) 2>conftest.er1
44438 ac_status=$?
44439 grep -v '^ *+' conftest.er1 >conftest.err
44440 rm -f conftest.er1
44441 cat conftest.err >&5
44442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44443 (exit $ac_status); } &&
44444 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44446 (eval $ac_try) 2>&5
44447 ac_status=$?
44448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44449 (exit $ac_status); }; } &&
44450 { ac_try='test -s conftest$ac_exeext'
44451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44452 (eval $ac_try) 2>&5
44453 ac_status=$?
44454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44455 (exit $ac_status); }; }; then
44456 eval "$as_ac_var=yes"
44457 else
44458 echo "$as_me: failed program was:" >&5
44459 sed 's/^/| /' conftest.$ac_ext >&5
44460
44461 eval "$as_ac_var=no"
44462 fi
44463 rm -f conftest.err conftest.$ac_objext \
44464 conftest$ac_exeext conftest.$ac_ext
44465 fi
44466 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44467 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44468 if test `eval echo '${'$as_ac_var'}'` = yes; then
44469 cat >>confdefs.h <<_ACEOF
44470 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44471 _ACEOF
44472
44473 fi
44474 done
44475
44476
44477 if test "$ac_cv_func_localtime" = "yes"; then
44478 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44479 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
44480 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44481 echo $ECHO_N "(cached) $ECHO_C" >&6
44482 else
44483
44484 cat >conftest.$ac_ext <<_ACEOF
44485 /* confdefs.h. */
44486 _ACEOF
44487 cat confdefs.h >>conftest.$ac_ext
44488 cat >>conftest.$ac_ext <<_ACEOF
44489 /* end confdefs.h. */
44490
44491 #include <time.h>
44492
44493 int
44494 main ()
44495 {
44496
44497 struct tm tm;
44498 tm.tm_gmtoff++;
44499
44500 ;
44501 return 0;
44502 }
44503 _ACEOF
44504 rm -f conftest.$ac_objext
44505 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44506 (eval $ac_compile) 2>conftest.er1
44507 ac_status=$?
44508 grep -v '^ *+' conftest.er1 >conftest.err
44509 rm -f conftest.er1
44510 cat conftest.err >&5
44511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44512 (exit $ac_status); } &&
44513 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44515 (eval $ac_try) 2>&5
44516 ac_status=$?
44517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44518 (exit $ac_status); }; } &&
44519 { ac_try='test -s conftest.$ac_objext'
44520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44521 (eval $ac_try) 2>&5
44522 ac_status=$?
44523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44524 (exit $ac_status); }; }; then
44525
44526 wx_cv_struct_tm_has_gmtoff=yes
44527
44528 else
44529 echo "$as_me: failed program was:" >&5
44530 sed 's/^/| /' conftest.$ac_ext >&5
44531
44532 wx_cv_struct_tm_has_gmtoff=no
44533
44534 fi
44535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44536
44537 fi
44538 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44539 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
44540 fi
44541
44542 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44543 cat >>confdefs.h <<\_ACEOF
44544 #define WX_GMTOFF_IN_TM 1
44545 _ACEOF
44546
44547 fi
44548
44549
44550
44551 for ac_func in gettimeofday ftime
44552 do
44553 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44554 echo "$as_me:$LINENO: checking for $ac_func" >&5
44555 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44556 if eval "test \"\${$as_ac_var+set}\" = set"; then
44557 echo $ECHO_N "(cached) $ECHO_C" >&6
44558 else
44559 cat >conftest.$ac_ext <<_ACEOF
44560 /* confdefs.h. */
44561 _ACEOF
44562 cat confdefs.h >>conftest.$ac_ext
44563 cat >>conftest.$ac_ext <<_ACEOF
44564 /* end confdefs.h. */
44565 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44566 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44567 #define $ac_func innocuous_$ac_func
44568
44569 /* System header to define __stub macros and hopefully few prototypes,
44570 which can conflict with char $ac_func (); below.
44571 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44572 <limits.h> exists even on freestanding compilers. */
44573
44574 #ifdef __STDC__
44575 # include <limits.h>
44576 #else
44577 # include <assert.h>
44578 #endif
44579
44580 #undef $ac_func
44581
44582 /* Override any gcc2 internal prototype to avoid an error. */
44583 #ifdef __cplusplus
44584 extern "C"
44585 {
44586 #endif
44587 /* We use char because int might match the return type of a gcc2
44588 builtin and then its argument prototype would still apply. */
44589 char $ac_func ();
44590 /* The GNU C library defines this for functions which it implements
44591 to always fail with ENOSYS. Some functions are actually named
44592 something starting with __ and the normal name is an alias. */
44593 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44594 choke me
44595 #else
44596 char (*f) () = $ac_func;
44597 #endif
44598 #ifdef __cplusplus
44599 }
44600 #endif
44601
44602 int
44603 main ()
44604 {
44605 return f != $ac_func;
44606 ;
44607 return 0;
44608 }
44609 _ACEOF
44610 rm -f conftest.$ac_objext conftest$ac_exeext
44611 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44612 (eval $ac_link) 2>conftest.er1
44613 ac_status=$?
44614 grep -v '^ *+' conftest.er1 >conftest.err
44615 rm -f conftest.er1
44616 cat conftest.err >&5
44617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44618 (exit $ac_status); } &&
44619 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44621 (eval $ac_try) 2>&5
44622 ac_status=$?
44623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44624 (exit $ac_status); }; } &&
44625 { ac_try='test -s conftest$ac_exeext'
44626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44627 (eval $ac_try) 2>&5
44628 ac_status=$?
44629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44630 (exit $ac_status); }; }; then
44631 eval "$as_ac_var=yes"
44632 else
44633 echo "$as_me: failed program was:" >&5
44634 sed 's/^/| /' conftest.$ac_ext >&5
44635
44636 eval "$as_ac_var=no"
44637 fi
44638 rm -f conftest.err conftest.$ac_objext \
44639 conftest$ac_exeext conftest.$ac_ext
44640 fi
44641 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44642 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44643 if test `eval echo '${'$as_ac_var'}'` = yes; then
44644 cat >>confdefs.h <<_ACEOF
44645 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44646 _ACEOF
44647 break
44648 fi
44649 done
44650
44651
44652 if test "$ac_cv_func_gettimeofday" = "yes"; then
44653 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
44654 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
44655 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
44656 echo $ECHO_N "(cached) $ECHO_C" >&6
44657 else
44658
44659 cat >conftest.$ac_ext <<_ACEOF
44660 /* confdefs.h. */
44661 _ACEOF
44662 cat confdefs.h >>conftest.$ac_ext
44663 cat >>conftest.$ac_ext <<_ACEOF
44664 /* end confdefs.h. */
44665
44666 #include <sys/time.h>
44667 #include <unistd.h>
44668
44669 int
44670 main ()
44671 {
44672
44673 struct timeval tv;
44674 gettimeofday(&tv, NULL);
44675
44676 ;
44677 return 0;
44678 }
44679 _ACEOF
44680 rm -f conftest.$ac_objext
44681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44682 (eval $ac_compile) 2>conftest.er1
44683 ac_status=$?
44684 grep -v '^ *+' conftest.er1 >conftest.err
44685 rm -f conftest.er1
44686 cat conftest.err >&5
44687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44688 (exit $ac_status); } &&
44689 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44691 (eval $ac_try) 2>&5
44692 ac_status=$?
44693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44694 (exit $ac_status); }; } &&
44695 { ac_try='test -s conftest.$ac_objext'
44696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44697 (eval $ac_try) 2>&5
44698 ac_status=$?
44699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44700 (exit $ac_status); }; }; then
44701 wx_cv_func_gettimeofday_has_2_args=yes
44702 else
44703 echo "$as_me: failed program was:" >&5
44704 sed 's/^/| /' conftest.$ac_ext >&5
44705
44706 cat >conftest.$ac_ext <<_ACEOF
44707 /* confdefs.h. */
44708 _ACEOF
44709 cat confdefs.h >>conftest.$ac_ext
44710 cat >>conftest.$ac_ext <<_ACEOF
44711 /* end confdefs.h. */
44712
44713 #include <sys/time.h>
44714 #include <unistd.h>
44715
44716 int
44717 main ()
44718 {
44719
44720 struct timeval tv;
44721 gettimeofday(&tv);
44722
44723 ;
44724 return 0;
44725 }
44726 _ACEOF
44727 rm -f conftest.$ac_objext
44728 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44729 (eval $ac_compile) 2>conftest.er1
44730 ac_status=$?
44731 grep -v '^ *+' conftest.er1 >conftest.err
44732 rm -f conftest.er1
44733 cat conftest.err >&5
44734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44735 (exit $ac_status); } &&
44736 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44738 (eval $ac_try) 2>&5
44739 ac_status=$?
44740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44741 (exit $ac_status); }; } &&
44742 { ac_try='test -s conftest.$ac_objext'
44743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44744 (eval $ac_try) 2>&5
44745 ac_status=$?
44746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44747 (exit $ac_status); }; }; then
44748 wx_cv_func_gettimeofday_has_2_args=no
44749 else
44750 echo "$as_me: failed program was:" >&5
44751 sed 's/^/| /' conftest.$ac_ext >&5
44752
44753
44754 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
44755 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
44756 wx_cv_func_gettimeofday_has_2_args=unknown
44757
44758
44759 fi
44760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44761
44762 fi
44763 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44764
44765 fi
44766 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
44767 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
44768
44769 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
44770 cat >>confdefs.h <<\_ACEOF
44771 #define WX_GETTIMEOFDAY_NO_TZ 1
44772 _ACEOF
44773
44774 fi
44775 fi
44776
44777 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44778 fi
44779
44780
44781 if test "$wxUSE_SOCKETS" = "yes"; then
44782 if test "$wxUSE_MGL" = "1"; then
44783 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44784 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44785 wxUSE_SOCKETS="no"
44786 fi
44787 fi
44788
44789 if test "$wxUSE_SOCKETS" = "yes"; then
44790 if test "$TOOLKIT" != "MSW"; then
44791 echo "$as_me:$LINENO: checking for socket" >&5
44792 echo $ECHO_N "checking for socket... $ECHO_C" >&6
44793 if test "${ac_cv_func_socket+set}" = set; then
44794 echo $ECHO_N "(cached) $ECHO_C" >&6
44795 else
44796 cat >conftest.$ac_ext <<_ACEOF
44797 /* confdefs.h. */
44798 _ACEOF
44799 cat confdefs.h >>conftest.$ac_ext
44800 cat >>conftest.$ac_ext <<_ACEOF
44801 /* end confdefs.h. */
44802 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44804 #define socket innocuous_socket
44805
44806 /* System header to define __stub macros and hopefully few prototypes,
44807 which can conflict with char socket (); below.
44808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44809 <limits.h> exists even on freestanding compilers. */
44810
44811 #ifdef __STDC__
44812 # include <limits.h>
44813 #else
44814 # include <assert.h>
44815 #endif
44816
44817 #undef socket
44818
44819 /* Override any gcc2 internal prototype to avoid an error. */
44820 #ifdef __cplusplus
44821 extern "C"
44822 {
44823 #endif
44824 /* We use char because int might match the return type of a gcc2
44825 builtin and then its argument prototype would still apply. */
44826 char socket ();
44827 /* The GNU C library defines this for functions which it implements
44828 to always fail with ENOSYS. Some functions are actually named
44829 something starting with __ and the normal name is an alias. */
44830 #if defined (__stub_socket) || defined (__stub___socket)
44831 choke me
44832 #else
44833 char (*f) () = socket;
44834 #endif
44835 #ifdef __cplusplus
44836 }
44837 #endif
44838
44839 int
44840 main ()
44841 {
44842 return f != socket;
44843 ;
44844 return 0;
44845 }
44846 _ACEOF
44847 rm -f conftest.$ac_objext conftest$ac_exeext
44848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44849 (eval $ac_link) 2>conftest.er1
44850 ac_status=$?
44851 grep -v '^ *+' conftest.er1 >conftest.err
44852 rm -f conftest.er1
44853 cat conftest.err >&5
44854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44855 (exit $ac_status); } &&
44856 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44858 (eval $ac_try) 2>&5
44859 ac_status=$?
44860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44861 (exit $ac_status); }; } &&
44862 { ac_try='test -s conftest$ac_exeext'
44863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44864 (eval $ac_try) 2>&5
44865 ac_status=$?
44866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44867 (exit $ac_status); }; }; then
44868 ac_cv_func_socket=yes
44869 else
44870 echo "$as_me: failed program was:" >&5
44871 sed 's/^/| /' conftest.$ac_ext >&5
44872
44873 ac_cv_func_socket=no
44874 fi
44875 rm -f conftest.err conftest.$ac_objext \
44876 conftest$ac_exeext conftest.$ac_ext
44877 fi
44878 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44879 echo "${ECHO_T}$ac_cv_func_socket" >&6
44880 if test $ac_cv_func_socket = yes; then
44881 :
44882 else
44883
44884 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44885 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
44886 if test "${ac_cv_lib_socket_socket+set}" = set; then
44887 echo $ECHO_N "(cached) $ECHO_C" >&6
44888 else
44889 ac_check_lib_save_LIBS=$LIBS
44890 LIBS="-lsocket $LIBS"
44891 cat >conftest.$ac_ext <<_ACEOF
44892 /* confdefs.h. */
44893 _ACEOF
44894 cat confdefs.h >>conftest.$ac_ext
44895 cat >>conftest.$ac_ext <<_ACEOF
44896 /* end confdefs.h. */
44897
44898 /* Override any gcc2 internal prototype to avoid an error. */
44899 #ifdef __cplusplus
44900 extern "C"
44901 #endif
44902 /* We use char because int might match the return type of a gcc2
44903 builtin and then its argument prototype would still apply. */
44904 char socket ();
44905 int
44906 main ()
44907 {
44908 socket ();
44909 ;
44910 return 0;
44911 }
44912 _ACEOF
44913 rm -f conftest.$ac_objext conftest$ac_exeext
44914 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44915 (eval $ac_link) 2>conftest.er1
44916 ac_status=$?
44917 grep -v '^ *+' conftest.er1 >conftest.err
44918 rm -f conftest.er1
44919 cat conftest.err >&5
44920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44921 (exit $ac_status); } &&
44922 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44924 (eval $ac_try) 2>&5
44925 ac_status=$?
44926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44927 (exit $ac_status); }; } &&
44928 { ac_try='test -s conftest$ac_exeext'
44929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44930 (eval $ac_try) 2>&5
44931 ac_status=$?
44932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44933 (exit $ac_status); }; }; then
44934 ac_cv_lib_socket_socket=yes
44935 else
44936 echo "$as_me: failed program was:" >&5
44937 sed 's/^/| /' conftest.$ac_ext >&5
44938
44939 ac_cv_lib_socket_socket=no
44940 fi
44941 rm -f conftest.err conftest.$ac_objext \
44942 conftest$ac_exeext conftest.$ac_ext
44943 LIBS=$ac_check_lib_save_LIBS
44944 fi
44945 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44946 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
44947 if test $ac_cv_lib_socket_socket = yes; then
44948 if test "$INET_LINK" != " -lsocket"; then
44949 INET_LINK="$INET_LINK -lsocket"
44950 fi
44951 else
44952
44953 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44954 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44955 wxUSE_SOCKETS=no
44956
44957
44958 fi
44959
44960
44961
44962 fi
44963
44964 fi
44965 fi
44966
44967 if test "$wxUSE_SOCKETS" = "yes" ; then
44968 if test "$TOOLKIT" != "MSW"; then
44969 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44970 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
44971 if test "${wx_cv_type_getsockname3+set}" = set; then
44972 echo $ECHO_N "(cached) $ECHO_C" >&6
44973 else
44974
44975 cat >conftest.$ac_ext <<_ACEOF
44976 /* confdefs.h. */
44977 _ACEOF
44978 cat confdefs.h >>conftest.$ac_ext
44979 cat >>conftest.$ac_ext <<_ACEOF
44980 /* end confdefs.h. */
44981
44982 #include <sys/types.h>
44983 #include <sys/socket.h>
44984
44985 int
44986 main ()
44987 {
44988
44989 socklen_t len;
44990 getsockname(0, 0, &len);
44991
44992 ;
44993 return 0;
44994 }
44995 _ACEOF
44996 rm -f conftest.$ac_objext
44997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44998 (eval $ac_compile) 2>conftest.er1
44999 ac_status=$?
45000 grep -v '^ *+' conftest.er1 >conftest.err
45001 rm -f conftest.er1
45002 cat conftest.err >&5
45003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45004 (exit $ac_status); } &&
45005 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45007 (eval $ac_try) 2>&5
45008 ac_status=$?
45009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45010 (exit $ac_status); }; } &&
45011 { ac_try='test -s conftest.$ac_objext'
45012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45013 (eval $ac_try) 2>&5
45014 ac_status=$?
45015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45016 (exit $ac_status); }; }; then
45017 wx_cv_type_getsockname3=socklen_t
45018 else
45019 echo "$as_me: failed program was:" >&5
45020 sed 's/^/| /' conftest.$ac_ext >&5
45021
45022
45023 CXXFLAGS_OLD="$CXXFLAGS"
45024 if test "$GCC" = yes ; then
45025 CXXFLAGS="-Werror $CXXFLAGS"
45026 fi
45027
45028 cat >conftest.$ac_ext <<_ACEOF
45029 /* confdefs.h. */
45030 _ACEOF
45031 cat confdefs.h >>conftest.$ac_ext
45032 cat >>conftest.$ac_ext <<_ACEOF
45033 /* end confdefs.h. */
45034
45035 #include <sys/types.h>
45036 #include <sys/socket.h>
45037
45038 int
45039 main ()
45040 {
45041
45042 size_t len;
45043 getsockname(0, 0, &len);
45044
45045 ;
45046 return 0;
45047 }
45048 _ACEOF
45049 rm -f conftest.$ac_objext
45050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45051 (eval $ac_compile) 2>conftest.er1
45052 ac_status=$?
45053 grep -v '^ *+' conftest.er1 >conftest.err
45054 rm -f conftest.er1
45055 cat conftest.err >&5
45056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45057 (exit $ac_status); } &&
45058 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45060 (eval $ac_try) 2>&5
45061 ac_status=$?
45062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45063 (exit $ac_status); }; } &&
45064 { ac_try='test -s conftest.$ac_objext'
45065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45066 (eval $ac_try) 2>&5
45067 ac_status=$?
45068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45069 (exit $ac_status); }; }; then
45070 wx_cv_type_getsockname3=size_t
45071 else
45072 echo "$as_me: failed program was:" >&5
45073 sed 's/^/| /' conftest.$ac_ext >&5
45074
45075 cat >conftest.$ac_ext <<_ACEOF
45076 /* confdefs.h. */
45077 _ACEOF
45078 cat confdefs.h >>conftest.$ac_ext
45079 cat >>conftest.$ac_ext <<_ACEOF
45080 /* end confdefs.h. */
45081
45082 #include <sys/types.h>
45083 #include <sys/socket.h>
45084
45085 int
45086 main ()
45087 {
45088
45089 int len;
45090 getsockname(0, 0, &len);
45091
45092 ;
45093 return 0;
45094 }
45095 _ACEOF
45096 rm -f conftest.$ac_objext
45097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45098 (eval $ac_compile) 2>conftest.er1
45099 ac_status=$?
45100 grep -v '^ *+' conftest.er1 >conftest.err
45101 rm -f conftest.er1
45102 cat conftest.err >&5
45103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45104 (exit $ac_status); } &&
45105 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45107 (eval $ac_try) 2>&5
45108 ac_status=$?
45109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45110 (exit $ac_status); }; } &&
45111 { ac_try='test -s conftest.$ac_objext'
45112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45113 (eval $ac_try) 2>&5
45114 ac_status=$?
45115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45116 (exit $ac_status); }; }; then
45117 wx_cv_type_getsockname3=int
45118 else
45119 echo "$as_me: failed program was:" >&5
45120 sed 's/^/| /' conftest.$ac_ext >&5
45121
45122 wx_cv_type_getsockname3=unknown
45123
45124 fi
45125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45126
45127 fi
45128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45129
45130 CXXFLAGS="$CXXFLAGS_OLD"
45131
45132
45133 fi
45134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45135
45136 fi
45137 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
45138 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
45139
45140 if test "$wx_cv_type_getsockname3" = "unknown"; then
45141 wxUSE_SOCKETS=no
45142 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45143 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45144 else
45145 cat >>confdefs.h <<_ACEOF
45146 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
45147 _ACEOF
45148
45149 fi
45150 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
45151 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
45152 if test "${wx_cv_type_getsockopt5+set}" = set; then
45153 echo $ECHO_N "(cached) $ECHO_C" >&6
45154 else
45155
45156 cat >conftest.$ac_ext <<_ACEOF
45157 /* confdefs.h. */
45158 _ACEOF
45159 cat confdefs.h >>conftest.$ac_ext
45160 cat >>conftest.$ac_ext <<_ACEOF
45161 /* end confdefs.h. */
45162
45163 #include <sys/types.h>
45164 #include <sys/socket.h>
45165
45166 int
45167 main ()
45168 {
45169
45170 socklen_t len;
45171 getsockopt(0, 0, 0, 0, &len);
45172
45173 ;
45174 return 0;
45175 }
45176 _ACEOF
45177 rm -f conftest.$ac_objext
45178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45179 (eval $ac_compile) 2>conftest.er1
45180 ac_status=$?
45181 grep -v '^ *+' conftest.er1 >conftest.err
45182 rm -f conftest.er1
45183 cat conftest.err >&5
45184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45185 (exit $ac_status); } &&
45186 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45188 (eval $ac_try) 2>&5
45189 ac_status=$?
45190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45191 (exit $ac_status); }; } &&
45192 { ac_try='test -s conftest.$ac_objext'
45193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45194 (eval $ac_try) 2>&5
45195 ac_status=$?
45196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45197 (exit $ac_status); }; }; then
45198 wx_cv_type_getsockopt5=socklen_t
45199 else
45200 echo "$as_me: failed program was:" >&5
45201 sed 's/^/| /' conftest.$ac_ext >&5
45202
45203
45204 CXXFLAGS_OLD="$CXXFLAGS"
45205 if test "$GCC" = yes ; then
45206 CXXFLAGS="-Werror $CXXFLAGS"
45207 fi
45208
45209 cat >conftest.$ac_ext <<_ACEOF
45210 /* confdefs.h. */
45211 _ACEOF
45212 cat confdefs.h >>conftest.$ac_ext
45213 cat >>conftest.$ac_ext <<_ACEOF
45214 /* end confdefs.h. */
45215
45216 #include <sys/types.h>
45217 #include <sys/socket.h>
45218
45219 int
45220 main ()
45221 {
45222
45223 size_t len;
45224 getsockopt(0, 0, 0, 0, &len);
45225
45226 ;
45227 return 0;
45228 }
45229 _ACEOF
45230 rm -f conftest.$ac_objext
45231 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45232 (eval $ac_compile) 2>conftest.er1
45233 ac_status=$?
45234 grep -v '^ *+' conftest.er1 >conftest.err
45235 rm -f conftest.er1
45236 cat conftest.err >&5
45237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45238 (exit $ac_status); } &&
45239 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45241 (eval $ac_try) 2>&5
45242 ac_status=$?
45243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45244 (exit $ac_status); }; } &&
45245 { ac_try='test -s conftest.$ac_objext'
45246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45247 (eval $ac_try) 2>&5
45248 ac_status=$?
45249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45250 (exit $ac_status); }; }; then
45251 wx_cv_type_getsockopt5=size_t
45252 else
45253 echo "$as_me: failed program was:" >&5
45254 sed 's/^/| /' conftest.$ac_ext >&5
45255
45256 cat >conftest.$ac_ext <<_ACEOF
45257 /* confdefs.h. */
45258 _ACEOF
45259 cat confdefs.h >>conftest.$ac_ext
45260 cat >>conftest.$ac_ext <<_ACEOF
45261 /* end confdefs.h. */
45262
45263 #include <sys/types.h>
45264 #include <sys/socket.h>
45265
45266 int
45267 main ()
45268 {
45269
45270 int len;
45271 getsockopt(0, 0, 0, 0, &len);
45272
45273 ;
45274 return 0;
45275 }
45276 _ACEOF
45277 rm -f conftest.$ac_objext
45278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45279 (eval $ac_compile) 2>conftest.er1
45280 ac_status=$?
45281 grep -v '^ *+' conftest.er1 >conftest.err
45282 rm -f conftest.er1
45283 cat conftest.err >&5
45284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45285 (exit $ac_status); } &&
45286 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45288 (eval $ac_try) 2>&5
45289 ac_status=$?
45290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45291 (exit $ac_status); }; } &&
45292 { ac_try='test -s conftest.$ac_objext'
45293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45294 (eval $ac_try) 2>&5
45295 ac_status=$?
45296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45297 (exit $ac_status); }; }; then
45298 wx_cv_type_getsockopt5=int
45299 else
45300 echo "$as_me: failed program was:" >&5
45301 sed 's/^/| /' conftest.$ac_ext >&5
45302
45303 wx_cv_type_getsockopt5=unknown
45304
45305 fi
45306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45307
45308 fi
45309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45310
45311 CXXFLAGS="$CXXFLAGS_OLD"
45312
45313
45314 fi
45315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45316
45317 fi
45318 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
45319 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
45320
45321 if test "$wx_cv_type_getsockopt5" = "unknown"; then
45322 wxUSE_SOCKETS=no
45323 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
45324 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
45325 else
45326 cat >>confdefs.h <<_ACEOF
45327 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
45328 _ACEOF
45329
45330 fi
45331 fi
45332 fi
45333
45334 if test "$wxUSE_SOCKETS" = "yes" ; then
45335 cat >>confdefs.h <<\_ACEOF
45336 #define wxUSE_SOCKETS 1
45337 _ACEOF
45338
45339 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
45340 fi
45341
45342 if test "$wxUSE_PROTOCOL" = "yes"; then
45343 if test "$wxUSE_SOCKETS" != "yes"; then
45344 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
45345 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
45346 wxUSE_PROTOCOL=no
45347 fi
45348 fi
45349
45350 if test "$wxUSE_PROTOCOL" = "yes"; then
45351 cat >>confdefs.h <<\_ACEOF
45352 #define wxUSE_PROTOCOL 1
45353 _ACEOF
45354
45355
45356 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
45357 cat >>confdefs.h <<\_ACEOF
45358 #define wxUSE_PROTOCOL_HTTP 1
45359 _ACEOF
45360
45361 fi
45362 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
45363 cat >>confdefs.h <<\_ACEOF
45364 #define wxUSE_PROTOCOL_FTP 1
45365 _ACEOF
45366
45367 fi
45368 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
45369 cat >>confdefs.h <<\_ACEOF
45370 #define wxUSE_PROTOCOL_FILE 1
45371 _ACEOF
45372
45373 fi
45374 else
45375 if test "$wxUSE_FS_INET" = "yes"; then
45376 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
45377 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
45378 wxUSE_FS_INET="no"
45379 fi
45380 fi
45381
45382 if test "$wxUSE_URL" = "yes"; then
45383 if test "$wxUSE_PROTOCOL" != "yes"; then
45384 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
45385 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
45386 wxUSE_URL=no
45387 fi
45388 if test "$wxUSE_URL" = "yes"; then
45389 cat >>confdefs.h <<\_ACEOF
45390 #define wxUSE_URL 1
45391 _ACEOF
45392
45393 fi
45394 fi
45395
45396 if test "$wxUSE_VARIANT" = "yes"; then
45397 cat >>confdefs.h <<\_ACEOF
45398 #define wxUSE_VARIANT 1
45399 _ACEOF
45400
45401 fi
45402
45403 if test "$wxUSE_FS_INET" = "yes"; then
45404 cat >>confdefs.h <<\_ACEOF
45405 #define wxUSE_FS_INET 1
45406 _ACEOF
45407
45408 fi
45409
45410
45411 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
45412 wxUSE_JOYSTICK=no
45413
45414 if test "$TOOLKIT" = "MSW"; then
45415 wxUSE_JOYSTICK=yes
45416
45417 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
45418 if test "$USE_DARWIN" = 1; then
45419 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
45420 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
45421 cat >conftest.$ac_ext <<_ACEOF
45422 /* confdefs.h. */
45423 _ACEOF
45424 cat confdefs.h >>conftest.$ac_ext
45425 cat >>conftest.$ac_ext <<_ACEOF
45426 /* end confdefs.h. */
45427 #include <IOKit/hid/IOHIDLib.h>
45428 int
45429 main ()
45430 {
45431 IOHIDQueueInterface *qi = NULL;
45432 IOHIDCallbackFunction cb = NULL;
45433 qi->setEventCallout(NULL, cb, NULL, NULL);
45434 ;
45435 return 0;
45436 }
45437 _ACEOF
45438 rm -f conftest.$ac_objext
45439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45440 (eval $ac_compile) 2>conftest.er1
45441 ac_status=$?
45442 grep -v '^ *+' conftest.er1 >conftest.err
45443 rm -f conftest.er1
45444 cat conftest.err >&5
45445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45446 (exit $ac_status); } &&
45447 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45449 (eval $ac_try) 2>&5
45450 ac_status=$?
45451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45452 (exit $ac_status); }; } &&
45453 { ac_try='test -s conftest.$ac_objext'
45454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45455 (eval $ac_try) 2>&5
45456 ac_status=$?
45457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45458 (exit $ac_status); }; }; then
45459 wxUSE_JOYSTICK=yes
45460
45461 else
45462 echo "$as_me: failed program was:" >&5
45463 sed 's/^/| /' conftest.$ac_ext >&5
45464
45465 fi
45466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45467 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
45468 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
45469 fi
45470
45471 else
45472
45473 for ac_header in linux/joystick.h
45474 do
45475 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45476 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45477 echo "$as_me:$LINENO: checking for $ac_header" >&5
45478 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45479 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45480 echo $ECHO_N "(cached) $ECHO_C" >&6
45481 fi
45482 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45483 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45484 else
45485 # Is the header compilable?
45486 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45487 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45488 cat >conftest.$ac_ext <<_ACEOF
45489 /* confdefs.h. */
45490 _ACEOF
45491 cat confdefs.h >>conftest.$ac_ext
45492 cat >>conftest.$ac_ext <<_ACEOF
45493 /* end confdefs.h. */
45494 $ac_includes_default
45495 #include <$ac_header>
45496 _ACEOF
45497 rm -f conftest.$ac_objext
45498 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45499 (eval $ac_compile) 2>conftest.er1
45500 ac_status=$?
45501 grep -v '^ *+' conftest.er1 >conftest.err
45502 rm -f conftest.er1
45503 cat conftest.err >&5
45504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45505 (exit $ac_status); } &&
45506 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45508 (eval $ac_try) 2>&5
45509 ac_status=$?
45510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45511 (exit $ac_status); }; } &&
45512 { ac_try='test -s conftest.$ac_objext'
45513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45514 (eval $ac_try) 2>&5
45515 ac_status=$?
45516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45517 (exit $ac_status); }; }; then
45518 ac_header_compiler=yes
45519 else
45520 echo "$as_me: failed program was:" >&5
45521 sed 's/^/| /' conftest.$ac_ext >&5
45522
45523 ac_header_compiler=no
45524 fi
45525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45526 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45527 echo "${ECHO_T}$ac_header_compiler" >&6
45528
45529 # Is the header present?
45530 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45531 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45532 cat >conftest.$ac_ext <<_ACEOF
45533 /* confdefs.h. */
45534 _ACEOF
45535 cat confdefs.h >>conftest.$ac_ext
45536 cat >>conftest.$ac_ext <<_ACEOF
45537 /* end confdefs.h. */
45538 #include <$ac_header>
45539 _ACEOF
45540 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45541 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45542 ac_status=$?
45543 grep -v '^ *+' conftest.er1 >conftest.err
45544 rm -f conftest.er1
45545 cat conftest.err >&5
45546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45547 (exit $ac_status); } >/dev/null; then
45548 if test -s conftest.err; then
45549 ac_cpp_err=$ac_cxx_preproc_warn_flag
45550 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
45551 else
45552 ac_cpp_err=
45553 fi
45554 else
45555 ac_cpp_err=yes
45556 fi
45557 if test -z "$ac_cpp_err"; then
45558 ac_header_preproc=yes
45559 else
45560 echo "$as_me: failed program was:" >&5
45561 sed 's/^/| /' conftest.$ac_ext >&5
45562
45563 ac_header_preproc=no
45564 fi
45565 rm -f conftest.err conftest.$ac_ext
45566 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45567 echo "${ECHO_T}$ac_header_preproc" >&6
45568
45569 # So? What about this header?
45570 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45571 yes:no: )
45572 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45573 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45574 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45575 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45576 ac_header_preproc=yes
45577 ;;
45578 no:yes:* )
45579 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45580 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45581 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45582 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45583 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45584 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45585 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45586 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45587 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45588 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45589 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45590 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45591 (
45592 cat <<\_ASBOX
45593 ## ----------------------------------------- ##
45594 ## Report this to wx-dev@lists.wxwidgets.org ##
45595 ## ----------------------------------------- ##
45596 _ASBOX
45597 ) |
45598 sed "s/^/$as_me: WARNING: /" >&2
45599 ;;
45600 esac
45601 echo "$as_me:$LINENO: checking for $ac_header" >&5
45602 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45603 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45604 echo $ECHO_N "(cached) $ECHO_C" >&6
45605 else
45606 eval "$as_ac_Header=\$ac_header_preproc"
45607 fi
45608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45609 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45610
45611 fi
45612 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45613 cat >>confdefs.h <<_ACEOF
45614 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45615 _ACEOF
45616 wxUSE_JOYSTICK=yes
45617 fi
45618
45619 done
45620
45621 fi
45622
45623 if test "$wxUSE_JOYSTICK" = "yes"; then
45624 cat >>confdefs.h <<\_ACEOF
45625 #define wxUSE_JOYSTICK 1
45626 _ACEOF
45627
45628 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
45629 else
45630 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
45631 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
45632 fi
45633 fi
45634
45635
45636
45637 if test "$wxUSE_FONTMAP" = "yes" ; then
45638 cat >>confdefs.h <<\_ACEOF
45639 #define wxUSE_FONTMAP 1
45640 _ACEOF
45641
45642 fi
45643
45644 if test "$wxUSE_UNICODE" = "yes" ; then
45645 cat >>confdefs.h <<\_ACEOF
45646 #define wxUSE_UNICODE 1
45647 _ACEOF
45648
45649
45650 if test "$USE_WIN32" != 1; then
45651 wxUSE_UNICODE_MSLU=no
45652 fi
45653
45654 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45655 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45656 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
45657 if test "${ac_cv_lib_unicows_main+set}" = set; then
45658 echo $ECHO_N "(cached) $ECHO_C" >&6
45659 else
45660 ac_check_lib_save_LIBS=$LIBS
45661 LIBS="-lunicows $LIBS"
45662 cat >conftest.$ac_ext <<_ACEOF
45663 /* confdefs.h. */
45664 _ACEOF
45665 cat confdefs.h >>conftest.$ac_ext
45666 cat >>conftest.$ac_ext <<_ACEOF
45667 /* end confdefs.h. */
45668
45669
45670 int
45671 main ()
45672 {
45673 main ();
45674 ;
45675 return 0;
45676 }
45677 _ACEOF
45678 rm -f conftest.$ac_objext conftest$ac_exeext
45679 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45680 (eval $ac_link) 2>conftest.er1
45681 ac_status=$?
45682 grep -v '^ *+' conftest.er1 >conftest.err
45683 rm -f conftest.er1
45684 cat conftest.err >&5
45685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45686 (exit $ac_status); } &&
45687 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45689 (eval $ac_try) 2>&5
45690 ac_status=$?
45691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45692 (exit $ac_status); }; } &&
45693 { ac_try='test -s conftest$ac_exeext'
45694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45695 (eval $ac_try) 2>&5
45696 ac_status=$?
45697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45698 (exit $ac_status); }; }; then
45699 ac_cv_lib_unicows_main=yes
45700 else
45701 echo "$as_me: failed program was:" >&5
45702 sed 's/^/| /' conftest.$ac_ext >&5
45703
45704 ac_cv_lib_unicows_main=no
45705 fi
45706 rm -f conftest.err conftest.$ac_objext \
45707 conftest$ac_exeext conftest.$ac_ext
45708 LIBS=$ac_check_lib_save_LIBS
45709 fi
45710 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45711 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
45712 if test $ac_cv_lib_unicows_main = yes; then
45713
45714 cat >>confdefs.h <<\_ACEOF
45715 #define wxUSE_UNICODE_MSLU 1
45716 _ACEOF
45717
45718
45719 else
45720
45721 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45722 Applications will only run on Windows NT/2000/XP!" >&5
45723 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45724 Applications will only run on Windows NT/2000/XP!" >&2;}
45725 wxUSE_UNICODE_MSLU=no
45726
45727 fi
45728
45729 fi
45730 fi
45731
45732 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
45733 cat >>confdefs.h <<\_ACEOF
45734 #define wxUSE_EXPERIMENTAL_PRINTF 1
45735 _ACEOF
45736
45737 fi
45738
45739
45740 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45741 cat >>confdefs.h <<\_ACEOF
45742 #define wxUSE_POSTSCRIPT 1
45743 _ACEOF
45744
45745 fi
45746
45747 cat >>confdefs.h <<\_ACEOF
45748 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45749 _ACEOF
45750
45751
45752 cat >>confdefs.h <<\_ACEOF
45753 #define wxUSE_NORMALIZED_PS_FONTS 1
45754 _ACEOF
45755
45756
45757
45758 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45759 cat >>confdefs.h <<\_ACEOF
45760 #define wxUSE_CONSTRAINTS 1
45761 _ACEOF
45762
45763 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45764 fi
45765
45766 if test "$wxUSE_MDI" = "yes"; then
45767 cat >>confdefs.h <<\_ACEOF
45768 #define wxUSE_MDI 1
45769 _ACEOF
45770
45771
45772 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45773 cat >>confdefs.h <<\_ACEOF
45774 #define wxUSE_MDI_ARCHITECTURE 1
45775 _ACEOF
45776
45777 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45778 fi
45779 fi
45780
45781 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45782 cat >>confdefs.h <<\_ACEOF
45783 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45784 _ACEOF
45785
45786 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45787 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45788 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
45789 fi
45790 fi
45791
45792 if test "$wxUSE_HELP" = "yes"; then
45793 cat >>confdefs.h <<\_ACEOF
45794 #define wxUSE_HELP 1
45795 _ACEOF
45796
45797 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45798
45799 if test "$wxUSE_MSW" = 1; then
45800 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45801 cat >>confdefs.h <<\_ACEOF
45802 #define wxUSE_MS_HTML_HELP 1
45803 _ACEOF
45804
45805 fi
45806 fi
45807
45808 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45809 if test "$wxUSE_HTML" = "yes"; then
45810 cat >>confdefs.h <<\_ACEOF
45811 #define wxUSE_WXHTML_HELP 1
45812 _ACEOF
45813
45814 else
45815 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45816 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45817 wxUSE_WXHTML_HELP=no
45818 fi
45819 fi
45820 fi
45821
45822 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45823 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45824 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45825 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45826 else
45827 cat >>confdefs.h <<\_ACEOF
45828 #define wxUSE_PRINTING_ARCHITECTURE 1
45829 _ACEOF
45830
45831 fi
45832 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45833 fi
45834
45835 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
45836 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
45837 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
45838 { (exit 1); exit 1; }; }
45839 fi
45840
45841
45842 if test "$wxUSE_METAFILE" = "yes"; then
45843 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45844 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45845 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45846 wxUSE_METAFILE=no
45847 fi
45848 fi
45849
45850
45851 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45852 -o "$wxUSE_CLIPBOARD" = "yes" \
45853 -o "$wxUSE_OLE" = "yes" \
45854 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45855
45856 for ac_header in ole2.h
45857 do
45858 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
45859 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45860 echo "$as_me:$LINENO: checking for $ac_header" >&5
45861 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45862 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45863 echo $ECHO_N "(cached) $ECHO_C" >&6
45864 fi
45865 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45866 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45867 else
45868 # Is the header compilable?
45869 echo "$as_me:$LINENO: checking $ac_header usability" >&5
45870 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
45871 cat >conftest.$ac_ext <<_ACEOF
45872 /* confdefs.h. */
45873 _ACEOF
45874 cat confdefs.h >>conftest.$ac_ext
45875 cat >>conftest.$ac_ext <<_ACEOF
45876 /* end confdefs.h. */
45877 $ac_includes_default
45878 #include <$ac_header>
45879 _ACEOF
45880 rm -f conftest.$ac_objext
45881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45882 (eval $ac_compile) 2>conftest.er1
45883 ac_status=$?
45884 grep -v '^ *+' conftest.er1 >conftest.err
45885 rm -f conftest.er1
45886 cat conftest.err >&5
45887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45888 (exit $ac_status); } &&
45889 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45891 (eval $ac_try) 2>&5
45892 ac_status=$?
45893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45894 (exit $ac_status); }; } &&
45895 { ac_try='test -s conftest.$ac_objext'
45896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45897 (eval $ac_try) 2>&5
45898 ac_status=$?
45899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45900 (exit $ac_status); }; }; then
45901 ac_header_compiler=yes
45902 else
45903 echo "$as_me: failed program was:" >&5
45904 sed 's/^/| /' conftest.$ac_ext >&5
45905
45906 ac_header_compiler=no
45907 fi
45908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45909 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
45910 echo "${ECHO_T}$ac_header_compiler" >&6
45911
45912 # Is the header present?
45913 echo "$as_me:$LINENO: checking $ac_header presence" >&5
45914 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
45915 cat >conftest.$ac_ext <<_ACEOF
45916 /* confdefs.h. */
45917 _ACEOF
45918 cat confdefs.h >>conftest.$ac_ext
45919 cat >>conftest.$ac_ext <<_ACEOF
45920 /* end confdefs.h. */
45921 #include <$ac_header>
45922 _ACEOF
45923 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
45924 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
45925 ac_status=$?
45926 grep -v '^ *+' conftest.er1 >conftest.err
45927 rm -f conftest.er1
45928 cat conftest.err >&5
45929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45930 (exit $ac_status); } >/dev/null; then
45931 if test -s conftest.err; then
45932 ac_cpp_err=$ac_cxx_preproc_warn_flag
45933 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
45934 else
45935 ac_cpp_err=
45936 fi
45937 else
45938 ac_cpp_err=yes
45939 fi
45940 if test -z "$ac_cpp_err"; then
45941 ac_header_preproc=yes
45942 else
45943 echo "$as_me: failed program was:" >&5
45944 sed 's/^/| /' conftest.$ac_ext >&5
45945
45946 ac_header_preproc=no
45947 fi
45948 rm -f conftest.err conftest.$ac_ext
45949 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
45950 echo "${ECHO_T}$ac_header_preproc" >&6
45951
45952 # So? What about this header?
45953 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
45954 yes:no: )
45955 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
45956 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
45957 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
45958 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
45959 ac_header_preproc=yes
45960 ;;
45961 no:yes:* )
45962 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
45963 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
45964 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
45965 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
45966 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
45967 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
45968 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
45969 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
45970 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
45971 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
45972 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
45973 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
45974 (
45975 cat <<\_ASBOX
45976 ## ----------------------------------------- ##
45977 ## Report this to wx-dev@lists.wxwidgets.org ##
45978 ## ----------------------------------------- ##
45979 _ASBOX
45980 ) |
45981 sed "s/^/$as_me: WARNING: /" >&2
45982 ;;
45983 esac
45984 echo "$as_me:$LINENO: checking for $ac_header" >&5
45985 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
45986 if eval "test \"\${$as_ac_Header+set}\" = set"; then
45987 echo $ECHO_N "(cached) $ECHO_C" >&6
45988 else
45989 eval "$as_ac_Header=\$ac_header_preproc"
45990 fi
45991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
45992 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
45993
45994 fi
45995 if test `eval echo '${'$as_ac_Header'}'` = yes; then
45996 cat >>confdefs.h <<_ACEOF
45997 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
45998 _ACEOF
45999
46000 fi
46001
46002 done
46003
46004
46005 if test "$ac_cv_header_ole2_h" = "yes" ; then
46006 if test "$GCC" = yes ; then
46007 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
46008 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
46009 cat >conftest.$ac_ext <<_ACEOF
46010 /* confdefs.h. */
46011 _ACEOF
46012 cat confdefs.h >>conftest.$ac_ext
46013 cat >>conftest.$ac_ext <<_ACEOF
46014 /* end confdefs.h. */
46015 #include <windows.h>
46016 #include <ole2.h>
46017 int
46018 main ()
46019 {
46020
46021 ;
46022 return 0;
46023 }
46024 _ACEOF
46025 rm -f conftest.$ac_objext
46026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46027 (eval $ac_compile) 2>conftest.er1
46028 ac_status=$?
46029 grep -v '^ *+' conftest.er1 >conftest.err
46030 rm -f conftest.er1
46031 cat conftest.err >&5
46032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46033 (exit $ac_status); } &&
46034 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46036 (eval $ac_try) 2>&5
46037 ac_status=$?
46038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46039 (exit $ac_status); }; } &&
46040 { ac_try='test -s conftest.$ac_objext'
46041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46042 (eval $ac_try) 2>&5
46043 ac_status=$?
46044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46045 (exit $ac_status); }; }; then
46046 echo "$as_me:$LINENO: result: no" >&5
46047 echo "${ECHO_T}no" >&6
46048 else
46049 echo "$as_me: failed program was:" >&5
46050 sed 's/^/| /' conftest.$ac_ext >&5
46051
46052 echo "$as_me:$LINENO: result: yes" >&5
46053 echo "${ECHO_T}yes" >&6
46054 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
46055 fi
46056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46057 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
46058 if test "$wxUSE_OLE" = "yes" ; then
46059 cat >>confdefs.h <<\_ACEOF
46060 #define wxUSE_OLE 1
46061 _ACEOF
46062
46063 cat >>confdefs.h <<\_ACEOF
46064 #define wxUSE_OLE_AUTOMATION 1
46065 _ACEOF
46066
46067 cat >>confdefs.h <<\_ACEOF
46068 #define wxUSE_OLE_ACTIVEX 1
46069 _ACEOF
46070
46071 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
46072 fi
46073 fi
46074
46075 if test "$wxUSE_DATAOBJ" = "yes" ; then
46076 cat >>confdefs.h <<\_ACEOF
46077 #define wxUSE_DATAOBJ 1
46078 _ACEOF
46079
46080 fi
46081 else
46082 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
46083 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
46084
46085 wxUSE_CLIPBOARD=no
46086 wxUSE_DRAG_AND_DROP=no
46087 wxUSE_DATAOBJ=no
46088 wxUSE_OLE=no
46089 fi
46090
46091 if test "$wxUSE_METAFILE" = "yes"; then
46092 cat >>confdefs.h <<\_ACEOF
46093 #define wxUSE_METAFILE 1
46094 _ACEOF
46095
46096
46097 cat >>confdefs.h <<\_ACEOF
46098 #define wxUSE_ENH_METAFILE 1
46099 _ACEOF
46100
46101 fi
46102 fi
46103
46104 if test "$wxUSE_IPC" = "yes"; then
46105 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
46106 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
46107 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
46108 wxUSE_IPC=no
46109 fi
46110
46111 if test "$wxUSE_IPC" = "yes"; then
46112 cat >>confdefs.h <<\_ACEOF
46113 #define wxUSE_IPC 1
46114 _ACEOF
46115
46116 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46117 fi
46118 fi
46119
46120 if test "$wxUSE_DATAOBJ" = "yes"; then
46121 if test "$wxUSE_MGL" = 1; then
46122 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
46123 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
46124 wxUSE_DATAOBJ=no
46125 else
46126 cat >>confdefs.h <<\_ACEOF
46127 #define wxUSE_DATAOBJ 1
46128 _ACEOF
46129
46130 fi
46131 else
46132 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
46133 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
46134 wxUSE_CLIPBOARD=no
46135 wxUSE_DRAG_AND_DROP=no
46136 fi
46137
46138 if test "$wxUSE_CLIPBOARD" = "yes"; then
46139 if test "$wxUSE_MGL" = 1; then
46140 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
46141 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
46142 wxUSE_CLIPBOARD=no
46143 fi
46144
46145 if test "$wxUSE_CLIPBOARD" = "yes"; then
46146 cat >>confdefs.h <<\_ACEOF
46147 #define wxUSE_CLIPBOARD 1
46148 _ACEOF
46149
46150 fi
46151 fi
46152
46153 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
46154 if test "$wxUSE_GTK" = 1; then
46155 if test "$WXGTK12" != 1; then
46156 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
46157 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
46158 wxUSE_DRAG_AND_DROP=no
46159 fi
46160 fi
46161
46162 if test "$wxUSE_MOTIF" = 1; then
46163 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
46164 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
46165 wxUSE_DRAG_AND_DROP=no
46166 fi
46167
46168 if test "$wxUSE_X11" = 1; then
46169 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
46170 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
46171 wxUSE_DRAG_AND_DROP=no
46172 fi
46173
46174 if test "$wxUSE_MGL" = 1; then
46175 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
46176 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
46177 wxUSE_DRAG_AND_DROP=no
46178 fi
46179
46180 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
46181 cat >>confdefs.h <<\_ACEOF
46182 #define wxUSE_DRAG_AND_DROP 1
46183 _ACEOF
46184
46185 fi
46186
46187 fi
46188
46189 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
46190 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
46191 fi
46192
46193 if test "$wxUSE_SPLINES" = "yes" ; then
46194 cat >>confdefs.h <<\_ACEOF
46195 #define wxUSE_SPLINES 1
46196 _ACEOF
46197
46198 fi
46199
46200 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
46201 cat >>confdefs.h <<\_ACEOF
46202 #define wxUSE_MOUSEWHEEL 1
46203 _ACEOF
46204
46205 fi
46206
46207
46208 USES_CONTROLS=0
46209 if test "$wxUSE_CONTROLS" = "yes"; then
46210 USES_CONTROLS=1
46211 fi
46212
46213 if test "$wxUSE_ACCEL" = "yes"; then
46214 cat >>confdefs.h <<\_ACEOF
46215 #define wxUSE_ACCEL 1
46216 _ACEOF
46217
46218 USES_CONTROLS=1
46219 fi
46220
46221 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
46222 cat >>confdefs.h <<\_ACEOF
46223 #define wxUSE_ANIMATIONCTRL 1
46224 _ACEOF
46225
46226 USES_CONTROLS=1
46227 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
46228 fi
46229
46230 if test "$wxUSE_BUTTON" = "yes"; then
46231 cat >>confdefs.h <<\_ACEOF
46232 #define wxUSE_BUTTON 1
46233 _ACEOF
46234
46235 USES_CONTROLS=1
46236 fi
46237
46238 if test "$wxUSE_BMPBUTTON" = "yes"; then
46239 cat >>confdefs.h <<\_ACEOF
46240 #define wxUSE_BMPBUTTON 1
46241 _ACEOF
46242
46243 USES_CONTROLS=1
46244 fi
46245
46246 if test "$wxUSE_CALCTRL" = "yes"; then
46247 cat >>confdefs.h <<\_ACEOF
46248 #define wxUSE_CALENDARCTRL 1
46249 _ACEOF
46250
46251 USES_CONTROLS=1
46252 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
46253 fi
46254
46255 if test "$wxUSE_CARET" = "yes"; then
46256 cat >>confdefs.h <<\_ACEOF
46257 #define wxUSE_CARET 1
46258 _ACEOF
46259
46260 USES_CONTROLS=1
46261 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
46262 fi
46263
46264 if test "$wxUSE_COLLPANE" = "yes"; then
46265 cat >>confdefs.h <<\_ACEOF
46266 #define wxUSE_COLLPANE 1
46267 _ACEOF
46268
46269 USES_CONTROLS=1
46270 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
46271 fi
46272
46273 if test "$wxUSE_COMBOBOX" = "yes"; then
46274 cat >>confdefs.h <<\_ACEOF
46275 #define wxUSE_COMBOBOX 1
46276 _ACEOF
46277
46278 USES_CONTROLS=1
46279 fi
46280
46281 if test "$wxUSE_COMBOCTRL" = "yes"; then
46282 cat >>confdefs.h <<\_ACEOF
46283 #define wxUSE_COMBOCTRL 1
46284 _ACEOF
46285
46286 USES_CONTROLS=1
46287 fi
46288
46289 if test "$wxUSE_CHOICE" = "yes"; then
46290 cat >>confdefs.h <<\_ACEOF
46291 #define wxUSE_CHOICE 1
46292 _ACEOF
46293
46294 USES_CONTROLS=1
46295 fi
46296
46297 if test "$wxUSE_CHOICEBOOK" = "yes"; then
46298 cat >>confdefs.h <<\_ACEOF
46299 #define wxUSE_CHOICEBOOK 1
46300 _ACEOF
46301
46302 USES_CONTROLS=1
46303 fi
46304
46305 if test "$wxUSE_CHECKBOX" = "yes"; then
46306 cat >>confdefs.h <<\_ACEOF
46307 #define wxUSE_CHECKBOX 1
46308 _ACEOF
46309
46310 USES_CONTROLS=1
46311 fi
46312
46313 if test "$wxUSE_CHECKLST" = "yes"; then
46314 cat >>confdefs.h <<\_ACEOF
46315 #define wxUSE_CHECKLISTBOX 1
46316 _ACEOF
46317
46318 USES_CONTROLS=1
46319 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
46320 fi
46321
46322 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
46323 cat >>confdefs.h <<\_ACEOF
46324 #define wxUSE_COLOURPICKERCTRL 1
46325 _ACEOF
46326
46327 USES_CONTROLS=1
46328 fi
46329
46330 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
46331 cat >>confdefs.h <<\_ACEOF
46332 #define wxUSE_DATEPICKCTRL 1
46333 _ACEOF
46334
46335 USES_CONTROLS=1
46336 fi
46337
46338 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
46339 cat >>confdefs.h <<\_ACEOF
46340 #define wxUSE_DIRPICKERCTRL 1
46341 _ACEOF
46342
46343 USES_CONTROLS=1
46344 fi
46345
46346 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
46347 cat >>confdefs.h <<\_ACEOF
46348 #define wxUSE_FILEPICKERCTRL 1
46349 _ACEOF
46350
46351 USES_CONTROLS=1
46352 fi
46353
46354 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
46355 cat >>confdefs.h <<\_ACEOF
46356 #define wxUSE_FONTPICKERCTRL 1
46357 _ACEOF
46358
46359 USES_CONTROLS=1
46360 fi
46361
46362 if test "$wxUSE_DISPLAY" = "yes"; then
46363 cat >>confdefs.h <<\_ACEOF
46364 #define wxUSE_DISPLAY 1
46365 _ACEOF
46366
46367 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
46368 fi
46369
46370 if test "$wxUSE_DETECT_SM" = "yes"; then
46371 cat >>confdefs.h <<\_ACEOF
46372 #define wxUSE_DETECT_SM 1
46373 _ACEOF
46374
46375 fi
46376
46377 if test "$wxUSE_GAUGE" = "yes"; then
46378 cat >>confdefs.h <<\_ACEOF
46379 #define wxUSE_GAUGE 1
46380 _ACEOF
46381
46382 USES_CONTROLS=1
46383 fi
46384
46385 if test "$wxUSE_GRID" = "yes"; then
46386 cat >>confdefs.h <<\_ACEOF
46387 #define wxUSE_GRID 1
46388 _ACEOF
46389
46390 USES_CONTROLS=1
46391 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
46392 fi
46393
46394 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
46395 cat >>confdefs.h <<\_ACEOF
46396 #define wxUSE_HYPERLINKCTRL 1
46397 _ACEOF
46398
46399 USES_CONTROLS=1
46400 fi
46401
46402 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
46403 cat >>confdefs.h <<\_ACEOF
46404 #define wxUSE_BITMAPCOMBOBOX 1
46405 _ACEOF
46406
46407 USES_CONTROLS=1
46408 fi
46409
46410 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
46411 cat >>confdefs.h <<\_ACEOF
46412 #define wxUSE_DATAVIEWCTRL 1
46413 _ACEOF
46414
46415 USES_CONTROLS=1
46416 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
46417 fi
46418
46419 if test "$wxUSE_IMAGLIST" = "yes"; then
46420 cat >>confdefs.h <<\_ACEOF
46421 #define wxUSE_IMAGLIST 1
46422 _ACEOF
46423
46424 fi
46425
46426 if test "$wxUSE_LISTBOOK" = "yes"; then
46427 cat >>confdefs.h <<\_ACEOF
46428 #define wxUSE_LISTBOOK 1
46429 _ACEOF
46430
46431 USES_CONTROLS=1
46432 fi
46433
46434 if test "$wxUSE_LISTBOX" = "yes"; then
46435 cat >>confdefs.h <<\_ACEOF
46436 #define wxUSE_LISTBOX 1
46437 _ACEOF
46438
46439 USES_CONTROLS=1
46440 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
46441 fi
46442
46443 if test "$wxUSE_LISTCTRL" = "yes"; then
46444 if test "$wxUSE_IMAGLIST" = "yes"; then
46445 cat >>confdefs.h <<\_ACEOF
46446 #define wxUSE_LISTCTRL 1
46447 _ACEOF
46448
46449 USES_CONTROLS=1
46450 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
46451 else
46452 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
46453 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
46454 fi
46455 fi
46456
46457 if test "$wxUSE_NOTEBOOK" = "yes"; then
46458 cat >>confdefs.h <<\_ACEOF
46459 #define wxUSE_NOTEBOOK 1
46460 _ACEOF
46461
46462 USES_CONTROLS=1
46463 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
46464 fi
46465
46466 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
46467 cat >>confdefs.h <<\_ACEOF
46468 #define wxUSE_ODCOMBOBOX 1
46469 _ACEOF
46470
46471 USES_CONTROLS=1
46472 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
46473 fi
46474
46475
46476 if test "$wxUSE_RADIOBOX" = "yes"; then
46477 cat >>confdefs.h <<\_ACEOF
46478 #define wxUSE_RADIOBOX 1
46479 _ACEOF
46480
46481 USES_CONTROLS=1
46482 fi
46483
46484 if test "$wxUSE_RADIOBTN" = "yes"; then
46485 cat >>confdefs.h <<\_ACEOF
46486 #define wxUSE_RADIOBTN 1
46487 _ACEOF
46488
46489 USES_CONTROLS=1
46490 fi
46491
46492 if test "$wxUSE_SASH" = "yes"; then
46493 cat >>confdefs.h <<\_ACEOF
46494 #define wxUSE_SASH 1
46495 _ACEOF
46496
46497 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
46498 fi
46499
46500 if test "$wxUSE_SCROLLBAR" = "yes"; then
46501 cat >>confdefs.h <<\_ACEOF
46502 #define wxUSE_SCROLLBAR 1
46503 _ACEOF
46504
46505 USES_CONTROLS=1
46506 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
46507 fi
46508
46509 if test "$wxUSE_SLIDER" = "yes"; then
46510 cat >>confdefs.h <<\_ACEOF
46511 #define wxUSE_SLIDER 1
46512 _ACEOF
46513
46514 USES_CONTROLS=1
46515 fi
46516
46517 if test "$wxUSE_SPINBTN" = "yes"; then
46518 cat >>confdefs.h <<\_ACEOF
46519 #define wxUSE_SPINBTN 1
46520 _ACEOF
46521
46522 USES_CONTROLS=1
46523 fi
46524
46525 if test "$wxUSE_SPINCTRL" = "yes"; then
46526 cat >>confdefs.h <<\_ACEOF
46527 #define wxUSE_SPINCTRL 1
46528 _ACEOF
46529
46530 USES_CONTROLS=1
46531 fi
46532
46533 if test "$wxUSE_SPLITTER" = "yes"; then
46534 cat >>confdefs.h <<\_ACEOF
46535 #define wxUSE_SPLITTER 1
46536 _ACEOF
46537
46538 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
46539 fi
46540
46541 if test "$wxUSE_STATBMP" = "yes"; then
46542 cat >>confdefs.h <<\_ACEOF
46543 #define wxUSE_STATBMP 1
46544 _ACEOF
46545
46546 USES_CONTROLS=1
46547 fi
46548
46549 if test "$wxUSE_STATBOX" = "yes"; then
46550 cat >>confdefs.h <<\_ACEOF
46551 #define wxUSE_STATBOX 1
46552 _ACEOF
46553
46554 USES_CONTROLS=1
46555 fi
46556
46557 if test "$wxUSE_STATTEXT" = "yes"; then
46558 cat >>confdefs.h <<\_ACEOF
46559 #define wxUSE_STATTEXT 1
46560 _ACEOF
46561
46562 USES_CONTROLS=1
46563 fi
46564
46565 if test "$wxUSE_STATLINE" = "yes"; then
46566 cat >>confdefs.h <<\_ACEOF
46567 #define wxUSE_STATLINE 1
46568 _ACEOF
46569
46570 USES_CONTROLS=1
46571 fi
46572
46573 if test "$wxUSE_STATUSBAR" = "yes"; then
46574 cat >>confdefs.h <<\_ACEOF
46575 #define wxUSE_NATIVE_STATUSBAR 1
46576 _ACEOF
46577
46578 cat >>confdefs.h <<\_ACEOF
46579 #define wxUSE_STATUSBAR 1
46580 _ACEOF
46581
46582 USES_CONTROLS=1
46583
46584 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
46585 fi
46586
46587 if test "$wxUSE_TAB_DIALOG" = "yes"; then
46588 cat >>confdefs.h <<\_ACEOF
46589 #define wxUSE_TAB_DIALOG 1
46590 _ACEOF
46591
46592 fi
46593
46594 if test "$wxUSE_TEXTCTRL" = "yes"; then
46595 cat >>confdefs.h <<\_ACEOF
46596 #define wxUSE_TEXTCTRL 1
46597 _ACEOF
46598
46599 USES_CONTROLS=1
46600 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
46601 fi
46602
46603 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46604 if test "$wxUSE_COCOA" = 1 ; then
46605 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
46606 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
46607 wxUSE_TOGGLEBTN=no
46608 fi
46609
46610 if test "$wxUSE_TOGGLEBTN" = "yes"; then
46611 cat >>confdefs.h <<\_ACEOF
46612 #define wxUSE_TOGGLEBTN 1
46613 _ACEOF
46614
46615 USES_CONTROLS=1
46616 fi
46617 fi
46618
46619 if test "$wxUSE_TOOLBAR" = "yes"; then
46620 cat >>confdefs.h <<\_ACEOF
46621 #define wxUSE_TOOLBAR 1
46622 _ACEOF
46623
46624 USES_CONTROLS=1
46625
46626 if test "$wxUSE_UNIVERSAL" = "yes"; then
46627 wxUSE_TOOLBAR_NATIVE="no"
46628 else
46629 wxUSE_TOOLBAR_NATIVE="yes"
46630 cat >>confdefs.h <<\_ACEOF
46631 #define wxUSE_TOOLBAR_NATIVE 1
46632 _ACEOF
46633
46634 fi
46635
46636 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
46637 fi
46638
46639 if test "$wxUSE_TOOLTIPS" = "yes"; then
46640 if test "$wxUSE_MOTIF" = 1; then
46641 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
46642 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
46643 else
46644 if test "$wxUSE_UNIVERSAL" = "yes"; then
46645 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
46646 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
46647 else
46648 cat >>confdefs.h <<\_ACEOF
46649 #define wxUSE_TOOLTIPS 1
46650 _ACEOF
46651
46652 fi
46653 fi
46654 fi
46655
46656 if test "$wxUSE_TREEBOOK" = "yes"; then
46657 cat >>confdefs.h <<\_ACEOF
46658 #define wxUSE_TREEBOOK 1
46659 _ACEOF
46660
46661 USES_CONTROLS=1
46662 fi
46663
46664 if test "$wxUSE_TOOLBOOK" = "yes"; then
46665 cat >>confdefs.h <<\_ACEOF
46666 #define wxUSE_TOOLBOOK 1
46667 _ACEOF
46668
46669 USES_CONTROLS=1
46670 fi
46671
46672 if test "$wxUSE_TREECTRL" = "yes"; then
46673 if test "$wxUSE_IMAGLIST" = "yes"; then
46674 cat >>confdefs.h <<\_ACEOF
46675 #define wxUSE_TREECTRL 1
46676 _ACEOF
46677
46678 USES_CONTROLS=1
46679 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
46680 else
46681 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
46682 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
46683 fi
46684 fi
46685
46686 if test "$wxUSE_POPUPWIN" = "yes"; then
46687 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46688 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
46689 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
46690 else
46691 if test "$wxUSE_PM" = 1; then
46692 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
46693 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
46694 else
46695 cat >>confdefs.h <<\_ACEOF
46696 #define wxUSE_POPUPWIN 1
46697 _ACEOF
46698
46699 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
46700
46701 USES_CONTROLS=1
46702 fi
46703 fi
46704 fi
46705
46706 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46707 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
46708 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
46709 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
46710 else
46711 cat >>confdefs.h <<\_ACEOF
46712 #define wxUSE_DIALUP_MANAGER 1
46713 _ACEOF
46714
46715 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46716 fi
46717 fi
46718
46719 if test "$wxUSE_TIPWINDOW" = "yes"; then
46720 if test "$wxUSE_PM" = 1; then
46721 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46722 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46723 else
46724 cat >>confdefs.h <<\_ACEOF
46725 #define wxUSE_TIPWINDOW 1
46726 _ACEOF
46727
46728 fi
46729 fi
46730
46731 if test "$USES_CONTROLS" = 1; then
46732 cat >>confdefs.h <<\_ACEOF
46733 #define wxUSE_CONTROLS 1
46734 _ACEOF
46735
46736 fi
46737
46738
46739 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46740 cat >>confdefs.h <<\_ACEOF
46741 #define wxUSE_ACCESSIBILITY 1
46742 _ACEOF
46743
46744 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46745 fi
46746
46747 if test "$wxUSE_DC_CACHEING" = "yes"; then
46748 cat >>confdefs.h <<\_ACEOF
46749 #define wxUSE_DC_CACHEING 1
46750 _ACEOF
46751
46752 fi
46753
46754 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46755 cat >>confdefs.h <<\_ACEOF
46756 #define wxUSE_DRAGIMAGE 1
46757 _ACEOF
46758
46759 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46760 fi
46761
46762 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46763 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46764 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46765 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46766 else
46767 cat >>confdefs.h <<\_ACEOF
46768 #define wxUSE_EXCEPTIONS 1
46769 _ACEOF
46770
46771 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46772 fi
46773 fi
46774
46775 USE_HTML=0
46776 if test "$wxUSE_HTML" = "yes"; then
46777 cat >>confdefs.h <<\_ACEOF
46778 #define wxUSE_HTML 1
46779 _ACEOF
46780
46781 USE_HTML=1
46782 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46783 if test "$wxUSE_MAC" = 1; then
46784 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46785 fi
46786 fi
46787 if test "$wxUSE_WEBKIT" = "yes"; then
46788 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46789 old_CPPFLAGS="$CPPFLAGS"
46790 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46791 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46792 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
46793 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46794 echo $ECHO_N "(cached) $ECHO_C" >&6
46795 else
46796 cat >conftest.$ac_ext <<_ACEOF
46797 /* confdefs.h. */
46798 _ACEOF
46799 cat confdefs.h >>conftest.$ac_ext
46800 cat >>conftest.$ac_ext <<_ACEOF
46801 /* end confdefs.h. */
46802 #include <Carbon/Carbon.h>
46803
46804 #include <WebKit/HIWebView.h>
46805 _ACEOF
46806 rm -f conftest.$ac_objext
46807 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46808 (eval $ac_compile) 2>conftest.er1
46809 ac_status=$?
46810 grep -v '^ *+' conftest.er1 >conftest.err
46811 rm -f conftest.er1
46812 cat conftest.err >&5
46813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46814 (exit $ac_status); } &&
46815 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
46816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46817 (eval $ac_try) 2>&5
46818 ac_status=$?
46819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46820 (exit $ac_status); }; } &&
46821 { ac_try='test -s conftest.$ac_objext'
46822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46823 (eval $ac_try) 2>&5
46824 ac_status=$?
46825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46826 (exit $ac_status); }; }; then
46827 ac_cv_header_WebKit_HIWebView_h=yes
46828 else
46829 echo "$as_me: failed program was:" >&5
46830 sed 's/^/| /' conftest.$ac_ext >&5
46831
46832 ac_cv_header_WebKit_HIWebView_h=no
46833 fi
46834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46835 fi
46836 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46837 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
46838 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46839
46840 cat >>confdefs.h <<\_ACEOF
46841 #define wxUSE_WEBKIT 1
46842 _ACEOF
46843
46844 WEBKIT_LINK="-framework WebKit"
46845
46846 else
46847
46848 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46849 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46850 wxUSE_WEBKIT=no
46851
46852 fi
46853
46854
46855 CPPFLAGS="$old_CPPFLAGS"
46856 elif test "$wxUSE_COCOA" = 1; then
46857 cat >>confdefs.h <<\_ACEOF
46858 #define wxUSE_WEBKIT 1
46859 _ACEOF
46860
46861 else
46862 wxUSE_WEBKIT=no
46863 fi
46864 fi
46865
46866 USE_XRC=0
46867 if test "$wxUSE_XRC" = "yes"; then
46868 if test "$wxUSE_XML" != "yes"; then
46869 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46870 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46871 wxUSE_XRC=no
46872 else
46873 cat >>confdefs.h <<\_ACEOF
46874 #define wxUSE_XRC 1
46875 _ACEOF
46876
46877 USE_XRC=1
46878 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46879 fi
46880 fi
46881
46882 USE_AUI=0
46883 if test "$wxUSE_AUI" = "yes"; then
46884 cat >>confdefs.h <<\_ACEOF
46885 #define wxUSE_AUI 1
46886 _ACEOF
46887
46888 USE_AUI=1
46889 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46890 fi
46891
46892 if test "$wxUSE_MENUS" = "yes"; then
46893 cat >>confdefs.h <<\_ACEOF
46894 #define wxUSE_MENUS 1
46895 _ACEOF
46896
46897 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46898 fi
46899
46900 if test "$wxUSE_METAFILE" = "yes"; then
46901 cat >>confdefs.h <<\_ACEOF
46902 #define wxUSE_METAFILE 1
46903 _ACEOF
46904
46905 fi
46906
46907 if test "$wxUSE_MIMETYPE" = "yes"; then
46908 cat >>confdefs.h <<\_ACEOF
46909 #define wxUSE_MIMETYPE 1
46910 _ACEOF
46911
46912 fi
46913
46914 if test "$wxUSE_MINIFRAME" = "yes"; then
46915 cat >>confdefs.h <<\_ACEOF
46916 #define wxUSE_MINIFRAME 1
46917 _ACEOF
46918
46919 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
46920 fi
46921
46922 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46923 cat >>confdefs.h <<\_ACEOF
46924 #define wxUSE_SYSTEM_OPTIONS 1
46925 _ACEOF
46926
46927 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
46928 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
46929 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46930 fi
46931 fi
46932
46933
46934 if test "$wxUSE_VALIDATORS" = "yes"; then
46935 cat >>confdefs.h <<\_ACEOF
46936 #define wxUSE_VALIDATORS 1
46937 _ACEOF
46938
46939 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46940 fi
46941
46942 if test "$wxUSE_PALETTE" = "yes" ; then
46943 cat >>confdefs.h <<\_ACEOF
46944 #define wxUSE_PALETTE 1
46945 _ACEOF
46946
46947 fi
46948
46949 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46950 LIBS=" -lunicows $LIBS"
46951 fi
46952
46953 USE_RICHTEXT=0
46954 if test "$wxUSE_RICHTEXT" = "yes"; then
46955 cat >>confdefs.h <<\_ACEOF
46956 #define wxUSE_RICHTEXT 1
46957 _ACEOF
46958
46959 USE_RICHTEXT=1
46960 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46961 fi
46962
46963
46964 if test "$wxUSE_IMAGE" = "yes" ; then
46965 cat >>confdefs.h <<\_ACEOF
46966 #define wxUSE_IMAGE 1
46967 _ACEOF
46968
46969
46970 if test "$wxUSE_GIF" = "yes" ; then
46971 cat >>confdefs.h <<\_ACEOF
46972 #define wxUSE_GIF 1
46973 _ACEOF
46974
46975 fi
46976
46977 if test "$wxUSE_PCX" = "yes" ; then
46978 cat >>confdefs.h <<\_ACEOF
46979 #define wxUSE_PCX 1
46980 _ACEOF
46981
46982 fi
46983
46984 if test "$wxUSE_TGA" = "yes" ; then
46985 cat >>confdefs.h <<\_ACEOF
46986 #define wxUSE_TGA 1
46987 _ACEOF
46988
46989 fi
46990
46991 if test "$wxUSE_IFF" = "yes" ; then
46992 cat >>confdefs.h <<\_ACEOF
46993 #define wxUSE_IFF 1
46994 _ACEOF
46995
46996 fi
46997
46998 if test "$wxUSE_PNM" = "yes" ; then
46999 cat >>confdefs.h <<\_ACEOF
47000 #define wxUSE_PNM 1
47001 _ACEOF
47002
47003 fi
47004
47005 if test "$wxUSE_XPM" = "yes" ; then
47006 cat >>confdefs.h <<\_ACEOF
47007 #define wxUSE_XPM 1
47008 _ACEOF
47009
47010 fi
47011
47012 if test "$wxUSE_ICO_CUR" = "yes" ; then
47013 cat >>confdefs.h <<\_ACEOF
47014 #define wxUSE_ICO_CUR 1
47015 _ACEOF
47016
47017 fi
47018 fi
47019
47020
47021 if test "$wxUSE_ABOUTDLG" = "yes"; then
47022 cat >>confdefs.h <<\_ACEOF
47023 #define wxUSE_ABOUTDLG 1
47024 _ACEOF
47025
47026 fi
47027
47028 if test "$wxUSE_CHOICEDLG" = "yes"; then
47029 cat >>confdefs.h <<\_ACEOF
47030 #define wxUSE_CHOICEDLG 1
47031 _ACEOF
47032
47033 fi
47034
47035 if test "$wxUSE_COLOURDLG" = "yes"; then
47036 cat >>confdefs.h <<\_ACEOF
47037 #define wxUSE_COLOURDLG 1
47038 _ACEOF
47039
47040 fi
47041
47042 if test "$wxUSE_FILEDLG" = "yes"; then
47043 cat >>confdefs.h <<\_ACEOF
47044 #define wxUSE_FILEDLG 1
47045 _ACEOF
47046
47047 fi
47048
47049 if test "$wxUSE_FINDREPLDLG" = "yes"; then
47050 cat >>confdefs.h <<\_ACEOF
47051 #define wxUSE_FINDREPLDLG 1
47052 _ACEOF
47053
47054 fi
47055
47056 if test "$wxUSE_FONTDLG" = "yes"; then
47057 cat >>confdefs.h <<\_ACEOF
47058 #define wxUSE_FONTDLG 1
47059 _ACEOF
47060
47061 fi
47062
47063 if test "$wxUSE_DIRDLG" = "yes"; then
47064 if test "$wxUSE_TREECTRL" != "yes"; then
47065 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
47066 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
47067 else
47068 cat >>confdefs.h <<\_ACEOF
47069 #define wxUSE_DIRDLG 1
47070 _ACEOF
47071
47072 fi
47073 fi
47074
47075 if test "$wxUSE_MSGDLG" = "yes"; then
47076 cat >>confdefs.h <<\_ACEOF
47077 #define wxUSE_MSGDLG 1
47078 _ACEOF
47079
47080 fi
47081
47082 if test "$wxUSE_NUMBERDLG" = "yes"; then
47083 cat >>confdefs.h <<\_ACEOF
47084 #define wxUSE_NUMBERDLG 1
47085 _ACEOF
47086
47087 fi
47088
47089 if test "$wxUSE_PROGRESSDLG" = "yes"; then
47090 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47091 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
47092 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
47093 else
47094 cat >>confdefs.h <<\_ACEOF
47095 #define wxUSE_PROGRESSDLG 1
47096 _ACEOF
47097
47098 fi
47099 fi
47100
47101 if test "$wxUSE_SPLASH" = "yes"; then
47102 cat >>confdefs.h <<\_ACEOF
47103 #define wxUSE_SPLASH 1
47104 _ACEOF
47105
47106 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
47107 fi
47108
47109 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
47110 if test "$wxUSE_CONSTRAINTS" != "yes"; then
47111 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
47112 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
47113 else
47114 cat >>confdefs.h <<\_ACEOF
47115 #define wxUSE_STARTUP_TIPS 1
47116 _ACEOF
47117
47118 fi
47119 fi
47120
47121 if test "$wxUSE_TEXTDLG" = "yes"; then
47122 cat >>confdefs.h <<\_ACEOF
47123 #define wxUSE_TEXTDLG 1
47124 _ACEOF
47125
47126 fi
47127
47128 if test "$wxUSE_WIZARDDLG" = "yes"; then
47129 cat >>confdefs.h <<\_ACEOF
47130 #define wxUSE_WIZARDDLG 1
47131 _ACEOF
47132
47133 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
47134 fi
47135
47136
47137 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
47138 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
47139 cat >>confdefs.h <<\_ACEOF
47140 #define wxUSE_GRAPHICS_CONTEXT 1
47141 _ACEOF
47142
47143 elif test "$wxUSE_GTK" != 1; then
47144 cat >>confdefs.h <<\_ACEOF
47145 #define wxUSE_GRAPHICS_CONTEXT 1
47146 _ACEOF
47147
47148 else
47149
47150 pkg_failed=no
47151 echo "$as_me:$LINENO: checking for CAIRO" >&5
47152 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6
47153
47154 if test -n "$PKG_CONFIG"; then
47155 if test -n "$CAIRO_CFLAGS"; then
47156 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
47157 else
47158 if test -n "$PKG_CONFIG" && \
47159 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47160 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47161 ac_status=$?
47162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47163 (exit $ac_status); }; then
47164 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
47165 else
47166 pkg_failed=yes
47167 fi
47168 fi
47169 else
47170 pkg_failed=untried
47171 fi
47172 if test -n "$PKG_CONFIG"; then
47173 if test -n "$CAIRO_LIBS"; then
47174 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
47175 else
47176 if test -n "$PKG_CONFIG" && \
47177 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
47178 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
47179 ac_status=$?
47180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47181 (exit $ac_status); }; then
47182 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
47183 else
47184 pkg_failed=yes
47185 fi
47186 fi
47187 else
47188 pkg_failed=untried
47189 fi
47190
47191
47192
47193 if test $pkg_failed = yes; then
47194
47195 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47196 _pkg_short_errors_supported=yes
47197 else
47198 _pkg_short_errors_supported=no
47199 fi
47200 if test $_pkg_short_errors_supported = yes; then
47201 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
47202 else
47203 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
47204 fi
47205 # Put the nasty error message in config.log where it belongs
47206 echo "$CAIRO_PKG_ERRORS" >&5
47207
47208 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47209 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47210
47211 elif test $pkg_failed = untried; then
47212 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
47213 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
47214
47215 else
47216 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
47217 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
47218 echo "$as_me:$LINENO: result: yes" >&5
47219 echo "${ECHO_T}yes" >&6
47220 cat >>confdefs.h <<\_ACEOF
47221 #define wxUSE_GRAPHICS_CONTEXT 1
47222 _ACEOF
47223
47224 fi
47225 fi
47226 fi
47227
47228
47229 USE_MEDIA=0
47230
47231 if test "$wxUSE_MEDIACTRL" = "yes"; then
47232 USE_MEDIA=1
47233
47234 if test "$wxUSE_GTK" = 1; then
47235 wxUSE_GSTREAMER="no"
47236
47237 GST_VERSION_MAJOR=0
47238 GST_VERSION_MINOR=10
47239 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47240
47241 if test "$wxUSE_GSTREAMER8" = "no"; then
47242
47243 pkg_failed=no
47244 echo "$as_me:$LINENO: checking for GST" >&5
47245 echo $ECHO_N "checking for GST... $ECHO_C" >&6
47246
47247 if test -n "$PKG_CONFIG"; then
47248 if test -n "$GST_CFLAGS"; then
47249 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47250 else
47251 if test -n "$PKG_CONFIG" && \
47252 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47253 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47254 ac_status=$?
47255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47256 (exit $ac_status); }; then
47257 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47258 else
47259 pkg_failed=yes
47260 fi
47261 fi
47262 else
47263 pkg_failed=untried
47264 fi
47265 if test -n "$PKG_CONFIG"; then
47266 if test -n "$GST_LIBS"; then
47267 pkg_cv_GST_LIBS="$GST_LIBS"
47268 else
47269 if test -n "$PKG_CONFIG" && \
47270 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
47271 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
47272 ac_status=$?
47273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47274 (exit $ac_status); }; then
47275 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
47276 else
47277 pkg_failed=yes
47278 fi
47279 fi
47280 else
47281 pkg_failed=untried
47282 fi
47283
47284
47285
47286 if test $pkg_failed = yes; then
47287
47288 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47289 _pkg_short_errors_supported=yes
47290 else
47291 _pkg_short_errors_supported=no
47292 fi
47293 if test $_pkg_short_errors_supported = yes; then
47294 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47295 else
47296 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
47297 fi
47298 # Put the nasty error message in config.log where it belongs
47299 echo "$GST_PKG_ERRORS" >&5
47300
47301
47302 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47303 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47304 GST_VERSION_MINOR=8
47305
47306
47307 elif test $pkg_failed = untried; then
47308
47309 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
47310 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
47311 GST_VERSION_MINOR=8
47312
47313
47314 else
47315 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47316 GST_LIBS=$pkg_cv_GST_LIBS
47317 echo "$as_me:$LINENO: result: yes" >&5
47318 echo "${ECHO_T}yes" >&6
47319
47320 wxUSE_GSTREAMER="yes"
47321 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
47322
47323 fi
47324 else
47325 GST_VERSION_MINOR=8
47326 fi
47327
47328 if test $GST_VERSION_MINOR = "8"; then
47329 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
47330
47331 pkg_failed=no
47332 echo "$as_me:$LINENO: checking for GST" >&5
47333 echo $ECHO_N "checking for GST... $ECHO_C" >&6
47334
47335 if test -n "$PKG_CONFIG"; then
47336 if test -n "$GST_CFLAGS"; then
47337 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
47338 else
47339 if test -n "$PKG_CONFIG" && \
47340 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47341 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47342 ac_status=$?
47343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47344 (exit $ac_status); }; then
47345 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47346 else
47347 pkg_failed=yes
47348 fi
47349 fi
47350 else
47351 pkg_failed=untried
47352 fi
47353 if test -n "$PKG_CONFIG"; then
47354 if test -n "$GST_LIBS"; then
47355 pkg_cv_GST_LIBS="$GST_LIBS"
47356 else
47357 if test -n "$PKG_CONFIG" && \
47358 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
47359 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
47360 ac_status=$?
47361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47362 (exit $ac_status); }; then
47363 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
47364 else
47365 pkg_failed=yes
47366 fi
47367 fi
47368 else
47369 pkg_failed=untried
47370 fi
47371
47372
47373
47374 if test $pkg_failed = yes; then
47375
47376 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
47377 _pkg_short_errors_supported=yes
47378 else
47379 _pkg_short_errors_supported=no
47380 fi
47381 if test $_pkg_short_errors_supported = yes; then
47382 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47383 else
47384 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
47385 fi
47386 # Put the nasty error message in config.log where it belongs
47387 echo "$GST_PKG_ERRORS" >&5
47388
47389
47390 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47391 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47392
47393 elif test $pkg_failed = untried; then
47394
47395 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
47396 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
47397
47398 else
47399 GST_CFLAGS=$pkg_cv_GST_CFLAGS
47400 GST_LIBS=$pkg_cv_GST_LIBS
47401 echo "$as_me:$LINENO: result: yes" >&5
47402 echo "${ECHO_T}yes" >&6
47403 wxUSE_GSTREAMER="yes"
47404 fi
47405 fi
47406
47407
47408 if test "$wxUSE_GSTREAMER" = "yes"; then
47409 case "${host}" in
47410 *-*-solaris2* )
47411 if "$GCC" = yes; then
47412 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
47413 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
47414 fi
47415 esac
47416
47417 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
47418 LIBS="$GST_LIBS $LIBS"
47419
47420 cat >>confdefs.h <<\_ACEOF
47421 #define wxUSE_GSTREAMER 1
47422 _ACEOF
47423
47424 else
47425 USE_MEDIA=0
47426 fi
47427 fi
47428
47429 if test $USE_MEDIA = 1; then
47430 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
47431 cat >>confdefs.h <<\_ACEOF
47432 #define wxUSE_MEDIACTRL 1
47433 _ACEOF
47434
47435 fi
47436 fi
47437
47438
47439 if test "$cross_compiling" = "yes"; then
47440 OSINFO="\"$host\""
47441 else
47442 OSINFO=`uname -s -r -m`
47443 OSINFO="\"$OSINFO\""
47444 fi
47445
47446 cat >>confdefs.h <<_ACEOF
47447 #define WXWIN_OS_DESCRIPTION $OSINFO
47448 _ACEOF
47449
47450
47451
47452 if test "x$prefix" != "xNONE"; then
47453 wxPREFIX=$prefix
47454 else
47455 wxPREFIX=$ac_default_prefix
47456 fi
47457
47458 cat >>confdefs.h <<_ACEOF
47459 #define wxINSTALL_PREFIX "$wxPREFIX"
47460 _ACEOF
47461
47462
47463
47464
47465 CORE_BASE_LIBS="net base"
47466 CORE_GUI_LIBS="adv core"
47467
47468 if test "$wxUSE_XML" = "yes" ; then
47469 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
47470 fi
47471 if test "$wxUSE_ODBC" != "no" ; then
47472 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
47473 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
47474 fi
47475 if test "$wxUSE_HTML" = "yes" ; then
47476 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
47477 fi
47478 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47479 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
47480 fi
47481 if test "$wxUSE_XRC" = "yes" ; then
47482 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
47483 fi
47484 if test "$wxUSE_AUI" = "yes" ; then
47485 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
47486 fi
47487
47488 if test "$wxUSE_GUI" != "yes"; then
47489 CORE_GUI_LIBS=""
47490 fi
47491
47492
47493
47494
47495
47496 ac_ext=c
47497 ac_cpp='$CPP $CPPFLAGS'
47498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47501
47502
47503
47504 if test "$wxUSE_MAC" = 1 ; then
47505 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
47506 if test "$USE_DARWIN" = 1; then
47507 LDFLAGS="$LDFLAGS -framework QuickTime"
47508 else
47509 LDFLAGS="$LDFLAGS -lQuickTimeLib"
47510 fi
47511 fi
47512 if test "$USE_DARWIN" = 1; then
47513 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
47514 else
47515 LDFLAGS="$LDFLAGS -lCarbonLib"
47516 fi
47517 fi
47518 if test "$wxUSE_COCOA" = 1 ; then
47519 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
47520 if test "$wxUSE_MEDIACTRL" = "yes"; then
47521 LDFLAGS="$LDFLAGS -framework QuickTime"
47522 fi
47523 fi
47524 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
47525 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
47526 fi
47527
47528 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
47529
47530 if test "$wxUSE_GUI" = "yes"; then
47531
47532
47533 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
47534 dynamic erase event exec font image minimal mobile \
47535 mobile/wxedit mobile/styles propsize render \
47536 rotate shaped vscroll widgets"
47537
47538 if test "$wxUSE_MONOLITHIC" != "yes"; then
47539 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
47540 fi
47541 if test "$TOOLKIT" = "MSW"; then
47542 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
47543 if test "$wxUSE_UNIVERSAL" != "yes"; then
47544 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
47545 fi
47546 fi
47547 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
47548 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
47549 fi
47550 else
47551 SAMPLES_SUBDIRS="console"
47552 fi
47553
47554
47555 if test "x$INTELCC" = "xyes" ; then
47556 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
47557 elif test "$GCC" = yes ; then
47558 CWARNINGS="-Wall -Wundef"
47559 fi
47560
47561 if test "x$INTELCXX" = "xyes" ; then
47562 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
47563 elif test "$GXX" = yes ; then
47564 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
47565 fi
47566
47567
47568 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
47569 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
47570
47571
47572 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
47573 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
47574 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
47575 $CPPFLAGS `
47576
47577 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
47578 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
47579 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
47580
47581 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
47582
47583
47584 if test "x$MWCC" = "xyes"; then
47585
47586 CC="$CC -cwd source -I-"
47587 CXX="$CXX -cwd source -I-"
47588 fi
47589
47590
47591 LIBS=`echo $LIBS`
47592 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
47593 EXTRALIBS_XML="$EXPAT_LINK"
47594 EXTRALIBS_HTML="$MSPACK_LINK"
47595 EXTRALIBS_ODBC="$ODBC_LINK"
47596 if test "$wxUSE_GUI" = "yes"; then
47597 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
47598 fi
47599 if test "$wxUSE_OPENGL" = "yes"; then
47600 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
47601 fi
47602
47603 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
47604
47605 WXCONFIG_LIBS="$LIBS"
47606
47607 if test "$wxUSE_REGEX" = "builtin" ; then
47608 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47609 fi
47610 if test "$wxUSE_EXPAT" = "builtin" ; then
47611 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47612 fi
47613 if test "$wxUSE_ODBC" = "builtin" ; then
47614 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
47615 fi
47616 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47617 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47618 fi
47619 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47620 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47621 fi
47622 if test "$wxUSE_LIBPNG" = "builtin" ; then
47623 wxconfig_3rdparty="png $wxconfig_3rdparty"
47624 fi
47625 if test "$wxUSE_ZLIB" = "builtin" ; then
47626 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47627 fi
47628
47629 for i in $wxconfig_3rdparty ; do
47630 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47631 done
47632
47633
47634 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47635 WXUNIV=1
47636
47637 case "$wxUNIV_THEMES" in
47638 ''|all)
47639 cat >>confdefs.h <<\_ACEOF
47640 #define wxUSE_ALL_THEMES 1
47641 _ACEOF
47642
47643 ;;
47644
47645 *)
47646 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
47647 cat >>confdefs.h <<_ACEOF
47648 #define wxUSE_THEME_$t 1
47649 _ACEOF
47650
47651 done
47652 esac
47653 else
47654 WXUNIV=0
47655 fi
47656
47657
47658
47659
47660
47661
47662
47663
47664
47665 if test $wxUSE_MONOLITHIC = "yes" ; then
47666 MONOLITHIC=1
47667 else
47668 MONOLITHIC=0
47669 fi
47670
47671 if test $wxUSE_PLUGINS = "yes" ; then
47672 USE_PLUGINS=1
47673 else
47674 USE_PLUGINS=0
47675 fi
47676
47677 if test $wxUSE_ODBC != "no" ; then
47678 USE_ODBC=1
47679 else
47680 USE_ODBC=0
47681 fi
47682
47683 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47684 USE_QA=1
47685 else
47686 USE_QA=0
47687 fi
47688
47689 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47690 OFFICIAL_BUILD=1
47691 else
47692 OFFICIAL_BUILD=0
47693 fi
47694
47695
47696
47697
47698
47699
47700
47701
47702
47703
47704
47705
47706
47707
47708
47709
47710
47711
47712
47713
47714
47715
47716
47717
47718
47719 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
47720
47721
47722
47723
47724
47725
47726
47727
47728 case "$TOOLKIT" in
47729 GTK)
47730 TOOLKIT_DESC="GTK+"
47731 if test "$WXGTK20" = 1; then
47732 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47733 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47734 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47735 fi
47736 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47737 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47738 fi
47739 if test "$wxUSE_LIBHILDON" = "yes"; then
47740 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47741 fi
47742
47743 if test "$TOOLKIT_EXTRA" != ""; then
47744 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47745 fi
47746 fi
47747 ;;
47748
47749 ?*)
47750 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47751 ;;
47752
47753 *)
47754 TOOLKIT_DESC="base only"
47755 ;;
47756 esac
47757
47758 if test "$wxUSE_WINE" = "yes"; then
47759 BAKEFILE_FORCE_PLATFORM=win32
47760 fi
47761
47762 if test "$wxUSE_MAC" = 1 ; then
47763 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
47764 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
47765 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
47766 else
47767 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
47768 fi
47769 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
47770 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
47771 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
47772 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
47773 bk_use_pch=no
47774 fi
47775 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
47776 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
47777 fi
47778
47779 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47780 then
47781 echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47782 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6
47783 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47784 echo $ECHO_N "(cached) $ECHO_C" >&6
47785 else
47786
47787 echo '#include <stdio.h>
47788 const wchar_t test_var[] = L"awidetest";' > conftest.h
47789
47790 echo '#include "conftest.h"
47791 int main()
47792 {
47793 printf("%ls", test_var);
47794 return 0;
47795 }' > conftest.cpp
47796
47797 wx_cv_gcc_pch_bug="pch not supported"
47798
47799 if $CXX conftest.h >/dev/null 2>&1
47800 then
47801 wx_cv_gcc_pch_bug=
47802
47803 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47804 then
47805 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47806 grep awidetest >/dev/null
47807 then
47808 wx_cv_gcc_pch_bug=no
47809 else
47810 wx_cv_gcc_pch_bug=yes
47811 fi
47812 fi
47813 fi
47814
47815 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47816
47817 fi
47818 echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47819 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6
47820
47821 if test "$wx_cv_gcc_pch_bug" = yes; then
47822 bk_use_pch=no
47823 fi
47824 fi
47825
47826
47827
47828
47829 if test "x$BAKEFILE_HOST" = "x"; then
47830 if test "x${host}" = "x" ; then
47831 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47832 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47833 { (exit 1); exit 1; }; }
47834 fi
47835
47836 BAKEFILE_HOST="${host}"
47837 fi
47838
47839 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47840
47841 if test -n "$ac_tool_prefix"; then
47842 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47843 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47844 echo "$as_me:$LINENO: checking for $ac_word" >&5
47845 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47846 if test "${ac_cv_prog_RANLIB+set}" = set; then
47847 echo $ECHO_N "(cached) $ECHO_C" >&6
47848 else
47849 if test -n "$RANLIB"; then
47850 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47851 else
47852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47853 for as_dir in $PATH
47854 do
47855 IFS=$as_save_IFS
47856 test -z "$as_dir" && as_dir=.
47857 for ac_exec_ext in '' $ac_executable_extensions; do
47858 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47859 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47860 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47861 break 2
47862 fi
47863 done
47864 done
47865
47866 fi
47867 fi
47868 RANLIB=$ac_cv_prog_RANLIB
47869 if test -n "$RANLIB"; then
47870 echo "$as_me:$LINENO: result: $RANLIB" >&5
47871 echo "${ECHO_T}$RANLIB" >&6
47872 else
47873 echo "$as_me:$LINENO: result: no" >&5
47874 echo "${ECHO_T}no" >&6
47875 fi
47876
47877 fi
47878 if test -z "$ac_cv_prog_RANLIB"; then
47879 ac_ct_RANLIB=$RANLIB
47880 # Extract the first word of "ranlib", so it can be a program name with args.
47881 set dummy ranlib; ac_word=$2
47882 echo "$as_me:$LINENO: checking for $ac_word" >&5
47883 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47884 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47885 echo $ECHO_N "(cached) $ECHO_C" >&6
47886 else
47887 if test -n "$ac_ct_RANLIB"; then
47888 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47889 else
47890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47891 for as_dir in $PATH
47892 do
47893 IFS=$as_save_IFS
47894 test -z "$as_dir" && as_dir=.
47895 for ac_exec_ext in '' $ac_executable_extensions; do
47896 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47897 ac_cv_prog_ac_ct_RANLIB="ranlib"
47898 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47899 break 2
47900 fi
47901 done
47902 done
47903
47904 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
47905 fi
47906 fi
47907 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47908 if test -n "$ac_ct_RANLIB"; then
47909 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47910 echo "${ECHO_T}$ac_ct_RANLIB" >&6
47911 else
47912 echo "$as_me:$LINENO: result: no" >&5
47913 echo "${ECHO_T}no" >&6
47914 fi
47915
47916 RANLIB=$ac_ct_RANLIB
47917 else
47918 RANLIB="$ac_cv_prog_RANLIB"
47919 fi
47920
47921 # Find a good install program. We prefer a C program (faster),
47922 # so one script is as good as another. But avoid the broken or
47923 # incompatible versions:
47924 # SysV /etc/install, /usr/sbin/install
47925 # SunOS /usr/etc/install
47926 # IRIX /sbin/install
47927 # AIX /bin/install
47928 # AmigaOS /C/install, which installs bootblocks on floppy discs
47929 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47930 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47931 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47932 # OS/2's system install, which has a completely different semantic
47933 # ./install, which can be erroneously created by make from ./install.sh.
47934 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47935 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
47936 if test -z "$INSTALL"; then
47937 if test "${ac_cv_path_install+set}" = set; then
47938 echo $ECHO_N "(cached) $ECHO_C" >&6
47939 else
47940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47941 for as_dir in $PATH
47942 do
47943 IFS=$as_save_IFS
47944 test -z "$as_dir" && as_dir=.
47945 # Account for people who put trailing slashes in PATH elements.
47946 case $as_dir/ in
47947 ./ | .// | /cC/* | \
47948 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47949 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47950 /usr/ucb/* ) ;;
47951 *)
47952 # OSF1 and SCO ODT 3.0 have their own names for install.
47953 # Don't use installbsd from OSF since it installs stuff as root
47954 # by default.
47955 for ac_prog in ginstall scoinst install; do
47956 for ac_exec_ext in '' $ac_executable_extensions; do
47957 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
47958 if test $ac_prog = install &&
47959 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47960 # AIX install. It has an incompatible calling convention.
47961 :
47962 elif test $ac_prog = install &&
47963 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47964 # program-specific install script used by HP pwplus--don't use.
47965 :
47966 else
47967 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47968 break 3
47969 fi
47970 fi
47971 done
47972 done
47973 ;;
47974 esac
47975 done
47976
47977
47978 fi
47979 if test "${ac_cv_path_install+set}" = set; then
47980 INSTALL=$ac_cv_path_install
47981 else
47982 # As a last resort, use the slow shell script. We don't cache a
47983 # path for INSTALL within a source directory, because that will
47984 # break other packages using the cache if that directory is
47985 # removed, or if the path is relative.
47986 INSTALL=$ac_install_sh
47987 fi
47988 fi
47989 echo "$as_me:$LINENO: result: $INSTALL" >&5
47990 echo "${ECHO_T}$INSTALL" >&6
47991
47992 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47993 # It thinks the first close brace ends the variable substitution.
47994 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47995
47996 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47997
47998 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47999
48000 echo "$as_me:$LINENO: checking whether ln -s works" >&5
48001 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
48002 LN_S=$as_ln_s
48003 if test "$LN_S" = "ln -s"; then
48004 echo "$as_me:$LINENO: result: yes" >&5
48005 echo "${ECHO_T}yes" >&6
48006 else
48007 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
48008 echo "${ECHO_T}no, using $LN_S" >&6
48009 fi
48010
48011
48012 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48013 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
48014 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
48015 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
48016 echo $ECHO_N "(cached) $ECHO_C" >&6
48017 else
48018 cat >conftest.make <<\_ACEOF
48019 all:
48020 @echo 'ac_maketemp="$(MAKE)"'
48021 _ACEOF
48022 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48023 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
48024 if test -n "$ac_maketemp"; then
48025 eval ac_cv_prog_make_${ac_make}_set=yes
48026 else
48027 eval ac_cv_prog_make_${ac_make}_set=no
48028 fi
48029 rm -f conftest.make
48030 fi
48031 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
48032 echo "$as_me:$LINENO: result: yes" >&5
48033 echo "${ECHO_T}yes" >&6
48034 SET_MAKE=
48035 else
48036 echo "$as_me:$LINENO: result: no" >&5
48037 echo "${ECHO_T}no" >&6
48038 SET_MAKE="MAKE=${MAKE-make}"
48039 fi
48040
48041
48042
48043 if test "x$SUNCXX" = "xyes"; then
48044 AR=$CXX
48045
48046 AROPTIONS="-xar -o"
48047 else
48048 if test -n "$ac_tool_prefix"; then
48049 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
48050 set dummy ${ac_tool_prefix}ar; ac_word=$2
48051 echo "$as_me:$LINENO: checking for $ac_word" >&5
48052 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48053 if test "${ac_cv_prog_AR+set}" = set; then
48054 echo $ECHO_N "(cached) $ECHO_C" >&6
48055 else
48056 if test -n "$AR"; then
48057 ac_cv_prog_AR="$AR" # Let the user override the test.
48058 else
48059 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48060 for as_dir in $PATH
48061 do
48062 IFS=$as_save_IFS
48063 test -z "$as_dir" && as_dir=.
48064 for ac_exec_ext in '' $ac_executable_extensions; do
48065 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48066 ac_cv_prog_AR="${ac_tool_prefix}ar"
48067 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48068 break 2
48069 fi
48070 done
48071 done
48072
48073 fi
48074 fi
48075 AR=$ac_cv_prog_AR
48076 if test -n "$AR"; then
48077 echo "$as_me:$LINENO: result: $AR" >&5
48078 echo "${ECHO_T}$AR" >&6
48079 else
48080 echo "$as_me:$LINENO: result: no" >&5
48081 echo "${ECHO_T}no" >&6
48082 fi
48083
48084 fi
48085 if test -z "$ac_cv_prog_AR"; then
48086 ac_ct_AR=$AR
48087 # Extract the first word of "ar", so it can be a program name with args.
48088 set dummy ar; ac_word=$2
48089 echo "$as_me:$LINENO: checking for $ac_word" >&5
48090 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48091 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
48092 echo $ECHO_N "(cached) $ECHO_C" >&6
48093 else
48094 if test -n "$ac_ct_AR"; then
48095 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
48096 else
48097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48098 for as_dir in $PATH
48099 do
48100 IFS=$as_save_IFS
48101 test -z "$as_dir" && as_dir=.
48102 for ac_exec_ext in '' $ac_executable_extensions; do
48103 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48104 ac_cv_prog_ac_ct_AR="ar"
48105 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48106 break 2
48107 fi
48108 done
48109 done
48110
48111 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
48112 fi
48113 fi
48114 ac_ct_AR=$ac_cv_prog_ac_ct_AR
48115 if test -n "$ac_ct_AR"; then
48116 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
48117 echo "${ECHO_T}$ac_ct_AR" >&6
48118 else
48119 echo "$as_me:$LINENO: result: no" >&5
48120 echo "${ECHO_T}no" >&6
48121 fi
48122
48123 AR=$ac_ct_AR
48124 else
48125 AR="$ac_cv_prog_AR"
48126 fi
48127
48128 AROPTIONS=rcu
48129 fi
48130
48131
48132 if test -n "$ac_tool_prefix"; then
48133 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
48134 set dummy ${ac_tool_prefix}strip; ac_word=$2
48135 echo "$as_me:$LINENO: checking for $ac_word" >&5
48136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48137 if test "${ac_cv_prog_STRIP+set}" = set; then
48138 echo $ECHO_N "(cached) $ECHO_C" >&6
48139 else
48140 if test -n "$STRIP"; then
48141 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
48142 else
48143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48144 for as_dir in $PATH
48145 do
48146 IFS=$as_save_IFS
48147 test -z "$as_dir" && as_dir=.
48148 for ac_exec_ext in '' $ac_executable_extensions; do
48149 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48150 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
48151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48152 break 2
48153 fi
48154 done
48155 done
48156
48157 fi
48158 fi
48159 STRIP=$ac_cv_prog_STRIP
48160 if test -n "$STRIP"; then
48161 echo "$as_me:$LINENO: result: $STRIP" >&5
48162 echo "${ECHO_T}$STRIP" >&6
48163 else
48164 echo "$as_me:$LINENO: result: no" >&5
48165 echo "${ECHO_T}no" >&6
48166 fi
48167
48168 fi
48169 if test -z "$ac_cv_prog_STRIP"; then
48170 ac_ct_STRIP=$STRIP
48171 # Extract the first word of "strip", so it can be a program name with args.
48172 set dummy strip; ac_word=$2
48173 echo "$as_me:$LINENO: checking for $ac_word" >&5
48174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48175 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
48176 echo $ECHO_N "(cached) $ECHO_C" >&6
48177 else
48178 if test -n "$ac_ct_STRIP"; then
48179 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
48180 else
48181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48182 for as_dir in $PATH
48183 do
48184 IFS=$as_save_IFS
48185 test -z "$as_dir" && as_dir=.
48186 for ac_exec_ext in '' $ac_executable_extensions; do
48187 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48188 ac_cv_prog_ac_ct_STRIP="strip"
48189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48190 break 2
48191 fi
48192 done
48193 done
48194
48195 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
48196 fi
48197 fi
48198 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
48199 if test -n "$ac_ct_STRIP"; then
48200 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
48201 echo "${ECHO_T}$ac_ct_STRIP" >&6
48202 else
48203 echo "$as_me:$LINENO: result: no" >&5
48204 echo "${ECHO_T}no" >&6
48205 fi
48206
48207 STRIP=$ac_ct_STRIP
48208 else
48209 STRIP="$ac_cv_prog_STRIP"
48210 fi
48211
48212 if test -n "$ac_tool_prefix"; then
48213 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
48214 set dummy ${ac_tool_prefix}nm; ac_word=$2
48215 echo "$as_me:$LINENO: checking for $ac_word" >&5
48216 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48217 if test "${ac_cv_prog_NM+set}" = set; then
48218 echo $ECHO_N "(cached) $ECHO_C" >&6
48219 else
48220 if test -n "$NM"; then
48221 ac_cv_prog_NM="$NM" # Let the user override the test.
48222 else
48223 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48224 for as_dir in $PATH
48225 do
48226 IFS=$as_save_IFS
48227 test -z "$as_dir" && as_dir=.
48228 for ac_exec_ext in '' $ac_executable_extensions; do
48229 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48230 ac_cv_prog_NM="${ac_tool_prefix}nm"
48231 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48232 break 2
48233 fi
48234 done
48235 done
48236
48237 fi
48238 fi
48239 NM=$ac_cv_prog_NM
48240 if test -n "$NM"; then
48241 echo "$as_me:$LINENO: result: $NM" >&5
48242 echo "${ECHO_T}$NM" >&6
48243 else
48244 echo "$as_me:$LINENO: result: no" >&5
48245 echo "${ECHO_T}no" >&6
48246 fi
48247
48248 fi
48249 if test -z "$ac_cv_prog_NM"; then
48250 ac_ct_NM=$NM
48251 # Extract the first word of "nm", so it can be a program name with args.
48252 set dummy nm; ac_word=$2
48253 echo "$as_me:$LINENO: checking for $ac_word" >&5
48254 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48255 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
48256 echo $ECHO_N "(cached) $ECHO_C" >&6
48257 else
48258 if test -n "$ac_ct_NM"; then
48259 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
48260 else
48261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48262 for as_dir in $PATH
48263 do
48264 IFS=$as_save_IFS
48265 test -z "$as_dir" && as_dir=.
48266 for ac_exec_ext in '' $ac_executable_extensions; do
48267 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48268 ac_cv_prog_ac_ct_NM="nm"
48269 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48270 break 2
48271 fi
48272 done
48273 done
48274
48275 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
48276 fi
48277 fi
48278 ac_ct_NM=$ac_cv_prog_ac_ct_NM
48279 if test -n "$ac_ct_NM"; then
48280 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
48281 echo "${ECHO_T}$ac_ct_NM" >&6
48282 else
48283 echo "$as_me:$LINENO: result: no" >&5
48284 echo "${ECHO_T}no" >&6
48285 fi
48286
48287 NM=$ac_ct_NM
48288 else
48289 NM="$ac_cv_prog_NM"
48290 fi
48291
48292
48293 case ${BAKEFILE_HOST} in
48294 *-hp-hpux* )
48295 INSTALL_DIR="mkdir -p"
48296 ;;
48297 * )
48298 INSTALL_DIR='$(INSTALL) -d'
48299 ;;
48300 esac
48301
48302
48303 LDFLAGS_GUI=
48304 case ${BAKEFILE_HOST} in
48305 *-*-cygwin* | *-*-mingw32* )
48306 LDFLAGS_GUI="-mwindows"
48307 esac
48308
48309
48310 fi
48311
48312 echo "$as_me:$LINENO: checking if make is GNU make" >&5
48313 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
48314 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
48315 echo $ECHO_N "(cached) $ECHO_C" >&6
48316 else
48317
48318 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
48319 egrep -s GNU > /dev/null); then
48320 bakefile_cv_prog_makeisgnu="yes"
48321 else
48322 bakefile_cv_prog_makeisgnu="no"
48323 fi
48324
48325 fi
48326 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
48327 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
48328
48329 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
48330 IF_GNU_MAKE=""
48331 else
48332 IF_GNU_MAKE="#"
48333 fi
48334
48335
48336
48337 PLATFORM_UNIX=0
48338 PLATFORM_WIN32=0
48339 PLATFORM_MSDOS=0
48340 PLATFORM_MAC=0
48341 PLATFORM_MACOS=0
48342 PLATFORM_MACOSX=0
48343 PLATFORM_OS2=0
48344 PLATFORM_BEOS=0
48345
48346 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
48347 case "${BAKEFILE_HOST}" in
48348 *-*-mingw32* )
48349 PLATFORM_WIN32=1
48350 ;;
48351 *-pc-msdosdjgpp )
48352 PLATFORM_MSDOS=1
48353 ;;
48354 *-pc-os2_emx | *-pc-os2-emx )
48355 PLATFORM_OS2=1
48356 ;;
48357 *-*-darwin* )
48358 PLATFORM_MAC=1
48359 PLATFORM_MACOSX=1
48360 ;;
48361 *-*-beos* )
48362 PLATFORM_BEOS=1
48363 ;;
48364 powerpc-apple-macos* )
48365 PLATFORM_MAC=1
48366 PLATFORM_MACOS=1
48367 ;;
48368 * )
48369 PLATFORM_UNIX=1
48370 ;;
48371 esac
48372 else
48373 case "$BAKEFILE_FORCE_PLATFORM" in
48374 win32 )
48375 PLATFORM_WIN32=1
48376 ;;
48377 msdos )
48378 PLATFORM_MSDOS=1
48379 ;;
48380 os2 )
48381 PLATFORM_OS2=1
48382 ;;
48383 darwin )
48384 PLATFORM_MAC=1
48385 PLATFORM_MACOSX=1
48386 ;;
48387 unix )
48388 PLATFORM_UNIX=1
48389 ;;
48390 beos )
48391 PLATFORM_BEOS=1
48392 ;;
48393 * )
48394 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
48395 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
48396 { (exit 1); exit 1; }; }
48397 ;;
48398 esac
48399 fi
48400
48401
48402
48403
48404
48405
48406
48407
48408
48409
48410
48411 # Check whether --enable-omf or --disable-omf was given.
48412 if test "${enable_omf+set}" = set; then
48413 enableval="$enable_omf"
48414 bk_os2_use_omf="$enableval"
48415 fi;
48416
48417 case "${BAKEFILE_HOST}" in
48418 *-*-darwin* )
48419 if test "x$GCC" = "xyes"; then
48420 CFLAGS="$CFLAGS -fno-common"
48421 CXXFLAGS="$CXXFLAGS -fno-common"
48422 fi
48423 if test "x$XLCC" = "xyes"; then
48424 CFLAGS="$CFLAGS -qnocommon"
48425 CXXFLAGS="$CXXFLAGS -qnocommon"
48426 fi
48427 ;;
48428
48429 *-pc-os2_emx | *-pc-os2-emx )
48430 if test "x$bk_os2_use_omf" = "xyes" ; then
48431 AR=emxomfar
48432 RANLIB=:
48433 LDFLAGS="-Zomf $LDFLAGS"
48434 CFLAGS="-Zomf $CFLAGS"
48435 CXXFLAGS="-Zomf $CXXFLAGS"
48436 OS2_LIBEXT="lib"
48437 else
48438 OS2_LIBEXT="a"
48439 fi
48440 ;;
48441
48442 i*86-*-beos* )
48443 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
48444 ;;
48445 esac
48446
48447
48448 SO_SUFFIX="so"
48449 SO_SUFFIX_MODULE="so"
48450 EXEEXT=""
48451 LIBPREFIX="lib"
48452 LIBEXT=".a"
48453 DLLPREFIX="lib"
48454 DLLPREFIX_MODULE=""
48455 DLLIMP_SUFFIX=""
48456 dlldir="$libdir"
48457
48458 case "${BAKEFILE_HOST}" in
48459 *-hp-hpux* )
48460 SO_SUFFIX="sl"
48461 SO_SUFFIX_MODULE="sl"
48462 ;;
48463 *-*-aix* )
48464 SO_SUFFIX="a"
48465 SO_SUFFIX_MODULE="a"
48466 ;;
48467 *-*-cygwin* )
48468 SO_SUFFIX="dll"
48469 SO_SUFFIX_MODULE="dll"
48470 DLLIMP_SUFFIX="dll.a"
48471 EXEEXT=".exe"
48472 DLLPREFIX="cyg"
48473 dlldir="$bindir"
48474 ;;
48475 *-*-mingw32* )
48476 SO_SUFFIX="dll"
48477 SO_SUFFIX_MODULE="dll"
48478 DLLIMP_SUFFIX="dll.a"
48479 EXEEXT=".exe"
48480 DLLPREFIX=""
48481 dlldir="$bindir"
48482 ;;
48483 *-pc-msdosdjgpp )
48484 EXEEXT=".exe"
48485 DLLPREFIX=""
48486 dlldir="$bindir"
48487 ;;
48488 *-pc-os2_emx | *-pc-os2-emx )
48489 SO_SUFFIX="dll"
48490 SO_SUFFIX_MODULE="dll"
48491 DLLIMP_SUFFIX=$OS2_LIBEXT
48492 EXEEXT=".exe"
48493 DLLPREFIX=""
48494 LIBPREFIX=""
48495 LIBEXT=".$OS2_LIBEXT"
48496 dlldir="$bindir"
48497 ;;
48498 *-*-darwin* )
48499 SO_SUFFIX="dylib"
48500 SO_SUFFIX_MODULE="bundle"
48501 ;;
48502 esac
48503
48504 if test "x$DLLIMP_SUFFIX" = "x" ; then
48505 DLLIMP_SUFFIX="$SO_SUFFIX"
48506 fi
48507
48508
48509
48510
48511
48512
48513
48514
48515
48516
48517
48518
48519 PIC_FLAG=""
48520 if test "x$GCC" = "xyes"; then
48521 PIC_FLAG="-fPIC"
48522 fi
48523
48524 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
48525 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
48526 WINDOWS_IMPLIB=0
48527
48528 case "${BAKEFILE_HOST}" in
48529 *-hp-hpux* )
48530 if test "x$GCC" != "xyes"; then
48531 LDFLAGS="$LDFLAGS -L/usr/lib"
48532
48533 SHARED_LD_CC="${CC} -b -o"
48534 SHARED_LD_CXX="${CXX} -b -o"
48535 PIC_FLAG="+Z"
48536 fi
48537 ;;
48538
48539 *-*-linux* )
48540 if test "x$GCC" != "xyes"; then
48541 echo "$as_me:$LINENO: checking for Intel compiler" >&5
48542 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
48543 if test "${bakefile_cv_prog_icc+set}" = set; then
48544 echo $ECHO_N "(cached) $ECHO_C" >&6
48545 else
48546
48547 cat >conftest.$ac_ext <<_ACEOF
48548 /* confdefs.h. */
48549 _ACEOF
48550 cat confdefs.h >>conftest.$ac_ext
48551 cat >>conftest.$ac_ext <<_ACEOF
48552 /* end confdefs.h. */
48553
48554 int
48555 main ()
48556 {
48557
48558 #ifndef __INTEL_COMPILER
48559 This is not ICC
48560 #endif
48561
48562 ;
48563 return 0;
48564 }
48565 _ACEOF
48566 rm -f conftest.$ac_objext
48567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48568 (eval $ac_compile) 2>conftest.er1
48569 ac_status=$?
48570 grep -v '^ *+' conftest.er1 >conftest.err
48571 rm -f conftest.er1
48572 cat conftest.err >&5
48573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48574 (exit $ac_status); } &&
48575 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48577 (eval $ac_try) 2>&5
48578 ac_status=$?
48579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48580 (exit $ac_status); }; } &&
48581 { ac_try='test -s conftest.$ac_objext'
48582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48583 (eval $ac_try) 2>&5
48584 ac_status=$?
48585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48586 (exit $ac_status); }; }; then
48587 bakefile_cv_prog_icc=yes
48588 else
48589 echo "$as_me: failed program was:" >&5
48590 sed 's/^/| /' conftest.$ac_ext >&5
48591
48592 bakefile_cv_prog_icc=no
48593
48594 fi
48595 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48596
48597 fi
48598 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
48599 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
48600 if test "$bakefile_cv_prog_icc" = "yes"; then
48601 PIC_FLAG="-KPIC"
48602 fi
48603 fi
48604 ;;
48605
48606 *-*-solaris2* )
48607 if test "x$GCC" != xyes ; then
48608 SHARED_LD_CC="${CC} -G -o"
48609 SHARED_LD_CXX="${CXX} -G -o"
48610 PIC_FLAG="-KPIC"
48611 fi
48612 ;;
48613
48614 *-*-darwin* )
48615
48616 D='$'
48617 cat <<EOF >shared-ld-sh
48618 #!/bin/sh
48619 #-----------------------------------------------------------------------------
48620 #-- Name: distrib/mac/shared-ld-sh
48621 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48622 #-- Author: Gilles Depeyrot
48623 #-- Copyright: (c) 2002 Gilles Depeyrot
48624 #-- Licence: any use permitted
48625 #-----------------------------------------------------------------------------
48626
48627 verbose=0
48628 args=""
48629 objects=""
48630 linking_flag="-dynamiclib"
48631 ldargs="-r -keep_private_externs -nostdlib"
48632
48633 while test ${D}# -gt 0; do
48634 case ${D}1 in
48635
48636 -v)
48637 verbose=1
48638 ;;
48639
48640 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48641 # collect these options and values
48642 args="${D}{args} ${D}1 ${D}2"
48643 shift
48644 ;;
48645
48646 -s|-Wl,*)
48647 # collect these load args
48648 ldargs="${D}{ldargs} ${D}1"
48649 ;;
48650
48651 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48652 # collect these options
48653 args="${D}{args} ${D}1"
48654 ;;
48655
48656 -dynamiclib|-bundle)
48657 linking_flag="${D}1"
48658 ;;
48659
48660 -*)
48661 echo "shared-ld: unhandled option '${D}1'"
48662 exit 1
48663 ;;
48664
48665 *.o | *.a | *.dylib)
48666 # collect object files
48667 objects="${D}{objects} ${D}1"
48668 ;;
48669
48670 *)
48671 echo "shared-ld: unhandled argument '${D}1'"
48672 exit 1
48673 ;;
48674
48675 esac
48676 shift
48677 done
48678
48679 status=0
48680
48681 #
48682 # Link one module containing all the others
48683 #
48684 if test ${D}{verbose} = 1; then
48685 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48686 fi
48687 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48688 status=${D}?
48689
48690 #
48691 # Link the shared library from the single module created, but only if the
48692 # previous command didn't fail:
48693 #
48694 if test ${D}{status} = 0; then
48695 if test ${D}{verbose} = 1; then
48696 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48697 fi
48698 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48699 status=${D}?
48700 fi
48701
48702 #
48703 # Remove intermediate module
48704 #
48705 rm -f master.${D}${D}.o
48706
48707 exit ${D}status
48708 EOF
48709
48710 chmod +x shared-ld-sh
48711
48712 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48713 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
48714
48715
48716 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48717 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
48718 if test "${bakefile_cv_gcc31+set}" = set; then
48719 echo $ECHO_N "(cached) $ECHO_C" >&6
48720 else
48721
48722 cat >conftest.$ac_ext <<_ACEOF
48723 /* confdefs.h. */
48724 _ACEOF
48725 cat confdefs.h >>conftest.$ac_ext
48726 cat >>conftest.$ac_ext <<_ACEOF
48727 /* end confdefs.h. */
48728
48729 int
48730 main ()
48731 {
48732
48733 #if (__GNUC__ < 3) || \
48734 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48735 This is old gcc
48736 #endif
48737
48738 ;
48739 return 0;
48740 }
48741 _ACEOF
48742 rm -f conftest.$ac_objext
48743 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48744 (eval $ac_compile) 2>conftest.er1
48745 ac_status=$?
48746 grep -v '^ *+' conftest.er1 >conftest.err
48747 rm -f conftest.er1
48748 cat conftest.err >&5
48749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48750 (exit $ac_status); } &&
48751 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48753 (eval $ac_try) 2>&5
48754 ac_status=$?
48755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48756 (exit $ac_status); }; } &&
48757 { ac_try='test -s conftest.$ac_objext'
48758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48759 (eval $ac_try) 2>&5
48760 ac_status=$?
48761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48762 (exit $ac_status); }; }; then
48763
48764 bakefile_cv_gcc31=yes
48765
48766 else
48767 echo "$as_me: failed program was:" >&5
48768 sed 's/^/| /' conftest.$ac_ext >&5
48769
48770
48771 bakefile_cv_gcc31=no
48772
48773
48774 fi
48775 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48776
48777 fi
48778 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48779 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
48780 if test "$bakefile_cv_gcc31" = "no"; then
48781 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48782 SHARED_LD_CXX="$SHARED_LD_CC"
48783 else
48784 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48785 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48786 fi
48787
48788 if test "x$GCC" == "xyes"; then
48789 PIC_FLAG="-dynamic -fPIC"
48790 fi
48791 if test "x$XLCC" = "xyes"; then
48792 PIC_FLAG="-dynamic -DPIC"
48793 fi
48794 ;;
48795
48796 *-*-aix* )
48797 if test "x$GCC" = "xyes"; then
48798 PIC_FLAG=""
48799
48800 case "${BAKEFILE_HOST}" in
48801 *-*-aix5* )
48802 LD_EXPFULL="-Wl,-bexpfull"
48803 ;;
48804 esac
48805
48806 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48807 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48808 else
48809 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48810 set dummy makeC++SharedLib; ac_word=$2
48811 echo "$as_me:$LINENO: checking for $ac_word" >&5
48812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48813 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48814 echo $ECHO_N "(cached) $ECHO_C" >&6
48815 else
48816 if test -n "$AIX_CXX_LD"; then
48817 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48818 else
48819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48820 for as_dir in $PATH
48821 do
48822 IFS=$as_save_IFS
48823 test -z "$as_dir" && as_dir=.
48824 for ac_exec_ext in '' $ac_executable_extensions; do
48825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48826 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48828 break 2
48829 fi
48830 done
48831 done
48832
48833 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48834 fi
48835 fi
48836 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48837 if test -n "$AIX_CXX_LD"; then
48838 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48839 echo "${ECHO_T}$AIX_CXX_LD" >&6
48840 else
48841 echo "$as_me:$LINENO: result: no" >&5
48842 echo "${ECHO_T}no" >&6
48843 fi
48844
48845 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48846 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48847 fi
48848 ;;
48849
48850 *-*-beos* )
48851 SHARED_LD_CC="${LD} -nostart -o"
48852 SHARED_LD_CXX="${LD} -nostart -o"
48853 ;;
48854
48855 *-*-irix* )
48856 if test "x$GCC" != "xyes"; then
48857 PIC_FLAG="-KPIC"
48858 fi
48859 ;;
48860
48861 *-*-cygwin* | *-*-mingw32* )
48862 PIC_FLAG=""
48863 SHARED_LD_CC="\$(CC) -shared -o"
48864 SHARED_LD_CXX="\$(CXX) -shared -o"
48865 WINDOWS_IMPLIB=1
48866 ;;
48867
48868 *-pc-os2_emx | *-pc-os2-emx )
48869 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48870 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48871 PIC_FLAG=""
48872
48873 D='$'
48874 cat <<EOF >dllar.sh
48875 #!/bin/sh
48876 #
48877 # dllar - a tool to build both a .dll and an .a file
48878 # from a set of object (.o) files for EMX/OS2.
48879 #
48880 # Written by Andrew Zabolotny, bit@freya.etu.ru
48881 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48882 #
48883 # This script will accept a set of files on the command line.
48884 # All the public symbols from the .o files will be exported into
48885 # a .DEF file, then linker will be run (through gcc) against them to
48886 # build a shared library consisting of all given .o files. All libraries
48887 # (.a) will be first decompressed into component .o files then act as
48888 # described above. You can optionally give a description (-d "description")
48889 # which will be put into .DLL. To see the list of accepted options (as well
48890 # as command-line format) simply run this program without options. The .DLL
48891 # is built to be imported by name (there is no guarantee that new versions
48892 # of the library you build will have same ordinals for same symbols).
48893 #
48894 # dllar is free software; you can redistribute it and/or modify
48895 # it under the terms of the GNU General Public License as published by
48896 # the Free Software Foundation; either version 2, or (at your option)
48897 # any later version.
48898 #
48899 # dllar is distributed in the hope that it will be useful,
48900 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48901 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48902 # GNU General Public License for more details.
48903 #
48904 # You should have received a copy of the GNU General Public License
48905 # along with dllar; see the file COPYING. If not, write to the Free
48906 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48907 # 02111-1307, USA.
48908
48909 # To successfuly run this program you will need:
48910 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48911 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48912 # - gcc
48913 # (used to build the .dll)
48914 # - emxexp
48915 # (used to create .def file from .o files)
48916 # - emximp
48917 # (used to create .a file from .def file)
48918 # - GNU text utilites (cat, sort, uniq)
48919 # used to process emxexp output
48920 # - GNU file utilities (mv, rm)
48921 # - GNU sed
48922 # - lxlite (optional, see flag below)
48923 # (used for general .dll cleanup)
48924 #
48925
48926 flag_USE_LXLITE=1;
48927
48928 #
48929 # helper functions
48930 # basnam, variant of basename, which does _not_ remove the path, _iff_
48931 # second argument (suffix to remove) is given
48932 basnam(){
48933 case ${D}# in
48934 1)
48935 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48936 ;;
48937 2)
48938 echo ${D}1 | sed 's/'${D}2'${D}//'
48939 ;;
48940 *)
48941 echo "error in basnam ${D}*"
48942 exit 8
48943 ;;
48944 esac
48945 }
48946
48947 # Cleanup temporary files and output
48948 CleanUp() {
48949 cd ${D}curDir
48950 for i in ${D}inputFiles ; do
48951 case ${D}i in
48952 *!)
48953 rm -rf \`basnam ${D}i !\`
48954 ;;
48955 *)
48956 ;;
48957 esac
48958 done
48959
48960 # Kill result in case of failure as there is just to many stupid make/nmake
48961 # things out there which doesn't do this.
48962 if [ ${D}# -eq 0 ]; then
48963 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48964 fi
48965 }
48966
48967 # Print usage and exit script with rc=1.
48968 PrintHelp() {
48969 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48970 echo ' [-name-mangler-script script.sh]'
48971 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48972 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48973 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48974 echo ' [*.o] [*.a]'
48975 echo '*> "output_file" should have no extension.'
48976 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48977 echo ' The import library name is derived from this and is set to "name".a,'
48978 echo ' unless overridden by -import'
48979 echo '*> "importlib_name" should have no extension.'
48980 echo ' If it has the .o, or .a extension, it is automatically removed.'
48981 echo ' This name is used as the import library name and may be longer and'
48982 echo ' more descriptive than the DLL name which has to follow the old '
48983 echo ' 8.3 convention of FAT.'
48984 echo '*> "script.sh may be given to override the output_file name by a'
48985 echo ' different name. It is mainly useful if the regular make process'
48986 echo ' of some package does not take into account OS/2 restriction of'
48987 echo ' DLL name lengths. It takes the importlib name as input and is'
48988 echo ' supposed to procude a shorter name as output. The script should'
48989 echo ' expect to get importlib_name without extension and should produce'
48990 echo ' a (max.) 8 letter name without extension.'
48991 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48992 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48993 echo ' These flags will be put at the start of GCC command line.'
48994 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48995 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48996 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48997 echo ' If the last character of a symbol is "*", all symbols beginning'
48998 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48999 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
49000 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
49001 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
49002 echo ' C runtime DLLs.'
49003 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
49004 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
49005 echo ' unchanged to GCC at the end of command line.'
49006 echo '*> If you create a DLL from a library and you do not specify -o,'
49007 echo ' the basename for DLL and import library will be set to library name,'
49008 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
49009 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
49010 echo ' library will be renamed into gcc_s.a.'
49011 echo '--------'
49012 echo 'Example:'
49013 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
49014 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
49015 CleanUp
49016 exit 1
49017 }
49018
49019 # Execute a command.
49020 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
49021 # @Uses Whatever CleanUp() uses.
49022 doCommand() {
49023 echo "${D}*"
49024 eval ${D}*
49025 rcCmd=${D}?
49026
49027 if [ ${D}rcCmd -ne 0 ]; then
49028 echo "command failed, exit code="${D}rcCmd
49029 CleanUp
49030 exit ${D}rcCmd
49031 fi
49032 }
49033
49034 # main routine
49035 # setup globals
49036 cmdLine=${D}*
49037 outFile=""
49038 outimpFile=""
49039 inputFiles=""
49040 renameScript=""
49041 description=""
49042 CC=gcc.exe
49043 CFLAGS="-s -Zcrtdll"
49044 EXTRA_CFLAGS=""
49045 EXPORT_BY_ORDINALS=0
49046 exclude_symbols=""
49047 library_flags=""
49048 curDir=\`pwd\`
49049 curDirS=curDir
49050 case ${D}curDirS in
49051 */)
49052 ;;
49053 *)
49054 curDirS=${D}{curDirS}"/"
49055 ;;
49056 esac
49057 # Parse commandline
49058 libsToLink=0
49059 omfLinking=0
49060 while [ ${D}1 ]; do
49061 case ${D}1 in
49062 -ord*)
49063 EXPORT_BY_ORDINALS=1;
49064 ;;
49065 -o*)
49066 shift
49067 outFile=${D}1
49068 ;;
49069 -i*)
49070 shift
49071 outimpFile=${D}1
49072 ;;
49073 -name-mangler-script)
49074 shift
49075 renameScript=${D}1
49076 ;;
49077 -d*)
49078 shift
49079 description=${D}1
49080 ;;
49081 -f*)
49082 shift
49083 CFLAGS=${D}1
49084 ;;
49085 -c*)
49086 shift
49087 CC=${D}1
49088 ;;
49089 -h*)
49090 PrintHelp
49091 ;;
49092 -ex*)
49093 shift
49094 exclude_symbols=${D}{exclude_symbols}${D}1" "
49095 ;;
49096 -libf*)
49097 shift
49098 library_flags=${D}{library_flags}${D}1" "
49099 ;;
49100 -nocrt*)
49101 CFLAGS="-s"
49102 ;;
49103 -nolxl*)
49104 flag_USE_LXLITE=0
49105 ;;
49106 -* | /*)
49107 case ${D}1 in
49108 -L* | -l*)
49109 libsToLink=1
49110 ;;
49111 -Zomf)
49112 omfLinking=1
49113 ;;
49114 *)
49115 ;;
49116 esac
49117 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49118 ;;
49119 *.dll)
49120 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
49121 if [ ${D}omfLinking -eq 1 ]; then
49122 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
49123 else
49124 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
49125 fi
49126 ;;
49127 *)
49128 found=0;
49129 if [ ${D}libsToLink -ne 0 ]; then
49130 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
49131 else
49132 for file in ${D}1 ; do
49133 if [ -f ${D}file ]; then
49134 inputFiles="${D}{inputFiles} ${D}file"
49135 found=1
49136 fi
49137 done
49138 if [ ${D}found -eq 0 ]; then
49139 echo "ERROR: No file(s) found: "${D}1
49140 exit 8
49141 fi
49142 fi
49143 ;;
49144 esac
49145 shift
49146 done # iterate cmdline words
49147
49148 #
49149 if [ -z "${D}inputFiles" ]; then
49150 echo "dllar: no input files"
49151 PrintHelp
49152 fi
49153
49154 # Now extract all .o files from .a files
49155 newInputFiles=""
49156 for file in ${D}inputFiles ; do
49157 case ${D}file in
49158 *.a | *.lib)
49159 case ${D}file in
49160 *.a)
49161 suffix=".a"
49162 AR="ar"
49163 ;;
49164 *.lib)
49165 suffix=".lib"
49166 AR="emxomfar"
49167 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
49168 ;;
49169 *)
49170 ;;
49171 esac
49172 dirname=\`basnam ${D}file ${D}suffix\`"_%"
49173 mkdir ${D}dirname
49174 if [ ${D}? -ne 0 ]; then
49175 echo "Failed to create subdirectory ./${D}dirname"
49176 CleanUp
49177 exit 8;
49178 fi
49179 # Append '!' to indicate archive
49180 newInputFiles="${D}newInputFiles ${D}{dirname}!"
49181 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
49182 cd ${D}curDir
49183 found=0;
49184 for subfile in ${D}dirname/*.o* ; do
49185 if [ -f ${D}subfile ]; then
49186 found=1
49187 if [ -s ${D}subfile ]; then
49188 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
49189 newInputFiles="${D}newInputFiles ${D}subfile"
49190 fi
49191 fi
49192 done
49193 if [ ${D}found -eq 0 ]; then
49194 echo "WARNING: there are no files in archive \\'${D}file\\'"
49195 fi
49196 ;;
49197 *)
49198 newInputFiles="${D}{newInputFiles} ${D}file"
49199 ;;
49200 esac
49201 done
49202 inputFiles="${D}newInputFiles"
49203
49204 # Output filename(s).
49205 do_backup=0;
49206 if [ -z ${D}outFile ]; then
49207 do_backup=1;
49208 set outFile ${D}inputFiles; outFile=${D}2
49209 fi
49210
49211 # If it is an archive, remove the '!' and the '_%' suffixes
49212 case ${D}outFile in
49213 *_%!)
49214 outFile=\`basnam ${D}outFile _%!\`
49215 ;;
49216 *)
49217 ;;
49218 esac
49219 case ${D}outFile in
49220 *.dll)
49221 outFile=\`basnam ${D}outFile .dll\`
49222 ;;
49223 *.DLL)
49224 outFile=\`basnam ${D}outFile .DLL\`
49225 ;;
49226 *.o)
49227 outFile=\`basnam ${D}outFile .o\`
49228 ;;
49229 *.obj)
49230 outFile=\`basnam ${D}outFile .obj\`
49231 ;;
49232 *.a)
49233 outFile=\`basnam ${D}outFile .a\`
49234 ;;
49235 *.lib)
49236 outFile=\`basnam ${D}outFile .lib\`
49237 ;;
49238 *)
49239 ;;
49240 esac
49241 case ${D}outimpFile in
49242 *.a)
49243 outimpFile=\`basnam ${D}outimpFile .a\`
49244 ;;
49245 *.lib)
49246 outimpFile=\`basnam ${D}outimpFile .lib\`
49247 ;;
49248 *)
49249 ;;
49250 esac
49251 if [ -z ${D}outimpFile ]; then
49252 outimpFile=${D}outFile
49253 fi
49254 defFile="${D}{outFile}.def"
49255 arcFile="${D}{outimpFile}.a"
49256 arcFile2="${D}{outimpFile}.lib"
49257
49258 #create ${D}dllFile as something matching 8.3 restrictions,
49259 if [ -z ${D}renameScript ] ; then
49260 dllFile="${D}outFile"
49261 else
49262 dllFile=\`${D}renameScript ${D}outimpFile\`
49263 fi
49264
49265 if [ ${D}do_backup -ne 0 ] ; then
49266 if [ -f ${D}arcFile ] ; then
49267 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
49268 fi
49269 if [ -f ${D}arcFile2 ] ; then
49270 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
49271 fi
49272 fi
49273
49274 # Extract public symbols from all the object files.
49275 tmpdefFile=${D}{defFile}_%
49276 rm -f ${D}tmpdefFile
49277 for file in ${D}inputFiles ; do
49278 case ${D}file in
49279 *!)
49280 ;;
49281 *)
49282 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
49283 ;;
49284 esac
49285 done
49286
49287 # Create the def file.
49288 rm -f ${D}defFile
49289 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
49290 dllFile="${D}{dllFile}.dll"
49291 if [ ! -z ${D}description ]; then
49292 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
49293 fi
49294 echo "EXPORTS" >> ${D}defFile
49295
49296 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
49297 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
49298
49299 # Checks if the export is ok or not.
49300 for word in ${D}exclude_symbols; do
49301 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
49302 mv ${D}{tmpdefFile}% ${D}tmpdefFile
49303 done
49304
49305
49306 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49307 sed "=" < ${D}tmpdefFile | \\
49308 sed '
49309 N
49310 : loop
49311 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
49312 t loop
49313 ' > ${D}{tmpdefFile}%
49314 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
49315 else
49316 rm -f ${D}{tmpdefFile}%
49317 fi
49318 cat ${D}tmpdefFile >> ${D}defFile
49319 rm -f ${D}tmpdefFile
49320
49321 # Do linking, create implib, and apply lxlite.
49322 gccCmdl="";
49323 for file in ${D}inputFiles ; do
49324 case ${D}file in
49325 *!)
49326 ;;
49327 *)
49328 gccCmdl="${D}gccCmdl ${D}file"
49329 ;;
49330 esac
49331 done
49332 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
49333 touch "${D}{outFile}.dll"
49334
49335 doCommand "emximp -o ${D}arcFile ${D}defFile"
49336 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
49337 add_flags="";
49338 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
49339 add_flags="-ynd"
49340 fi
49341 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
49342 fi
49343 doCommand "emxomf -s -l ${D}arcFile"
49344
49345 # Successful exit.
49346 CleanUp 1
49347 exit 0
49348 EOF
49349
49350 chmod +x dllar.sh
49351 ;;
49352
49353 powerpc-apple-macos* | \
49354 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
49355 *-*-mirbsd* | \
49356 *-*-sunos4* | \
49357 *-*-osf* | \
49358 *-*-dgux5* | \
49359 *-*-sysv5* | \
49360 *-pc-msdosdjgpp )
49361 ;;
49362
49363 *)
49364 esac
49365
49366 if test "x$PIC_FLAG" != "x" ; then
49367 PIC_FLAG="$PIC_FLAG -DPIC"
49368 fi
49369
49370 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
49371 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
49372 fi
49373 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
49374 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
49375 fi
49376
49377
49378
49379
49380
49381
49382
49383
49384
49385 USE_SOVERSION=0
49386 USE_SOVERLINUX=0
49387 USE_SOVERSOLARIS=0
49388 USE_SOVERCYGWIN=0
49389 USE_SOSYMLINKS=0
49390 USE_MACVERSION=0
49391 SONAME_FLAG=
49392
49393 case "${BAKEFILE_HOST}" in
49394 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
49395 SONAME_FLAG="-Wl,-soname,"
49396 USE_SOVERSION=1
49397 USE_SOVERLINUX=1
49398 USE_SOSYMLINKS=1
49399 ;;
49400
49401 *-*-solaris2* )
49402 SONAME_FLAG="-h "
49403 USE_SOVERSION=1
49404 USE_SOVERSOLARIS=1
49405 USE_SOSYMLINKS=1
49406 ;;
49407
49408 *-*-darwin* )
49409 USE_MACVERSION=1
49410 USE_SOVERSION=1
49411 USE_SOSYMLINKS=1
49412 ;;
49413
49414 *-*-cygwin* )
49415 USE_SOVERSION=1
49416 USE_SOVERCYGWIN=1
49417 ;;
49418 esac
49419
49420
49421
49422
49423
49424
49425
49426
49427
49428
49429 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
49430 if test "${enable_dependency_tracking+set}" = set; then
49431 enableval="$enable_dependency_tracking"
49432 bk_use_trackdeps="$enableval"
49433 fi;
49434
49435 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
49436 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
49437
49438 BK_DEPS=""
49439 if test "x$bk_use_trackdeps" = "xno" ; then
49440 DEPS_TRACKING=0
49441 echo "$as_me:$LINENO: result: disabled" >&5
49442 echo "${ECHO_T}disabled" >&6
49443 else
49444 DEPS_TRACKING=1
49445
49446 if test "x$GCC" = "xyes"; then
49447 DEPSMODE=gcc
49448 case "${BAKEFILE_HOST}" in
49449 *-*-darwin* )
49450 DEPSFLAG="-no-cpp-precomp -MMD"
49451 ;;
49452 * )
49453 DEPSFLAG="-MMD"
49454 ;;
49455 esac
49456 echo "$as_me:$LINENO: result: gcc" >&5
49457 echo "${ECHO_T}gcc" >&6
49458 elif test "x$MWCC" = "xyes"; then
49459 DEPSMODE=mwcc
49460 DEPSFLAG="-MM"
49461 echo "$as_me:$LINENO: result: mwcc" >&5
49462 echo "${ECHO_T}mwcc" >&6
49463 elif test "x$SUNCC" = "xyes"; then
49464 DEPSMODE=unixcc
49465 DEPSFLAG="-xM1"
49466 echo "$as_me:$LINENO: result: Sun cc" >&5
49467 echo "${ECHO_T}Sun cc" >&6
49468 elif test "x$SGICC" = "xyes"; then
49469 DEPSMODE=unixcc
49470 DEPSFLAG="-M"
49471 echo "$as_me:$LINENO: result: SGI cc" >&5
49472 echo "${ECHO_T}SGI cc" >&6
49473 elif test "x$HPCC" = "xyes"; then
49474 DEPSMODE=unixcc
49475 DEPSFLAG="+make"
49476 echo "$as_me:$LINENO: result: HP cc" >&5
49477 echo "${ECHO_T}HP cc" >&6
49478 elif test "x$COMPAQCC" = "xyes"; then
49479 DEPSMODE=gcc
49480 DEPSFLAG="-MD"
49481 echo "$as_me:$LINENO: result: Compaq cc" >&5
49482 echo "${ECHO_T}Compaq cc" >&6
49483 else
49484 DEPS_TRACKING=0
49485 echo "$as_me:$LINENO: result: none" >&5
49486 echo "${ECHO_T}none" >&6
49487 fi
49488
49489 if test $DEPS_TRACKING = 1 ; then
49490
49491 D='$'
49492 cat <<EOF >bk-deps
49493 #!/bin/sh
49494
49495 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49496 # script. It is used to track C/C++ files dependencies in portable way.
49497 #
49498 # Permission is given to use this file in any way.
49499
49500 DEPSMODE=${DEPSMODE}
49501 DEPSDIR=.deps
49502 DEPSFLAG="${DEPSFLAG}"
49503
49504 mkdir -p ${D}DEPSDIR
49505
49506 if test ${D}DEPSMODE = gcc ; then
49507 ${D}* ${D}{DEPSFLAG}
49508 status=${D}?
49509 if test ${D}{status} != 0 ; then
49510 exit ${D}{status}
49511 fi
49512 # move created file to the location we want it in:
49513 while test ${D}# -gt 0; do
49514 case "${D}1" in
49515 -o )
49516 shift
49517 objfile=${D}1
49518 ;;
49519 -* )
49520 ;;
49521 * )
49522 srcfile=${D}1
49523 ;;
49524 esac
49525 shift
49526 done
49527 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
49528 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
49529 if test -f ${D}depfile ; then
49530 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49531 rm -f ${D}depfile
49532 else
49533 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
49534 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
49535 if test ! -f ${D}depfile ; then
49536 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
49537 depfile="${D}objfile.d"
49538 fi
49539 if test -f ${D}depfile ; then
49540 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
49541 rm -f ${D}depfile
49542 fi
49543 fi
49544 exit 0
49545 elif test ${D}DEPSMODE = mwcc ; then
49546 ${D}* || exit ${D}?
49547 # Run mwcc again with -MM and redirect into the dep file we want
49548 # NOTE: We can't use shift here because we need ${D}* to be valid
49549 prevarg=
49550 for arg in ${D}* ; do
49551 if test "${D}prevarg" = "-o"; then
49552 objfile=${D}arg
49553 else
49554 case "${D}arg" in
49555 -* )
49556 ;;
49557 * )
49558 srcfile=${D}arg
49559 ;;
49560 esac
49561 fi
49562 prevarg="${D}arg"
49563 done
49564 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
49565 exit 0
49566 elif test ${D}DEPSMODE = unixcc; then
49567 ${D}* || exit ${D}?
49568 # Run compiler again with deps flag and redirect into the dep file.
49569 # It doesn't work if the '-o FILE' option is used, but without it the
49570 # dependency file will contain the wrong name for the object. So it is
49571 # removed from the command line, and the dep file is fixed with sed.
49572 cmd=""
49573 while test ${D}# -gt 0; do
49574 case "${D}1" in
49575 -o )
49576 shift
49577 objfile=${D}1
49578 ;;
49579 * )
49580 eval arg${D}#=\\${D}1
49581 cmd="${D}cmd \\${D}arg${D}#"
49582 ;;
49583 esac
49584 shift
49585 done
49586 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
49587 exit 0
49588 else
49589 ${D}*
49590 exit ${D}?
49591 fi
49592 EOF
49593
49594 chmod +x bk-deps
49595 BK_DEPS="`pwd`/bk-deps"
49596 fi
49597 fi
49598
49599
49600
49601
49602
49603 case ${BAKEFILE_HOST} in
49604 *-*-cygwin* | *-*-mingw32* )
49605 if test -n "$ac_tool_prefix"; then
49606 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49607 set dummy ${ac_tool_prefix}windres; ac_word=$2
49608 echo "$as_me:$LINENO: checking for $ac_word" >&5
49609 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49610 if test "${ac_cv_prog_WINDRES+set}" = set; then
49611 echo $ECHO_N "(cached) $ECHO_C" >&6
49612 else
49613 if test -n "$WINDRES"; then
49614 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49615 else
49616 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49617 for as_dir in $PATH
49618 do
49619 IFS=$as_save_IFS
49620 test -z "$as_dir" && as_dir=.
49621 for ac_exec_ext in '' $ac_executable_extensions; do
49622 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49623 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49624 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49625 break 2
49626 fi
49627 done
49628 done
49629
49630 fi
49631 fi
49632 WINDRES=$ac_cv_prog_WINDRES
49633 if test -n "$WINDRES"; then
49634 echo "$as_me:$LINENO: result: $WINDRES" >&5
49635 echo "${ECHO_T}$WINDRES" >&6
49636 else
49637 echo "$as_me:$LINENO: result: no" >&5
49638 echo "${ECHO_T}no" >&6
49639 fi
49640
49641 fi
49642 if test -z "$ac_cv_prog_WINDRES"; then
49643 ac_ct_WINDRES=$WINDRES
49644 # Extract the first word of "windres", so it can be a program name with args.
49645 set dummy windres; ac_word=$2
49646 echo "$as_me:$LINENO: checking for $ac_word" >&5
49647 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49648 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49649 echo $ECHO_N "(cached) $ECHO_C" >&6
49650 else
49651 if test -n "$ac_ct_WINDRES"; then
49652 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49653 else
49654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49655 for as_dir in $PATH
49656 do
49657 IFS=$as_save_IFS
49658 test -z "$as_dir" && as_dir=.
49659 for ac_exec_ext in '' $ac_executable_extensions; do
49660 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49661 ac_cv_prog_ac_ct_WINDRES="windres"
49662 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49663 break 2
49664 fi
49665 done
49666 done
49667
49668 fi
49669 fi
49670 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49671 if test -n "$ac_ct_WINDRES"; then
49672 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49673 echo "${ECHO_T}$ac_ct_WINDRES" >&6
49674 else
49675 echo "$as_me:$LINENO: result: no" >&5
49676 echo "${ECHO_T}no" >&6
49677 fi
49678
49679 WINDRES=$ac_ct_WINDRES
49680 else
49681 WINDRES="$ac_cv_prog_WINDRES"
49682 fi
49683
49684 ;;
49685
49686 *-*-darwin* | powerpc-apple-macos* )
49687 # Extract the first word of "Rez", so it can be a program name with args.
49688 set dummy Rez; ac_word=$2
49689 echo "$as_me:$LINENO: checking for $ac_word" >&5
49690 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49691 if test "${ac_cv_prog_REZ+set}" = set; then
49692 echo $ECHO_N "(cached) $ECHO_C" >&6
49693 else
49694 if test -n "$REZ"; then
49695 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49696 else
49697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49698 for as_dir in $PATH
49699 do
49700 IFS=$as_save_IFS
49701 test -z "$as_dir" && as_dir=.
49702 for ac_exec_ext in '' $ac_executable_extensions; do
49703 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49704 ac_cv_prog_REZ="Rez"
49705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49706 break 2
49707 fi
49708 done
49709 done
49710
49711 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49712 fi
49713 fi
49714 REZ=$ac_cv_prog_REZ
49715 if test -n "$REZ"; then
49716 echo "$as_me:$LINENO: result: $REZ" >&5
49717 echo "${ECHO_T}$REZ" >&6
49718 else
49719 echo "$as_me:$LINENO: result: no" >&5
49720 echo "${ECHO_T}no" >&6
49721 fi
49722
49723 # Extract the first word of "SetFile", so it can be a program name with args.
49724 set dummy SetFile; ac_word=$2
49725 echo "$as_me:$LINENO: checking for $ac_word" >&5
49726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49727 if test "${ac_cv_prog_SETFILE+set}" = set; then
49728 echo $ECHO_N "(cached) $ECHO_C" >&6
49729 else
49730 if test -n "$SETFILE"; then
49731 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49732 else
49733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49734 for as_dir in $PATH
49735 do
49736 IFS=$as_save_IFS
49737 test -z "$as_dir" && as_dir=.
49738 for ac_exec_ext in '' $ac_executable_extensions; do
49739 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49740 ac_cv_prog_SETFILE="SetFile"
49741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49742 break 2
49743 fi
49744 done
49745 done
49746
49747 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49748 fi
49749 fi
49750 SETFILE=$ac_cv_prog_SETFILE
49751 if test -n "$SETFILE"; then
49752 echo "$as_me:$LINENO: result: $SETFILE" >&5
49753 echo "${ECHO_T}$SETFILE" >&6
49754 else
49755 echo "$as_me:$LINENO: result: no" >&5
49756 echo "${ECHO_T}no" >&6
49757 fi
49758
49759 ;;
49760 esac
49761
49762
49763
49764
49765
49766
49767 BAKEFILE_BAKEFILE_M4_VERSION="0.2.0"
49768
49769
49770 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.0"
49771
49772
49773
49774 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
49775 if test "${enable_precomp_headers+set}" = set; then
49776 enableval="$enable_precomp_headers"
49777 bk_use_pch="$enableval"
49778 fi;
49779
49780 GCC_PCH=0
49781 ICC_PCH=0
49782 USE_PCH=0
49783 BK_MAKE_PCH=""
49784
49785 case ${BAKEFILE_HOST} in
49786 *-*-cygwin* )
49787 bk_use_pch="no"
49788 ;;
49789 esac
49790
49791 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49792 if test "x$GCC" = "xyes"; then
49793 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49794 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
49795 cat >conftest.$ac_ext <<_ACEOF
49796 /* confdefs.h. */
49797 _ACEOF
49798 cat confdefs.h >>conftest.$ac_ext
49799 cat >>conftest.$ac_ext <<_ACEOF
49800 /* end confdefs.h. */
49801
49802 int
49803 main ()
49804 {
49805
49806 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49807 There is no PCH support
49808 #endif
49809 #if (__GNUC__ < 3)
49810 There is no PCH support
49811 #endif
49812 #if (__GNUC__ == 3) && \
49813 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49814 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49815 ( defined(__INTEL_COMPILER) )
49816 There is no PCH support
49817 #endif
49818
49819 ;
49820 return 0;
49821 }
49822 _ACEOF
49823 rm -f conftest.$ac_objext
49824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49825 (eval $ac_compile) 2>conftest.er1
49826 ac_status=$?
49827 grep -v '^ *+' conftest.er1 >conftest.err
49828 rm -f conftest.er1
49829 cat conftest.err >&5
49830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49831 (exit $ac_status); } &&
49832 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49834 (eval $ac_try) 2>&5
49835 ac_status=$?
49836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49837 (exit $ac_status); }; } &&
49838 { ac_try='test -s conftest.$ac_objext'
49839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49840 (eval $ac_try) 2>&5
49841 ac_status=$?
49842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49843 (exit $ac_status); }; }; then
49844
49845 echo "$as_me:$LINENO: result: yes" >&5
49846 echo "${ECHO_T}yes" >&6
49847 GCC_PCH=1
49848
49849 else
49850 echo "$as_me: failed program was:" >&5
49851 sed 's/^/| /' conftest.$ac_ext >&5
49852
49853
49854 cat >conftest.$ac_ext <<_ACEOF
49855 /* confdefs.h. */
49856 _ACEOF
49857 cat confdefs.h >>conftest.$ac_ext
49858 cat >>conftest.$ac_ext <<_ACEOF
49859 /* end confdefs.h. */
49860
49861 int
49862 main ()
49863 {
49864
49865 #if !defined(__INTEL_COMPILER) || \
49866 (__INTEL_COMPILER < 800)
49867 There is no PCH support
49868 #endif
49869
49870 ;
49871 return 0;
49872 }
49873 _ACEOF
49874 rm -f conftest.$ac_objext
49875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49876 (eval $ac_compile) 2>conftest.er1
49877 ac_status=$?
49878 grep -v '^ *+' conftest.er1 >conftest.err
49879 rm -f conftest.er1
49880 cat conftest.err >&5
49881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49882 (exit $ac_status); } &&
49883 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
49884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49885 (eval $ac_try) 2>&5
49886 ac_status=$?
49887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49888 (exit $ac_status); }; } &&
49889 { ac_try='test -s conftest.$ac_objext'
49890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49891 (eval $ac_try) 2>&5
49892 ac_status=$?
49893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49894 (exit $ac_status); }; }; then
49895
49896 echo "$as_me:$LINENO: result: yes" >&5
49897 echo "${ECHO_T}yes" >&6
49898 ICC_PCH=1
49899
49900 else
49901 echo "$as_me: failed program was:" >&5
49902 sed 's/^/| /' conftest.$ac_ext >&5
49903
49904
49905 echo "$as_me:$LINENO: result: no" >&5
49906 echo "${ECHO_T}no" >&6
49907
49908 fi
49909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49910
49911 fi
49912 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49913 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49914 USE_PCH=1
49915
49916 D='$'
49917 cat <<EOF >bk-make-pch
49918 #!/bin/sh
49919
49920 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
49921 # script. It is used to generated precompiled headers.
49922 #
49923 # Permission is given to use this file in any way.
49924
49925 outfile="${D}{1}"
49926 header="${D}{2}"
49927 shift
49928 shift
49929
49930 compiler=""
49931 headerfile=""
49932
49933 while test ${D}{#} -gt 0; do
49934 add_to_cmdline=1
49935 case "${D}{1}" in
49936 -I* )
49937 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49938 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49939 headerfile="${D}{incdir}/${D}{header}"
49940 fi
49941 ;;
49942 -use-pch|-use_pch )
49943 shift
49944 add_to_cmdline=0
49945 ;;
49946 esac
49947 if test ${D}add_to_cmdline = 1 ; then
49948 compiler="${D}{compiler} ${D}{1}"
49949 fi
49950 shift
49951 done
49952
49953 if test "x${D}{headerfile}" = "x" ; then
49954 echo "error: can't find header ${D}{header} in include paths" >&2
49955 else
49956 if test -f ${D}{outfile} ; then
49957 rm -f ${D}{outfile}
49958 else
49959 mkdir -p \`dirname ${D}{outfile}\`
49960 fi
49961 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49962 mkdir -p .deps
49963 if test "x${GCC_PCH}" = "x1" ; then
49964 # can do this because gcc is >= 3.4:
49965 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49966 elif test "x${ICC_PCH}" = "x1" ; then
49967 filename=pch_gen-${D}${D}
49968 file=${D}{filename}.c
49969 dfile=${D}{filename}.d
49970 cat > ${D}file <<EOT
49971 #include "${D}header"
49972 EOT
49973 # using -MF icc complains about differing command lines in creation/use
49974 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49975 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49976 rm -f ${D}file ${D}dfile ${D}{filename}.o
49977 fi
49978 exit ${D}{?}
49979 fi
49980 EOF
49981
49982 chmod +x bk-make-pch
49983 BK_MAKE_PCH="`pwd`/bk-make-pch"
49984 fi
49985 fi
49986 fi
49987
49988
49989
49990
49991
49992 COND_BUILD_DEBUG="#"
49993 if test "x$BUILD" = "xdebug" ; then
49994 COND_BUILD_DEBUG=""
49995 fi
49996
49997 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49998 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49999 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
50000 fi
50001
50002 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
50003 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
50004 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
50005 fi
50006
50007 COND_BUILD_DEBUG_UNICODE_0="#"
50008 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
50009 COND_BUILD_DEBUG_UNICODE_0=""
50010 fi
50011
50012 COND_BUILD_DEBUG_UNICODE_1="#"
50013 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
50014 COND_BUILD_DEBUG_UNICODE_1=""
50015 fi
50016
50017 COND_BUILD_RELEASE="#"
50018 if test "x$BUILD" = "xrelease" ; then
50019 COND_BUILD_RELEASE=""
50020 fi
50021
50022 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
50023 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
50024 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
50025 fi
50026
50027 COND_BUILD_RELEASE_UNICODE_0="#"
50028 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
50029 COND_BUILD_RELEASE_UNICODE_0=""
50030 fi
50031
50032 COND_BUILD_RELEASE_UNICODE_1="#"
50033 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
50034 COND_BUILD_RELEASE_UNICODE_1=""
50035 fi
50036
50037 COND_DEBUG_FLAG_1="#"
50038 if test "x$DEBUG_FLAG" = "x1" ; then
50039 COND_DEBUG_FLAG_1=""
50040 fi
50041
50042 COND_DEBUG_INFO_0="#"
50043 if test "x$DEBUG_INFO" = "x0" ; then
50044 COND_DEBUG_INFO_0=""
50045 fi
50046
50047 COND_DEBUG_INFO_1="#"
50048 if test "x$DEBUG_INFO" = "x1" ; then
50049 COND_DEBUG_INFO_1=""
50050 fi
50051
50052 COND_DEPS_TRACKING_0="#"
50053 if test "x$DEPS_TRACKING" = "x0" ; then
50054 COND_DEPS_TRACKING_0=""
50055 fi
50056
50057 COND_DEPS_TRACKING_1="#"
50058 if test "x$DEPS_TRACKING" = "x1" ; then
50059 COND_DEPS_TRACKING_1=""
50060 fi
50061
50062 COND_GCC_PCH_1="#"
50063 if test "x$GCC_PCH" = "x1" ; then
50064 COND_GCC_PCH_1=""
50065 fi
50066
50067 COND_ICC_PCH_1="#"
50068 if test "x$ICC_PCH" = "x1" ; then
50069 COND_ICC_PCH_1=""
50070 fi
50071
50072 COND_MONOLITHIC_0="#"
50073 if test "x$MONOLITHIC" = "x0" ; then
50074 COND_MONOLITHIC_0=""
50075 fi
50076
50077 COND_MONOLITHIC_0_SHARED_0="#"
50078 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
50079 COND_MONOLITHIC_0_SHARED_0=""
50080 fi
50081
50082 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
50083 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
50084 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
50085 fi
50086
50087 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
50088 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
50089 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
50090 fi
50091
50092 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
50093 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50094 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
50095 fi
50096
50097 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
50098 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50099 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
50100 fi
50101
50102 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
50103 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
50104 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
50105 fi
50106
50107 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
50108 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50109 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
50110 fi
50111
50112 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
50113 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
50114 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
50115 fi
50116
50117 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
50118 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
50119 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
50120 fi
50121
50122 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
50123 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50124 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
50125 fi
50126
50127 COND_MONOLITHIC_0_SHARED_1="#"
50128 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
50129 COND_MONOLITHIC_0_SHARED_1=""
50130 fi
50131
50132 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
50133 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
50134 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
50135 fi
50136
50137 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
50138 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
50139 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
50140 fi
50141
50142 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
50143 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
50144 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
50145 fi
50146
50147 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
50148 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
50149 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
50150 fi
50151
50152 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
50153 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
50154 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
50155 fi
50156
50157 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
50158 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
50159 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
50160 fi
50161
50162 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
50163 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
50164 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
50165 fi
50166
50167 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
50168 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
50169 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
50170 fi
50171
50172 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
50173 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50174 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
50175 fi
50176
50177 COND_MONOLITHIC_0_USE_MEDIA_1="#"
50178 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
50179 COND_MONOLITHIC_0_USE_MEDIA_1=""
50180 fi
50181
50182 COND_MONOLITHIC_0_USE_ODBC_1="#"
50183 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
50184 COND_MONOLITHIC_0_USE_ODBC_1=""
50185 fi
50186
50187 COND_MONOLITHIC_1="#"
50188 if test "x$MONOLITHIC" = "x1" ; then
50189 COND_MONOLITHIC_1=""
50190 fi
50191
50192 COND_MONOLITHIC_1_SHARED_0="#"
50193 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
50194 COND_MONOLITHIC_1_SHARED_0=""
50195 fi
50196
50197 COND_MONOLITHIC_1_SHARED_1="#"
50198 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
50199 COND_MONOLITHIC_1_SHARED_1=""
50200 fi
50201
50202 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
50203 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
50204 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
50205 fi
50206
50207 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
50208 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
50209 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
50210 fi
50211
50212 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
50213 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50214 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
50215 fi
50216
50217 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
50218 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
50219 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
50220 fi
50221
50222 COND_PLATFORM_MACOSX_1="#"
50223 if test "x$PLATFORM_MACOSX" = "x1" ; then
50224 COND_PLATFORM_MACOSX_1=""
50225 fi
50226
50227 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
50228 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
50229 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
50230 fi
50231
50232 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
50233 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
50234 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
50235 fi
50236
50237 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
50238 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
50239 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
50240 fi
50241
50242 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
50243 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
50244 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
50245 fi
50246
50247 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
50248 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50249 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
50250 fi
50251
50252 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
50253 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
50254 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
50255 fi
50256
50257 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
50258 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
50259 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
50260 fi
50261
50262 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
50263 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
50264 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
50265 fi
50266
50267 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
50268 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50269 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
50270 fi
50271
50272 COND_PLATFORM_MACOS_1="#"
50273 if test "x$PLATFORM_MACOS" = "x1" ; then
50274 COND_PLATFORM_MACOS_1=""
50275 fi
50276
50277 COND_PLATFORM_MAC_1="#"
50278 if test "x$PLATFORM_MAC" = "x1" ; then
50279 COND_PLATFORM_MAC_1=""
50280 fi
50281
50282 COND_PLATFORM_MSDOS_0="#"
50283 if test "x$PLATFORM_MSDOS" = "x0" ; then
50284 COND_PLATFORM_MSDOS_0=""
50285 fi
50286
50287 COND_PLATFORM_MSDOS_1="#"
50288 if test "x$PLATFORM_MSDOS" = "x1" ; then
50289 COND_PLATFORM_MSDOS_1=""
50290 fi
50291
50292 COND_PLATFORM_OS2_1="#"
50293 if test "x$PLATFORM_OS2" = "x1" ; then
50294 COND_PLATFORM_OS2_1=""
50295 fi
50296
50297 COND_PLATFORM_UNIX_0="#"
50298 if test "x$PLATFORM_UNIX" = "x0" ; then
50299 COND_PLATFORM_UNIX_0=""
50300 fi
50301
50302 COND_PLATFORM_UNIX_1="#"
50303 if test "x$PLATFORM_UNIX" = "x1" ; then
50304 COND_PLATFORM_UNIX_1=""
50305 fi
50306
50307 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
50308 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
50309 COND_PLATFORM_UNIX_1_USE_GUI_1=""
50310 fi
50311
50312 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
50313 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
50314 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
50315 fi
50316
50317 COND_PLATFORM_WIN32_0="#"
50318 if test "x$PLATFORM_WIN32" = "x0" ; then
50319 COND_PLATFORM_WIN32_0=""
50320 fi
50321
50322 COND_PLATFORM_WIN32_1="#"
50323 if test "x$PLATFORM_WIN32" = "x1" ; then
50324 COND_PLATFORM_WIN32_1=""
50325 fi
50326
50327 COND_SHARED_0="#"
50328 if test "x$SHARED" = "x0" ; then
50329 COND_SHARED_0=""
50330 fi
50331
50332 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
50333 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
50334 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
50335 fi
50336
50337 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
50338 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50339 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
50340 fi
50341
50342 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
50343 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
50344 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
50345 fi
50346
50347 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
50348 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50349 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
50350 fi
50351
50352 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50353 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50354 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50355 fi
50356
50357 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50358 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50359 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50360 fi
50361
50362 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50363 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50364 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50365 fi
50366
50367 COND_SHARED_0_USE_XRC_1="#"
50368 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
50369 COND_SHARED_0_USE_XRC_1=""
50370 fi
50371
50372 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
50373 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
50374 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
50375 fi
50376
50377 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
50378 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
50379 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
50380 fi
50381
50382 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
50383 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
50384 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
50385 fi
50386
50387 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
50388 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
50389 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
50390 fi
50391
50392 COND_SHARED_1="#"
50393 if test "x$SHARED" = "x1" ; then
50394 COND_SHARED_1=""
50395 fi
50396
50397 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
50398 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50399 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
50400 fi
50401
50402 COND_SHARED_1_USE_XRC_1="#"
50403 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
50404 COND_SHARED_1_USE_XRC_1=""
50405 fi
50406
50407 COND_TOOLKIT_="#"
50408 if test "x$TOOLKIT" = "x" ; then
50409 COND_TOOLKIT_=""
50410 fi
50411
50412 COND_TOOLKIT_COCOA="#"
50413 if test "x$TOOLKIT" = "xCOCOA" ; then
50414 COND_TOOLKIT_COCOA=""
50415 fi
50416
50417 COND_TOOLKIT_COCOA_USE_GUI_1="#"
50418 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
50419 COND_TOOLKIT_COCOA_USE_GUI_1=""
50420 fi
50421
50422 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
50423 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50424 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
50425 fi
50426
50427 COND_TOOLKIT_DFB="#"
50428 if test "x$TOOLKIT" = "xDFB" ; then
50429 COND_TOOLKIT_DFB=""
50430 fi
50431
50432 COND_TOOLKIT_DFB_USE_GUI_1="#"
50433 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
50434 COND_TOOLKIT_DFB_USE_GUI_1=""
50435 fi
50436
50437 COND_TOOLKIT_GTK="#"
50438 if test "x$TOOLKIT" = "xGTK" ; then
50439 COND_TOOLKIT_GTK=""
50440 fi
50441
50442 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
50443 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
50444 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
50445 fi
50446
50447 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
50448 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
50449 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
50450 fi
50451
50452 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
50453 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
50454 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
50455 fi
50456
50457 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
50458 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50459 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
50460 fi
50461
50462 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
50463 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
50464 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
50465 fi
50466
50467 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
50468 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50469 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
50470 fi
50471
50472 COND_TOOLKIT_GTK_USE_GUI_1="#"
50473 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
50474 COND_TOOLKIT_GTK_USE_GUI_1=""
50475 fi
50476
50477 COND_TOOLKIT_MAC="#"
50478 if test "x$TOOLKIT" = "xMAC" ; then
50479 COND_TOOLKIT_MAC=""
50480 fi
50481
50482 COND_TOOLKIT_MAC_USE_GUI_1="#"
50483 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
50484 COND_TOOLKIT_MAC_USE_GUI_1=""
50485 fi
50486
50487 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
50488 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50489 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
50490 fi
50491
50492 COND_TOOLKIT_MGL="#"
50493 if test "x$TOOLKIT" = "xMGL" ; then
50494 COND_TOOLKIT_MGL=""
50495 fi
50496
50497 COND_TOOLKIT_MGL_USE_GUI_1="#"
50498 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
50499 COND_TOOLKIT_MGL_USE_GUI_1=""
50500 fi
50501
50502 COND_TOOLKIT_MOTIF="#"
50503 if test "x$TOOLKIT" = "xMOTIF" ; then
50504 COND_TOOLKIT_MOTIF=""
50505 fi
50506
50507 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
50508 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
50509 COND_TOOLKIT_MOTIF_USE_GUI_1=""
50510 fi
50511
50512 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
50513 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50514 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
50515 fi
50516
50517 COND_TOOLKIT_MSW="#"
50518 if test "x$TOOLKIT" = "xMSW" ; then
50519 COND_TOOLKIT_MSW=""
50520 fi
50521
50522 COND_TOOLKIT_MSW_USE_GUI_1="#"
50523 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
50524 COND_TOOLKIT_MSW_USE_GUI_1=""
50525 fi
50526
50527 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50528 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50529 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50530 fi
50531
50532 COND_TOOLKIT_MSW_WXUNIV_0="#"
50533 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50534 COND_TOOLKIT_MSW_WXUNIV_0=""
50535 fi
50536
50537 COND_TOOLKIT_PM="#"
50538 if test "x$TOOLKIT" = "xPM" ; then
50539 COND_TOOLKIT_PM=""
50540 fi
50541
50542 COND_TOOLKIT_PM_USE_GUI_1="#"
50543 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50544 COND_TOOLKIT_PM_USE_GUI_1=""
50545 fi
50546
50547 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50548 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50549 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50550 fi
50551
50552 COND_TOOLKIT_WINCE="#"
50553 if test "x$TOOLKIT" = "xWINCE" ; then
50554 COND_TOOLKIT_WINCE=""
50555 fi
50556
50557 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50558 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50559 COND_TOOLKIT_WINCE_USE_GUI_1=""
50560 fi
50561
50562 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50563 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50564 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50565 fi
50566
50567 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50568 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50569 COND_TOOLKIT_WINCE_WXUNIV_0=""
50570 fi
50571
50572 COND_TOOLKIT_X11="#"
50573 if test "x$TOOLKIT" = "xX11" ; then
50574 COND_TOOLKIT_X11=""
50575 fi
50576
50577 COND_TOOLKIT_X11_USE_GUI_1="#"
50578 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50579 COND_TOOLKIT_X11_USE_GUI_1=""
50580 fi
50581
50582 COND_UNICODE_1="#"
50583 if test "x$UNICODE" = "x1" ; then
50584 COND_UNICODE_1=""
50585 fi
50586
50587 COND_USE_EXCEPTIONS_0="#"
50588 if test "x$USE_EXCEPTIONS" = "x0" ; then
50589 COND_USE_EXCEPTIONS_0=""
50590 fi
50591
50592 COND_USE_EXCEPTIONS_1="#"
50593 if test "x$USE_EXCEPTIONS" = "x1" ; then
50594 COND_USE_EXCEPTIONS_1=""
50595 fi
50596
50597 COND_USE_GUI_0="#"
50598 if test "x$USE_GUI" = "x0" ; then
50599 COND_USE_GUI_0=""
50600 fi
50601
50602 COND_USE_GUI_1="#"
50603 if test "x$USE_GUI" = "x1" ; then
50604 COND_USE_GUI_1=""
50605 fi
50606
50607 COND_USE_GUI_1_WXUNIV_0="#"
50608 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50609 COND_USE_GUI_1_WXUNIV_0=""
50610 fi
50611
50612 COND_USE_GUI_1_WXUNIV_1="#"
50613 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50614 COND_USE_GUI_1_WXUNIV_1=""
50615 fi
50616
50617 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50618 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50619 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50620 fi
50621
50622 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50623 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50624 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50625 fi
50626
50627 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50628 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50629 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50630 fi
50631
50632 COND_USE_ODBC_1="#"
50633 if test "x$USE_ODBC" = "x1" ; then
50634 COND_USE_ODBC_1=""
50635 fi
50636
50637 COND_USE_OPENGL_1="#"
50638 if test "x$USE_OPENGL" = "x1" ; then
50639 COND_USE_OPENGL_1=""
50640 fi
50641
50642 COND_USE_PCH_1="#"
50643 if test "x$USE_PCH" = "x1" ; then
50644 COND_USE_PCH_1=""
50645 fi
50646
50647 COND_USE_PLUGINS_0="#"
50648 if test "x$USE_PLUGINS" = "x0" ; then
50649 COND_USE_PLUGINS_0=""
50650 fi
50651
50652 COND_USE_RTTI_0="#"
50653 if test "x$USE_RTTI" = "x0" ; then
50654 COND_USE_RTTI_0=""
50655 fi
50656
50657 COND_USE_RTTI_1="#"
50658 if test "x$USE_RTTI" = "x1" ; then
50659 COND_USE_RTTI_1=""
50660 fi
50661
50662 COND_USE_SOSYMLINKS_1="#"
50663 if test "x$USE_SOSYMLINKS" = "x1" ; then
50664 COND_USE_SOSYMLINKS_1=""
50665 fi
50666
50667 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50668 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50669 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50670 fi
50671
50672 COND_USE_SOVERLINUX_1="#"
50673 if test "x$USE_SOVERLINUX" = "x1" ; then
50674 COND_USE_SOVERLINUX_1=""
50675 fi
50676
50677 COND_USE_SOVERSION_0="#"
50678 if test "x$USE_SOVERSION" = "x0" ; then
50679 COND_USE_SOVERSION_0=""
50680 fi
50681
50682 COND_USE_SOVERSOLARIS_1="#"
50683 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50684 COND_USE_SOVERSOLARIS_1=""
50685 fi
50686
50687 COND_USE_THREADS_0="#"
50688 if test "x$USE_THREADS" = "x0" ; then
50689 COND_USE_THREADS_0=""
50690 fi
50691
50692 COND_USE_THREADS_1="#"
50693 if test "x$USE_THREADS" = "x1" ; then
50694 COND_USE_THREADS_1=""
50695 fi
50696
50697 COND_USE_XRC_1="#"
50698 if test "x$USE_XRC" = "x1" ; then
50699 COND_USE_XRC_1=""
50700 fi
50701
50702 COND_WINDOWS_IMPLIB_1="#"
50703 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50704 COND_WINDOWS_IMPLIB_1=""
50705 fi
50706
50707 COND_WITH_PLUGIN_SDL_1="#"
50708 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50709 COND_WITH_PLUGIN_SDL_1=""
50710 fi
50711
50712 COND_WXUNIV_0="#"
50713 if test "x$WXUNIV" = "x0" ; then
50714 COND_WXUNIV_0=""
50715 fi
50716
50717 COND_WXUNIV_1="#"
50718 if test "x$WXUNIV" = "x1" ; then
50719 COND_WXUNIV_1=""
50720 fi
50721
50722 COND_WXUSE_EXPAT_BUILTIN="#"
50723 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50724 COND_WXUSE_EXPAT_BUILTIN=""
50725 fi
50726
50727 COND_WXUSE_LIBJPEG_BUILTIN="#"
50728 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50729 COND_WXUSE_LIBJPEG_BUILTIN=""
50730 fi
50731
50732 COND_WXUSE_LIBPNG_BUILTIN="#"
50733 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50734 COND_WXUSE_LIBPNG_BUILTIN=""
50735 fi
50736
50737 COND_WXUSE_LIBTIFF_BUILTIN="#"
50738 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50739 COND_WXUSE_LIBTIFF_BUILTIN=""
50740 fi
50741
50742 COND_WXUSE_ODBC_BUILTIN="#"
50743 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
50744 COND_WXUSE_ODBC_BUILTIN=""
50745 fi
50746
50747 COND_WXUSE_REGEX_BUILTIN="#"
50748 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50749 COND_WXUSE_REGEX_BUILTIN=""
50750 fi
50751
50752 COND_WXUSE_ZLIB_BUILTIN="#"
50753 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50754 COND_WXUSE_ZLIB_BUILTIN=""
50755 fi
50756
50757
50758
50759 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50760 { { 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
50761 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;}
50762 { (exit 1); exit 1; }; }
50763 fi
50764
50765 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50766 { { 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
50767 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;}
50768 { (exit 1); exit 1; }; }
50769 fi
50770
50771
50772 if test $GCC_PCH = 1
50773 then
50774 if test "$wx_cv_gcc_pch_bug" = yes; then
50775 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50776 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50777 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50778 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50779 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50780 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50781 fi
50782
50783 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
50784 fi
50785
50786
50787 if test "$wxUSE_MAC" = 1 ; then
50788 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50789 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50790 mv temp bk-deps
50791 chmod +x bk-deps
50792 fi
50793 fi
50794
50795 if test "$wxUSE_SHARED" = "yes"; then
50796
50797 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
50798 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
50799
50800 case "${host}" in
50801 *-pc-os2_emx | *-pc-os2-emx )
50802 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50803 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50804 cp -p ${srcdir}/src/os2/dllnames.sh .
50805 cp -p ${srcdir}/src/os2/dllar.sh .
50806 ;;
50807 esac
50808 else
50809
50810 EXE_LINKER="$CXX -o"
50811
50812 fi
50813 if test "$wxUSE_OMF" = "yes"; then
50814 case "${host}" in
50815 *-pc-os2_emx | *-pc-os2-emx )
50816 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50817 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50818 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50819 ;;
50820 esac
50821 fi
50822
50823 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50824
50825 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50826
50827
50828
50829
50830
50831
50832
50833
50834
50835
50836
50837
50838
50839
50840
50841
50842
50843
50844
50845
50846
50847
50848
50849
50850
50851
50852
50853
50854
50855
50856
50857
50858
50859
50860
50861
50862
50863
50864
50865
50866
50867
50868
50869
50870
50871
50872
50873
50874
50875
50876
50877
50878
50879
50880
50881
50882
50883
50884
50885
50886
50887 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50888 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
50889 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
50890 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
50891 echo $ECHO_N "(cached) $ECHO_C" >&6
50892 else
50893 cat >conftest.make <<\_ACEOF
50894 all:
50895 @echo 'ac_maketemp="$(MAKE)"'
50896 _ACEOF
50897 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50898 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
50899 if test -n "$ac_maketemp"; then
50900 eval ac_cv_prog_make_${ac_make}_set=yes
50901 else
50902 eval ac_cv_prog_make_${ac_make}_set=no
50903 fi
50904 rm -f conftest.make
50905 fi
50906 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
50907 echo "$as_me:$LINENO: result: yes" >&5
50908 echo "${ECHO_T}yes" >&6
50909 SET_MAKE=
50910 else
50911 echo "$as_me:$LINENO: result: no" >&5
50912 echo "${ECHO_T}no" >&6
50913 SET_MAKE="MAKE=${MAKE-make}"
50914 fi
50915
50916
50917
50918 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50919
50920
50921 if test "$USE_WIN32" = 1; then
50922 ac_config_commands="$ac_config_commands
50923 rcdefs.h
50924 "
50925
50926 fi
50927
50928 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50929
50930
50931 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50932
50933
50934 ac_config_files="$ac_config_files version-script Makefile"
50935
50936
50937 ac_config_commands="$ac_config_commands wx-config"
50938
50939
50940
50941 if test "$wxWITH_SUBDIRS" != "no"; then
50942 if test "$wxUSE_GUI" = "yes"; then
50943 SUBDIRS="samples demos utils contrib"
50944 else SUBDIRS="samples utils"
50945 fi
50946
50947
50948
50949 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
50950 if test "${with_cppunit_prefix+set}" = set; then
50951 withval="$with_cppunit_prefix"
50952 cppunit_config_prefix="$withval"
50953 else
50954 cppunit_config_prefix=""
50955 fi;
50956
50957 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
50958 if test "${with_cppunit_exec_prefix+set}" = set; then
50959 withval="$with_cppunit_exec_prefix"
50960 cppunit_config_exec_prefix="$withval"
50961 else
50962 cppunit_config_exec_prefix=""
50963 fi;
50964
50965 if test x$cppunit_config_exec_prefix != x ; then
50966 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50967 if test x${CPPUNIT_CONFIG+set} != xset ; then
50968 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50969 fi
50970 fi
50971 if test x$cppunit_config_prefix != x ; then
50972 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50973 if test x${CPPUNIT_CONFIG+set} != xset ; then
50974 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50975 fi
50976 fi
50977
50978 # Extract the first word of "cppunit-config", so it can be a program name with args.
50979 set dummy cppunit-config; ac_word=$2
50980 echo "$as_me:$LINENO: checking for $ac_word" >&5
50981 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
50982 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50983 echo $ECHO_N "(cached) $ECHO_C" >&6
50984 else
50985 case $CPPUNIT_CONFIG in
50986 [\\/]* | ?:[\\/]*)
50987 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50988 ;;
50989 *)
50990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50991 for as_dir in $PATH
50992 do
50993 IFS=$as_save_IFS
50994 test -z "$as_dir" && as_dir=.
50995 for ac_exec_ext in '' $ac_executable_extensions; do
50996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
50997 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50999 break 2
51000 fi
51001 done
51002 done
51003
51004 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
51005 ;;
51006 esac
51007 fi
51008 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
51009
51010 if test -n "$CPPUNIT_CONFIG"; then
51011 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
51012 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
51013 else
51014 echo "$as_me:$LINENO: result: no" >&5
51015 echo "${ECHO_T}no" >&6
51016 fi
51017
51018 cppunit_version_min=1.8.0
51019
51020 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
51021 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
51022 no_cppunit=""
51023 if test "$CPPUNIT_CONFIG" = "no" ; then
51024 echo "$as_me:$LINENO: result: no" >&5
51025 echo "${ECHO_T}no" >&6
51026 no_cppunit=yes
51027 else
51028 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
51029 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
51030 cppunit_version=`$CPPUNIT_CONFIG --version`
51031
51032 cppunit_major_version=`echo $cppunit_version | \
51033 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51034 cppunit_minor_version=`echo $cppunit_version | \
51035 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51036 cppunit_micro_version=`echo $cppunit_version | \
51037 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51038
51039 cppunit_major_min=`echo $cppunit_version_min | \
51040 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
51041 cppunit_minor_min=`echo $cppunit_version_min | \
51042 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
51043 cppunit_micro_min=`echo $cppunit_version_min | \
51044 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
51045
51046 cppunit_version_proper=`expr \
51047 $cppunit_major_version \> $cppunit_major_min \| \
51048 $cppunit_major_version \= $cppunit_major_min \& \
51049 $cppunit_minor_version \> $cppunit_minor_min \| \
51050 $cppunit_major_version \= $cppunit_major_min \& \
51051 $cppunit_minor_version \= $cppunit_minor_min \& \
51052 $cppunit_micro_version \>= $cppunit_micro_min `
51053
51054 if test "$cppunit_version_proper" = "1" ; then
51055 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
51056 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
51057 else
51058 echo "$as_me:$LINENO: result: no" >&5
51059 echo "${ECHO_T}no" >&6
51060 no_cppunit=yes
51061 fi
51062 fi
51063
51064 if test "x$no_cppunit" = x ; then
51065 SUBDIRS="$SUBDIRS tests"
51066 else
51067 CPPUNIT_CFLAGS=""
51068 CPPUNIT_LIBS=""
51069 :
51070 fi
51071
51072
51073
51074
51075
51076 for subdir in `echo $SUBDIRS`; do
51077 if test -d ${srcdir}/${subdir} ; then
51078 if test "$wxUSE_GUI" = "yes"; then
51079 if test ${subdir} = "samples"; then
51080 makefiles="samples/Makefile.in $makefiles"
51081 for sample in `echo $SAMPLES_SUBDIRS`; do
51082 if test -d $srcdir/samples/$sample; then
51083 makefiles="samples/$sample/Makefile.in $makefiles"
51084 fi
51085 done
51086 else
51087 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
51088 eval "disabled=\$$disabled_var"
51089 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
51090 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
51091 fi
51092 else if test ${subdir} = "samples"; then
51093 makefiles="samples/Makefile.in samples/console/Makefile.in"
51094 elif test ${subdir} = "utils"; then
51095 makefiles=""
51096 for util in HelpGen tex2rtf ; do
51097 if test -d $srcdir/utils/$util ; then
51098 makefiles="utils/$util/Makefile.in \
51099 utils/$util/src/Makefile.in \
51100 $makefiles"
51101 fi
51102 done
51103 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
51104 fi
51105 fi
51106
51107 for mkin in $makefiles ; do
51108 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
51109 ac_config_files="$ac_config_files $mk"
51110
51111 done
51112 fi
51113 done
51114 fi
51115 cat >confcache <<\_ACEOF
51116 # This file is a shell script that caches the results of configure
51117 # tests run on this system so they can be shared between configure
51118 # scripts and configure runs, see configure's option --config-cache.
51119 # It is not useful on other systems. If it contains results you don't
51120 # want to keep, you may remove or edit it.
51121 #
51122 # config.status only pays attention to the cache file if you give it
51123 # the --recheck option to rerun configure.
51124 #
51125 # `ac_cv_env_foo' variables (set or unset) will be overridden when
51126 # loading this file, other *unset* `ac_cv_foo' will be assigned the
51127 # following values.
51128
51129 _ACEOF
51130
51131 # The following way of writing the cache mishandles newlines in values,
51132 # but we know of no workaround that is simple, portable, and efficient.
51133 # So, don't put newlines in cache variables' values.
51134 # Ultrix sh set writes to stderr and can't be redirected directly,
51135 # and sets the high bit in the cache file unless we assign to the vars.
51136 {
51137 (set) 2>&1 |
51138 case `(ac_space=' '; set | grep ac_space) 2>&1` in
51139 *ac_space=\ *)
51140 # `set' does not quote correctly, so add quotes (double-quote
51141 # substitution turns \\\\ into \\, and sed turns \\ into \).
51142 sed -n \
51143 "s/'/'\\\\''/g;
51144 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
51145 ;;
51146 *)
51147 # `set' quotes correctly as required by POSIX, so do not add quotes.
51148 sed -n \
51149 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
51150 ;;
51151 esac;
51152 } |
51153 sed '
51154 t clear
51155 : clear
51156 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
51157 t end
51158 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
51159 : end' >>confcache
51160 if diff $cache_file confcache >/dev/null 2>&1; then :; else
51161 if test -w $cache_file; then
51162 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
51163 cat confcache >$cache_file
51164 else
51165 echo "not updating unwritable cache $cache_file"
51166 fi
51167 fi
51168 rm -f confcache
51169
51170 test "x$prefix" = xNONE && prefix=$ac_default_prefix
51171 # Let make expand exec_prefix.
51172 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
51173
51174 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51175 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51176 # trailing colons and then remove the whole line if VPATH becomes empty
51177 # (actually we leave an empty line to preserve line numbers).
51178 if test "x$srcdir" = x.; then
51179 ac_vpsub='/^[ ]*VPATH[ ]*=/{
51180 s/:*\$(srcdir):*/:/;
51181 s/:*\${srcdir}:*/:/;
51182 s/:*@srcdir@:*/:/;
51183 s/^\([^=]*=[ ]*\):*/\1/;
51184 s/:*$//;
51185 s/^[^=]*=[ ]*$//;
51186 }'
51187 fi
51188
51189 DEFS=-DHAVE_CONFIG_H
51190
51191 ac_libobjs=
51192 ac_ltlibobjs=
51193 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
51194 # 1. Remove the extension, and $U if already installed.
51195 ac_i=`echo "$ac_i" |
51196 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
51197 # 2. Add them.
51198 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
51199 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
51200 done
51201 LIBOBJS=$ac_libobjs
51202
51203 LTLIBOBJS=$ac_ltlibobjs
51204
51205
51206
51207 : ${CONFIG_STATUS=./config.status}
51208 ac_clean_files_save=$ac_clean_files
51209 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
51210 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
51211 echo "$as_me: creating $CONFIG_STATUS" >&6;}
51212 cat >$CONFIG_STATUS <<_ACEOF
51213 #! $SHELL
51214 # Generated by $as_me.
51215 # Run this file to recreate the current configuration.
51216 # Compiler output produced by configure, useful for debugging
51217 # configure, is in config.log if it exists.
51218
51219 debug=false
51220 ac_cs_recheck=false
51221 ac_cs_silent=false
51222 SHELL=\${CONFIG_SHELL-$SHELL}
51223 _ACEOF
51224
51225 cat >>$CONFIG_STATUS <<\_ACEOF
51226 ## --------------------- ##
51227 ## M4sh Initialization. ##
51228 ## --------------------- ##
51229
51230 # Be Bourne compatible
51231 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
51232 emulate sh
51233 NULLCMD=:
51234 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
51235 # is contrary to our usage. Disable this feature.
51236 alias -g '${1+"$@"}'='"$@"'
51237 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
51238 set -o posix
51239 fi
51240 DUALCASE=1; export DUALCASE # for MKS sh
51241
51242 # Support unset when possible.
51243 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
51244 as_unset=unset
51245 else
51246 as_unset=false
51247 fi
51248
51249
51250 # Work around bugs in pre-3.0 UWIN ksh.
51251 $as_unset ENV MAIL MAILPATH
51252 PS1='$ '
51253 PS2='> '
51254 PS4='+ '
51255
51256 # NLS nuisances.
51257 for as_var in \
51258 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
51259 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
51260 LC_TELEPHONE LC_TIME
51261 do
51262 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
51263 eval $as_var=C; export $as_var
51264 else
51265 $as_unset $as_var
51266 fi
51267 done
51268
51269 # Required to use basename.
51270 if expr a : '\(a\)' >/dev/null 2>&1; then
51271 as_expr=expr
51272 else
51273 as_expr=false
51274 fi
51275
51276 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
51277 as_basename=basename
51278 else
51279 as_basename=false
51280 fi
51281
51282
51283 # Name of the executable.
51284 as_me=`$as_basename "$0" ||
51285 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
51286 X"$0" : 'X\(//\)$' \| \
51287 X"$0" : 'X\(/\)$' \| \
51288 . : '\(.\)' 2>/dev/null ||
51289 echo X/"$0" |
51290 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
51291 /^X\/\(\/\/\)$/{ s//\1/; q; }
51292 /^X\/\(\/\).*/{ s//\1/; q; }
51293 s/.*/./; q'`
51294
51295
51296 # PATH needs CR, and LINENO needs CR and PATH.
51297 # Avoid depending upon Character Ranges.
51298 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
51299 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
51300 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
51301 as_cr_digits='0123456789'
51302 as_cr_alnum=$as_cr_Letters$as_cr_digits
51303
51304 # The user is always right.
51305 if test "${PATH_SEPARATOR+set}" != set; then
51306 echo "#! /bin/sh" >conf$$.sh
51307 echo "exit 0" >>conf$$.sh
51308 chmod +x conf$$.sh
51309 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
51310 PATH_SEPARATOR=';'
51311 else
51312 PATH_SEPARATOR=:
51313 fi
51314 rm -f conf$$.sh
51315 fi
51316
51317
51318 as_lineno_1=$LINENO
51319 as_lineno_2=$LINENO
51320 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
51321 test "x$as_lineno_1" != "x$as_lineno_2" &&
51322 test "x$as_lineno_3" = "x$as_lineno_2" || {
51323 # Find who we are. Look in the path if we contain no path at all
51324 # relative or not.
51325 case $0 in
51326 *[\\/]* ) as_myself=$0 ;;
51327 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51328 for as_dir in $PATH
51329 do
51330 IFS=$as_save_IFS
51331 test -z "$as_dir" && as_dir=.
51332 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
51333 done
51334
51335 ;;
51336 esac
51337 # We did not find ourselves, most probably we were run as `sh COMMAND'
51338 # in which case we are not to be found in the path.
51339 if test "x$as_myself" = x; then
51340 as_myself=$0
51341 fi
51342 if test ! -f "$as_myself"; then
51343 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
51344 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
51345 { (exit 1); exit 1; }; }
51346 fi
51347 case $CONFIG_SHELL in
51348 '')
51349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
51350 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
51351 do
51352 IFS=$as_save_IFS
51353 test -z "$as_dir" && as_dir=.
51354 for as_base in sh bash ksh sh5; do
51355 case $as_dir in
51356 /*)
51357 if ("$as_dir/$as_base" -c '
51358 as_lineno_1=$LINENO
51359 as_lineno_2=$LINENO
51360 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
51361 test "x$as_lineno_1" != "x$as_lineno_2" &&
51362 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
51363 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
51364 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
51365 CONFIG_SHELL=$as_dir/$as_base
51366 export CONFIG_SHELL
51367 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
51368 fi;;
51369 esac
51370 done
51371 done
51372 ;;
51373 esac
51374
51375 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
51376 # uniformly replaced by the line number. The first 'sed' inserts a
51377 # line-number line before each line; the second 'sed' does the real
51378 # work. The second script uses 'N' to pair each line-number line
51379 # with the numbered line, and appends trailing '-' during
51380 # substitution so that $LINENO is not a special case at line end.
51381 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
51382 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
51383 sed '=' <$as_myself |
51384 sed '
51385 N
51386 s,$,-,
51387 : loop
51388 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
51389 t loop
51390 s,-$,,
51391 s,^['$as_cr_digits']*\n,,
51392 ' >$as_me.lineno &&
51393 chmod +x $as_me.lineno ||
51394 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
51395 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
51396 { (exit 1); exit 1; }; }
51397
51398 # Don't try to exec as it changes $[0], causing all sort of problems
51399 # (the dirname of $[0] is not the place where we might find the
51400 # original and so on. Autoconf is especially sensible to this).
51401 . ./$as_me.lineno
51402 # Exit status is that of the last command.
51403 exit
51404 }
51405
51406
51407 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
51408 *c*,-n*) ECHO_N= ECHO_C='
51409 ' ECHO_T=' ' ;;
51410 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
51411 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
51412 esac
51413
51414 if expr a : '\(a\)' >/dev/null 2>&1; then
51415 as_expr=expr
51416 else
51417 as_expr=false
51418 fi
51419
51420 rm -f conf$$ conf$$.exe conf$$.file
51421 echo >conf$$.file
51422 if ln -s conf$$.file conf$$ 2>/dev/null; then
51423 # We could just check for DJGPP; but this test a) works b) is more generic
51424 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
51425 if test -f conf$$.exe; then
51426 # Don't use ln at all; we don't have any links
51427 as_ln_s='cp -p'
51428 else
51429 as_ln_s='ln -s'
51430 fi
51431 elif ln conf$$.file conf$$ 2>/dev/null; then
51432 as_ln_s=ln
51433 else
51434 as_ln_s='cp -p'
51435 fi
51436 rm -f conf$$ conf$$.exe conf$$.file
51437
51438 if mkdir -p . 2>/dev/null; then
51439 as_mkdir_p=:
51440 else
51441 test -d ./-p && rmdir ./-p
51442 as_mkdir_p=false
51443 fi
51444
51445 as_executable_p="test -f"
51446
51447 # Sed expression to map a string onto a valid CPP name.
51448 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51449
51450 # Sed expression to map a string onto a valid variable name.
51451 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51452
51453
51454 # IFS
51455 # We need space, tab and new line, in precisely that order.
51456 as_nl='
51457 '
51458 IFS=" $as_nl"
51459
51460 # CDPATH.
51461 $as_unset CDPATH
51462
51463 exec 6>&1
51464
51465 # Open the log real soon, to keep \$[0] and so on meaningful, and to
51466 # report actual input values of CONFIG_FILES etc. instead of their
51467 # values after options handling. Logging --version etc. is OK.
51468 exec 5>>config.log
51469 {
51470 echo
51471 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51472 ## Running $as_me. ##
51473 _ASBOX
51474 } >&5
51475 cat >&5 <<_CSEOF
51476
51477 This file was extended by wxWidgets $as_me 2.7.1, which was
51478 generated by GNU Autoconf 2.59. Invocation command line was
51479
51480 CONFIG_FILES = $CONFIG_FILES
51481 CONFIG_HEADERS = $CONFIG_HEADERS
51482 CONFIG_LINKS = $CONFIG_LINKS
51483 CONFIG_COMMANDS = $CONFIG_COMMANDS
51484 $ $0 $@
51485
51486 _CSEOF
51487 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
51488 echo >&5
51489 _ACEOF
51490
51491 # Files that config.status was made for.
51492 if test -n "$ac_config_files"; then
51493 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
51494 fi
51495
51496 if test -n "$ac_config_headers"; then
51497 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
51498 fi
51499
51500 if test -n "$ac_config_links"; then
51501 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
51502 fi
51503
51504 if test -n "$ac_config_commands"; then
51505 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
51506 fi
51507
51508 cat >>$CONFIG_STATUS <<\_ACEOF
51509
51510 ac_cs_usage="\
51511 \`$as_me' instantiates files from templates according to the
51512 current configuration.
51513
51514 Usage: $0 [OPTIONS] [FILE]...
51515
51516 -h, --help print this help, then exit
51517 -V, --version print version number, then exit
51518 -q, --quiet do not print progress messages
51519 -d, --debug don't remove temporary files
51520 --recheck update $as_me by reconfiguring in the same conditions
51521 --file=FILE[:TEMPLATE]
51522 instantiate the configuration file FILE
51523 --header=FILE[:TEMPLATE]
51524 instantiate the configuration header FILE
51525
51526 Configuration files:
51527 $config_files
51528
51529 Configuration headers:
51530 $config_headers
51531
51532 Configuration commands:
51533 $config_commands
51534
51535 Report bugs to <bug-autoconf@gnu.org>."
51536 _ACEOF
51537
51538 cat >>$CONFIG_STATUS <<_ACEOF
51539 ac_cs_version="\\
51540 wxWidgets config.status 2.7.1
51541 configured by $0, generated by GNU Autoconf 2.59,
51542 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
51543
51544 Copyright (C) 2003 Free Software Foundation, Inc.
51545 This config.status script is free software; the Free Software Foundation
51546 gives unlimited permission to copy, distribute and modify it."
51547 srcdir=$srcdir
51548 INSTALL="$INSTALL"
51549 _ACEOF
51550
51551 cat >>$CONFIG_STATUS <<\_ACEOF
51552 # If no file are specified by the user, then we need to provide default
51553 # value. By we need to know if files were specified by the user.
51554 ac_need_defaults=:
51555 while test $# != 0
51556 do
51557 case $1 in
51558 --*=*)
51559 ac_option=`expr "x$1" : 'x\([^=]*\)='`
51560 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
51561 ac_shift=:
51562 ;;
51563 -*)
51564 ac_option=$1
51565 ac_optarg=$2
51566 ac_shift=shift
51567 ;;
51568 *) # This is not an option, so the user has probably given explicit
51569 # arguments.
51570 ac_option=$1
51571 ac_need_defaults=false;;
51572 esac
51573
51574 case $ac_option in
51575 # Handling of the options.
51576 _ACEOF
51577 cat >>$CONFIG_STATUS <<\_ACEOF
51578 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51579 ac_cs_recheck=: ;;
51580 --version | --vers* | -V )
51581 echo "$ac_cs_version"; exit 0 ;;
51582 --he | --h)
51583 # Conflict between --help and --header
51584 { { echo "$as_me:$LINENO: error: ambiguous option: $1
51585 Try \`$0 --help' for more information." >&5
51586 echo "$as_me: error: ambiguous option: $1
51587 Try \`$0 --help' for more information." >&2;}
51588 { (exit 1); exit 1; }; };;
51589 --help | --hel | -h )
51590 echo "$ac_cs_usage"; exit 0 ;;
51591 --debug | --d* | -d )
51592 debug=: ;;
51593 --file | --fil | --fi | --f )
51594 $ac_shift
51595 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51596 ac_need_defaults=false;;
51597 --header | --heade | --head | --hea )
51598 $ac_shift
51599 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51600 ac_need_defaults=false;;
51601 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51602 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51603 ac_cs_silent=: ;;
51604
51605 # This is an error.
51606 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
51607 Try \`$0 --help' for more information." >&5
51608 echo "$as_me: error: unrecognized option: $1
51609 Try \`$0 --help' for more information." >&2;}
51610 { (exit 1); exit 1; }; } ;;
51611
51612 *) ac_config_targets="$ac_config_targets $1" ;;
51613
51614 esac
51615 shift
51616 done
51617
51618 ac_configure_extra_args=
51619
51620 if $ac_cs_silent; then
51621 exec 6>/dev/null
51622 ac_configure_extra_args="$ac_configure_extra_args --silent"
51623 fi
51624
51625 _ACEOF
51626 cat >>$CONFIG_STATUS <<_ACEOF
51627 if \$ac_cs_recheck; then
51628 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51629 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51630 fi
51631
51632 _ACEOF
51633
51634 cat >>$CONFIG_STATUS <<_ACEOF
51635 #
51636 # INIT-COMMANDS section.
51637 #
51638
51639
51640 CPP="$CPP"
51641 infile="$srcdir/include/wx/msw/genrcdefs.h"
51642 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51643
51644
51645 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51646 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51647 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51648 LN_S="${LN_S}"
51649
51650
51651 _ACEOF
51652
51653
51654
51655 cat >>$CONFIG_STATUS <<\_ACEOF
51656 for ac_config_target in $ac_config_targets
51657 do
51658 case "$ac_config_target" in
51659 # Handling of arguments.
51660 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51661 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51662 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
51663 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51664 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
51665 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51666 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51667 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51668 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51669 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51670 { (exit 1); exit 1; }; };;
51671 esac
51672 done
51673
51674 # If the user did not use the arguments to specify the items to instantiate,
51675 # then the envvar interface is used. Set only those that are not.
51676 # We use the long form for the default assignment because of an extremely
51677 # bizarre bug on SunOS 4.1.3.
51678 if $ac_need_defaults; then
51679 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51680 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51681 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51682 fi
51683
51684 # Have a temporary directory for convenience. Make it in the build tree
51685 # simply because there is no reason to put it here, and in addition,
51686 # creating and moving files from /tmp can sometimes cause problems.
51687 # Create a temporary directory, and hook for its removal unless debugging.
51688 $debug ||
51689 {
51690 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
51691 trap '{ (exit 1); exit 1; }' 1 2 13 15
51692 }
51693
51694 # Create a (secure) tmp directory for tmp files.
51695
51696 {
51697 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
51698 test -n "$tmp" && test -d "$tmp"
51699 } ||
51700 {
51701 tmp=./confstat$$-$RANDOM
51702 (umask 077 && mkdir $tmp)
51703 } ||
51704 {
51705 echo "$me: cannot create a temporary directory in ." >&2
51706 { (exit 1); exit 1; }
51707 }
51708
51709 _ACEOF
51710
51711 cat >>$CONFIG_STATUS <<_ACEOF
51712
51713 #
51714 # CONFIG_FILES section.
51715 #
51716
51717 # No need to generate the scripts if there are no CONFIG_FILES.
51718 # This happens for instance when ./config.status config.h
51719 if test -n "\$CONFIG_FILES"; then
51720 # Protect against being on the right side of a sed subst in config.status.
51721 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
51722 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
51723 s,@SHELL@,$SHELL,;t t
51724 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
51725 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
51726 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
51727 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
51728 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
51729 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
51730 s,@exec_prefix@,$exec_prefix,;t t
51731 s,@prefix@,$prefix,;t t
51732 s,@program_transform_name@,$program_transform_name,;t t
51733 s,@bindir@,$bindir,;t t
51734 s,@sbindir@,$sbindir,;t t
51735 s,@libexecdir@,$libexecdir,;t t
51736 s,@datadir@,$datadir,;t t
51737 s,@sysconfdir@,$sysconfdir,;t t
51738 s,@sharedstatedir@,$sharedstatedir,;t t
51739 s,@localstatedir@,$localstatedir,;t t
51740 s,@libdir@,$libdir,;t t
51741 s,@includedir@,$includedir,;t t
51742 s,@oldincludedir@,$oldincludedir,;t t
51743 s,@infodir@,$infodir,;t t
51744 s,@mandir@,$mandir,;t t
51745 s,@build_alias@,$build_alias,;t t
51746 s,@host_alias@,$host_alias,;t t
51747 s,@target_alias@,$target_alias,;t t
51748 s,@DEFS@,$DEFS,;t t
51749 s,@ECHO_C@,$ECHO_C,;t t
51750 s,@ECHO_N@,$ECHO_N,;t t
51751 s,@ECHO_T@,$ECHO_T,;t t
51752 s,@LIBS@,$LIBS,;t t
51753 s,@build@,$build,;t t
51754 s,@build_cpu@,$build_cpu,;t t
51755 s,@build_vendor@,$build_vendor,;t t
51756 s,@build_os@,$build_os,;t t
51757 s,@host@,$host,;t t
51758 s,@host_cpu@,$host_cpu,;t t
51759 s,@host_vendor@,$host_vendor,;t t
51760 s,@host_os@,$host_os,;t t
51761 s,@target@,$target,;t t
51762 s,@target_cpu@,$target_cpu,;t t
51763 s,@target_vendor@,$target_vendor,;t t
51764 s,@target_os@,$target_os,;t t
51765 s,@wx_top_builddir@,$wx_top_builddir,;t t
51766 s,@CC@,$CC,;t t
51767 s,@CFLAGS@,$CFLAGS,;t t
51768 s,@LDFLAGS@,$LDFLAGS,;t t
51769 s,@CPPFLAGS@,$CPPFLAGS,;t t
51770 s,@ac_ct_CC@,$ac_ct_CC,;t t
51771 s,@EXEEXT@,$EXEEXT,;t t
51772 s,@OBJEXT@,$OBJEXT,;t t
51773 s,@CPP@,$CPP,;t t
51774 s,@EGREP@,$EGREP,;t t
51775 s,@CXX@,$CXX,;t t
51776 s,@CXXFLAGS@,$CXXFLAGS,;t t
51777 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
51778 s,@RANLIB@,$RANLIB,;t t
51779 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
51780 s,@AR@,$AR,;t t
51781 s,@ac_ct_AR@,$ac_ct_AR,;t t
51782 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
51783 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
51784 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
51785 s,@STRIP@,$STRIP,;t t
51786 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
51787 s,@WINDRES@,$WINDRES,;t t
51788 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
51789 s,@DLLTOOL@,$DLLTOOL,;t t
51790 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
51791 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
51792 s,@LN_S@,$LN_S,;t t
51793 s,@CXXCPP@,$CXXCPP,;t t
51794 s,@subdirs@,$subdirs,;t t
51795 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
51796 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
51797 s,@GTK_LIBS@,$GTK_LIBS,;t t
51798 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
51799 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
51800 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
51801 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
51802 s,@X_CFLAGS@,$X_CFLAGS,;t t
51803 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
51804 s,@X_LIBS@,$X_LIBS,;t t
51805 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
51806 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
51807 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
51808 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
51809 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
51810 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
51811 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
51812 s,@REZ@,$REZ,;t t
51813 s,@DEREZ@,$DEREZ,;t t
51814 s,@SETFILE@,$SETFILE,;t t
51815 s,@LIBICONV@,$LIBICONV,;t t
51816 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
51817 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
51818 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
51819 s,@SDL_LIBS@,$SDL_LIBS,;t t
51820 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
51821 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
51822 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
51823 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
51824 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
51825 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
51826 s,@CAIRO_CFLAGS@,$CAIRO_CFLAGS,;t t
51827 s,@CAIRO_LIBS@,$CAIRO_LIBS,;t t
51828 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
51829 s,@GST_LIBS@,$GST_LIBS,;t t
51830 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
51831 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
51832 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
51833 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
51834 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
51835 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
51836 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
51837 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
51838 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
51839 s,@VENDOR@,$VENDOR,;t t
51840 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
51841 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
51842 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
51843 s,@WXUNIV@,$WXUNIV,;t t
51844 s,@MONOLITHIC@,$MONOLITHIC,;t t
51845 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
51846 s,@EXTRALIBS@,$EXTRALIBS,;t t
51847 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
51848 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
51849 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
51850 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
51851 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
51852 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
51853 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
51854 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
51855 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
51856 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
51857 s,@UNICODE@,$UNICODE,;t t
51858 s,@BUILD@,$BUILD,;t t
51859 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
51860 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
51861 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
51862 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
51863 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
51864 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
51865 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
51866 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
51867 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
51868 s,@SET_MAKE@,$SET_MAKE,;t t
51869 s,@MAKE_SET@,$MAKE_SET,;t t
51870 s,@AROPTIONS@,$AROPTIONS,;t t
51871 s,@NM@,$NM,;t t
51872 s,@ac_ct_NM@,$ac_ct_NM,;t t
51873 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
51874 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
51875 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
51876 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
51877 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
51878 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
51879 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
51880 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
51881 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
51882 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
51883 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
51884 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
51885 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
51886 s,@LIBPREFIX@,$LIBPREFIX,;t t
51887 s,@LIBEXT@,$LIBEXT,;t t
51888 s,@DLLPREFIX@,$DLLPREFIX,;t t
51889 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
51890 s,@dlldir@,$dlldir,;t t
51891 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
51892 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
51893 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
51894 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
51895 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
51896 s,@PIC_FLAG@,$PIC_FLAG,;t t
51897 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
51898 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
51899 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
51900 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
51901 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
51902 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
51903 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
51904 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
51905 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
51906 s,@BK_DEPS@,$BK_DEPS,;t t
51907 s,@GCC_PCH@,$GCC_PCH,;t t
51908 s,@ICC_PCH@,$ICC_PCH,;t t
51909 s,@BK_MAKE_PCH@,$BK_MAKE_PCH,;t t
51910 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
51911 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
51912 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
51913 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
51914 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
51915 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
51916 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
51917 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
51918 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
51919 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
51920 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
51921 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
51922 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
51923 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
51924 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
51925 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
51926 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
51927 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
51928 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
51929 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
51930 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
51931 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
51932 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
51933 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
51934 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
51935 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
51936 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
51937 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
51938 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
51939 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
51940 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
51941 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
51942 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
51943 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
51944 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
51945 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
51946 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
51947 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
51948 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
51949 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
51950 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
51951 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
51952 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
51953 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
51954 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
51955 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
51956 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
51957 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
51958 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
51959 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
51960 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
51961 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
51962 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
51963 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
51964 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
51965 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
51966 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
51967 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
51968 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
51969 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
51970 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
51971 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
51972 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
51973 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
51974 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
51975 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
51976 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
51977 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
51978 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
51979 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
51980 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
51981 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
51982 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
51983 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
51984 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
51985 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
51986 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
51987 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
51988 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
51989 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
51990 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
51991 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
51992 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
51993 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
51994 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
51995 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
51996 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
51997 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
51998 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
51999 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
52000 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
52001 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
52002 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
52003 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
52004 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
52005 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
52006 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
52007 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
52008 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
52009 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
52010 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
52011 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
52012 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
52013 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
52014 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
52015 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
52016 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
52017 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
52018 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
52019 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
52020 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
52021 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
52022 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
52023 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
52024 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
52025 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
52026 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
52027 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
52028 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
52029 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
52030 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
52031 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
52032 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
52033 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
52034 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
52035 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
52036 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
52037 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
52038 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
52039 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
52040 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
52041 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
52042 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
52043 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
52044 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
52045 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
52046 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
52047 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
52048 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
52049 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
52050 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
52051 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
52052 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
52053 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
52054 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
52055 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
52056 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
52057 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
52058 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
52059 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
52060 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
52061 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
52062 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
52063 s,@SHARED@,$SHARED,;t t
52064 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
52065 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
52066 s,@USE_GUI@,$USE_GUI,;t t
52067 s,@AFMINSTALL@,$AFMINSTALL,;t t
52068 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
52069 s,@TOOLKIT@,$TOOLKIT,;t t
52070 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
52071 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
52072 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
52073 s,@cross_compiling@,$cross_compiling,;t t
52074 s,@WIDGET_SET@,$WIDGET_SET,;t t
52075 s,@WX_RELEASE@,$WX_RELEASE,;t t
52076 s,@WX_VERSION@,$WX_VERSION,;t t
52077 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
52078 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
52079 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
52080 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
52081 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
52082 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
52083 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
52084 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
52085 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
52086 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
52087 s,@EXE_LINKER@,$EXE_LINKER,;t t
52088 s,@GUIDIST@,$GUIDIST,;t t
52089 s,@DISTDIR@,$DISTDIR,;t t
52090 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
52091 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
52092 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
52093 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
52094 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
52095 s,@RESCOMP@,$RESCOMP,;t t
52096 s,@RESFLAGS@,$RESFLAGS,;t t
52097 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
52098 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
52099 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
52100 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
52101 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
52102 s,@MACSETFILE@,$MACSETFILE,;t t
52103 s,@GCC@,$GCC,;t t
52104 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
52105 s,@LIBOBJS@,$LIBOBJS,;t t
52106 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
52107 CEOF
52108
52109 _ACEOF
52110
52111 cat >>$CONFIG_STATUS <<\_ACEOF
52112 # Split the substitutions into bite-sized pieces for seds with
52113 # small command number limits, like on Digital OSF/1 and HP-UX.
52114 ac_max_sed_lines=48
52115 ac_sed_frag=1 # Number of current file.
52116 ac_beg=1 # First line for current file.
52117 ac_end=$ac_max_sed_lines # Line after last line for current file.
52118 ac_more_lines=:
52119 ac_sed_cmds=
52120 while $ac_more_lines; do
52121 if test $ac_beg -gt 1; then
52122 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
52123 else
52124 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
52125 fi
52126 if test ! -s $tmp/subs.frag; then
52127 ac_more_lines=false
52128 else
52129 # The purpose of the label and of the branching condition is to
52130 # speed up the sed processing (if there are no `@' at all, there
52131 # is no need to browse any of the substitutions).
52132 # These are the two extra sed commands mentioned above.
52133 (echo ':t
52134 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
52135 if test -z "$ac_sed_cmds"; then
52136 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
52137 else
52138 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
52139 fi
52140 ac_sed_frag=`expr $ac_sed_frag + 1`
52141 ac_beg=$ac_end
52142 ac_end=`expr $ac_end + $ac_max_sed_lines`
52143 fi
52144 done
52145 if test -z "$ac_sed_cmds"; then
52146 ac_sed_cmds=cat
52147 fi
52148 fi # test -n "$CONFIG_FILES"
52149
52150 _ACEOF
52151 cat >>$CONFIG_STATUS <<\_ACEOF
52152 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
52153 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
52154 case $ac_file in
52155 - | *:- | *:-:* ) # input from stdin
52156 cat >$tmp/stdin
52157 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
52158 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
52159 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
52160 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
52161 * ) ac_file_in=$ac_file.in ;;
52162 esac
52163
52164 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
52165 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
52166 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52167 X"$ac_file" : 'X\(//\)[^/]' \| \
52168 X"$ac_file" : 'X\(//\)$' \| \
52169 X"$ac_file" : 'X\(/\)' \| \
52170 . : '\(.\)' 2>/dev/null ||
52171 echo X"$ac_file" |
52172 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52173 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52174 /^X\(\/\/\)$/{ s//\1/; q; }
52175 /^X\(\/\).*/{ s//\1/; q; }
52176 s/.*/./; q'`
52177 { if $as_mkdir_p; then
52178 mkdir -p "$ac_dir"
52179 else
52180 as_dir="$ac_dir"
52181 as_dirs=
52182 while test ! -d "$as_dir"; do
52183 as_dirs="$as_dir $as_dirs"
52184 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52185 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52186 X"$as_dir" : 'X\(//\)[^/]' \| \
52187 X"$as_dir" : 'X\(//\)$' \| \
52188 X"$as_dir" : 'X\(/\)' \| \
52189 . : '\(.\)' 2>/dev/null ||
52190 echo X"$as_dir" |
52191 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52192 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52193 /^X\(\/\/\)$/{ s//\1/; q; }
52194 /^X\(\/\).*/{ s//\1/; q; }
52195 s/.*/./; q'`
52196 done
52197 test ! -n "$as_dirs" || mkdir $as_dirs
52198 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52199 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52200 { (exit 1); exit 1; }; }; }
52201
52202 ac_builddir=.
52203
52204 if test "$ac_dir" != .; then
52205 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52206 # A "../" for each directory in $ac_dir_suffix.
52207 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52208 else
52209 ac_dir_suffix= ac_top_builddir=
52210 fi
52211
52212 case $srcdir in
52213 .) # No --srcdir option. We are building in place.
52214 ac_srcdir=.
52215 if test -z "$ac_top_builddir"; then
52216 ac_top_srcdir=.
52217 else
52218 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52219 fi ;;
52220 [\\/]* | ?:[\\/]* ) # Absolute path.
52221 ac_srcdir=$srcdir$ac_dir_suffix;
52222 ac_top_srcdir=$srcdir ;;
52223 *) # Relative path.
52224 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52225 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52226 esac
52227
52228 # Do not use `cd foo && pwd` to compute absolute paths, because
52229 # the directories may not exist.
52230 case `pwd` in
52231 .) ac_abs_builddir="$ac_dir";;
52232 *)
52233 case "$ac_dir" in
52234 .) ac_abs_builddir=`pwd`;;
52235 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52236 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52237 esac;;
52238 esac
52239 case $ac_abs_builddir in
52240 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52241 *)
52242 case ${ac_top_builddir}. in
52243 .) ac_abs_top_builddir=$ac_abs_builddir;;
52244 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52245 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52246 esac;;
52247 esac
52248 case $ac_abs_builddir in
52249 .) ac_abs_srcdir=$ac_srcdir;;
52250 *)
52251 case $ac_srcdir in
52252 .) ac_abs_srcdir=$ac_abs_builddir;;
52253 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52254 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52255 esac;;
52256 esac
52257 case $ac_abs_builddir in
52258 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52259 *)
52260 case $ac_top_srcdir in
52261 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52262 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52263 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52264 esac;;
52265 esac
52266
52267
52268 case $INSTALL in
52269 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52270 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
52271 esac
52272
52273 # Let's still pretend it is `configure' which instantiates (i.e., don't
52274 # use $as_me), people would be surprised to read:
52275 # /* config.h. Generated by config.status. */
52276 if test x"$ac_file" = x-; then
52277 configure_input=
52278 else
52279 configure_input="$ac_file. "
52280 fi
52281 configure_input=$configure_input"Generated from `echo $ac_file_in |
52282 sed 's,.*/,,'` by configure."
52283
52284 # First look for the input files in the build tree, otherwise in the
52285 # src tree.
52286 ac_file_inputs=`IFS=:
52287 for f in $ac_file_in; do
52288 case $f in
52289 -) echo $tmp/stdin ;;
52290 [\\/$]*)
52291 # Absolute (can't be DOS-style, as IFS=:)
52292 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52293 echo "$as_me: error: cannot find input file: $f" >&2;}
52294 { (exit 1); exit 1; }; }
52295 echo "$f";;
52296 *) # Relative
52297 if test -f "$f"; then
52298 # Build tree
52299 echo "$f"
52300 elif test -f "$srcdir/$f"; then
52301 # Source tree
52302 echo "$srcdir/$f"
52303 else
52304 # /dev/null tree
52305 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52306 echo "$as_me: error: cannot find input file: $f" >&2;}
52307 { (exit 1); exit 1; }; }
52308 fi;;
52309 esac
52310 done` || { (exit 1); exit 1; }
52311
52312 if test x"$ac_file" != x-; then
52313 { echo "$as_me:$LINENO: creating $ac_file" >&5
52314 echo "$as_me: creating $ac_file" >&6;}
52315 rm -f "$ac_file"
52316 fi
52317 _ACEOF
52318 cat >>$CONFIG_STATUS <<_ACEOF
52319 sed "$ac_vpsub
52320 $extrasub
52321 _ACEOF
52322 cat >>$CONFIG_STATUS <<\_ACEOF
52323 :t
52324 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52325 s,@configure_input@,$configure_input,;t t
52326 s,@srcdir@,$ac_srcdir,;t t
52327 s,@abs_srcdir@,$ac_abs_srcdir,;t t
52328 s,@top_srcdir@,$ac_top_srcdir,;t t
52329 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
52330 s,@builddir@,$ac_builddir,;t t
52331 s,@abs_builddir@,$ac_abs_builddir,;t t
52332 s,@top_builddir@,$ac_top_builddir,;t t
52333 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
52334 s,@INSTALL@,$ac_INSTALL,;t t
52335 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
52336 rm -f $tmp/stdin
52337 if test x"$ac_file" != x-; then
52338 mv $tmp/out $ac_file
52339 else
52340 cat $tmp/out
52341 rm -f $tmp/out
52342 fi
52343
52344 # Run the commands associated with the file.
52345 case $ac_file in
52346 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52347 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52348 esac
52349 done
52350 _ACEOF
52351 cat >>$CONFIG_STATUS <<\_ACEOF
52352
52353 #
52354 # CONFIG_HEADER section.
52355 #
52356
52357 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
52358 # NAME is the cpp macro being defined and VALUE is the value it is being given.
52359 #
52360 # ac_d sets the value in "#define NAME VALUE" lines.
52361 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
52362 ac_dB='[ ].*$,\1#\2'
52363 ac_dC=' '
52364 ac_dD=',;t'
52365 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
52366 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
52367 ac_uB='$,\1#\2define\3'
52368 ac_uC=' '
52369 ac_uD=',;t'
52370
52371 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
52372 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
52373 case $ac_file in
52374 - | *:- | *:-:* ) # input from stdin
52375 cat >$tmp/stdin
52376 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
52377 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
52378 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
52379 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
52380 * ) ac_file_in=$ac_file.in ;;
52381 esac
52382
52383 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
52384 echo "$as_me: creating $ac_file" >&6;}
52385
52386 # First look for the input files in the build tree, otherwise in the
52387 # src tree.
52388 ac_file_inputs=`IFS=:
52389 for f in $ac_file_in; do
52390 case $f in
52391 -) echo $tmp/stdin ;;
52392 [\\/$]*)
52393 # Absolute (can't be DOS-style, as IFS=:)
52394 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52395 echo "$as_me: error: cannot find input file: $f" >&2;}
52396 { (exit 1); exit 1; }; }
52397 # Do quote $f, to prevent DOS paths from being IFS'd.
52398 echo "$f";;
52399 *) # Relative
52400 if test -f "$f"; then
52401 # Build tree
52402 echo "$f"
52403 elif test -f "$srcdir/$f"; then
52404 # Source tree
52405 echo "$srcdir/$f"
52406 else
52407 # /dev/null tree
52408 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
52409 echo "$as_me: error: cannot find input file: $f" >&2;}
52410 { (exit 1); exit 1; }; }
52411 fi;;
52412 esac
52413 done` || { (exit 1); exit 1; }
52414 # Remove the trailing spaces.
52415 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
52416
52417 _ACEOF
52418
52419 # Transform confdefs.h into two sed scripts, `conftest.defines' and
52420 # `conftest.undefs', that substitutes the proper values into
52421 # config.h.in to produce config.h. The first handles `#define'
52422 # templates, and the second `#undef' templates.
52423 # And first: Protect against being on the right side of a sed subst in
52424 # config.status. Protect against being in an unquoted here document
52425 # in config.status.
52426 rm -f conftest.defines conftest.undefs
52427 # Using a here document instead of a string reduces the quoting nightmare.
52428 # Putting comments in sed scripts is not portable.
52429 #
52430 # `end' is used to avoid that the second main sed command (meant for
52431 # 0-ary CPP macros) applies to n-ary macro definitions.
52432 # See the Autoconf documentation for `clear'.
52433 cat >confdef2sed.sed <<\_ACEOF
52434 s/[\\&,]/\\&/g
52435 s,[\\$`],\\&,g
52436 t clear
52437 : clear
52438 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
52439 t end
52440 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
52441 : end
52442 _ACEOF
52443 # If some macros were called several times there might be several times
52444 # the same #defines, which is useless. Nevertheless, we may not want to
52445 # sort them, since we want the *last* AC-DEFINE to be honored.
52446 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
52447 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
52448 rm -f confdef2sed.sed
52449
52450 # This sed command replaces #undef with comments. This is necessary, for
52451 # example, in the case of _POSIX_SOURCE, which is predefined and required
52452 # on some systems where configure will not decide to define it.
52453 cat >>conftest.undefs <<\_ACEOF
52454 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
52455 _ACEOF
52456
52457 # Break up conftest.defines because some shells have a limit on the size
52458 # of here documents, and old seds have small limits too (100 cmds).
52459 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
52460 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
52461 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
52462 echo ' :' >>$CONFIG_STATUS
52463 rm -f conftest.tail
52464 while grep . conftest.defines >/dev/null
52465 do
52466 # Write a limited-size here document to $tmp/defines.sed.
52467 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
52468 # Speed up: don't consider the non `#define' lines.
52469 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
52470 # Work around the forget-to-reset-the-flag bug.
52471 echo 't clr' >>$CONFIG_STATUS
52472 echo ': clr' >>$CONFIG_STATUS
52473 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
52474 echo 'CEOF
52475 sed -f $tmp/defines.sed $tmp/in >$tmp/out
52476 rm -f $tmp/in
52477 mv $tmp/out $tmp/in
52478 ' >>$CONFIG_STATUS
52479 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
52480 rm -f conftest.defines
52481 mv conftest.tail conftest.defines
52482 done
52483 rm -f conftest.defines
52484 echo ' fi # grep' >>$CONFIG_STATUS
52485 echo >>$CONFIG_STATUS
52486
52487 # Break up conftest.undefs because some shells have a limit on the size
52488 # of here documents, and old seds have small limits too (100 cmds).
52489 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
52490 rm -f conftest.tail
52491 while grep . conftest.undefs >/dev/null
52492 do
52493 # Write a limited-size here document to $tmp/undefs.sed.
52494 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
52495 # Speed up: don't consider the non `#undef'
52496 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
52497 # Work around the forget-to-reset-the-flag bug.
52498 echo 't clr' >>$CONFIG_STATUS
52499 echo ': clr' >>$CONFIG_STATUS
52500 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
52501 echo 'CEOF
52502 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
52503 rm -f $tmp/in
52504 mv $tmp/out $tmp/in
52505 ' >>$CONFIG_STATUS
52506 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
52507 rm -f conftest.undefs
52508 mv conftest.tail conftest.undefs
52509 done
52510 rm -f conftest.undefs
52511
52512 cat >>$CONFIG_STATUS <<\_ACEOF
52513 # Let's still pretend it is `configure' which instantiates (i.e., don't
52514 # use $as_me), people would be surprised to read:
52515 # /* config.h. Generated by config.status. */
52516 if test x"$ac_file" = x-; then
52517 echo "/* Generated by configure. */" >$tmp/config.h
52518 else
52519 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
52520 fi
52521 cat $tmp/in >>$tmp/config.h
52522 rm -f $tmp/in
52523 if test x"$ac_file" != x-; then
52524 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
52525 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52526 echo "$as_me: $ac_file is unchanged" >&6;}
52527 else
52528 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
52529 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52530 X"$ac_file" : 'X\(//\)[^/]' \| \
52531 X"$ac_file" : 'X\(//\)$' \| \
52532 X"$ac_file" : 'X\(/\)' \| \
52533 . : '\(.\)' 2>/dev/null ||
52534 echo X"$ac_file" |
52535 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52536 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52537 /^X\(\/\/\)$/{ s//\1/; q; }
52538 /^X\(\/\).*/{ s//\1/; q; }
52539 s/.*/./; q'`
52540 { if $as_mkdir_p; then
52541 mkdir -p "$ac_dir"
52542 else
52543 as_dir="$ac_dir"
52544 as_dirs=
52545 while test ! -d "$as_dir"; do
52546 as_dirs="$as_dir $as_dirs"
52547 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52548 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52549 X"$as_dir" : 'X\(//\)[^/]' \| \
52550 X"$as_dir" : 'X\(//\)$' \| \
52551 X"$as_dir" : 'X\(/\)' \| \
52552 . : '\(.\)' 2>/dev/null ||
52553 echo X"$as_dir" |
52554 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52555 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52556 /^X\(\/\/\)$/{ s//\1/; q; }
52557 /^X\(\/\).*/{ s//\1/; q; }
52558 s/.*/./; q'`
52559 done
52560 test ! -n "$as_dirs" || mkdir $as_dirs
52561 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52562 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52563 { (exit 1); exit 1; }; }; }
52564
52565 rm -f $ac_file
52566 mv $tmp/config.h $ac_file
52567 fi
52568 else
52569 cat $tmp/config.h
52570 rm -f $tmp/config.h
52571 fi
52572 done
52573 _ACEOF
52574 cat >>$CONFIG_STATUS <<\_ACEOF
52575
52576 #
52577 # CONFIG_COMMANDS section.
52578 #
52579 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
52580 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
52581 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
52582 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
52583 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52584 X"$ac_dest" : 'X\(//\)[^/]' \| \
52585 X"$ac_dest" : 'X\(//\)$' \| \
52586 X"$ac_dest" : 'X\(/\)' \| \
52587 . : '\(.\)' 2>/dev/null ||
52588 echo X"$ac_dest" |
52589 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52590 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52591 /^X\(\/\/\)$/{ s//\1/; q; }
52592 /^X\(\/\).*/{ s//\1/; q; }
52593 s/.*/./; q'`
52594 { if $as_mkdir_p; then
52595 mkdir -p "$ac_dir"
52596 else
52597 as_dir="$ac_dir"
52598 as_dirs=
52599 while test ! -d "$as_dir"; do
52600 as_dirs="$as_dir $as_dirs"
52601 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52602 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52603 X"$as_dir" : 'X\(//\)[^/]' \| \
52604 X"$as_dir" : 'X\(//\)$' \| \
52605 X"$as_dir" : 'X\(/\)' \| \
52606 . : '\(.\)' 2>/dev/null ||
52607 echo X"$as_dir" |
52608 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52609 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52610 /^X\(\/\/\)$/{ s//\1/; q; }
52611 /^X\(\/\).*/{ s//\1/; q; }
52612 s/.*/./; q'`
52613 done
52614 test ! -n "$as_dirs" || mkdir $as_dirs
52615 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52616 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52617 { (exit 1); exit 1; }; }; }
52618
52619 ac_builddir=.
52620
52621 if test "$ac_dir" != .; then
52622 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52623 # A "../" for each directory in $ac_dir_suffix.
52624 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52625 else
52626 ac_dir_suffix= ac_top_builddir=
52627 fi
52628
52629 case $srcdir in
52630 .) # No --srcdir option. We are building in place.
52631 ac_srcdir=.
52632 if test -z "$ac_top_builddir"; then
52633 ac_top_srcdir=.
52634 else
52635 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52636 fi ;;
52637 [\\/]* | ?:[\\/]* ) # Absolute path.
52638 ac_srcdir=$srcdir$ac_dir_suffix;
52639 ac_top_srcdir=$srcdir ;;
52640 *) # Relative path.
52641 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52642 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52643 esac
52644
52645 # Do not use `cd foo && pwd` to compute absolute paths, because
52646 # the directories may not exist.
52647 case `pwd` in
52648 .) ac_abs_builddir="$ac_dir";;
52649 *)
52650 case "$ac_dir" in
52651 .) ac_abs_builddir=`pwd`;;
52652 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52653 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52654 esac;;
52655 esac
52656 case $ac_abs_builddir in
52657 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52658 *)
52659 case ${ac_top_builddir}. in
52660 .) ac_abs_top_builddir=$ac_abs_builddir;;
52661 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52662 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52663 esac;;
52664 esac
52665 case $ac_abs_builddir in
52666 .) ac_abs_srcdir=$ac_srcdir;;
52667 *)
52668 case $ac_srcdir in
52669 .) ac_abs_srcdir=$ac_abs_builddir;;
52670 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52671 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52672 esac;;
52673 esac
52674 case $ac_abs_builddir in
52675 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52676 *)
52677 case $ac_top_srcdir in
52678 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52679 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52680 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52681 esac;;
52682 esac
52683
52684
52685 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
52686 echo "$as_me: executing $ac_dest commands" >&6;}
52687 case $ac_dest in
52688 rcdefs.h )
52689 mkdir -p $outdir &&
52690 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52691 ;;
52692 wx-config ) rm -f wx-config
52693 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52694 ;;
52695 esac
52696 done
52697 _ACEOF
52698
52699 cat >>$CONFIG_STATUS <<\_ACEOF
52700
52701 { (exit 0); exit 0; }
52702 _ACEOF
52703 chmod +x $CONFIG_STATUS
52704 ac_clean_files=$ac_clean_files_save
52705
52706
52707 # configure is writing to config.log, and then calls config.status.
52708 # config.status does its own redirection, appending to config.log.
52709 # Unfortunately, on DOS this fails, as config.log is still kept open
52710 # by configure, so config.status won't be able to write to it; its
52711 # output is simply discarded. So we exec the FD to /dev/null,
52712 # effectively closing config.log, so it can be properly (re)opened and
52713 # appended to by config.status. When coming back to configure, we
52714 # need to make the FD available again.
52715 if test "$no_create" != yes; then
52716 ac_cs_success=:
52717 ac_config_status_args=
52718 test "$silent" = yes &&
52719 ac_config_status_args="$ac_config_status_args --quiet"
52720 exec 5>/dev/null
52721 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52722 exec 5>>config.log
52723 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52724 # would make configure fail if this is the last instruction.
52725 $ac_cs_success || { (exit 1); exit 1; }
52726 fi
52727
52728 #
52729 # CONFIG_SUBDIRS section.
52730 #
52731 if test "$no_recursion" != yes; then
52732
52733 # Remove --cache-file and --srcdir arguments so they do not pile up.
52734 ac_sub_configure_args=
52735 ac_prev=
52736 for ac_arg in $ac_configure_args; do
52737 if test -n "$ac_prev"; then
52738 ac_prev=
52739 continue
52740 fi
52741 case $ac_arg in
52742 -cache-file | --cache-file | --cache-fil | --cache-fi \
52743 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52744 ac_prev=cache_file ;;
52745 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52746 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52747 | --c=*)
52748 ;;
52749 --config-cache | -C)
52750 ;;
52751 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52752 ac_prev=srcdir ;;
52753 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52754 ;;
52755 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52756 ac_prev=prefix ;;
52757 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52758 ;;
52759 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
52760 esac
52761 done
52762
52763 # Always prepend --prefix to ensure using the same prefix
52764 # in subdir configurations.
52765 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
52766
52767 ac_popdir=`pwd`
52768 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52769
52770 # Do not complain, so a configure script can configure whichever
52771 # parts of a large source tree are present.
52772 test -d $srcdir/$ac_dir || continue
52773
52774 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
52775 echo "$as_me: configuring in $ac_dir" >&6;}
52776 { if $as_mkdir_p; then
52777 mkdir -p "$ac_dir"
52778 else
52779 as_dir="$ac_dir"
52780 as_dirs=
52781 while test ! -d "$as_dir"; do
52782 as_dirs="$as_dir $as_dirs"
52783 as_dir=`(dirname "$as_dir") 2>/dev/null ||
52784 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52785 X"$as_dir" : 'X\(//\)[^/]' \| \
52786 X"$as_dir" : 'X\(//\)$' \| \
52787 X"$as_dir" : 'X\(/\)' \| \
52788 . : '\(.\)' 2>/dev/null ||
52789 echo X"$as_dir" |
52790 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
52791 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
52792 /^X\(\/\/\)$/{ s//\1/; q; }
52793 /^X\(\/\).*/{ s//\1/; q; }
52794 s/.*/./; q'`
52795 done
52796 test ! -n "$as_dirs" || mkdir $as_dirs
52797 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
52798 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
52799 { (exit 1); exit 1; }; }; }
52800
52801 ac_builddir=.
52802
52803 if test "$ac_dir" != .; then
52804 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52805 # A "../" for each directory in $ac_dir_suffix.
52806 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
52807 else
52808 ac_dir_suffix= ac_top_builddir=
52809 fi
52810
52811 case $srcdir in
52812 .) # No --srcdir option. We are building in place.
52813 ac_srcdir=.
52814 if test -z "$ac_top_builddir"; then
52815 ac_top_srcdir=.
52816 else
52817 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
52818 fi ;;
52819 [\\/]* | ?:[\\/]* ) # Absolute path.
52820 ac_srcdir=$srcdir$ac_dir_suffix;
52821 ac_top_srcdir=$srcdir ;;
52822 *) # Relative path.
52823 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
52824 ac_top_srcdir=$ac_top_builddir$srcdir ;;
52825 esac
52826
52827 # Do not use `cd foo && pwd` to compute absolute paths, because
52828 # the directories may not exist.
52829 case `pwd` in
52830 .) ac_abs_builddir="$ac_dir";;
52831 *)
52832 case "$ac_dir" in
52833 .) ac_abs_builddir=`pwd`;;
52834 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
52835 *) ac_abs_builddir=`pwd`/"$ac_dir";;
52836 esac;;
52837 esac
52838 case $ac_abs_builddir in
52839 .) ac_abs_top_builddir=${ac_top_builddir}.;;
52840 *)
52841 case ${ac_top_builddir}. in
52842 .) ac_abs_top_builddir=$ac_abs_builddir;;
52843 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
52844 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
52845 esac;;
52846 esac
52847 case $ac_abs_builddir in
52848 .) ac_abs_srcdir=$ac_srcdir;;
52849 *)
52850 case $ac_srcdir in
52851 .) ac_abs_srcdir=$ac_abs_builddir;;
52852 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
52853 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
52854 esac;;
52855 esac
52856 case $ac_abs_builddir in
52857 .) ac_abs_top_srcdir=$ac_top_srcdir;;
52858 *)
52859 case $ac_top_srcdir in
52860 .) ac_abs_top_srcdir=$ac_abs_builddir;;
52861 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
52862 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
52863 esac;;
52864 esac
52865
52866
52867 cd $ac_dir
52868
52869 # Check for guested configure; otherwise get Cygnus style configure.
52870 if test -f $ac_srcdir/configure.gnu; then
52871 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
52872 elif test -f $ac_srcdir/configure; then
52873 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
52874 elif test -f $ac_srcdir/configure.in; then
52875 ac_sub_configure=$ac_configure
52876 else
52877 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52878 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52879 ac_sub_configure=
52880 fi
52881
52882 # The recursion is here.
52883 if test -n "$ac_sub_configure"; then
52884 # Make the cache file name correct relative to the subdirectory.
52885 case $cache_file in
52886 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52887 *) # Relative path.
52888 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
52889 esac
52890
52891 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52892 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52893 # The eval makes quoting arguments work.
52894 eval $ac_sub_configure $ac_sub_configure_args \
52895 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
52896 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52897 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52898 { (exit 1); exit 1; }; }
52899 fi
52900
52901 cd "$ac_popdir"
52902 done
52903 fi
52904
52905
52906 echo
52907 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52908 echo ""
52909 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52910 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52911
52912 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52913 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52914 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
52915
52916 echo " What level of wxWidgets compatibility should be enabled?"
52917 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
52918 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
52919
52920 echo " Which libraries should wxWidgets use?"
52921 echo " jpeg ${wxUSE_LIBJPEG-none}"
52922 echo " png ${wxUSE_LIBPNG-none}"
52923 echo " regex ${wxUSE_REGEX}"
52924 echo " tiff ${wxUSE_LIBTIFF-none}"
52925 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52926 echo " xpm ${wxUSE_LIBXPM-none}"
52927 fi
52928 echo " zlib ${wxUSE_ZLIB}"
52929 echo " odbc ${wxUSE_ODBC}"
52930 echo " expat ${wxUSE_EXPAT}"
52931 echo " libmspack ${wxUSE_LIBMSPACK}"
52932 echo " sdl ${wxUSE_LIBSDL}"
52933
52934 echo ""
52935