]> git.saurik.com Git - wxWidgets.git/blob - configure
add support for wxCONTROL_ISDEFAULT to wxRendererMSW::DrawPushButton() (modified...
[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.0.
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.0'
274 PACKAGE_STRING='wxWidgets 2.7.0'
275 PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
276
277 ac_unique_file="wx-config.in"
278 # Factoring default headers for most tests.
279 ac_includes_default="\
280 #include <stdio.h>
281 #if HAVE_SYS_TYPES_H
282 # include <sys/types.h>
283 #endif
284 #if HAVE_SYS_STAT_H
285 # include <sys/stat.h>
286 #endif
287 #if STDC_HEADERS
288 # include <stdlib.h>
289 # include <stddef.h>
290 #else
291 # if HAVE_STDLIB_H
292 # include <stdlib.h>
293 # endif
294 #endif
295 #if HAVE_STRING_H
296 # if !STDC_HEADERS && HAVE_MEMORY_H
297 # include <memory.h>
298 # endif
299 # include <string.h>
300 #endif
301 #if HAVE_STRINGS_H
302 # include <strings.h>
303 #endif
304 #if HAVE_INTTYPES_H
305 # include <inttypes.h>
306 #else
307 # if HAVE_STDINT_H
308 # include <stdint.h>
309 # endif
310 #endif
311 #if HAVE_UNISTD_H
312 # include <unistd.h>
313 #endif"
314
315 ac_subdirs_all="$ac_subdirs_all src/expat"
316 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX RANLIB ac_ct_RANLIB AR ac_ct_AR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA STRIP ac_ct_STRIP WINDRES ac_ct_WINDRES DLLTOOL ac_ct_DLLTOOL IF_GNU_MAKE LN_S CXXCPP subdirs PKG_CONFIG GTK_CFLAGS GTK_LIBS GTK_CONFIG ac_pt_PKG_CONFIG DIRECTFB_CFLAGS DIRECTFB_LIBS X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PANGOX_CFLAGS PANGOX_LIBS PANGOFT2_CFLAGS PANGOFT2_LIBS PANGOXFT_CFLAGS PANGOXFT_LIBS REZ DEREZ SETFILE LIBICONV EXTRALIBS_ESD SDL_CONFIG SDL_CFLAGS SDL_LIBS LIBGNOMEPRINTUI_CFLAGS LIBGNOMEPRINTUI_LIBS GNOMEVFS_CFLAGS GNOMEVFS_LIBS HILDON_CFLAGS HILDON_LIBS GST_CFLAGS GST_LIBS CORE_BASE_LIBS CORE_GUI_LIBS wxUSE_ZLIB wxUSE_REGEX wxUSE_EXPAT wxUSE_ODBC wxUSE_LIBJPEG wxUSE_LIBPNG wxUSE_LIBTIFF VENDOR OFFICIAL_BUILD WX_FLAVOUR WX_LIB_FLAVOUR WXUNIV MONOLITHIC USE_PLUGINS EXTRALIBS EXTRALIBS_XML EXTRALIBS_HTML EXTRALIBS_ODBC EXTRALIBS_GUI EXTRALIBS_OPENGL EXTRALIBS_SDL WITH_PLUGIN_SDL EXTRALIBS_GNOMEPRINT EXTRALIBS_GNOMEVFS EXTRALIBS_HILDON UNICODE BUILD DEBUG_INFO DEBUG_FLAG TOOLKIT_LOWERCASE TOOLKIT_VERSION SAMPLES_RPATH_FLAG SAMPLES_RPATH_POSTLINK HOST_SUFFIX CPPUNIT_CFLAGS CPPUNIT_LIBS SET_MAKE MAKE_SET NM ac_ct_NM INSTALL_DIR LDFLAGS_GUI PLATFORM_UNIX PLATFORM_WIN32 PLATFORM_MSDOS PLATFORM_MAC PLATFORM_MACOS PLATFORM_MACOSX PLATFORM_OS2 PLATFORM_BEOS SO_SUFFIX SO_SUFFIX_MODULE DLLIMP_SUFFIX LIBPREFIX LIBEXT DLLPREFIX DLLPREFIX_MODULE dlldir AIX_CXX_LD SHARED_LD_CC SHARED_LD_CXX SHARED_LD_MODULE_CC SHARED_LD_MODULE_CXX PIC_FLAG WINDOWS_IMPLIB USE_SOVERSION USE_SOVERLINUX USE_SOVERSOLARIS USE_SOVERCYGWIN USE_MACVERSION USE_SOSYMLINKS SONAME_FLAG DEPS_TRACKING GCC_PCH ICC_PCH COND_BUILD_DEBUG COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT COND_BUILD_DEBUG_UNICODE_0 COND_BUILD_DEBUG_UNICODE_1 COND_BUILD_RELEASE COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT COND_BUILD_RELEASE_UNICODE_0 COND_BUILD_RELEASE_UNICODE_1 COND_DEBUG_FLAG_1 COND_DEBUG_INFO_0 COND_DEBUG_INFO_1 COND_DEPS_TRACKING_0 COND_DEPS_TRACKING_1 COND_GCC_PCH_1 COND_ICC_PCH_1 COND_MONOLITHIC_0 COND_MONOLITHIC_0_SHARED_0 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1 COND_MONOLITHIC_0_SHARED_1 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1 COND_MONOLITHIC_0_USE_MEDIA_1 COND_MONOLITHIC_0_USE_ODBC_1 COND_MONOLITHIC_1 COND_MONOLITHIC_1_SHARED_0 COND_MONOLITHIC_1_SHARED_1 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1 COND_PLATFORM_MACOSX_1 COND_PLATFORM_MACOSX_1_TOOLKIT_ COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA COND_PLATFORM_MACOSX_1_TOOLKIT_GTK COND_PLATFORM_MACOSX_1_TOOLKIT_MAC COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF COND_PLATFORM_MACOSX_1_TOOLKIT_X11 COND_PLATFORM_MACOSX_1_USE_GUI_1 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1 COND_PLATFORM_MACOS_1 COND_PLATFORM_MAC_1 COND_PLATFORM_MSDOS_0 COND_PLATFORM_MSDOS_1 COND_PLATFORM_OS2_1 COND_PLATFORM_UNIX_0 COND_PLATFORM_UNIX_1 COND_PLATFORM_UNIX_1_USE_GUI_1 COND_PLATFORM_UNIX_1_USE_PLUGINS_0 COND_PLATFORM_WIN32_0 COND_PLATFORM_WIN32_1 COND_SHARED_0 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_SHARED_0_USE_XRC_1 COND_SHARED_0_WXUSE_EXPAT_BUILTIN COND_SHARED_0_WXUSE_ODBC_BUILTIN COND_SHARED_0_WXUSE_REGEX_BUILTIN COND_SHARED_0_WXUSE_ZLIB_BUILTIN COND_SHARED_1 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1 COND_SHARED_1_USE_XRC_1 COND_TOOLKIT_ COND_TOOLKIT_COCOA COND_TOOLKIT_COCOA_USE_GUI_1 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_DFB COND_TOOLKIT_DFB_USE_GUI_1 COND_TOOLKIT_GTK COND_TOOLKIT_GTK_TOOLKIT_VERSION_ COND_TOOLKIT_GTK_TOOLKIT_VERSION_2 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0 COND_TOOLKIT_GTK_USE_GUI_1 COND_TOOLKIT_MAC COND_TOOLKIT_MAC_USE_GUI_1 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MGL COND_TOOLKIT_MGL_USE_GUI_1 COND_TOOLKIT_MOTIF COND_TOOLKIT_MOTIF_USE_GUI_1 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW COND_TOOLKIT_MSW_USE_GUI_1 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_MSW_WXUNIV_0 COND_TOOLKIT_PM COND_TOOLKIT_PM_USE_GUI_1 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE COND_TOOLKIT_WINCE_USE_GUI_1 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0 COND_TOOLKIT_WINCE_WXUNIV_0 COND_TOOLKIT_X11 COND_TOOLKIT_X11_USE_GUI_1 COND_UNICODE_1 COND_USE_EXCEPTIONS_0 COND_USE_EXCEPTIONS_1 COND_USE_GUI_0 COND_USE_GUI_1 COND_USE_GUI_1_WXUNIV_0 COND_USE_GUI_1_WXUNIV_1 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN COND_USE_ODBC_1 COND_USE_OPENGL_1 COND_USE_PCH_1 COND_USE_PLUGINS_0 COND_USE_RTTI_0 COND_USE_RTTI_1 COND_USE_SOSYMLINKS_1 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1 COND_USE_SOVERLINUX_1 COND_USE_SOVERSION_0 COND_USE_SOVERSOLARIS_1 COND_USE_THREADS_0 COND_USE_THREADS_1 COND_USE_XRC_1 COND_WINDOWS_IMPLIB_1 COND_WITH_PLUGIN_SDL_1 COND_WXUNIV_0 COND_WXUNIV_1 COND_WXUSE_EXPAT_BUILTIN COND_WXUSE_LIBJPEG_BUILTIN COND_WXUSE_LIBPNG_BUILTIN COND_WXUSE_LIBTIFF_BUILTIN COND_WXUSE_ODBC_BUILTIN COND_WXUSE_REGEX_BUILTIN COND_WXUSE_ZLIB_BUILTIN SHARED WX_LIBRARY_BASENAME_NOGUI WX_LIBRARY_BASENAME_GUI USE_GUI AFMINSTALL WIN32INSTALL TOOLKIT TOOLKIT_DIR TOOLCHAIN_NAME TOOLCHAIN_FULLNAME cross_compiling WIDGET_SET WX_RELEASE WX_VERSION WX_SUBVERSION WX_CHARTYPE WX_DEBUGTYPE WXCONFIG_CPPFLAGS WXCONFIG_CFLAGS WXCONFIG_CXXFLAGS WXCONFIG_LIBS WXCONFIG_RPATH WXCONFIG_LDFLAGS_GUI WXCONFIG_RESFLAGS EXE_LINKER GUIDIST DISTDIR SAMPLES_SUBDIRS LDFLAGS_GL OPENGL_LIBS DMALLOC_LIBS WX_VERSION_TAG RESCOMP RESFLAGS RESPROGRAMOBJ WX_RESOURCES_MACOSX_ASCII WX_RESOURCES_MACOSX_DATA LIBWXMACRES POSTLINK_COMMAND MACSETFILE GCC CPPUNIT_CONFIG LIBOBJS LTLIBOBJS'
317 ac_subst_files=''
318
319 # Initialize some variables set by options.
320 ac_init_help=
321 ac_init_version=false
322 # The variables have the same names as the options, with
323 # dashes changed to underlines.
324 cache_file=/dev/null
325 exec_prefix=NONE
326 no_create=
327 no_recursion=
328 prefix=NONE
329 program_prefix=NONE
330 program_suffix=NONE
331 program_transform_name=s,x,x,
332 silent=
333 site=
334 srcdir=
335 verbose=
336 x_includes=NONE
337 x_libraries=NONE
338
339 # Installation directory options.
340 # These are left unexpanded so users can "make install exec_prefix=/foo"
341 # and all the variables that are supposed to be based on exec_prefix
342 # by default will actually change.
343 # Use braces instead of parens because sh, perl, etc. also accept them.
344 bindir='${exec_prefix}/bin'
345 sbindir='${exec_prefix}/sbin'
346 libexecdir='${exec_prefix}/libexec'
347 datadir='${prefix}/share'
348 sysconfdir='${prefix}/etc'
349 sharedstatedir='${prefix}/com'
350 localstatedir='${prefix}/var'
351 libdir='${exec_prefix}/lib'
352 includedir='${prefix}/include'
353 oldincludedir='/usr/include'
354 infodir='${prefix}/info'
355 mandir='${prefix}/man'
356
357 ac_prev=
358 for ac_option
359 do
360 # If the previous option needs an argument, assign it.
361 if test -n "$ac_prev"; then
362 eval "$ac_prev=\$ac_option"
363 ac_prev=
364 continue
365 fi
366
367 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
368
369 # Accept the important Cygnus configure options, so we can diagnose typos.
370
371 case $ac_option in
372
373 -bindir | --bindir | --bindi | --bind | --bin | --bi)
374 ac_prev=bindir ;;
375 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
376 bindir=$ac_optarg ;;
377
378 -build | --build | --buil | --bui | --bu)
379 ac_prev=build_alias ;;
380 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
381 build_alias=$ac_optarg ;;
382
383 -cache-file | --cache-file | --cache-fil | --cache-fi \
384 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
385 ac_prev=cache_file ;;
386 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
387 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
388 cache_file=$ac_optarg ;;
389
390 --config-cache | -C)
391 cache_file=config.cache ;;
392
393 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
394 ac_prev=datadir ;;
395 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
396 | --da=*)
397 datadir=$ac_optarg ;;
398
399 -disable-* | --disable-*)
400 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
401 # Reject names that are not valid shell variable names.
402 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
403 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
404 { (exit 1); exit 1; }; }
405 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
406 eval "enable_$ac_feature=no" ;;
407
408 -enable-* | --enable-*)
409 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
410 # Reject names that are not valid shell variable names.
411 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
412 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
413 { (exit 1); exit 1; }; }
414 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
415 case $ac_option in
416 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
417 *) ac_optarg=yes ;;
418 esac
419 eval "enable_$ac_feature='$ac_optarg'" ;;
420
421 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
422 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
423 | --exec | --exe | --ex)
424 ac_prev=exec_prefix ;;
425 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
426 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
427 | --exec=* | --exe=* | --ex=*)
428 exec_prefix=$ac_optarg ;;
429
430 -gas | --gas | --ga | --g)
431 # Obsolete; use --with-gas.
432 with_gas=yes ;;
433
434 -help | --help | --hel | --he | -h)
435 ac_init_help=long ;;
436 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
437 ac_init_help=recursive ;;
438 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
439 ac_init_help=short ;;
440
441 -host | --host | --hos | --ho)
442 ac_prev=host_alias ;;
443 -host=* | --host=* | --hos=* | --ho=*)
444 host_alias=$ac_optarg ;;
445
446 -includedir | --includedir | --includedi | --included | --include \
447 | --includ | --inclu | --incl | --inc)
448 ac_prev=includedir ;;
449 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
450 | --includ=* | --inclu=* | --incl=* | --inc=*)
451 includedir=$ac_optarg ;;
452
453 -infodir | --infodir | --infodi | --infod | --info | --inf)
454 ac_prev=infodir ;;
455 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
456 infodir=$ac_optarg ;;
457
458 -libdir | --libdir | --libdi | --libd)
459 ac_prev=libdir ;;
460 -libdir=* | --libdir=* | --libdi=* | --libd=*)
461 libdir=$ac_optarg ;;
462
463 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
464 | --libexe | --libex | --libe)
465 ac_prev=libexecdir ;;
466 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
467 | --libexe=* | --libex=* | --libe=*)
468 libexecdir=$ac_optarg ;;
469
470 -localstatedir | --localstatedir | --localstatedi | --localstated \
471 | --localstate | --localstat | --localsta | --localst \
472 | --locals | --local | --loca | --loc | --lo)
473 ac_prev=localstatedir ;;
474 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
475 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
476 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
477 localstatedir=$ac_optarg ;;
478
479 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
480 ac_prev=mandir ;;
481 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
482 mandir=$ac_optarg ;;
483
484 -nfp | --nfp | --nf)
485 # Obsolete; use --without-fp.
486 with_fp=no ;;
487
488 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
489 | --no-cr | --no-c | -n)
490 no_create=yes ;;
491
492 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
493 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
494 no_recursion=yes ;;
495
496 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
497 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
498 | --oldin | --oldi | --old | --ol | --o)
499 ac_prev=oldincludedir ;;
500 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
501 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
502 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
503 oldincludedir=$ac_optarg ;;
504
505 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
506 ac_prev=prefix ;;
507 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
508 prefix=$ac_optarg ;;
509
510 -program-prefix | --program-prefix | --program-prefi | --program-pref \
511 | --program-pre | --program-pr | --program-p)
512 ac_prev=program_prefix ;;
513 -program-prefix=* | --program-prefix=* | --program-prefi=* \
514 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
515 program_prefix=$ac_optarg ;;
516
517 -program-suffix | --program-suffix | --program-suffi | --program-suff \
518 | --program-suf | --program-su | --program-s)
519 ac_prev=program_suffix ;;
520 -program-suffix=* | --program-suffix=* | --program-suffi=* \
521 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
522 program_suffix=$ac_optarg ;;
523
524 -program-transform-name | --program-transform-name \
525 | --program-transform-nam | --program-transform-na \
526 | --program-transform-n | --program-transform- \
527 | --program-transform | --program-transfor \
528 | --program-transfo | --program-transf \
529 | --program-trans | --program-tran \
530 | --progr-tra | --program-tr | --program-t)
531 ac_prev=program_transform_name ;;
532 -program-transform-name=* | --program-transform-name=* \
533 | --program-transform-nam=* | --program-transform-na=* \
534 | --program-transform-n=* | --program-transform-=* \
535 | --program-transform=* | --program-transfor=* \
536 | --program-transfo=* | --program-transf=* \
537 | --program-trans=* | --program-tran=* \
538 | --progr-tra=* | --program-tr=* | --program-t=*)
539 program_transform_name=$ac_optarg ;;
540
541 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
542 | -silent | --silent | --silen | --sile | --sil)
543 silent=yes ;;
544
545 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
546 ac_prev=sbindir ;;
547 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
548 | --sbi=* | --sb=*)
549 sbindir=$ac_optarg ;;
550
551 -sharedstatedir | --sharedstatedir | --sharedstatedi \
552 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
553 | --sharedst | --shareds | --shared | --share | --shar \
554 | --sha | --sh)
555 ac_prev=sharedstatedir ;;
556 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
557 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
558 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
559 | --sha=* | --sh=*)
560 sharedstatedir=$ac_optarg ;;
561
562 -site | --site | --sit)
563 ac_prev=site ;;
564 -site=* | --site=* | --sit=*)
565 site=$ac_optarg ;;
566
567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
568 ac_prev=srcdir ;;
569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
570 srcdir=$ac_optarg ;;
571
572 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
573 | --syscon | --sysco | --sysc | --sys | --sy)
574 ac_prev=sysconfdir ;;
575 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
576 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
577 sysconfdir=$ac_optarg ;;
578
579 -target | --target | --targe | --targ | --tar | --ta | --t)
580 ac_prev=target_alias ;;
581 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
582 target_alias=$ac_optarg ;;
583
584 -v | -verbose | --verbose | --verbos | --verbo | --verb)
585 verbose=yes ;;
586
587 -version | --version | --versio | --versi | --vers | -V)
588 ac_init_version=: ;;
589
590 -with-* | --with-*)
591 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
592 # Reject names that are not valid shell variable names.
593 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
594 { echo "$as_me: error: invalid package name: $ac_package" >&2
595 { (exit 1); exit 1; }; }
596 ac_package=`echo $ac_package| sed 's/-/_/g'`
597 case $ac_option in
598 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
599 *) ac_optarg=yes ;;
600 esac
601 eval "with_$ac_package='$ac_optarg'" ;;
602
603 -without-* | --without-*)
604 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
605 # Reject names that are not valid shell variable names.
606 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
607 { echo "$as_me: error: invalid package name: $ac_package" >&2
608 { (exit 1); exit 1; }; }
609 ac_package=`echo $ac_package | sed 's/-/_/g'`
610 eval "with_$ac_package=no" ;;
611
612 --x)
613 # Obsolete; use --with-x.
614 with_x=yes ;;
615
616 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
617 | --x-incl | --x-inc | --x-in | --x-i)
618 ac_prev=x_includes ;;
619 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
620 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
621 x_includes=$ac_optarg ;;
622
623 -x-libraries | --x-libraries | --x-librarie | --x-librari \
624 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
625 ac_prev=x_libraries ;;
626 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
627 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
628 x_libraries=$ac_optarg ;;
629
630 -*) { echo "$as_me: error: unrecognized option: $ac_option
631 Try \`$0 --help' for more information." >&2
632 { (exit 1); exit 1; }; }
633 ;;
634
635 *=*)
636 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
637 # Reject names that are not valid shell variable names.
638 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
639 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
640 { (exit 1); exit 1; }; }
641 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
642 eval "$ac_envvar='$ac_optarg'"
643 export $ac_envvar ;;
644
645 *)
646 # FIXME: should be removed in autoconf 3.0.
647 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
648 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
649 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
650 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
651 ;;
652
653 esac
654 done
655
656 if test -n "$ac_prev"; then
657 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
658 { echo "$as_me: error: missing argument to $ac_option" >&2
659 { (exit 1); exit 1; }; }
660 fi
661
662 # Be sure to have absolute paths.
663 for ac_var in exec_prefix prefix
664 do
665 eval ac_val=$`echo $ac_var`
666 case $ac_val in
667 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
668 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
669 { (exit 1); exit 1; }; };;
670 esac
671 done
672
673 # Be sure to have absolute paths.
674 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
675 localstatedir libdir includedir oldincludedir infodir mandir
676 do
677 eval ac_val=$`echo $ac_var`
678 case $ac_val in
679 [\\/$]* | ?:[\\/]* ) ;;
680 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
681 { (exit 1); exit 1; }; };;
682 esac
683 done
684
685 # There might be people who depend on the old broken behavior: `$host'
686 # used to hold the argument of --host etc.
687 # FIXME: To remove some day.
688 build=$build_alias
689 host=$host_alias
690 target=$target_alias
691
692 # FIXME: To remove some day.
693 if test "x$host_alias" != x; then
694 if test "x$build_alias" = x; then
695 cross_compiling=maybe
696 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
697 If a cross compiler is detected then cross compile mode will be used." >&2
698 elif test "x$build_alias" != "x$host_alias"; then
699 cross_compiling=yes
700 fi
701 fi
702
703 ac_tool_prefix=
704 test -n "$host_alias" && ac_tool_prefix=$host_alias-
705
706 test "$silent" = yes && exec 6>/dev/null
707
708
709 # Find the source files, if location was not specified.
710 if test -z "$srcdir"; then
711 ac_srcdir_defaulted=yes
712 # Try the directory containing this script, then its parent.
713 ac_confdir=`(dirname "$0") 2>/dev/null ||
714 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
715 X"$0" : 'X\(//\)[^/]' \| \
716 X"$0" : 'X\(//\)$' \| \
717 X"$0" : 'X\(/\)' \| \
718 . : '\(.\)' 2>/dev/null ||
719 echo X"$0" |
720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
721 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
722 /^X\(\/\/\)$/{ s//\1/; q; }
723 /^X\(\/\).*/{ s//\1/; q; }
724 s/.*/./; q'`
725 srcdir=$ac_confdir
726 if test ! -r $srcdir/$ac_unique_file; then
727 srcdir=..
728 fi
729 else
730 ac_srcdir_defaulted=no
731 fi
732 if test ! -r $srcdir/$ac_unique_file; then
733 if test "$ac_srcdir_defaulted" = yes; then
734 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
735 { (exit 1); exit 1; }; }
736 else
737 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
738 { (exit 1); exit 1; }; }
739 fi
740 fi
741 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
742 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
743 { (exit 1); exit 1; }; }
744 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
745 ac_env_build_alias_set=${build_alias+set}
746 ac_env_build_alias_value=$build_alias
747 ac_cv_env_build_alias_set=${build_alias+set}
748 ac_cv_env_build_alias_value=$build_alias
749 ac_env_host_alias_set=${host_alias+set}
750 ac_env_host_alias_value=$host_alias
751 ac_cv_env_host_alias_set=${host_alias+set}
752 ac_cv_env_host_alias_value=$host_alias
753 ac_env_target_alias_set=${target_alias+set}
754 ac_env_target_alias_value=$target_alias
755 ac_cv_env_target_alias_set=${target_alias+set}
756 ac_cv_env_target_alias_value=$target_alias
757 ac_env_CC_set=${CC+set}
758 ac_env_CC_value=$CC
759 ac_cv_env_CC_set=${CC+set}
760 ac_cv_env_CC_value=$CC
761 ac_env_CFLAGS_set=${CFLAGS+set}
762 ac_env_CFLAGS_value=$CFLAGS
763 ac_cv_env_CFLAGS_set=${CFLAGS+set}
764 ac_cv_env_CFLAGS_value=$CFLAGS
765 ac_env_LDFLAGS_set=${LDFLAGS+set}
766 ac_env_LDFLAGS_value=$LDFLAGS
767 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
768 ac_cv_env_LDFLAGS_value=$LDFLAGS
769 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
770 ac_env_CPPFLAGS_value=$CPPFLAGS
771 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
772 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
773 ac_env_CPP_set=${CPP+set}
774 ac_env_CPP_value=$CPP
775 ac_cv_env_CPP_set=${CPP+set}
776 ac_cv_env_CPP_value=$CPP
777 ac_env_CXX_set=${CXX+set}
778 ac_env_CXX_value=$CXX
779 ac_cv_env_CXX_set=${CXX+set}
780 ac_cv_env_CXX_value=$CXX
781 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
782 ac_env_CXXFLAGS_value=$CXXFLAGS
783 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
784 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
785 ac_env_CXXCPP_set=${CXXCPP+set}
786 ac_env_CXXCPP_value=$CXXCPP
787 ac_cv_env_CXXCPP_set=${CXXCPP+set}
788 ac_cv_env_CXXCPP_value=$CXXCPP
789 ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
790 ac_env_PKG_CONFIG_value=$PKG_CONFIG
791 ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
792 ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
793 ac_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
794 ac_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
795 ac_cv_env_DIRECTFB_CFLAGS_set=${DIRECTFB_CFLAGS+set}
796 ac_cv_env_DIRECTFB_CFLAGS_value=$DIRECTFB_CFLAGS
797 ac_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
798 ac_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
799 ac_cv_env_DIRECTFB_LIBS_set=${DIRECTFB_LIBS+set}
800 ac_cv_env_DIRECTFB_LIBS_value=$DIRECTFB_LIBS
801 ac_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
802 ac_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
803 ac_cv_env_PANGOX_CFLAGS_set=${PANGOX_CFLAGS+set}
804 ac_cv_env_PANGOX_CFLAGS_value=$PANGOX_CFLAGS
805 ac_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
806 ac_env_PANGOX_LIBS_value=$PANGOX_LIBS
807 ac_cv_env_PANGOX_LIBS_set=${PANGOX_LIBS+set}
808 ac_cv_env_PANGOX_LIBS_value=$PANGOX_LIBS
809 ac_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
810 ac_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
811 ac_cv_env_PANGOFT2_CFLAGS_set=${PANGOFT2_CFLAGS+set}
812 ac_cv_env_PANGOFT2_CFLAGS_value=$PANGOFT2_CFLAGS
813 ac_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
814 ac_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
815 ac_cv_env_PANGOFT2_LIBS_set=${PANGOFT2_LIBS+set}
816 ac_cv_env_PANGOFT2_LIBS_value=$PANGOFT2_LIBS
817 ac_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
818 ac_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
819 ac_cv_env_PANGOXFT_CFLAGS_set=${PANGOXFT_CFLAGS+set}
820 ac_cv_env_PANGOXFT_CFLAGS_value=$PANGOXFT_CFLAGS
821 ac_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
822 ac_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
823 ac_cv_env_PANGOXFT_LIBS_set=${PANGOXFT_LIBS+set}
824 ac_cv_env_PANGOXFT_LIBS_value=$PANGOXFT_LIBS
825 ac_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
826 ac_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
827 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_set=${LIBGNOMEPRINTUI_CFLAGS+set}
828 ac_cv_env_LIBGNOMEPRINTUI_CFLAGS_value=$LIBGNOMEPRINTUI_CFLAGS
829 ac_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
830 ac_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
831 ac_cv_env_LIBGNOMEPRINTUI_LIBS_set=${LIBGNOMEPRINTUI_LIBS+set}
832 ac_cv_env_LIBGNOMEPRINTUI_LIBS_value=$LIBGNOMEPRINTUI_LIBS
833 ac_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
834 ac_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
835 ac_cv_env_GNOMEVFS_CFLAGS_set=${GNOMEVFS_CFLAGS+set}
836 ac_cv_env_GNOMEVFS_CFLAGS_value=$GNOMEVFS_CFLAGS
837 ac_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
838 ac_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
839 ac_cv_env_GNOMEVFS_LIBS_set=${GNOMEVFS_LIBS+set}
840 ac_cv_env_GNOMEVFS_LIBS_value=$GNOMEVFS_LIBS
841 ac_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
842 ac_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
843 ac_cv_env_HILDON_CFLAGS_set=${HILDON_CFLAGS+set}
844 ac_cv_env_HILDON_CFLAGS_value=$HILDON_CFLAGS
845 ac_env_HILDON_LIBS_set=${HILDON_LIBS+set}
846 ac_env_HILDON_LIBS_value=$HILDON_LIBS
847 ac_cv_env_HILDON_LIBS_set=${HILDON_LIBS+set}
848 ac_cv_env_HILDON_LIBS_value=$HILDON_LIBS
849 ac_env_GST_CFLAGS_set=${GST_CFLAGS+set}
850 ac_env_GST_CFLAGS_value=$GST_CFLAGS
851 ac_cv_env_GST_CFLAGS_set=${GST_CFLAGS+set}
852 ac_cv_env_GST_CFLAGS_value=$GST_CFLAGS
853 ac_env_GST_LIBS_set=${GST_LIBS+set}
854 ac_env_GST_LIBS_value=$GST_LIBS
855 ac_cv_env_GST_LIBS_set=${GST_LIBS+set}
856 ac_cv_env_GST_LIBS_value=$GST_LIBS
857
858 #
859 # Report the --help message.
860 #
861 if test "$ac_init_help" = "long"; then
862 # Omit some internal or obsolete options to make the list less imposing.
863 # This message is too long to be a string in the A/UX 3.1 sh.
864 cat <<_ACEOF
865 \`configure' configures wxWidgets 2.7.0 to adapt to many kinds of systems.
866
867 Usage: $0 [OPTION]... [VAR=VALUE]...
868
869 To assign environment variables (e.g., CC, CFLAGS...), specify them as
870 VAR=VALUE. See below for descriptions of some of the useful variables.
871
872 Defaults for the options are specified in brackets.
873
874 Configuration:
875 -h, --help display this help and exit
876 --help=short display options specific to this package
877 --help=recursive display the short help of all the included packages
878 -V, --version display version information and exit
879 -q, --quiet, --silent do not print \`checking...' messages
880 --cache-file=FILE cache test results in FILE [disabled]
881 -C, --config-cache alias for \`--cache-file=config.cache'
882 -n, --no-create do not create output files
883 --srcdir=DIR find the sources in DIR [configure dir or \`..']
884
885 _ACEOF
886
887 cat <<_ACEOF
888 Installation directories:
889 --prefix=PREFIX install architecture-independent files in PREFIX
890 [$ac_default_prefix]
891 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
892 [PREFIX]
893
894 By default, \`make install' will install all the files in
895 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
896 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
897 for instance \`--prefix=\$HOME'.
898
899 For better control, use the options below.
900
901 Fine tuning of the installation directories:
902 --bindir=DIR user executables [EPREFIX/bin]
903 --sbindir=DIR system admin executables [EPREFIX/sbin]
904 --libexecdir=DIR program executables [EPREFIX/libexec]
905 --datadir=DIR read-only architecture-independent data [PREFIX/share]
906 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
907 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
908 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
909 --libdir=DIR object code libraries [EPREFIX/lib]
910 --includedir=DIR C header files [PREFIX/include]
911 --oldincludedir=DIR C header files for non-gcc [/usr/include]
912 --infodir=DIR info documentation [PREFIX/info]
913 --mandir=DIR man documentation [PREFIX/man]
914 _ACEOF
915
916 cat <<\_ACEOF
917
918 X features:
919 --x-includes=DIR X include files are in DIR
920 --x-libraries=DIR X library files are in DIR
921
922 System types:
923 --build=BUILD configure for building on BUILD [guessed]
924 --host=HOST cross-compile to build programs to run on HOST [BUILD]
925 --target=TARGET configure for building compilers for TARGET [HOST]
926 _ACEOF
927 fi
928
929 if test -n "$ac_init_help"; then
930 case $ac_init_help in
931 short | recursive ) echo "Configuration of wxWidgets 2.7.0:";;
932 esac
933 cat <<\_ACEOF
934
935 Optional Features:
936 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
937 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
938 --enable-gui use GUI classes
939 --enable-monolithic build wxWidgets as single library
940 --enable-plugins build parts of wxWidgets as loadable components
941 --enable-universal use wxWidgets GUI controls instead of native ones
942 --enable-nanox use NanoX
943 --disable-gtk2 use GTK+ 1.2 instead of 2.0
944 --enable-gpe use GNOME PDA Environment features if possible
945 --enable-shared create shared library code
946 --enable-optimise create optimised code
947 --enable-debug same as debug_flag and debug_info
948 --enable-stl use STL for containers
949 --enable-omf use OMF object format
950 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
951 --enable-debug_info create code with debugging information
952 --enable-debug_gdb create code with extra GDB debugging information
953 --enable-debug_cntxt use wxDebugContext
954 --enable-mem_tracing create code with memory tracing
955 --enable-profile create code with profiling information
956 --enable-no_rtti create code without RTTI information
957 --enable-no_exceptions create code without C++ exceptions handling
958 --enable-permissive compile code disregarding strict ANSI
959 --enable-no_deps create code without dependency information
960 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
961 --enable-compat24 enable wxWidgets 2.4 compatibility
962 --disable-compat26 disable wxWidgets 2.6 compatibility
963 --disable-rpath disable use of rpath for uninstalled builds
964 --enable-intl use internationalization system
965 --enable-config use wxConfig (and derived) classes
966 --enable-protocols use wxProtocol and derived classes
967 --enable-ftp use wxFTP (requires wxProtocol
968 --enable-http use wxHTTP (requires wxProtocol
969 --enable-fileproto use wxFileProto class (requires wxProtocol
970 --enable-sockets use socket/network classes
971 --enable-ole use OLE classes (Win32 only)
972 --enable-dataobj use data object classes
973 --enable-ipc use interprocess communication (wxSocket etc.)
974 --enable-apple_ieee use the Apple IEEE codec
975 --enable-arcstream use wxArchive streams
976 --enable-backtrace use wxStackWalker class for getting backtraces
977 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
978 --enable-cmdline use wxCmdLineParser class
979 --enable-datetime use wxDateTime class
980 --enable-debugreport use wxDebugReport class
981 --enable-dialupman use dialup network classes
982 --enable-dynlib use wxLibrary class for DLL loading
983 --enable-dynamicloader use (new) wxDynamicLibrary class
984 --enable-exceptions build exception-safe library
985 --enable-ffile use wxFFile class
986 --enable-file use wxFile class
987 --enable-filesystem use virtual file systems classes
988 --enable-fontmap use font encodings conversion classes
989 --enable-fs_inet use virtual HTTP/FTP filesystems
990 --enable-fs_zip use virtual ZIP filesystems
991 --enable-geometry use geometry class
992 --enable-log use logging system
993 --enable-longlong use wxLongLong class
994 --enable-mimetype use wxMimeTypesManager
995 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
996 --enable-snglinst use wxSingleInstanceChecker class
997 --enable-std_iostreams use standard C++ stream classes
998 --enable-std_string use standard C++ string classes
999 --enable-stdpaths use wxStandardPaths class
1000 --enable-stopwatch use wxStopWatch class
1001 --enable-streams use wxStream etc classes
1002 --enable-sysoptions use wxSystemOptions
1003 --enable-textbuf use wxTextBuffer class
1004 --enable-textfile use wxTextFile class
1005 --enable-timer use wxTimer class
1006 --enable-unicode compile wxString with Unicode support
1007 --enable-sound use wxSound class
1008 --enable-mediactrl use wxMediaCtrl class
1009 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1010 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1011 --enable-zipstream use wxZip streams
1012 --enable-url use wxURL class
1013 --enable-variant use wxVariant class
1014 --enable-protocol use wxProtocol class
1015 --enable-protocol-http HTTP support in wxProtocol
1016 --enable-protocol-ftp FTP support in wxProtocol
1017 --enable-protocol-file FILE support in wxProtocol
1018 --enable-threads use threads
1019 --enable-docview use document view architecture
1020 --enable-help use help subsystem
1021 --enable-mshtmlhelp use MS HTML Help (win32)
1022 --enable-html use wxHTML sub-library
1023 --enable-htmlhelp use wxHTML-based help
1024 --enable-xrc use XRC resources sub-library
1025 --enable-aui use AUI docking library
1026 --enable-constraints use layout-constraints system
1027 --enable-printarch use printing architecture
1028 --enable-mdi use multiple document interface architecture
1029 --enable-mdidoc use docview architecture with MDI
1030 --enable-loggui use standard GUI logger
1031 --enable-logwin use wxLogWindow
1032 --enable-logdialog use wxLogDialog
1033 --enable-webkit use wxWebKitCtrl (Mac)
1034 --enable-richtext use wxRichTextCtrl
1035 --enable-graphics_ctx use graphics context 2D drawing API
1036 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1037 --enable-prologio not available; see contrib
1038 --enable-resources not available; see contrib
1039 --enable-clipboard use wxClipboard class
1040 --enable-dnd use Drag'n'Drop classes
1041 --enable-metafile use win32 metafiles
1042 --enable-controls use all usual controls
1043 --enable-accel use accelerators
1044 --enable-button use wxButton class
1045 --enable-bmpbutton use wxBitmapButton class
1046 --enable-bmpcombobox use wxBitmapComboBox class
1047 --enable-calendar use wxCalendarCtrl class
1048 --enable-caret use wxCaret class
1049 --enable-checkbox use wxCheckBox class
1050 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1051 --enable-choice use wxChoice class
1052 --enable-choicebook use wxChoicebook class
1053 --enable-colourpicker use wxColourPickerCtrl class
1054 --enable-combobox use wxComboBox class
1055 --enable-comboctrl use wxComboCtrl class
1056 --enable-datepick use wxDatePickerCtrl class
1057 --enable-dirpicker use wxDirPickerCtrl class
1058 --enable-display use wxDisplay class
1059 --enable-filepicker use wxFilePickerCtrl class
1060 --enable-fontpicker use wxFontPickerCtrl class
1061 --enable-gauge use wxGauge class
1062 --enable-grid use wxGrid class
1063 --enable-dataviewctrl, use wxDataViewCtrl class
1064 --enable-hyperlink use wxHyperlinkCtrl class
1065 --enable-imaglist use wxImageList class
1066 --enable-listbook use wxListbook class
1067 --enable-listbox use wxListBox class
1068 --enable-listctrl use wxListCtrl class
1069 --enable-notebook use wxNotebook class
1070 --enable-odcombobox use wxOwnerDrawnComboBox class
1071 --enable-radiobox use wxRadioBox class
1072 --enable-radiobtn use wxRadioButton class
1073 --enable-sash use wxSashWindow class
1074 --enable-scrollbar use wxScrollBar class and scrollable windows
1075 --enable-slider use wxSlider class
1076 --enable-spinbtn use wxSpinButton class
1077 --enable-spinctrl use wxSpinCtrl class
1078 --enable-splitter use wxSplitterWindow class
1079 --enable-statbmp use wxStaticBitmap class
1080 --enable-statbox use wxStaticBox class
1081 --enable-statline use wxStaticLine class
1082 --enable-stattext use wxStaticText class
1083 --enable-statusbar use wxStatusBar class
1084 --enable-tabdialog use wxTabControl class
1085 --enable-textctrl use wxTextCtrl class
1086 --enable-togglebtn use wxToggleButton class
1087 --enable-toolbar use wxToolBar class
1088 --enable-tbarnative use native wxToolBar class
1089 --enable-treebook use wxTreebook class
1090 --enable-toolbook use wxToolbook class
1091 --enable-treectrl use wxTreeCtrl class
1092 --enable-tipwindow use wxTipWindow class
1093 --enable-popupwin use wxPopUpWindow class
1094 --enable-commondlg use all common dialogs
1095 --enable-aboutdlg use wxAboutBox
1096 --enable-choicedlg use wxChoiceDialog
1097 --enable-coldlg use wxColourDialog
1098 --enable-filedlg use wxFileDialog
1099 --enable-finddlg use wxFindReplaceDialog
1100 --enable-fontdlg use wxFontDialog
1101 --enable-dirdlg use wxDirDialog
1102 --enable-msgdlg use wxMessageDialog
1103 --enable-numberdlg use wxNumberEntryDialog
1104 --enable-splash use wxSplashScreen
1105 --enable-textdlg use wxTextDialog
1106 --enable-tipdlg use startup tips
1107 --enable-progressdlg use wxProgressDialog
1108 --enable-wizarddlg use wxWizard
1109 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1110 --enable-miniframe use wxMiniFrame class
1111 --enable-tooltips use wxToolTip class
1112 --enable-splines use spline drawing code
1113 --enable-mousewheel use mousewheel
1114 --enable-validators use wxValidator and derived classes
1115 --enable-busyinfo use wxBusyInfo
1116 --enable-joystick use wxJoystick
1117 --enable-metafiles use wxMetaFile (Win32 only)
1118 --enable-dragimage use wxDragImage
1119 --enable-accessibility enable accessibility support
1120 --enable-dccache cache temporary wxDC objects (Win32 only)
1121 --enable-palette use wxPalette class
1122 --enable-image use wxImage class
1123 --enable-gif use gif images (GIF file format)
1124 --enable-pcx use pcx images (PCX file format)
1125 --enable-iff use iff images (IFF file format)
1126 --enable-pnm use pnm images (PNM file format)
1127 --enable-xpm use xpm images (XPM file format)
1128 --enable-icocur use Windows ICO and CUR formats
1129 --enable-official_build official build of wxWidgets (win32 DLL only)
1130 --enable-vendor=VENDOR vendor name (win32 DLL only)
1131 --disable-largefile omit support for large files
1132 --disable-gtktest do not try to compile and run a test GTK+ program
1133 --disable-gtktest Do not try to compile and run a test GTK program
1134 --disable-sdltest Do not try to compile and run a test SDL program
1135 --enable-omf use OMF object format (OS/2)
1136 --disable-dependency-tracking
1137 don't use dependency tracking even if the compiler
1138 can
1139 --disable-precomp-headers
1140 don't use precompiled headers even if compiler can
1141
1142 Optional Packages:
1143 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1144 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1145 --without-subdirs don't generate makefiles for samples/demos/...
1146 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1147 --with-motif use Motif/Lesstif
1148 --with-mac use Mac OS X
1149 --with-cocoa use Cocoa
1150 --with-wine use Wine
1151 --with-msw use MS-Windows
1152 --with-pm use OS/2 Presentation Manager
1153 --with-mgl use SciTech MGL
1154 --with-directfb use DirectFB
1155 --with-microwin use MicroWindows
1156 --with-x11 use X11
1157 --with-libpng use libpng (PNG image format)
1158 --with-libjpeg use libjpeg (JPEG file format)
1159 --with-libtiff use libtiff (TIFF file format)
1160 --with-libxpm use libxpm (XPM file format)
1161 --with-libmspack use libmspack (CHM help files loading)
1162 --with-sdl use SDL for audio on Unix
1163 --with-gnomeprint use GNOME print for printing under GNOME
1164 --with-gnomevfs use GNOME VFS for associating MIME types
1165 --with-hildon use Hildon framework for Nokia 770
1166 --with-opengl use OpenGL (or Mesa)
1167 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1168 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1169 --with-regex enable support for wxRegEx class
1170 --with-zlib use zlib for LZW compression
1171 --with-odbc use the IODBC and wxODBC classes
1172 --with-expat enable XML support using expat parser
1173 --with-flavour=NAME specify a name to identify this build
1174 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1175 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1176 --with-x use the X Window System
1177 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1178 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1179 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1180 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1181 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1182
1183 Some influential environment variables:
1184 CC C compiler command
1185 CFLAGS C compiler flags
1186 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1187 nonstandard directory <lib dir>
1188 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1189 headers in a nonstandard directory <include dir>
1190 CPP C preprocessor
1191 CXX C++ compiler command
1192 CXXFLAGS C++ compiler flags
1193 CXXCPP C++ preprocessor
1194 PKG_CONFIG path to pkg-config utility
1195 DIRECTFB_CFLAGS
1196 C compiler flags for DIRECTFB, overriding pkg-config
1197 DIRECTFB_LIBS
1198 linker flags for DIRECTFB, overriding pkg-config
1199 PANGOX_CFLAGS
1200 C compiler flags for PANGOX, overriding pkg-config
1201 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1202 PANGOFT2_CFLAGS
1203 C compiler flags for PANGOFT2, overriding pkg-config
1204 PANGOFT2_LIBS
1205 linker flags for PANGOFT2, overriding pkg-config
1206 PANGOXFT_CFLAGS
1207 C compiler flags for PANGOXFT, overriding pkg-config
1208 PANGOXFT_LIBS
1209 linker flags for PANGOXFT, overriding pkg-config
1210 LIBGNOMEPRINTUI_CFLAGS
1211 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1212 LIBGNOMEPRINTUI_LIBS
1213 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1214 GNOMEVFS_CFLAGS
1215 C compiler flags for GNOMEVFS, overriding pkg-config
1216 GNOMEVFS_LIBS
1217 linker flags for GNOMEVFS, overriding pkg-config
1218 HILDON_CFLAGS
1219 C compiler flags for HILDON, overriding pkg-config
1220 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1221 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1222 GST_LIBS linker flags for GST, overriding pkg-config
1223
1224 Use these variables to override the choices made by `configure' or to help
1225 it to find libraries and programs with nonstandard names/locations.
1226
1227 Report bugs to <wx-dev@lists.wxwidgets.org>.
1228 _ACEOF
1229 fi
1230
1231 if test "$ac_init_help" = "recursive"; then
1232 # If there are subdirs, report their specific --help.
1233 ac_popdir=`pwd`
1234 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1235 test -d $ac_dir || continue
1236 ac_builddir=.
1237
1238 if test "$ac_dir" != .; then
1239 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1240 # A "../" for each directory in $ac_dir_suffix.
1241 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1242 else
1243 ac_dir_suffix= ac_top_builddir=
1244 fi
1245
1246 case $srcdir in
1247 .) # No --srcdir option. We are building in place.
1248 ac_srcdir=.
1249 if test -z "$ac_top_builddir"; then
1250 ac_top_srcdir=.
1251 else
1252 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1253 fi ;;
1254 [\\/]* | ?:[\\/]* ) # Absolute path.
1255 ac_srcdir=$srcdir$ac_dir_suffix;
1256 ac_top_srcdir=$srcdir ;;
1257 *) # Relative path.
1258 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1259 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1260 esac
1261
1262 # Do not use `cd foo && pwd` to compute absolute paths, because
1263 # the directories may not exist.
1264 case `pwd` in
1265 .) ac_abs_builddir="$ac_dir";;
1266 *)
1267 case "$ac_dir" in
1268 .) ac_abs_builddir=`pwd`;;
1269 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1270 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1271 esac;;
1272 esac
1273 case $ac_abs_builddir in
1274 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1275 *)
1276 case ${ac_top_builddir}. in
1277 .) ac_abs_top_builddir=$ac_abs_builddir;;
1278 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1279 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1280 esac;;
1281 esac
1282 case $ac_abs_builddir in
1283 .) ac_abs_srcdir=$ac_srcdir;;
1284 *)
1285 case $ac_srcdir in
1286 .) ac_abs_srcdir=$ac_abs_builddir;;
1287 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1288 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1289 esac;;
1290 esac
1291 case $ac_abs_builddir in
1292 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1293 *)
1294 case $ac_top_srcdir in
1295 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1296 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1297 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1298 esac;;
1299 esac
1300
1301 cd $ac_dir
1302 # Check for guested configure; otherwise get Cygnus style configure.
1303 if test -f $ac_srcdir/configure.gnu; then
1304 echo
1305 $SHELL $ac_srcdir/configure.gnu --help=recursive
1306 elif test -f $ac_srcdir/configure; then
1307 echo
1308 $SHELL $ac_srcdir/configure --help=recursive
1309 elif test -f $ac_srcdir/configure.ac ||
1310 test -f $ac_srcdir/configure.in; then
1311 echo
1312 $ac_configure --help
1313 else
1314 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1315 fi
1316 cd "$ac_popdir"
1317 done
1318 fi
1319
1320 test -n "$ac_init_help" && exit 0
1321 if $ac_init_version; then
1322 cat <<\_ACEOF
1323 wxWidgets configure 2.7.0
1324 generated by GNU Autoconf 2.59
1325
1326 Copyright (C) 2003 Free Software Foundation, Inc.
1327 This configure script is free software; the Free Software Foundation
1328 gives unlimited permission to copy, distribute and modify it.
1329 _ACEOF
1330 exit 0
1331 fi
1332 exec 5>config.log
1333 cat >&5 <<_ACEOF
1334 This file contains any messages produced by compilers while
1335 running configure, to aid debugging if configure makes a mistake.
1336
1337 It was created by wxWidgets $as_me 2.7.0, which was
1338 generated by GNU Autoconf 2.59. Invocation command line was
1339
1340 $ $0 $@
1341
1342 _ACEOF
1343 {
1344 cat <<_ASUNAME
1345 ## --------- ##
1346 ## Platform. ##
1347 ## --------- ##
1348
1349 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1350 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1351 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1352 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1353 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1354
1355 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1356 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1357
1358 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1359 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1360 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1361 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1362 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1363 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1364 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1365
1366 _ASUNAME
1367
1368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1369 for as_dir in $PATH
1370 do
1371 IFS=$as_save_IFS
1372 test -z "$as_dir" && as_dir=.
1373 echo "PATH: $as_dir"
1374 done
1375
1376 } >&5
1377
1378 cat >&5 <<_ACEOF
1379
1380
1381 ## ----------- ##
1382 ## Core tests. ##
1383 ## ----------- ##
1384
1385 _ACEOF
1386
1387
1388 # Keep a trace of the command line.
1389 # Strip out --no-create and --no-recursion so they do not pile up.
1390 # Strip out --silent because we don't want to record it for future runs.
1391 # Also quote any args containing shell meta-characters.
1392 # Make two passes to allow for proper duplicate-argument suppression.
1393 ac_configure_args=
1394 ac_configure_args0=
1395 ac_configure_args1=
1396 ac_sep=
1397 ac_must_keep_next=false
1398 for ac_pass in 1 2
1399 do
1400 for ac_arg
1401 do
1402 case $ac_arg in
1403 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1404 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1405 | -silent | --silent | --silen | --sile | --sil)
1406 continue ;;
1407 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1408 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1409 esac
1410 case $ac_pass in
1411 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1412 2)
1413 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1414 if test $ac_must_keep_next = true; then
1415 ac_must_keep_next=false # Got value, back to normal.
1416 else
1417 case $ac_arg in
1418 *=* | --config-cache | -C | -disable-* | --disable-* \
1419 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1420 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1421 | -with-* | --with-* | -without-* | --without-* | --x)
1422 case "$ac_configure_args0 " in
1423 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1424 esac
1425 ;;
1426 -* ) ac_must_keep_next=true ;;
1427 esac
1428 fi
1429 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1430 # Get rid of the leading space.
1431 ac_sep=" "
1432 ;;
1433 esac
1434 done
1435 done
1436 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1437 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1438
1439 # When interrupted or exit'd, cleanup temporary files, and complete
1440 # config.log. We remove comments because anyway the quotes in there
1441 # would cause problems or look ugly.
1442 # WARNING: Be sure not to use single quotes in there, as some shells,
1443 # such as our DU 5.0 friend, will then `close' the trap.
1444 trap 'exit_status=$?
1445 # Save into config.log some information that might help in debugging.
1446 {
1447 echo
1448
1449 cat <<\_ASBOX
1450 ## ---------------- ##
1451 ## Cache variables. ##
1452 ## ---------------- ##
1453 _ASBOX
1454 echo
1455 # The following way of writing the cache mishandles newlines in values,
1456 {
1457 (set) 2>&1 |
1458 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1459 *ac_space=\ *)
1460 sed -n \
1461 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1462 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1463 ;;
1464 *)
1465 sed -n \
1466 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1467 ;;
1468 esac;
1469 }
1470 echo
1471
1472 cat <<\_ASBOX
1473 ## ----------------- ##
1474 ## Output variables. ##
1475 ## ----------------- ##
1476 _ASBOX
1477 echo
1478 for ac_var in $ac_subst_vars
1479 do
1480 eval ac_val=$`echo $ac_var`
1481 echo "$ac_var='"'"'$ac_val'"'"'"
1482 done | sort
1483 echo
1484
1485 if test -n "$ac_subst_files"; then
1486 cat <<\_ASBOX
1487 ## ------------- ##
1488 ## Output files. ##
1489 ## ------------- ##
1490 _ASBOX
1491 echo
1492 for ac_var in $ac_subst_files
1493 do
1494 eval ac_val=$`echo $ac_var`
1495 echo "$ac_var='"'"'$ac_val'"'"'"
1496 done | sort
1497 echo
1498 fi
1499
1500 if test -s confdefs.h; then
1501 cat <<\_ASBOX
1502 ## ----------- ##
1503 ## confdefs.h. ##
1504 ## ----------- ##
1505 _ASBOX
1506 echo
1507 sed "/^$/d" confdefs.h | sort
1508 echo
1509 fi
1510 test "$ac_signal" != 0 &&
1511 echo "$as_me: caught signal $ac_signal"
1512 echo "$as_me: exit $exit_status"
1513 } >&5
1514 rm -f core *.core &&
1515 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1516 exit $exit_status
1517 ' 0
1518 for ac_signal in 1 2 13 15; do
1519 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1520 done
1521 ac_signal=0
1522
1523 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1524 rm -rf conftest* confdefs.h
1525 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1526 echo >confdefs.h
1527
1528 # Predefined preprocessor variables.
1529
1530 cat >>confdefs.h <<_ACEOF
1531 #define PACKAGE_NAME "$PACKAGE_NAME"
1532 _ACEOF
1533
1534
1535 cat >>confdefs.h <<_ACEOF
1536 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1537 _ACEOF
1538
1539
1540 cat >>confdefs.h <<_ACEOF
1541 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1542 _ACEOF
1543
1544
1545 cat >>confdefs.h <<_ACEOF
1546 #define PACKAGE_STRING "$PACKAGE_STRING"
1547 _ACEOF
1548
1549
1550 cat >>confdefs.h <<_ACEOF
1551 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1552 _ACEOF
1553
1554
1555 # Let the site file select an alternate cache file if it wants to.
1556 # Prefer explicitly selected file to automatically selected ones.
1557 if test -z "$CONFIG_SITE"; then
1558 if test "x$prefix" != xNONE; then
1559 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1560 else
1561 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1562 fi
1563 fi
1564 for ac_site_file in $CONFIG_SITE; do
1565 if test -r "$ac_site_file"; then
1566 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1567 echo "$as_me: loading site script $ac_site_file" >&6;}
1568 sed 's/^/| /' "$ac_site_file" >&5
1569 . "$ac_site_file"
1570 fi
1571 done
1572
1573 if test -r "$cache_file"; then
1574 # Some versions of bash will fail to source /dev/null (special
1575 # files actually), so we avoid doing that.
1576 if test -f "$cache_file"; then
1577 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1578 echo "$as_me: loading cache $cache_file" >&6;}
1579 case $cache_file in
1580 [\\/]* | ?:[\\/]* ) . $cache_file;;
1581 *) . ./$cache_file;;
1582 esac
1583 fi
1584 else
1585 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1586 echo "$as_me: creating cache $cache_file" >&6;}
1587 >$cache_file
1588 fi
1589
1590 # Check that the precious variables saved in the cache have kept the same
1591 # value.
1592 ac_cache_corrupted=false
1593 for ac_var in `(set) 2>&1 |
1594 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1595 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1596 eval ac_new_set=\$ac_env_${ac_var}_set
1597 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1598 eval ac_new_val="\$ac_env_${ac_var}_value"
1599 case $ac_old_set,$ac_new_set in
1600 set,)
1601 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1602 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1603 ac_cache_corrupted=: ;;
1604 ,set)
1605 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1606 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1607 ac_cache_corrupted=: ;;
1608 ,);;
1609 *)
1610 if test "x$ac_old_val" != "x$ac_new_val"; then
1611 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1612 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1613 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1614 echo "$as_me: former value: $ac_old_val" >&2;}
1615 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1616 echo "$as_me: current value: $ac_new_val" >&2;}
1617 ac_cache_corrupted=:
1618 fi;;
1619 esac
1620 # Pass precious variables to config.status.
1621 if test "$ac_new_set" = set; then
1622 case $ac_new_val in
1623 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1624 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1625 *) ac_arg=$ac_var=$ac_new_val ;;
1626 esac
1627 case " $ac_configure_args " in
1628 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1629 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1630 esac
1631 fi
1632 done
1633 if $ac_cache_corrupted; then
1634 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1635 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1636 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1637 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1638 { (exit 1); exit 1; }; }
1639 fi
1640
1641 ac_ext=c
1642 ac_cpp='$CPP $CPPFLAGS'
1643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676 ac_aux_dir=
1677 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1678 if test -f $ac_dir/install-sh; then
1679 ac_aux_dir=$ac_dir
1680 ac_install_sh="$ac_aux_dir/install-sh -c"
1681 break
1682 elif test -f $ac_dir/install.sh; then
1683 ac_aux_dir=$ac_dir
1684 ac_install_sh="$ac_aux_dir/install.sh -c"
1685 break
1686 elif test -f $ac_dir/shtool; then
1687 ac_aux_dir=$ac_dir
1688 ac_install_sh="$ac_aux_dir/shtool install -c"
1689 break
1690 fi
1691 done
1692 if test -z "$ac_aux_dir"; then
1693 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1694 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1695 { (exit 1); exit 1; }; }
1696 fi
1697 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1698 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1699 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1700
1701 # Make sure we can run config.sub.
1702 $ac_config_sub sun4 >/dev/null 2>&1 ||
1703 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1704 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1705 { (exit 1); exit 1; }; }
1706
1707 echo "$as_me:$LINENO: checking build system type" >&5
1708 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1709 if test "${ac_cv_build+set}" = set; then
1710 echo $ECHO_N "(cached) $ECHO_C" >&6
1711 else
1712 ac_cv_build_alias=$build_alias
1713 test -z "$ac_cv_build_alias" &&
1714 ac_cv_build_alias=`$ac_config_guess`
1715 test -z "$ac_cv_build_alias" &&
1716 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1717 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1718 { (exit 1); exit 1; }; }
1719 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1720 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1721 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1722 { (exit 1); exit 1; }; }
1723
1724 fi
1725 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1726 echo "${ECHO_T}$ac_cv_build" >&6
1727 build=$ac_cv_build
1728 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1729 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1730 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1731
1732
1733 echo "$as_me:$LINENO: checking host system type" >&5
1734 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1735 if test "${ac_cv_host+set}" = set; then
1736 echo $ECHO_N "(cached) $ECHO_C" >&6
1737 else
1738 ac_cv_host_alias=$host_alias
1739 test -z "$ac_cv_host_alias" &&
1740 ac_cv_host_alias=$ac_cv_build_alias
1741 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1742 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1743 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1744 { (exit 1); exit 1; }; }
1745
1746 fi
1747 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1748 echo "${ECHO_T}$ac_cv_host" >&6
1749 host=$ac_cv_host
1750 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1751 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1752 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1753
1754
1755 echo "$as_me:$LINENO: checking target system type" >&5
1756 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1757 if test "${ac_cv_target+set}" = set; then
1758 echo $ECHO_N "(cached) $ECHO_C" >&6
1759 else
1760 ac_cv_target_alias=$target_alias
1761 test "x$ac_cv_target_alias" = "x" &&
1762 ac_cv_target_alias=$ac_cv_host_alias
1763 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1764 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1765 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1766 { (exit 1); exit 1; }; }
1767
1768 fi
1769 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1770 echo "${ECHO_T}$ac_cv_target" >&6
1771 target=$ac_cv_target
1772 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1773 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1774 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1775
1776
1777 # The aliases save the names the user supplied, while $host etc.
1778 # will get canonicalized.
1779 test -n "$target_alias" &&
1780 test "$program_prefix$program_suffix$program_transform_name" = \
1781 NONENONEs,x,x, &&
1782 program_prefix=${target_alias}-
1783
1784
1785
1786 wx_major_version_number=2
1787 wx_minor_version_number=7
1788 wx_release_number=0
1789 wx_subrelease_number=1
1790
1791 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
1792 WX_VERSION=$WX_RELEASE.$wx_release_number
1793 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
1794
1795 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
1796
1797
1798
1799
1800 USE_UNIX=1
1801 USE_OS2=0
1802 USE_WIN32=0
1803 USE_DOS=0
1804 USE_BEOS=0
1805 USE_MAC=0
1806
1807 USE_AIX=
1808 USE_BSD= USE_DARWIN= USE_FREEBSD=
1809 USE_GNU= USE_HPUX=
1810 USE_LINUX=
1811 USE_NETBSD=
1812 USE_OPENBSD=
1813 USE_OSF= USE_SGI=
1814 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
1815 USE_ULTRIX=
1816 USE_UNIXWARE=
1817
1818 USE_ALPHA=
1819
1820 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
1821
1822 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
1823
1824 DEFAULT_wxUSE_COCOA=0
1825 DEFAULT_wxUSE_GTK=0
1826 DEFAULT_wxUSE_MAC=0
1827 DEFAULT_wxUSE_MGL=0
1828 DEFAULT_wxUSE_MICROWIN=0
1829 DEFAULT_wxUSE_MOTIF=0
1830 DEFAULT_wxUSE_MSW=0
1831 DEFAULT_wxUSE_PM=0
1832 DEFAULT_wxUSE_X11=0
1833 DEFAULT_wxUSE_DFB=0
1834
1835 DEFAULT_DEFAULT_wxUSE_COCOA=0
1836 DEFAULT_DEFAULT_wxUSE_GTK=0
1837 DEFAULT_DEFAULT_wxUSE_MAC=0
1838 DEFAULT_DEFAULT_wxUSE_MGL=0
1839 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
1840 DEFAULT_DEFAULT_wxUSE_MOTIF=0
1841 DEFAULT_DEFAULT_wxUSE_MSW=0
1842 DEFAULT_DEFAULT_wxUSE_PM=0
1843 DEFAULT_DEFAULT_wxUSE_X11=0
1844 DEFAULT_DEFAULT_wxUSE_DFB=0
1845
1846 PROGRAM_EXT=
1847 SO_SUFFIX=so
1848 SAMPLES_RPATH_FLAG=
1849 SAMPLES_RPATH_POSTLINK=
1850
1851 DEFAULT_STD_FLAG=yes
1852
1853 case "${host}" in
1854 *-hp-hpux* )
1855 USE_HPUX=1
1856 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1857 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1858 SO_SUFFIX=sl
1859 cat >>confdefs.h <<\_ACEOF
1860 #define __HPUX__ 1
1861 _ACEOF
1862
1863
1864 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
1865 ;;
1866 *-*-linux* )
1867 USE_LINUX=1
1868 cat >>confdefs.h <<\_ACEOF
1869 #define __LINUX__ 1
1870 _ACEOF
1871
1872 TMP=`uname -m`
1873 if test "x$TMP" = "xalpha"; then
1874 USE_ALPHA=1
1875 cat >>confdefs.h <<\_ACEOF
1876 #define __ALPHA__ 1
1877 _ACEOF
1878
1879 fi
1880 DEFAULT_DEFAULT_wxUSE_GTK=1
1881 ;;
1882 *-*-gnu* | *-*-k*bsd*-gnu )
1883 USE_GNU=1
1884 TMP=`uname -m`
1885 if test "x$TMP" = "xalpha"; then
1886 USE_ALPHA=1
1887 cat >>confdefs.h <<\_ACEOF
1888 #define __ALPHA__ 1
1889 _ACEOF
1890
1891 fi
1892 DEFAULT_DEFAULT_wxUSE_GTK=1
1893 ;;
1894 *-*-irix5* | *-*-irix6* )
1895 USE_SGI=1
1896 USE_SVR4=1
1897 cat >>confdefs.h <<\_ACEOF
1898 #define __SGI__ 1
1899 _ACEOF
1900
1901 cat >>confdefs.h <<\_ACEOF
1902 #define __SVR4__ 1
1903 _ACEOF
1904
1905 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1906 ;;
1907 *-*-solaris2* )
1908 USE_SUN=1
1909 USE_SOLARIS=1
1910 USE_SVR4=1
1911 cat >>confdefs.h <<\_ACEOF
1912 #define __SUN__ 1
1913 _ACEOF
1914
1915 cat >>confdefs.h <<\_ACEOF
1916 #define __SOLARIS__ 1
1917 _ACEOF
1918
1919 cat >>confdefs.h <<\_ACEOF
1920 #define __SVR4__ 1
1921 _ACEOF
1922
1923 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1924 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1925 ;;
1926 *-*-sunos4* )
1927 USE_SUN=1
1928 USE_SUNOS=1
1929 USE_BSD=1
1930 cat >>confdefs.h <<\_ACEOF
1931 #define __SUN__ 1
1932 _ACEOF
1933
1934 cat >>confdefs.h <<\_ACEOF
1935 #define __SUNOS__ 1
1936 _ACEOF
1937
1938 cat >>confdefs.h <<\_ACEOF
1939 #define __BSD__ 1
1940 _ACEOF
1941
1942 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1943 ;;
1944 *-*-freebsd*)
1945 USE_BSD=1
1946 USE_FREEBSD=1
1947 cat >>confdefs.h <<\_ACEOF
1948 #define __FREEBSD__ 1
1949 _ACEOF
1950
1951 cat >>confdefs.h <<\_ACEOF
1952 #define __BSD__ 1
1953 _ACEOF
1954
1955 DEFAULT_DEFAULT_wxUSE_GTK=1
1956 ;;
1957 *-*-openbsd*|*-*-mirbsd*)
1958 USE_BSD=1
1959 USE_OPENBSD=1
1960 cat >>confdefs.h <<\_ACEOF
1961 #define __OPENBSD__ 1
1962 _ACEOF
1963
1964 cat >>confdefs.h <<\_ACEOF
1965 #define __BSD__ 1
1966 _ACEOF
1967
1968 DEFAULT_DEFAULT_wxUSE_GTK=1
1969 ;;
1970 *-*-netbsd*)
1971 USE_BSD=1
1972 USE_NETBSD=1
1973 cat >>confdefs.h <<\_ACEOF
1974 #define __NETBSD__ 1
1975 _ACEOF
1976
1977 cat >>confdefs.h <<\_ACEOF
1978 #define __BSD__ 1
1979 _ACEOF
1980
1981 DEFAULT_DEFAULT_wxUSE_GTK=1
1982 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1983
1984 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
1985 ;;
1986 *-*-osf* )
1987 USE_ALPHA=1
1988 USE_OSF=1
1989 cat >>confdefs.h <<\_ACEOF
1990 #define __ALPHA__ 1
1991 _ACEOF
1992
1993 cat >>confdefs.h <<\_ACEOF
1994 #define __OSF__ 1
1995 _ACEOF
1996
1997 DEFAULT_DEFAULT_wxUSE_MOTIF=1
1998 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
1999 ;;
2000 *-*-dgux5* )
2001 USE_ALPHA=1
2002 USE_SVR4=1
2003 cat >>confdefs.h <<\_ACEOF
2004 #define __ALPHA__ 1
2005 _ACEOF
2006
2007 cat >>confdefs.h <<\_ACEOF
2008 #define __SVR4__ 1
2009 _ACEOF
2010
2011 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2012 ;;
2013 *-*-sysv5* )
2014 USE_SYSV=1
2015 USE_SVR4=1
2016 cat >>confdefs.h <<\_ACEOF
2017 #define __SYSV__ 1
2018 _ACEOF
2019
2020 cat >>confdefs.h <<\_ACEOF
2021 #define __SVR4__ 1
2022 _ACEOF
2023
2024 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2025 ;;
2026 *-*-aix* )
2027 USE_AIX=1
2028 USE_SYSV=1
2029 USE_SVR4=1
2030 SO_SUFFIX=a
2031 cat >>confdefs.h <<\_ACEOF
2032 #define __AIX__ 1
2033 _ACEOF
2034
2035 cat >>confdefs.h <<\_ACEOF
2036 #define __SYSV__ 1
2037 _ACEOF
2038
2039 cat >>confdefs.h <<\_ACEOF
2040 #define __SVR4__ 1
2041 _ACEOF
2042
2043 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2044 ;;
2045
2046 *-*-*UnixWare*)
2047 USE_SYSV=1
2048 USE_SVR4=1
2049 USE_UNIXWARE=1
2050 cat >>confdefs.h <<\_ACEOF
2051 #define __UNIXWARE__ 1
2052 _ACEOF
2053
2054 ;;
2055
2056 *-*-cygwin* | *-*-mingw32* )
2057 SO_SUFFIX=dll
2058 PROGRAM_EXT=".exe"
2059 DEFAULT_DEFAULT_wxUSE_MSW=1
2060 DEFAULT_STD_FLAG=no
2061 ;;
2062
2063 *-pc-msdosdjgpp )
2064 USE_UNIX=0
2065 USE_DOS=1
2066 cat >>confdefs.h <<\_ACEOF
2067 #define __DOS__ 1
2068 _ACEOF
2069
2070 PROGRAM_EXT=".exe"
2071 DEFAULT_DEFAULT_wxUSE_MGL=1
2072 ;;
2073
2074 *-pc-os2_emx | *-pc-os2-emx )
2075 cat >>confdefs.h <<\_ACEOF
2076 #define __EMX__ 1
2077 _ACEOF
2078
2079 USE_OS2=1
2080 cat >>confdefs.h <<\_ACEOF
2081 #define __OS2__ 1
2082 _ACEOF
2083
2084 PROGRAM_EXT=".exe"
2085 DEFAULT_DEFAULT_wxUSE_PM=1
2086 CXX=gcc
2087 LDFLAGS="$LDFLAGS -Zcrtdll"
2088 ac_executable_extensions=".exe"
2089 export ac_executable_extensions
2090 ac_save_IFS="$IFS"
2091 IFS='\\'
2092 ac_TEMP_PATH=
2093 for ac_dir in $PATH; do
2094 IFS=$ac_save_IFS
2095 if test -z "$ac_TEMP_PATH"; then
2096 ac_TEMP_PATH="$ac_dir"
2097 else
2098 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2099 fi
2100 done
2101 export PATH="$ac_TEMP_PATH"
2102 unset ac_TEMP_PATH
2103 DEFAULT_STD_FLAG=no
2104 ;;
2105
2106 *-*-darwin* )
2107 USE_BSD=1
2108 USE_DARWIN=1
2109 SO_SUFFIX=dylib
2110 cat >>confdefs.h <<\_ACEOF
2111 #define __BSD__ 1
2112 _ACEOF
2113
2114 cat >>confdefs.h <<\_ACEOF
2115 #define __DARWIN__ 1
2116 _ACEOF
2117
2118 cat >>confdefs.h <<\_ACEOF
2119 #define TARGET_CARBON 1
2120 _ACEOF
2121
2122 DEFAULT_DEFAULT_wxUSE_MAC=1
2123 DEFAULT_STD_FLAG=no
2124 ;;
2125 powerpc-apple-macos* )
2126 USE_UNIX=0
2127 ac_cv_c_bigendian=yes
2128 SO_SUFFIX=shlib
2129 DEFAULT_DEFAULT_wxUSE_MAC=1
2130 DEFAULT_STD_FLAG=no
2131 ;;
2132
2133 *-*-beos* )
2134 USE_BEOS=1
2135 cat >>confdefs.h <<\_ACEOF
2136 #define __BEOS__ 1
2137 _ACEOF
2138
2139 ;;
2140
2141 *)
2142 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2143 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2144 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2145 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2146
2147 DEFAULT_DEFAULT_wxUSE_X11=1
2148 DEFAULT_wxUSE_SHARED=no
2149 esac
2150
2151
2152
2153
2154 wx_arg_cache_file="configarg.cache"
2155 echo "loading argument cache $wx_arg_cache_file"
2156 rm -f ${wx_arg_cache_file}.tmp
2157 touch ${wx_arg_cache_file}.tmp
2158 touch ${wx_arg_cache_file}
2159
2160
2161 DEBUG_CONFIGURE=0
2162 if test $DEBUG_CONFIGURE = 1; then
2163 DEFAULT_wxUSE_UNIVERSAL=no
2164 DEFAULT_wxUSE_STL=no
2165
2166 DEFAULT_wxUSE_NANOX=no
2167
2168 DEFAULT_wxUSE_THREADS=yes
2169
2170 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2171 DEFAULT_wxUSE_OPTIMISE=no
2172 DEFAULT_wxUSE_PROFILE=no
2173 DEFAULT_wxUSE_NO_DEPS=no
2174 DEFAULT_wxUSE_NO_RTTI=no
2175 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2176 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2177 DEFAULT_wxUSE_RPATH=yes
2178 DEFAULT_wxUSE_PERMISSIVE=no
2179 DEFAULT_wxUSE_DEBUG_FLAG=yes
2180 DEFAULT_wxUSE_DEBUG_INFO=yes
2181 DEFAULT_wxUSE_DEBUG_GDB=yes
2182 DEFAULT_wxUSE_MEM_TRACING=no
2183 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2184 DEFAULT_wxUSE_DMALLOC=no
2185 DEFAULT_wxUSE_APPLE_IEEE=no
2186
2187 DEFAULT_wxUSE_EXCEPTIONS=no
2188 DEFAULT_wxUSE_LOG=yes
2189 DEFAULT_wxUSE_LOGWINDOW=no
2190 DEFAULT_wxUSE_LOGGUI=no
2191 DEFAULT_wxUSE_LOGDIALOG=no
2192
2193 DEFAULT_wxUSE_GUI=yes
2194 DEFAULT_wxUSE_CONTROLS=no
2195
2196 DEFAULT_wxUSE_REGEX=no
2197 DEFAULT_wxUSE_XML=no
2198 DEFAULT_wxUSE_EXPAT=no
2199 DEFAULT_wxUSE_ZLIB=no
2200 DEFAULT_wxUSE_LIBPNG=no
2201 DEFAULT_wxUSE_LIBJPEG=no
2202 DEFAULT_wxUSE_LIBTIFF=no
2203 DEFAULT_wxUSE_LIBXPM=no
2204 DEFAULT_wxUSE_LIBMSPACK=no
2205 DEFAULT_wxUSE_LIBSDL=no
2206 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2207 DEFAULT_wxUSE_LIBGNOMEVFS=no
2208 DEFAULT_wxUSE_LIBHILDON=no
2209 DEFAULT_wxUSE_ODBC=no
2210 DEFAULT_wxUSE_OPENGL=no
2211
2212 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2213 DEFAULT_wxUSE_STACKWALKER=no
2214 DEFAULT_wxUSE_DEBUGREPORT=no
2215 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2216 DEFAULT_wxUSE_STD_IOSTREAM=no
2217 DEFAULT_wxUSE_STD_STRING=no
2218 DEFAULT_wxUSE_CMDLINE_PARSER=no
2219 DEFAULT_wxUSE_DATETIME=no
2220 DEFAULT_wxUSE_TIMER=no
2221 DEFAULT_wxUSE_STOPWATCH=no
2222 DEFAULT_wxUSE_FILE=no
2223 DEFAULT_wxUSE_FFILE=no
2224 DEFAULT_wxUSE_STDPATHS=no
2225 DEFAULT_wxUSE_TEXTBUFFER=no
2226 DEFAULT_wxUSE_TEXTFILE=no
2227 DEFAULT_wxUSE_SOUND=no
2228 DEFAULT_wxUSE_MEDIACTRL=no
2229 DEFAULT_wxUSE_GSTREAMER8=no
2230 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2231 DEFAULT_wxUSE_INTL=no
2232 DEFAULT_wxUSE_CONFIG=no
2233 DEFAULT_wxUSE_FONTMAP=no
2234 DEFAULT_wxUSE_STREAMS=no
2235 DEFAULT_wxUSE_SOCKETS=no
2236 DEFAULT_wxUSE_OLE=no
2237 DEFAULT_wxUSE_DATAOBJ=no
2238 DEFAULT_wxUSE_DIALUP_MANAGER=no
2239 DEFAULT_wxUSE_JOYSTICK=no
2240 DEFAULT_wxUSE_DYNLIB_CLASS=no
2241 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2242 DEFAULT_wxUSE_LONGLONG=no
2243 DEFAULT_wxUSE_GEOMETRY=no
2244
2245 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2246 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2247 DEFAULT_wxUSE_POSTSCRIPT=no
2248
2249 DEFAULT_wxUSE_CLIPBOARD=no
2250 DEFAULT_wxUSE_TOOLTIPS=no
2251 DEFAULT_wxUSE_DRAG_AND_DROP=no
2252 DEFAULT_wxUSE_DRAGIMAGE=no
2253 DEFAULT_wxUSE_SPLINES=no
2254 DEFAULT_wxUSE_MOUSEWHEEL=no
2255
2256 DEFAULT_wxUSE_MDI=no
2257 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2258 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2259 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2260
2261 DEFAULT_wxUSE_RESOURCES=no
2262 DEFAULT_wxUSE_CONSTRAINTS=no
2263 DEFAULT_wxUSE_IPC=no
2264 DEFAULT_wxUSE_HELP=no
2265 DEFAULT_wxUSE_MS_HTML_HELP=no
2266 DEFAULT_wxUSE_WXHTML_HELP=no
2267 DEFAULT_wxUSE_TREELAYOUT=no
2268 DEFAULT_wxUSE_METAFILE=no
2269 DEFAULT_wxUSE_MIMETYPE=no
2270 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
2271 DEFAULT_wxUSE_PROTOCOL=no
2272 DEFAULT_wxUSE_PROTOCOL_HTTP=no
2273 DEFAULT_wxUSE_PROTOCOL_FTP=no
2274 DEFAULT_wxUSE_PROTOCOL_FILE=no
2275 DEFAULT_wxUSE_URL=no
2276 DEFAULT_wxUSE_VARIANT=no
2277
2278 DEFAULT_wxUSE_ABOUTDLG=no
2279 DEFAULT_wxUSE_COMMONDLGS=no
2280 DEFAULT_wxUSE_CHOICEDLG=no
2281 DEFAULT_wxUSE_COLOURDLG=no
2282 DEFAULT_wxUSE_DIRDLG=no
2283 DEFAULT_wxUSE_FILEDLG=no
2284 DEFAULT_wxUSE_FINDREPLDLG=no
2285 DEFAULT_wxUSE_FONTDLG=no
2286 DEFAULT_wxUSE_MSGDLG=no
2287 DEFAULT_wxUSE_NUMBERDLG=no
2288 DEFAULT_wxUSE_TEXTDLG=no
2289 DEFAULT_wxUSE_SPLASH=no
2290 DEFAULT_wxUSE_STARTUP_TIPS=no
2291 DEFAULT_wxUSE_PROGRESSDLG=no
2292 DEFAULT_wxUSE_WIZARDDLG=no
2293
2294 DEFAULT_wxUSE_MENUS=no
2295 DEFAULT_wxUSE_MINIFRAME=no
2296 DEFAULT_wxUSE_HTML=no
2297 DEFAULT_wxUSE_RICHTEXT=no
2298 DEFAULT_wxUSE_XRC=no
2299 DEFAULT_wxUSE_AUI=no
2300 DEFAULT_wxUSE_WEBKIT=no
2301 DEFAULT_wxUSE_FILESYSTEM=no
2302 DEFAULT_wxUSE_FS_INET=no
2303 DEFAULT_wxUSE_FS_ZIP=no
2304 DEFAULT_wxUSE_BUSYINFO=no
2305 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
2306 DEFAULT_wxUSE_ZIPSTREAM=no
2307 DEFAULT_wxUSE_VALIDATORS=no
2308
2309 DEFAULT_wxUSE_ACCEL=no
2310 DEFAULT_wxUSE_BUTTON=no
2311 DEFAULT_wxUSE_BMPBUTTON=no
2312 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
2313 DEFAULT_wxUSE_CALCTRL=no
2314 DEFAULT_wxUSE_CARET=no
2315 DEFAULT_wxUSE_CHECKBOX=no
2316 DEFAULT_wxUSE_CHECKLST=no
2317 DEFAULT_wxUSE_CHOICE=no
2318 DEFAULT_wxUSE_CHOICEBOOK=no
2319 DEFAULT_wxUSE_COLOURPICKERCTRL=no
2320 DEFAULT_wxUSE_COMBOBOX=no
2321 DEFAULT_wxUSE_COMBOCTRL=no
2322 DEFAULT_wxUSE_DATEPICKCTRL=no
2323 DEFAULT_wxUSE_DISPLAY=no
2324 DEFAULT_wxUSE_DIRPICKERCTRL=no
2325 DEFAULT_wxUSE_FILEPICKERCTRL=no
2326 DEFAULT_wxUSE_FONTPICKERCTRL=no
2327 DEFAULT_wxUSE_GAUGE=no
2328 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2329 DEFAULT_wxUSE_GRID=no
2330 DEFAULT_wxUSE_HYPERLINKCTRL=no
2331 DEFAULT_wxUSE_DATAVIEWCTRL=no
2332 DEFAULT_wxUSE_IMAGLIST=no
2333 DEFAULT_wxUSE_LISTBOOK=no
2334 DEFAULT_wxUSE_LISTBOX=no
2335 DEFAULT_wxUSE_LISTCTRL=no
2336 DEFAULT_wxUSE_NOTEBOOK=no
2337 DEFAULT_wxUSE_ODCOMBOBOX=no
2338 DEFAULT_wxUSE_RADIOBOX=no
2339 DEFAULT_wxUSE_RADIOBTN=no
2340 DEFAULT_wxUSE_SASH=no
2341 DEFAULT_wxUSE_SCROLLBAR=no
2342 DEFAULT_wxUSE_SLIDER=no
2343 DEFAULT_wxUSE_SPINBTN=no
2344 DEFAULT_wxUSE_SPINCTRL=no
2345 DEFAULT_wxUSE_SPLITTER=no
2346 DEFAULT_wxUSE_STATBMP=no
2347 DEFAULT_wxUSE_STATBOX=no
2348 DEFAULT_wxUSE_STATLINE=no
2349 DEFAULT_wxUSE_STATTEXT=no
2350 DEFAULT_wxUSE_STATUSBAR=yes
2351 DEFAULT_wxUSE_TAB_DIALOG=no
2352 DEFAULT_wxUSE_TEXTCTRL=no
2353 DEFAULT_wxUSE_TOGGLEBTN=no
2354 DEFAULT_wxUSE_TOOLBAR=no
2355 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
2356 DEFAULT_wxUSE_TREEBOOK=no
2357 DEFAULT_wxUSE_TOOLBOOK=no
2358 DEFAULT_wxUSE_TREECTRL=no
2359 DEFAULT_wxUSE_POPUPWIN=no
2360 DEFAULT_wxUSE_TIPWINDOW=no
2361
2362 DEFAULT_wxUSE_UNICODE=no
2363 DEFAULT_wxUSE_UNICODE_MSLU=no
2364 DEFAULT_wxUSE_WCSRTOMBS=no
2365
2366 DEFAULT_wxUSE_PALETTE=no
2367 DEFAULT_wxUSE_IMAGE=no
2368 DEFAULT_wxUSE_GIF=no
2369 DEFAULT_wxUSE_PCX=no
2370 DEFAULT_wxUSE_PNM=no
2371 DEFAULT_wxUSE_IFF=no
2372 DEFAULT_wxUSE_XPM=no
2373 DEFAULT_wxUSE_ICO_CUR=no
2374 DEFAULT_wxUSE_ACCESSIBILITY=no
2375
2376 DEFAULT_wxUSE_MONOLITHIC=no
2377 DEFAULT_wxUSE_PLUGINS=no
2378 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2379 else
2380 DEFAULT_wxUSE_UNIVERSAL=no
2381 DEFAULT_wxUSE_STL=no
2382
2383 DEFAULT_wxUSE_NANOX=no
2384
2385 DEFAULT_wxUSE_THREADS=yes
2386
2387 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2388 DEFAULT_wxUSE_OPTIMISE=yes
2389 DEFAULT_wxUSE_PROFILE=no
2390 DEFAULT_wxUSE_NO_DEPS=no
2391 DEFAULT_wxUSE_NO_RTTI=no
2392 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2393 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2394 DEFAULT_wxUSE_RPATH=yes
2395 DEFAULT_wxUSE_PERMISSIVE=no
2396 DEFAULT_wxUSE_DEBUG_FLAG=no
2397 DEFAULT_wxUSE_DEBUG_INFO=no
2398 DEFAULT_wxUSE_DEBUG_GDB=no
2399 DEFAULT_wxUSE_MEM_TRACING=no
2400 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2401 DEFAULT_wxUSE_DMALLOC=no
2402 DEFAULT_wxUSE_APPLE_IEEE=yes
2403
2404 DEFAULT_wxUSE_EXCEPTIONS=yes
2405 DEFAULT_wxUSE_LOG=yes
2406 DEFAULT_wxUSE_LOGWINDOW=yes
2407 DEFAULT_wxUSE_LOGGUI=yes
2408 DEFAULT_wxUSE_LOGDIALOG=yes
2409
2410 DEFAULT_wxUSE_GUI=yes
2411
2412 DEFAULT_wxUSE_REGEX=yes
2413 DEFAULT_wxUSE_XML=yes
2414 DEFAULT_wxUSE_EXPAT=yes
2415 DEFAULT_wxUSE_ZLIB=yes
2416 DEFAULT_wxUSE_LIBPNG=yes
2417 DEFAULT_wxUSE_LIBJPEG=yes
2418 DEFAULT_wxUSE_LIBTIFF=yes
2419 DEFAULT_wxUSE_LIBXPM=yes
2420 DEFAULT_wxUSE_LIBMSPACK=yes
2421 DEFAULT_wxUSE_LIBSDL=no
2422 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2423 DEFAULT_wxUSE_LIBGNOMEVFS=no
2424 DEFAULT_wxUSE_LIBHILDON=no
2425 DEFAULT_wxUSE_ODBC=no
2426 DEFAULT_wxUSE_OPENGL=no
2427
2428 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
2429 DEFAULT_wxUSE_STACKWALKER=yes
2430 DEFAULT_wxUSE_DEBUGREPORT=yes
2431 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
2432 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2433 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2434 DEFAULT_wxUSE_CMDLINE_PARSER=yes
2435 DEFAULT_wxUSE_DATETIME=yes
2436 DEFAULT_wxUSE_TIMER=yes
2437 DEFAULT_wxUSE_STOPWATCH=yes
2438 DEFAULT_wxUSE_FILE=yes
2439 DEFAULT_wxUSE_FFILE=yes
2440 DEFAULT_wxUSE_STDPATHS=yes
2441 DEFAULT_wxUSE_TEXTBUFFER=yes
2442 DEFAULT_wxUSE_TEXTFILE=yes
2443 DEFAULT_wxUSE_SOUND=yes
2444 DEFAULT_wxUSE_MEDIACTRL=no
2445 DEFAULT_wxUSE_GSTREAMER8=no
2446 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
2447 DEFAULT_wxUSE_INTL=yes
2448 DEFAULT_wxUSE_CONFIG=yes
2449 DEFAULT_wxUSE_FONTMAP=yes
2450 DEFAULT_wxUSE_STREAMS=yes
2451 DEFAULT_wxUSE_SOCKETS=yes
2452 DEFAULT_wxUSE_OLE=yes
2453 DEFAULT_wxUSE_DATAOBJ=yes
2454 DEFAULT_wxUSE_DIALUP_MANAGER=yes
2455 DEFAULT_wxUSE_JOYSTICK=yes
2456 DEFAULT_wxUSE_DYNLIB_CLASS=yes
2457 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
2458 DEFAULT_wxUSE_LONGLONG=yes
2459 DEFAULT_wxUSE_GEOMETRY=yes
2460
2461 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
2462 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
2463 DEFAULT_wxUSE_POSTSCRIPT=yes
2464
2465 DEFAULT_wxUSE_CLIPBOARD=yes
2466 DEFAULT_wxUSE_TOOLTIPS=yes
2467 DEFAULT_wxUSE_DRAG_AND_DROP=yes
2468 DEFAULT_wxUSE_DRAGIMAGE=yes
2469 DEFAULT_wxUSE_SPLINES=yes
2470 DEFAULT_wxUSE_MOUSEWHEEL=yes
2471
2472 DEFAULT_wxUSE_MDI=yes
2473 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
2474 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
2475 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
2476
2477 DEFAULT_wxUSE_RESOURCES=no
2478 DEFAULT_wxUSE_CONSTRAINTS=yes
2479 DEFAULT_wxUSE_IPC=yes
2480 DEFAULT_wxUSE_HELP=yes
2481 DEFAULT_wxUSE_MS_HTML_HELP=yes
2482 DEFAULT_wxUSE_WXHTML_HELP=yes
2483 DEFAULT_wxUSE_TREELAYOUT=yes
2484 DEFAULT_wxUSE_METAFILE=yes
2485 DEFAULT_wxUSE_MIMETYPE=yes
2486 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
2487 DEFAULT_wxUSE_PROTOCOL=yes
2488 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
2489 DEFAULT_wxUSE_PROTOCOL_FTP=yes
2490 DEFAULT_wxUSE_PROTOCOL_FILE=yes
2491 DEFAULT_wxUSE_URL=yes
2492 DEFAULT_wxUSE_VARIANT=yes
2493
2494 DEFAULT_wxUSE_ABOUTDLG=yes
2495 DEFAULT_wxUSE_COMMONDLGS=yes
2496 DEFAULT_wxUSE_CHOICEDLG=yes
2497 DEFAULT_wxUSE_COLOURDLG=yes
2498 DEFAULT_wxUSE_DIRDLG=yes
2499 DEFAULT_wxUSE_FILEDLG=yes
2500 DEFAULT_wxUSE_FINDREPLDLG=yes
2501 DEFAULT_wxUSE_FONTDLG=yes
2502 DEFAULT_wxUSE_MSGDLG=yes
2503 DEFAULT_wxUSE_NUMBERDLG=yes
2504 DEFAULT_wxUSE_TEXTDLG=yes
2505 DEFAULT_wxUSE_SPLASH=yes
2506 DEFAULT_wxUSE_STARTUP_TIPS=yes
2507 DEFAULT_wxUSE_PROGRESSDLG=yes
2508 DEFAULT_wxUSE_WIZARDDLG=yes
2509
2510 DEFAULT_wxUSE_MENUS=yes
2511 DEFAULT_wxUSE_MINIFRAME=yes
2512 DEFAULT_wxUSE_HTML=yes
2513 DEFAULT_wxUSE_RICHTEXT=yes
2514 DEFAULT_wxUSE_XRC=yes
2515 DEFAULT_wxUSE_AUI=yes
2516 DEFAULT_wxUSE_WEBKIT=yes
2517 DEFAULT_wxUSE_FILESYSTEM=yes
2518 DEFAULT_wxUSE_FS_INET=yes
2519 DEFAULT_wxUSE_FS_ZIP=yes
2520 DEFAULT_wxUSE_BUSYINFO=yes
2521 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
2522 DEFAULT_wxUSE_ZIPSTREAM=yes
2523 DEFAULT_wxUSE_VALIDATORS=yes
2524
2525 DEFAULT_wxUSE_ACCEL=yes
2526 DEFAULT_wxUSE_BUTTON=yes
2527 DEFAULT_wxUSE_BMPBUTTON=yes
2528 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
2529 DEFAULT_wxUSE_CALCTRL=yes
2530 DEFAULT_wxUSE_CARET=yes
2531 DEFAULT_wxUSE_CHECKBOX=yes
2532 DEFAULT_wxUSE_CHECKLST=yes
2533 DEFAULT_wxUSE_CHOICE=yes
2534 DEFAULT_wxUSE_CHOICEBOOK=yes
2535 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
2536 DEFAULT_wxUSE_COMBOBOX=yes
2537 DEFAULT_wxUSE_COMBOCTRL=yes
2538 DEFAULT_wxUSE_DATEPICKCTRL=yes
2539 DEFAULT_wxUSE_DISPLAY=yes
2540 DEFAULT_wxUSE_DIRPICKERCTRL=yes
2541 DEFAULT_wxUSE_FILEPICKERCTRL=yes
2542 DEFAULT_wxUSE_FONTPICKERCTRL=yes
2543 DEFAULT_wxUSE_GAUGE=yes
2544 DEFAULT_wxUSE_GRID=yes
2545 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2546 DEFAULT_wxUSE_HYPERLINKCTRL=yes
2547 DEFAULT_wxUSE_DATAVIEWCTRL=no
2548 DEFAULT_wxUSE_IMAGLIST=yes
2549 DEFAULT_wxUSE_LISTBOOK=yes
2550 DEFAULT_wxUSE_LISTBOX=yes
2551 DEFAULT_wxUSE_LISTCTRL=yes
2552 DEFAULT_wxUSE_NOTEBOOK=yes
2553 DEFAULT_wxUSE_ODCOMBOBOX=yes
2554 DEFAULT_wxUSE_RADIOBOX=yes
2555 DEFAULT_wxUSE_RADIOBTN=yes
2556 DEFAULT_wxUSE_SASH=yes
2557 DEFAULT_wxUSE_SCROLLBAR=yes
2558 DEFAULT_wxUSE_SLIDER=yes
2559 DEFAULT_wxUSE_SPINBTN=yes
2560 DEFAULT_wxUSE_SPINCTRL=yes
2561 DEFAULT_wxUSE_SPLITTER=yes
2562 DEFAULT_wxUSE_STATBMP=yes
2563 DEFAULT_wxUSE_STATBOX=yes
2564 DEFAULT_wxUSE_STATLINE=yes
2565 DEFAULT_wxUSE_STATTEXT=yes
2566 DEFAULT_wxUSE_STATUSBAR=yes
2567 DEFAULT_wxUSE_TAB_DIALOG=no
2568 DEFAULT_wxUSE_TEXTCTRL=yes
2569 DEFAULT_wxUSE_TOGGLEBTN=yes
2570 DEFAULT_wxUSE_TOOLBAR=yes
2571 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
2572 DEFAULT_wxUSE_TREEBOOK=yes
2573 DEFAULT_wxUSE_TOOLBOOK=yes
2574 DEFAULT_wxUSE_TREECTRL=yes
2575 DEFAULT_wxUSE_POPUPWIN=yes
2576 DEFAULT_wxUSE_TIPWINDOW=yes
2577
2578 DEFAULT_wxUSE_UNICODE=no
2579 DEFAULT_wxUSE_UNICODE_MSLU=yes
2580 DEFAULT_wxUSE_WCSRTOMBS=no
2581
2582 DEFAULT_wxUSE_PALETTE=yes
2583 DEFAULT_wxUSE_IMAGE=yes
2584 DEFAULT_wxUSE_GIF=yes
2585 DEFAULT_wxUSE_PCX=yes
2586 DEFAULT_wxUSE_IFF=no
2587 DEFAULT_wxUSE_PNM=yes
2588 DEFAULT_wxUSE_XPM=yes
2589 DEFAULT_wxUSE_ICO_CUR=yes
2590 DEFAULT_wxUSE_ACCESSIBILITY=no
2591
2592 DEFAULT_wxUSE_MONOLITHIC=no
2593 DEFAULT_wxUSE_PLUGINS=no
2594 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2595
2596 DEFAULT_wxUSE_GTK2=yes
2597 fi
2598
2599
2600
2601
2602 for toolkit in `echo $ALL_TOOLKITS`; do
2603 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
2604 if test "x$LINE" != "x" ; then
2605 has_toolkit_in_cache=1
2606 eval "DEFAULT_$LINE"
2607 eval "CACHE_$toolkit=1"
2608
2609 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
2610 if test "x$LINE" != "x" ; then
2611 eval "DEFAULT_$LINE"
2612 fi
2613 fi
2614 done
2615
2616
2617
2618 enablestring=
2619 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2620 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6
2621 no_cache=0
2622 # Check whether --enable-gui or --disable-gui was given.
2623 if test "${enable_gui+set}" = set; then
2624 enableval="$enable_gui"
2625
2626 if test "$enableval" = yes; then
2627 ac_cv_use_gui='wxUSE_GUI=yes'
2628 else
2629 ac_cv_use_gui='wxUSE_GUI=no'
2630 fi
2631
2632 else
2633
2634 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2635 if test "x$LINE" != x ; then
2636 eval "DEFAULT_$LINE"
2637 else
2638 no_cache=1
2639 fi
2640
2641 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2642
2643 fi;
2644
2645 eval "$ac_cv_use_gui"
2646 if test "$no_cache" != 1; then
2647 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2648 fi
2649
2650 if test "$wxUSE_GUI" = yes; then
2651 echo "$as_me:$LINENO: result: yes" >&5
2652 echo "${ECHO_T}yes" >&6
2653 else
2654 echo "$as_me:$LINENO: result: no" >&5
2655 echo "${ECHO_T}no" >&6
2656 fi
2657
2658
2659 enablestring=
2660 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
2661 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6
2662 no_cache=0
2663 # Check whether --enable-monolithic or --disable-monolithic was given.
2664 if test "${enable_monolithic+set}" = set; then
2665 enableval="$enable_monolithic"
2666
2667 if test "$enableval" = yes; then
2668 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
2669 else
2670 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
2671 fi
2672
2673 else
2674
2675 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
2676 if test "x$LINE" != x ; then
2677 eval "DEFAULT_$LINE"
2678 else
2679 no_cache=1
2680 fi
2681
2682 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
2683
2684 fi;
2685
2686 eval "$ac_cv_use_monolithic"
2687 if test "$no_cache" != 1; then
2688 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
2689 fi
2690
2691 if test "$wxUSE_MONOLITHIC" = yes; then
2692 echo "$as_me:$LINENO: result: yes" >&5
2693 echo "${ECHO_T}yes" >&6
2694 else
2695 echo "$as_me:$LINENO: result: no" >&5
2696 echo "${ECHO_T}no" >&6
2697 fi
2698
2699
2700 enablestring=
2701 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
2702 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6
2703 no_cache=0
2704 # Check whether --enable-plugins or --disable-plugins was given.
2705 if test "${enable_plugins+set}" = set; then
2706 enableval="$enable_plugins"
2707
2708 if test "$enableval" = yes; then
2709 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
2710 else
2711 ac_cv_use_plugins='wxUSE_PLUGINS=no'
2712 fi
2713
2714 else
2715
2716 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
2717 if test "x$LINE" != x ; then
2718 eval "DEFAULT_$LINE"
2719 else
2720 no_cache=1
2721 fi
2722
2723 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
2724
2725 fi;
2726
2727 eval "$ac_cv_use_plugins"
2728 if test "$no_cache" != 1; then
2729 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
2730 fi
2731
2732 if test "$wxUSE_PLUGINS" = yes; then
2733 echo "$as_me:$LINENO: result: yes" >&5
2734 echo "${ECHO_T}yes" >&6
2735 else
2736 echo "$as_me:$LINENO: result: no" >&5
2737 echo "${ECHO_T}no" >&6
2738 fi
2739
2740
2741 withstring=without
2742 echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
2743 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6
2744 no_cache=0
2745
2746 # Check whether --with-subdirs or --without-subdirs was given.
2747 if test "${with_subdirs+set}" = set; then
2748 withval="$with_subdirs"
2749
2750 if test "$withval" = yes; then
2751 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
2752 else
2753 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
2754 fi
2755
2756 else
2757
2758 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
2759 if test "x$LINE" != x ; then
2760 eval "DEFAULT_$LINE"
2761 else
2762 no_cache=1
2763 fi
2764
2765 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
2766
2767 fi;
2768
2769 eval "$ac_cv_use_subdirs"
2770 if test "$no_cache" != 1; then
2771 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
2772 fi
2773
2774 if test "$wxWITH_SUBDIRS" = yes; then
2775 echo "$as_me:$LINENO: result: yes" >&5
2776 echo "${ECHO_T}yes" >&6
2777 else
2778 echo "$as_me:$LINENO: result: no" >&5
2779 echo "${ECHO_T}no" >&6
2780 fi
2781
2782
2783 if test "$wxUSE_GUI" = "yes"; then
2784
2785
2786 enablestring=
2787 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
2788 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6
2789 no_cache=0
2790 # Check whether --enable-universal or --disable-universal was given.
2791 if test "${enable_universal+set}" = set; then
2792 enableval="$enable_universal"
2793
2794 if test "$enableval" = yes; then
2795 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
2796 else
2797 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
2798 fi
2799
2800 else
2801
2802 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
2803 if test "x$LINE" != x ; then
2804 eval "DEFAULT_$LINE"
2805 else
2806 no_cache=1
2807 fi
2808
2809 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
2810
2811 fi;
2812
2813 eval "$ac_cv_use_universal"
2814 if test "$no_cache" != 1; then
2815 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
2816 fi
2817
2818 if test "$wxUSE_UNIVERSAL" = yes; then
2819 echo "$as_me:$LINENO: result: yes" >&5
2820 echo "${ECHO_T}yes" >&6
2821 else
2822 echo "$as_me:$LINENO: result: no" >&5
2823 echo "${ECHO_T}no" >&6
2824 fi
2825
2826
2827 # Check whether --with-gtk or --without-gtk was given.
2828 if test "${with_gtk+set}" = set; then
2829 withval="$with_gtk"
2830 wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
2831 fi;
2832
2833 # Check whether --with-motif or --without-motif was given.
2834 if test "${with_motif+set}" = set; then
2835 withval="$with_motif"
2836 wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
2837 fi;
2838
2839 # Check whether --with-mac or --without-mac was given.
2840 if test "${with_mac+set}" = set; then
2841 withval="$with_mac"
2842 wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
2843 fi;
2844
2845 # Check whether --with-cocoa or --without-cocoa was given.
2846 if test "${with_cocoa+set}" = set; then
2847 withval="$with_cocoa"
2848 wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
2849 fi;
2850
2851 # Check whether --with-wine or --without-wine was given.
2852 if test "${with_wine+set}" = set; then
2853 withval="$with_wine"
2854 wxUSE_WINE="$withval" CACHE_WINE=1
2855 fi;
2856
2857 # Check whether --with-msw or --without-msw was given.
2858 if test "${with_msw+set}" = set; then
2859 withval="$with_msw"
2860 wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
2861 fi;
2862
2863 # Check whether --with-pm or --without-pm was given.
2864 if test "${with_pm+set}" = set; then
2865 withval="$with_pm"
2866 wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
2867 fi;
2868
2869 # Check whether --with-mgl or --without-mgl was given.
2870 if test "${with_mgl+set}" = set; then
2871 withval="$with_mgl"
2872 wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
2873 fi;
2874
2875 # Check whether --with-directfb or --without-directfb was given.
2876 if test "${with_directfb+set}" = set; then
2877 withval="$with_directfb"
2878 wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
2879 fi;
2880
2881 # Check whether --with-microwin or --without-microwin was given.
2882 if test "${with_microwin+set}" = set; then
2883 withval="$with_microwin"
2884 wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
2885 fi;
2886
2887 # Check whether --with-x11 or --without-x11 was given.
2888 if test "${with_x11+set}" = set; then
2889 withval="$with_x11"
2890 wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
2891 fi;
2892
2893 enablestring=
2894 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
2895 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6
2896 no_cache=0
2897 # Check whether --enable-nanox or --disable-nanox was given.
2898 if test "${enable_nanox+set}" = set; then
2899 enableval="$enable_nanox"
2900
2901 if test "$enableval" = yes; then
2902 ac_cv_use_nanox='wxUSE_NANOX=yes'
2903 else
2904 ac_cv_use_nanox='wxUSE_NANOX=no'
2905 fi
2906
2907 else
2908
2909 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
2910 if test "x$LINE" != x ; then
2911 eval "DEFAULT_$LINE"
2912 else
2913 no_cache=1
2914 fi
2915
2916 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
2917
2918 fi;
2919
2920 eval "$ac_cv_use_nanox"
2921 if test "$no_cache" != 1; then
2922 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
2923 fi
2924
2925 if test "$wxUSE_NANOX" = yes; then
2926 echo "$as_me:$LINENO: result: yes" >&5
2927 echo "${ECHO_T}yes" >&6
2928 else
2929 echo "$as_me:$LINENO: result: no" >&5
2930 echo "${ECHO_T}no" >&6
2931 fi
2932
2933
2934 # Check whether --enable-gtk2 or --disable-gtk2 was given.
2935 if test "${enable_gtk2+set}" = set; then
2936 enableval="$enable_gtk2"
2937 wxUSE_GTK2="$enableval"
2938 fi;
2939
2940 enablestring=
2941 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
2942 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6
2943 no_cache=0
2944 # Check whether --enable-gpe or --disable-gpe was given.
2945 if test "${enable_gpe+set}" = set; then
2946 enableval="$enable_gpe"
2947
2948 if test "$enableval" = yes; then
2949 ac_cv_use_gpe='wxUSE_GPE=yes'
2950 else
2951 ac_cv_use_gpe='wxUSE_GPE=no'
2952 fi
2953
2954 else
2955
2956 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
2957 if test "x$LINE" != x ; then
2958 eval "DEFAULT_$LINE"
2959 else
2960 no_cache=1
2961 fi
2962
2963 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
2964
2965 fi;
2966
2967 eval "$ac_cv_use_gpe"
2968 if test "$no_cache" != 1; then
2969 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
2970 fi
2971
2972 if test "$wxUSE_GPE" = yes; then
2973 echo "$as_me:$LINENO: result: yes" >&5
2974 echo "${ECHO_T}yes" >&6
2975 else
2976 echo "$as_me:$LINENO: result: no" >&5
2977 echo "${ECHO_T}no" >&6
2978 fi
2979
2980
2981
2982 echo "$as_me:$LINENO: checking for --with-libpng" >&5
2983 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6
2984 no_cache=0
2985
2986 # Check whether --with-libpng or --without-libpng was given.
2987 if test "${with_libpng+set}" = set; then
2988 withval="$with_libpng"
2989
2990 if test "$withval" = yes; then
2991 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
2992 elif test "$withval" = no; then
2993 ac_cv_use_libpng='wxUSE_LIBPNG=no'
2994 elif test "$withval" = sys; then
2995 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
2996 elif test "$withval" = builtin; then
2997 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
2998 else
2999 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3000 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3001 { (exit 1); exit 1; }; }
3002 fi
3003
3004 else
3005
3006 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3007 if test "x$LINE" != x ; then
3008 eval "DEFAULT_$LINE"
3009 else
3010 no_cache=1
3011 fi
3012
3013 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3014
3015 fi;
3016
3017 eval "$ac_cv_use_libpng"
3018 if test "$no_cache" != 1; then
3019 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3020 fi
3021
3022 if test "$wxUSE_LIBPNG" = yes; then
3023 echo "$as_me:$LINENO: result: yes" >&5
3024 echo "${ECHO_T}yes" >&6
3025 elif test "$wxUSE_LIBPNG" = no; then
3026 echo "$as_me:$LINENO: result: no" >&5
3027 echo "${ECHO_T}no" >&6
3028 elif test "$wxUSE_LIBPNG" = sys; then
3029 echo "$as_me:$LINENO: result: system version" >&5
3030 echo "${ECHO_T}system version" >&6
3031 elif test "$wxUSE_LIBPNG" = builtin; then
3032 echo "$as_me:$LINENO: result: builtin version" >&5
3033 echo "${ECHO_T}builtin version" >&6
3034 else
3035 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3036 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3037 { (exit 1); exit 1; }; }
3038 fi
3039
3040
3041 echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3042 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6
3043 no_cache=0
3044
3045 # Check whether --with-libjpeg or --without-libjpeg was given.
3046 if test "${with_libjpeg+set}" = set; then
3047 withval="$with_libjpeg"
3048
3049 if test "$withval" = yes; then
3050 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3051 elif test "$withval" = no; then
3052 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3053 elif test "$withval" = sys; then
3054 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3055 elif test "$withval" = builtin; then
3056 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3057 else
3058 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3059 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3060 { (exit 1); exit 1; }; }
3061 fi
3062
3063 else
3064
3065 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3066 if test "x$LINE" != x ; then
3067 eval "DEFAULT_$LINE"
3068 else
3069 no_cache=1
3070 fi
3071
3072 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3073
3074 fi;
3075
3076 eval "$ac_cv_use_libjpeg"
3077 if test "$no_cache" != 1; then
3078 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3079 fi
3080
3081 if test "$wxUSE_LIBJPEG" = yes; then
3082 echo "$as_me:$LINENO: result: yes" >&5
3083 echo "${ECHO_T}yes" >&6
3084 elif test "$wxUSE_LIBJPEG" = no; then
3085 echo "$as_me:$LINENO: result: no" >&5
3086 echo "${ECHO_T}no" >&6
3087 elif test "$wxUSE_LIBJPEG" = sys; then
3088 echo "$as_me:$LINENO: result: system version" >&5
3089 echo "${ECHO_T}system version" >&6
3090 elif test "$wxUSE_LIBJPEG" = builtin; then
3091 echo "$as_me:$LINENO: result: builtin version" >&5
3092 echo "${ECHO_T}builtin version" >&6
3093 else
3094 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3095 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3096 { (exit 1); exit 1; }; }
3097 fi
3098
3099
3100 echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3101 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6
3102 no_cache=0
3103
3104 # Check whether --with-libtiff or --without-libtiff was given.
3105 if test "${with_libtiff+set}" = set; then
3106 withval="$with_libtiff"
3107
3108 if test "$withval" = yes; then
3109 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3110 elif test "$withval" = no; then
3111 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3112 elif test "$withval" = sys; then
3113 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3114 elif test "$withval" = builtin; then
3115 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3116 else
3117 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3118 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3119 { (exit 1); exit 1; }; }
3120 fi
3121
3122 else
3123
3124 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3125 if test "x$LINE" != x ; then
3126 eval "DEFAULT_$LINE"
3127 else
3128 no_cache=1
3129 fi
3130
3131 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3132
3133 fi;
3134
3135 eval "$ac_cv_use_libtiff"
3136 if test "$no_cache" != 1; then
3137 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3138 fi
3139
3140 if test "$wxUSE_LIBTIFF" = yes; then
3141 echo "$as_me:$LINENO: result: yes" >&5
3142 echo "${ECHO_T}yes" >&6
3143 elif test "$wxUSE_LIBTIFF" = no; then
3144 echo "$as_me:$LINENO: result: no" >&5
3145 echo "${ECHO_T}no" >&6
3146 elif test "$wxUSE_LIBTIFF" = sys; then
3147 echo "$as_me:$LINENO: result: system version" >&5
3148 echo "${ECHO_T}system version" >&6
3149 elif test "$wxUSE_LIBTIFF" = builtin; then
3150 echo "$as_me:$LINENO: result: builtin version" >&5
3151 echo "${ECHO_T}builtin version" >&6
3152 else
3153 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3154 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3155 { (exit 1); exit 1; }; }
3156 fi
3157
3158
3159 echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3160 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6
3161 no_cache=0
3162
3163 # Check whether --with-libxpm or --without-libxpm was given.
3164 if test "${with_libxpm+set}" = set; then
3165 withval="$with_libxpm"
3166
3167 if test "$withval" = yes; then
3168 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3169 elif test "$withval" = no; then
3170 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3171 elif test "$withval" = sys; then
3172 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3173 elif test "$withval" = builtin; then
3174 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3175 else
3176 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3177 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3178 { (exit 1); exit 1; }; }
3179 fi
3180
3181 else
3182
3183 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3184 if test "x$LINE" != x ; then
3185 eval "DEFAULT_$LINE"
3186 else
3187 no_cache=1
3188 fi
3189
3190 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3191
3192 fi;
3193
3194 eval "$ac_cv_use_libxpm"
3195 if test "$no_cache" != 1; then
3196 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3197 fi
3198
3199 if test "$wxUSE_LIBXPM" = yes; then
3200 echo "$as_me:$LINENO: result: yes" >&5
3201 echo "${ECHO_T}yes" >&6
3202 elif test "$wxUSE_LIBXPM" = no; then
3203 echo "$as_me:$LINENO: result: no" >&5
3204 echo "${ECHO_T}no" >&6
3205 elif test "$wxUSE_LIBXPM" = sys; then
3206 echo "$as_me:$LINENO: result: system version" >&5
3207 echo "${ECHO_T}system version" >&6
3208 elif test "$wxUSE_LIBXPM" = builtin; then
3209 echo "$as_me:$LINENO: result: builtin version" >&5
3210 echo "${ECHO_T}builtin version" >&6
3211 else
3212 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3213 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3214 { (exit 1); exit 1; }; }
3215 fi
3216
3217
3218 withstring=
3219 echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3220 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6
3221 no_cache=0
3222
3223 # Check whether --with-libmspack or --without-libmspack was given.
3224 if test "${with_libmspack+set}" = set; then
3225 withval="$with_libmspack"
3226
3227 if test "$withval" = yes; then
3228 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3229 else
3230 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3231 fi
3232
3233 else
3234
3235 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3236 if test "x$LINE" != x ; then
3237 eval "DEFAULT_$LINE"
3238 else
3239 no_cache=1
3240 fi
3241
3242 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3243
3244 fi;
3245
3246 eval "$ac_cv_use_libmspack"
3247 if test "$no_cache" != 1; then
3248 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
3249 fi
3250
3251 if test "$wxUSE_LIBMSPACK" = yes; then
3252 echo "$as_me:$LINENO: result: yes" >&5
3253 echo "${ECHO_T}yes" >&6
3254 else
3255 echo "$as_me:$LINENO: result: no" >&5
3256 echo "${ECHO_T}no" >&6
3257 fi
3258
3259
3260 withstring=
3261 echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
3262 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6
3263 no_cache=0
3264
3265 # Check whether --with-sdl or --without-sdl was given.
3266 if test "${with_sdl+set}" = set; then
3267 withval="$with_sdl"
3268
3269 if test "$withval" = yes; then
3270 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
3271 else
3272 ac_cv_use_sdl='wxUSE_LIBSDL=no'
3273 fi
3274
3275 else
3276
3277 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
3278 if test "x$LINE" != x ; then
3279 eval "DEFAULT_$LINE"
3280 else
3281 no_cache=1
3282 fi
3283
3284 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
3285
3286 fi;
3287
3288 eval "$ac_cv_use_sdl"
3289 if test "$no_cache" != 1; then
3290 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
3291 fi
3292
3293 if test "$wxUSE_LIBSDL" = yes; then
3294 echo "$as_me:$LINENO: result: yes" >&5
3295 echo "${ECHO_T}yes" >&6
3296 else
3297 echo "$as_me:$LINENO: result: no" >&5
3298 echo "${ECHO_T}no" >&6
3299 fi
3300
3301
3302 withstring=
3303 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3304 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6
3305 no_cache=0
3306
3307 # Check whether --with-gnomeprint or --without-gnomeprint was given.
3308 if test "${with_gnomeprint+set}" = set; then
3309 withval="$with_gnomeprint"
3310
3311 if test "$withval" = yes; then
3312 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3313 else
3314 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3315 fi
3316
3317 else
3318
3319 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
3320 if test "x$LINE" != x ; then
3321 eval "DEFAULT_$LINE"
3322 else
3323 no_cache=1
3324 fi
3325
3326 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
3327
3328 fi;
3329
3330 eval "$ac_cv_use_gnomeprint"
3331 if test "$no_cache" != 1; then
3332 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
3333 fi
3334
3335 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
3336 echo "$as_me:$LINENO: result: yes" >&5
3337 echo "${ECHO_T}yes" >&6
3338 else
3339 echo "$as_me:$LINENO: result: no" >&5
3340 echo "${ECHO_T}no" >&6
3341 fi
3342
3343
3344 withstring=
3345 echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3346 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6
3347 no_cache=0
3348
3349 # Check whether --with-gnomevfs or --without-gnomevfs was given.
3350 if test "${with_gnomevfs+set}" = set; then
3351 withval="$with_gnomevfs"
3352
3353 if test "$withval" = yes; then
3354 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3355 else
3356 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3357 fi
3358
3359 else
3360
3361 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
3362 if test "x$LINE" != x ; then
3363 eval "DEFAULT_$LINE"
3364 else
3365 no_cache=1
3366 fi
3367
3368 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
3369
3370 fi;
3371
3372 eval "$ac_cv_use_gnomevfs"
3373 if test "$no_cache" != 1; then
3374 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
3375 fi
3376
3377 if test "$wxUSE_LIBGNOMEVFS" = yes; then
3378 echo "$as_me:$LINENO: result: yes" >&5
3379 echo "${ECHO_T}yes" >&6
3380 else
3381 echo "$as_me:$LINENO: result: no" >&5
3382 echo "${ECHO_T}no" >&6
3383 fi
3384
3385
3386 withstring=
3387 echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3388 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6
3389 no_cache=0
3390
3391 # Check whether --with-hildon or --without-hildon was given.
3392 if test "${with_hildon+set}" = set; then
3393 withval="$with_hildon"
3394
3395 if test "$withval" = yes; then
3396 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
3397 else
3398 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
3399 fi
3400
3401 else
3402
3403 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
3404 if test "x$LINE" != x ; then
3405 eval "DEFAULT_$LINE"
3406 else
3407 no_cache=1
3408 fi
3409
3410 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
3411
3412 fi;
3413
3414 eval "$ac_cv_use_hildon"
3415 if test "$no_cache" != 1; then
3416 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
3417 fi
3418
3419 if test "$wxUSE_LIBHILDON" = yes; then
3420 echo "$as_me:$LINENO: result: yes" >&5
3421 echo "${ECHO_T}yes" >&6
3422 else
3423 echo "$as_me:$LINENO: result: no" >&5
3424 echo "${ECHO_T}no" >&6
3425 fi
3426
3427
3428 withstring=
3429 echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
3430 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6
3431 no_cache=0
3432
3433 # Check whether --with-opengl or --without-opengl was given.
3434 if test "${with_opengl+set}" = set; then
3435 withval="$with_opengl"
3436
3437 if test "$withval" = yes; then
3438 ac_cv_use_opengl='wxUSE_OPENGL=yes'
3439 else
3440 ac_cv_use_opengl='wxUSE_OPENGL=no'
3441 fi
3442
3443 else
3444
3445 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
3446 if test "x$LINE" != x ; then
3447 eval "DEFAULT_$LINE"
3448 else
3449 no_cache=1
3450 fi
3451
3452 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
3453
3454 fi;
3455
3456 eval "$ac_cv_use_opengl"
3457 if test "$no_cache" != 1; then
3458 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
3459 fi
3460
3461 if test "$wxUSE_OPENGL" = yes; then
3462 echo "$as_me:$LINENO: result: yes" >&5
3463 echo "${ECHO_T}yes" >&6
3464 else
3465 echo "$as_me:$LINENO: result: no" >&5
3466 echo "${ECHO_T}no" >&6
3467 fi
3468
3469
3470 if test "$wxUSE_UNIVERSAL" = "yes"; then
3471
3472 # Check whether --with-themes or --without-themes was given.
3473 if test "${with_themes+set}" = set; then
3474 withval="$with_themes"
3475 wxUNIV_THEMES="$withval"
3476 fi;
3477 fi
3478
3479 fi
3480
3481
3482 withstring=
3483 echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
3484 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6
3485 no_cache=0
3486
3487 # Check whether --with-dmalloc or --without-dmalloc was given.
3488 if test "${with_dmalloc+set}" = set; then
3489 withval="$with_dmalloc"
3490
3491 if test "$withval" = yes; then
3492 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
3493 else
3494 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
3495 fi
3496
3497 else
3498
3499 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
3500 if test "x$LINE" != x ; then
3501 eval "DEFAULT_$LINE"
3502 else
3503 no_cache=1
3504 fi
3505
3506 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
3507
3508 fi;
3509
3510 eval "$ac_cv_use_dmalloc"
3511 if test "$no_cache" != 1; then
3512 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
3513 fi
3514
3515 if test "$wxUSE_DMALLOC" = yes; then
3516 echo "$as_me:$LINENO: result: yes" >&5
3517 echo "${ECHO_T}yes" >&6
3518 else
3519 echo "$as_me:$LINENO: result: no" >&5
3520 echo "${ECHO_T}no" >&6
3521 fi
3522
3523
3524 echo "$as_me:$LINENO: checking for --with-regex" >&5
3525 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6
3526 no_cache=0
3527
3528 # Check whether --with-regex or --without-regex was given.
3529 if test "${with_regex+set}" = set; then
3530 withval="$with_regex"
3531
3532 if test "$withval" = yes; then
3533 ac_cv_use_regex='wxUSE_REGEX=yes'
3534 elif test "$withval" = no; then
3535 ac_cv_use_regex='wxUSE_REGEX=no'
3536 elif test "$withval" = sys; then
3537 ac_cv_use_regex='wxUSE_REGEX=sys'
3538 elif test "$withval" = builtin; then
3539 ac_cv_use_regex='wxUSE_REGEX=builtin'
3540 else
3541 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3542 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3543 { (exit 1); exit 1; }; }
3544 fi
3545
3546 else
3547
3548 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
3549 if test "x$LINE" != x ; then
3550 eval "DEFAULT_$LINE"
3551 else
3552 no_cache=1
3553 fi
3554
3555 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
3556
3557 fi;
3558
3559 eval "$ac_cv_use_regex"
3560 if test "$no_cache" != 1; then
3561 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
3562 fi
3563
3564 if test "$wxUSE_REGEX" = yes; then
3565 echo "$as_me:$LINENO: result: yes" >&5
3566 echo "${ECHO_T}yes" >&6
3567 elif test "$wxUSE_REGEX" = no; then
3568 echo "$as_me:$LINENO: result: no" >&5
3569 echo "${ECHO_T}no" >&6
3570 elif test "$wxUSE_REGEX" = sys; then
3571 echo "$as_me:$LINENO: result: system version" >&5
3572 echo "${ECHO_T}system version" >&6
3573 elif test "$wxUSE_REGEX" = builtin; then
3574 echo "$as_me:$LINENO: result: builtin version" >&5
3575 echo "${ECHO_T}builtin version" >&6
3576 else
3577 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
3578 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
3579 { (exit 1); exit 1; }; }
3580 fi
3581
3582
3583 echo "$as_me:$LINENO: checking for --with-zlib" >&5
3584 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6
3585 no_cache=0
3586
3587 # Check whether --with-zlib or --without-zlib was given.
3588 if test "${with_zlib+set}" = set; then
3589 withval="$with_zlib"
3590
3591 if test "$withval" = yes; then
3592 ac_cv_use_zlib='wxUSE_ZLIB=yes'
3593 elif test "$withval" = no; then
3594 ac_cv_use_zlib='wxUSE_ZLIB=no'
3595 elif test "$withval" = sys; then
3596 ac_cv_use_zlib='wxUSE_ZLIB=sys'
3597 elif test "$withval" = builtin; then
3598 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
3599 else
3600 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3601 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3602 { (exit 1); exit 1; }; }
3603 fi
3604
3605 else
3606
3607 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
3608 if test "x$LINE" != x ; then
3609 eval "DEFAULT_$LINE"
3610 else
3611 no_cache=1
3612 fi
3613
3614 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
3615
3616 fi;
3617
3618 eval "$ac_cv_use_zlib"
3619 if test "$no_cache" != 1; then
3620 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
3621 fi
3622
3623 if test "$wxUSE_ZLIB" = yes; then
3624 echo "$as_me:$LINENO: result: yes" >&5
3625 echo "${ECHO_T}yes" >&6
3626 elif test "$wxUSE_ZLIB" = no; then
3627 echo "$as_me:$LINENO: result: no" >&5
3628 echo "${ECHO_T}no" >&6
3629 elif test "$wxUSE_ZLIB" = sys; then
3630 echo "$as_me:$LINENO: result: system version" >&5
3631 echo "${ECHO_T}system version" >&6
3632 elif test "$wxUSE_ZLIB" = builtin; then
3633 echo "$as_me:$LINENO: result: builtin version" >&5
3634 echo "${ECHO_T}builtin version" >&6
3635 else
3636 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
3637 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
3638 { (exit 1); exit 1; }; }
3639 fi
3640
3641
3642 echo "$as_me:$LINENO: checking for --with-odbc" >&5
3643 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6
3644 no_cache=0
3645
3646 # Check whether --with-odbc or --without-odbc was given.
3647 if test "${with_odbc+set}" = set; then
3648 withval="$with_odbc"
3649
3650 if test "$withval" = yes; then
3651 ac_cv_use_odbc='wxUSE_ODBC=yes'
3652 elif test "$withval" = no; then
3653 ac_cv_use_odbc='wxUSE_ODBC=no'
3654 elif test "$withval" = sys; then
3655 ac_cv_use_odbc='wxUSE_ODBC=sys'
3656 elif test "$withval" = builtin; then
3657 ac_cv_use_odbc='wxUSE_ODBC=builtin'
3658 else
3659 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3660 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3661 { (exit 1); exit 1; }; }
3662 fi
3663
3664 else
3665
3666 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
3667 if test "x$LINE" != x ; then
3668 eval "DEFAULT_$LINE"
3669 else
3670 no_cache=1
3671 fi
3672
3673 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
3674
3675 fi;
3676
3677 eval "$ac_cv_use_odbc"
3678 if test "$no_cache" != 1; then
3679 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
3680 fi
3681
3682 if test "$wxUSE_ODBC" = yes; then
3683 echo "$as_me:$LINENO: result: yes" >&5
3684 echo "${ECHO_T}yes" >&6
3685 elif test "$wxUSE_ODBC" = no; then
3686 echo "$as_me:$LINENO: result: no" >&5
3687 echo "${ECHO_T}no" >&6
3688 elif test "$wxUSE_ODBC" = sys; then
3689 echo "$as_me:$LINENO: result: system version" >&5
3690 echo "${ECHO_T}system version" >&6
3691 elif test "$wxUSE_ODBC" = builtin; then
3692 echo "$as_me:$LINENO: result: builtin version" >&5
3693 echo "${ECHO_T}builtin version" >&6
3694 else
3695 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
3696 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
3697 { (exit 1); exit 1; }; }
3698 fi
3699
3700
3701 echo "$as_me:$LINENO: checking for --with-expat" >&5
3702 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6
3703 no_cache=0
3704
3705 # Check whether --with-expat or --without-expat was given.
3706 if test "${with_expat+set}" = set; then
3707 withval="$with_expat"
3708
3709 if test "$withval" = yes; then
3710 ac_cv_use_expat='wxUSE_EXPAT=yes'
3711 elif test "$withval" = no; then
3712 ac_cv_use_expat='wxUSE_EXPAT=no'
3713 elif test "$withval" = sys; then
3714 ac_cv_use_expat='wxUSE_EXPAT=sys'
3715 elif test "$withval" = builtin; then
3716 ac_cv_use_expat='wxUSE_EXPAT=builtin'
3717 else
3718 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3719 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3720 { (exit 1); exit 1; }; }
3721 fi
3722
3723 else
3724
3725 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
3726 if test "x$LINE" != x ; then
3727 eval "DEFAULT_$LINE"
3728 else
3729 no_cache=1
3730 fi
3731
3732 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
3733
3734 fi;
3735
3736 eval "$ac_cv_use_expat"
3737 if test "$no_cache" != 1; then
3738 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
3739 fi
3740
3741 if test "$wxUSE_EXPAT" = yes; then
3742 echo "$as_me:$LINENO: result: yes" >&5
3743 echo "${ECHO_T}yes" >&6
3744 elif test "$wxUSE_EXPAT" = no; then
3745 echo "$as_me:$LINENO: result: no" >&5
3746 echo "${ECHO_T}no" >&6
3747 elif test "$wxUSE_EXPAT" = sys; then
3748 echo "$as_me:$LINENO: result: system version" >&5
3749 echo "${ECHO_T}system version" >&6
3750 elif test "$wxUSE_EXPAT" = builtin; then
3751 echo "$as_me:$LINENO: result: builtin version" >&5
3752 echo "${ECHO_T}builtin version" >&6
3753 else
3754 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
3755 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
3756 { (exit 1); exit 1; }; }
3757 fi
3758
3759
3760
3761
3762 enablestring=
3763 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
3764 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6
3765 no_cache=0
3766 # Check whether --enable-shared or --disable-shared was given.
3767 if test "${enable_shared+set}" = set; then
3768 enableval="$enable_shared"
3769
3770 if test "$enableval" = yes; then
3771 ac_cv_use_shared='wxUSE_SHARED=yes'
3772 else
3773 ac_cv_use_shared='wxUSE_SHARED=no'
3774 fi
3775
3776 else
3777
3778 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
3779 if test "x$LINE" != x ; then
3780 eval "DEFAULT_$LINE"
3781 else
3782 no_cache=1
3783 fi
3784
3785 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
3786
3787 fi;
3788
3789 eval "$ac_cv_use_shared"
3790 if test "$no_cache" != 1; then
3791 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
3792 fi
3793
3794 if test "$wxUSE_SHARED" = yes; then
3795 echo "$as_me:$LINENO: result: yes" >&5
3796 echo "${ECHO_T}yes" >&6
3797 else
3798 echo "$as_me:$LINENO: result: no" >&5
3799 echo "${ECHO_T}no" >&6
3800 fi
3801
3802
3803 enablestring=
3804 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
3805 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6
3806 no_cache=0
3807 # Check whether --enable-optimise or --disable-optimise was given.
3808 if test "${enable_optimise+set}" = set; then
3809 enableval="$enable_optimise"
3810
3811 if test "$enableval" = yes; then
3812 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
3813 else
3814 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
3815 fi
3816
3817 else
3818
3819 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
3820 if test "x$LINE" != x ; then
3821 eval "DEFAULT_$LINE"
3822 else
3823 no_cache=1
3824 fi
3825
3826 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
3827
3828 fi;
3829
3830 eval "$ac_cv_use_optimise"
3831 if test "$no_cache" != 1; then
3832 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
3833 fi
3834
3835 if test "$wxUSE_OPTIMISE" = yes; then
3836 echo "$as_me:$LINENO: result: yes" >&5
3837 echo "${ECHO_T}yes" >&6
3838 else
3839 echo "$as_me:$LINENO: result: no" >&5
3840 echo "${ECHO_T}no" >&6
3841 fi
3842
3843
3844 enablestring=
3845 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
3846 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6
3847 no_cache=0
3848 # Check whether --enable-debug or --disable-debug was given.
3849 if test "${enable_debug+set}" = set; then
3850 enableval="$enable_debug"
3851
3852 if test "$enableval" = yes; then
3853 ac_cv_use_debug='wxUSE_DEBUG=yes'
3854 else
3855 ac_cv_use_debug='wxUSE_DEBUG=no'
3856 fi
3857
3858 else
3859
3860 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
3861 if test "x$LINE" != x ; then
3862 eval "DEFAULT_$LINE"
3863 else
3864 no_cache=1
3865 fi
3866
3867 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
3868
3869 fi;
3870
3871 eval "$ac_cv_use_debug"
3872 if test "$no_cache" != 1; then
3873 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
3874 fi
3875
3876 if test "$wxUSE_DEBUG" = yes; then
3877 echo "$as_me:$LINENO: result: yes" >&5
3878 echo "${ECHO_T}yes" >&6
3879 else
3880 echo "$as_me:$LINENO: result: no" >&5
3881 echo "${ECHO_T}no" >&6
3882 fi
3883
3884
3885 enablestring=
3886 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
3887 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6
3888 no_cache=0
3889 # Check whether --enable-stl or --disable-stl was given.
3890 if test "${enable_stl+set}" = set; then
3891 enableval="$enable_stl"
3892
3893 if test "$enableval" = yes; then
3894 ac_cv_use_stl='wxUSE_STL=yes'
3895 else
3896 ac_cv_use_stl='wxUSE_STL=no'
3897 fi
3898
3899 else
3900
3901 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
3902 if test "x$LINE" != x ; then
3903 eval "DEFAULT_$LINE"
3904 else
3905 no_cache=1
3906 fi
3907
3908 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
3909
3910 fi;
3911
3912 eval "$ac_cv_use_stl"
3913 if test "$no_cache" != 1; then
3914 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
3915 fi
3916
3917 if test "$wxUSE_STL" = yes; then
3918 echo "$as_me:$LINENO: result: yes" >&5
3919 echo "${ECHO_T}yes" >&6
3920 else
3921 echo "$as_me:$LINENO: result: no" >&5
3922 echo "${ECHO_T}no" >&6
3923 fi
3924
3925 if test "$USE_OS2" = "1"; then
3926 DEFAULT_wxUSE_OMF=no
3927
3928 enablestring=
3929 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
3930 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6
3931 no_cache=0
3932 # Check whether --enable-omf or --disable-omf was given.
3933 if test "${enable_omf+set}" = set; then
3934 enableval="$enable_omf"
3935
3936 if test "$enableval" = yes; then
3937 ac_cv_use_omf='wxUSE_OMF=yes'
3938 else
3939 ac_cv_use_omf='wxUSE_OMF=no'
3940 fi
3941
3942 else
3943
3944 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
3945 if test "x$LINE" != x ; then
3946 eval "DEFAULT_$LINE"
3947 else
3948 no_cache=1
3949 fi
3950
3951 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
3952
3953 fi;
3954
3955 eval "$ac_cv_use_omf"
3956 if test "$no_cache" != 1; then
3957 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
3958 fi
3959
3960 if test "$wxUSE_OMF" = yes; then
3961 echo "$as_me:$LINENO: result: yes" >&5
3962 echo "${ECHO_T}yes" >&6
3963 else
3964 echo "$as_me:$LINENO: result: no" >&5
3965 echo "${ECHO_T}no" >&6
3966 fi
3967
3968 fi
3969
3970 if test "$wxUSE_DEBUG" = "yes"; then
3971 DEFAULT_wxUSE_DEBUG_FLAG=yes
3972 DEFAULT_wxUSE_DEBUG_INFO=yes
3973 BUILD=debug
3974 elif test "$wxUSE_DEBUG" = "no"; then
3975 DEFAULT_wxUSE_DEBUG_FLAG=no
3976 DEFAULT_wxUSE_DEBUG_INFO=no
3977 BUILD=release
3978 fi
3979
3980
3981 enablestring=
3982 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
3983 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6
3984 no_cache=0
3985 # Check whether --enable-debug_flag or --disable-debug_flag was given.
3986 if test "${enable_debug_flag+set}" = set; then
3987 enableval="$enable_debug_flag"
3988
3989 if test "$enableval" = yes; then
3990 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
3991 else
3992 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
3993 fi
3994
3995 else
3996
3997 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
3998 if test "x$LINE" != x ; then
3999 eval "DEFAULT_$LINE"
4000 else
4001 no_cache=1
4002 fi
4003
4004 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4005
4006 fi;
4007
4008 eval "$ac_cv_use_debug_flag"
4009 if test "$no_cache" != 1; then
4010 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4011 fi
4012
4013 if test "$wxUSE_DEBUG_FLAG" = yes; then
4014 echo "$as_me:$LINENO: result: yes" >&5
4015 echo "${ECHO_T}yes" >&6
4016 else
4017 echo "$as_me:$LINENO: result: no" >&5
4018 echo "${ECHO_T}no" >&6
4019 fi
4020
4021
4022 enablestring=
4023 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4024 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6
4025 no_cache=0
4026 # Check whether --enable-debug_info or --disable-debug_info was given.
4027 if test "${enable_debug_info+set}" = set; then
4028 enableval="$enable_debug_info"
4029
4030 if test "$enableval" = yes; then
4031 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4032 else
4033 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4034 fi
4035
4036 else
4037
4038 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4039 if test "x$LINE" != x ; then
4040 eval "DEFAULT_$LINE"
4041 else
4042 no_cache=1
4043 fi
4044
4045 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4046
4047 fi;
4048
4049 eval "$ac_cv_use_debug_info"
4050 if test "$no_cache" != 1; then
4051 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4052 fi
4053
4054 if test "$wxUSE_DEBUG_INFO" = yes; then
4055 echo "$as_me:$LINENO: result: yes" >&5
4056 echo "${ECHO_T}yes" >&6
4057 else
4058 echo "$as_me:$LINENO: result: no" >&5
4059 echo "${ECHO_T}no" >&6
4060 fi
4061
4062
4063 enablestring=
4064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4065 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6
4066 no_cache=0
4067 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
4068 if test "${enable_debug_gdb+set}" = set; then
4069 enableval="$enable_debug_gdb"
4070
4071 if test "$enableval" = yes; then
4072 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4073 else
4074 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4075 fi
4076
4077 else
4078
4079 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4080 if test "x$LINE" != x ; then
4081 eval "DEFAULT_$LINE"
4082 else
4083 no_cache=1
4084 fi
4085
4086 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4087
4088 fi;
4089
4090 eval "$ac_cv_use_debug_gdb"
4091 if test "$no_cache" != 1; then
4092 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4093 fi
4094
4095 if test "$wxUSE_DEBUG_GDB" = yes; then
4096 echo "$as_me:$LINENO: result: yes" >&5
4097 echo "${ECHO_T}yes" >&6
4098 else
4099 echo "$as_me:$LINENO: result: no" >&5
4100 echo "${ECHO_T}no" >&6
4101 fi
4102
4103
4104 enablestring=
4105 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4106 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6
4107 no_cache=0
4108 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
4109 if test "${enable_debug_cntxt+set}" = set; then
4110 enableval="$enable_debug_cntxt"
4111
4112 if test "$enableval" = yes; then
4113 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4114 else
4115 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4116 fi
4117
4118 else
4119
4120 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4121 if test "x$LINE" != x ; then
4122 eval "DEFAULT_$LINE"
4123 else
4124 no_cache=1
4125 fi
4126
4127 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4128
4129 fi;
4130
4131 eval "$ac_cv_use_debug_cntxt"
4132 if test "$no_cache" != 1; then
4133 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4134 fi
4135
4136 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4137 echo "$as_me:$LINENO: result: yes" >&5
4138 echo "${ECHO_T}yes" >&6
4139 else
4140 echo "$as_me:$LINENO: result: no" >&5
4141 echo "${ECHO_T}no" >&6
4142 fi
4143
4144
4145 enablestring=
4146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4147 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6
4148 no_cache=0
4149 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
4150 if test "${enable_mem_tracing+set}" = set; then
4151 enableval="$enable_mem_tracing"
4152
4153 if test "$enableval" = yes; then
4154 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4155 else
4156 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4157 fi
4158
4159 else
4160
4161 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4162 if test "x$LINE" != x ; then
4163 eval "DEFAULT_$LINE"
4164 else
4165 no_cache=1
4166 fi
4167
4168 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4169
4170 fi;
4171
4172 eval "$ac_cv_use_mem_tracing"
4173 if test "$no_cache" != 1; then
4174 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4175 fi
4176
4177 if test "$wxUSE_MEM_TRACING" = yes; then
4178 echo "$as_me:$LINENO: result: yes" >&5
4179 echo "${ECHO_T}yes" >&6
4180 else
4181 echo "$as_me:$LINENO: result: no" >&5
4182 echo "${ECHO_T}no" >&6
4183 fi
4184
4185
4186 enablestring=
4187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4188 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6
4189 no_cache=0
4190 # Check whether --enable-profile or --disable-profile was given.
4191 if test "${enable_profile+set}" = set; then
4192 enableval="$enable_profile"
4193
4194 if test "$enableval" = yes; then
4195 ac_cv_use_profile='wxUSE_PROFILE=yes'
4196 else
4197 ac_cv_use_profile='wxUSE_PROFILE=no'
4198 fi
4199
4200 else
4201
4202 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4203 if test "x$LINE" != x ; then
4204 eval "DEFAULT_$LINE"
4205 else
4206 no_cache=1
4207 fi
4208
4209 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4210
4211 fi;
4212
4213 eval "$ac_cv_use_profile"
4214 if test "$no_cache" != 1; then
4215 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4216 fi
4217
4218 if test "$wxUSE_PROFILE" = yes; then
4219 echo "$as_me:$LINENO: result: yes" >&5
4220 echo "${ECHO_T}yes" >&6
4221 else
4222 echo "$as_me:$LINENO: result: no" >&5
4223 echo "${ECHO_T}no" >&6
4224 fi
4225
4226
4227 enablestring=
4228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4229 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6
4230 no_cache=0
4231 # Check whether --enable-no_rtti or --disable-no_rtti was given.
4232 if test "${enable_no_rtti+set}" = set; then
4233 enableval="$enable_no_rtti"
4234
4235 if test "$enableval" = yes; then
4236 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4237 else
4238 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4239 fi
4240
4241 else
4242
4243 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4244 if test "x$LINE" != x ; then
4245 eval "DEFAULT_$LINE"
4246 else
4247 no_cache=1
4248 fi
4249
4250 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
4251
4252 fi;
4253
4254 eval "$ac_cv_use_no_rtti"
4255 if test "$no_cache" != 1; then
4256 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
4257 fi
4258
4259 if test "$wxUSE_NO_RTTI" = yes; then
4260 echo "$as_me:$LINENO: result: yes" >&5
4261 echo "${ECHO_T}yes" >&6
4262 else
4263 echo "$as_me:$LINENO: result: no" >&5
4264 echo "${ECHO_T}no" >&6
4265 fi
4266
4267
4268 enablestring=
4269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
4270 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6
4271 no_cache=0
4272 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
4273 if test "${enable_no_exceptions+set}" = set; then
4274 enableval="$enable_no_exceptions"
4275
4276 if test "$enableval" = yes; then
4277 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
4278 else
4279 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
4280 fi
4281
4282 else
4283
4284 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
4285 if test "x$LINE" != x ; then
4286 eval "DEFAULT_$LINE"
4287 else
4288 no_cache=1
4289 fi
4290
4291 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
4292
4293 fi;
4294
4295 eval "$ac_cv_use_no_exceptions"
4296 if test "$no_cache" != 1; then
4297 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
4298 fi
4299
4300 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
4301 echo "$as_me:$LINENO: result: yes" >&5
4302 echo "${ECHO_T}yes" >&6
4303 else
4304 echo "$as_me:$LINENO: result: no" >&5
4305 echo "${ECHO_T}no" >&6
4306 fi
4307
4308
4309 enablestring=
4310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
4311 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6
4312 no_cache=0
4313 # Check whether --enable-permissive or --disable-permissive was given.
4314 if test "${enable_permissive+set}" = set; then
4315 enableval="$enable_permissive"
4316
4317 if test "$enableval" = yes; then
4318 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
4319 else
4320 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
4321 fi
4322
4323 else
4324
4325 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
4326 if test "x$LINE" != x ; then
4327 eval "DEFAULT_$LINE"
4328 else
4329 no_cache=1
4330 fi
4331
4332 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
4333
4334 fi;
4335
4336 eval "$ac_cv_use_permissive"
4337 if test "$no_cache" != 1; then
4338 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
4339 fi
4340
4341 if test "$wxUSE_PERMISSIVE" = yes; then
4342 echo "$as_me:$LINENO: result: yes" >&5
4343 echo "${ECHO_T}yes" >&6
4344 else
4345 echo "$as_me:$LINENO: result: no" >&5
4346 echo "${ECHO_T}no" >&6
4347 fi
4348
4349
4350 enablestring=
4351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
4352 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6
4353 no_cache=0
4354 # Check whether --enable-no_deps or --disable-no_deps was given.
4355 if test "${enable_no_deps+set}" = set; then
4356 enableval="$enable_no_deps"
4357
4358 if test "$enableval" = yes; then
4359 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
4360 else
4361 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
4362 fi
4363
4364 else
4365
4366 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
4367 if test "x$LINE" != x ; then
4368 eval "DEFAULT_$LINE"
4369 else
4370 no_cache=1
4371 fi
4372
4373 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
4374
4375 fi;
4376
4377 eval "$ac_cv_use_no_deps"
4378 if test "$no_cache" != 1; then
4379 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
4380 fi
4381
4382 if test "$wxUSE_NO_DEPS" = yes; then
4383 echo "$as_me:$LINENO: result: yes" >&5
4384 echo "${ECHO_T}yes" >&6
4385 else
4386 echo "$as_me:$LINENO: result: no" >&5
4387 echo "${ECHO_T}no" >&6
4388 fi
4389
4390
4391 enablestring=
4392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
4393 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6
4394 no_cache=0
4395 # Check whether --enable-universal_binary or --disable-universal_binary was given.
4396 if test "${enable_universal_binary+set}" = set; then
4397 enableval="$enable_universal_binary"
4398
4399 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
4400
4401 else
4402
4403 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
4404 if test "x$LINE" != x ; then
4405 eval "DEFAULT_$LINE"
4406 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
4407 else
4408 no_cache=1
4409 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
4410 fi
4411
4412 fi;
4413
4414 eval "$wx_cv_use_universal_binary"
4415 if test "$no_cache" != 1; then
4416 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
4417 fi
4418
4419 echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
4420 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6
4421
4422
4423
4424 enablestring=enable
4425 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat24" >&5
4426 echo $ECHO_N "checking for --${enablestring:-enable}-compat24... $ECHO_C" >&6
4427 no_cache=0
4428 # Check whether --enable-compat24 or --disable-compat24 was given.
4429 if test "${enable_compat24+set}" = set; then
4430 enableval="$enable_compat24"
4431
4432 if test "$enableval" = yes; then
4433 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=yes'
4434 else
4435 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4=no'
4436 fi
4437
4438 else
4439
4440 LINE=`grep "WXWIN_COMPATIBILITY_2_4" ${wx_arg_cache_file}`
4441 if test "x$LINE" != x ; then
4442 eval "DEFAULT_$LINE"
4443 else
4444 no_cache=1
4445 fi
4446
4447 ac_cv_use_compat24='WXWIN_COMPATIBILITY_2_4='$DEFAULT_WXWIN_COMPATIBILITY_2_4
4448
4449 fi;
4450
4451 eval "$ac_cv_use_compat24"
4452 if test "$no_cache" != 1; then
4453 echo $ac_cv_use_compat24 >> ${wx_arg_cache_file}.tmp
4454 fi
4455
4456 if test "$WXWIN_COMPATIBILITY_2_4" = yes; then
4457 echo "$as_me:$LINENO: result: yes" >&5
4458 echo "${ECHO_T}yes" >&6
4459 else
4460 echo "$as_me:$LINENO: result: no" >&5
4461 echo "${ECHO_T}no" >&6
4462 fi
4463
4464
4465 enablestring=disable
4466 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
4467 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6
4468 no_cache=0
4469 # Check whether --enable-compat26 or --disable-compat26 was given.
4470 if test "${enable_compat26+set}" = set; then
4471 enableval="$enable_compat26"
4472
4473 if test "$enableval" = yes; then
4474 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
4475 else
4476 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
4477 fi
4478
4479 else
4480
4481 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
4482 if test "x$LINE" != x ; then
4483 eval "DEFAULT_$LINE"
4484 else
4485 no_cache=1
4486 fi
4487
4488 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
4489
4490 fi;
4491
4492 eval "$ac_cv_use_compat26"
4493 if test "$no_cache" != 1; then
4494 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
4495 fi
4496
4497 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
4498 echo "$as_me:$LINENO: result: yes" >&5
4499 echo "${ECHO_T}yes" >&6
4500 else
4501 echo "$as_me:$LINENO: result: no" >&5
4502 echo "${ECHO_T}no" >&6
4503 fi
4504
4505
4506
4507 enablestring=
4508 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
4509 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6
4510 no_cache=0
4511 # Check whether --enable-rpath or --disable-rpath was given.
4512 if test "${enable_rpath+set}" = set; then
4513 enableval="$enable_rpath"
4514
4515 if test "$enableval" = yes; then
4516 ac_cv_use_rpath='wxUSE_RPATH=yes'
4517 else
4518 ac_cv_use_rpath='wxUSE_RPATH=no'
4519 fi
4520
4521 else
4522
4523 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
4524 if test "x$LINE" != x ; then
4525 eval "DEFAULT_$LINE"
4526 else
4527 no_cache=1
4528 fi
4529
4530 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
4531
4532 fi;
4533
4534 eval "$ac_cv_use_rpath"
4535 if test "$no_cache" != 1; then
4536 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
4537 fi
4538
4539 if test "$wxUSE_RPATH" = yes; then
4540 echo "$as_me:$LINENO: result: yes" >&5
4541 echo "${ECHO_T}yes" >&6
4542 else
4543 echo "$as_me:$LINENO: result: no" >&5
4544 echo "${ECHO_T}no" >&6
4545 fi
4546
4547
4548
4549
4550
4551 enablestring=
4552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
4553 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6
4554 no_cache=0
4555 # Check whether --enable-intl or --disable-intl was given.
4556 if test "${enable_intl+set}" = set; then
4557 enableval="$enable_intl"
4558
4559 if test "$enableval" = yes; then
4560 ac_cv_use_intl='wxUSE_INTL=yes'
4561 else
4562 ac_cv_use_intl='wxUSE_INTL=no'
4563 fi
4564
4565 else
4566
4567 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
4568 if test "x$LINE" != x ; then
4569 eval "DEFAULT_$LINE"
4570 else
4571 no_cache=1
4572 fi
4573
4574 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
4575
4576 fi;
4577
4578 eval "$ac_cv_use_intl"
4579 if test "$no_cache" != 1; then
4580 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
4581 fi
4582
4583 if test "$wxUSE_INTL" = yes; then
4584 echo "$as_me:$LINENO: result: yes" >&5
4585 echo "${ECHO_T}yes" >&6
4586 else
4587 echo "$as_me:$LINENO: result: no" >&5
4588 echo "${ECHO_T}no" >&6
4589 fi
4590
4591
4592 enablestring=
4593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
4594 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6
4595 no_cache=0
4596 # Check whether --enable-config or --disable-config was given.
4597 if test "${enable_config+set}" = set; then
4598 enableval="$enable_config"
4599
4600 if test "$enableval" = yes; then
4601 ac_cv_use_config='wxUSE_CONFIG=yes'
4602 else
4603 ac_cv_use_config='wxUSE_CONFIG=no'
4604 fi
4605
4606 else
4607
4608 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
4609 if test "x$LINE" != x ; then
4610 eval "DEFAULT_$LINE"
4611 else
4612 no_cache=1
4613 fi
4614
4615 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
4616
4617 fi;
4618
4619 eval "$ac_cv_use_config"
4620 if test "$no_cache" != 1; then
4621 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
4622 fi
4623
4624 if test "$wxUSE_CONFIG" = yes; then
4625 echo "$as_me:$LINENO: result: yes" >&5
4626 echo "${ECHO_T}yes" >&6
4627 else
4628 echo "$as_me:$LINENO: result: no" >&5
4629 echo "${ECHO_T}no" >&6
4630 fi
4631
4632
4633
4634 enablestring=
4635 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
4636 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6
4637 no_cache=0
4638 # Check whether --enable-protocols or --disable-protocols was given.
4639 if test "${enable_protocols+set}" = set; then
4640 enableval="$enable_protocols"
4641
4642 if test "$enableval" = yes; then
4643 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
4644 else
4645 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
4646 fi
4647
4648 else
4649
4650 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4651 if test "x$LINE" != x ; then
4652 eval "DEFAULT_$LINE"
4653 else
4654 no_cache=1
4655 fi
4656
4657 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4658
4659 fi;
4660
4661 eval "$ac_cv_use_protocols"
4662 if test "$no_cache" != 1; then
4663 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
4664 fi
4665
4666 if test "$wxUSE_PROTOCOL" = yes; then
4667 echo "$as_me:$LINENO: result: yes" >&5
4668 echo "${ECHO_T}yes" >&6
4669 else
4670 echo "$as_me:$LINENO: result: no" >&5
4671 echo "${ECHO_T}no" >&6
4672 fi
4673
4674
4675 enablestring=
4676 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
4677 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6
4678 no_cache=0
4679 # Check whether --enable-ftp or --disable-ftp was given.
4680 if test "${enable_ftp+set}" = set; then
4681 enableval="$enable_ftp"
4682
4683 if test "$enableval" = yes; then
4684 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
4685 else
4686 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
4687 fi
4688
4689 else
4690
4691 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4692 if test "x$LINE" != x ; then
4693 eval "DEFAULT_$LINE"
4694 else
4695 no_cache=1
4696 fi
4697
4698 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4699
4700 fi;
4701
4702 eval "$ac_cv_use_ftp"
4703 if test "$no_cache" != 1; then
4704 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
4705 fi
4706
4707 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4708 echo "$as_me:$LINENO: result: yes" >&5
4709 echo "${ECHO_T}yes" >&6
4710 else
4711 echo "$as_me:$LINENO: result: no" >&5
4712 echo "${ECHO_T}no" >&6
4713 fi
4714
4715
4716 enablestring=
4717 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
4718 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6
4719 no_cache=0
4720 # Check whether --enable-http or --disable-http was given.
4721 if test "${enable_http+set}" = set; then
4722 enableval="$enable_http"
4723
4724 if test "$enableval" = yes; then
4725 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
4726 else
4727 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
4728 fi
4729
4730 else
4731
4732 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4733 if test "x$LINE" != x ; then
4734 eval "DEFAULT_$LINE"
4735 else
4736 no_cache=1
4737 fi
4738
4739 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4740
4741 fi;
4742
4743 eval "$ac_cv_use_http"
4744 if test "$no_cache" != 1; then
4745 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
4746 fi
4747
4748 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4749 echo "$as_me:$LINENO: result: yes" >&5
4750 echo "${ECHO_T}yes" >&6
4751 else
4752 echo "$as_me:$LINENO: result: no" >&5
4753 echo "${ECHO_T}no" >&6
4754 fi
4755
4756
4757 enablestring=
4758 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
4759 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6
4760 no_cache=0
4761 # Check whether --enable-fileproto or --disable-fileproto was given.
4762 if test "${enable_fileproto+set}" = set; then
4763 enableval="$enable_fileproto"
4764
4765 if test "$enableval" = yes; then
4766 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
4767 else
4768 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
4769 fi
4770
4771 else
4772
4773 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4774 if test "x$LINE" != x ; then
4775 eval "DEFAULT_$LINE"
4776 else
4777 no_cache=1
4778 fi
4779
4780 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4781
4782 fi;
4783
4784 eval "$ac_cv_use_fileproto"
4785 if test "$no_cache" != 1; then
4786 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
4787 fi
4788
4789 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4790 echo "$as_me:$LINENO: result: yes" >&5
4791 echo "${ECHO_T}yes" >&6
4792 else
4793 echo "$as_me:$LINENO: result: no" >&5
4794 echo "${ECHO_T}no" >&6
4795 fi
4796
4797
4798 enablestring=
4799 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
4800 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6
4801 no_cache=0
4802 # Check whether --enable-sockets or --disable-sockets was given.
4803 if test "${enable_sockets+set}" = set; then
4804 enableval="$enable_sockets"
4805
4806 if test "$enableval" = yes; then
4807 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
4808 else
4809 ac_cv_use_sockets='wxUSE_SOCKETS=no'
4810 fi
4811
4812 else
4813
4814 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
4815 if test "x$LINE" != x ; then
4816 eval "DEFAULT_$LINE"
4817 else
4818 no_cache=1
4819 fi
4820
4821 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
4822
4823 fi;
4824
4825 eval "$ac_cv_use_sockets"
4826 if test "$no_cache" != 1; then
4827 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
4828 fi
4829
4830 if test "$wxUSE_SOCKETS" = yes; then
4831 echo "$as_me:$LINENO: result: yes" >&5
4832 echo "${ECHO_T}yes" >&6
4833 else
4834 echo "$as_me:$LINENO: result: no" >&5
4835 echo "${ECHO_T}no" >&6
4836 fi
4837
4838
4839 enablestring=
4840 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
4841 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6
4842 no_cache=0
4843 # Check whether --enable-ole or --disable-ole was given.
4844 if test "${enable_ole+set}" = set; then
4845 enableval="$enable_ole"
4846
4847 if test "$enableval" = yes; then
4848 ac_cv_use_ole='wxUSE_OLE=yes'
4849 else
4850 ac_cv_use_ole='wxUSE_OLE=no'
4851 fi
4852
4853 else
4854
4855 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
4856 if test "x$LINE" != x ; then
4857 eval "DEFAULT_$LINE"
4858 else
4859 no_cache=1
4860 fi
4861
4862 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
4863
4864 fi;
4865
4866 eval "$ac_cv_use_ole"
4867 if test "$no_cache" != 1; then
4868 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
4869 fi
4870
4871 if test "$wxUSE_OLE" = yes; then
4872 echo "$as_me:$LINENO: result: yes" >&5
4873 echo "${ECHO_T}yes" >&6
4874 else
4875 echo "$as_me:$LINENO: result: no" >&5
4876 echo "${ECHO_T}no" >&6
4877 fi
4878
4879
4880 enablestring=
4881 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
4882 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6
4883 no_cache=0
4884 # Check whether --enable-dataobj or --disable-dataobj was given.
4885 if test "${enable_dataobj+set}" = set; then
4886 enableval="$enable_dataobj"
4887
4888 if test "$enableval" = yes; then
4889 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
4890 else
4891 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
4892 fi
4893
4894 else
4895
4896 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
4897 if test "x$LINE" != x ; then
4898 eval "DEFAULT_$LINE"
4899 else
4900 no_cache=1
4901 fi
4902
4903 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
4904
4905 fi;
4906
4907 eval "$ac_cv_use_dataobj"
4908 if test "$no_cache" != 1; then
4909 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
4910 fi
4911
4912 if test "$wxUSE_DATAOBJ" = yes; then
4913 echo "$as_me:$LINENO: result: yes" >&5
4914 echo "${ECHO_T}yes" >&6
4915 else
4916 echo "$as_me:$LINENO: result: no" >&5
4917 echo "${ECHO_T}no" >&6
4918 fi
4919
4920
4921
4922 enablestring=
4923 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
4924 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6
4925 no_cache=0
4926 # Check whether --enable-ipc or --disable-ipc was given.
4927 if test "${enable_ipc+set}" = set; then
4928 enableval="$enable_ipc"
4929
4930 if test "$enableval" = yes; then
4931 ac_cv_use_ipc='wxUSE_IPC=yes'
4932 else
4933 ac_cv_use_ipc='wxUSE_IPC=no'
4934 fi
4935
4936 else
4937
4938 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
4939 if test "x$LINE" != x ; then
4940 eval "DEFAULT_$LINE"
4941 else
4942 no_cache=1
4943 fi
4944
4945 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
4946
4947 fi;
4948
4949 eval "$ac_cv_use_ipc"
4950 if test "$no_cache" != 1; then
4951 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
4952 fi
4953
4954 if test "$wxUSE_IPC" = yes; then
4955 echo "$as_me:$LINENO: result: yes" >&5
4956 echo "${ECHO_T}yes" >&6
4957 else
4958 echo "$as_me:$LINENO: result: no" >&5
4959 echo "${ECHO_T}no" >&6
4960 fi
4961
4962
4963
4964 enablestring=
4965 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
4966 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6
4967 no_cache=0
4968 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
4969 if test "${enable_apple_ieee+set}" = set; then
4970 enableval="$enable_apple_ieee"
4971
4972 if test "$enableval" = yes; then
4973 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
4974 else
4975 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
4976 fi
4977
4978 else
4979
4980 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
4981 if test "x$LINE" != x ; then
4982 eval "DEFAULT_$LINE"
4983 else
4984 no_cache=1
4985 fi
4986
4987 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4988
4989 fi;
4990
4991 eval "$ac_cv_use_apple_ieee"
4992 if test "$no_cache" != 1; then
4993 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
4994 fi
4995
4996 if test "$wxUSE_APPLE_IEEE" = yes; then
4997 echo "$as_me:$LINENO: result: yes" >&5
4998 echo "${ECHO_T}yes" >&6
4999 else
5000 echo "$as_me:$LINENO: result: no" >&5
5001 echo "${ECHO_T}no" >&6
5002 fi
5003
5004
5005 enablestring=
5006 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5007 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6
5008 no_cache=0
5009 # Check whether --enable-arcstream or --disable-arcstream was given.
5010 if test "${enable_arcstream+set}" = set; then
5011 enableval="$enable_arcstream"
5012
5013 if test "$enableval" = yes; then
5014 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5015 else
5016 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5017 fi
5018
5019 else
5020
5021 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5022 if test "x$LINE" != x ; then
5023 eval "DEFAULT_$LINE"
5024 else
5025 no_cache=1
5026 fi
5027
5028 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5029
5030 fi;
5031
5032 eval "$ac_cv_use_arcstream"
5033 if test "$no_cache" != 1; then
5034 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5035 fi
5036
5037 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5038 echo "$as_me:$LINENO: result: yes" >&5
5039 echo "${ECHO_T}yes" >&6
5040 else
5041 echo "$as_me:$LINENO: result: no" >&5
5042 echo "${ECHO_T}no" >&6
5043 fi
5044
5045
5046 enablestring=
5047 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5048 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6
5049 no_cache=0
5050 # Check whether --enable-backtrace or --disable-backtrace was given.
5051 if test "${enable_backtrace+set}" = set; then
5052 enableval="$enable_backtrace"
5053
5054 if test "$enableval" = yes; then
5055 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5056 else
5057 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5058 fi
5059
5060 else
5061
5062 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5063 if test "x$LINE" != x ; then
5064 eval "DEFAULT_$LINE"
5065 else
5066 no_cache=1
5067 fi
5068
5069 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5070
5071 fi;
5072
5073 eval "$ac_cv_use_backtrace"
5074 if test "$no_cache" != 1; then
5075 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5076 fi
5077
5078 if test "$wxUSE_STACKWALKER" = yes; then
5079 echo "$as_me:$LINENO: result: yes" >&5
5080 echo "${ECHO_T}yes" >&6
5081 else
5082 echo "$as_me:$LINENO: result: no" >&5
5083 echo "${ECHO_T}no" >&6
5084 fi
5085
5086
5087 enablestring=
5088 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5089 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6
5090 no_cache=0
5091 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
5092 if test "${enable_catch_segvs+set}" = set; then
5093 enableval="$enable_catch_segvs"
5094
5095 if test "$enableval" = yes; then
5096 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5097 else
5098 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5099 fi
5100
5101 else
5102
5103 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5104 if test "x$LINE" != x ; then
5105 eval "DEFAULT_$LINE"
5106 else
5107 no_cache=1
5108 fi
5109
5110 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5111
5112 fi;
5113
5114 eval "$ac_cv_use_catch_segvs"
5115 if test "$no_cache" != 1; then
5116 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5117 fi
5118
5119 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5120 echo "$as_me:$LINENO: result: yes" >&5
5121 echo "${ECHO_T}yes" >&6
5122 else
5123 echo "$as_me:$LINENO: result: no" >&5
5124 echo "${ECHO_T}no" >&6
5125 fi
5126
5127
5128 enablestring=
5129 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5130 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6
5131 no_cache=0
5132 # Check whether --enable-cmdline or --disable-cmdline was given.
5133 if test "${enable_cmdline+set}" = set; then
5134 enableval="$enable_cmdline"
5135
5136 if test "$enableval" = yes; then
5137 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5138 else
5139 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5140 fi
5141
5142 else
5143
5144 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5145 if test "x$LINE" != x ; then
5146 eval "DEFAULT_$LINE"
5147 else
5148 no_cache=1
5149 fi
5150
5151 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5152
5153 fi;
5154
5155 eval "$ac_cv_use_cmdline"
5156 if test "$no_cache" != 1; then
5157 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5158 fi
5159
5160 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5161 echo "$as_me:$LINENO: result: yes" >&5
5162 echo "${ECHO_T}yes" >&6
5163 else
5164 echo "$as_me:$LINENO: result: no" >&5
5165 echo "${ECHO_T}no" >&6
5166 fi
5167
5168
5169 enablestring=
5170 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5171 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6
5172 no_cache=0
5173 # Check whether --enable-datetime or --disable-datetime was given.
5174 if test "${enable_datetime+set}" = set; then
5175 enableval="$enable_datetime"
5176
5177 if test "$enableval" = yes; then
5178 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5179 else
5180 ac_cv_use_datetime='wxUSE_DATETIME=no'
5181 fi
5182
5183 else
5184
5185 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5186 if test "x$LINE" != x ; then
5187 eval "DEFAULT_$LINE"
5188 else
5189 no_cache=1
5190 fi
5191
5192 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5193
5194 fi;
5195
5196 eval "$ac_cv_use_datetime"
5197 if test "$no_cache" != 1; then
5198 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5199 fi
5200
5201 if test "$wxUSE_DATETIME" = yes; then
5202 echo "$as_me:$LINENO: result: yes" >&5
5203 echo "${ECHO_T}yes" >&6
5204 else
5205 echo "$as_me:$LINENO: result: no" >&5
5206 echo "${ECHO_T}no" >&6
5207 fi
5208
5209
5210 enablestring=
5211 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
5212 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6
5213 no_cache=0
5214 # Check whether --enable-debugreport or --disable-debugreport was given.
5215 if test "${enable_debugreport+set}" = set; then
5216 enableval="$enable_debugreport"
5217
5218 if test "$enableval" = yes; then
5219 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
5220 else
5221 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
5222 fi
5223
5224 else
5225
5226 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
5227 if test "x$LINE" != x ; then
5228 eval "DEFAULT_$LINE"
5229 else
5230 no_cache=1
5231 fi
5232
5233 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
5234
5235 fi;
5236
5237 eval "$ac_cv_use_debugreport"
5238 if test "$no_cache" != 1; then
5239 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
5240 fi
5241
5242 if test "$wxUSE_DEBUGREPORT" = yes; then
5243 echo "$as_me:$LINENO: result: yes" >&5
5244 echo "${ECHO_T}yes" >&6
5245 else
5246 echo "$as_me:$LINENO: result: no" >&5
5247 echo "${ECHO_T}no" >&6
5248 fi
5249
5250
5251 enablestring=
5252 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
5253 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6
5254 no_cache=0
5255 # Check whether --enable-dialupman or --disable-dialupman was given.
5256 if test "${enable_dialupman+set}" = set; then
5257 enableval="$enable_dialupman"
5258
5259 if test "$enableval" = yes; then
5260 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
5261 else
5262 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
5263 fi
5264
5265 else
5266
5267 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
5268 if test "x$LINE" != x ; then
5269 eval "DEFAULT_$LINE"
5270 else
5271 no_cache=1
5272 fi
5273
5274 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
5275
5276 fi;
5277
5278 eval "$ac_cv_use_dialupman"
5279 if test "$no_cache" != 1; then
5280 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
5281 fi
5282
5283 if test "$wxUSE_DIALUP_MANAGER" = yes; then
5284 echo "$as_me:$LINENO: result: yes" >&5
5285 echo "${ECHO_T}yes" >&6
5286 else
5287 echo "$as_me:$LINENO: result: no" >&5
5288 echo "${ECHO_T}no" >&6
5289 fi
5290
5291
5292 enablestring=
5293 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
5294 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6
5295 no_cache=0
5296 # Check whether --enable-dynlib or --disable-dynlib was given.
5297 if test "${enable_dynlib+set}" = set; then
5298 enableval="$enable_dynlib"
5299
5300 if test "$enableval" = yes; then
5301 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
5302 else
5303 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
5304 fi
5305
5306 else
5307
5308 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
5309 if test "x$LINE" != x ; then
5310 eval "DEFAULT_$LINE"
5311 else
5312 no_cache=1
5313 fi
5314
5315 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
5316
5317 fi;
5318
5319 eval "$ac_cv_use_dynlib"
5320 if test "$no_cache" != 1; then
5321 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
5322 fi
5323
5324 if test "$wxUSE_DYNLIB_CLASS" = yes; then
5325 echo "$as_me:$LINENO: result: yes" >&5
5326 echo "${ECHO_T}yes" >&6
5327 else
5328 echo "$as_me:$LINENO: result: no" >&5
5329 echo "${ECHO_T}no" >&6
5330 fi
5331
5332
5333 enablestring=
5334 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
5335 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6
5336 no_cache=0
5337 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
5338 if test "${enable_dynamicloader+set}" = set; then
5339 enableval="$enable_dynamicloader"
5340
5341 if test "$enableval" = yes; then
5342 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
5343 else
5344 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
5345 fi
5346
5347 else
5348
5349 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
5350 if test "x$LINE" != x ; then
5351 eval "DEFAULT_$LINE"
5352 else
5353 no_cache=1
5354 fi
5355
5356 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
5357
5358 fi;
5359
5360 eval "$ac_cv_use_dynamicloader"
5361 if test "$no_cache" != 1; then
5362 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
5363 fi
5364
5365 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
5366 echo "$as_me:$LINENO: result: yes" >&5
5367 echo "${ECHO_T}yes" >&6
5368 else
5369 echo "$as_me:$LINENO: result: no" >&5
5370 echo "${ECHO_T}no" >&6
5371 fi
5372
5373
5374 enablestring=
5375 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
5376 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6
5377 no_cache=0
5378 # Check whether --enable-exceptions or --disable-exceptions was given.
5379 if test "${enable_exceptions+set}" = set; then
5380 enableval="$enable_exceptions"
5381
5382 if test "$enableval" = yes; then
5383 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
5384 else
5385 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
5386 fi
5387
5388 else
5389
5390 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
5391 if test "x$LINE" != x ; then
5392 eval "DEFAULT_$LINE"
5393 else
5394 no_cache=1
5395 fi
5396
5397 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
5398
5399 fi;
5400
5401 eval "$ac_cv_use_exceptions"
5402 if test "$no_cache" != 1; then
5403 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
5404 fi
5405
5406 if test "$wxUSE_EXCEPTIONS" = yes; then
5407 echo "$as_me:$LINENO: result: yes" >&5
5408 echo "${ECHO_T}yes" >&6
5409 else
5410 echo "$as_me:$LINENO: result: no" >&5
5411 echo "${ECHO_T}no" >&6
5412 fi
5413
5414
5415 enablestring=
5416 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
5417 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6
5418 no_cache=0
5419 # Check whether --enable-ffile or --disable-ffile was given.
5420 if test "${enable_ffile+set}" = set; then
5421 enableval="$enable_ffile"
5422
5423 if test "$enableval" = yes; then
5424 ac_cv_use_ffile='wxUSE_FFILE=yes'
5425 else
5426 ac_cv_use_ffile='wxUSE_FFILE=no'
5427 fi
5428
5429 else
5430
5431 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
5432 if test "x$LINE" != x ; then
5433 eval "DEFAULT_$LINE"
5434 else
5435 no_cache=1
5436 fi
5437
5438 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
5439
5440 fi;
5441
5442 eval "$ac_cv_use_ffile"
5443 if test "$no_cache" != 1; then
5444 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
5445 fi
5446
5447 if test "$wxUSE_FFILE" = yes; then
5448 echo "$as_me:$LINENO: result: yes" >&5
5449 echo "${ECHO_T}yes" >&6
5450 else
5451 echo "$as_me:$LINENO: result: no" >&5
5452 echo "${ECHO_T}no" >&6
5453 fi
5454
5455
5456 enablestring=
5457 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
5458 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6
5459 no_cache=0
5460 # Check whether --enable-file or --disable-file was given.
5461 if test "${enable_file+set}" = set; then
5462 enableval="$enable_file"
5463
5464 if test "$enableval" = yes; then
5465 ac_cv_use_file='wxUSE_FILE=yes'
5466 else
5467 ac_cv_use_file='wxUSE_FILE=no'
5468 fi
5469
5470 else
5471
5472 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
5473 if test "x$LINE" != x ; then
5474 eval "DEFAULT_$LINE"
5475 else
5476 no_cache=1
5477 fi
5478
5479 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5480
5481 fi;
5482
5483 eval "$ac_cv_use_file"
5484 if test "$no_cache" != 1; then
5485 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
5486 fi
5487
5488 if test "$wxUSE_FILE" = yes; then
5489 echo "$as_me:$LINENO: result: yes" >&5
5490 echo "${ECHO_T}yes" >&6
5491 else
5492 echo "$as_me:$LINENO: result: no" >&5
5493 echo "${ECHO_T}no" >&6
5494 fi
5495
5496
5497 enablestring=
5498 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
5499 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6
5500 no_cache=0
5501 # Check whether --enable-filesystem or --disable-filesystem was given.
5502 if test "${enable_filesystem+set}" = set; then
5503 enableval="$enable_filesystem"
5504
5505 if test "$enableval" = yes; then
5506 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
5507 else
5508 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
5509 fi
5510
5511 else
5512
5513 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
5514 if test "x$LINE" != x ; then
5515 eval "DEFAULT_$LINE"
5516 else
5517 no_cache=1
5518 fi
5519
5520 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
5521
5522 fi;
5523
5524 eval "$ac_cv_use_filesystem"
5525 if test "$no_cache" != 1; then
5526 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
5527 fi
5528
5529 if test "$wxUSE_FILESYSTEM" = yes; then
5530 echo "$as_me:$LINENO: result: yes" >&5
5531 echo "${ECHO_T}yes" >&6
5532 else
5533 echo "$as_me:$LINENO: result: no" >&5
5534 echo "${ECHO_T}no" >&6
5535 fi
5536
5537
5538 enablestring=
5539 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
5540 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6
5541 no_cache=0
5542 # Check whether --enable-fontmap or --disable-fontmap was given.
5543 if test "${enable_fontmap+set}" = set; then
5544 enableval="$enable_fontmap"
5545
5546 if test "$enableval" = yes; then
5547 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
5548 else
5549 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
5550 fi
5551
5552 else
5553
5554 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
5555 if test "x$LINE" != x ; then
5556 eval "DEFAULT_$LINE"
5557 else
5558 no_cache=1
5559 fi
5560
5561 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
5562
5563 fi;
5564
5565 eval "$ac_cv_use_fontmap"
5566 if test "$no_cache" != 1; then
5567 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
5568 fi
5569
5570 if test "$wxUSE_FONTMAP" = yes; then
5571 echo "$as_me:$LINENO: result: yes" >&5
5572 echo "${ECHO_T}yes" >&6
5573 else
5574 echo "$as_me:$LINENO: result: no" >&5
5575 echo "${ECHO_T}no" >&6
5576 fi
5577
5578
5579 enablestring=
5580 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
5581 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6
5582 no_cache=0
5583 # Check whether --enable-fs_inet or --disable-fs_inet was given.
5584 if test "${enable_fs_inet+set}" = set; then
5585 enableval="$enable_fs_inet"
5586
5587 if test "$enableval" = yes; then
5588 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
5589 else
5590 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
5591 fi
5592
5593 else
5594
5595 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
5596 if test "x$LINE" != x ; then
5597 eval "DEFAULT_$LINE"
5598 else
5599 no_cache=1
5600 fi
5601
5602 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
5603
5604 fi;
5605
5606 eval "$ac_cv_use_fs_inet"
5607 if test "$no_cache" != 1; then
5608 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
5609 fi
5610
5611 if test "$wxUSE_FS_INET" = yes; then
5612 echo "$as_me:$LINENO: result: yes" >&5
5613 echo "${ECHO_T}yes" >&6
5614 else
5615 echo "$as_me:$LINENO: result: no" >&5
5616 echo "${ECHO_T}no" >&6
5617 fi
5618
5619
5620 enablestring=
5621 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
5622 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6
5623 no_cache=0
5624 # Check whether --enable-fs_zip or --disable-fs_zip was given.
5625 if test "${enable_fs_zip+set}" = set; then
5626 enableval="$enable_fs_zip"
5627
5628 if test "$enableval" = yes; then
5629 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
5630 else
5631 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
5632 fi
5633
5634 else
5635
5636 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
5637 if test "x$LINE" != x ; then
5638 eval "DEFAULT_$LINE"
5639 else
5640 no_cache=1
5641 fi
5642
5643 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
5644
5645 fi;
5646
5647 eval "$ac_cv_use_fs_zip"
5648 if test "$no_cache" != 1; then
5649 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
5650 fi
5651
5652 if test "$wxUSE_FS_ZIP" = yes; then
5653 echo "$as_me:$LINENO: result: yes" >&5
5654 echo "${ECHO_T}yes" >&6
5655 else
5656 echo "$as_me:$LINENO: result: no" >&5
5657 echo "${ECHO_T}no" >&6
5658 fi
5659
5660
5661 enablestring=
5662 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
5663 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6
5664 no_cache=0
5665 # Check whether --enable-geometry or --disable-geometry was given.
5666 if test "${enable_geometry+set}" = set; then
5667 enableval="$enable_geometry"
5668
5669 if test "$enableval" = yes; then
5670 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
5671 else
5672 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
5673 fi
5674
5675 else
5676
5677 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
5678 if test "x$LINE" != x ; then
5679 eval "DEFAULT_$LINE"
5680 else
5681 no_cache=1
5682 fi
5683
5684 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
5685
5686 fi;
5687
5688 eval "$ac_cv_use_geometry"
5689 if test "$no_cache" != 1; then
5690 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
5691 fi
5692
5693 if test "$wxUSE_GEOMETRY" = yes; then
5694 echo "$as_me:$LINENO: result: yes" >&5
5695 echo "${ECHO_T}yes" >&6
5696 else
5697 echo "$as_me:$LINENO: result: no" >&5
5698 echo "${ECHO_T}no" >&6
5699 fi
5700
5701
5702 enablestring=
5703 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
5704 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6
5705 no_cache=0
5706 # Check whether --enable-log or --disable-log was given.
5707 if test "${enable_log+set}" = set; then
5708 enableval="$enable_log"
5709
5710 if test "$enableval" = yes; then
5711 ac_cv_use_log='wxUSE_LOG=yes'
5712 else
5713 ac_cv_use_log='wxUSE_LOG=no'
5714 fi
5715
5716 else
5717
5718 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
5719 if test "x$LINE" != x ; then
5720 eval "DEFAULT_$LINE"
5721 else
5722 no_cache=1
5723 fi
5724
5725 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5726
5727 fi;
5728
5729 eval "$ac_cv_use_log"
5730 if test "$no_cache" != 1; then
5731 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
5732 fi
5733
5734 if test "$wxUSE_LOG" = yes; then
5735 echo "$as_me:$LINENO: result: yes" >&5
5736 echo "${ECHO_T}yes" >&6
5737 else
5738 echo "$as_me:$LINENO: result: no" >&5
5739 echo "${ECHO_T}no" >&6
5740 fi
5741
5742
5743 enablestring=
5744 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
5745 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6
5746 no_cache=0
5747 # Check whether --enable-longlong or --disable-longlong was given.
5748 if test "${enable_longlong+set}" = set; then
5749 enableval="$enable_longlong"
5750
5751 if test "$enableval" = yes; then
5752 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
5753 else
5754 ac_cv_use_longlong='wxUSE_LONGLONG=no'
5755 fi
5756
5757 else
5758
5759 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
5760 if test "x$LINE" != x ; then
5761 eval "DEFAULT_$LINE"
5762 else
5763 no_cache=1
5764 fi
5765
5766 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
5767
5768 fi;
5769
5770 eval "$ac_cv_use_longlong"
5771 if test "$no_cache" != 1; then
5772 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
5773 fi
5774
5775 if test "$wxUSE_LONGLONG" = yes; then
5776 echo "$as_me:$LINENO: result: yes" >&5
5777 echo "${ECHO_T}yes" >&6
5778 else
5779 echo "$as_me:$LINENO: result: no" >&5
5780 echo "${ECHO_T}no" >&6
5781 fi
5782
5783
5784 enablestring=
5785 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
5786 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6
5787 no_cache=0
5788 # Check whether --enable-mimetype or --disable-mimetype was given.
5789 if test "${enable_mimetype+set}" = set; then
5790 enableval="$enable_mimetype"
5791
5792 if test "$enableval" = yes; then
5793 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
5794 else
5795 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
5796 fi
5797
5798 else
5799
5800 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
5801 if test "x$LINE" != x ; then
5802 eval "DEFAULT_$LINE"
5803 else
5804 no_cache=1
5805 fi
5806
5807 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
5808
5809 fi;
5810
5811 eval "$ac_cv_use_mimetype"
5812 if test "$no_cache" != 1; then
5813 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
5814 fi
5815
5816 if test "$wxUSE_MIMETYPE" = yes; then
5817 echo "$as_me:$LINENO: result: yes" >&5
5818 echo "${ECHO_T}yes" >&6
5819 else
5820 echo "$as_me:$LINENO: result: no" >&5
5821 echo "${ECHO_T}no" >&6
5822 fi
5823
5824
5825 enablestring=
5826 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
5827 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6
5828 no_cache=0
5829 # Check whether --enable-mslu or --disable-mslu was given.
5830 if test "${enable_mslu+set}" = set; then
5831 enableval="$enable_mslu"
5832
5833 if test "$enableval" = yes; then
5834 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
5835 else
5836 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
5837 fi
5838
5839 else
5840
5841 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
5842 if test "x$LINE" != x ; then
5843 eval "DEFAULT_$LINE"
5844 else
5845 no_cache=1
5846 fi
5847
5848 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
5849
5850 fi;
5851
5852 eval "$ac_cv_use_mslu"
5853 if test "$no_cache" != 1; then
5854 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
5855 fi
5856
5857 if test "$wxUSE_UNICODE_MSLU" = yes; then
5858 echo "$as_me:$LINENO: result: yes" >&5
5859 echo "${ECHO_T}yes" >&6
5860 else
5861 echo "$as_me:$LINENO: result: no" >&5
5862 echo "${ECHO_T}no" >&6
5863 fi
5864
5865
5866 enablestring=
5867 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
5868 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6
5869 no_cache=0
5870 # Check whether --enable-snglinst or --disable-snglinst was given.
5871 if test "${enable_snglinst+set}" = set; then
5872 enableval="$enable_snglinst"
5873
5874 if test "$enableval" = yes; then
5875 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
5876 else
5877 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
5878 fi
5879
5880 else
5881
5882 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
5883 if test "x$LINE" != x ; then
5884 eval "DEFAULT_$LINE"
5885 else
5886 no_cache=1
5887 fi
5888
5889 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
5890
5891 fi;
5892
5893 eval "$ac_cv_use_snglinst"
5894 if test "$no_cache" != 1; then
5895 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
5896 fi
5897
5898 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
5899 echo "$as_me:$LINENO: result: yes" >&5
5900 echo "${ECHO_T}yes" >&6
5901 else
5902 echo "$as_me:$LINENO: result: no" >&5
5903 echo "${ECHO_T}no" >&6
5904 fi
5905
5906
5907 enablestring=
5908 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
5909 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6
5910 no_cache=0
5911 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
5912 if test "${enable_std_iostreams+set}" = set; then
5913 enableval="$enable_std_iostreams"
5914
5915 if test "$enableval" = yes; then
5916 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
5917 else
5918 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
5919 fi
5920
5921 else
5922
5923 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
5924 if test "x$LINE" != x ; then
5925 eval "DEFAULT_$LINE"
5926 else
5927 no_cache=1
5928 fi
5929
5930 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
5931
5932 fi;
5933
5934 eval "$ac_cv_use_std_iostreams"
5935 if test "$no_cache" != 1; then
5936 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
5937 fi
5938
5939 if test "$wxUSE_STD_IOSTREAM" = yes; then
5940 echo "$as_me:$LINENO: result: yes" >&5
5941 echo "${ECHO_T}yes" >&6
5942 else
5943 echo "$as_me:$LINENO: result: no" >&5
5944 echo "${ECHO_T}no" >&6
5945 fi
5946
5947
5948 enablestring=
5949 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
5950 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6
5951 no_cache=0
5952 # Check whether --enable-std_string or --disable-std_string was given.
5953 if test "${enable_std_string+set}" = set; then
5954 enableval="$enable_std_string"
5955
5956 if test "$enableval" = yes; then
5957 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
5958 else
5959 ac_cv_use_std_string='wxUSE_STD_STRING=no'
5960 fi
5961
5962 else
5963
5964 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
5965 if test "x$LINE" != x ; then
5966 eval "DEFAULT_$LINE"
5967 else
5968 no_cache=1
5969 fi
5970
5971 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
5972
5973 fi;
5974
5975 eval "$ac_cv_use_std_string"
5976 if test "$no_cache" != 1; then
5977 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
5978 fi
5979
5980 if test "$wxUSE_STD_STRING" = yes; then
5981 echo "$as_me:$LINENO: result: yes" >&5
5982 echo "${ECHO_T}yes" >&6
5983 else
5984 echo "$as_me:$LINENO: result: no" >&5
5985 echo "${ECHO_T}no" >&6
5986 fi
5987
5988
5989 enablestring=
5990 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
5991 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6
5992 no_cache=0
5993 # Check whether --enable-stdpaths or --disable-stdpaths was given.
5994 if test "${enable_stdpaths+set}" = set; then
5995 enableval="$enable_stdpaths"
5996
5997 if test "$enableval" = yes; then
5998 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
5999 else
6000 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6001 fi
6002
6003 else
6004
6005 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6006 if test "x$LINE" != x ; then
6007 eval "DEFAULT_$LINE"
6008 else
6009 no_cache=1
6010 fi
6011
6012 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6013
6014 fi;
6015
6016 eval "$ac_cv_use_stdpaths"
6017 if test "$no_cache" != 1; then
6018 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6019 fi
6020
6021 if test "$wxUSE_STDPATHS" = yes; then
6022 echo "$as_me:$LINENO: result: yes" >&5
6023 echo "${ECHO_T}yes" >&6
6024 else
6025 echo "$as_me:$LINENO: result: no" >&5
6026 echo "${ECHO_T}no" >&6
6027 fi
6028
6029
6030 enablestring=
6031 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6032 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6
6033 no_cache=0
6034 # Check whether --enable-stopwatch or --disable-stopwatch was given.
6035 if test "${enable_stopwatch+set}" = set; then
6036 enableval="$enable_stopwatch"
6037
6038 if test "$enableval" = yes; then
6039 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6040 else
6041 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6042 fi
6043
6044 else
6045
6046 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6047 if test "x$LINE" != x ; then
6048 eval "DEFAULT_$LINE"
6049 else
6050 no_cache=1
6051 fi
6052
6053 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6054
6055 fi;
6056
6057 eval "$ac_cv_use_stopwatch"
6058 if test "$no_cache" != 1; then
6059 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6060 fi
6061
6062 if test "$wxUSE_STOPWATCH" = yes; then
6063 echo "$as_me:$LINENO: result: yes" >&5
6064 echo "${ECHO_T}yes" >&6
6065 else
6066 echo "$as_me:$LINENO: result: no" >&5
6067 echo "${ECHO_T}no" >&6
6068 fi
6069
6070
6071 enablestring=
6072 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6073 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6
6074 no_cache=0
6075 # Check whether --enable-streams or --disable-streams was given.
6076 if test "${enable_streams+set}" = set; then
6077 enableval="$enable_streams"
6078
6079 if test "$enableval" = yes; then
6080 ac_cv_use_streams='wxUSE_STREAMS=yes'
6081 else
6082 ac_cv_use_streams='wxUSE_STREAMS=no'
6083 fi
6084
6085 else
6086
6087 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6088 if test "x$LINE" != x ; then
6089 eval "DEFAULT_$LINE"
6090 else
6091 no_cache=1
6092 fi
6093
6094 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6095
6096 fi;
6097
6098 eval "$ac_cv_use_streams"
6099 if test "$no_cache" != 1; then
6100 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6101 fi
6102
6103 if test "$wxUSE_STREAMS" = yes; then
6104 echo "$as_me:$LINENO: result: yes" >&5
6105 echo "${ECHO_T}yes" >&6
6106 else
6107 echo "$as_me:$LINENO: result: no" >&5
6108 echo "${ECHO_T}no" >&6
6109 fi
6110
6111
6112 enablestring=
6113 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6114 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6
6115 no_cache=0
6116 # Check whether --enable-system_options or --disable-system_options was given.
6117 if test "${enable_system_options+set}" = set; then
6118 enableval="$enable_system_options"
6119
6120 if test "$enableval" = yes; then
6121 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6122 else
6123 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6124 fi
6125
6126 else
6127
6128 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6129 if test "x$LINE" != x ; then
6130 eval "DEFAULT_$LINE"
6131 else
6132 no_cache=1
6133 fi
6134
6135 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6136
6137 fi;
6138
6139 eval "$ac_cv_use_system_options"
6140 if test "$no_cache" != 1; then
6141 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6142 fi
6143
6144 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6145 echo "$as_me:$LINENO: result: yes" >&5
6146 echo "${ECHO_T}yes" >&6
6147 else
6148 echo "$as_me:$LINENO: result: no" >&5
6149 echo "${ECHO_T}no" >&6
6150 fi
6151
6152
6153 enablestring=
6154 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
6155 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6
6156 no_cache=0
6157 # Check whether --enable-textbuf or --disable-textbuf was given.
6158 if test "${enable_textbuf+set}" = set; then
6159 enableval="$enable_textbuf"
6160
6161 if test "$enableval" = yes; then
6162 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
6163 else
6164 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
6165 fi
6166
6167 else
6168
6169 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
6170 if test "x$LINE" != x ; then
6171 eval "DEFAULT_$LINE"
6172 else
6173 no_cache=1
6174 fi
6175
6176 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
6177
6178 fi;
6179
6180 eval "$ac_cv_use_textbuf"
6181 if test "$no_cache" != 1; then
6182 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
6183 fi
6184
6185 if test "$wxUSE_TEXTBUFFER" = yes; then
6186 echo "$as_me:$LINENO: result: yes" >&5
6187 echo "${ECHO_T}yes" >&6
6188 else
6189 echo "$as_me:$LINENO: result: no" >&5
6190 echo "${ECHO_T}no" >&6
6191 fi
6192
6193
6194 enablestring=
6195 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
6196 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6
6197 no_cache=0
6198 # Check whether --enable-textfile or --disable-textfile was given.
6199 if test "${enable_textfile+set}" = set; then
6200 enableval="$enable_textfile"
6201
6202 if test "$enableval" = yes; then
6203 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
6204 else
6205 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
6206 fi
6207
6208 else
6209
6210 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
6211 if test "x$LINE" != x ; then
6212 eval "DEFAULT_$LINE"
6213 else
6214 no_cache=1
6215 fi
6216
6217 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
6218
6219 fi;
6220
6221 eval "$ac_cv_use_textfile"
6222 if test "$no_cache" != 1; then
6223 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
6224 fi
6225
6226 if test "$wxUSE_TEXTFILE" = yes; then
6227 echo "$as_me:$LINENO: result: yes" >&5
6228 echo "${ECHO_T}yes" >&6
6229 else
6230 echo "$as_me:$LINENO: result: no" >&5
6231 echo "${ECHO_T}no" >&6
6232 fi
6233
6234
6235 enablestring=
6236 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
6237 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6
6238 no_cache=0
6239 # Check whether --enable-timer or --disable-timer was given.
6240 if test "${enable_timer+set}" = set; then
6241 enableval="$enable_timer"
6242
6243 if test "$enableval" = yes; then
6244 ac_cv_use_timer='wxUSE_TIMER=yes'
6245 else
6246 ac_cv_use_timer='wxUSE_TIMER=no'
6247 fi
6248
6249 else
6250
6251 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
6252 if test "x$LINE" != x ; then
6253 eval "DEFAULT_$LINE"
6254 else
6255 no_cache=1
6256 fi
6257
6258 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
6259
6260 fi;
6261
6262 eval "$ac_cv_use_timer"
6263 if test "$no_cache" != 1; then
6264 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
6265 fi
6266
6267 if test "$wxUSE_TIMER" = yes; then
6268 echo "$as_me:$LINENO: result: yes" >&5
6269 echo "${ECHO_T}yes" >&6
6270 else
6271 echo "$as_me:$LINENO: result: no" >&5
6272 echo "${ECHO_T}no" >&6
6273 fi
6274
6275
6276 enablestring=
6277 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
6278 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6
6279 no_cache=0
6280 # Check whether --enable-unicode or --disable-unicode was given.
6281 if test "${enable_unicode+set}" = set; then
6282 enableval="$enable_unicode"
6283
6284 if test "$enableval" = yes; then
6285 ac_cv_use_unicode='wxUSE_UNICODE=yes'
6286 else
6287 ac_cv_use_unicode='wxUSE_UNICODE=no'
6288 fi
6289
6290 else
6291
6292 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
6293 if test "x$LINE" != x ; then
6294 eval "DEFAULT_$LINE"
6295 else
6296 no_cache=1
6297 fi
6298
6299 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
6300
6301 fi;
6302
6303 eval "$ac_cv_use_unicode"
6304 if test "$no_cache" != 1; then
6305 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
6306 fi
6307
6308 if test "$wxUSE_UNICODE" = yes; then
6309 echo "$as_me:$LINENO: result: yes" >&5
6310 echo "${ECHO_T}yes" >&6
6311 else
6312 echo "$as_me:$LINENO: result: no" >&5
6313 echo "${ECHO_T}no" >&6
6314 fi
6315
6316
6317 enablestring=
6318 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
6319 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6
6320 no_cache=0
6321 # Check whether --enable-sound or --disable-sound was given.
6322 if test "${enable_sound+set}" = set; then
6323 enableval="$enable_sound"
6324
6325 if test "$enableval" = yes; then
6326 ac_cv_use_sound='wxUSE_SOUND=yes'
6327 else
6328 ac_cv_use_sound='wxUSE_SOUND=no'
6329 fi
6330
6331 else
6332
6333 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
6334 if test "x$LINE" != x ; then
6335 eval "DEFAULT_$LINE"
6336 else
6337 no_cache=1
6338 fi
6339
6340 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
6341
6342 fi;
6343
6344 eval "$ac_cv_use_sound"
6345 if test "$no_cache" != 1; then
6346 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
6347 fi
6348
6349 if test "$wxUSE_SOUND" = yes; then
6350 echo "$as_me:$LINENO: result: yes" >&5
6351 echo "${ECHO_T}yes" >&6
6352 else
6353 echo "$as_me:$LINENO: result: no" >&5
6354 echo "${ECHO_T}no" >&6
6355 fi
6356
6357
6358 enablestring=
6359 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
6360 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6
6361 no_cache=0
6362 # Check whether --enable-mediactrl or --disable-mediactrl was given.
6363 if test "${enable_mediactrl+set}" = set; then
6364 enableval="$enable_mediactrl"
6365
6366 if test "$enableval" = yes; then
6367 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
6368 else
6369 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
6370 fi
6371
6372 else
6373
6374 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
6375 if test "x$LINE" != x ; then
6376 eval "DEFAULT_$LINE"
6377 else
6378 no_cache=1
6379 fi
6380
6381 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
6382
6383 fi;
6384
6385 eval "$ac_cv_use_mediactrl"
6386 if test "$no_cache" != 1; then
6387 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
6388 fi
6389
6390 if test "$wxUSE_MEDIACTRL" = yes; then
6391 echo "$as_me:$LINENO: result: yes" >&5
6392 echo "${ECHO_T}yes" >&6
6393 else
6394 echo "$as_me:$LINENO: result: no" >&5
6395 echo "${ECHO_T}no" >&6
6396 fi
6397
6398
6399 enablestring=
6400 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
6401 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6
6402 no_cache=0
6403 # Check whether --enable-gstreamer8 or --disable-gstreamer8 was given.
6404 if test "${enable_gstreamer8+set}" = set; then
6405 enableval="$enable_gstreamer8"
6406
6407 if test "$enableval" = yes; then
6408 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
6409 else
6410 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
6411 fi
6412
6413 else
6414
6415 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
6416 if test "x$LINE" != x ; then
6417 eval "DEFAULT_$LINE"
6418 else
6419 no_cache=1
6420 fi
6421
6422 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
6423
6424 fi;
6425
6426 eval "$ac_cv_use_gstreamer8"
6427 if test "$no_cache" != 1; then
6428 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
6429 fi
6430
6431 if test "$wxUSE_GSTREAMER8" = yes; then
6432 echo "$as_me:$LINENO: result: yes" >&5
6433 echo "${ECHO_T}yes" >&6
6434 else
6435 echo "$as_me:$LINENO: result: no" >&5
6436 echo "${ECHO_T}no" >&6
6437 fi
6438
6439
6440 enablestring=
6441 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
6442 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6
6443 no_cache=0
6444 # Check whether --enable-printfposparam or --disable-printfposparam was given.
6445 if test "${enable_printfposparam+set}" = set; then
6446 enableval="$enable_printfposparam"
6447
6448 if test "$enableval" = yes; then
6449 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
6450 else
6451 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
6452 fi
6453
6454 else
6455
6456 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
6457 if test "x$LINE" != x ; then
6458 eval "DEFAULT_$LINE"
6459 else
6460 no_cache=1
6461 fi
6462
6463 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
6464
6465 fi;
6466
6467 eval "$ac_cv_use_printfposparam"
6468 if test "$no_cache" != 1; then
6469 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
6470 fi
6471
6472 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
6473 echo "$as_me:$LINENO: result: yes" >&5
6474 echo "${ECHO_T}yes" >&6
6475 else
6476 echo "$as_me:$LINENO: result: no" >&5
6477 echo "${ECHO_T}no" >&6
6478 fi
6479
6480
6481 enablestring=
6482 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
6483 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6
6484 no_cache=0
6485 # Check whether --enable-zipstream or --disable-zipstream was given.
6486 if test "${enable_zipstream+set}" = set; then
6487 enableval="$enable_zipstream"
6488
6489 if test "$enableval" = yes; then
6490 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
6491 else
6492 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
6493 fi
6494
6495 else
6496
6497 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
6498 if test "x$LINE" != x ; then
6499 eval "DEFAULT_$LINE"
6500 else
6501 no_cache=1
6502 fi
6503
6504 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
6505
6506 fi;
6507
6508 eval "$ac_cv_use_zipstream"
6509 if test "$no_cache" != 1; then
6510 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
6511 fi
6512
6513 if test "$wxUSE_ZIPSTREAM" = yes; then
6514 echo "$as_me:$LINENO: result: yes" >&5
6515 echo "${ECHO_T}yes" >&6
6516 else
6517 echo "$as_me:$LINENO: result: no" >&5
6518 echo "${ECHO_T}no" >&6
6519 fi
6520
6521
6522
6523 enablestring=
6524 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
6525 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6
6526 no_cache=0
6527 # Check whether --enable-url or --disable-url was given.
6528 if test "${enable_url+set}" = set; then
6529 enableval="$enable_url"
6530
6531 if test "$enableval" = yes; then
6532 ac_cv_use_url='wxUSE_URL=yes'
6533 else
6534 ac_cv_use_url='wxUSE_URL=no'
6535 fi
6536
6537 else
6538
6539 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
6540 if test "x$LINE" != x ; then
6541 eval "DEFAULT_$LINE"
6542 else
6543 no_cache=1
6544 fi
6545
6546 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
6547
6548 fi;
6549
6550 eval "$ac_cv_use_url"
6551 if test "$no_cache" != 1; then
6552 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
6553 fi
6554
6555 if test "$wxUSE_URL" = yes; then
6556 echo "$as_me:$LINENO: result: yes" >&5
6557 echo "${ECHO_T}yes" >&6
6558 else
6559 echo "$as_me:$LINENO: result: no" >&5
6560 echo "${ECHO_T}no" >&6
6561 fi
6562
6563
6564 enablestring=
6565 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
6566 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6
6567 no_cache=0
6568 # Check whether --enable-variant or --disable-variant was given.
6569 if test "${enable_variant+set}" = set; then
6570 enableval="$enable_variant"
6571
6572 if test "$enableval" = yes; then
6573 ac_cv_use_variant='wxUSE_VARIANT=yes'
6574 else
6575 ac_cv_use_variant='wxUSE_VARIANT=no'
6576 fi
6577
6578 else
6579
6580 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
6581 if test "x$LINE" != x ; then
6582 eval "DEFAULT_$LINE"
6583 else
6584 no_cache=1
6585 fi
6586
6587 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
6588
6589 fi;
6590
6591 eval "$ac_cv_use_variant"
6592 if test "$no_cache" != 1; then
6593 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
6594 fi
6595
6596 if test "$wxUSE_VARIANT" = yes; then
6597 echo "$as_me:$LINENO: result: yes" >&5
6598 echo "${ECHO_T}yes" >&6
6599 else
6600 echo "$as_me:$LINENO: result: no" >&5
6601 echo "${ECHO_T}no" >&6
6602 fi
6603
6604
6605 enablestring=
6606 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
6607 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6
6608 no_cache=0
6609 # Check whether --enable-protocol or --disable-protocol was given.
6610 if test "${enable_protocol+set}" = set; then
6611 enableval="$enable_protocol"
6612
6613 if test "$enableval" = yes; then
6614 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
6615 else
6616 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
6617 fi
6618
6619 else
6620
6621 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
6622 if test "x$LINE" != x ; then
6623 eval "DEFAULT_$LINE"
6624 else
6625 no_cache=1
6626 fi
6627
6628 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
6629
6630 fi;
6631
6632 eval "$ac_cv_use_protocol"
6633 if test "$no_cache" != 1; then
6634 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
6635 fi
6636
6637 if test "$wxUSE_PROTOCOL" = yes; then
6638 echo "$as_me:$LINENO: result: yes" >&5
6639 echo "${ECHO_T}yes" >&6
6640 else
6641 echo "$as_me:$LINENO: result: no" >&5
6642 echo "${ECHO_T}no" >&6
6643 fi
6644
6645
6646 enablestring=
6647 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
6648 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6
6649 no_cache=0
6650 # Check whether --enable-protocol_http or --disable-protocol_http was given.
6651 if test "${enable_protocol_http+set}" = set; then
6652 enableval="$enable_protocol_http"
6653
6654 if test "$enableval" = yes; then
6655 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
6656 else
6657 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
6658 fi
6659
6660 else
6661
6662 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
6663 if test "x$LINE" != x ; then
6664 eval "DEFAULT_$LINE"
6665 else
6666 no_cache=1
6667 fi
6668
6669 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
6670
6671 fi;
6672
6673 eval "$ac_cv_use_protocol_http"
6674 if test "$no_cache" != 1; then
6675 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
6676 fi
6677
6678 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
6679 echo "$as_me:$LINENO: result: yes" >&5
6680 echo "${ECHO_T}yes" >&6
6681 else
6682 echo "$as_me:$LINENO: result: no" >&5
6683 echo "${ECHO_T}no" >&6
6684 fi
6685
6686
6687 enablestring=
6688 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
6689 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6
6690 no_cache=0
6691 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
6692 if test "${enable_protocol_ftp+set}" = set; then
6693 enableval="$enable_protocol_ftp"
6694
6695 if test "$enableval" = yes; then
6696 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
6697 else
6698 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
6699 fi
6700
6701 else
6702
6703 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
6704 if test "x$LINE" != x ; then
6705 eval "DEFAULT_$LINE"
6706 else
6707 no_cache=1
6708 fi
6709
6710 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
6711
6712 fi;
6713
6714 eval "$ac_cv_use_protocol_ftp"
6715 if test "$no_cache" != 1; then
6716 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
6717 fi
6718
6719 if test "$wxUSE_PROTOCOL_FTP" = yes; then
6720 echo "$as_me:$LINENO: result: yes" >&5
6721 echo "${ECHO_T}yes" >&6
6722 else
6723 echo "$as_me:$LINENO: result: no" >&5
6724 echo "${ECHO_T}no" >&6
6725 fi
6726
6727
6728 enablestring=
6729 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
6730 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6
6731 no_cache=0
6732 # Check whether --enable-protocol_file or --disable-protocol_file was given.
6733 if test "${enable_protocol_file+set}" = set; then
6734 enableval="$enable_protocol_file"
6735
6736 if test "$enableval" = yes; then
6737 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
6738 else
6739 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
6740 fi
6741
6742 else
6743
6744 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
6745 if test "x$LINE" != x ; then
6746 eval "DEFAULT_$LINE"
6747 else
6748 no_cache=1
6749 fi
6750
6751 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
6752
6753 fi;
6754
6755 eval "$ac_cv_use_protocol_file"
6756 if test "$no_cache" != 1; then
6757 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
6758 fi
6759
6760 if test "$wxUSE_PROTOCOL_FILE" = yes; then
6761 echo "$as_me:$LINENO: result: yes" >&5
6762 echo "${ECHO_T}yes" >&6
6763 else
6764 echo "$as_me:$LINENO: result: no" >&5
6765 echo "${ECHO_T}no" >&6
6766 fi
6767
6768
6769
6770
6771
6772 enablestring=
6773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
6774 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6
6775 no_cache=0
6776 # Check whether --enable-threads or --disable-threads was given.
6777 if test "${enable_threads+set}" = set; then
6778 enableval="$enable_threads"
6779
6780 if test "$enableval" = yes; then
6781 ac_cv_use_threads='wxUSE_THREADS=yes'
6782 else
6783 ac_cv_use_threads='wxUSE_THREADS=no'
6784 fi
6785
6786 else
6787
6788 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
6789 if test "x$LINE" != x ; then
6790 eval "DEFAULT_$LINE"
6791 else
6792 no_cache=1
6793 fi
6794
6795 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6796
6797 fi;
6798
6799 eval "$ac_cv_use_threads"
6800 if test "$no_cache" != 1; then
6801 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
6802 fi
6803
6804 if test "$wxUSE_THREADS" = yes; then
6805 echo "$as_me:$LINENO: result: yes" >&5
6806 echo "${ECHO_T}yes" >&6
6807 else
6808 echo "$as_me:$LINENO: result: no" >&5
6809 echo "${ECHO_T}no" >&6
6810 fi
6811
6812
6813 if test "$wxUSE_GUI" = "yes"; then
6814
6815
6816
6817 enablestring=
6818 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
6819 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6
6820 no_cache=0
6821 # Check whether --enable-docview or --disable-docview was given.
6822 if test "${enable_docview+set}" = set; then
6823 enableval="$enable_docview"
6824
6825 if test "$enableval" = yes; then
6826 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
6827 else
6828 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
6829 fi
6830
6831 else
6832
6833 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
6834 if test "x$LINE" != x ; then
6835 eval "DEFAULT_$LINE"
6836 else
6837 no_cache=1
6838 fi
6839
6840 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6841
6842 fi;
6843
6844 eval "$ac_cv_use_docview"
6845 if test "$no_cache" != 1; then
6846 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
6847 fi
6848
6849 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
6850 echo "$as_me:$LINENO: result: yes" >&5
6851 echo "${ECHO_T}yes" >&6
6852 else
6853 echo "$as_me:$LINENO: result: no" >&5
6854 echo "${ECHO_T}no" >&6
6855 fi
6856
6857
6858 enablestring=
6859 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
6860 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6
6861 no_cache=0
6862 # Check whether --enable-help or --disable-help was given.
6863 if test "${enable_help+set}" = set; then
6864 enableval="$enable_help"
6865
6866 if test "$enableval" = yes; then
6867 ac_cv_use_help='wxUSE_HELP=yes'
6868 else
6869 ac_cv_use_help='wxUSE_HELP=no'
6870 fi
6871
6872 else
6873
6874 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
6875 if test "x$LINE" != x ; then
6876 eval "DEFAULT_$LINE"
6877 else
6878 no_cache=1
6879 fi
6880
6881 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6882
6883 fi;
6884
6885 eval "$ac_cv_use_help"
6886 if test "$no_cache" != 1; then
6887 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
6888 fi
6889
6890 if test "$wxUSE_HELP" = yes; then
6891 echo "$as_me:$LINENO: result: yes" >&5
6892 echo "${ECHO_T}yes" >&6
6893 else
6894 echo "$as_me:$LINENO: result: no" >&5
6895 echo "${ECHO_T}no" >&6
6896 fi
6897
6898
6899 enablestring=
6900 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
6901 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6
6902 no_cache=0
6903 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
6904 if test "${enable_mshtmlhelp+set}" = set; then
6905 enableval="$enable_mshtmlhelp"
6906
6907 if test "$enableval" = yes; then
6908 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
6909 else
6910 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
6911 fi
6912
6913 else
6914
6915 LINE=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
6916 if test "x$LINE" != x ; then
6917 eval "DEFAULT_$LINE"
6918 else
6919 no_cache=1
6920 fi
6921
6922 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
6923
6924 fi;
6925
6926 eval "$ac_cv_use_mshtmlhelp"
6927 if test "$no_cache" != 1; then
6928 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
6929 fi
6930
6931 if test "$wxUSE_MS_HTML_HELP" = yes; then
6932 echo "$as_me:$LINENO: result: yes" >&5
6933 echo "${ECHO_T}yes" >&6
6934 else
6935 echo "$as_me:$LINENO: result: no" >&5
6936 echo "${ECHO_T}no" >&6
6937 fi
6938
6939
6940 enablestring=
6941 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
6942 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
6943 no_cache=0
6944 # Check whether --enable-html or --disable-html was given.
6945 if test "${enable_html+set}" = set; then
6946 enableval="$enable_html"
6947
6948 if test "$enableval" = yes; then
6949 ac_cv_use_html='wxUSE_HTML=yes'
6950 else
6951 ac_cv_use_html='wxUSE_HTML=no'
6952 fi
6953
6954 else
6955
6956 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6957 if test "x$LINE" != x ; then
6958 eval "DEFAULT_$LINE"
6959 else
6960 no_cache=1
6961 fi
6962
6963 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6964
6965 fi;
6966
6967 eval "$ac_cv_use_html"
6968 if test "$no_cache" != 1; then
6969 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6970 fi
6971
6972 if test "$wxUSE_HTML" = yes; then
6973 echo "$as_me:$LINENO: result: yes" >&5
6974 echo "${ECHO_T}yes" >&6
6975 else
6976 echo "$as_me:$LINENO: result: no" >&5
6977 echo "${ECHO_T}no" >&6
6978 fi
6979
6980
6981 enablestring=
6982 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
6983 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6
6984 no_cache=0
6985 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
6986 if test "${enable_htmlhelp+set}" = set; then
6987 enableval="$enable_htmlhelp"
6988
6989 if test "$enableval" = yes; then
6990 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
6991 else
6992 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
6993 fi
6994
6995 else
6996
6997 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
6998 if test "x$LINE" != x ; then
6999 eval "DEFAULT_$LINE"
7000 else
7001 no_cache=1
7002 fi
7003
7004 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7005
7006 fi;
7007
7008 eval "$ac_cv_use_htmlhelp"
7009 if test "$no_cache" != 1; then
7010 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7011 fi
7012
7013 if test "$wxUSE_WXHTML_HELP" = yes; then
7014 echo "$as_me:$LINENO: result: yes" >&5
7015 echo "${ECHO_T}yes" >&6
7016 else
7017 echo "$as_me:$LINENO: result: no" >&5
7018 echo "${ECHO_T}no" >&6
7019 fi
7020
7021
7022 enablestring=
7023 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7024 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6
7025 no_cache=0
7026 # Check whether --enable-xrc or --disable-xrc was given.
7027 if test "${enable_xrc+set}" = set; then
7028 enableval="$enable_xrc"
7029
7030 if test "$enableval" = yes; then
7031 ac_cv_use_xrc='wxUSE_XRC=yes'
7032 else
7033 ac_cv_use_xrc='wxUSE_XRC=no'
7034 fi
7035
7036 else
7037
7038 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7039 if test "x$LINE" != x ; then
7040 eval "DEFAULT_$LINE"
7041 else
7042 no_cache=1
7043 fi
7044
7045 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7046
7047 fi;
7048
7049 eval "$ac_cv_use_xrc"
7050 if test "$no_cache" != 1; then
7051 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7052 fi
7053
7054 if test "$wxUSE_XRC" = yes; then
7055 echo "$as_me:$LINENO: result: yes" >&5
7056 echo "${ECHO_T}yes" >&6
7057 else
7058 echo "$as_me:$LINENO: result: no" >&5
7059 echo "${ECHO_T}no" >&6
7060 fi
7061
7062
7063 enablestring=
7064 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7065 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6
7066 no_cache=0
7067 # Check whether --enable-aui or --disable-aui was given.
7068 if test "${enable_aui+set}" = set; then
7069 enableval="$enable_aui"
7070
7071 if test "$enableval" = yes; then
7072 ac_cv_use_aui='wxUSE_AUI=yes'
7073 else
7074 ac_cv_use_aui='wxUSE_AUI=no'
7075 fi
7076
7077 else
7078
7079 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7080 if test "x$LINE" != x ; then
7081 eval "DEFAULT_$LINE"
7082 else
7083 no_cache=1
7084 fi
7085
7086 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7087
7088 fi;
7089
7090 eval "$ac_cv_use_aui"
7091 if test "$no_cache" != 1; then
7092 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7093 fi
7094
7095 if test "$wxUSE_AUI" = yes; then
7096 echo "$as_me:$LINENO: result: yes" >&5
7097 echo "${ECHO_T}yes" >&6
7098 else
7099 echo "$as_me:$LINENO: result: no" >&5
7100 echo "${ECHO_T}no" >&6
7101 fi
7102
7103
7104 enablestring=
7105 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
7106 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6
7107 no_cache=0
7108 # Check whether --enable-constraints or --disable-constraints was given.
7109 if test "${enable_constraints+set}" = set; then
7110 enableval="$enable_constraints"
7111
7112 if test "$enableval" = yes; then
7113 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
7114 else
7115 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
7116 fi
7117
7118 else
7119
7120 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
7121 if test "x$LINE" != x ; then
7122 eval "DEFAULT_$LINE"
7123 else
7124 no_cache=1
7125 fi
7126
7127 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
7128
7129 fi;
7130
7131 eval "$ac_cv_use_constraints"
7132 if test "$no_cache" != 1; then
7133 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
7134 fi
7135
7136 if test "$wxUSE_CONSTRAINTS" = yes; then
7137 echo "$as_me:$LINENO: result: yes" >&5
7138 echo "${ECHO_T}yes" >&6
7139 else
7140 echo "$as_me:$LINENO: result: no" >&5
7141 echo "${ECHO_T}no" >&6
7142 fi
7143
7144
7145 enablestring=
7146 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
7147 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6
7148 no_cache=0
7149 # Check whether --enable-printarch or --disable-printarch was given.
7150 if test "${enable_printarch+set}" = set; then
7151 enableval="$enable_printarch"
7152
7153 if test "$enableval" = yes; then
7154 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
7155 else
7156 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
7157 fi
7158
7159 else
7160
7161 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
7162 if test "x$LINE" != x ; then
7163 eval "DEFAULT_$LINE"
7164 else
7165 no_cache=1
7166 fi
7167
7168 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
7169
7170 fi;
7171
7172 eval "$ac_cv_use_printarch"
7173 if test "$no_cache" != 1; then
7174 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
7175 fi
7176
7177 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
7178 echo "$as_me:$LINENO: result: yes" >&5
7179 echo "${ECHO_T}yes" >&6
7180 else
7181 echo "$as_me:$LINENO: result: no" >&5
7182 echo "${ECHO_T}no" >&6
7183 fi
7184
7185
7186 enablestring=
7187 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
7188 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6
7189 no_cache=0
7190 # Check whether --enable-mdi or --disable-mdi was given.
7191 if test "${enable_mdi+set}" = set; then
7192 enableval="$enable_mdi"
7193
7194 if test "$enableval" = yes; then
7195 ac_cv_use_mdi='wxUSE_MDI=yes'
7196 else
7197 ac_cv_use_mdi='wxUSE_MDI=no'
7198 fi
7199
7200 else
7201
7202 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
7203 if test "x$LINE" != x ; then
7204 eval "DEFAULT_$LINE"
7205 else
7206 no_cache=1
7207 fi
7208
7209 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
7210
7211 fi;
7212
7213 eval "$ac_cv_use_mdi"
7214 if test "$no_cache" != 1; then
7215 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
7216 fi
7217
7218 if test "$wxUSE_MDI" = yes; then
7219 echo "$as_me:$LINENO: result: yes" >&5
7220 echo "${ECHO_T}yes" >&6
7221 else
7222 echo "$as_me:$LINENO: result: no" >&5
7223 echo "${ECHO_T}no" >&6
7224 fi
7225
7226
7227 enablestring=
7228 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
7229 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6
7230 no_cache=0
7231 # Check whether --enable-mdidoc or --disable-mdidoc was given.
7232 if test "${enable_mdidoc+set}" = set; then
7233 enableval="$enable_mdidoc"
7234
7235 if test "$enableval" = yes; then
7236 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
7237 else
7238 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
7239 fi
7240
7241 else
7242
7243 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
7244 if test "x$LINE" != x ; then
7245 eval "DEFAULT_$LINE"
7246 else
7247 no_cache=1
7248 fi
7249
7250 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
7251
7252 fi;
7253
7254 eval "$ac_cv_use_mdidoc"
7255 if test "$no_cache" != 1; then
7256 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
7257 fi
7258
7259 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
7260 echo "$as_me:$LINENO: result: yes" >&5
7261 echo "${ECHO_T}yes" >&6
7262 else
7263 echo "$as_me:$LINENO: result: no" >&5
7264 echo "${ECHO_T}no" >&6
7265 fi
7266
7267
7268 enablestring=
7269 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
7270 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6
7271 no_cache=0
7272 # Check whether --enable-loggui or --disable-loggui was given.
7273 if test "${enable_loggui+set}" = set; then
7274 enableval="$enable_loggui"
7275
7276 if test "$enableval" = yes; then
7277 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
7278 else
7279 ac_cv_use_loggui='wxUSE_LOGGUI=no'
7280 fi
7281
7282 else
7283
7284 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
7285 if test "x$LINE" != x ; then
7286 eval "DEFAULT_$LINE"
7287 else
7288 no_cache=1
7289 fi
7290
7291 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
7292
7293 fi;
7294
7295 eval "$ac_cv_use_loggui"
7296 if test "$no_cache" != 1; then
7297 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
7298 fi
7299
7300 if test "$wxUSE_LOGGUI" = yes; then
7301 echo "$as_me:$LINENO: result: yes" >&5
7302 echo "${ECHO_T}yes" >&6
7303 else
7304 echo "$as_me:$LINENO: result: no" >&5
7305 echo "${ECHO_T}no" >&6
7306 fi
7307
7308
7309 enablestring=
7310 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
7311 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6
7312 no_cache=0
7313 # Check whether --enable-logwin or --disable-logwin was given.
7314 if test "${enable_logwin+set}" = set; then
7315 enableval="$enable_logwin"
7316
7317 if test "$enableval" = yes; then
7318 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
7319 else
7320 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
7321 fi
7322
7323 else
7324
7325 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
7326 if test "x$LINE" != x ; then
7327 eval "DEFAULT_$LINE"
7328 else
7329 no_cache=1
7330 fi
7331
7332 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
7333
7334 fi;
7335
7336 eval "$ac_cv_use_logwin"
7337 if test "$no_cache" != 1; then
7338 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
7339 fi
7340
7341 if test "$wxUSE_LOGWINDOW" = yes; then
7342 echo "$as_me:$LINENO: result: yes" >&5
7343 echo "${ECHO_T}yes" >&6
7344 else
7345 echo "$as_me:$LINENO: result: no" >&5
7346 echo "${ECHO_T}no" >&6
7347 fi
7348
7349
7350 enablestring=
7351 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
7352 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6
7353 no_cache=0
7354 # Check whether --enable-logdialog or --disable-logdialog was given.
7355 if test "${enable_logdialog+set}" = set; then
7356 enableval="$enable_logdialog"
7357
7358 if test "$enableval" = yes; then
7359 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
7360 else
7361 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
7362 fi
7363
7364 else
7365
7366 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
7367 if test "x$LINE" != x ; then
7368 eval "DEFAULT_$LINE"
7369 else
7370 no_cache=1
7371 fi
7372
7373 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
7374
7375 fi;
7376
7377 eval "$ac_cv_use_logdialog"
7378 if test "$no_cache" != 1; then
7379 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
7380 fi
7381
7382 if test "$wxUSE_LOGDIALOG" = yes; then
7383 echo "$as_me:$LINENO: result: yes" >&5
7384 echo "${ECHO_T}yes" >&6
7385 else
7386 echo "$as_me:$LINENO: result: no" >&5
7387 echo "${ECHO_T}no" >&6
7388 fi
7389
7390
7391 enablestring=
7392 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
7393 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6
7394 no_cache=0
7395 # Check whether --enable-webkit or --disable-webkit was given.
7396 if test "${enable_webkit+set}" = set; then
7397 enableval="$enable_webkit"
7398
7399 if test "$enableval" = yes; then
7400 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
7401 else
7402 ac_cv_use_webkit='wxUSE_WEBKIT=no'
7403 fi
7404
7405 else
7406
7407 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
7408 if test "x$LINE" != x ; then
7409 eval "DEFAULT_$LINE"
7410 else
7411 no_cache=1
7412 fi
7413
7414 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
7415
7416 fi;
7417
7418 eval "$ac_cv_use_webkit"
7419 if test "$no_cache" != 1; then
7420 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
7421 fi
7422
7423 if test "$wxUSE_WEBKIT" = yes; then
7424 echo "$as_me:$LINENO: result: yes" >&5
7425 echo "${ECHO_T}yes" >&6
7426 else
7427 echo "$as_me:$LINENO: result: no" >&5
7428 echo "${ECHO_T}no" >&6
7429 fi
7430
7431
7432 enablestring=
7433 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7434 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6
7435 no_cache=0
7436 # Check whether --enable-html or --disable-html was given.
7437 if test "${enable_html+set}" = set; then
7438 enableval="$enable_html"
7439
7440 if test "$enableval" = yes; then
7441 ac_cv_use_html='wxUSE_RICHTEXT=yes'
7442 else
7443 ac_cv_use_html='wxUSE_RICHTEXT=no'
7444 fi
7445
7446 else
7447
7448 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
7449 if test "x$LINE" != x ; then
7450 eval "DEFAULT_$LINE"
7451 else
7452 no_cache=1
7453 fi
7454
7455 ac_cv_use_html='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
7456
7457 fi;
7458
7459 eval "$ac_cv_use_html"
7460 if test "$no_cache" != 1; then
7461 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7462 fi
7463
7464 if test "$wxUSE_RICHTEXT" = yes; then
7465 echo "$as_me:$LINENO: result: yes" >&5
7466 echo "${ECHO_T}yes" >&6
7467 else
7468 echo "$as_me:$LINENO: result: no" >&5
7469 echo "${ECHO_T}no" >&6
7470 fi
7471
7472
7473 enablestring=
7474 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
7475 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6
7476 no_cache=0
7477 # Check whether --enable-graphics_ctx or --disable-graphics_ctx was given.
7478 if test "${enable_graphics_ctx+set}" = set; then
7479 enableval="$enable_graphics_ctx"
7480
7481 if test "$enableval" = yes; then
7482 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
7483 else
7484 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
7485 fi
7486
7487 else
7488
7489 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
7490 if test "x$LINE" != x ; then
7491 eval "DEFAULT_$LINE"
7492 else
7493 no_cache=1
7494 fi
7495
7496 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
7497
7498 fi;
7499
7500 eval "$ac_cv_use_graphics_ctx"
7501 if test "$no_cache" != 1; then
7502 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
7503 fi
7504
7505 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
7506 echo "$as_me:$LINENO: result: yes" >&5
7507 echo "${ECHO_T}yes" >&6
7508 else
7509 echo "$as_me:$LINENO: result: no" >&5
7510 echo "${ECHO_T}no" >&6
7511 fi
7512
7513
7514
7515 enablestring=
7516 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
7517 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6
7518 no_cache=0
7519 # Check whether --enable-postscript or --disable-postscript was given.
7520 if test "${enable_postscript+set}" = set; then
7521 enableval="$enable_postscript"
7522
7523 if test "$enableval" = yes; then
7524 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
7525 else
7526 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
7527 fi
7528
7529 else
7530
7531 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
7532 if test "x$LINE" != x ; then
7533 eval "DEFAULT_$LINE"
7534 else
7535 no_cache=1
7536 fi
7537
7538 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
7539
7540 fi;
7541
7542 eval "$ac_cv_use_postscript"
7543 if test "$no_cache" != 1; then
7544 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
7545 fi
7546
7547 if test "$wxUSE_POSTSCRIPT" = yes; then
7548 echo "$as_me:$LINENO: result: yes" >&5
7549 echo "${ECHO_T}yes" >&6
7550 else
7551 echo "$as_me:$LINENO: result: no" >&5
7552 echo "${ECHO_T}no" >&6
7553 fi
7554
7555
7556
7557
7558
7559 enablestring=
7560 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-prologio" >&5
7561 echo $ECHO_N "checking for --${enablestring:-enable}-prologio... $ECHO_C" >&6
7562 no_cache=0
7563 # Check whether --enable-prologio or --disable-prologio was given.
7564 if test "${enable_prologio+set}" = set; then
7565 enableval="$enable_prologio"
7566
7567 if test "$enableval" = yes; then
7568 ac_cv_use_prologio='wxUSE_PROLOGIO=yes'
7569 else
7570 ac_cv_use_prologio='wxUSE_PROLOGIO=no'
7571 fi
7572
7573 else
7574
7575 LINE=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
7576 if test "x$LINE" != x ; then
7577 eval "DEFAULT_$LINE"
7578 else
7579 no_cache=1
7580 fi
7581
7582 ac_cv_use_prologio='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
7583
7584 fi;
7585
7586 eval "$ac_cv_use_prologio"
7587 if test "$no_cache" != 1; then
7588 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
7589 fi
7590
7591 if test "$wxUSE_PROLOGIO" = yes; then
7592 echo "$as_me:$LINENO: result: yes" >&5
7593 echo "${ECHO_T}yes" >&6
7594 else
7595 echo "$as_me:$LINENO: result: no" >&5
7596 echo "${ECHO_T}no" >&6
7597 fi
7598
7599
7600 enablestring=
7601 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-resources" >&5
7602 echo $ECHO_N "checking for --${enablestring:-enable}-resources... $ECHO_C" >&6
7603 no_cache=0
7604 # Check whether --enable-resources or --disable-resources was given.
7605 if test "${enable_resources+set}" = set; then
7606 enableval="$enable_resources"
7607
7608 if test "$enableval" = yes; then
7609 ac_cv_use_resources='wxUSE_RESOURCES=yes'
7610 else
7611 ac_cv_use_resources='wxUSE_RESOURCES=no'
7612 fi
7613
7614 else
7615
7616 LINE=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
7617 if test "x$LINE" != x ; then
7618 eval "DEFAULT_$LINE"
7619 else
7620 no_cache=1
7621 fi
7622
7623 ac_cv_use_resources='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
7624
7625 fi;
7626
7627 eval "$ac_cv_use_resources"
7628 if test "$no_cache" != 1; then
7629 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
7630 fi
7631
7632 if test "$wxUSE_RESOURCES" = yes; then
7633 echo "$as_me:$LINENO: result: yes" >&5
7634 echo "${ECHO_T}yes" >&6
7635 else
7636 echo "$as_me:$LINENO: result: no" >&5
7637 echo "${ECHO_T}no" >&6
7638 fi
7639
7640
7641
7642
7643 enablestring=
7644 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
7645 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6
7646 no_cache=0
7647 # Check whether --enable-clipboard or --disable-clipboard was given.
7648 if test "${enable_clipboard+set}" = set; then
7649 enableval="$enable_clipboard"
7650
7651 if test "$enableval" = yes; then
7652 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
7653 else
7654 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
7655 fi
7656
7657 else
7658
7659 LINE=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
7660 if test "x$LINE" != x ; then
7661 eval "DEFAULT_$LINE"
7662 else
7663 no_cache=1
7664 fi
7665
7666 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
7667
7668 fi;
7669
7670 eval "$ac_cv_use_clipboard"
7671 if test "$no_cache" != 1; then
7672 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
7673 fi
7674
7675 if test "$wxUSE_CLIPBOARD" = yes; then
7676 echo "$as_me:$LINENO: result: yes" >&5
7677 echo "${ECHO_T}yes" >&6
7678 else
7679 echo "$as_me:$LINENO: result: no" >&5
7680 echo "${ECHO_T}no" >&6
7681 fi
7682
7683
7684 enablestring=
7685 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
7686 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6
7687 no_cache=0
7688 # Check whether --enable-dnd or --disable-dnd was given.
7689 if test "${enable_dnd+set}" = set; then
7690 enableval="$enable_dnd"
7691
7692 if test "$enableval" = yes; then
7693 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
7694 else
7695 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
7696 fi
7697
7698 else
7699
7700 LINE=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
7701 if test "x$LINE" != x ; then
7702 eval "DEFAULT_$LINE"
7703 else
7704 no_cache=1
7705 fi
7706
7707 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
7708
7709 fi;
7710
7711 eval "$ac_cv_use_dnd"
7712 if test "$no_cache" != 1; then
7713 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
7714 fi
7715
7716 if test "$wxUSE_DRAG_AND_DROP" = yes; then
7717 echo "$as_me:$LINENO: result: yes" >&5
7718 echo "${ECHO_T}yes" >&6
7719 else
7720 echo "$as_me:$LINENO: result: no" >&5
7721 echo "${ECHO_T}no" >&6
7722 fi
7723
7724
7725 enablestring=
7726 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
7727 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
7728 no_cache=0
7729 # Check whether --enable-metafile or --disable-metafile was given.
7730 if test "${enable_metafile+set}" = set; then
7731 enableval="$enable_metafile"
7732
7733 if test "$enableval" = yes; then
7734 ac_cv_use_metafile='wxUSE_METAFILE=yes'
7735 else
7736 ac_cv_use_metafile='wxUSE_METAFILE=no'
7737 fi
7738
7739 else
7740
7741 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7742 if test "x$LINE" != x ; then
7743 eval "DEFAULT_$LINE"
7744 else
7745 no_cache=1
7746 fi
7747
7748 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7749
7750 fi;
7751
7752 eval "$ac_cv_use_metafile"
7753 if test "$no_cache" != 1; then
7754 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7755 fi
7756
7757 if test "$wxUSE_METAFILE" = yes; then
7758 echo "$as_me:$LINENO: result: yes" >&5
7759 echo "${ECHO_T}yes" >&6
7760 else
7761 echo "$as_me:$LINENO: result: no" >&5
7762 echo "${ECHO_T}no" >&6
7763 fi
7764
7765
7766
7767
7768
7769 enablestring=
7770 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
7771 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6
7772 no_cache=0
7773 # Check whether --enable-controls or --disable-controls was given.
7774 if test "${enable_controls+set}" = set; then
7775 enableval="$enable_controls"
7776
7777 if test "$enableval" = yes; then
7778 ac_cv_use_controls='wxUSE_CONTROLS=yes'
7779 else
7780 ac_cv_use_controls='wxUSE_CONTROLS=no'
7781 fi
7782
7783 else
7784
7785 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
7786 if test "x$LINE" != x ; then
7787 eval "DEFAULT_$LINE"
7788 else
7789 no_cache=1
7790 fi
7791
7792 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
7793
7794 fi;
7795
7796 eval "$ac_cv_use_controls"
7797 if test "$no_cache" != 1; then
7798 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
7799 fi
7800
7801 if test "$wxUSE_CONTROLS" = yes; then
7802 echo "$as_me:$LINENO: result: yes" >&5
7803 echo "${ECHO_T}yes" >&6
7804 else
7805 echo "$as_me:$LINENO: result: no" >&5
7806 echo "${ECHO_T}no" >&6
7807 fi
7808
7809
7810 if test "$wxUSE_CONTROLS" = "yes"; then
7811 DEFAULT_wxUSE_ACCEL=yes
7812 DEFAULT_wxUSE_BMPBUTTON=yes
7813 DEFAULT_wxUSE_BUTTON=yes
7814 DEFAULT_wxUSE_CALCTRL=yes
7815 DEFAULT_wxUSE_CARET=yes
7816 DEFAULT_wxUSE_COMBOBOX=yes
7817 DEFAULT_wxUSE_CHECKBOX=yes
7818 DEFAULT_wxUSE_CHECKLISTBOX=yes
7819 DEFAULT_wxUSE_CHOICE=yes
7820 DEFAULT_wxUSE_CHOICEBOOK=yes
7821 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
7822 DEFAULT_wxUSE_COMBOBOX=yes
7823 DEFAULT_wxUSE_DATEPICKCTRL=yes
7824 DEFAULT_wxUSE_DISPLAY=yes
7825 DEFAULT_wxUSE_DIRPICKERCTRL=yes
7826 DEFAULT_wxUSE_FILEPICKERCTRL=yes
7827 DEFAULT_wxUSE_FONTPICKERCTRL=yes
7828 DEFAULT_wxUSE_GAUGE=yes
7829 DEFAULT_wxUSE_GRID=yes
7830 DEFAULT_wxUSE_HYPERLINKCTRL=yes
7831 DEFAULT_wxUSE_DATAVIEWCTRL=no
7832 DEFAULT_wxUSE_IMAGLIST=yes
7833 DEFAULT_wxUSE_LISTBOOK=yes
7834 DEFAULT_wxUSE_LISTBOX=yes
7835 DEFAULT_wxUSE_LISTCTRL=yes
7836 DEFAULT_wxUSE_NOTEBOOK=yes
7837 DEFAULT_wxUSE_RADIOBOX=yes
7838 DEFAULT_wxUSE_RADIOBTN=yes
7839 DEFAULT_wxUSE_SASH=yes
7840 DEFAULT_wxUSE_SCROLLBAR=yes
7841 DEFAULT_wxUSE_SLIDER=yes
7842 DEFAULT_wxUSE_SPINBTN=yes
7843 DEFAULT_wxUSE_SPINCTRL=yes
7844 DEFAULT_wxUSE_SPLITTER=yes
7845 DEFAULT_wxUSE_STATBMP=yes
7846 DEFAULT_wxUSE_STATBOX=yes
7847 DEFAULT_wxUSE_STATLINE=yes
7848 DEFAULT_wxUSE_STATUSBAR=yes
7849 DEFAULT_wxUSE_TAB_DIALOG=yes
7850 DEFAULT_wxUSE_TOGGLEBTN=yes
7851 DEFAULT_wxUSE_TOOLBAR=yes
7852 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
7853 DEFAULT_wxUSE_TOOLTIPS=yes
7854 DEFAULT_wxUSE_TREEBOOK=yes
7855 DEFAULT_wxUSE_TOOLBOOK=yes
7856 DEFAULT_wxUSE_TREECTRL=yes
7857 DEFAULT_wxUSE_POPUPWIN=yes
7858 DEFAULT_wxUSE_TIPWINDOW=yes
7859 elif test "$wxUSE_CONTROLS" = "no"; then
7860 DEFAULT_wxUSE_ACCEL=no
7861 DEFAULT_wxUSE_BMPBUTTON=no
7862 DEFAULT_wxUSE_BUTTON=no
7863 DEFAULT_wxUSE_CALCTRL=no
7864 DEFAULT_wxUSE_CARET=no
7865 DEFAULT_wxUSE_COMBOBOX=no
7866 DEFAULT_wxUSE_CHECKBOX=no
7867 DEFAULT_wxUSE_CHECKLISTBOX=no
7868 DEFAULT_wxUSE_CHOICE=no
7869 DEFAULT_wxUSE_CHOICEBOOK=no
7870 DEFAULT_wxUSE_COLOURPICKERCTRL=no
7871 DEFAULT_wxUSE_COMBOBOX=no
7872 DEFAULT_wxUSE_DATEPICKCTRL=no
7873 DEFAULT_wxUSE_DISPLAY=no
7874 DEFAULT_wxUSE_DIRPICKERCTRL=no
7875 DEFAULT_wxUSE_FILEPICKERCTRL=no
7876 DEFAULT_wxUSE_FONTPICKERCTRL=no
7877 DEFAULT_wxUSE_GAUGE=no
7878 DEFAULT_wxUSE_GRID=no
7879 DEFAULT_wxUSE_HYPERLINKCTRL=no
7880 DEFAULT_wxUSE_DATAVIEWCTRL=no
7881 DEFAULT_wxUSE_IMAGLIST=no
7882 DEFAULT_wxUSE_LISTBOOK=no
7883 DEFAULT_wxUSE_LISTBOX=no
7884 DEFAULT_wxUSE_LISTCTRL=no
7885 DEFAULT_wxUSE_NOTEBOOK=no
7886 DEFAULT_wxUSE_RADIOBOX=no
7887 DEFAULT_wxUSE_RADIOBTN=no
7888 DEFAULT_wxUSE_SASH=no
7889 DEFAULT_wxUSE_SCROLLBAR=no
7890 DEFAULT_wxUSE_SLIDER=no
7891 DEFAULT_wxUSE_SPINBTN=no
7892 DEFAULT_wxUSE_SPINCTRL=no
7893 DEFAULT_wxUSE_SPLITTER=no
7894 DEFAULT_wxUSE_STATBMP=no
7895 DEFAULT_wxUSE_STATBOX=no
7896 DEFAULT_wxUSE_STATLINE=no
7897 DEFAULT_wxUSE_STATUSBAR=no
7898 DEFAULT_wxUSE_TAB_DIALOG=no
7899 DEFAULT_wxUSE_TOGGLEBTN=no
7900 DEFAULT_wxUSE_TOOLBAR=no
7901 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
7902 DEFAULT_wxUSE_TOOLTIPS=no
7903 DEFAULT_wxUSE_TREEBOOK=no
7904 DEFAULT_wxUSE_TOOLBOOK=no
7905 DEFAULT_wxUSE_TREECTRL=no
7906 DEFAULT_wxUSE_POPUPWIN=no
7907 DEFAULT_wxUSE_TIPWINDOW=no
7908 fi
7909
7910
7911 enablestring=
7912 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
7913 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6
7914 no_cache=0
7915 # Check whether --enable-accel or --disable-accel was given.
7916 if test "${enable_accel+set}" = set; then
7917 enableval="$enable_accel"
7918
7919 if test "$enableval" = yes; then
7920 ac_cv_use_accel='wxUSE_ACCEL=yes'
7921 else
7922 ac_cv_use_accel='wxUSE_ACCEL=no'
7923 fi
7924
7925 else
7926
7927 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
7928 if test "x$LINE" != x ; then
7929 eval "DEFAULT_$LINE"
7930 else
7931 no_cache=1
7932 fi
7933
7934 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
7935
7936 fi;
7937
7938 eval "$ac_cv_use_accel"
7939 if test "$no_cache" != 1; then
7940 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
7941 fi
7942
7943 if test "$wxUSE_ACCEL" = yes; then
7944 echo "$as_me:$LINENO: result: yes" >&5
7945 echo "${ECHO_T}yes" >&6
7946 else
7947 echo "$as_me:$LINENO: result: no" >&5
7948 echo "${ECHO_T}no" >&6
7949 fi
7950
7951
7952 enablestring=
7953 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
7954 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6
7955 no_cache=0
7956 # Check whether --enable-button or --disable-button was given.
7957 if test "${enable_button+set}" = set; then
7958 enableval="$enable_button"
7959
7960 if test "$enableval" = yes; then
7961 ac_cv_use_button='wxUSE_BUTTON=yes'
7962 else
7963 ac_cv_use_button='wxUSE_BUTTON=no'
7964 fi
7965
7966 else
7967
7968 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
7969 if test "x$LINE" != x ; then
7970 eval "DEFAULT_$LINE"
7971 else
7972 no_cache=1
7973 fi
7974
7975 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
7976
7977 fi;
7978
7979 eval "$ac_cv_use_button"
7980 if test "$no_cache" != 1; then
7981 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
7982 fi
7983
7984 if test "$wxUSE_BUTTON" = yes; then
7985 echo "$as_me:$LINENO: result: yes" >&5
7986 echo "${ECHO_T}yes" >&6
7987 else
7988 echo "$as_me:$LINENO: result: no" >&5
7989 echo "${ECHO_T}no" >&6
7990 fi
7991
7992
7993 enablestring=
7994 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
7995 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6
7996 no_cache=0
7997 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
7998 if test "${enable_bmpbutton+set}" = set; then
7999 enableval="$enable_bmpbutton"
8000
8001 if test "$enableval" = yes; then
8002 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8003 else
8004 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8005 fi
8006
8007 else
8008
8009 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8010 if test "x$LINE" != x ; then
8011 eval "DEFAULT_$LINE"
8012 else
8013 no_cache=1
8014 fi
8015
8016 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8017
8018 fi;
8019
8020 eval "$ac_cv_use_bmpbutton"
8021 if test "$no_cache" != 1; then
8022 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8023 fi
8024
8025 if test "$wxUSE_BMPBUTTON" = yes; then
8026 echo "$as_me:$LINENO: result: yes" >&5
8027 echo "${ECHO_T}yes" >&6
8028 else
8029 echo "$as_me:$LINENO: result: no" >&5
8030 echo "${ECHO_T}no" >&6
8031 fi
8032
8033
8034 enablestring=
8035 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8036 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6
8037 no_cache=0
8038 # Check whether --enable-bmpcombobox or --disable-bmpcombobox was given.
8039 if test "${enable_bmpcombobox+set}" = set; then
8040 enableval="$enable_bmpcombobox"
8041
8042 if test "$enableval" = yes; then
8043 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8044 else
8045 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8046 fi
8047
8048 else
8049
8050 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8051 if test "x$LINE" != x ; then
8052 eval "DEFAULT_$LINE"
8053 else
8054 no_cache=1
8055 fi
8056
8057 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8058
8059 fi;
8060
8061 eval "$ac_cv_use_bmpcombobox"
8062 if test "$no_cache" != 1; then
8063 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8064 fi
8065
8066 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8067 echo "$as_me:$LINENO: result: yes" >&5
8068 echo "${ECHO_T}yes" >&6
8069 else
8070 echo "$as_me:$LINENO: result: no" >&5
8071 echo "${ECHO_T}no" >&6
8072 fi
8073
8074
8075 enablestring=
8076 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8077 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6
8078 no_cache=0
8079 # Check whether --enable-calendar or --disable-calendar was given.
8080 if test "${enable_calendar+set}" = set; then
8081 enableval="$enable_calendar"
8082
8083 if test "$enableval" = yes; then
8084 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8085 else
8086 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8087 fi
8088
8089 else
8090
8091 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8092 if test "x$LINE" != x ; then
8093 eval "DEFAULT_$LINE"
8094 else
8095 no_cache=1
8096 fi
8097
8098 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8099
8100 fi;
8101
8102 eval "$ac_cv_use_calendar"
8103 if test "$no_cache" != 1; then
8104 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8105 fi
8106
8107 if test "$wxUSE_CALCTRL" = yes; then
8108 echo "$as_me:$LINENO: result: yes" >&5
8109 echo "${ECHO_T}yes" >&6
8110 else
8111 echo "$as_me:$LINENO: result: no" >&5
8112 echo "${ECHO_T}no" >&6
8113 fi
8114
8115
8116 enablestring=
8117 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
8118 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6
8119 no_cache=0
8120 # Check whether --enable-caret or --disable-caret was given.
8121 if test "${enable_caret+set}" = set; then
8122 enableval="$enable_caret"
8123
8124 if test "$enableval" = yes; then
8125 ac_cv_use_caret='wxUSE_CARET=yes'
8126 else
8127 ac_cv_use_caret='wxUSE_CARET=no'
8128 fi
8129
8130 else
8131
8132 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
8133 if test "x$LINE" != x ; then
8134 eval "DEFAULT_$LINE"
8135 else
8136 no_cache=1
8137 fi
8138
8139 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
8140
8141 fi;
8142
8143 eval "$ac_cv_use_caret"
8144 if test "$no_cache" != 1; then
8145 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
8146 fi
8147
8148 if test "$wxUSE_CARET" = yes; then
8149 echo "$as_me:$LINENO: result: yes" >&5
8150 echo "${ECHO_T}yes" >&6
8151 else
8152 echo "$as_me:$LINENO: result: no" >&5
8153 echo "${ECHO_T}no" >&6
8154 fi
8155
8156
8157 enablestring=
8158 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
8159 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6
8160 no_cache=0
8161 # Check whether --enable-checkbox or --disable-checkbox was given.
8162 if test "${enable_checkbox+set}" = set; then
8163 enableval="$enable_checkbox"
8164
8165 if test "$enableval" = yes; then
8166 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
8167 else
8168 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
8169 fi
8170
8171 else
8172
8173 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
8174 if test "x$LINE" != x ; then
8175 eval "DEFAULT_$LINE"
8176 else
8177 no_cache=1
8178 fi
8179
8180 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
8181
8182 fi;
8183
8184 eval "$ac_cv_use_checkbox"
8185 if test "$no_cache" != 1; then
8186 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
8187 fi
8188
8189 if test "$wxUSE_CHECKBOX" = yes; then
8190 echo "$as_me:$LINENO: result: yes" >&5
8191 echo "${ECHO_T}yes" >&6
8192 else
8193 echo "$as_me:$LINENO: result: no" >&5
8194 echo "${ECHO_T}no" >&6
8195 fi
8196
8197
8198 enablestring=
8199 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
8200 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6
8201 no_cache=0
8202 # Check whether --enable-checklst or --disable-checklst was given.
8203 if test "${enable_checklst+set}" = set; then
8204 enableval="$enable_checklst"
8205
8206 if test "$enableval" = yes; then
8207 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
8208 else
8209 ac_cv_use_checklst='wxUSE_CHECKLST=no'
8210 fi
8211
8212 else
8213
8214 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
8215 if test "x$LINE" != x ; then
8216 eval "DEFAULT_$LINE"
8217 else
8218 no_cache=1
8219 fi
8220
8221 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
8222
8223 fi;
8224
8225 eval "$ac_cv_use_checklst"
8226 if test "$no_cache" != 1; then
8227 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
8228 fi
8229
8230 if test "$wxUSE_CHECKLST" = yes; then
8231 echo "$as_me:$LINENO: result: yes" >&5
8232 echo "${ECHO_T}yes" >&6
8233 else
8234 echo "$as_me:$LINENO: result: no" >&5
8235 echo "${ECHO_T}no" >&6
8236 fi
8237
8238
8239 enablestring=
8240 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
8241 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6
8242 no_cache=0
8243 # Check whether --enable-choice or --disable-choice was given.
8244 if test "${enable_choice+set}" = set; then
8245 enableval="$enable_choice"
8246
8247 if test "$enableval" = yes; then
8248 ac_cv_use_choice='wxUSE_CHOICE=yes'
8249 else
8250 ac_cv_use_choice='wxUSE_CHOICE=no'
8251 fi
8252
8253 else
8254
8255 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
8256 if test "x$LINE" != x ; then
8257 eval "DEFAULT_$LINE"
8258 else
8259 no_cache=1
8260 fi
8261
8262 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
8263
8264 fi;
8265
8266 eval "$ac_cv_use_choice"
8267 if test "$no_cache" != 1; then
8268 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
8269 fi
8270
8271 if test "$wxUSE_CHOICE" = yes; then
8272 echo "$as_me:$LINENO: result: yes" >&5
8273 echo "${ECHO_T}yes" >&6
8274 else
8275 echo "$as_me:$LINENO: result: no" >&5
8276 echo "${ECHO_T}no" >&6
8277 fi
8278
8279
8280 enablestring=
8281 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
8282 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6
8283 no_cache=0
8284 # Check whether --enable-choicebook or --disable-choicebook was given.
8285 if test "${enable_choicebook+set}" = set; then
8286 enableval="$enable_choicebook"
8287
8288 if test "$enableval" = yes; then
8289 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
8290 else
8291 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
8292 fi
8293
8294 else
8295
8296 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
8297 if test "x$LINE" != x ; then
8298 eval "DEFAULT_$LINE"
8299 else
8300 no_cache=1
8301 fi
8302
8303 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
8304
8305 fi;
8306
8307 eval "$ac_cv_use_choicebook"
8308 if test "$no_cache" != 1; then
8309 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
8310 fi
8311
8312 if test "$wxUSE_CHOICEBOOK" = yes; then
8313 echo "$as_me:$LINENO: result: yes" >&5
8314 echo "${ECHO_T}yes" >&6
8315 else
8316 echo "$as_me:$LINENO: result: no" >&5
8317 echo "${ECHO_T}no" >&6
8318 fi
8319
8320
8321 enablestring=
8322 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
8323 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6
8324 no_cache=0
8325 # Check whether --enable-colourpicker or --disable-colourpicker was given.
8326 if test "${enable_colourpicker+set}" = set; then
8327 enableval="$enable_colourpicker"
8328
8329 if test "$enableval" = yes; then
8330 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
8331 else
8332 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
8333 fi
8334
8335 else
8336
8337 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
8338 if test "x$LINE" != x ; then
8339 eval "DEFAULT_$LINE"
8340 else
8341 no_cache=1
8342 fi
8343
8344 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
8345
8346 fi;
8347
8348 eval "$ac_cv_use_colourpicker"
8349 if test "$no_cache" != 1; then
8350 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
8351 fi
8352
8353 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
8354 echo "$as_me:$LINENO: result: yes" >&5
8355 echo "${ECHO_T}yes" >&6
8356 else
8357 echo "$as_me:$LINENO: result: no" >&5
8358 echo "${ECHO_T}no" >&6
8359 fi
8360
8361
8362 enablestring=
8363 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
8364 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6
8365 no_cache=0
8366 # Check whether --enable-combobox or --disable-combobox was given.
8367 if test "${enable_combobox+set}" = set; then
8368 enableval="$enable_combobox"
8369
8370 if test "$enableval" = yes; then
8371 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
8372 else
8373 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
8374 fi
8375
8376 else
8377
8378 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
8379 if test "x$LINE" != x ; then
8380 eval "DEFAULT_$LINE"
8381 else
8382 no_cache=1
8383 fi
8384
8385 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
8386
8387 fi;
8388
8389 eval "$ac_cv_use_combobox"
8390 if test "$no_cache" != 1; then
8391 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
8392 fi
8393
8394 if test "$wxUSE_COMBOBOX" = yes; then
8395 echo "$as_me:$LINENO: result: yes" >&5
8396 echo "${ECHO_T}yes" >&6
8397 else
8398 echo "$as_me:$LINENO: result: no" >&5
8399 echo "${ECHO_T}no" >&6
8400 fi
8401
8402
8403 enablestring=
8404 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
8405 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6
8406 no_cache=0
8407 # Check whether --enable-comboctrl or --disable-comboctrl was given.
8408 if test "${enable_comboctrl+set}" = set; then
8409 enableval="$enable_comboctrl"
8410
8411 if test "$enableval" = yes; then
8412 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
8413 else
8414 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
8415 fi
8416
8417 else
8418
8419 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
8420 if test "x$LINE" != x ; then
8421 eval "DEFAULT_$LINE"
8422 else
8423 no_cache=1
8424 fi
8425
8426 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
8427
8428 fi;
8429
8430 eval "$ac_cv_use_comboctrl"
8431 if test "$no_cache" != 1; then
8432 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
8433 fi
8434
8435 if test "$wxUSE_COMBOCTRL" = yes; then
8436 echo "$as_me:$LINENO: result: yes" >&5
8437 echo "${ECHO_T}yes" >&6
8438 else
8439 echo "$as_me:$LINENO: result: no" >&5
8440 echo "${ECHO_T}no" >&6
8441 fi
8442
8443
8444 enablestring=
8445 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
8446 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6
8447 no_cache=0
8448 # Check whether --enable-datepick or --disable-datepick was given.
8449 if test "${enable_datepick+set}" = set; then
8450 enableval="$enable_datepick"
8451
8452 if test "$enableval" = yes; then
8453 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
8454 else
8455 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
8456 fi
8457
8458 else
8459
8460 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
8461 if test "x$LINE" != x ; then
8462 eval "DEFAULT_$LINE"
8463 else
8464 no_cache=1
8465 fi
8466
8467 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
8468
8469 fi;
8470
8471 eval "$ac_cv_use_datepick"
8472 if test "$no_cache" != 1; then
8473 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
8474 fi
8475
8476 if test "$wxUSE_DATEPICKCTRL" = yes; then
8477 echo "$as_me:$LINENO: result: yes" >&5
8478 echo "${ECHO_T}yes" >&6
8479 else
8480 echo "$as_me:$LINENO: result: no" >&5
8481 echo "${ECHO_T}no" >&6
8482 fi
8483
8484
8485 enablestring=
8486 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
8487 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6
8488 no_cache=0
8489 # Check whether --enable-dirpicker or --disable-dirpicker was given.
8490 if test "${enable_dirpicker+set}" = set; then
8491 enableval="$enable_dirpicker"
8492
8493 if test "$enableval" = yes; then
8494 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
8495 else
8496 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
8497 fi
8498
8499 else
8500
8501 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
8502 if test "x$LINE" != x ; then
8503 eval "DEFAULT_$LINE"
8504 else
8505 no_cache=1
8506 fi
8507
8508 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
8509
8510 fi;
8511
8512 eval "$ac_cv_use_dirpicker"
8513 if test "$no_cache" != 1; then
8514 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
8515 fi
8516
8517 if test "$wxUSE_DIRPICKERCTRL" = yes; then
8518 echo "$as_me:$LINENO: result: yes" >&5
8519 echo "${ECHO_T}yes" >&6
8520 else
8521 echo "$as_me:$LINENO: result: no" >&5
8522 echo "${ECHO_T}no" >&6
8523 fi
8524
8525
8526 enablestring=
8527 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
8528 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6
8529 no_cache=0
8530 # Check whether --enable-display or --disable-display was given.
8531 if test "${enable_display+set}" = set; then
8532 enableval="$enable_display"
8533
8534 if test "$enableval" = yes; then
8535 ac_cv_use_display='wxUSE_DISPLAY=yes'
8536 else
8537 ac_cv_use_display='wxUSE_DISPLAY=no'
8538 fi
8539
8540 else
8541
8542 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
8543 if test "x$LINE" != x ; then
8544 eval "DEFAULT_$LINE"
8545 else
8546 no_cache=1
8547 fi
8548
8549 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
8550
8551 fi;
8552
8553 eval "$ac_cv_use_display"
8554 if test "$no_cache" != 1; then
8555 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
8556 fi
8557
8558 if test "$wxUSE_DISPLAY" = yes; then
8559 echo "$as_me:$LINENO: result: yes" >&5
8560 echo "${ECHO_T}yes" >&6
8561 else
8562 echo "$as_me:$LINENO: result: no" >&5
8563 echo "${ECHO_T}no" >&6
8564 fi
8565
8566
8567 enablestring=
8568 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
8569 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6
8570 no_cache=0
8571 # Check whether --enable-filepicker or --disable-filepicker was given.
8572 if test "${enable_filepicker+set}" = set; then
8573 enableval="$enable_filepicker"
8574
8575 if test "$enableval" = yes; then
8576 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
8577 else
8578 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
8579 fi
8580
8581 else
8582
8583 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
8584 if test "x$LINE" != x ; then
8585 eval "DEFAULT_$LINE"
8586 else
8587 no_cache=1
8588 fi
8589
8590 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
8591
8592 fi;
8593
8594 eval "$ac_cv_use_filepicker"
8595 if test "$no_cache" != 1; then
8596 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
8597 fi
8598
8599 if test "$wxUSE_FILEPICKERCTRL" = yes; then
8600 echo "$as_me:$LINENO: result: yes" >&5
8601 echo "${ECHO_T}yes" >&6
8602 else
8603 echo "$as_me:$LINENO: result: no" >&5
8604 echo "${ECHO_T}no" >&6
8605 fi
8606
8607
8608 enablestring=
8609 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
8610 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6
8611 no_cache=0
8612 # Check whether --enable-fontpicker or --disable-fontpicker was given.
8613 if test "${enable_fontpicker+set}" = set; then
8614 enableval="$enable_fontpicker"
8615
8616 if test "$enableval" = yes; then
8617 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
8618 else
8619 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
8620 fi
8621
8622 else
8623
8624 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
8625 if test "x$LINE" != x ; then
8626 eval "DEFAULT_$LINE"
8627 else
8628 no_cache=1
8629 fi
8630
8631 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
8632
8633 fi;
8634
8635 eval "$ac_cv_use_fontpicker"
8636 if test "$no_cache" != 1; then
8637 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
8638 fi
8639
8640 if test "$wxUSE_FONTPICKERCTRL" = yes; then
8641 echo "$as_me:$LINENO: result: yes" >&5
8642 echo "${ECHO_T}yes" >&6
8643 else
8644 echo "$as_me:$LINENO: result: no" >&5
8645 echo "${ECHO_T}no" >&6
8646 fi
8647
8648
8649 enablestring=
8650 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
8651 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6
8652 no_cache=0
8653 # Check whether --enable-gauge or --disable-gauge was given.
8654 if test "${enable_gauge+set}" = set; then
8655 enableval="$enable_gauge"
8656
8657 if test "$enableval" = yes; then
8658 ac_cv_use_gauge='wxUSE_GAUGE=yes'
8659 else
8660 ac_cv_use_gauge='wxUSE_GAUGE=no'
8661 fi
8662
8663 else
8664
8665 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
8666 if test "x$LINE" != x ; then
8667 eval "DEFAULT_$LINE"
8668 else
8669 no_cache=1
8670 fi
8671
8672 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
8673
8674 fi;
8675
8676 eval "$ac_cv_use_gauge"
8677 if test "$no_cache" != 1; then
8678 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
8679 fi
8680
8681 if test "$wxUSE_GAUGE" = yes; then
8682 echo "$as_me:$LINENO: result: yes" >&5
8683 echo "${ECHO_T}yes" >&6
8684 else
8685 echo "$as_me:$LINENO: result: no" >&5
8686 echo "${ECHO_T}no" >&6
8687 fi
8688
8689
8690 enablestring=
8691 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
8692 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6
8693 no_cache=0
8694 # Check whether --enable-grid or --disable-grid was given.
8695 if test "${enable_grid+set}" = set; then
8696 enableval="$enable_grid"
8697
8698 if test "$enableval" = yes; then
8699 ac_cv_use_grid='wxUSE_GRID=yes'
8700 else
8701 ac_cv_use_grid='wxUSE_GRID=no'
8702 fi
8703
8704 else
8705
8706 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
8707 if test "x$LINE" != x ; then
8708 eval "DEFAULT_$LINE"
8709 else
8710 no_cache=1
8711 fi
8712
8713 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
8714
8715 fi;
8716
8717 eval "$ac_cv_use_grid"
8718 if test "$no_cache" != 1; then
8719 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
8720 fi
8721
8722 if test "$wxUSE_GRID" = yes; then
8723 echo "$as_me:$LINENO: result: yes" >&5
8724 echo "${ECHO_T}yes" >&6
8725 else
8726 echo "$as_me:$LINENO: result: no" >&5
8727 echo "${ECHO_T}no" >&6
8728 fi
8729
8730
8731 enablestring=
8732 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
8733 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6
8734 no_cache=0
8735 # Check whether --enable-dataviewctrl or --disable-dataviewctrl was given.
8736 if test "${enable_dataviewctrl+set}" = set; then
8737 enableval="$enable_dataviewctrl"
8738
8739 if test "$enableval" = yes; then
8740 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
8741 else
8742 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
8743 fi
8744
8745 else
8746
8747 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
8748 if test "x$LINE" != x ; then
8749 eval "DEFAULT_$LINE"
8750 else
8751 no_cache=1
8752 fi
8753
8754 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
8755
8756 fi;
8757
8758 eval "$ac_cv_use_dataviewctrl"
8759 if test "$no_cache" != 1; then
8760 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
8761 fi
8762
8763 if test "$wxUSE_DATAVIEWCTRL" = yes; then
8764 echo "$as_me:$LINENO: result: yes" >&5
8765 echo "${ECHO_T}yes" >&6
8766 else
8767 echo "$as_me:$LINENO: result: no" >&5
8768 echo "${ECHO_T}no" >&6
8769 fi
8770
8771
8772 enablestring=
8773 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
8774 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6
8775 no_cache=0
8776 # Check whether --enable-hyperlink or --disable-hyperlink was given.
8777 if test "${enable_hyperlink+set}" = set; then
8778 enableval="$enable_hyperlink"
8779
8780 if test "$enableval" = yes; then
8781 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
8782 else
8783 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
8784 fi
8785
8786 else
8787
8788 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
8789 if test "x$LINE" != x ; then
8790 eval "DEFAULT_$LINE"
8791 else
8792 no_cache=1
8793 fi
8794
8795 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
8796
8797 fi;
8798
8799 eval "$ac_cv_use_hyperlink"
8800 if test "$no_cache" != 1; then
8801 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
8802 fi
8803
8804 if test "$wxUSE_HYPERLINKCTRL" = yes; then
8805 echo "$as_me:$LINENO: result: yes" >&5
8806 echo "${ECHO_T}yes" >&6
8807 else
8808 echo "$as_me:$LINENO: result: no" >&5
8809 echo "${ECHO_T}no" >&6
8810 fi
8811
8812
8813 enablestring=
8814 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
8815 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6
8816 no_cache=0
8817 # Check whether --enable-imaglist or --disable-imaglist was given.
8818 if test "${enable_imaglist+set}" = set; then
8819 enableval="$enable_imaglist"
8820
8821 if test "$enableval" = yes; then
8822 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
8823 else
8824 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
8825 fi
8826
8827 else
8828
8829 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
8830 if test "x$LINE" != x ; then
8831 eval "DEFAULT_$LINE"
8832 else
8833 no_cache=1
8834 fi
8835
8836 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
8837
8838 fi;
8839
8840 eval "$ac_cv_use_imaglist"
8841 if test "$no_cache" != 1; then
8842 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
8843 fi
8844
8845 if test "$wxUSE_IMAGLIST" = yes; then
8846 echo "$as_me:$LINENO: result: yes" >&5
8847 echo "${ECHO_T}yes" >&6
8848 else
8849 echo "$as_me:$LINENO: result: no" >&5
8850 echo "${ECHO_T}no" >&6
8851 fi
8852
8853
8854 enablestring=
8855 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
8856 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6
8857 no_cache=0
8858 # Check whether --enable-listbook or --disable-listbook was given.
8859 if test "${enable_listbook+set}" = set; then
8860 enableval="$enable_listbook"
8861
8862 if test "$enableval" = yes; then
8863 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
8864 else
8865 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
8866 fi
8867
8868 else
8869
8870 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
8871 if test "x$LINE" != x ; then
8872 eval "DEFAULT_$LINE"
8873 else
8874 no_cache=1
8875 fi
8876
8877 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
8878
8879 fi;
8880
8881 eval "$ac_cv_use_listbook"
8882 if test "$no_cache" != 1; then
8883 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
8884 fi
8885
8886 if test "$wxUSE_LISTBOOK" = yes; then
8887 echo "$as_me:$LINENO: result: yes" >&5
8888 echo "${ECHO_T}yes" >&6
8889 else
8890 echo "$as_me:$LINENO: result: no" >&5
8891 echo "${ECHO_T}no" >&6
8892 fi
8893
8894
8895 enablestring=
8896 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
8897 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6
8898 no_cache=0
8899 # Check whether --enable-listbox or --disable-listbox was given.
8900 if test "${enable_listbox+set}" = set; then
8901 enableval="$enable_listbox"
8902
8903 if test "$enableval" = yes; then
8904 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
8905 else
8906 ac_cv_use_listbox='wxUSE_LISTBOX=no'
8907 fi
8908
8909 else
8910
8911 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
8912 if test "x$LINE" != x ; then
8913 eval "DEFAULT_$LINE"
8914 else
8915 no_cache=1
8916 fi
8917
8918 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
8919
8920 fi;
8921
8922 eval "$ac_cv_use_listbox"
8923 if test "$no_cache" != 1; then
8924 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
8925 fi
8926
8927 if test "$wxUSE_LISTBOX" = yes; then
8928 echo "$as_me:$LINENO: result: yes" >&5
8929 echo "${ECHO_T}yes" >&6
8930 else
8931 echo "$as_me:$LINENO: result: no" >&5
8932 echo "${ECHO_T}no" >&6
8933 fi
8934
8935
8936 enablestring=
8937 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
8938 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6
8939 no_cache=0
8940 # Check whether --enable-listctrl or --disable-listctrl was given.
8941 if test "${enable_listctrl+set}" = set; then
8942 enableval="$enable_listctrl"
8943
8944 if test "$enableval" = yes; then
8945 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
8946 else
8947 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
8948 fi
8949
8950 else
8951
8952 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
8953 if test "x$LINE" != x ; then
8954 eval "DEFAULT_$LINE"
8955 else
8956 no_cache=1
8957 fi
8958
8959 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
8960
8961 fi;
8962
8963 eval "$ac_cv_use_listctrl"
8964 if test "$no_cache" != 1; then
8965 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
8966 fi
8967
8968 if test "$wxUSE_LISTCTRL" = yes; then
8969 echo "$as_me:$LINENO: result: yes" >&5
8970 echo "${ECHO_T}yes" >&6
8971 else
8972 echo "$as_me:$LINENO: result: no" >&5
8973 echo "${ECHO_T}no" >&6
8974 fi
8975
8976
8977 enablestring=
8978 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
8979 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6
8980 no_cache=0
8981 # Check whether --enable-notebook or --disable-notebook was given.
8982 if test "${enable_notebook+set}" = set; then
8983 enableval="$enable_notebook"
8984
8985 if test "$enableval" = yes; then
8986 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
8987 else
8988 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
8989 fi
8990
8991 else
8992
8993 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
8994 if test "x$LINE" != x ; then
8995 eval "DEFAULT_$LINE"
8996 else
8997 no_cache=1
8998 fi
8999
9000 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9001
9002 fi;
9003
9004 eval "$ac_cv_use_notebook"
9005 if test "$no_cache" != 1; then
9006 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9007 fi
9008
9009 if test "$wxUSE_NOTEBOOK" = yes; then
9010 echo "$as_me:$LINENO: result: yes" >&5
9011 echo "${ECHO_T}yes" >&6
9012 else
9013 echo "$as_me:$LINENO: result: no" >&5
9014 echo "${ECHO_T}no" >&6
9015 fi
9016
9017
9018 enablestring=
9019 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9020 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6
9021 no_cache=0
9022 # Check whether --enable-odcombobox or --disable-odcombobox was given.
9023 if test "${enable_odcombobox+set}" = set; then
9024 enableval="$enable_odcombobox"
9025
9026 if test "$enableval" = yes; then
9027 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
9028 else
9029 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
9030 fi
9031
9032 else
9033
9034 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9035 if test "x$LINE" != x ; then
9036 eval "DEFAULT_$LINE"
9037 else
9038 no_cache=1
9039 fi
9040
9041 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
9042
9043 fi;
9044
9045 eval "$ac_cv_use_odcombobox"
9046 if test "$no_cache" != 1; then
9047 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
9048 fi
9049
9050 if test "$wxUSE_ODCOMBOBOX" = yes; then
9051 echo "$as_me:$LINENO: result: yes" >&5
9052 echo "${ECHO_T}yes" >&6
9053 else
9054 echo "$as_me:$LINENO: result: no" >&5
9055 echo "${ECHO_T}no" >&6
9056 fi
9057
9058
9059 enablestring=
9060 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
9061 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6
9062 no_cache=0
9063 # Check whether --enable-radiobox or --disable-radiobox was given.
9064 if test "${enable_radiobox+set}" = set; then
9065 enableval="$enable_radiobox"
9066
9067 if test "$enableval" = yes; then
9068 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
9069 else
9070 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
9071 fi
9072
9073 else
9074
9075 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
9076 if test "x$LINE" != x ; then
9077 eval "DEFAULT_$LINE"
9078 else
9079 no_cache=1
9080 fi
9081
9082 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
9083
9084 fi;
9085
9086 eval "$ac_cv_use_radiobox"
9087 if test "$no_cache" != 1; then
9088 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
9089 fi
9090
9091 if test "$wxUSE_RADIOBOX" = yes; then
9092 echo "$as_me:$LINENO: result: yes" >&5
9093 echo "${ECHO_T}yes" >&6
9094 else
9095 echo "$as_me:$LINENO: result: no" >&5
9096 echo "${ECHO_T}no" >&6
9097 fi
9098
9099
9100 enablestring=
9101 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
9102 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6
9103 no_cache=0
9104 # Check whether --enable-radiobtn or --disable-radiobtn was given.
9105 if test "${enable_radiobtn+set}" = set; then
9106 enableval="$enable_radiobtn"
9107
9108 if test "$enableval" = yes; then
9109 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
9110 else
9111 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
9112 fi
9113
9114 else
9115
9116 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
9117 if test "x$LINE" != x ; then
9118 eval "DEFAULT_$LINE"
9119 else
9120 no_cache=1
9121 fi
9122
9123 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
9124
9125 fi;
9126
9127 eval "$ac_cv_use_radiobtn"
9128 if test "$no_cache" != 1; then
9129 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
9130 fi
9131
9132 if test "$wxUSE_RADIOBTN" = yes; then
9133 echo "$as_me:$LINENO: result: yes" >&5
9134 echo "${ECHO_T}yes" >&6
9135 else
9136 echo "$as_me:$LINENO: result: no" >&5
9137 echo "${ECHO_T}no" >&6
9138 fi
9139
9140
9141 enablestring=
9142 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
9143 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6
9144 no_cache=0
9145 # Check whether --enable-sash or --disable-sash was given.
9146 if test "${enable_sash+set}" = set; then
9147 enableval="$enable_sash"
9148
9149 if test "$enableval" = yes; then
9150 ac_cv_use_sash='wxUSE_SASH=yes'
9151 else
9152 ac_cv_use_sash='wxUSE_SASH=no'
9153 fi
9154
9155 else
9156
9157 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
9158 if test "x$LINE" != x ; then
9159 eval "DEFAULT_$LINE"
9160 else
9161 no_cache=1
9162 fi
9163
9164 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
9165
9166 fi;
9167
9168 eval "$ac_cv_use_sash"
9169 if test "$no_cache" != 1; then
9170 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
9171 fi
9172
9173 if test "$wxUSE_SASH" = yes; then
9174 echo "$as_me:$LINENO: result: yes" >&5
9175 echo "${ECHO_T}yes" >&6
9176 else
9177 echo "$as_me:$LINENO: result: no" >&5
9178 echo "${ECHO_T}no" >&6
9179 fi
9180
9181
9182 enablestring=
9183 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
9184 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6
9185 no_cache=0
9186 # Check whether --enable-scrollbar or --disable-scrollbar was given.
9187 if test "${enable_scrollbar+set}" = set; then
9188 enableval="$enable_scrollbar"
9189
9190 if test "$enableval" = yes; then
9191 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
9192 else
9193 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
9194 fi
9195
9196 else
9197
9198 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
9199 if test "x$LINE" != x ; then
9200 eval "DEFAULT_$LINE"
9201 else
9202 no_cache=1
9203 fi
9204
9205 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
9206
9207 fi;
9208
9209 eval "$ac_cv_use_scrollbar"
9210 if test "$no_cache" != 1; then
9211 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
9212 fi
9213
9214 if test "$wxUSE_SCROLLBAR" = yes; then
9215 echo "$as_me:$LINENO: result: yes" >&5
9216 echo "${ECHO_T}yes" >&6
9217 else
9218 echo "$as_me:$LINENO: result: no" >&5
9219 echo "${ECHO_T}no" >&6
9220 fi
9221
9222
9223 enablestring=
9224 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
9225 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6
9226 no_cache=0
9227 # Check whether --enable-slider or --disable-slider was given.
9228 if test "${enable_slider+set}" = set; then
9229 enableval="$enable_slider"
9230
9231 if test "$enableval" = yes; then
9232 ac_cv_use_slider='wxUSE_SLIDER=yes'
9233 else
9234 ac_cv_use_slider='wxUSE_SLIDER=no'
9235 fi
9236
9237 else
9238
9239 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
9240 if test "x$LINE" != x ; then
9241 eval "DEFAULT_$LINE"
9242 else
9243 no_cache=1
9244 fi
9245
9246 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
9247
9248 fi;
9249
9250 eval "$ac_cv_use_slider"
9251 if test "$no_cache" != 1; then
9252 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
9253 fi
9254
9255 if test "$wxUSE_SLIDER" = yes; then
9256 echo "$as_me:$LINENO: result: yes" >&5
9257 echo "${ECHO_T}yes" >&6
9258 else
9259 echo "$as_me:$LINENO: result: no" >&5
9260 echo "${ECHO_T}no" >&6
9261 fi
9262
9263
9264 enablestring=
9265 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
9266 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6
9267 no_cache=0
9268 # Check whether --enable-spinbtn or --disable-spinbtn was given.
9269 if test "${enable_spinbtn+set}" = set; then
9270 enableval="$enable_spinbtn"
9271
9272 if test "$enableval" = yes; then
9273 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
9274 else
9275 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
9276 fi
9277
9278 else
9279
9280 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
9281 if test "x$LINE" != x ; then
9282 eval "DEFAULT_$LINE"
9283 else
9284 no_cache=1
9285 fi
9286
9287 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
9288
9289 fi;
9290
9291 eval "$ac_cv_use_spinbtn"
9292 if test "$no_cache" != 1; then
9293 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
9294 fi
9295
9296 if test "$wxUSE_SPINBTN" = yes; then
9297 echo "$as_me:$LINENO: result: yes" >&5
9298 echo "${ECHO_T}yes" >&6
9299 else
9300 echo "$as_me:$LINENO: result: no" >&5
9301 echo "${ECHO_T}no" >&6
9302 fi
9303
9304
9305 enablestring=
9306 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
9307 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6
9308 no_cache=0
9309 # Check whether --enable-spinctrl or --disable-spinctrl was given.
9310 if test "${enable_spinctrl+set}" = set; then
9311 enableval="$enable_spinctrl"
9312
9313 if test "$enableval" = yes; then
9314 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
9315 else
9316 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
9317 fi
9318
9319 else
9320
9321 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
9322 if test "x$LINE" != x ; then
9323 eval "DEFAULT_$LINE"
9324 else
9325 no_cache=1
9326 fi
9327
9328 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
9329
9330 fi;
9331
9332 eval "$ac_cv_use_spinctrl"
9333 if test "$no_cache" != 1; then
9334 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
9335 fi
9336
9337 if test "$wxUSE_SPINCTRL" = yes; then
9338 echo "$as_me:$LINENO: result: yes" >&5
9339 echo "${ECHO_T}yes" >&6
9340 else
9341 echo "$as_me:$LINENO: result: no" >&5
9342 echo "${ECHO_T}no" >&6
9343 fi
9344
9345
9346 enablestring=
9347 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
9348 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6
9349 no_cache=0
9350 # Check whether --enable-splitter or --disable-splitter was given.
9351 if test "${enable_splitter+set}" = set; then
9352 enableval="$enable_splitter"
9353
9354 if test "$enableval" = yes; then
9355 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
9356 else
9357 ac_cv_use_splitter='wxUSE_SPLITTER=no'
9358 fi
9359
9360 else
9361
9362 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
9363 if test "x$LINE" != x ; then
9364 eval "DEFAULT_$LINE"
9365 else
9366 no_cache=1
9367 fi
9368
9369 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
9370
9371 fi;
9372
9373 eval "$ac_cv_use_splitter"
9374 if test "$no_cache" != 1; then
9375 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
9376 fi
9377
9378 if test "$wxUSE_SPLITTER" = yes; then
9379 echo "$as_me:$LINENO: result: yes" >&5
9380 echo "${ECHO_T}yes" >&6
9381 else
9382 echo "$as_me:$LINENO: result: no" >&5
9383 echo "${ECHO_T}no" >&6
9384 fi
9385
9386
9387 enablestring=
9388 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
9389 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6
9390 no_cache=0
9391 # Check whether --enable-statbmp or --disable-statbmp was given.
9392 if test "${enable_statbmp+set}" = set; then
9393 enableval="$enable_statbmp"
9394
9395 if test "$enableval" = yes; then
9396 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
9397 else
9398 ac_cv_use_statbmp='wxUSE_STATBMP=no'
9399 fi
9400
9401 else
9402
9403 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
9404 if test "x$LINE" != x ; then
9405 eval "DEFAULT_$LINE"
9406 else
9407 no_cache=1
9408 fi
9409
9410 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
9411
9412 fi;
9413
9414 eval "$ac_cv_use_statbmp"
9415 if test "$no_cache" != 1; then
9416 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
9417 fi
9418
9419 if test "$wxUSE_STATBMP" = yes; then
9420 echo "$as_me:$LINENO: result: yes" >&5
9421 echo "${ECHO_T}yes" >&6
9422 else
9423 echo "$as_me:$LINENO: result: no" >&5
9424 echo "${ECHO_T}no" >&6
9425 fi
9426
9427
9428 enablestring=
9429 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
9430 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6
9431 no_cache=0
9432 # Check whether --enable-statbox or --disable-statbox was given.
9433 if test "${enable_statbox+set}" = set; then
9434 enableval="$enable_statbox"
9435
9436 if test "$enableval" = yes; then
9437 ac_cv_use_statbox='wxUSE_STATBOX=yes'
9438 else
9439 ac_cv_use_statbox='wxUSE_STATBOX=no'
9440 fi
9441
9442 else
9443
9444 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
9445 if test "x$LINE" != x ; then
9446 eval "DEFAULT_$LINE"
9447 else
9448 no_cache=1
9449 fi
9450
9451 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
9452
9453 fi;
9454
9455 eval "$ac_cv_use_statbox"
9456 if test "$no_cache" != 1; then
9457 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
9458 fi
9459
9460 if test "$wxUSE_STATBOX" = yes; then
9461 echo "$as_me:$LINENO: result: yes" >&5
9462 echo "${ECHO_T}yes" >&6
9463 else
9464 echo "$as_me:$LINENO: result: no" >&5
9465 echo "${ECHO_T}no" >&6
9466 fi
9467
9468
9469 enablestring=
9470 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
9471 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6
9472 no_cache=0
9473 # Check whether --enable-statline or --disable-statline was given.
9474 if test "${enable_statline+set}" = set; then
9475 enableval="$enable_statline"
9476
9477 if test "$enableval" = yes; then
9478 ac_cv_use_statline='wxUSE_STATLINE=yes'
9479 else
9480 ac_cv_use_statline='wxUSE_STATLINE=no'
9481 fi
9482
9483 else
9484
9485 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
9486 if test "x$LINE" != x ; then
9487 eval "DEFAULT_$LINE"
9488 else
9489 no_cache=1
9490 fi
9491
9492 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
9493
9494 fi;
9495
9496 eval "$ac_cv_use_statline"
9497 if test "$no_cache" != 1; then
9498 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
9499 fi
9500
9501 if test "$wxUSE_STATLINE" = yes; then
9502 echo "$as_me:$LINENO: result: yes" >&5
9503 echo "${ECHO_T}yes" >&6
9504 else
9505 echo "$as_me:$LINENO: result: no" >&5
9506 echo "${ECHO_T}no" >&6
9507 fi
9508
9509
9510 enablestring=
9511 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
9512 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6
9513 no_cache=0
9514 # Check whether --enable-stattext or --disable-stattext was given.
9515 if test "${enable_stattext+set}" = set; then
9516 enableval="$enable_stattext"
9517
9518 if test "$enableval" = yes; then
9519 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
9520 else
9521 ac_cv_use_stattext='wxUSE_STATTEXT=no'
9522 fi
9523
9524 else
9525
9526 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
9527 if test "x$LINE" != x ; then
9528 eval "DEFAULT_$LINE"
9529 else
9530 no_cache=1
9531 fi
9532
9533 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
9534
9535 fi;
9536
9537 eval "$ac_cv_use_stattext"
9538 if test "$no_cache" != 1; then
9539 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
9540 fi
9541
9542 if test "$wxUSE_STATTEXT" = yes; then
9543 echo "$as_me:$LINENO: result: yes" >&5
9544 echo "${ECHO_T}yes" >&6
9545 else
9546 echo "$as_me:$LINENO: result: no" >&5
9547 echo "${ECHO_T}no" >&6
9548 fi
9549
9550
9551 enablestring=
9552 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
9553 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6
9554 no_cache=0
9555 # Check whether --enable-statusbar or --disable-statusbar was given.
9556 if test "${enable_statusbar+set}" = set; then
9557 enableval="$enable_statusbar"
9558
9559 if test "$enableval" = yes; then
9560 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
9561 else
9562 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
9563 fi
9564
9565 else
9566
9567 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
9568 if test "x$LINE" != x ; then
9569 eval "DEFAULT_$LINE"
9570 else
9571 no_cache=1
9572 fi
9573
9574 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
9575
9576 fi;
9577
9578 eval "$ac_cv_use_statusbar"
9579 if test "$no_cache" != 1; then
9580 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
9581 fi
9582
9583 if test "$wxUSE_STATUSBAR" = yes; then
9584 echo "$as_me:$LINENO: result: yes" >&5
9585 echo "${ECHO_T}yes" >&6
9586 else
9587 echo "$as_me:$LINENO: result: no" >&5
9588 echo "${ECHO_T}no" >&6
9589 fi
9590
9591
9592 enablestring=
9593 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
9594 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6
9595 no_cache=0
9596 # Check whether --enable-tabdialog or --disable-tabdialog was given.
9597 if test "${enable_tabdialog+set}" = set; then
9598 enableval="$enable_tabdialog"
9599
9600 if test "$enableval" = yes; then
9601 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
9602 else
9603 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
9604 fi
9605
9606 else
9607
9608 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
9609 if test "x$LINE" != x ; then
9610 eval "DEFAULT_$LINE"
9611 else
9612 no_cache=1
9613 fi
9614
9615 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
9616
9617 fi;
9618
9619 eval "$ac_cv_use_tabdialog"
9620 if test "$no_cache" != 1; then
9621 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
9622 fi
9623
9624 if test "$wxUSE_TAB_DIALOG" = yes; then
9625 echo "$as_me:$LINENO: result: yes" >&5
9626 echo "${ECHO_T}yes" >&6
9627 else
9628 echo "$as_me:$LINENO: result: no" >&5
9629 echo "${ECHO_T}no" >&6
9630 fi
9631
9632
9633 enablestring=
9634 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
9635 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6
9636 no_cache=0
9637 # Check whether --enable-textctrl or --disable-textctrl was given.
9638 if test "${enable_textctrl+set}" = set; then
9639 enableval="$enable_textctrl"
9640
9641 if test "$enableval" = yes; then
9642 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
9643 else
9644 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
9645 fi
9646
9647 else
9648
9649 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
9650 if test "x$LINE" != x ; then
9651 eval "DEFAULT_$LINE"
9652 else
9653 no_cache=1
9654 fi
9655
9656 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
9657
9658 fi;
9659
9660 eval "$ac_cv_use_textctrl"
9661 if test "$no_cache" != 1; then
9662 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
9663 fi
9664
9665 if test "$wxUSE_TEXTCTRL" = yes; then
9666 echo "$as_me:$LINENO: result: yes" >&5
9667 echo "${ECHO_T}yes" >&6
9668 else
9669 echo "$as_me:$LINENO: result: no" >&5
9670 echo "${ECHO_T}no" >&6
9671 fi
9672
9673
9674 enablestring=
9675 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
9676 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6
9677 no_cache=0
9678 # Check whether --enable-togglebtn or --disable-togglebtn was given.
9679 if test "${enable_togglebtn+set}" = set; then
9680 enableval="$enable_togglebtn"
9681
9682 if test "$enableval" = yes; then
9683 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
9684 else
9685 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
9686 fi
9687
9688 else
9689
9690 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
9691 if test "x$LINE" != x ; then
9692 eval "DEFAULT_$LINE"
9693 else
9694 no_cache=1
9695 fi
9696
9697 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
9698
9699 fi;
9700
9701 eval "$ac_cv_use_togglebtn"
9702 if test "$no_cache" != 1; then
9703 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
9704 fi
9705
9706 if test "$wxUSE_TOGGLEBTN" = yes; then
9707 echo "$as_me:$LINENO: result: yes" >&5
9708 echo "${ECHO_T}yes" >&6
9709 else
9710 echo "$as_me:$LINENO: result: no" >&5
9711 echo "${ECHO_T}no" >&6
9712 fi
9713
9714
9715 enablestring=
9716 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
9717 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6
9718 no_cache=0
9719 # Check whether --enable-toolbar or --disable-toolbar was given.
9720 if test "${enable_toolbar+set}" = set; then
9721 enableval="$enable_toolbar"
9722
9723 if test "$enableval" = yes; then
9724 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
9725 else
9726 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
9727 fi
9728
9729 else
9730
9731 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
9732 if test "x$LINE" != x ; then
9733 eval "DEFAULT_$LINE"
9734 else
9735 no_cache=1
9736 fi
9737
9738 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
9739
9740 fi;
9741
9742 eval "$ac_cv_use_toolbar"
9743 if test "$no_cache" != 1; then
9744 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
9745 fi
9746
9747 if test "$wxUSE_TOOLBAR" = yes; then
9748 echo "$as_me:$LINENO: result: yes" >&5
9749 echo "${ECHO_T}yes" >&6
9750 else
9751 echo "$as_me:$LINENO: result: no" >&5
9752 echo "${ECHO_T}no" >&6
9753 fi
9754
9755
9756 enablestring=
9757 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
9758 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6
9759 no_cache=0
9760 # Check whether --enable-tbarnative or --disable-tbarnative was given.
9761 if test "${enable_tbarnative+set}" = set; then
9762 enableval="$enable_tbarnative"
9763
9764 if test "$enableval" = yes; then
9765 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
9766 else
9767 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
9768 fi
9769
9770 else
9771
9772 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
9773 if test "x$LINE" != x ; then
9774 eval "DEFAULT_$LINE"
9775 else
9776 no_cache=1
9777 fi
9778
9779 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
9780
9781 fi;
9782
9783 eval "$ac_cv_use_tbarnative"
9784 if test "$no_cache" != 1; then
9785 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
9786 fi
9787
9788 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
9789 echo "$as_me:$LINENO: result: yes" >&5
9790 echo "${ECHO_T}yes" >&6
9791 else
9792 echo "$as_me:$LINENO: result: no" >&5
9793 echo "${ECHO_T}no" >&6
9794 fi
9795
9796
9797 enablestring=
9798 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
9799 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6
9800 no_cache=0
9801 # Check whether --enable-treebook or --disable-treebook was given.
9802 if test "${enable_treebook+set}" = set; then
9803 enableval="$enable_treebook"
9804
9805 if test "$enableval" = yes; then
9806 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
9807 else
9808 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
9809 fi
9810
9811 else
9812
9813 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
9814 if test "x$LINE" != x ; then
9815 eval "DEFAULT_$LINE"
9816 else
9817 no_cache=1
9818 fi
9819
9820 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
9821
9822 fi;
9823
9824 eval "$ac_cv_use_treebook"
9825 if test "$no_cache" != 1; then
9826 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
9827 fi
9828
9829 if test "$wxUSE_TREEBOOK" = yes; then
9830 echo "$as_me:$LINENO: result: yes" >&5
9831 echo "${ECHO_T}yes" >&6
9832 else
9833 echo "$as_me:$LINENO: result: no" >&5
9834 echo "${ECHO_T}no" >&6
9835 fi
9836
9837
9838 enablestring=
9839 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
9840 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6
9841 no_cache=0
9842 # Check whether --enable-toolbook or --disable-toolbook was given.
9843 if test "${enable_toolbook+set}" = set; then
9844 enableval="$enable_toolbook"
9845
9846 if test "$enableval" = yes; then
9847 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
9848 else
9849 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
9850 fi
9851
9852 else
9853
9854 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
9855 if test "x$LINE" != x ; then
9856 eval "DEFAULT_$LINE"
9857 else
9858 no_cache=1
9859 fi
9860
9861 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
9862
9863 fi;
9864
9865 eval "$ac_cv_use_toolbook"
9866 if test "$no_cache" != 1; then
9867 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
9868 fi
9869
9870 if test "$wxUSE_TOOLBOOK" = yes; then
9871 echo "$as_me:$LINENO: result: yes" >&5
9872 echo "${ECHO_T}yes" >&6
9873 else
9874 echo "$as_me:$LINENO: result: no" >&5
9875 echo "${ECHO_T}no" >&6
9876 fi
9877
9878
9879 enablestring=
9880 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
9881 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6
9882 no_cache=0
9883 # Check whether --enable-treectrl or --disable-treectrl was given.
9884 if test "${enable_treectrl+set}" = set; then
9885 enableval="$enable_treectrl"
9886
9887 if test "$enableval" = yes; then
9888 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
9889 else
9890 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
9891 fi
9892
9893 else
9894
9895 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
9896 if test "x$LINE" != x ; then
9897 eval "DEFAULT_$LINE"
9898 else
9899 no_cache=1
9900 fi
9901
9902 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
9903
9904 fi;
9905
9906 eval "$ac_cv_use_treectrl"
9907 if test "$no_cache" != 1; then
9908 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
9909 fi
9910
9911 if test "$wxUSE_TREECTRL" = yes; then
9912 echo "$as_me:$LINENO: result: yes" >&5
9913 echo "${ECHO_T}yes" >&6
9914 else
9915 echo "$as_me:$LINENO: result: no" >&5
9916 echo "${ECHO_T}no" >&6
9917 fi
9918
9919
9920 enablestring=
9921 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
9922 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6
9923 no_cache=0
9924 # Check whether --enable-tipwindow or --disable-tipwindow was given.
9925 if test "${enable_tipwindow+set}" = set; then
9926 enableval="$enable_tipwindow"
9927
9928 if test "$enableval" = yes; then
9929 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
9930 else
9931 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
9932 fi
9933
9934 else
9935
9936 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
9937 if test "x$LINE" != x ; then
9938 eval "DEFAULT_$LINE"
9939 else
9940 no_cache=1
9941 fi
9942
9943 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
9944
9945 fi;
9946
9947 eval "$ac_cv_use_tipwindow"
9948 if test "$no_cache" != 1; then
9949 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
9950 fi
9951
9952 if test "$wxUSE_TIPWINDOW" = yes; then
9953 echo "$as_me:$LINENO: result: yes" >&5
9954 echo "${ECHO_T}yes" >&6
9955 else
9956 echo "$as_me:$LINENO: result: no" >&5
9957 echo "${ECHO_T}no" >&6
9958 fi
9959
9960
9961 enablestring=
9962 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
9963 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6
9964 no_cache=0
9965 # Check whether --enable-popupwin or --disable-popupwin was given.
9966 if test "${enable_popupwin+set}" = set; then
9967 enableval="$enable_popupwin"
9968
9969 if test "$enableval" = yes; then
9970 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
9971 else
9972 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
9973 fi
9974
9975 else
9976
9977 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
9978 if test "x$LINE" != x ; then
9979 eval "DEFAULT_$LINE"
9980 else
9981 no_cache=1
9982 fi
9983
9984 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
9985
9986 fi;
9987
9988 eval "$ac_cv_use_popupwin"
9989 if test "$no_cache" != 1; then
9990 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
9991 fi
9992
9993 if test "$wxUSE_POPUPWIN" = yes; then
9994 echo "$as_me:$LINENO: result: yes" >&5
9995 echo "${ECHO_T}yes" >&6
9996 else
9997 echo "$as_me:$LINENO: result: no" >&5
9998 echo "${ECHO_T}no" >&6
9999 fi
10000
10001
10002
10003
10004 enablestring=
10005 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
10006 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6
10007 no_cache=0
10008 # Check whether --enable-commondlg or --disable-commondlg was given.
10009 if test "${enable_commondlg+set}" = set; then
10010 enableval="$enable_commondlg"
10011
10012 if test "$enableval" = yes; then
10013 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
10014 else
10015 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
10016 fi
10017
10018 else
10019
10020 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
10021 if test "x$LINE" != x ; then
10022 eval "DEFAULT_$LINE"
10023 else
10024 no_cache=1
10025 fi
10026
10027 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
10028
10029 fi;
10030
10031 eval "$ac_cv_use_commondlg"
10032 if test "$no_cache" != 1; then
10033 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
10034 fi
10035
10036 if test "$wxUSE_COMMONDLGS" = yes; then
10037 echo "$as_me:$LINENO: result: yes" >&5
10038 echo "${ECHO_T}yes" >&6
10039 else
10040 echo "$as_me:$LINENO: result: no" >&5
10041 echo "${ECHO_T}no" >&6
10042 fi
10043
10044
10045 enablestring=
10046 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
10047 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6
10048 no_cache=0
10049 # Check whether --enable-aboutdlg or --disable-aboutdlg was given.
10050 if test "${enable_aboutdlg+set}" = set; then
10051 enableval="$enable_aboutdlg"
10052
10053 if test "$enableval" = yes; then
10054 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
10055 else
10056 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
10057 fi
10058
10059 else
10060
10061 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
10062 if test "x$LINE" != x ; then
10063 eval "DEFAULT_$LINE"
10064 else
10065 no_cache=1
10066 fi
10067
10068 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
10069
10070 fi;
10071
10072 eval "$ac_cv_use_aboutdlg"
10073 if test "$no_cache" != 1; then
10074 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
10075 fi
10076
10077 if test "$wxUSE_ABOUTDLG" = yes; then
10078 echo "$as_me:$LINENO: result: yes" >&5
10079 echo "${ECHO_T}yes" >&6
10080 else
10081 echo "$as_me:$LINENO: result: no" >&5
10082 echo "${ECHO_T}no" >&6
10083 fi
10084
10085
10086 enablestring=
10087 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
10088 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6
10089 no_cache=0
10090 # Check whether --enable-choicedlg or --disable-choicedlg was given.
10091 if test "${enable_choicedlg+set}" = set; then
10092 enableval="$enable_choicedlg"
10093
10094 if test "$enableval" = yes; then
10095 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
10096 else
10097 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
10098 fi
10099
10100 else
10101
10102 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
10103 if test "x$LINE" != x ; then
10104 eval "DEFAULT_$LINE"
10105 else
10106 no_cache=1
10107 fi
10108
10109 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
10110
10111 fi;
10112
10113 eval "$ac_cv_use_choicedlg"
10114 if test "$no_cache" != 1; then
10115 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
10116 fi
10117
10118 if test "$wxUSE_CHOICEDLG" = yes; then
10119 echo "$as_me:$LINENO: result: yes" >&5
10120 echo "${ECHO_T}yes" >&6
10121 else
10122 echo "$as_me:$LINENO: result: no" >&5
10123 echo "${ECHO_T}no" >&6
10124 fi
10125
10126
10127 enablestring=
10128 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
10129 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6
10130 no_cache=0
10131 # Check whether --enable-coldlg or --disable-coldlg was given.
10132 if test "${enable_coldlg+set}" = set; then
10133 enableval="$enable_coldlg"
10134
10135 if test "$enableval" = yes; then
10136 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
10137 else
10138 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
10139 fi
10140
10141 else
10142
10143 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
10144 if test "x$LINE" != x ; then
10145 eval "DEFAULT_$LINE"
10146 else
10147 no_cache=1
10148 fi
10149
10150 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
10151
10152 fi;
10153
10154 eval "$ac_cv_use_coldlg"
10155 if test "$no_cache" != 1; then
10156 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
10157 fi
10158
10159 if test "$wxUSE_COLOURDLG" = yes; then
10160 echo "$as_me:$LINENO: result: yes" >&5
10161 echo "${ECHO_T}yes" >&6
10162 else
10163 echo "$as_me:$LINENO: result: no" >&5
10164 echo "${ECHO_T}no" >&6
10165 fi
10166
10167
10168 enablestring=
10169 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
10170 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6
10171 no_cache=0
10172 # Check whether --enable-filedlg or --disable-filedlg was given.
10173 if test "${enable_filedlg+set}" = set; then
10174 enableval="$enable_filedlg"
10175
10176 if test "$enableval" = yes; then
10177 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
10178 else
10179 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
10180 fi
10181
10182 else
10183
10184 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
10185 if test "x$LINE" != x ; then
10186 eval "DEFAULT_$LINE"
10187 else
10188 no_cache=1
10189 fi
10190
10191 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
10192
10193 fi;
10194
10195 eval "$ac_cv_use_filedlg"
10196 if test "$no_cache" != 1; then
10197 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
10198 fi
10199
10200 if test "$wxUSE_FILEDLG" = yes; then
10201 echo "$as_me:$LINENO: result: yes" >&5
10202 echo "${ECHO_T}yes" >&6
10203 else
10204 echo "$as_me:$LINENO: result: no" >&5
10205 echo "${ECHO_T}no" >&6
10206 fi
10207
10208
10209 enablestring=
10210 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
10211 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6
10212 no_cache=0
10213 # Check whether --enable-finddlg or --disable-finddlg was given.
10214 if test "${enable_finddlg+set}" = set; then
10215 enableval="$enable_finddlg"
10216
10217 if test "$enableval" = yes; then
10218 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
10219 else
10220 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
10221 fi
10222
10223 else
10224
10225 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
10226 if test "x$LINE" != x ; then
10227 eval "DEFAULT_$LINE"
10228 else
10229 no_cache=1
10230 fi
10231
10232 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
10233
10234 fi;
10235
10236 eval "$ac_cv_use_finddlg"
10237 if test "$no_cache" != 1; then
10238 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
10239 fi
10240
10241 if test "$wxUSE_FINDREPLDLG" = yes; then
10242 echo "$as_me:$LINENO: result: yes" >&5
10243 echo "${ECHO_T}yes" >&6
10244 else
10245 echo "$as_me:$LINENO: result: no" >&5
10246 echo "${ECHO_T}no" >&6
10247 fi
10248
10249
10250 enablestring=
10251 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
10252 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6
10253 no_cache=0
10254 # Check whether --enable-fontdlg or --disable-fontdlg was given.
10255 if test "${enable_fontdlg+set}" = set; then
10256 enableval="$enable_fontdlg"
10257
10258 if test "$enableval" = yes; then
10259 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
10260 else
10261 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
10262 fi
10263
10264 else
10265
10266 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
10267 if test "x$LINE" != x ; then
10268 eval "DEFAULT_$LINE"
10269 else
10270 no_cache=1
10271 fi
10272
10273 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
10274
10275 fi;
10276
10277 eval "$ac_cv_use_fontdlg"
10278 if test "$no_cache" != 1; then
10279 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
10280 fi
10281
10282 if test "$wxUSE_FONTDLG" = yes; then
10283 echo "$as_me:$LINENO: result: yes" >&5
10284 echo "${ECHO_T}yes" >&6
10285 else
10286 echo "$as_me:$LINENO: result: no" >&5
10287 echo "${ECHO_T}no" >&6
10288 fi
10289
10290
10291 enablestring=
10292 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
10293 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6
10294 no_cache=0
10295 # Check whether --enable-dirdlg or --disable-dirdlg was given.
10296 if test "${enable_dirdlg+set}" = set; then
10297 enableval="$enable_dirdlg"
10298
10299 if test "$enableval" = yes; then
10300 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
10301 else
10302 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
10303 fi
10304
10305 else
10306
10307 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
10308 if test "x$LINE" != x ; then
10309 eval "DEFAULT_$LINE"
10310 else
10311 no_cache=1
10312 fi
10313
10314 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
10315
10316 fi;
10317
10318 eval "$ac_cv_use_dirdlg"
10319 if test "$no_cache" != 1; then
10320 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
10321 fi
10322
10323 if test "$wxUSE_DIRDLG" = yes; then
10324 echo "$as_me:$LINENO: result: yes" >&5
10325 echo "${ECHO_T}yes" >&6
10326 else
10327 echo "$as_me:$LINENO: result: no" >&5
10328 echo "${ECHO_T}no" >&6
10329 fi
10330
10331
10332 enablestring=
10333 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
10334 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6
10335 no_cache=0
10336 # Check whether --enable-msgdlg or --disable-msgdlg was given.
10337 if test "${enable_msgdlg+set}" = set; then
10338 enableval="$enable_msgdlg"
10339
10340 if test "$enableval" = yes; then
10341 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
10342 else
10343 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
10344 fi
10345
10346 else
10347
10348 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
10349 if test "x$LINE" != x ; then
10350 eval "DEFAULT_$LINE"
10351 else
10352 no_cache=1
10353 fi
10354
10355 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
10356
10357 fi;
10358
10359 eval "$ac_cv_use_msgdlg"
10360 if test "$no_cache" != 1; then
10361 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
10362 fi
10363
10364 if test "$wxUSE_MSGDLG" = yes; then
10365 echo "$as_me:$LINENO: result: yes" >&5
10366 echo "${ECHO_T}yes" >&6
10367 else
10368 echo "$as_me:$LINENO: result: no" >&5
10369 echo "${ECHO_T}no" >&6
10370 fi
10371
10372
10373 enablestring=
10374 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
10375 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6
10376 no_cache=0
10377 # Check whether --enable-numberdlg or --disable-numberdlg was given.
10378 if test "${enable_numberdlg+set}" = set; then
10379 enableval="$enable_numberdlg"
10380
10381 if test "$enableval" = yes; then
10382 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
10383 else
10384 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
10385 fi
10386
10387 else
10388
10389 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
10390 if test "x$LINE" != x ; then
10391 eval "DEFAULT_$LINE"
10392 else
10393 no_cache=1
10394 fi
10395
10396 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
10397
10398 fi;
10399
10400 eval "$ac_cv_use_numberdlg"
10401 if test "$no_cache" != 1; then
10402 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
10403 fi
10404
10405 if test "$wxUSE_NUMBERDLG" = yes; then
10406 echo "$as_me:$LINENO: result: yes" >&5
10407 echo "${ECHO_T}yes" >&6
10408 else
10409 echo "$as_me:$LINENO: result: no" >&5
10410 echo "${ECHO_T}no" >&6
10411 fi
10412
10413
10414 enablestring=
10415 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
10416 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6
10417 no_cache=0
10418 # Check whether --enable-splash or --disable-splash was given.
10419 if test "${enable_splash+set}" = set; then
10420 enableval="$enable_splash"
10421
10422 if test "$enableval" = yes; then
10423 ac_cv_use_splash='wxUSE_SPLASH=yes'
10424 else
10425 ac_cv_use_splash='wxUSE_SPLASH=no'
10426 fi
10427
10428 else
10429
10430 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
10431 if test "x$LINE" != x ; then
10432 eval "DEFAULT_$LINE"
10433 else
10434 no_cache=1
10435 fi
10436
10437 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
10438
10439 fi;
10440
10441 eval "$ac_cv_use_splash"
10442 if test "$no_cache" != 1; then
10443 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
10444 fi
10445
10446 if test "$wxUSE_SPLASH" = yes; then
10447 echo "$as_me:$LINENO: result: yes" >&5
10448 echo "${ECHO_T}yes" >&6
10449 else
10450 echo "$as_me:$LINENO: result: no" >&5
10451 echo "${ECHO_T}no" >&6
10452 fi
10453
10454
10455 enablestring=
10456 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
10457 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6
10458 no_cache=0
10459 # Check whether --enable-textdlg or --disable-textdlg was given.
10460 if test "${enable_textdlg+set}" = set; then
10461 enableval="$enable_textdlg"
10462
10463 if test "$enableval" = yes; then
10464 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
10465 else
10466 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
10467 fi
10468
10469 else
10470
10471 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
10472 if test "x$LINE" != x ; then
10473 eval "DEFAULT_$LINE"
10474 else
10475 no_cache=1
10476 fi
10477
10478 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
10479
10480 fi;
10481
10482 eval "$ac_cv_use_textdlg"
10483 if test "$no_cache" != 1; then
10484 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
10485 fi
10486
10487 if test "$wxUSE_TEXTDLG" = yes; then
10488 echo "$as_me:$LINENO: result: yes" >&5
10489 echo "${ECHO_T}yes" >&6
10490 else
10491 echo "$as_me:$LINENO: result: no" >&5
10492 echo "${ECHO_T}no" >&6
10493 fi
10494
10495
10496 enablestring=
10497 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
10498 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6
10499 no_cache=0
10500 # Check whether --enable-tipdlg or --disable-tipdlg was given.
10501 if test "${enable_tipdlg+set}" = set; then
10502 enableval="$enable_tipdlg"
10503
10504 if test "$enableval" = yes; then
10505 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
10506 else
10507 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
10508 fi
10509
10510 else
10511
10512 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
10513 if test "x$LINE" != x ; then
10514 eval "DEFAULT_$LINE"
10515 else
10516 no_cache=1
10517 fi
10518
10519 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
10520
10521 fi;
10522
10523 eval "$ac_cv_use_tipdlg"
10524 if test "$no_cache" != 1; then
10525 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
10526 fi
10527
10528 if test "$wxUSE_STARTUP_TIPS" = yes; then
10529 echo "$as_me:$LINENO: result: yes" >&5
10530 echo "${ECHO_T}yes" >&6
10531 else
10532 echo "$as_me:$LINENO: result: no" >&5
10533 echo "${ECHO_T}no" >&6
10534 fi
10535
10536
10537 enablestring=
10538 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
10539 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6
10540 no_cache=0
10541 # Check whether --enable-progressdlg or --disable-progressdlg was given.
10542 if test "${enable_progressdlg+set}" = set; then
10543 enableval="$enable_progressdlg"
10544
10545 if test "$enableval" = yes; then
10546 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
10547 else
10548 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
10549 fi
10550
10551 else
10552
10553 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
10554 if test "x$LINE" != x ; then
10555 eval "DEFAULT_$LINE"
10556 else
10557 no_cache=1
10558 fi
10559
10560 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
10561
10562 fi;
10563
10564 eval "$ac_cv_use_progressdlg"
10565 if test "$no_cache" != 1; then
10566 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
10567 fi
10568
10569 if test "$wxUSE_PROGRESSDLG" = yes; then
10570 echo "$as_me:$LINENO: result: yes" >&5
10571 echo "${ECHO_T}yes" >&6
10572 else
10573 echo "$as_me:$LINENO: result: no" >&5
10574 echo "${ECHO_T}no" >&6
10575 fi
10576
10577
10578 enablestring=
10579 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
10580 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6
10581 no_cache=0
10582 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
10583 if test "${enable_wizarddlg+set}" = set; then
10584 enableval="$enable_wizarddlg"
10585
10586 if test "$enableval" = yes; then
10587 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
10588 else
10589 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
10590 fi
10591
10592 else
10593
10594 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
10595 if test "x$LINE" != x ; then
10596 eval "DEFAULT_$LINE"
10597 else
10598 no_cache=1
10599 fi
10600
10601 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
10602
10603 fi;
10604
10605 eval "$ac_cv_use_wizarddlg"
10606 if test "$no_cache" != 1; then
10607 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
10608 fi
10609
10610 if test "$wxUSE_WIZARDDLG" = yes; then
10611 echo "$as_me:$LINENO: result: yes" >&5
10612 echo "${ECHO_T}yes" >&6
10613 else
10614 echo "$as_me:$LINENO: result: no" >&5
10615 echo "${ECHO_T}no" >&6
10616 fi
10617
10618
10619
10620
10621 enablestring=
10622 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
10623 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6
10624 no_cache=0
10625 # Check whether --enable-menus or --disable-menus was given.
10626 if test "${enable_menus+set}" = set; then
10627 enableval="$enable_menus"
10628
10629 if test "$enableval" = yes; then
10630 ac_cv_use_menus='wxUSE_MENUS=yes'
10631 else
10632 ac_cv_use_menus='wxUSE_MENUS=no'
10633 fi
10634
10635 else
10636
10637 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
10638 if test "x$LINE" != x ; then
10639 eval "DEFAULT_$LINE"
10640 else
10641 no_cache=1
10642 fi
10643
10644 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
10645
10646 fi;
10647
10648 eval "$ac_cv_use_menus"
10649 if test "$no_cache" != 1; then
10650 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
10651 fi
10652
10653 if test "$wxUSE_MENUS" = yes; then
10654 echo "$as_me:$LINENO: result: yes" >&5
10655 echo "${ECHO_T}yes" >&6
10656 else
10657 echo "$as_me:$LINENO: result: no" >&5
10658 echo "${ECHO_T}no" >&6
10659 fi
10660
10661
10662 enablestring=
10663 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
10664 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6
10665 no_cache=0
10666 # Check whether --enable-miniframe or --disable-miniframe was given.
10667 if test "${enable_miniframe+set}" = set; then
10668 enableval="$enable_miniframe"
10669
10670 if test "$enableval" = yes; then
10671 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
10672 else
10673 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
10674 fi
10675
10676 else
10677
10678 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
10679 if test "x$LINE" != x ; then
10680 eval "DEFAULT_$LINE"
10681 else
10682 no_cache=1
10683 fi
10684
10685 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
10686
10687 fi;
10688
10689 eval "$ac_cv_use_miniframe"
10690 if test "$no_cache" != 1; then
10691 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
10692 fi
10693
10694 if test "$wxUSE_MINIFRAME" = yes; then
10695 echo "$as_me:$LINENO: result: yes" >&5
10696 echo "${ECHO_T}yes" >&6
10697 else
10698 echo "$as_me:$LINENO: result: no" >&5
10699 echo "${ECHO_T}no" >&6
10700 fi
10701
10702
10703 enablestring=
10704 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
10705 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6
10706 no_cache=0
10707 # Check whether --enable-tooltips or --disable-tooltips was given.
10708 if test "${enable_tooltips+set}" = set; then
10709 enableval="$enable_tooltips"
10710
10711 if test "$enableval" = yes; then
10712 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
10713 else
10714 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
10715 fi
10716
10717 else
10718
10719 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
10720 if test "x$LINE" != x ; then
10721 eval "DEFAULT_$LINE"
10722 else
10723 no_cache=1
10724 fi
10725
10726 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
10727
10728 fi;
10729
10730 eval "$ac_cv_use_tooltips"
10731 if test "$no_cache" != 1; then
10732 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
10733 fi
10734
10735 if test "$wxUSE_TOOLTIPS" = yes; then
10736 echo "$as_me:$LINENO: result: yes" >&5
10737 echo "${ECHO_T}yes" >&6
10738 else
10739 echo "$as_me:$LINENO: result: no" >&5
10740 echo "${ECHO_T}no" >&6
10741 fi
10742
10743
10744 enablestring=
10745 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
10746 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6
10747 no_cache=0
10748 # Check whether --enable-splines or --disable-splines was given.
10749 if test "${enable_splines+set}" = set; then
10750 enableval="$enable_splines"
10751
10752 if test "$enableval" = yes; then
10753 ac_cv_use_splines='wxUSE_SPLINES=yes'
10754 else
10755 ac_cv_use_splines='wxUSE_SPLINES=no'
10756 fi
10757
10758 else
10759
10760 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
10761 if test "x$LINE" != x ; then
10762 eval "DEFAULT_$LINE"
10763 else
10764 no_cache=1
10765 fi
10766
10767 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
10768
10769 fi;
10770
10771 eval "$ac_cv_use_splines"
10772 if test "$no_cache" != 1; then
10773 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
10774 fi
10775
10776 if test "$wxUSE_SPLINES" = yes; then
10777 echo "$as_me:$LINENO: result: yes" >&5
10778 echo "${ECHO_T}yes" >&6
10779 else
10780 echo "$as_me:$LINENO: result: no" >&5
10781 echo "${ECHO_T}no" >&6
10782 fi
10783
10784
10785 enablestring=
10786 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
10787 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6
10788 no_cache=0
10789 # Check whether --enable-mousewheel or --disable-mousewheel was given.
10790 if test "${enable_mousewheel+set}" = set; then
10791 enableval="$enable_mousewheel"
10792
10793 if test "$enableval" = yes; then
10794 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
10795 else
10796 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
10797 fi
10798
10799 else
10800
10801 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
10802 if test "x$LINE" != x ; then
10803 eval "DEFAULT_$LINE"
10804 else
10805 no_cache=1
10806 fi
10807
10808 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
10809
10810 fi;
10811
10812 eval "$ac_cv_use_mousewheel"
10813 if test "$no_cache" != 1; then
10814 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
10815 fi
10816
10817 if test "$wxUSE_MOUSEWHEEL" = yes; then
10818 echo "$as_me:$LINENO: result: yes" >&5
10819 echo "${ECHO_T}yes" >&6
10820 else
10821 echo "$as_me:$LINENO: result: no" >&5
10822 echo "${ECHO_T}no" >&6
10823 fi
10824
10825
10826 enablestring=
10827 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
10828 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6
10829 no_cache=0
10830 # Check whether --enable-validators or --disable-validators was given.
10831 if test "${enable_validators+set}" = set; then
10832 enableval="$enable_validators"
10833
10834 if test "$enableval" = yes; then
10835 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
10836 else
10837 ac_cv_use_validators='wxUSE_VALIDATORS=no'
10838 fi
10839
10840 else
10841
10842 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
10843 if test "x$LINE" != x ; then
10844 eval "DEFAULT_$LINE"
10845 else
10846 no_cache=1
10847 fi
10848
10849 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
10850
10851 fi;
10852
10853 eval "$ac_cv_use_validators"
10854 if test "$no_cache" != 1; then
10855 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
10856 fi
10857
10858 if test "$wxUSE_VALIDATORS" = yes; then
10859 echo "$as_me:$LINENO: result: yes" >&5
10860 echo "${ECHO_T}yes" >&6
10861 else
10862 echo "$as_me:$LINENO: result: no" >&5
10863 echo "${ECHO_T}no" >&6
10864 fi
10865
10866
10867 enablestring=
10868 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
10869 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6
10870 no_cache=0
10871 # Check whether --enable-busyinfo or --disable-busyinfo was given.
10872 if test "${enable_busyinfo+set}" = set; then
10873 enableval="$enable_busyinfo"
10874
10875 if test "$enableval" = yes; then
10876 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
10877 else
10878 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
10879 fi
10880
10881 else
10882
10883 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
10884 if test "x$LINE" != x ; then
10885 eval "DEFAULT_$LINE"
10886 else
10887 no_cache=1
10888 fi
10889
10890 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
10891
10892 fi;
10893
10894 eval "$ac_cv_use_busyinfo"
10895 if test "$no_cache" != 1; then
10896 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
10897 fi
10898
10899 if test "$wxUSE_BUSYINFO" = yes; then
10900 echo "$as_me:$LINENO: result: yes" >&5
10901 echo "${ECHO_T}yes" >&6
10902 else
10903 echo "$as_me:$LINENO: result: no" >&5
10904 echo "${ECHO_T}no" >&6
10905 fi
10906
10907
10908 enablestring=
10909 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
10910 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6
10911 no_cache=0
10912 # Check whether --enable-joystick or --disable-joystick was given.
10913 if test "${enable_joystick+set}" = set; then
10914 enableval="$enable_joystick"
10915
10916 if test "$enableval" = yes; then
10917 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
10918 else
10919 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
10920 fi
10921
10922 else
10923
10924 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
10925 if test "x$LINE" != x ; then
10926 eval "DEFAULT_$LINE"
10927 else
10928 no_cache=1
10929 fi
10930
10931 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
10932
10933 fi;
10934
10935 eval "$ac_cv_use_joystick"
10936 if test "$no_cache" != 1; then
10937 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
10938 fi
10939
10940 if test "$wxUSE_JOYSTICK" = yes; then
10941 echo "$as_me:$LINENO: result: yes" >&5
10942 echo "${ECHO_T}yes" >&6
10943 else
10944 echo "$as_me:$LINENO: result: no" >&5
10945 echo "${ECHO_T}no" >&6
10946 fi
10947
10948
10949 enablestring=
10950 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
10951 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6
10952 no_cache=0
10953 # Check whether --enable-metafile or --disable-metafile was given.
10954 if test "${enable_metafile+set}" = set; then
10955 enableval="$enable_metafile"
10956
10957 if test "$enableval" = yes; then
10958 ac_cv_use_metafile='wxUSE_METAFILE=yes'
10959 else
10960 ac_cv_use_metafile='wxUSE_METAFILE=no'
10961 fi
10962
10963 else
10964
10965 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
10966 if test "x$LINE" != x ; then
10967 eval "DEFAULT_$LINE"
10968 else
10969 no_cache=1
10970 fi
10971
10972 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
10973
10974 fi;
10975
10976 eval "$ac_cv_use_metafile"
10977 if test "$no_cache" != 1; then
10978 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
10979 fi
10980
10981 if test "$wxUSE_METAFILE" = yes; then
10982 echo "$as_me:$LINENO: result: yes" >&5
10983 echo "${ECHO_T}yes" >&6
10984 else
10985 echo "$as_me:$LINENO: result: no" >&5
10986 echo "${ECHO_T}no" >&6
10987 fi
10988
10989
10990 enablestring=
10991 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
10992 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6
10993 no_cache=0
10994 # Check whether --enable-dragimage or --disable-dragimage was given.
10995 if test "${enable_dragimage+set}" = set; then
10996 enableval="$enable_dragimage"
10997
10998 if test "$enableval" = yes; then
10999 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
11000 else
11001 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
11002 fi
11003
11004 else
11005
11006 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
11007 if test "x$LINE" != x ; then
11008 eval "DEFAULT_$LINE"
11009 else
11010 no_cache=1
11011 fi
11012
11013 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
11014
11015 fi;
11016
11017 eval "$ac_cv_use_dragimage"
11018 if test "$no_cache" != 1; then
11019 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
11020 fi
11021
11022 if test "$wxUSE_DRAGIMAGE" = yes; then
11023 echo "$as_me:$LINENO: result: yes" >&5
11024 echo "${ECHO_T}yes" >&6
11025 else
11026 echo "$as_me:$LINENO: result: no" >&5
11027 echo "${ECHO_T}no" >&6
11028 fi
11029
11030
11031 enablestring=
11032 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
11033 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6
11034 no_cache=0
11035 # Check whether --enable-accessibility or --disable-accessibility was given.
11036 if test "${enable_accessibility+set}" = set; then
11037 enableval="$enable_accessibility"
11038
11039 if test "$enableval" = yes; then
11040 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
11041 else
11042 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
11043 fi
11044
11045 else
11046
11047 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
11048 if test "x$LINE" != x ; then
11049 eval "DEFAULT_$LINE"
11050 else
11051 no_cache=1
11052 fi
11053
11054 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
11055
11056 fi;
11057
11058 eval "$ac_cv_use_accessibility"
11059 if test "$no_cache" != 1; then
11060 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
11061 fi
11062
11063 if test "$wxUSE_ACCESSIBILITY" = yes; then
11064 echo "$as_me:$LINENO: result: yes" >&5
11065 echo "${ECHO_T}yes" >&6
11066 else
11067 echo "$as_me:$LINENO: result: no" >&5
11068 echo "${ECHO_T}no" >&6
11069 fi
11070
11071
11072 if test "$wxUSE_MSW" = "1"; then
11073
11074 enablestring=
11075 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
11076 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6
11077 no_cache=0
11078 # Check whether --enable-dccache or --disable-dccache was given.
11079 if test "${enable_dccache+set}" = set; then
11080 enableval="$enable_dccache"
11081
11082 if test "$enableval" = yes; then
11083 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
11084 else
11085 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
11086 fi
11087
11088 else
11089
11090 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
11091 if test "x$LINE" != x ; then
11092 eval "DEFAULT_$LINE"
11093 else
11094 no_cache=1
11095 fi
11096
11097 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
11098
11099 fi;
11100
11101 eval "$ac_cv_use_dccache"
11102 if test "$no_cache" != 1; then
11103 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
11104 fi
11105
11106 if test "$wxUSE_DC_CACHEING" = yes; then
11107 echo "$as_me:$LINENO: result: yes" >&5
11108 echo "${ECHO_T}yes" >&6
11109 else
11110 echo "$as_me:$LINENO: result: no" >&5
11111 echo "${ECHO_T}no" >&6
11112 fi
11113
11114 fi
11115
11116
11117
11118 enablestring=
11119 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
11120 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6
11121 no_cache=0
11122 # Check whether --enable-palette or --disable-palette was given.
11123 if test "${enable_palette+set}" = set; then
11124 enableval="$enable_palette"
11125
11126 if test "$enableval" = yes; then
11127 ac_cv_use_palette='wxUSE_PALETTE=yes'
11128 else
11129 ac_cv_use_palette='wxUSE_PALETTE=no'
11130 fi
11131
11132 else
11133
11134 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
11135 if test "x$LINE" != x ; then
11136 eval "DEFAULT_$LINE"
11137 else
11138 no_cache=1
11139 fi
11140
11141 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
11142
11143 fi;
11144
11145 eval "$ac_cv_use_palette"
11146 if test "$no_cache" != 1; then
11147 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
11148 fi
11149
11150 if test "$wxUSE_PALETTE" = yes; then
11151 echo "$as_me:$LINENO: result: yes" >&5
11152 echo "${ECHO_T}yes" >&6
11153 else
11154 echo "$as_me:$LINENO: result: no" >&5
11155 echo "${ECHO_T}no" >&6
11156 fi
11157
11158
11159 enablestring=
11160 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
11161 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6
11162 no_cache=0
11163 # Check whether --enable-image or --disable-image was given.
11164 if test "${enable_image+set}" = set; then
11165 enableval="$enable_image"
11166
11167 if test "$enableval" = yes; then
11168 ac_cv_use_image='wxUSE_IMAGE=yes'
11169 else
11170 ac_cv_use_image='wxUSE_IMAGE=no'
11171 fi
11172
11173 else
11174
11175 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
11176 if test "x$LINE" != x ; then
11177 eval "DEFAULT_$LINE"
11178 else
11179 no_cache=1
11180 fi
11181
11182 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
11183
11184 fi;
11185
11186 eval "$ac_cv_use_image"
11187 if test "$no_cache" != 1; then
11188 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
11189 fi
11190
11191 if test "$wxUSE_IMAGE" = yes; then
11192 echo "$as_me:$LINENO: result: yes" >&5
11193 echo "${ECHO_T}yes" >&6
11194 else
11195 echo "$as_me:$LINENO: result: no" >&5
11196 echo "${ECHO_T}no" >&6
11197 fi
11198
11199
11200 enablestring=
11201 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
11202 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6
11203 no_cache=0
11204 # Check whether --enable-gif or --disable-gif was given.
11205 if test "${enable_gif+set}" = set; then
11206 enableval="$enable_gif"
11207
11208 if test "$enableval" = yes; then
11209 ac_cv_use_gif='wxUSE_GIF=yes'
11210 else
11211 ac_cv_use_gif='wxUSE_GIF=no'
11212 fi
11213
11214 else
11215
11216 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
11217 if test "x$LINE" != x ; then
11218 eval "DEFAULT_$LINE"
11219 else
11220 no_cache=1
11221 fi
11222
11223 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
11224
11225 fi;
11226
11227 eval "$ac_cv_use_gif"
11228 if test "$no_cache" != 1; then
11229 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
11230 fi
11231
11232 if test "$wxUSE_GIF" = yes; then
11233 echo "$as_me:$LINENO: result: yes" >&5
11234 echo "${ECHO_T}yes" >&6
11235 else
11236 echo "$as_me:$LINENO: result: no" >&5
11237 echo "${ECHO_T}no" >&6
11238 fi
11239
11240
11241 enablestring=
11242 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
11243 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6
11244 no_cache=0
11245 # Check whether --enable-pcx or --disable-pcx was given.
11246 if test "${enable_pcx+set}" = set; then
11247 enableval="$enable_pcx"
11248
11249 if test "$enableval" = yes; then
11250 ac_cv_use_pcx='wxUSE_PCX=yes'
11251 else
11252 ac_cv_use_pcx='wxUSE_PCX=no'
11253 fi
11254
11255 else
11256
11257 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
11258 if test "x$LINE" != x ; then
11259 eval "DEFAULT_$LINE"
11260 else
11261 no_cache=1
11262 fi
11263
11264 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
11265
11266 fi;
11267
11268 eval "$ac_cv_use_pcx"
11269 if test "$no_cache" != 1; then
11270 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
11271 fi
11272
11273 if test "$wxUSE_PCX" = yes; then
11274 echo "$as_me:$LINENO: result: yes" >&5
11275 echo "${ECHO_T}yes" >&6
11276 else
11277 echo "$as_me:$LINENO: result: no" >&5
11278 echo "${ECHO_T}no" >&6
11279 fi
11280
11281
11282 enablestring=
11283 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
11284 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6
11285 no_cache=0
11286 # Check whether --enable-iff or --disable-iff was given.
11287 if test "${enable_iff+set}" = set; then
11288 enableval="$enable_iff"
11289
11290 if test "$enableval" = yes; then
11291 ac_cv_use_iff='wxUSE_IFF=yes'
11292 else
11293 ac_cv_use_iff='wxUSE_IFF=no'
11294 fi
11295
11296 else
11297
11298 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
11299 if test "x$LINE" != x ; then
11300 eval "DEFAULT_$LINE"
11301 else
11302 no_cache=1
11303 fi
11304
11305 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
11306
11307 fi;
11308
11309 eval "$ac_cv_use_iff"
11310 if test "$no_cache" != 1; then
11311 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
11312 fi
11313
11314 if test "$wxUSE_IFF" = yes; then
11315 echo "$as_me:$LINENO: result: yes" >&5
11316 echo "${ECHO_T}yes" >&6
11317 else
11318 echo "$as_me:$LINENO: result: no" >&5
11319 echo "${ECHO_T}no" >&6
11320 fi
11321
11322
11323 enablestring=
11324 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
11325 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6
11326 no_cache=0
11327 # Check whether --enable-pnm or --disable-pnm was given.
11328 if test "${enable_pnm+set}" = set; then
11329 enableval="$enable_pnm"
11330
11331 if test "$enableval" = yes; then
11332 ac_cv_use_pnm='wxUSE_PNM=yes'
11333 else
11334 ac_cv_use_pnm='wxUSE_PNM=no'
11335 fi
11336
11337 else
11338
11339 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
11340 if test "x$LINE" != x ; then
11341 eval "DEFAULT_$LINE"
11342 else
11343 no_cache=1
11344 fi
11345
11346 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
11347
11348 fi;
11349
11350 eval "$ac_cv_use_pnm"
11351 if test "$no_cache" != 1; then
11352 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
11353 fi
11354
11355 if test "$wxUSE_PNM" = yes; then
11356 echo "$as_me:$LINENO: result: yes" >&5
11357 echo "${ECHO_T}yes" >&6
11358 else
11359 echo "$as_me:$LINENO: result: no" >&5
11360 echo "${ECHO_T}no" >&6
11361 fi
11362
11363
11364 enablestring=
11365 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
11366 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6
11367 no_cache=0
11368 # Check whether --enable-xpm or --disable-xpm was given.
11369 if test "${enable_xpm+set}" = set; then
11370 enableval="$enable_xpm"
11371
11372 if test "$enableval" = yes; then
11373 ac_cv_use_xpm='wxUSE_XPM=yes'
11374 else
11375 ac_cv_use_xpm='wxUSE_XPM=no'
11376 fi
11377
11378 else
11379
11380 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
11381 if test "x$LINE" != x ; then
11382 eval "DEFAULT_$LINE"
11383 else
11384 no_cache=1
11385 fi
11386
11387 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
11388
11389 fi;
11390
11391 eval "$ac_cv_use_xpm"
11392 if test "$no_cache" != 1; then
11393 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
11394 fi
11395
11396 if test "$wxUSE_XPM" = yes; then
11397 echo "$as_me:$LINENO: result: yes" >&5
11398 echo "${ECHO_T}yes" >&6
11399 else
11400 echo "$as_me:$LINENO: result: no" >&5
11401 echo "${ECHO_T}no" >&6
11402 fi
11403
11404
11405 enablestring=
11406 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
11407 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6
11408 no_cache=0
11409 # Check whether --enable-ico_cur or --disable-ico_cur was given.
11410 if test "${enable_ico_cur+set}" = set; then
11411 enableval="$enable_ico_cur"
11412
11413 if test "$enableval" = yes; then
11414 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
11415 else
11416 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
11417 fi
11418
11419 else
11420
11421 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
11422 if test "x$LINE" != x ; then
11423 eval "DEFAULT_$LINE"
11424 else
11425 no_cache=1
11426 fi
11427
11428 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
11429
11430 fi;
11431
11432 eval "$ac_cv_use_ico_cur"
11433 if test "$no_cache" != 1; then
11434 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
11435 fi
11436
11437 if test "$wxUSE_ICO_CUR" = yes; then
11438 echo "$as_me:$LINENO: result: yes" >&5
11439 echo "${ECHO_T}yes" >&6
11440 else
11441 echo "$as_me:$LINENO: result: no" >&5
11442 echo "${ECHO_T}no" >&6
11443 fi
11444
11445
11446 fi
11447
11448
11449
11450 # Check whether --with-flavour or --without-flavour was given.
11451 if test "${with_flavour+set}" = set; then
11452 withval="$with_flavour"
11453 WX_FLAVOUR="$withval"
11454 fi;
11455
11456
11457
11458 enablestring=
11459 echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
11460 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6
11461 no_cache=0
11462 # Check whether --enable-official_build or --disable-official_build was given.
11463 if test "${enable_official_build+set}" = set; then
11464 enableval="$enable_official_build"
11465
11466 if test "$enableval" = yes; then
11467 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
11468 else
11469 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
11470 fi
11471
11472 else
11473
11474 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
11475 if test "x$LINE" != x ; then
11476 eval "DEFAULT_$LINE"
11477 else
11478 no_cache=1
11479 fi
11480
11481 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
11482
11483 fi;
11484
11485 eval "$ac_cv_use_official_build"
11486 if test "$no_cache" != 1; then
11487 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
11488 fi
11489
11490 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
11491 echo "$as_me:$LINENO: result: yes" >&5
11492 echo "${ECHO_T}yes" >&6
11493 else
11494 echo "$as_me:$LINENO: result: no" >&5
11495 echo "${ECHO_T}no" >&6
11496 fi
11497
11498 # Check whether --enable-vendor or --disable-vendor was given.
11499 if test "${enable_vendor+set}" = set; then
11500 enableval="$enable_vendor"
11501 VENDOR="$enableval"
11502 fi;
11503 if test "x$VENDOR" = "x"; then
11504 VENDOR="custom"
11505 fi
11506
11507
11508
11509
11510 echo "saving argument cache $wx_arg_cache_file"
11511 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
11512
11513
11514
11515 echo "$as_me:$LINENO: checking for toolkit" >&5
11516 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6
11517
11518 # In Wine, we need to default to MSW, not GTK or MOTIF
11519 if test "$wxUSE_WINE" = "yes"; then
11520 DEFAULT_DEFAULT_wxUSE_GTK=0
11521 DEFAULT_DEFAULT_wxUSE_MOTIF=0
11522 DEFAULT_DEFAULT_wxUSE_MSW=1
11523 wxUSE_SHARED=no
11524 fi
11525
11526
11527 if test "$wxUSE_GUI" = "yes"; then
11528
11529 if test "$USE_BEOS" = 1; then
11530 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
11531 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
11532 { (exit 1); exit 1; }; }
11533 fi
11534
11535 if test "$TOOLKIT_GIVEN" = 1; then
11536 for toolkit in `echo $ALL_TOOLKITS`; do
11537 var=wxUSE_$toolkit
11538 eval "value=\$${var}"
11539 if test "x$value" = "xno"; then
11540 eval "$var=0"
11541 elif test "x$value" != "x"; then
11542 eval "$var=1"
11543 fi
11544
11545 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
11546 eval "wx${toolkit}_VERSION=$value"
11547 fi
11548 done
11549 else
11550 for toolkit in `echo $ALL_TOOLKITS`; do
11551 if test "$has_toolkit_in_cache" != 1; then
11552 var=DEFAULT_DEFAULT_wxUSE_$toolkit
11553 else
11554 var=DEFAULT_wxUSE_$toolkit
11555
11556 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
11557 if test "x$version" != "x"; then
11558 eval "wx${toolkit}_VERSION=$version"
11559 fi
11560 fi
11561 eval "wxUSE_$toolkit=\$${var}"
11562 done
11563 fi
11564
11565 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
11566 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
11567 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
11568
11569 case "${host}" in
11570 *-pc-os2_emx | *-pc-os2-emx )
11571 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
11572 esac
11573
11574 case "$NUM_TOOLKITS" in
11575 1)
11576 ;;
11577 0)
11578 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
11579 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
11580 { (exit 1); exit 1; }; }
11581 ;;
11582 *)
11583 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
11584 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
11585 { (exit 1); exit 1; }; }
11586 esac
11587
11588 # to be removed when --disable-gtk2 isn't needed
11589 if test "x$wxUSE_GTK2" = "xyes"; then
11590 wxGTK_VERSION=2
11591 elif test "x$wxUSE_GTK2" = "xno"; then
11592 wxGTK_VERSION=1
11593 fi
11594
11595 for toolkit in `echo $ALL_TOOLKITS`; do
11596 var=wxUSE_$toolkit
11597 eval "value=\$${var}"
11598 if test "x$value" != x; then
11599 cache_var=CACHE_$toolkit
11600 eval "cache=\$${cache_var}"
11601 if test "$cache" = 1; then
11602 echo "$var=$value" >> ${wx_arg_cache_file}
11603 eval "version=\$wx${toolkit}_VERSION"
11604 if test "x$version" != "x"; then
11605 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
11606 fi
11607 fi
11608 if test "$value" = 1; then
11609 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
11610 echo "$as_me:$LINENO: result: $toolkit_echo" >&5
11611 echo "${ECHO_T}$toolkit_echo" >&6
11612 fi
11613 fi
11614 done
11615 else
11616 if test "x$host_alias" != "x"; then
11617 echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
11618 echo "${ECHO_T}base ($host_alias hosted) only" >&6
11619 else
11620 echo "$as_me:$LINENO: result: base only" >&5
11621 echo "${ECHO_T}base only" >&6
11622 fi
11623 fi
11624
11625 wants_win32=0
11626 doesnt_want_win32=0
11627 case "${host}" in
11628 *-*-cygwin*)
11629 if test "$wxUSE_MSW" = 1 ; then
11630 wants_win32=1
11631 BAKEFILE_FORCE_PLATFORM=win32
11632 else
11633 doesnt_want_win32=1
11634 fi
11635 ;;
11636 *-*-mingw*)
11637 wants_win32=1
11638 ;;
11639 esac
11640
11641 if test "$wxUSE_WINE" = "yes"; then
11642 wants_win32=1
11643 CC=winegcc
11644 CXX=wineg++
11645 LDFLAGS_GUI="-mwindows"
11646 fi
11647
11648 if test "$wants_win32" = 1 ; then
11649 USE_UNIX=0
11650 USE_WIN32=1
11651 cat >>confdefs.h <<\_ACEOF
11652 #define __WIN32__ 1
11653 _ACEOF
11654
11655 cat >>confdefs.h <<\_ACEOF
11656 #define __WIN95__ 1
11657 _ACEOF
11658
11659 cat >>confdefs.h <<\_ACEOF
11660 #define __WINDOWS__ 1
11661 _ACEOF
11662
11663 cat >>confdefs.h <<\_ACEOF
11664 #define __GNUWIN32__ 1
11665 _ACEOF
11666
11667 cat >>confdefs.h <<\_ACEOF
11668 #define STRICT 1
11669 _ACEOF
11670
11671 cat >>confdefs.h <<\_ACEOF
11672 #define WINVER 0x0400
11673 _ACEOF
11674
11675 fi
11676 if test "$doesnt_want_win32" = 1 ; then
11677 USE_UNIX=1
11678 USE_WIN32=0
11679 fi
11680
11681 if test "$USE_UNIX" = 1 ; then
11682 wxUSE_UNIX=yes
11683 cat >>confdefs.h <<\_ACEOF
11684 #define __UNIX__ 1
11685 _ACEOF
11686
11687 fi
11688
11689
11690 cat >confcache <<\_ACEOF
11691 # This file is a shell script that caches the results of configure
11692 # tests run on this system so they can be shared between configure
11693 # scripts and configure runs, see configure's option --config-cache.
11694 # It is not useful on other systems. If it contains results you don't
11695 # want to keep, you may remove or edit it.
11696 #
11697 # config.status only pays attention to the cache file if you give it
11698 # the --recheck option to rerun configure.
11699 #
11700 # `ac_cv_env_foo' variables (set or unset) will be overridden when
11701 # loading this file, other *unset* `ac_cv_foo' will be assigned the
11702 # following values.
11703
11704 _ACEOF
11705
11706 # The following way of writing the cache mishandles newlines in values,
11707 # but we know of no workaround that is simple, portable, and efficient.
11708 # So, don't put newlines in cache variables' values.
11709 # Ultrix sh set writes to stderr and can't be redirected directly,
11710 # and sets the high bit in the cache file unless we assign to the vars.
11711 {
11712 (set) 2>&1 |
11713 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11714 *ac_space=\ *)
11715 # `set' does not quote correctly, so add quotes (double-quote
11716 # substitution turns \\\\ into \\, and sed turns \\ into \).
11717 sed -n \
11718 "s/'/'\\\\''/g;
11719 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
11720 ;;
11721 *)
11722 # `set' quotes correctly as required by POSIX, so do not add quotes.
11723 sed -n \
11724 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
11725 ;;
11726 esac;
11727 } |
11728 sed '
11729 t clear
11730 : clear
11731 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
11732 t end
11733 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
11734 : end' >>confcache
11735 if diff $cache_file confcache >/dev/null 2>&1; then :; else
11736 if test -w $cache_file; then
11737 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
11738 cat confcache >$cache_file
11739 else
11740 echo "not updating unwritable cache $cache_file"
11741 fi
11742 fi
11743 rm -f confcache
11744
11745 CFLAGS=${CFLAGS:=}
11746
11747
11748
11749 ac_ext=c
11750 ac_cpp='$CPP $CPPFLAGS'
11751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11754 if test -n "$ac_tool_prefix"; then
11755 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
11756 set dummy ${ac_tool_prefix}gcc; ac_word=$2
11757 echo "$as_me:$LINENO: checking for $ac_word" >&5
11758 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11759 if test "${ac_cv_prog_CC+set}" = set; then
11760 echo $ECHO_N "(cached) $ECHO_C" >&6
11761 else
11762 if test -n "$CC"; then
11763 ac_cv_prog_CC="$CC" # Let the user override the test.
11764 else
11765 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11766 for as_dir in $PATH
11767 do
11768 IFS=$as_save_IFS
11769 test -z "$as_dir" && as_dir=.
11770 for ac_exec_ext in '' $ac_executable_extensions; do
11771 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11772 ac_cv_prog_CC="${ac_tool_prefix}gcc"
11773 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11774 break 2
11775 fi
11776 done
11777 done
11778
11779 fi
11780 fi
11781 CC=$ac_cv_prog_CC
11782 if test -n "$CC"; then
11783 echo "$as_me:$LINENO: result: $CC" >&5
11784 echo "${ECHO_T}$CC" >&6
11785 else
11786 echo "$as_me:$LINENO: result: no" >&5
11787 echo "${ECHO_T}no" >&6
11788 fi
11789
11790 fi
11791 if test -z "$ac_cv_prog_CC"; then
11792 ac_ct_CC=$CC
11793 # Extract the first word of "gcc", so it can be a program name with args.
11794 set dummy gcc; ac_word=$2
11795 echo "$as_me:$LINENO: checking for $ac_word" >&5
11796 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11797 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11798 echo $ECHO_N "(cached) $ECHO_C" >&6
11799 else
11800 if test -n "$ac_ct_CC"; then
11801 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11802 else
11803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11804 for as_dir in $PATH
11805 do
11806 IFS=$as_save_IFS
11807 test -z "$as_dir" && as_dir=.
11808 for ac_exec_ext in '' $ac_executable_extensions; do
11809 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11810 ac_cv_prog_ac_ct_CC="gcc"
11811 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11812 break 2
11813 fi
11814 done
11815 done
11816
11817 fi
11818 fi
11819 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11820 if test -n "$ac_ct_CC"; then
11821 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11822 echo "${ECHO_T}$ac_ct_CC" >&6
11823 else
11824 echo "$as_me:$LINENO: result: no" >&5
11825 echo "${ECHO_T}no" >&6
11826 fi
11827
11828 CC=$ac_ct_CC
11829 else
11830 CC="$ac_cv_prog_CC"
11831 fi
11832
11833 if test -z "$CC"; then
11834 if test -n "$ac_tool_prefix"; then
11835 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
11836 set dummy ${ac_tool_prefix}cc; ac_word=$2
11837 echo "$as_me:$LINENO: checking for $ac_word" >&5
11838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11839 if test "${ac_cv_prog_CC+set}" = set; then
11840 echo $ECHO_N "(cached) $ECHO_C" >&6
11841 else
11842 if test -n "$CC"; then
11843 ac_cv_prog_CC="$CC" # Let the user override the test.
11844 else
11845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11846 for as_dir in $PATH
11847 do
11848 IFS=$as_save_IFS
11849 test -z "$as_dir" && as_dir=.
11850 for ac_exec_ext in '' $ac_executable_extensions; do
11851 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11852 ac_cv_prog_CC="${ac_tool_prefix}cc"
11853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11854 break 2
11855 fi
11856 done
11857 done
11858
11859 fi
11860 fi
11861 CC=$ac_cv_prog_CC
11862 if test -n "$CC"; then
11863 echo "$as_me:$LINENO: result: $CC" >&5
11864 echo "${ECHO_T}$CC" >&6
11865 else
11866 echo "$as_me:$LINENO: result: no" >&5
11867 echo "${ECHO_T}no" >&6
11868 fi
11869
11870 fi
11871 if test -z "$ac_cv_prog_CC"; then
11872 ac_ct_CC=$CC
11873 # Extract the first word of "cc", so it can be a program name with args.
11874 set dummy cc; ac_word=$2
11875 echo "$as_me:$LINENO: checking for $ac_word" >&5
11876 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11877 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
11878 echo $ECHO_N "(cached) $ECHO_C" >&6
11879 else
11880 if test -n "$ac_ct_CC"; then
11881 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
11882 else
11883 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11884 for as_dir in $PATH
11885 do
11886 IFS=$as_save_IFS
11887 test -z "$as_dir" && as_dir=.
11888 for ac_exec_ext in '' $ac_executable_extensions; do
11889 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11890 ac_cv_prog_ac_ct_CC="cc"
11891 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11892 break 2
11893 fi
11894 done
11895 done
11896
11897 fi
11898 fi
11899 ac_ct_CC=$ac_cv_prog_ac_ct_CC
11900 if test -n "$ac_ct_CC"; then
11901 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
11902 echo "${ECHO_T}$ac_ct_CC" >&6
11903 else
11904 echo "$as_me:$LINENO: result: no" >&5
11905 echo "${ECHO_T}no" >&6
11906 fi
11907
11908 CC=$ac_ct_CC
11909 else
11910 CC="$ac_cv_prog_CC"
11911 fi
11912
11913 fi
11914 if test -z "$CC"; then
11915 # Extract the first word of "cc", so it can be a program name with args.
11916 set dummy cc; ac_word=$2
11917 echo "$as_me:$LINENO: checking for $ac_word" >&5
11918 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11919 if test "${ac_cv_prog_CC+set}" = set; then
11920 echo $ECHO_N "(cached) $ECHO_C" >&6
11921 else
11922 if test -n "$CC"; then
11923 ac_cv_prog_CC="$CC" # Let the user override the test.
11924 else
11925 ac_prog_rejected=no
11926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11927 for as_dir in $PATH
11928 do
11929 IFS=$as_save_IFS
11930 test -z "$as_dir" && as_dir=.
11931 for ac_exec_ext in '' $ac_executable_extensions; do
11932 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11933 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
11934 ac_prog_rejected=yes
11935 continue
11936 fi
11937 ac_cv_prog_CC="cc"
11938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11939 break 2
11940 fi
11941 done
11942 done
11943
11944 if test $ac_prog_rejected = yes; then
11945 # We found a bogon in the path, so make sure we never use it.
11946 set dummy $ac_cv_prog_CC
11947 shift
11948 if test $# != 0; then
11949 # We chose a different compiler from the bogus one.
11950 # However, it has the same basename, so the bogon will be chosen
11951 # first if we set CC to just the basename; use the full file name.
11952 shift
11953 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
11954 fi
11955 fi
11956 fi
11957 fi
11958 CC=$ac_cv_prog_CC
11959 if test -n "$CC"; then
11960 echo "$as_me:$LINENO: result: $CC" >&5
11961 echo "${ECHO_T}$CC" >&6
11962 else
11963 echo "$as_me:$LINENO: result: no" >&5
11964 echo "${ECHO_T}no" >&6
11965 fi
11966
11967 fi
11968 if test -z "$CC"; then
11969 if test -n "$ac_tool_prefix"; then
11970 for ac_prog in cl
11971 do
11972 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
11973 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
11974 echo "$as_me:$LINENO: checking for $ac_word" >&5
11975 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
11976 if test "${ac_cv_prog_CC+set}" = set; then
11977 echo $ECHO_N "(cached) $ECHO_C" >&6
11978 else
11979 if test -n "$CC"; then
11980 ac_cv_prog_CC="$CC" # Let the user override the test.
11981 else
11982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11983 for as_dir in $PATH
11984 do
11985 IFS=$as_save_IFS
11986 test -z "$as_dir" && as_dir=.
11987 for ac_exec_ext in '' $ac_executable_extensions; do
11988 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
11989 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
11990 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
11991 break 2
11992 fi
11993 done
11994 done
11995
11996 fi
11997 fi
11998 CC=$ac_cv_prog_CC
11999 if test -n "$CC"; then
12000 echo "$as_me:$LINENO: result: $CC" >&5
12001 echo "${ECHO_T}$CC" >&6
12002 else
12003 echo "$as_me:$LINENO: result: no" >&5
12004 echo "${ECHO_T}no" >&6
12005 fi
12006
12007 test -n "$CC" && break
12008 done
12009 fi
12010 if test -z "$CC"; then
12011 ac_ct_CC=$CC
12012 for ac_prog in cl
12013 do
12014 # Extract the first word of "$ac_prog", so it can be a program name with args.
12015 set dummy $ac_prog; ac_word=$2
12016 echo "$as_me:$LINENO: checking for $ac_word" >&5
12017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
12018 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12019 echo $ECHO_N "(cached) $ECHO_C" >&6
12020 else
12021 if test -n "$ac_ct_CC"; then
12022 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12023 else
12024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12025 for as_dir in $PATH
12026 do
12027 IFS=$as_save_IFS
12028 test -z "$as_dir" && as_dir=.
12029 for ac_exec_ext in '' $ac_executable_extensions; do
12030 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12031 ac_cv_prog_ac_ct_CC="$ac_prog"
12032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12033 break 2
12034 fi
12035 done
12036 done
12037
12038 fi
12039 fi
12040 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12041 if test -n "$ac_ct_CC"; then
12042 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12043 echo "${ECHO_T}$ac_ct_CC" >&6
12044 else
12045 echo "$as_me:$LINENO: result: no" >&5
12046 echo "${ECHO_T}no" >&6
12047 fi
12048
12049 test -n "$ac_ct_CC" && break
12050 done
12051
12052 CC=$ac_ct_CC
12053 fi
12054
12055 fi
12056
12057
12058 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
12059 See \`config.log' for more details." >&5
12060 echo "$as_me: error: no acceptable C compiler found in \$PATH
12061 See \`config.log' for more details." >&2;}
12062 { (exit 1); exit 1; }; }
12063
12064 # Provide some information about the compiler.
12065 echo "$as_me:$LINENO:" \
12066 "checking for C compiler version" >&5
12067 ac_compiler=`set X $ac_compile; echo $2`
12068 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
12069 (eval $ac_compiler --version </dev/null >&5) 2>&5
12070 ac_status=$?
12071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12072 (exit $ac_status); }
12073 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
12074 (eval $ac_compiler -v </dev/null >&5) 2>&5
12075 ac_status=$?
12076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12077 (exit $ac_status); }
12078 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
12079 (eval $ac_compiler -V </dev/null >&5) 2>&5
12080 ac_status=$?
12081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12082 (exit $ac_status); }
12083
12084 cat >conftest.$ac_ext <<_ACEOF
12085 /* confdefs.h. */
12086 _ACEOF
12087 cat confdefs.h >>conftest.$ac_ext
12088 cat >>conftest.$ac_ext <<_ACEOF
12089 /* end confdefs.h. */
12090
12091 int
12092 main ()
12093 {
12094
12095 ;
12096 return 0;
12097 }
12098 _ACEOF
12099 ac_clean_files_save=$ac_clean_files
12100 ac_clean_files="$ac_clean_files a.out a.exe b.out"
12101 # Try to create an executable without -o first, disregard a.out.
12102 # It will help us diagnose broken compilers, and finding out an intuition
12103 # of exeext.
12104 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
12105 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
12106 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
12107 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
12108 (eval $ac_link_default) 2>&5
12109 ac_status=$?
12110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12111 (exit $ac_status); }; then
12112 # Find the output, starting from the most likely. This scheme is
12113 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
12114 # resort.
12115
12116 # Be careful to initialize this variable, since it used to be cached.
12117 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
12118 ac_cv_exeext=
12119 # b.out is created by i960 compilers.
12120 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
12121 do
12122 test -f "$ac_file" || continue
12123 case $ac_file in
12124 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
12125 ;;
12126 conftest.$ac_ext )
12127 # This is the source file.
12128 ;;
12129 [ab].out )
12130 # We found the default executable, but exeext='' is most
12131 # certainly right.
12132 break;;
12133 *.* )
12134 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12135 # FIXME: I believe we export ac_cv_exeext for Libtool,
12136 # but it would be cool to find out if it's true. Does anybody
12137 # maintain Libtool? --akim.
12138 export ac_cv_exeext
12139 break;;
12140 * )
12141 break;;
12142 esac
12143 done
12144 else
12145 echo "$as_me: failed program was:" >&5
12146 sed 's/^/| /' conftest.$ac_ext >&5
12147
12148 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
12149 See \`config.log' for more details." >&5
12150 echo "$as_me: error: C compiler cannot create executables
12151 See \`config.log' for more details." >&2;}
12152 { (exit 77); exit 77; }; }
12153 fi
12154
12155 ac_exeext=$ac_cv_exeext
12156 echo "$as_me:$LINENO: result: $ac_file" >&5
12157 echo "${ECHO_T}$ac_file" >&6
12158
12159 # Check the compiler produces executables we can run. If not, either
12160 # the compiler is broken, or we cross compile.
12161 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
12162 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
12163 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
12164 # If not cross compiling, check that we can run a simple program.
12165 if test "$cross_compiling" != yes; then
12166 if { ac_try='./$ac_file'
12167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12168 (eval $ac_try) 2>&5
12169 ac_status=$?
12170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12171 (exit $ac_status); }; }; then
12172 cross_compiling=no
12173 else
12174 if test "$cross_compiling" = maybe; then
12175 cross_compiling=yes
12176 else
12177 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
12178 If you meant to cross compile, use \`--host'.
12179 See \`config.log' for more details." >&5
12180 echo "$as_me: error: cannot run C compiled programs.
12181 If you meant to cross compile, use \`--host'.
12182 See \`config.log' for more details." >&2;}
12183 { (exit 1); exit 1; }; }
12184 fi
12185 fi
12186 fi
12187 echo "$as_me:$LINENO: result: yes" >&5
12188 echo "${ECHO_T}yes" >&6
12189
12190 rm -f a.out a.exe conftest$ac_cv_exeext b.out
12191 ac_clean_files=$ac_clean_files_save
12192 # Check the compiler produces executables we can run. If not, either
12193 # the compiler is broken, or we cross compile.
12194 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
12195 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
12196 echo "$as_me:$LINENO: result: $cross_compiling" >&5
12197 echo "${ECHO_T}$cross_compiling" >&6
12198
12199 echo "$as_me:$LINENO: checking for suffix of executables" >&5
12200 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
12201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12202 (eval $ac_link) 2>&5
12203 ac_status=$?
12204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12205 (exit $ac_status); }; then
12206 # If both `conftest.exe' and `conftest' are `present' (well, observable)
12207 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
12208 # work properly (i.e., refer to `conftest.exe'), while it won't with
12209 # `rm'.
12210 for ac_file in conftest.exe conftest conftest.*; do
12211 test -f "$ac_file" || continue
12212 case $ac_file in
12213 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
12214 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
12215 export ac_cv_exeext
12216 break;;
12217 * ) break;;
12218 esac
12219 done
12220 else
12221 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
12222 See \`config.log' for more details." >&5
12223 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
12224 See \`config.log' for more details." >&2;}
12225 { (exit 1); exit 1; }; }
12226 fi
12227
12228 rm -f conftest$ac_cv_exeext
12229 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
12230 echo "${ECHO_T}$ac_cv_exeext" >&6
12231
12232 rm -f conftest.$ac_ext
12233 EXEEXT=$ac_cv_exeext
12234 ac_exeext=$EXEEXT
12235 echo "$as_me:$LINENO: checking for suffix of object files" >&5
12236 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
12237 if test "${ac_cv_objext+set}" = set; then
12238 echo $ECHO_N "(cached) $ECHO_C" >&6
12239 else
12240 cat >conftest.$ac_ext <<_ACEOF
12241 /* confdefs.h. */
12242 _ACEOF
12243 cat confdefs.h >>conftest.$ac_ext
12244 cat >>conftest.$ac_ext <<_ACEOF
12245 /* end confdefs.h. */
12246
12247 int
12248 main ()
12249 {
12250
12251 ;
12252 return 0;
12253 }
12254 _ACEOF
12255 rm -f conftest.o conftest.obj
12256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12257 (eval $ac_compile) 2>&5
12258 ac_status=$?
12259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12260 (exit $ac_status); }; then
12261 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
12262 case $ac_file in
12263 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
12264 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
12265 break;;
12266 esac
12267 done
12268 else
12269 echo "$as_me: failed program was:" >&5
12270 sed 's/^/| /' conftest.$ac_ext >&5
12271
12272 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
12273 See \`config.log' for more details." >&5
12274 echo "$as_me: error: cannot compute suffix of object files: cannot compile
12275 See \`config.log' for more details." >&2;}
12276 { (exit 1); exit 1; }; }
12277 fi
12278
12279 rm -f conftest.$ac_cv_objext conftest.$ac_ext
12280 fi
12281 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
12282 echo "${ECHO_T}$ac_cv_objext" >&6
12283 OBJEXT=$ac_cv_objext
12284 ac_objext=$OBJEXT
12285 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
12286 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
12287 if test "${ac_cv_c_compiler_gnu+set}" = set; then
12288 echo $ECHO_N "(cached) $ECHO_C" >&6
12289 else
12290 cat >conftest.$ac_ext <<_ACEOF
12291 /* confdefs.h. */
12292 _ACEOF
12293 cat confdefs.h >>conftest.$ac_ext
12294 cat >>conftest.$ac_ext <<_ACEOF
12295 /* end confdefs.h. */
12296
12297 int
12298 main ()
12299 {
12300 #ifndef __GNUC__
12301 choke me
12302 #endif
12303
12304 ;
12305 return 0;
12306 }
12307 _ACEOF
12308 rm -f conftest.$ac_objext
12309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12310 (eval $ac_compile) 2>conftest.er1
12311 ac_status=$?
12312 grep -v '^ *+' conftest.er1 >conftest.err
12313 rm -f conftest.er1
12314 cat conftest.err >&5
12315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12316 (exit $ac_status); } &&
12317 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12319 (eval $ac_try) 2>&5
12320 ac_status=$?
12321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12322 (exit $ac_status); }; } &&
12323 { ac_try='test -s conftest.$ac_objext'
12324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12325 (eval $ac_try) 2>&5
12326 ac_status=$?
12327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12328 (exit $ac_status); }; }; then
12329 ac_compiler_gnu=yes
12330 else
12331 echo "$as_me: failed program was:" >&5
12332 sed 's/^/| /' conftest.$ac_ext >&5
12333
12334 ac_compiler_gnu=no
12335 fi
12336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12337 ac_cv_c_compiler_gnu=$ac_compiler_gnu
12338
12339 fi
12340 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
12341 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
12342 GCC=`test $ac_compiler_gnu = yes && echo yes`
12343 ac_test_CFLAGS=${CFLAGS+set}
12344 ac_save_CFLAGS=$CFLAGS
12345 CFLAGS="-g"
12346 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12347 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12348 if test "${ac_cv_prog_cc_g+set}" = set; then
12349 echo $ECHO_N "(cached) $ECHO_C" >&6
12350 else
12351 cat >conftest.$ac_ext <<_ACEOF
12352 /* confdefs.h. */
12353 _ACEOF
12354 cat confdefs.h >>conftest.$ac_ext
12355 cat >>conftest.$ac_ext <<_ACEOF
12356 /* end confdefs.h. */
12357
12358 int
12359 main ()
12360 {
12361
12362 ;
12363 return 0;
12364 }
12365 _ACEOF
12366 rm -f conftest.$ac_objext
12367 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12368 (eval $ac_compile) 2>conftest.er1
12369 ac_status=$?
12370 grep -v '^ *+' conftest.er1 >conftest.err
12371 rm -f conftest.er1
12372 cat conftest.err >&5
12373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12374 (exit $ac_status); } &&
12375 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12377 (eval $ac_try) 2>&5
12378 ac_status=$?
12379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12380 (exit $ac_status); }; } &&
12381 { ac_try='test -s conftest.$ac_objext'
12382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12383 (eval $ac_try) 2>&5
12384 ac_status=$?
12385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12386 (exit $ac_status); }; }; then
12387 ac_cv_prog_cc_g=yes
12388 else
12389 echo "$as_me: failed program was:" >&5
12390 sed 's/^/| /' conftest.$ac_ext >&5
12391
12392 ac_cv_prog_cc_g=no
12393 fi
12394 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12395 fi
12396 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12397 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12398 if test "$ac_test_CFLAGS" = set; then
12399 CFLAGS=$ac_save_CFLAGS
12400 elif test $ac_cv_prog_cc_g = yes; then
12401 if test "$GCC" = yes; then
12402 CFLAGS="-g -O2"
12403 else
12404 CFLAGS="-g"
12405 fi
12406 else
12407 if test "$GCC" = yes; then
12408 CFLAGS="-O2"
12409 else
12410 CFLAGS=
12411 fi
12412 fi
12413 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
12414 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
12415 if test "${ac_cv_prog_cc_stdc+set}" = set; then
12416 echo $ECHO_N "(cached) $ECHO_C" >&6
12417 else
12418 ac_cv_prog_cc_stdc=no
12419 ac_save_CC=$CC
12420 cat >conftest.$ac_ext <<_ACEOF
12421 /* confdefs.h. */
12422 _ACEOF
12423 cat confdefs.h >>conftest.$ac_ext
12424 cat >>conftest.$ac_ext <<_ACEOF
12425 /* end confdefs.h. */
12426 #include <stdarg.h>
12427 #include <stdio.h>
12428 #include <sys/types.h>
12429 #include <sys/stat.h>
12430 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
12431 struct buf { int x; };
12432 FILE * (*rcsopen) (struct buf *, struct stat *, int);
12433 static char *e (p, i)
12434 char **p;
12435 int i;
12436 {
12437 return p[i];
12438 }
12439 static char *f (char * (*g) (char **, int), char **p, ...)
12440 {
12441 char *s;
12442 va_list v;
12443 va_start (v,p);
12444 s = g (p, va_arg (v,int));
12445 va_end (v);
12446 return s;
12447 }
12448
12449 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
12450 function prototypes and stuff, but not '\xHH' hex character constants.
12451 These don't provoke an error unfortunately, instead are silently treated
12452 as 'x'. The following induces an error, until -std1 is added to get
12453 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
12454 array size at least. It's necessary to write '\x00'==0 to get something
12455 that's true only with -std1. */
12456 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
12457
12458 int test (int i, double x);
12459 struct s1 {int (*f) (int a);};
12460 struct s2 {int (*f) (double a);};
12461 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
12462 int argc;
12463 char **argv;
12464 int
12465 main ()
12466 {
12467 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
12468 ;
12469 return 0;
12470 }
12471 _ACEOF
12472 # Don't try gcc -ansi; that turns off useful extensions and
12473 # breaks some systems' header files.
12474 # AIX -qlanglvl=ansi
12475 # Ultrix and OSF/1 -std1
12476 # HP-UX 10.20 and later -Ae
12477 # HP-UX older versions -Aa -D_HPUX_SOURCE
12478 # SVR4 -Xc -D__EXTENSIONS__
12479 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
12480 do
12481 CC="$ac_save_CC $ac_arg"
12482 rm -f conftest.$ac_objext
12483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12484 (eval $ac_compile) 2>conftest.er1
12485 ac_status=$?
12486 grep -v '^ *+' conftest.er1 >conftest.err
12487 rm -f conftest.er1
12488 cat conftest.err >&5
12489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12490 (exit $ac_status); } &&
12491 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12493 (eval $ac_try) 2>&5
12494 ac_status=$?
12495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12496 (exit $ac_status); }; } &&
12497 { ac_try='test -s conftest.$ac_objext'
12498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12499 (eval $ac_try) 2>&5
12500 ac_status=$?
12501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12502 (exit $ac_status); }; }; then
12503 ac_cv_prog_cc_stdc=$ac_arg
12504 break
12505 else
12506 echo "$as_me: failed program was:" >&5
12507 sed 's/^/| /' conftest.$ac_ext >&5
12508
12509 fi
12510 rm -f conftest.err conftest.$ac_objext
12511 done
12512 rm -f conftest.$ac_ext conftest.$ac_objext
12513 CC=$ac_save_CC
12514
12515 fi
12516
12517 case "x$ac_cv_prog_cc_stdc" in
12518 x|xno)
12519 echo "$as_me:$LINENO: result: none needed" >&5
12520 echo "${ECHO_T}none needed" >&6 ;;
12521 *)
12522 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
12523 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
12524 CC="$CC $ac_cv_prog_cc_stdc" ;;
12525 esac
12526
12527 # Some people use a C++ compiler to compile C. Since we use `exit',
12528 # in C++ we need to declare it. In case someone uses the same compiler
12529 # for both compiling C and C++ we need to have the C++ compiler decide
12530 # the declaration of exit, since it's the most demanding environment.
12531 cat >conftest.$ac_ext <<_ACEOF
12532 #ifndef __cplusplus
12533 choke me
12534 #endif
12535 _ACEOF
12536 rm -f conftest.$ac_objext
12537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12538 (eval $ac_compile) 2>conftest.er1
12539 ac_status=$?
12540 grep -v '^ *+' conftest.er1 >conftest.err
12541 rm -f conftest.er1
12542 cat conftest.err >&5
12543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12544 (exit $ac_status); } &&
12545 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12547 (eval $ac_try) 2>&5
12548 ac_status=$?
12549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12550 (exit $ac_status); }; } &&
12551 { ac_try='test -s conftest.$ac_objext'
12552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12553 (eval $ac_try) 2>&5
12554 ac_status=$?
12555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12556 (exit $ac_status); }; }; then
12557 for ac_declaration in \
12558 '' \
12559 'extern "C" void std::exit (int) throw (); using std::exit;' \
12560 'extern "C" void std::exit (int); using std::exit;' \
12561 'extern "C" void exit (int) throw ();' \
12562 'extern "C" void exit (int);' \
12563 'void exit (int);'
12564 do
12565 cat >conftest.$ac_ext <<_ACEOF
12566 /* confdefs.h. */
12567 _ACEOF
12568 cat confdefs.h >>conftest.$ac_ext
12569 cat >>conftest.$ac_ext <<_ACEOF
12570 /* end confdefs.h. */
12571 $ac_declaration
12572 #include <stdlib.h>
12573 int
12574 main ()
12575 {
12576 exit (42);
12577 ;
12578 return 0;
12579 }
12580 _ACEOF
12581 rm -f conftest.$ac_objext
12582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12583 (eval $ac_compile) 2>conftest.er1
12584 ac_status=$?
12585 grep -v '^ *+' conftest.er1 >conftest.err
12586 rm -f conftest.er1
12587 cat conftest.err >&5
12588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12589 (exit $ac_status); } &&
12590 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12592 (eval $ac_try) 2>&5
12593 ac_status=$?
12594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12595 (exit $ac_status); }; } &&
12596 { ac_try='test -s conftest.$ac_objext'
12597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12598 (eval $ac_try) 2>&5
12599 ac_status=$?
12600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12601 (exit $ac_status); }; }; then
12602 :
12603 else
12604 echo "$as_me: failed program was:" >&5
12605 sed 's/^/| /' conftest.$ac_ext >&5
12606
12607 continue
12608 fi
12609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12610 cat >conftest.$ac_ext <<_ACEOF
12611 /* confdefs.h. */
12612 _ACEOF
12613 cat confdefs.h >>conftest.$ac_ext
12614 cat >>conftest.$ac_ext <<_ACEOF
12615 /* end confdefs.h. */
12616 $ac_declaration
12617 int
12618 main ()
12619 {
12620 exit (42);
12621 ;
12622 return 0;
12623 }
12624 _ACEOF
12625 rm -f conftest.$ac_objext
12626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12627 (eval $ac_compile) 2>conftest.er1
12628 ac_status=$?
12629 grep -v '^ *+' conftest.er1 >conftest.err
12630 rm -f conftest.er1
12631 cat conftest.err >&5
12632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12633 (exit $ac_status); } &&
12634 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12636 (eval $ac_try) 2>&5
12637 ac_status=$?
12638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12639 (exit $ac_status); }; } &&
12640 { ac_try='test -s conftest.$ac_objext'
12641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12642 (eval $ac_try) 2>&5
12643 ac_status=$?
12644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12645 (exit $ac_status); }; }; then
12646 break
12647 else
12648 echo "$as_me: failed program was:" >&5
12649 sed 's/^/| /' conftest.$ac_ext >&5
12650
12651 fi
12652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12653 done
12654 rm -f conftest*
12655 if test -n "$ac_declaration"; then
12656 echo '#ifdef __cplusplus' >>confdefs.h
12657 echo $ac_declaration >>confdefs.h
12658 echo '#endif' >>confdefs.h
12659 fi
12660
12661 else
12662 echo "$as_me: failed program was:" >&5
12663 sed 's/^/| /' conftest.$ac_ext >&5
12664
12665 fi
12666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12667 ac_ext=c
12668 ac_cpp='$CPP $CPPFLAGS'
12669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12672
12673
12674
12675 ac_ext=c
12676 ac_cpp='$CPP $CPPFLAGS'
12677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12680
12681 echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
12682 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6
12683 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
12684 echo $ECHO_N "(cached) $ECHO_C" >&6
12685 else
12686 cat >conftest.$ac_ext <<_ACEOF
12687 /* confdefs.h. */
12688 _ACEOF
12689 cat confdefs.h >>conftest.$ac_ext
12690 cat >>conftest.$ac_ext <<_ACEOF
12691 /* end confdefs.h. */
12692
12693 int
12694 main ()
12695 {
12696
12697 #ifndef __INTEL_COMPILER
12698 choke me
12699 #endif
12700
12701 ;
12702 return 0;
12703 }
12704 _ACEOF
12705 rm -f conftest.$ac_objext
12706 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12707 (eval $ac_compile) 2>conftest.er1
12708 ac_status=$?
12709 grep -v '^ *+' conftest.er1 >conftest.err
12710 rm -f conftest.er1
12711 cat conftest.err >&5
12712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12713 (exit $ac_status); } &&
12714 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12716 (eval $ac_try) 2>&5
12717 ac_status=$?
12718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12719 (exit $ac_status); }; } &&
12720 { ac_try='test -s conftest.$ac_objext'
12721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12722 (eval $ac_try) 2>&5
12723 ac_status=$?
12724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12725 (exit $ac_status); }; }; then
12726 bakefile_cv_c_compiler___INTEL_COMPILER=yes
12727 else
12728 echo "$as_me: failed program was:" >&5
12729 sed 's/^/| /' conftest.$ac_ext >&5
12730
12731 bakefile_cv_c_compiler___INTEL_COMPILER=no
12732
12733 fi
12734 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12735
12736
12737 fi
12738 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
12739 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6
12740 ac_ext=c
12741 ac_cpp='$CPP $CPPFLAGS'
12742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12745
12746 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
12747 :; INTELCC=yes
12748 else
12749 :;
12750 fi
12751
12752
12753 if test "x$GCC" != "xyes"; then
12754 if test "xCC" = "xC"; then
12755 echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
12756 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6
12757 if test "${bakefile_cv_c_exto+set}" = set; then
12758 echo $ECHO_N "(cached) $ECHO_C" >&6
12759 else
12760 cat >conftest.$ac_ext <<_ACEOF
12761 /* confdefs.h. */
12762 _ACEOF
12763 cat confdefs.h >>conftest.$ac_ext
12764 cat >>conftest.$ac_ext <<_ACEOF
12765 /* end confdefs.h. */
12766
12767 int
12768 main ()
12769 {
12770
12771 ;
12772 return 0;
12773 }
12774 _ACEOF
12775 rm -f conftest.$ac_objext conftest.$ac_ext.o
12776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12777 (eval $ac_compile) 2>&5
12778 ac_status=$?
12779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12780 (exit $ac_status); }; then
12781 for ac_file in `(ls conftest.* 2>/dev/null)`; do
12782 case $ac_file in
12783 conftest.$ac_ext.o)
12784 bakefile_cv_c_exto="-ext o"
12785 ;;
12786 *)
12787 ;;
12788 esac
12789 done
12790 else
12791 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
12792 See \`config.log' for more details." >&5
12793 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
12794 See \`config.log' for more details." >&2;}
12795 { (exit 1); exit 1; }; }
12796
12797 fi
12798
12799 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
12800
12801 fi
12802 echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
12803 echo "${ECHO_T}$bakefile_cv_c_exto" >&6
12804 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12805 if test "c" = "c"; then
12806 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
12807 fi
12808 if test "c" = "cxx"; then
12809 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
12810 fi
12811 fi
12812
12813 if test "x$bakefile_cv_c_exto" '!=' "x"; then
12814 unset ac_cv_prog_cc_g
12815 ac_test_CFLAGS=${CFLAGS+set}
12816 ac_save_CFLAGS=$CFLAGS
12817 CFLAGS="-g"
12818 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
12819 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
12820 if test "${ac_cv_prog_cc_g+set}" = set; then
12821 echo $ECHO_N "(cached) $ECHO_C" >&6
12822 else
12823 cat >conftest.$ac_ext <<_ACEOF
12824 /* confdefs.h. */
12825 _ACEOF
12826 cat confdefs.h >>conftest.$ac_ext
12827 cat >>conftest.$ac_ext <<_ACEOF
12828 /* end confdefs.h. */
12829
12830 int
12831 main ()
12832 {
12833
12834 ;
12835 return 0;
12836 }
12837 _ACEOF
12838 rm -f conftest.$ac_objext
12839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12840 (eval $ac_compile) 2>conftest.er1
12841 ac_status=$?
12842 grep -v '^ *+' conftest.er1 >conftest.err
12843 rm -f conftest.er1
12844 cat conftest.err >&5
12845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12846 (exit $ac_status); } &&
12847 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12849 (eval $ac_try) 2>&5
12850 ac_status=$?
12851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12852 (exit $ac_status); }; } &&
12853 { ac_try='test -s conftest.$ac_objext'
12854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12855 (eval $ac_try) 2>&5
12856 ac_status=$?
12857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12858 (exit $ac_status); }; }; then
12859 ac_cv_prog_cc_g=yes
12860 else
12861 echo "$as_me: failed program was:" >&5
12862 sed 's/^/| /' conftest.$ac_ext >&5
12863
12864 ac_cv_prog_cc_g=no
12865 fi
12866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12867 fi
12868 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
12869 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
12870 if test "$ac_test_CFLAGS" = set; then
12871 CFLAGS=$ac_save_CFLAGS
12872 elif test $ac_cv_prog_cc_g = yes; then
12873 if test "$GCC" = yes; then
12874 CFLAGS="-g -O2"
12875 else
12876 CFLAGS="-g"
12877 fi
12878 else
12879 if test "$GCC" = yes; then
12880 CFLAGS="-O2"
12881 else
12882 CFLAGS=
12883 fi
12884 fi
12885 fi
12886 fi
12887
12888 case `uname -s` in
12889 AIX*)
12890 ac_ext=c
12891 ac_cpp='$CPP $CPPFLAGS'
12892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12895
12896 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
12897 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
12898 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
12899 echo $ECHO_N "(cached) $ECHO_C" >&6
12900 else
12901 cat >conftest.$ac_ext <<_ACEOF
12902 /* confdefs.h. */
12903 _ACEOF
12904 cat confdefs.h >>conftest.$ac_ext
12905 cat >>conftest.$ac_ext <<_ACEOF
12906 /* end confdefs.h. */
12907
12908 int
12909 main ()
12910 {
12911 #ifndef __xlC__
12912 choke me
12913 #endif
12914
12915 ;
12916 return 0;
12917 }
12918 _ACEOF
12919 rm -f conftest.$ac_objext
12920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12921 (eval $ac_compile) 2>conftest.er1
12922 ac_status=$?
12923 grep -v '^ *+' conftest.er1 >conftest.err
12924 rm -f conftest.er1
12925 cat conftest.err >&5
12926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12927 (exit $ac_status); } &&
12928 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
12929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12930 (eval $ac_try) 2>&5
12931 ac_status=$?
12932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12933 (exit $ac_status); }; } &&
12934 { ac_try='test -s conftest.$ac_objext'
12935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12936 (eval $ac_try) 2>&5
12937 ac_status=$?
12938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12939 (exit $ac_status); }; }; then
12940 bakefile_compiler_xlc=yes
12941 else
12942 echo "$as_me: failed program was:" >&5
12943 sed 's/^/| /' conftest.$ac_ext >&5
12944
12945 bakefile_compiler_xlc=no
12946 fi
12947 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
12948 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
12949
12950 fi
12951 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
12952 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
12953
12954 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
12955 ac_ext=c
12956 ac_cpp='$CPP $CPPFLAGS'
12957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12960
12961
12962 ;;
12963
12964 Darwin)
12965 ac_ext=c
12966 ac_cpp='$CPP $CPPFLAGS'
12967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12970
12971 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
12972 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6
12973 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
12974 echo $ECHO_N "(cached) $ECHO_C" >&6
12975 else
12976 cat >conftest.$ac_ext <<_ACEOF
12977 /* confdefs.h. */
12978 _ACEOF
12979 cat confdefs.h >>conftest.$ac_ext
12980 cat >>conftest.$ac_ext <<_ACEOF
12981 /* end confdefs.h. */
12982
12983 int
12984 main ()
12985 {
12986 #ifndef __MWERKS__
12987 choke me
12988 #endif
12989
12990 ;
12991 return 0;
12992 }
12993 _ACEOF
12994 rm -f conftest.$ac_objext
12995 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12996 (eval $ac_compile) 2>conftest.er1
12997 ac_status=$?
12998 grep -v '^ *+' conftest.er1 >conftest.err
12999 rm -f conftest.er1
13000 cat conftest.err >&5
13001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13002 (exit $ac_status); } &&
13003 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13005 (eval $ac_try) 2>&5
13006 ac_status=$?
13007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13008 (exit $ac_status); }; } &&
13009 { ac_try='test -s conftest.$ac_objext'
13010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13011 (eval $ac_try) 2>&5
13012 ac_status=$?
13013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13014 (exit $ac_status); }; }; then
13015 bakefile_compiler_mwerks=yes
13016 else
13017 echo "$as_me: failed program was:" >&5
13018 sed 's/^/| /' conftest.$ac_ext >&5
13019
13020 bakefile_compiler_mwerks=no
13021 fi
13022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13023 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
13024
13025 fi
13026 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
13027 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6
13028
13029 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
13030 ac_ext=c
13031 ac_cpp='$CPP $CPPFLAGS'
13032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13035
13036
13037 ac_ext=c
13038 ac_cpp='$CPP $CPPFLAGS'
13039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13042
13043 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13044 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6
13045 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13046 echo $ECHO_N "(cached) $ECHO_C" >&6
13047 else
13048 cat >conftest.$ac_ext <<_ACEOF
13049 /* confdefs.h. */
13050 _ACEOF
13051 cat confdefs.h >>conftest.$ac_ext
13052 cat >>conftest.$ac_ext <<_ACEOF
13053 /* end confdefs.h. */
13054
13055 int
13056 main ()
13057 {
13058 #ifndef __xlC__
13059 choke me
13060 #endif
13061
13062 ;
13063 return 0;
13064 }
13065 _ACEOF
13066 rm -f conftest.$ac_objext
13067 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13068 (eval $ac_compile) 2>conftest.er1
13069 ac_status=$?
13070 grep -v '^ *+' conftest.er1 >conftest.err
13071 rm -f conftest.er1
13072 cat conftest.err >&5
13073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13074 (exit $ac_status); } &&
13075 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13077 (eval $ac_try) 2>&5
13078 ac_status=$?
13079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13080 (exit $ac_status); }; } &&
13081 { ac_try='test -s conftest.$ac_objext'
13082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13083 (eval $ac_try) 2>&5
13084 ac_status=$?
13085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13086 (exit $ac_status); }; }; then
13087 bakefile_compiler_xlc=yes
13088 else
13089 echo "$as_me: failed program was:" >&5
13090 sed 's/^/| /' conftest.$ac_ext >&5
13091
13092 bakefile_compiler_xlc=no
13093 fi
13094 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13095 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
13096
13097 fi
13098 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
13099 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6
13100
13101 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
13102 ac_ext=c
13103 ac_cpp='$CPP $CPPFLAGS'
13104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13107
13108
13109 ;;
13110
13111 IRIX*)
13112
13113
13114 ac_ext=c
13115 ac_cpp='$CPP $CPPFLAGS'
13116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13119
13120 echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
13121 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6
13122 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
13123 echo $ECHO_N "(cached) $ECHO_C" >&6
13124 else
13125 cat >conftest.$ac_ext <<_ACEOF
13126 /* confdefs.h. */
13127 _ACEOF
13128 cat confdefs.h >>conftest.$ac_ext
13129 cat >>conftest.$ac_ext <<_ACEOF
13130 /* end confdefs.h. */
13131
13132 int
13133 main ()
13134 {
13135
13136 #ifndef _SGI_COMPILER_VERSION
13137 choke me
13138 #endif
13139
13140 ;
13141 return 0;
13142 }
13143 _ACEOF
13144 rm -f conftest.$ac_objext
13145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13146 (eval $ac_compile) 2>conftest.er1
13147 ac_status=$?
13148 grep -v '^ *+' conftest.er1 >conftest.err
13149 rm -f conftest.er1
13150 cat conftest.err >&5
13151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13152 (exit $ac_status); } &&
13153 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13155 (eval $ac_try) 2>&5
13156 ac_status=$?
13157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13158 (exit $ac_status); }; } &&
13159 { ac_try='test -s conftest.$ac_objext'
13160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13161 (eval $ac_try) 2>&5
13162 ac_status=$?
13163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13164 (exit $ac_status); }; }; then
13165 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
13166 else
13167 echo "$as_me: failed program was:" >&5
13168 sed 's/^/| /' conftest.$ac_ext >&5
13169
13170 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
13171
13172 fi
13173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13174
13175
13176 fi
13177 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
13178 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6
13179 ac_ext=c
13180 ac_cpp='$CPP $CPPFLAGS'
13181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13184
13185 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
13186 :; SGICC=yes
13187 else
13188 :;
13189 fi
13190
13191
13192 ;;
13193
13194 HP-UX*)
13195
13196
13197 ac_ext=c
13198 ac_cpp='$CPP $CPPFLAGS'
13199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13202
13203 echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
13204 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6
13205 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
13206 echo $ECHO_N "(cached) $ECHO_C" >&6
13207 else
13208 cat >conftest.$ac_ext <<_ACEOF
13209 /* confdefs.h. */
13210 _ACEOF
13211 cat confdefs.h >>conftest.$ac_ext
13212 cat >>conftest.$ac_ext <<_ACEOF
13213 /* end confdefs.h. */
13214
13215 int
13216 main ()
13217 {
13218
13219 #ifndef __HP_cc
13220 choke me
13221 #endif
13222
13223 ;
13224 return 0;
13225 }
13226 _ACEOF
13227 rm -f conftest.$ac_objext
13228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13229 (eval $ac_compile) 2>conftest.er1
13230 ac_status=$?
13231 grep -v '^ *+' conftest.er1 >conftest.err
13232 rm -f conftest.er1
13233 cat conftest.err >&5
13234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13235 (exit $ac_status); } &&
13236 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13238 (eval $ac_try) 2>&5
13239 ac_status=$?
13240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13241 (exit $ac_status); }; } &&
13242 { ac_try='test -s conftest.$ac_objext'
13243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13244 (eval $ac_try) 2>&5
13245 ac_status=$?
13246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13247 (exit $ac_status); }; }; then
13248 bakefile_cv_c_compiler___HP_cc=yes
13249 else
13250 echo "$as_me: failed program was:" >&5
13251 sed 's/^/| /' conftest.$ac_ext >&5
13252
13253 bakefile_cv_c_compiler___HP_cc=no
13254
13255 fi
13256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13257
13258
13259 fi
13260 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
13261 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6
13262 ac_ext=c
13263 ac_cpp='$CPP $CPPFLAGS'
13264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13267
13268 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
13269 :; HPCC=yes
13270 else
13271 :;
13272 fi
13273
13274
13275 ;;
13276
13277 OSF1)
13278
13279
13280 ac_ext=c
13281 ac_cpp='$CPP $CPPFLAGS'
13282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13285
13286 echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
13287 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6
13288 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
13289 echo $ECHO_N "(cached) $ECHO_C" >&6
13290 else
13291 cat >conftest.$ac_ext <<_ACEOF
13292 /* confdefs.h. */
13293 _ACEOF
13294 cat confdefs.h >>conftest.$ac_ext
13295 cat >>conftest.$ac_ext <<_ACEOF
13296 /* end confdefs.h. */
13297
13298 int
13299 main ()
13300 {
13301
13302 #ifndef __DECC
13303 choke me
13304 #endif
13305
13306 ;
13307 return 0;
13308 }
13309 _ACEOF
13310 rm -f conftest.$ac_objext
13311 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13312 (eval $ac_compile) 2>conftest.er1
13313 ac_status=$?
13314 grep -v '^ *+' conftest.er1 >conftest.err
13315 rm -f conftest.er1
13316 cat conftest.err >&5
13317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13318 (exit $ac_status); } &&
13319 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13321 (eval $ac_try) 2>&5
13322 ac_status=$?
13323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13324 (exit $ac_status); }; } &&
13325 { ac_try='test -s conftest.$ac_objext'
13326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13327 (eval $ac_try) 2>&5
13328 ac_status=$?
13329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13330 (exit $ac_status); }; }; then
13331 bakefile_cv_c_compiler___DECC=yes
13332 else
13333 echo "$as_me: failed program was:" >&5
13334 sed 's/^/| /' conftest.$ac_ext >&5
13335
13336 bakefile_cv_c_compiler___DECC=no
13337
13338 fi
13339 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13340
13341
13342 fi
13343 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
13344 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6
13345 ac_ext=c
13346 ac_cpp='$CPP $CPPFLAGS'
13347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13350
13351 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
13352 :; COMPAQCC=yes
13353 else
13354 :;
13355 fi
13356
13357
13358 ;;
13359
13360 SunOS)
13361
13362
13363 ac_ext=c
13364 ac_cpp='$CPP $CPPFLAGS'
13365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13368
13369 echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
13370 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6
13371 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
13372 echo $ECHO_N "(cached) $ECHO_C" >&6
13373 else
13374 cat >conftest.$ac_ext <<_ACEOF
13375 /* confdefs.h. */
13376 _ACEOF
13377 cat confdefs.h >>conftest.$ac_ext
13378 cat >>conftest.$ac_ext <<_ACEOF
13379 /* end confdefs.h. */
13380
13381 int
13382 main ()
13383 {
13384
13385 #ifndef __SUNPRO_C
13386 choke me
13387 #endif
13388
13389 ;
13390 return 0;
13391 }
13392 _ACEOF
13393 rm -f conftest.$ac_objext
13394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13395 (eval $ac_compile) 2>conftest.er1
13396 ac_status=$?
13397 grep -v '^ *+' conftest.er1 >conftest.err
13398 rm -f conftest.er1
13399 cat conftest.err >&5
13400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13401 (exit $ac_status); } &&
13402 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
13403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13404 (eval $ac_try) 2>&5
13405 ac_status=$?
13406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13407 (exit $ac_status); }; } &&
13408 { ac_try='test -s conftest.$ac_objext'
13409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13410 (eval $ac_try) 2>&5
13411 ac_status=$?
13412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13413 (exit $ac_status); }; }; then
13414 bakefile_cv_c_compiler___SUNPRO_C=yes
13415 else
13416 echo "$as_me: failed program was:" >&5
13417 sed 's/^/| /' conftest.$ac_ext >&5
13418
13419 bakefile_cv_c_compiler___SUNPRO_C=no
13420
13421 fi
13422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13423
13424
13425 fi
13426 echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
13427 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6
13428 ac_ext=c
13429 ac_cpp='$CPP $CPPFLAGS'
13430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13433
13434 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
13435 :; SUNCC=yes
13436 else
13437 :;
13438 fi
13439
13440
13441 ;;
13442 esac
13443 fi
13444
13445
13446
13447 ac_ext=c
13448 ac_cpp='$CPP $CPPFLAGS'
13449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13452 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
13453 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
13454 # On Suns, sometimes $CPP names a directory.
13455 if test -n "$CPP" && test -d "$CPP"; then
13456 CPP=
13457 fi
13458 if test -z "$CPP"; then
13459 if test "${ac_cv_prog_CPP+set}" = set; then
13460 echo $ECHO_N "(cached) $ECHO_C" >&6
13461 else
13462 # Double quotes because CPP needs to be expanded
13463 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
13464 do
13465 ac_preproc_ok=false
13466 for ac_c_preproc_warn_flag in '' yes
13467 do
13468 # Use a header file that comes with gcc, so configuring glibc
13469 # with a fresh cross-compiler works.
13470 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13471 # <limits.h> exists even on freestanding compilers.
13472 # On the NeXT, cc -E runs the code through the compiler's parser,
13473 # not just through cpp. "Syntax error" is here to catch this case.
13474 cat >conftest.$ac_ext <<_ACEOF
13475 /* confdefs.h. */
13476 _ACEOF
13477 cat confdefs.h >>conftest.$ac_ext
13478 cat >>conftest.$ac_ext <<_ACEOF
13479 /* end confdefs.h. */
13480 #ifdef __STDC__
13481 # include <limits.h>
13482 #else
13483 # include <assert.h>
13484 #endif
13485 Syntax error
13486 _ACEOF
13487 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13488 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13489 ac_status=$?
13490 grep -v '^ *+' conftest.er1 >conftest.err
13491 rm -f conftest.er1
13492 cat conftest.err >&5
13493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13494 (exit $ac_status); } >/dev/null; then
13495 if test -s conftest.err; then
13496 ac_cpp_err=$ac_c_preproc_warn_flag
13497 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13498 else
13499 ac_cpp_err=
13500 fi
13501 else
13502 ac_cpp_err=yes
13503 fi
13504 if test -z "$ac_cpp_err"; then
13505 :
13506 else
13507 echo "$as_me: failed program was:" >&5
13508 sed 's/^/| /' conftest.$ac_ext >&5
13509
13510 # Broken: fails on valid input.
13511 continue
13512 fi
13513 rm -f conftest.err conftest.$ac_ext
13514
13515 # OK, works on sane cases. Now check whether non-existent headers
13516 # can be detected and how.
13517 cat >conftest.$ac_ext <<_ACEOF
13518 /* confdefs.h. */
13519 _ACEOF
13520 cat confdefs.h >>conftest.$ac_ext
13521 cat >>conftest.$ac_ext <<_ACEOF
13522 /* end confdefs.h. */
13523 #include <ac_nonexistent.h>
13524 _ACEOF
13525 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13526 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13527 ac_status=$?
13528 grep -v '^ *+' conftest.er1 >conftest.err
13529 rm -f conftest.er1
13530 cat conftest.err >&5
13531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13532 (exit $ac_status); } >/dev/null; then
13533 if test -s conftest.err; then
13534 ac_cpp_err=$ac_c_preproc_warn_flag
13535 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13536 else
13537 ac_cpp_err=
13538 fi
13539 else
13540 ac_cpp_err=yes
13541 fi
13542 if test -z "$ac_cpp_err"; then
13543 # Broken: success on invalid input.
13544 continue
13545 else
13546 echo "$as_me: failed program was:" >&5
13547 sed 's/^/| /' conftest.$ac_ext >&5
13548
13549 # Passes both tests.
13550 ac_preproc_ok=:
13551 break
13552 fi
13553 rm -f conftest.err conftest.$ac_ext
13554
13555 done
13556 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13557 rm -f conftest.err conftest.$ac_ext
13558 if $ac_preproc_ok; then
13559 break
13560 fi
13561
13562 done
13563 ac_cv_prog_CPP=$CPP
13564
13565 fi
13566 CPP=$ac_cv_prog_CPP
13567 else
13568 ac_cv_prog_CPP=$CPP
13569 fi
13570 echo "$as_me:$LINENO: result: $CPP" >&5
13571 echo "${ECHO_T}$CPP" >&6
13572 ac_preproc_ok=false
13573 for ac_c_preproc_warn_flag in '' yes
13574 do
13575 # Use a header file that comes with gcc, so configuring glibc
13576 # with a fresh cross-compiler works.
13577 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
13578 # <limits.h> exists even on freestanding compilers.
13579 # On the NeXT, cc -E runs the code through the compiler's parser,
13580 # not just through cpp. "Syntax error" is here to catch this case.
13581 cat >conftest.$ac_ext <<_ACEOF
13582 /* confdefs.h. */
13583 _ACEOF
13584 cat confdefs.h >>conftest.$ac_ext
13585 cat >>conftest.$ac_ext <<_ACEOF
13586 /* end confdefs.h. */
13587 #ifdef __STDC__
13588 # include <limits.h>
13589 #else
13590 # include <assert.h>
13591 #endif
13592 Syntax error
13593 _ACEOF
13594 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13595 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13596 ac_status=$?
13597 grep -v '^ *+' conftest.er1 >conftest.err
13598 rm -f conftest.er1
13599 cat conftest.err >&5
13600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13601 (exit $ac_status); } >/dev/null; then
13602 if test -s conftest.err; then
13603 ac_cpp_err=$ac_c_preproc_warn_flag
13604 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13605 else
13606 ac_cpp_err=
13607 fi
13608 else
13609 ac_cpp_err=yes
13610 fi
13611 if test -z "$ac_cpp_err"; then
13612 :
13613 else
13614 echo "$as_me: failed program was:" >&5
13615 sed 's/^/| /' conftest.$ac_ext >&5
13616
13617 # Broken: fails on valid input.
13618 continue
13619 fi
13620 rm -f conftest.err conftest.$ac_ext
13621
13622 # OK, works on sane cases. Now check whether non-existent headers
13623 # can be detected and how.
13624 cat >conftest.$ac_ext <<_ACEOF
13625 /* confdefs.h. */
13626 _ACEOF
13627 cat confdefs.h >>conftest.$ac_ext
13628 cat >>conftest.$ac_ext <<_ACEOF
13629 /* end confdefs.h. */
13630 #include <ac_nonexistent.h>
13631 _ACEOF
13632 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
13633 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
13634 ac_status=$?
13635 grep -v '^ *+' conftest.er1 >conftest.err
13636 rm -f conftest.er1
13637 cat conftest.err >&5
13638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13639 (exit $ac_status); } >/dev/null; then
13640 if test -s conftest.err; then
13641 ac_cpp_err=$ac_c_preproc_warn_flag
13642 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
13643 else
13644 ac_cpp_err=
13645 fi
13646 else
13647 ac_cpp_err=yes
13648 fi
13649 if test -z "$ac_cpp_err"; then
13650 # Broken: success on invalid input.
13651 continue
13652 else
13653 echo "$as_me: failed program was:" >&5
13654 sed 's/^/| /' conftest.$ac_ext >&5
13655
13656 # Passes both tests.
13657 ac_preproc_ok=:
13658 break
13659 fi
13660 rm -f conftest.err conftest.$ac_ext
13661
13662 done
13663 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13664 rm -f conftest.err conftest.$ac_ext
13665 if $ac_preproc_ok; then
13666 :
13667 else
13668 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
13669 See \`config.log' for more details." >&5
13670 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
13671 See \`config.log' for more details." >&2;}
13672 { (exit 1); exit 1; }; }
13673 fi
13674
13675 ac_ext=c
13676 ac_cpp='$CPP $CPPFLAGS'
13677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13680
13681
13682 echo "$as_me:$LINENO: checking for egrep" >&5
13683 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
13684 if test "${ac_cv_prog_egrep+set}" = set; then
13685 echo $ECHO_N "(cached) $ECHO_C" >&6
13686 else
13687 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
13688 then ac_cv_prog_egrep='grep -E'
13689 else ac_cv_prog_egrep='egrep'
13690 fi
13691 fi
13692 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
13693 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
13694 EGREP=$ac_cv_prog_egrep
13695
13696
13697 if test $ac_cv_c_compiler_gnu = yes; then
13698 echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
13699 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6
13700 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
13701 echo $ECHO_N "(cached) $ECHO_C" >&6
13702 else
13703 ac_pattern="Autoconf.*'x'"
13704 cat >conftest.$ac_ext <<_ACEOF
13705 /* confdefs.h. */
13706 _ACEOF
13707 cat confdefs.h >>conftest.$ac_ext
13708 cat >>conftest.$ac_ext <<_ACEOF
13709 /* end confdefs.h. */
13710 #include <sgtty.h>
13711 Autoconf TIOCGETP
13712 _ACEOF
13713 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13714 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13715 ac_cv_prog_gcc_traditional=yes
13716 else
13717 ac_cv_prog_gcc_traditional=no
13718 fi
13719 rm -f conftest*
13720
13721
13722 if test $ac_cv_prog_gcc_traditional = no; then
13723 cat >conftest.$ac_ext <<_ACEOF
13724 /* confdefs.h. */
13725 _ACEOF
13726 cat confdefs.h >>conftest.$ac_ext
13727 cat >>conftest.$ac_ext <<_ACEOF
13728 /* end confdefs.h. */
13729 #include <termio.h>
13730 Autoconf TCGETA
13731 _ACEOF
13732 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13733 $EGREP "$ac_pattern" >/dev/null 2>&1; then
13734 ac_cv_prog_gcc_traditional=yes
13735 fi
13736 rm -f conftest*
13737
13738 fi
13739 fi
13740 echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
13741 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6
13742 if test $ac_cv_prog_gcc_traditional = yes; then
13743 CC="$CC -traditional"
13744 fi
13745 fi
13746
13747
13748 ac_ext=cc
13749 ac_cpp='$CXXCPP $CPPFLAGS'
13750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13753
13754
13755 CXXFLAGS=${CXXFLAGS:=}
13756
13757
13758
13759 ac_ext=cc
13760 ac_cpp='$CXXCPP $CPPFLAGS'
13761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13764 if test -n "$ac_tool_prefix"; then
13765 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13766 do
13767 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13768 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13769 echo "$as_me:$LINENO: checking for $ac_word" >&5
13770 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13771 if test "${ac_cv_prog_CXX+set}" = set; then
13772 echo $ECHO_N "(cached) $ECHO_C" >&6
13773 else
13774 if test -n "$CXX"; then
13775 ac_cv_prog_CXX="$CXX" # Let the user override the test.
13776 else
13777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13778 for as_dir in $PATH
13779 do
13780 IFS=$as_save_IFS
13781 test -z "$as_dir" && as_dir=.
13782 for ac_exec_ext in '' $ac_executable_extensions; do
13783 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13784 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
13785 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13786 break 2
13787 fi
13788 done
13789 done
13790
13791 fi
13792 fi
13793 CXX=$ac_cv_prog_CXX
13794 if test -n "$CXX"; then
13795 echo "$as_me:$LINENO: result: $CXX" >&5
13796 echo "${ECHO_T}$CXX" >&6
13797 else
13798 echo "$as_me:$LINENO: result: no" >&5
13799 echo "${ECHO_T}no" >&6
13800 fi
13801
13802 test -n "$CXX" && break
13803 done
13804 fi
13805 if test -z "$CXX"; then
13806 ac_ct_CXX=$CXX
13807 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
13808 do
13809 # Extract the first word of "$ac_prog", so it can be a program name with args.
13810 set dummy $ac_prog; ac_word=$2
13811 echo "$as_me:$LINENO: checking for $ac_word" >&5
13812 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
13813 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
13814 echo $ECHO_N "(cached) $ECHO_C" >&6
13815 else
13816 if test -n "$ac_ct_CXX"; then
13817 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
13818 else
13819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13820 for as_dir in $PATH
13821 do
13822 IFS=$as_save_IFS
13823 test -z "$as_dir" && as_dir=.
13824 for ac_exec_ext in '' $ac_executable_extensions; do
13825 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
13826 ac_cv_prog_ac_ct_CXX="$ac_prog"
13827 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13828 break 2
13829 fi
13830 done
13831 done
13832
13833 fi
13834 fi
13835 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
13836 if test -n "$ac_ct_CXX"; then
13837 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
13838 echo "${ECHO_T}$ac_ct_CXX" >&6
13839 else
13840 echo "$as_me:$LINENO: result: no" >&5
13841 echo "${ECHO_T}no" >&6
13842 fi
13843
13844 test -n "$ac_ct_CXX" && break
13845 done
13846 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
13847
13848 CXX=$ac_ct_CXX
13849 fi
13850
13851
13852 # Provide some information about the compiler.
13853 echo "$as_me:$LINENO:" \
13854 "checking for C++ compiler version" >&5
13855 ac_compiler=`set X $ac_compile; echo $2`
13856 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
13857 (eval $ac_compiler --version </dev/null >&5) 2>&5
13858 ac_status=$?
13859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13860 (exit $ac_status); }
13861 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
13862 (eval $ac_compiler -v </dev/null >&5) 2>&5
13863 ac_status=$?
13864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13865 (exit $ac_status); }
13866 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
13867 (eval $ac_compiler -V </dev/null >&5) 2>&5
13868 ac_status=$?
13869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13870 (exit $ac_status); }
13871
13872 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
13873 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
13874 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
13875 echo $ECHO_N "(cached) $ECHO_C" >&6
13876 else
13877 cat >conftest.$ac_ext <<_ACEOF
13878 /* confdefs.h. */
13879 _ACEOF
13880 cat confdefs.h >>conftest.$ac_ext
13881 cat >>conftest.$ac_ext <<_ACEOF
13882 /* end confdefs.h. */
13883
13884 int
13885 main ()
13886 {
13887 #ifndef __GNUC__
13888 choke me
13889 #endif
13890
13891 ;
13892 return 0;
13893 }
13894 _ACEOF
13895 rm -f conftest.$ac_objext
13896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13897 (eval $ac_compile) 2>conftest.er1
13898 ac_status=$?
13899 grep -v '^ *+' conftest.er1 >conftest.err
13900 rm -f conftest.er1
13901 cat conftest.err >&5
13902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13903 (exit $ac_status); } &&
13904 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13906 (eval $ac_try) 2>&5
13907 ac_status=$?
13908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13909 (exit $ac_status); }; } &&
13910 { ac_try='test -s conftest.$ac_objext'
13911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13912 (eval $ac_try) 2>&5
13913 ac_status=$?
13914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13915 (exit $ac_status); }; }; then
13916 ac_compiler_gnu=yes
13917 else
13918 echo "$as_me: failed program was:" >&5
13919 sed 's/^/| /' conftest.$ac_ext >&5
13920
13921 ac_compiler_gnu=no
13922 fi
13923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13924 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
13925
13926 fi
13927 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
13928 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
13929 GXX=`test $ac_compiler_gnu = yes && echo yes`
13930 ac_test_CXXFLAGS=${CXXFLAGS+set}
13931 ac_save_CXXFLAGS=$CXXFLAGS
13932 CXXFLAGS="-g"
13933 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
13934 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
13935 if test "${ac_cv_prog_cxx_g+set}" = set; then
13936 echo $ECHO_N "(cached) $ECHO_C" >&6
13937 else
13938 cat >conftest.$ac_ext <<_ACEOF
13939 /* confdefs.h. */
13940 _ACEOF
13941 cat confdefs.h >>conftest.$ac_ext
13942 cat >>conftest.$ac_ext <<_ACEOF
13943 /* end confdefs.h. */
13944
13945 int
13946 main ()
13947 {
13948
13949 ;
13950 return 0;
13951 }
13952 _ACEOF
13953 rm -f conftest.$ac_objext
13954 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13955 (eval $ac_compile) 2>conftest.er1
13956 ac_status=$?
13957 grep -v '^ *+' conftest.er1 >conftest.err
13958 rm -f conftest.er1
13959 cat conftest.err >&5
13960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13961 (exit $ac_status); } &&
13962 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
13963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13964 (eval $ac_try) 2>&5
13965 ac_status=$?
13966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13967 (exit $ac_status); }; } &&
13968 { ac_try='test -s conftest.$ac_objext'
13969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13970 (eval $ac_try) 2>&5
13971 ac_status=$?
13972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13973 (exit $ac_status); }; }; then
13974 ac_cv_prog_cxx_g=yes
13975 else
13976 echo "$as_me: failed program was:" >&5
13977 sed 's/^/| /' conftest.$ac_ext >&5
13978
13979 ac_cv_prog_cxx_g=no
13980 fi
13981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
13982 fi
13983 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
13984 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
13985 if test "$ac_test_CXXFLAGS" = set; then
13986 CXXFLAGS=$ac_save_CXXFLAGS
13987 elif test $ac_cv_prog_cxx_g = yes; then
13988 if test "$GXX" = yes; then
13989 CXXFLAGS="-g -O2"
13990 else
13991 CXXFLAGS="-g"
13992 fi
13993 else
13994 if test "$GXX" = yes; then
13995 CXXFLAGS="-O2"
13996 else
13997 CXXFLAGS=
13998 fi
13999 fi
14000 for ac_declaration in \
14001 '' \
14002 'extern "C" void std::exit (int) throw (); using std::exit;' \
14003 'extern "C" void std::exit (int); using std::exit;' \
14004 'extern "C" void exit (int) throw ();' \
14005 'extern "C" void exit (int);' \
14006 'void exit (int);'
14007 do
14008 cat >conftest.$ac_ext <<_ACEOF
14009 /* confdefs.h. */
14010 _ACEOF
14011 cat confdefs.h >>conftest.$ac_ext
14012 cat >>conftest.$ac_ext <<_ACEOF
14013 /* end confdefs.h. */
14014 $ac_declaration
14015 #include <stdlib.h>
14016 int
14017 main ()
14018 {
14019 exit (42);
14020 ;
14021 return 0;
14022 }
14023 _ACEOF
14024 rm -f conftest.$ac_objext
14025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14026 (eval $ac_compile) 2>conftest.er1
14027 ac_status=$?
14028 grep -v '^ *+' conftest.er1 >conftest.err
14029 rm -f conftest.er1
14030 cat conftest.err >&5
14031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14032 (exit $ac_status); } &&
14033 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14035 (eval $ac_try) 2>&5
14036 ac_status=$?
14037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14038 (exit $ac_status); }; } &&
14039 { ac_try='test -s conftest.$ac_objext'
14040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14041 (eval $ac_try) 2>&5
14042 ac_status=$?
14043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14044 (exit $ac_status); }; }; then
14045 :
14046 else
14047 echo "$as_me: failed program was:" >&5
14048 sed 's/^/| /' conftest.$ac_ext >&5
14049
14050 continue
14051 fi
14052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14053 cat >conftest.$ac_ext <<_ACEOF
14054 /* confdefs.h. */
14055 _ACEOF
14056 cat confdefs.h >>conftest.$ac_ext
14057 cat >>conftest.$ac_ext <<_ACEOF
14058 /* end confdefs.h. */
14059 $ac_declaration
14060 int
14061 main ()
14062 {
14063 exit (42);
14064 ;
14065 return 0;
14066 }
14067 _ACEOF
14068 rm -f conftest.$ac_objext
14069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14070 (eval $ac_compile) 2>conftest.er1
14071 ac_status=$?
14072 grep -v '^ *+' conftest.er1 >conftest.err
14073 rm -f conftest.er1
14074 cat conftest.err >&5
14075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14076 (exit $ac_status); } &&
14077 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14079 (eval $ac_try) 2>&5
14080 ac_status=$?
14081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14082 (exit $ac_status); }; } &&
14083 { ac_try='test -s conftest.$ac_objext'
14084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14085 (eval $ac_try) 2>&5
14086 ac_status=$?
14087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14088 (exit $ac_status); }; }; then
14089 break
14090 else
14091 echo "$as_me: failed program was:" >&5
14092 sed 's/^/| /' conftest.$ac_ext >&5
14093
14094 fi
14095 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14096 done
14097 rm -f conftest*
14098 if test -n "$ac_declaration"; then
14099 echo '#ifdef __cplusplus' >>confdefs.h
14100 echo $ac_declaration >>confdefs.h
14101 echo '#endif' >>confdefs.h
14102 fi
14103
14104 ac_ext=cc
14105 ac_cpp='$CXXCPP $CPPFLAGS'
14106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14109
14110
14111
14112 ac_ext=cc
14113 ac_cpp='$CXXCPP $CPPFLAGS'
14114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14117
14118 echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
14119 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6
14120 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
14121 echo $ECHO_N "(cached) $ECHO_C" >&6
14122 else
14123 cat >conftest.$ac_ext <<_ACEOF
14124 /* confdefs.h. */
14125 _ACEOF
14126 cat confdefs.h >>conftest.$ac_ext
14127 cat >>conftest.$ac_ext <<_ACEOF
14128 /* end confdefs.h. */
14129
14130 int
14131 main ()
14132 {
14133
14134 #ifndef __INTEL_COMPILER
14135 choke me
14136 #endif
14137
14138 ;
14139 return 0;
14140 }
14141 _ACEOF
14142 rm -f conftest.$ac_objext
14143 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14144 (eval $ac_compile) 2>conftest.er1
14145 ac_status=$?
14146 grep -v '^ *+' conftest.er1 >conftest.err
14147 rm -f conftest.er1
14148 cat conftest.err >&5
14149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14150 (exit $ac_status); } &&
14151 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14153 (eval $ac_try) 2>&5
14154 ac_status=$?
14155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14156 (exit $ac_status); }; } &&
14157 { ac_try='test -s conftest.$ac_objext'
14158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14159 (eval $ac_try) 2>&5
14160 ac_status=$?
14161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14162 (exit $ac_status); }; }; then
14163 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
14164 else
14165 echo "$as_me: failed program was:" >&5
14166 sed 's/^/| /' conftest.$ac_ext >&5
14167
14168 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
14169
14170 fi
14171 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14172
14173
14174 fi
14175 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
14176 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6
14177 ac_ext=cc
14178 ac_cpp='$CXXCPP $CPPFLAGS'
14179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14182
14183 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
14184 :; INTELCXX=yes
14185 else
14186 :;
14187 fi
14188
14189
14190 if test "x$GCXX" != "xyes"; then
14191 if test "xCXX" = "xC"; then
14192 echo "$as_me:$LINENO: checking if the C++ compiler requires -ext o" >&5
14193 echo $ECHO_N "checking if the C++ compiler requires -ext o... $ECHO_C" >&6
14194 if test "${bakefile_cv_cxx_exto+set}" = set; then
14195 echo $ECHO_N "(cached) $ECHO_C" >&6
14196 else
14197 cat >conftest.$ac_ext <<_ACEOF
14198 /* confdefs.h. */
14199 _ACEOF
14200 cat confdefs.h >>conftest.$ac_ext
14201 cat >>conftest.$ac_ext <<_ACEOF
14202 /* end confdefs.h. */
14203
14204 int
14205 main ()
14206 {
14207
14208 ;
14209 return 0;
14210 }
14211 _ACEOF
14212 rm -f conftest.$ac_objext conftest.$ac_ext.o
14213 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14214 (eval $ac_compile) 2>&5
14215 ac_status=$?
14216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14217 (exit $ac_status); }; then
14218 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14219 case $ac_file in
14220 conftest.$ac_ext.o)
14221 bakefile_cv_cxx_exto="-ext o"
14222 ;;
14223 *)
14224 ;;
14225 esac
14226 done
14227 else
14228 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14229 See \`config.log' for more details." >&5
14230 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14231 See \`config.log' for more details." >&2;}
14232 { (exit 1); exit 1; }; }
14233
14234 fi
14235
14236 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14237
14238 fi
14239 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_exto" >&5
14240 echo "${ECHO_T}$bakefile_cv_cxx_exto" >&6
14241 if test "x$bakefile_cv_cxx_exto" '!=' "x"; then
14242 if test "cxx" = "c"; then
14243 CFLAGS="$bakefile_cv_cxx_exto $CFLAGS"
14244 fi
14245 if test "cxx" = "cxx"; then
14246 CXXFLAGS="$bakefile_cv_cxx_exto $CXXFLAGS"
14247 fi
14248 fi
14249
14250 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14251 unset ac_cv_prog_cc_g
14252 ac_test_CFLAGS=${CFLAGS+set}
14253 ac_save_CFLAGS=$CFLAGS
14254 CFLAGS="-g"
14255 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14256 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
14257 if test "${ac_cv_prog_cc_g+set}" = set; then
14258 echo $ECHO_N "(cached) $ECHO_C" >&6
14259 else
14260 cat >conftest.$ac_ext <<_ACEOF
14261 /* confdefs.h. */
14262 _ACEOF
14263 cat confdefs.h >>conftest.$ac_ext
14264 cat >>conftest.$ac_ext <<_ACEOF
14265 /* end confdefs.h. */
14266
14267 int
14268 main ()
14269 {
14270
14271 ;
14272 return 0;
14273 }
14274 _ACEOF
14275 rm -f conftest.$ac_objext
14276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14277 (eval $ac_compile) 2>conftest.er1
14278 ac_status=$?
14279 grep -v '^ *+' conftest.er1 >conftest.err
14280 rm -f conftest.er1
14281 cat conftest.err >&5
14282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14283 (exit $ac_status); } &&
14284 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14286 (eval $ac_try) 2>&5
14287 ac_status=$?
14288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14289 (exit $ac_status); }; } &&
14290 { ac_try='test -s conftest.$ac_objext'
14291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14292 (eval $ac_try) 2>&5
14293 ac_status=$?
14294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14295 (exit $ac_status); }; }; then
14296 ac_cv_prog_cc_g=yes
14297 else
14298 echo "$as_me: failed program was:" >&5
14299 sed 's/^/| /' conftest.$ac_ext >&5
14300
14301 ac_cv_prog_cc_g=no
14302 fi
14303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14304 fi
14305 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14306 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
14307 if test "$ac_test_CFLAGS" = set; then
14308 CFLAGS=$ac_save_CFLAGS
14309 elif test $ac_cv_prog_cc_g = yes; then
14310 if test "$GCC" = yes; then
14311 CFLAGS="-g -O2"
14312 else
14313 CFLAGS="-g"
14314 fi
14315 else
14316 if test "$GCC" = yes; then
14317 CFLAGS="-O2"
14318 else
14319 CFLAGS=
14320 fi
14321 fi
14322 fi
14323 fi
14324
14325 case `uname -s` in
14326 AIX*)
14327 ac_ext=cc
14328 ac_cpp='$CXXCPP $CPPFLAGS'
14329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14332
14333 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14334 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14335 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14336 echo $ECHO_N "(cached) $ECHO_C" >&6
14337 else
14338 cat >conftest.$ac_ext <<_ACEOF
14339 /* confdefs.h. */
14340 _ACEOF
14341 cat confdefs.h >>conftest.$ac_ext
14342 cat >>conftest.$ac_ext <<_ACEOF
14343 /* end confdefs.h. */
14344
14345 int
14346 main ()
14347 {
14348 #ifndef __xlC__
14349 choke me
14350 #endif
14351
14352 ;
14353 return 0;
14354 }
14355 _ACEOF
14356 rm -f conftest.$ac_objext
14357 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14358 (eval $ac_compile) 2>conftest.er1
14359 ac_status=$?
14360 grep -v '^ *+' conftest.er1 >conftest.err
14361 rm -f conftest.er1
14362 cat conftest.err >&5
14363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14364 (exit $ac_status); } &&
14365 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14367 (eval $ac_try) 2>&5
14368 ac_status=$?
14369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14370 (exit $ac_status); }; } &&
14371 { ac_try='test -s conftest.$ac_objext'
14372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14373 (eval $ac_try) 2>&5
14374 ac_status=$?
14375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14376 (exit $ac_status); }; }; then
14377 bakefile_compiler_xlc=yes
14378 else
14379 echo "$as_me: failed program was:" >&5
14380 sed 's/^/| /' conftest.$ac_ext >&5
14381
14382 bakefile_compiler_xlc=no
14383 fi
14384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14385 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14386
14387 fi
14388 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14389 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14390
14391 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14392 ac_ext=cc
14393 ac_cpp='$CXXCPP $CPPFLAGS'
14394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14397
14398
14399 ;;
14400
14401 Darwin)
14402 ac_ext=cc
14403 ac_cpp='$CXXCPP $CPPFLAGS'
14404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14407
14408 echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
14409 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6
14410 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
14411 echo $ECHO_N "(cached) $ECHO_C" >&6
14412 else
14413 cat >conftest.$ac_ext <<_ACEOF
14414 /* confdefs.h. */
14415 _ACEOF
14416 cat confdefs.h >>conftest.$ac_ext
14417 cat >>conftest.$ac_ext <<_ACEOF
14418 /* end confdefs.h. */
14419
14420 int
14421 main ()
14422 {
14423 #ifndef __MWERKS__
14424 choke me
14425 #endif
14426
14427 ;
14428 return 0;
14429 }
14430 _ACEOF
14431 rm -f conftest.$ac_objext
14432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14433 (eval $ac_compile) 2>conftest.er1
14434 ac_status=$?
14435 grep -v '^ *+' conftest.er1 >conftest.err
14436 rm -f conftest.er1
14437 cat conftest.err >&5
14438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14439 (exit $ac_status); } &&
14440 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14442 (eval $ac_try) 2>&5
14443 ac_status=$?
14444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14445 (exit $ac_status); }; } &&
14446 { ac_try='test -s conftest.$ac_objext'
14447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14448 (eval $ac_try) 2>&5
14449 ac_status=$?
14450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14451 (exit $ac_status); }; }; then
14452 bakefile_compiler_mwerks=yes
14453 else
14454 echo "$as_me: failed program was:" >&5
14455 sed 's/^/| /' conftest.$ac_ext >&5
14456
14457 bakefile_compiler_mwerks=no
14458 fi
14459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14460 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
14461
14462 fi
14463 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
14464 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6
14465
14466 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
14467 ac_ext=cc
14468 ac_cpp='$CXXCPP $CPPFLAGS'
14469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14472
14473
14474 ac_ext=cc
14475 ac_cpp='$CXXCPP $CPPFLAGS'
14476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14479
14480 echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
14481 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6
14482 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
14483 echo $ECHO_N "(cached) $ECHO_C" >&6
14484 else
14485 cat >conftest.$ac_ext <<_ACEOF
14486 /* confdefs.h. */
14487 _ACEOF
14488 cat confdefs.h >>conftest.$ac_ext
14489 cat >>conftest.$ac_ext <<_ACEOF
14490 /* end confdefs.h. */
14491
14492 int
14493 main ()
14494 {
14495 #ifndef __xlC__
14496 choke me
14497 #endif
14498
14499 ;
14500 return 0;
14501 }
14502 _ACEOF
14503 rm -f conftest.$ac_objext
14504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14505 (eval $ac_compile) 2>conftest.er1
14506 ac_status=$?
14507 grep -v '^ *+' conftest.er1 >conftest.err
14508 rm -f conftest.er1
14509 cat conftest.err >&5
14510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14511 (exit $ac_status); } &&
14512 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14514 (eval $ac_try) 2>&5
14515 ac_status=$?
14516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14517 (exit $ac_status); }; } &&
14518 { ac_try='test -s conftest.$ac_objext'
14519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14520 (eval $ac_try) 2>&5
14521 ac_status=$?
14522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14523 (exit $ac_status); }; }; then
14524 bakefile_compiler_xlc=yes
14525 else
14526 echo "$as_me: failed program was:" >&5
14527 sed 's/^/| /' conftest.$ac_ext >&5
14528
14529 bakefile_compiler_xlc=no
14530 fi
14531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14532 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
14533
14534 fi
14535 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
14536 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6
14537
14538 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
14539 ac_ext=cc
14540 ac_cpp='$CXXCPP $CPPFLAGS'
14541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14544
14545
14546 ;;
14547
14548 IRIX*)
14549
14550
14551 ac_ext=cc
14552 ac_cpp='$CXXCPP $CPPFLAGS'
14553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14556
14557 echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
14558 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6
14559 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
14560 echo $ECHO_N "(cached) $ECHO_C" >&6
14561 else
14562 cat >conftest.$ac_ext <<_ACEOF
14563 /* confdefs.h. */
14564 _ACEOF
14565 cat confdefs.h >>conftest.$ac_ext
14566 cat >>conftest.$ac_ext <<_ACEOF
14567 /* end confdefs.h. */
14568
14569 int
14570 main ()
14571 {
14572
14573 #ifndef _SGI_COMPILER_VERSION
14574 choke me
14575 #endif
14576
14577 ;
14578 return 0;
14579 }
14580 _ACEOF
14581 rm -f conftest.$ac_objext
14582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14583 (eval $ac_compile) 2>conftest.er1
14584 ac_status=$?
14585 grep -v '^ *+' conftest.er1 >conftest.err
14586 rm -f conftest.er1
14587 cat conftest.err >&5
14588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14589 (exit $ac_status); } &&
14590 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14592 (eval $ac_try) 2>&5
14593 ac_status=$?
14594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14595 (exit $ac_status); }; } &&
14596 { ac_try='test -s conftest.$ac_objext'
14597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14598 (eval $ac_try) 2>&5
14599 ac_status=$?
14600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14601 (exit $ac_status); }; }; then
14602 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
14603 else
14604 echo "$as_me: failed program was:" >&5
14605 sed 's/^/| /' conftest.$ac_ext >&5
14606
14607 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
14608
14609 fi
14610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14611
14612
14613 fi
14614 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
14615 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6
14616 ac_ext=cc
14617 ac_cpp='$CXXCPP $CPPFLAGS'
14618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14621
14622 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14623 :; SGICXX=yes
14624 else
14625 :;
14626 fi
14627
14628
14629 ;;
14630
14631 HP-UX*)
14632
14633
14634 ac_ext=cc
14635 ac_cpp='$CXXCPP $CPPFLAGS'
14636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14639
14640 echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
14641 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6
14642 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
14643 echo $ECHO_N "(cached) $ECHO_C" >&6
14644 else
14645 cat >conftest.$ac_ext <<_ACEOF
14646 /* confdefs.h. */
14647 _ACEOF
14648 cat confdefs.h >>conftest.$ac_ext
14649 cat >>conftest.$ac_ext <<_ACEOF
14650 /* end confdefs.h. */
14651
14652 int
14653 main ()
14654 {
14655
14656 #ifndef __HP_aCC
14657 choke me
14658 #endif
14659
14660 ;
14661 return 0;
14662 }
14663 _ACEOF
14664 rm -f conftest.$ac_objext
14665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14666 (eval $ac_compile) 2>conftest.er1
14667 ac_status=$?
14668 grep -v '^ *+' conftest.er1 >conftest.err
14669 rm -f conftest.er1
14670 cat conftest.err >&5
14671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14672 (exit $ac_status); } &&
14673 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14675 (eval $ac_try) 2>&5
14676 ac_status=$?
14677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14678 (exit $ac_status); }; } &&
14679 { ac_try='test -s conftest.$ac_objext'
14680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14681 (eval $ac_try) 2>&5
14682 ac_status=$?
14683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14684 (exit $ac_status); }; }; then
14685 bakefile_cv_cxx_compiler___HP_aCC=yes
14686 else
14687 echo "$as_me: failed program was:" >&5
14688 sed 's/^/| /' conftest.$ac_ext >&5
14689
14690 bakefile_cv_cxx_compiler___HP_aCC=no
14691
14692 fi
14693 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14694
14695
14696 fi
14697 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
14698 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6
14699 ac_ext=cc
14700 ac_cpp='$CXXCPP $CPPFLAGS'
14701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14704
14705 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
14706 :; HPCXX=yes
14707 else
14708 :;
14709 fi
14710
14711
14712 ;;
14713
14714 OSF1)
14715
14716
14717 ac_ext=cc
14718 ac_cpp='$CXXCPP $CPPFLAGS'
14719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14722
14723 echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
14724 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6
14725 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
14726 echo $ECHO_N "(cached) $ECHO_C" >&6
14727 else
14728 cat >conftest.$ac_ext <<_ACEOF
14729 /* confdefs.h. */
14730 _ACEOF
14731 cat confdefs.h >>conftest.$ac_ext
14732 cat >>conftest.$ac_ext <<_ACEOF
14733 /* end confdefs.h. */
14734
14735 int
14736 main ()
14737 {
14738
14739 #ifndef __DECCXX
14740 choke me
14741 #endif
14742
14743 ;
14744 return 0;
14745 }
14746 _ACEOF
14747 rm -f conftest.$ac_objext
14748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14749 (eval $ac_compile) 2>conftest.er1
14750 ac_status=$?
14751 grep -v '^ *+' conftest.er1 >conftest.err
14752 rm -f conftest.er1
14753 cat conftest.err >&5
14754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14755 (exit $ac_status); } &&
14756 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14758 (eval $ac_try) 2>&5
14759 ac_status=$?
14760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14761 (exit $ac_status); }; } &&
14762 { ac_try='test -s conftest.$ac_objext'
14763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14764 (eval $ac_try) 2>&5
14765 ac_status=$?
14766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14767 (exit $ac_status); }; }; then
14768 bakefile_cv_cxx_compiler___DECCXX=yes
14769 else
14770 echo "$as_me: failed program was:" >&5
14771 sed 's/^/| /' conftest.$ac_ext >&5
14772
14773 bakefile_cv_cxx_compiler___DECCXX=no
14774
14775 fi
14776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14777
14778
14779 fi
14780 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
14781 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6
14782 ac_ext=cc
14783 ac_cpp='$CXXCPP $CPPFLAGS'
14784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14787
14788 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
14789 :; COMPAQCXX=yes
14790 else
14791 :;
14792 fi
14793
14794
14795 ;;
14796
14797 SunOS)
14798
14799
14800 ac_ext=cc
14801 ac_cpp='$CXXCPP $CPPFLAGS'
14802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14805
14806 echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
14807 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6
14808 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
14809 echo $ECHO_N "(cached) $ECHO_C" >&6
14810 else
14811 cat >conftest.$ac_ext <<_ACEOF
14812 /* confdefs.h. */
14813 _ACEOF
14814 cat confdefs.h >>conftest.$ac_ext
14815 cat >>conftest.$ac_ext <<_ACEOF
14816 /* end confdefs.h. */
14817
14818 int
14819 main ()
14820 {
14821
14822 #ifndef __SUNPRO_CC
14823 choke me
14824 #endif
14825
14826 ;
14827 return 0;
14828 }
14829 _ACEOF
14830 rm -f conftest.$ac_objext
14831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14832 (eval $ac_compile) 2>conftest.er1
14833 ac_status=$?
14834 grep -v '^ *+' conftest.er1 >conftest.err
14835 rm -f conftest.er1
14836 cat conftest.err >&5
14837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14838 (exit $ac_status); } &&
14839 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
14840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14841 (eval $ac_try) 2>&5
14842 ac_status=$?
14843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14844 (exit $ac_status); }; } &&
14845 { ac_try='test -s conftest.$ac_objext'
14846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14847 (eval $ac_try) 2>&5
14848 ac_status=$?
14849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14850 (exit $ac_status); }; }; then
14851 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
14852 else
14853 echo "$as_me: failed program was:" >&5
14854 sed 's/^/| /' conftest.$ac_ext >&5
14855
14856 bakefile_cv_cxx_compiler___SUNPRO_CC=no
14857
14858 fi
14859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14860
14861
14862 fi
14863 echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
14864 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6
14865 ac_ext=cc
14866 ac_cpp='$CXXCPP $CPPFLAGS'
14867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14870
14871 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
14872 :; SUNCXX=yes
14873 else
14874 :;
14875 fi
14876
14877
14878 ;;
14879 esac
14880 fi
14881
14882
14883
14884 if test -n "$ac_tool_prefix"; then
14885 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
14886 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
14887 echo "$as_me:$LINENO: checking for $ac_word" >&5
14888 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14889 if test "${ac_cv_prog_RANLIB+set}" = set; then
14890 echo $ECHO_N "(cached) $ECHO_C" >&6
14891 else
14892 if test -n "$RANLIB"; then
14893 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
14894 else
14895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14896 for as_dir in $PATH
14897 do
14898 IFS=$as_save_IFS
14899 test -z "$as_dir" && as_dir=.
14900 for ac_exec_ext in '' $ac_executable_extensions; do
14901 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14902 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
14903 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14904 break 2
14905 fi
14906 done
14907 done
14908
14909 fi
14910 fi
14911 RANLIB=$ac_cv_prog_RANLIB
14912 if test -n "$RANLIB"; then
14913 echo "$as_me:$LINENO: result: $RANLIB" >&5
14914 echo "${ECHO_T}$RANLIB" >&6
14915 else
14916 echo "$as_me:$LINENO: result: no" >&5
14917 echo "${ECHO_T}no" >&6
14918 fi
14919
14920 fi
14921 if test -z "$ac_cv_prog_RANLIB"; then
14922 ac_ct_RANLIB=$RANLIB
14923 # Extract the first word of "ranlib", so it can be a program name with args.
14924 set dummy ranlib; ac_word=$2
14925 echo "$as_me:$LINENO: checking for $ac_word" >&5
14926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14927 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
14928 echo $ECHO_N "(cached) $ECHO_C" >&6
14929 else
14930 if test -n "$ac_ct_RANLIB"; then
14931 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
14932 else
14933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14934 for as_dir in $PATH
14935 do
14936 IFS=$as_save_IFS
14937 test -z "$as_dir" && as_dir=.
14938 for ac_exec_ext in '' $ac_executable_extensions; do
14939 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14940 ac_cv_prog_ac_ct_RANLIB="ranlib"
14941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14942 break 2
14943 fi
14944 done
14945 done
14946
14947 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
14948 fi
14949 fi
14950 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
14951 if test -n "$ac_ct_RANLIB"; then
14952 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
14953 echo "${ECHO_T}$ac_ct_RANLIB" >&6
14954 else
14955 echo "$as_me:$LINENO: result: no" >&5
14956 echo "${ECHO_T}no" >&6
14957 fi
14958
14959 RANLIB=$ac_ct_RANLIB
14960 else
14961 RANLIB="$ac_cv_prog_RANLIB"
14962 fi
14963
14964
14965 if test -n "$ac_tool_prefix"; then
14966 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
14967 set dummy ${ac_tool_prefix}ar; ac_word=$2
14968 echo "$as_me:$LINENO: checking for $ac_word" >&5
14969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14970 if test "${ac_cv_prog_AR+set}" = set; then
14971 echo $ECHO_N "(cached) $ECHO_C" >&6
14972 else
14973 if test -n "$AR"; then
14974 ac_cv_prog_AR="$AR" # Let the user override the test.
14975 else
14976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14977 for as_dir in $PATH
14978 do
14979 IFS=$as_save_IFS
14980 test -z "$as_dir" && as_dir=.
14981 for ac_exec_ext in '' $ac_executable_extensions; do
14982 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14983 ac_cv_prog_AR="${ac_tool_prefix}ar"
14984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14985 break 2
14986 fi
14987 done
14988 done
14989
14990 fi
14991 fi
14992 AR=$ac_cv_prog_AR
14993 if test -n "$AR"; then
14994 echo "$as_me:$LINENO: result: $AR" >&5
14995 echo "${ECHO_T}$AR" >&6
14996 else
14997 echo "$as_me:$LINENO: result: no" >&5
14998 echo "${ECHO_T}no" >&6
14999 fi
15000
15001 fi
15002 if test -z "$ac_cv_prog_AR"; then
15003 ac_ct_AR=$AR
15004 # Extract the first word of "ar", so it can be a program name with args.
15005 set dummy ar; ac_word=$2
15006 echo "$as_me:$LINENO: checking for $ac_word" >&5
15007 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15008 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
15009 echo $ECHO_N "(cached) $ECHO_C" >&6
15010 else
15011 if test -n "$ac_ct_AR"; then
15012 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
15013 else
15014 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15015 for as_dir in $PATH
15016 do
15017 IFS=$as_save_IFS
15018 test -z "$as_dir" && as_dir=.
15019 for ac_exec_ext in '' $ac_executable_extensions; do
15020 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15021 ac_cv_prog_ac_ct_AR="ar"
15022 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15023 break 2
15024 fi
15025 done
15026 done
15027
15028 fi
15029 fi
15030 ac_ct_AR=$ac_cv_prog_ac_ct_AR
15031 if test -n "$ac_ct_AR"; then
15032 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
15033 echo "${ECHO_T}$ac_ct_AR" >&6
15034 else
15035 echo "$as_me:$LINENO: result: no" >&5
15036 echo "${ECHO_T}no" >&6
15037 fi
15038
15039 AR=$ac_ct_AR
15040 else
15041 AR="$ac_cv_prog_AR"
15042 fi
15043
15044 if test "x$AR" = "x" ; then
15045 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
15046 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
15047 { (exit 1); exit 1; }; }
15048 fi
15049
15050 # Find a good install program. We prefer a C program (faster),
15051 # so one script is as good as another. But avoid the broken or
15052 # incompatible versions:
15053 # SysV /etc/install, /usr/sbin/install
15054 # SunOS /usr/etc/install
15055 # IRIX /sbin/install
15056 # AIX /bin/install
15057 # AmigaOS /C/install, which installs bootblocks on floppy discs
15058 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
15059 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
15060 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
15061 # OS/2's system install, which has a completely different semantic
15062 # ./install, which can be erroneously created by make from ./install.sh.
15063 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
15064 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
15065 if test -z "$INSTALL"; then
15066 if test "${ac_cv_path_install+set}" = set; then
15067 echo $ECHO_N "(cached) $ECHO_C" >&6
15068 else
15069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15070 for as_dir in $PATH
15071 do
15072 IFS=$as_save_IFS
15073 test -z "$as_dir" && as_dir=.
15074 # Account for people who put trailing slashes in PATH elements.
15075 case $as_dir/ in
15076 ./ | .// | /cC/* | \
15077 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
15078 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
15079 /usr/ucb/* ) ;;
15080 *)
15081 # OSF1 and SCO ODT 3.0 have their own names for install.
15082 # Don't use installbsd from OSF since it installs stuff as root
15083 # by default.
15084 for ac_prog in ginstall scoinst install; do
15085 for ac_exec_ext in '' $ac_executable_extensions; do
15086 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
15087 if test $ac_prog = install &&
15088 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15089 # AIX install. It has an incompatible calling convention.
15090 :
15091 elif test $ac_prog = install &&
15092 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
15093 # program-specific install script used by HP pwplus--don't use.
15094 :
15095 else
15096 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
15097 break 3
15098 fi
15099 fi
15100 done
15101 done
15102 ;;
15103 esac
15104 done
15105
15106
15107 fi
15108 if test "${ac_cv_path_install+set}" = set; then
15109 INSTALL=$ac_cv_path_install
15110 else
15111 # As a last resort, use the slow shell script. We don't cache a
15112 # path for INSTALL within a source directory, because that will
15113 # break other packages using the cache if that directory is
15114 # removed, or if the path is relative.
15115 INSTALL=$ac_install_sh
15116 fi
15117 fi
15118 echo "$as_me:$LINENO: result: $INSTALL" >&5
15119 echo "${ECHO_T}$INSTALL" >&6
15120
15121 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
15122 # It thinks the first close brace ends the variable substitution.
15123 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
15124
15125 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
15126
15127 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
15128
15129
15130 case ${INSTALL} in
15131 /* ) # Absolute
15132 ;;
15133 ?:* ) # Drive letter, considered as absolute.
15134 ;;
15135 *)
15136 INSTALL=`pwd`/${INSTALL} ;;
15137 esac
15138
15139
15140 case "${host}" in
15141
15142 *-*-darwin* )
15143 INSTALL_PROGRAM="cp -fp"
15144 INSTALL_DATA="cp -fp"
15145 ;;
15146 *)
15147 ;;
15148 esac
15149
15150 if test -n "$ac_tool_prefix"; then
15151 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
15152 set dummy ${ac_tool_prefix}strip; ac_word=$2
15153 echo "$as_me:$LINENO: checking for $ac_word" >&5
15154 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15155 if test "${ac_cv_prog_STRIP+set}" = set; then
15156 echo $ECHO_N "(cached) $ECHO_C" >&6
15157 else
15158 if test -n "$STRIP"; then
15159 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
15160 else
15161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15162 for as_dir in $PATH
15163 do
15164 IFS=$as_save_IFS
15165 test -z "$as_dir" && as_dir=.
15166 for ac_exec_ext in '' $ac_executable_extensions; do
15167 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15168 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
15169 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15170 break 2
15171 fi
15172 done
15173 done
15174
15175 fi
15176 fi
15177 STRIP=$ac_cv_prog_STRIP
15178 if test -n "$STRIP"; then
15179 echo "$as_me:$LINENO: result: $STRIP" >&5
15180 echo "${ECHO_T}$STRIP" >&6
15181 else
15182 echo "$as_me:$LINENO: result: no" >&5
15183 echo "${ECHO_T}no" >&6
15184 fi
15185
15186 fi
15187 if test -z "$ac_cv_prog_STRIP"; then
15188 ac_ct_STRIP=$STRIP
15189 # Extract the first word of "strip", so it can be a program name with args.
15190 set dummy strip; ac_word=$2
15191 echo "$as_me:$LINENO: checking for $ac_word" >&5
15192 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15193 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
15194 echo $ECHO_N "(cached) $ECHO_C" >&6
15195 else
15196 if test -n "$ac_ct_STRIP"; then
15197 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
15198 else
15199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15200 for as_dir in $PATH
15201 do
15202 IFS=$as_save_IFS
15203 test -z "$as_dir" && as_dir=.
15204 for ac_exec_ext in '' $ac_executable_extensions; do
15205 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15206 ac_cv_prog_ac_ct_STRIP="strip"
15207 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15208 break 2
15209 fi
15210 done
15211 done
15212
15213 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP="true"
15214 fi
15215 fi
15216 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
15217 if test -n "$ac_ct_STRIP"; then
15218 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
15219 echo "${ECHO_T}$ac_ct_STRIP" >&6
15220 else
15221 echo "$as_me:$LINENO: result: no" >&5
15222 echo "${ECHO_T}no" >&6
15223 fi
15224
15225 STRIP=$ac_ct_STRIP
15226 else
15227 STRIP="$ac_cv_prog_STRIP"
15228 fi
15229
15230
15231 if test "$wxUSE_WINE" = "yes"; then
15232 if test -n "$ac_tool_prefix"; then
15233 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
15234 set dummy ${ac_tool_prefix}wrc; ac_word=$2
15235 echo "$as_me:$LINENO: checking for $ac_word" >&5
15236 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15237 if test "${ac_cv_prog_WINDRES+set}" = set; then
15238 echo $ECHO_N "(cached) $ECHO_C" >&6
15239 else
15240 if test -n "$WINDRES"; then
15241 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15242 else
15243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15244 for as_dir in $PATH
15245 do
15246 IFS=$as_save_IFS
15247 test -z "$as_dir" && as_dir=.
15248 for ac_exec_ext in '' $ac_executable_extensions; do
15249 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15250 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
15251 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15252 break 2
15253 fi
15254 done
15255 done
15256
15257 fi
15258 fi
15259 WINDRES=$ac_cv_prog_WINDRES
15260 if test -n "$WINDRES"; then
15261 echo "$as_me:$LINENO: result: $WINDRES" >&5
15262 echo "${ECHO_T}$WINDRES" >&6
15263 else
15264 echo "$as_me:$LINENO: result: no" >&5
15265 echo "${ECHO_T}no" >&6
15266 fi
15267
15268 fi
15269 if test -z "$ac_cv_prog_WINDRES"; then
15270 ac_ct_WINDRES=$WINDRES
15271 # Extract the first word of "wrc", so it can be a program name with args.
15272 set dummy wrc; ac_word=$2
15273 echo "$as_me:$LINENO: checking for $ac_word" >&5
15274 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15275 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15276 echo $ECHO_N "(cached) $ECHO_C" >&6
15277 else
15278 if test -n "$ac_ct_WINDRES"; then
15279 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15280 else
15281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15282 for as_dir in $PATH
15283 do
15284 IFS=$as_save_IFS
15285 test -z "$as_dir" && as_dir=.
15286 for ac_exec_ext in '' $ac_executable_extensions; do
15287 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15288 ac_cv_prog_ac_ct_WINDRES="wrc"
15289 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15290 break 2
15291 fi
15292 done
15293 done
15294
15295 fi
15296 fi
15297 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15298 if test -n "$ac_ct_WINDRES"; then
15299 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15300 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15301 else
15302 echo "$as_me:$LINENO: result: no" >&5
15303 echo "${ECHO_T}no" >&6
15304 fi
15305
15306 WINDRES=$ac_ct_WINDRES
15307 else
15308 WINDRES="$ac_cv_prog_WINDRES"
15309 fi
15310
15311 RESCOMP="$WINDRES"
15312 else
15313 case "${host}" in
15314 *-*-cygwin* | *-*-mingw32* )
15315 if test -n "$ac_tool_prefix"; then
15316 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
15317 set dummy ${ac_tool_prefix}windres; ac_word=$2
15318 echo "$as_me:$LINENO: checking for $ac_word" >&5
15319 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15320 if test "${ac_cv_prog_WINDRES+set}" = set; then
15321 echo $ECHO_N "(cached) $ECHO_C" >&6
15322 else
15323 if test -n "$WINDRES"; then
15324 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
15325 else
15326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15327 for as_dir in $PATH
15328 do
15329 IFS=$as_save_IFS
15330 test -z "$as_dir" && as_dir=.
15331 for ac_exec_ext in '' $ac_executable_extensions; do
15332 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15333 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
15334 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15335 break 2
15336 fi
15337 done
15338 done
15339
15340 fi
15341 fi
15342 WINDRES=$ac_cv_prog_WINDRES
15343 if test -n "$WINDRES"; then
15344 echo "$as_me:$LINENO: result: $WINDRES" >&5
15345 echo "${ECHO_T}$WINDRES" >&6
15346 else
15347 echo "$as_me:$LINENO: result: no" >&5
15348 echo "${ECHO_T}no" >&6
15349 fi
15350
15351 fi
15352 if test -z "$ac_cv_prog_WINDRES"; then
15353 ac_ct_WINDRES=$WINDRES
15354 # Extract the first word of "windres", so it can be a program name with args.
15355 set dummy windres; ac_word=$2
15356 echo "$as_me:$LINENO: checking for $ac_word" >&5
15357 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15358 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
15359 echo $ECHO_N "(cached) $ECHO_C" >&6
15360 else
15361 if test -n "$ac_ct_WINDRES"; then
15362 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
15363 else
15364 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15365 for as_dir in $PATH
15366 do
15367 IFS=$as_save_IFS
15368 test -z "$as_dir" && as_dir=.
15369 for ac_exec_ext in '' $ac_executable_extensions; do
15370 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15371 ac_cv_prog_ac_ct_WINDRES="windres"
15372 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15373 break 2
15374 fi
15375 done
15376 done
15377
15378 fi
15379 fi
15380 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
15381 if test -n "$ac_ct_WINDRES"; then
15382 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
15383 echo "${ECHO_T}$ac_ct_WINDRES" >&6
15384 else
15385 echo "$as_me:$LINENO: result: no" >&5
15386 echo "${ECHO_T}no" >&6
15387 fi
15388
15389 WINDRES=$ac_ct_WINDRES
15390 else
15391 WINDRES="$ac_cv_prog_WINDRES"
15392 fi
15393
15394 RESCOMP="$WINDRES"
15395 if test -n "$ac_tool_prefix"; then
15396 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
15397 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
15398 echo "$as_me:$LINENO: checking for $ac_word" >&5
15399 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15400 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
15401 echo $ECHO_N "(cached) $ECHO_C" >&6
15402 else
15403 if test -n "$DLLTOOL"; then
15404 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
15405 else
15406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15407 for as_dir in $PATH
15408 do
15409 IFS=$as_save_IFS
15410 test -z "$as_dir" && as_dir=.
15411 for ac_exec_ext in '' $ac_executable_extensions; do
15412 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15413 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
15414 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15415 break 2
15416 fi
15417 done
15418 done
15419
15420 fi
15421 fi
15422 DLLTOOL=$ac_cv_prog_DLLTOOL
15423 if test -n "$DLLTOOL"; then
15424 echo "$as_me:$LINENO: result: $DLLTOOL" >&5
15425 echo "${ECHO_T}$DLLTOOL" >&6
15426 else
15427 echo "$as_me:$LINENO: result: no" >&5
15428 echo "${ECHO_T}no" >&6
15429 fi
15430
15431 fi
15432 if test -z "$ac_cv_prog_DLLTOOL"; then
15433 ac_ct_DLLTOOL=$DLLTOOL
15434 # Extract the first word of "dlltool", so it can be a program name with args.
15435 set dummy dlltool; ac_word=$2
15436 echo "$as_me:$LINENO: checking for $ac_word" >&5
15437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15438 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
15439 echo $ECHO_N "(cached) $ECHO_C" >&6
15440 else
15441 if test -n "$ac_ct_DLLTOOL"; then
15442 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
15443 else
15444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15445 for as_dir in $PATH
15446 do
15447 IFS=$as_save_IFS
15448 test -z "$as_dir" && as_dir=.
15449 for ac_exec_ext in '' $ac_executable_extensions; do
15450 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15451 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
15452 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15453 break 2
15454 fi
15455 done
15456 done
15457
15458 fi
15459 fi
15460 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
15461 if test -n "$ac_ct_DLLTOOL"; then
15462 echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
15463 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6
15464 else
15465 echo "$as_me:$LINENO: result: no" >&5
15466 echo "${ECHO_T}no" >&6
15467 fi
15468
15469 DLLTOOL=$ac_ct_DLLTOOL
15470 else
15471 DLLTOOL="$ac_cv_prog_DLLTOOL"
15472 fi
15473
15474 ;;
15475 esac
15476 fi
15477
15478 echo "$as_me:$LINENO: checking if make is GNU make" >&5
15479 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
15480 if test "${wx_cv_prog_makeisgnu+set}" = set; then
15481 echo $ECHO_N "(cached) $ECHO_C" >&6
15482 else
15483
15484 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
15485 egrep -s GNU > /dev/null); then
15486 wx_cv_prog_makeisgnu="yes"
15487 else
15488 wx_cv_prog_makeisgnu="no"
15489 fi
15490
15491 fi
15492 echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
15493 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6
15494
15495 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
15496 IF_GNU_MAKE=""
15497 else
15498 IF_GNU_MAKE="#"
15499 fi
15500
15501
15502
15503 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
15504 echo "$as_me:$LINENO: checking if make supports VPATH" >&5
15505 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6
15506 if test "${wx_cv_prog_makevpath+set}" = set; then
15507 echo $ECHO_N "(cached) $ECHO_C" >&6
15508 else
15509
15510 cat - << EOF > confMake
15511 check : file
15512 cp \$? \$@
15513 cp \$? final_file
15514 EOF
15515
15516 if test ! -d sub ; then
15517 mkdir sub
15518 fi
15519 echo dummy > sub/file
15520 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
15521 RESULT=$?
15522 rm -f sub/file check final_file confMake
15523 rmdir sub
15524 if test "$RESULT" = 0; then
15525 wx_cv_prog_makevpath="yes"
15526 else
15527 wx_cv_prog_makevpath="no"
15528 fi
15529
15530 fi
15531 echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
15532 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6
15533
15534 if test "x$wx_cv_prog_makevpath" != "xyes"; then
15535 { { echo "$as_me:$LINENO: error:
15536 You need a make-utility that is able to use the variable
15537 VPATH correctly.
15538 If your version of make does not support VPATH correctly,
15539 please install GNU-make (possibly as gmake), and start
15540 configure with the following command:
15541 export MAKE=gmake; ./configure for sh-type shells
15542 setenv MAKE gmake; ./configure for csh-type shells
15543 Also please do remember to use gmake in this case every time
15544 you are trying to compile.
15545 " >&5
15546 echo "$as_me: error:
15547 You need a make-utility that is able to use the variable
15548 VPATH correctly.
15549 If your version of make does not support VPATH correctly,
15550 please install GNU-make (possibly as gmake), and start
15551 configure with the following command:
15552 export MAKE=gmake; ./configure for sh-type shells
15553 setenv MAKE gmake; ./configure for csh-type shells
15554 Also please do remember to use gmake in this case every time
15555 you are trying to compile.
15556 " >&2;}
15557 { (exit 1); exit 1; }; }
15558 fi fi
15559 echo "$as_me:$LINENO: checking whether ln -s works" >&5
15560 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
15561 LN_S=$as_ln_s
15562 if test "$LN_S" = "ln -s"; then
15563 echo "$as_me:$LINENO: result: yes" >&5
15564 echo "${ECHO_T}yes" >&6
15565 else
15566 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
15567 echo "${ECHO_T}no, using $LN_S" >&6
15568 fi
15569
15570
15571
15572
15573 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
15574 CXXFLAGS="-qunique $CXXFLAGS"
15575 fi
15576
15577 case "${host}" in
15578 powerpc-*-darwin* )
15579 echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
15580 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6
15581 cat >conftest.$ac_ext <<_ACEOF
15582 /* confdefs.h. */
15583 _ACEOF
15584 cat confdefs.h >>conftest.$ac_ext
15585 cat >>conftest.$ac_ext <<_ACEOF
15586 /* end confdefs.h. */
15587
15588 int
15589 main ()
15590 {
15591 #ifndef __POWERPC__
15592 choke me for lack of PowerPC
15593 #endif
15594
15595 ;
15596 return 0;
15597 }
15598 _ACEOF
15599 rm -f conftest.$ac_objext
15600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15601 (eval $ac_compile) 2>conftest.er1
15602 ac_status=$?
15603 grep -v '^ *+' conftest.er1 >conftest.err
15604 rm -f conftest.er1
15605 cat conftest.err >&5
15606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15607 (exit $ac_status); } &&
15608 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15610 (eval $ac_try) 2>&5
15611 ac_status=$?
15612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15613 (exit $ac_status); }; } &&
15614 { ac_try='test -s conftest.$ac_objext'
15615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15616 (eval $ac_try) 2>&5
15617 ac_status=$?
15618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15619 (exit $ac_status); }; }; then
15620 echo "$as_me:$LINENO: result: yes" >&5
15621 echo "${ECHO_T}yes" >&6
15622 else
15623 echo "$as_me: failed program was:" >&5
15624 sed 's/^/| /' conftest.$ac_ext >&5
15625
15626 echo "$as_me:$LINENO: result: no" >&5
15627 echo "${ECHO_T}no" >&6
15628 cat >>confdefs.h <<\_ACEOF
15629 #define __POWERPC__ 1
15630 _ACEOF
15631
15632
15633 fi
15634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15635 ;;
15636 esac
15637
15638 case "${host}" in
15639 *-*-darwin* )
15640 echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
15641 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6
15642 cat >conftest.$ac_ext <<_ACEOF
15643 /* confdefs.h. */
15644 _ACEOF
15645 cat confdefs.h >>conftest.$ac_ext
15646 cat >>conftest.$ac_ext <<_ACEOF
15647 /* end confdefs.h. */
15648 #include <CoreFoundation/CFBase.h>
15649
15650 int
15651 main ()
15652 {
15653
15654 ;
15655 return 0;
15656 }
15657 _ACEOF
15658 rm -f conftest.$ac_objext
15659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15660 (eval $ac_compile) 2>conftest.er1
15661 ac_status=$?
15662 grep -v '^ *+' conftest.er1 >conftest.err
15663 rm -f conftest.er1
15664 cat conftest.err >&5
15665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15666 (exit $ac_status); } &&
15667 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15669 (eval $ac_try) 2>&5
15670 ac_status=$?
15671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15672 (exit $ac_status); }; } &&
15673 { ac_try='test -s conftest.$ac_objext'
15674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15675 (eval $ac_try) 2>&5
15676 ac_status=$?
15677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15678 (exit $ac_status); }; }; then
15679 echo "$as_me:$LINENO: result: yes" >&5
15680 echo "${ECHO_T}yes" >&6
15681 else
15682 echo "$as_me: failed program was:" >&5
15683 sed 's/^/| /' conftest.$ac_ext >&5
15684
15685 echo "$as_me:$LINENO: result: no" >&5
15686 echo "${ECHO_T}no" >&6
15687 echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
15688 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6
15689 cat >conftest.$ac_ext <<_ACEOF
15690 /* confdefs.h. */
15691 _ACEOF
15692 cat confdefs.h >>conftest.$ac_ext
15693 cat >>conftest.$ac_ext <<_ACEOF
15694 /* end confdefs.h. */
15695 #define __CF_USE_FRAMEWORK_INCLUDES__
15696 #include <CoreFoundation/CFBase.h>
15697
15698 int
15699 main ()
15700 {
15701
15702 ;
15703 return 0;
15704 }
15705 _ACEOF
15706 rm -f conftest.$ac_objext
15707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15708 (eval $ac_compile) 2>conftest.er1
15709 ac_status=$?
15710 grep -v '^ *+' conftest.er1 >conftest.err
15711 rm -f conftest.er1
15712 cat conftest.err >&5
15713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15714 (exit $ac_status); } &&
15715 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15717 (eval $ac_try) 2>&5
15718 ac_status=$?
15719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15720 (exit $ac_status); }; } &&
15721 { ac_try='test -s conftest.$ac_objext'
15722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15723 (eval $ac_try) 2>&5
15724 ac_status=$?
15725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15726 (exit $ac_status); }; }; then
15727 echo "$as_me:$LINENO: result: yes" >&5
15728 echo "${ECHO_T}yes" >&6
15729 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
15730 else
15731 echo "$as_me: failed program was:" >&5
15732 sed 's/^/| /' conftest.$ac_ext >&5
15733
15734 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
15735 See \`config.log' for more details." >&5
15736 echo "$as_me: error: no. CoreFoundation not available.
15737 See \`config.log' for more details." >&2;}
15738 { (exit 1); exit 1; }; }
15739
15740 fi
15741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15742
15743
15744 fi
15745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15746 ;;
15747 esac
15748
15749 case "${host}" in
15750 *-pc-os2_emx | *-pc-os2-emx )
15751 ac_ext=c
15752 ac_cpp='$CPP $CPPFLAGS'
15753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15756
15757 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
15758 echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
15759 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6
15760 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
15761 echo $ECHO_N "(cached) $ECHO_C" >&6
15762 else
15763 ac_check_lib_save_LIBS=$LIBS
15764 LIBS="-lcExt $LIBS"
15765 cat >conftest.$ac_ext <<_ACEOF
15766 /* confdefs.h. */
15767 _ACEOF
15768 cat confdefs.h >>conftest.$ac_ext
15769 cat >>conftest.$ac_ext <<_ACEOF
15770 /* end confdefs.h. */
15771
15772 /* Override any gcc2 internal prototype to avoid an error. */
15773 #ifdef __cplusplus
15774 extern "C"
15775 #endif
15776 /* We use char because int might match the return type of a gcc2
15777 builtin and then its argument prototype would still apply. */
15778 char drand48 ();
15779 int
15780 main ()
15781 {
15782 drand48 ();
15783 ;
15784 return 0;
15785 }
15786 _ACEOF
15787 rm -f conftest.$ac_objext conftest$ac_exeext
15788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15789 (eval $ac_link) 2>conftest.er1
15790 ac_status=$?
15791 grep -v '^ *+' conftest.er1 >conftest.err
15792 rm -f conftest.er1
15793 cat conftest.err >&5
15794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15795 (exit $ac_status); } &&
15796 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
15797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15798 (eval $ac_try) 2>&5
15799 ac_status=$?
15800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15801 (exit $ac_status); }; } &&
15802 { ac_try='test -s conftest$ac_exeext'
15803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15804 (eval $ac_try) 2>&5
15805 ac_status=$?
15806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15807 (exit $ac_status); }; }; then
15808 ac_cv_lib_cExt_drand48=yes
15809 else
15810 echo "$as_me: failed program was:" >&5
15811 sed 's/^/| /' conftest.$ac_ext >&5
15812
15813 ac_cv_lib_cExt_drand48=no
15814 fi
15815 rm -f conftest.err conftest.$ac_objext \
15816 conftest$ac_exeext conftest.$ac_ext
15817 LIBS=$ac_check_lib_save_LIBS
15818 fi
15819 echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
15820 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6
15821 if test $ac_cv_lib_cExt_drand48 = yes; then
15822 LIBS="$LIBS -lcExt"
15823 fi
15824
15825 else
15826 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
15827 fi
15828 echo "$as_me:$LINENO: checking for gcc/libc version" >&5
15829 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6
15830 if test "${wx_cv_gccversion+set}" = set; then
15831 echo $ECHO_N "(cached) $ECHO_C" >&6
15832 else
15833
15834 if test "$cross_compiling" = yes; then
15835 wx_cv_gccversion="EMX2"
15836
15837 else
15838 cat >conftest.$ac_ext <<_ACEOF
15839 /* confdefs.h. */
15840 _ACEOF
15841 cat confdefs.h >>conftest.$ac_ext
15842 cat >>conftest.$ac_ext <<_ACEOF
15843 /* end confdefs.h. */
15844
15845 #include <stdio.h>
15846
15847 int main()
15848 {
15849 FILE *f=fopen("conftestval", "w");
15850 if (!f) exit(1);
15851 fprintf(f,
15852 #if (__GNUC__ < 3)
15853 "EMX2"
15854 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
15855 "EMX3"
15856 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
15857 "Innotek5"
15858 #else
15859 "Innotek6"
15860 #endif
15861 );
15862 exit(0);
15863 }
15864
15865 _ACEOF
15866 rm -f conftest$ac_exeext
15867 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15868 (eval $ac_link) 2>&5
15869 ac_status=$?
15870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15871 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15873 (eval $ac_try) 2>&5
15874 ac_status=$?
15875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15876 (exit $ac_status); }; }; then
15877 wx_cv_gccversion=`cat conftestval`
15878 else
15879 echo "$as_me: program exited with status $ac_status" >&5
15880 echo "$as_me: failed program was:" >&5
15881 sed 's/^/| /' conftest.$ac_ext >&5
15882
15883 ( exit $ac_status )
15884 wx_cv_gccversion="EMX2"
15885 fi
15886 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15887 fi
15888
15889 fi
15890 echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
15891 echo "${ECHO_T}$wx_cv_gccversion" >&6
15892 ac_ext=cc
15893 ac_cpp='$CXXCPP $CPPFLAGS'
15894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15897
15898 if test "$wx_cv_gccversion" = "EMX2"; then
15899 LIBS="$LIBS -lstdcpp"
15900 LDFLAGS="$LDFLAGS -Zsysv-signals"
15901 else
15902 if test "$wx_cv_gccversion" = "EMX3"; then
15903 LIBS="$LIBS -lstdcxx -lgcc"
15904 LDFLAGS="$LDFLAGS -Zsysv-signals"
15905 else
15906 LIBS="$LIBS -lstdc++"
15907 fi
15908 fi
15909 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
15910 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
15911 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
15912 wxUSE_OMF=yes
15913 enable_omf=yes
15914 fi
15915 ;;
15916 *)
15917
15918 echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
15919 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6
15920 if test "${ac_cv_string_strcasecmp+set}" = set; then
15921 echo $ECHO_N "(cached) $ECHO_C" >&6
15922 else
15923
15924 cat >conftest.$ac_ext <<_ACEOF
15925 /* confdefs.h. */
15926 _ACEOF
15927 cat confdefs.h >>conftest.$ac_ext
15928 cat >>conftest.$ac_ext <<_ACEOF
15929 /* end confdefs.h. */
15930
15931 #include <string.h>
15932
15933 int
15934 main ()
15935 {
15936
15937 strcasecmp("foo", "bar");
15938
15939 ;
15940 return 0;
15941 }
15942 _ACEOF
15943 rm -f conftest.$ac_objext conftest$ac_exeext
15944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15945 (eval $ac_link) 2>conftest.er1
15946 ac_status=$?
15947 grep -v '^ *+' conftest.er1 >conftest.err
15948 rm -f conftest.er1
15949 cat conftest.err >&5
15950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15951 (exit $ac_status); } &&
15952 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
15953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15954 (eval $ac_try) 2>&5
15955 ac_status=$?
15956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15957 (exit $ac_status); }; } &&
15958 { ac_try='test -s conftest$ac_exeext'
15959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15960 (eval $ac_try) 2>&5
15961 ac_status=$?
15962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15963 (exit $ac_status); }; }; then
15964 ac_cv_string_strcasecmp=yes
15965 else
15966 echo "$as_me: failed program was:" >&5
15967 sed 's/^/| /' conftest.$ac_ext >&5
15968
15969 ac_cv_string_strcasecmp=no
15970
15971 fi
15972 rm -f conftest.err conftest.$ac_objext \
15973 conftest$ac_exeext conftest.$ac_ext
15974
15975 fi
15976 echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
15977 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6
15978
15979 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
15980 cat >>confdefs.h <<\_ACEOF
15981 #define HAVE_STRCASECMP_IN_STRING_H 1
15982 _ACEOF
15983
15984 else
15985 echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
15986 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6
15987 if test "${ac_cv_strings_strcasecmp+set}" = set; then
15988 echo $ECHO_N "(cached) $ECHO_C" >&6
15989 else
15990
15991 cat >conftest.$ac_ext <<_ACEOF
15992 /* confdefs.h. */
15993 _ACEOF
15994 cat confdefs.h >>conftest.$ac_ext
15995 cat >>conftest.$ac_ext <<_ACEOF
15996 /* end confdefs.h. */
15997
15998 #include <strings.h>
15999
16000 int
16001 main ()
16002 {
16003
16004 strcasecmp("foo", "bar");
16005
16006 ;
16007 return 0;
16008 }
16009 _ACEOF
16010 rm -f conftest.$ac_objext conftest$ac_exeext
16011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16012 (eval $ac_link) 2>conftest.er1
16013 ac_status=$?
16014 grep -v '^ *+' conftest.er1 >conftest.err
16015 rm -f conftest.er1
16016 cat conftest.err >&5
16017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16018 (exit $ac_status); } &&
16019 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16021 (eval $ac_try) 2>&5
16022 ac_status=$?
16023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16024 (exit $ac_status); }; } &&
16025 { ac_try='test -s conftest$ac_exeext'
16026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16027 (eval $ac_try) 2>&5
16028 ac_status=$?
16029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16030 (exit $ac_status); }; }; then
16031 ac_cv_strings_strcasecmp=yes
16032 else
16033 echo "$as_me: failed program was:" >&5
16034 sed 's/^/| /' conftest.$ac_ext >&5
16035
16036 ac_cv_strings_strcasecmp=no
16037
16038 fi
16039 rm -f conftest.err conftest.$ac_objext \
16040 conftest$ac_exeext conftest.$ac_ext
16041
16042 fi
16043 echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
16044 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6
16045
16046 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
16047 cat >>confdefs.h <<\_ACEOF
16048 #define HAVE_STRCASECMP_IN_STRINGS_H 1
16049 _ACEOF
16050
16051 else
16052 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
16053 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
16054 { (exit 1); exit 1; }; }
16055 fi
16056 fi
16057
16058 ;;
16059 esac
16060
16061
16062 ac_ext=cc
16063 ac_cpp='$CXXCPP $CPPFLAGS'
16064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16067 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
16068 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
16069 if test -z "$CXXCPP"; then
16070 if test "${ac_cv_prog_CXXCPP+set}" = set; then
16071 echo $ECHO_N "(cached) $ECHO_C" >&6
16072 else
16073 # Double quotes because CXXCPP needs to be expanded
16074 for CXXCPP in "$CXX -E" "/lib/cpp"
16075 do
16076 ac_preproc_ok=false
16077 for ac_cxx_preproc_warn_flag in '' yes
16078 do
16079 # Use a header file that comes with gcc, so configuring glibc
16080 # with a fresh cross-compiler works.
16081 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16082 # <limits.h> exists even on freestanding compilers.
16083 # On the NeXT, cc -E runs the code through the compiler's parser,
16084 # not just through cpp. "Syntax error" is here to catch this case.
16085 cat >conftest.$ac_ext <<_ACEOF
16086 /* confdefs.h. */
16087 _ACEOF
16088 cat confdefs.h >>conftest.$ac_ext
16089 cat >>conftest.$ac_ext <<_ACEOF
16090 /* end confdefs.h. */
16091 #ifdef __STDC__
16092 # include <limits.h>
16093 #else
16094 # include <assert.h>
16095 #endif
16096 Syntax error
16097 _ACEOF
16098 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16099 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16100 ac_status=$?
16101 grep -v '^ *+' conftest.er1 >conftest.err
16102 rm -f conftest.er1
16103 cat conftest.err >&5
16104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16105 (exit $ac_status); } >/dev/null; then
16106 if test -s conftest.err; then
16107 ac_cpp_err=$ac_cxx_preproc_warn_flag
16108 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16109 else
16110 ac_cpp_err=
16111 fi
16112 else
16113 ac_cpp_err=yes
16114 fi
16115 if test -z "$ac_cpp_err"; then
16116 :
16117 else
16118 echo "$as_me: failed program was:" >&5
16119 sed 's/^/| /' conftest.$ac_ext >&5
16120
16121 # Broken: fails on valid input.
16122 continue
16123 fi
16124 rm -f conftest.err conftest.$ac_ext
16125
16126 # OK, works on sane cases. Now check whether non-existent headers
16127 # can be detected and how.
16128 cat >conftest.$ac_ext <<_ACEOF
16129 /* confdefs.h. */
16130 _ACEOF
16131 cat confdefs.h >>conftest.$ac_ext
16132 cat >>conftest.$ac_ext <<_ACEOF
16133 /* end confdefs.h. */
16134 #include <ac_nonexistent.h>
16135 _ACEOF
16136 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16137 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16138 ac_status=$?
16139 grep -v '^ *+' conftest.er1 >conftest.err
16140 rm -f conftest.er1
16141 cat conftest.err >&5
16142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16143 (exit $ac_status); } >/dev/null; then
16144 if test -s conftest.err; then
16145 ac_cpp_err=$ac_cxx_preproc_warn_flag
16146 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16147 else
16148 ac_cpp_err=
16149 fi
16150 else
16151 ac_cpp_err=yes
16152 fi
16153 if test -z "$ac_cpp_err"; then
16154 # Broken: success on invalid input.
16155 continue
16156 else
16157 echo "$as_me: failed program was:" >&5
16158 sed 's/^/| /' conftest.$ac_ext >&5
16159
16160 # Passes both tests.
16161 ac_preproc_ok=:
16162 break
16163 fi
16164 rm -f conftest.err conftest.$ac_ext
16165
16166 done
16167 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16168 rm -f conftest.err conftest.$ac_ext
16169 if $ac_preproc_ok; then
16170 break
16171 fi
16172
16173 done
16174 ac_cv_prog_CXXCPP=$CXXCPP
16175
16176 fi
16177 CXXCPP=$ac_cv_prog_CXXCPP
16178 else
16179 ac_cv_prog_CXXCPP=$CXXCPP
16180 fi
16181 echo "$as_me:$LINENO: result: $CXXCPP" >&5
16182 echo "${ECHO_T}$CXXCPP" >&6
16183 ac_preproc_ok=false
16184 for ac_cxx_preproc_warn_flag in '' yes
16185 do
16186 # Use a header file that comes with gcc, so configuring glibc
16187 # with a fresh cross-compiler works.
16188 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
16189 # <limits.h> exists even on freestanding compilers.
16190 # On the NeXT, cc -E runs the code through the compiler's parser,
16191 # not just through cpp. "Syntax error" is here to catch this case.
16192 cat >conftest.$ac_ext <<_ACEOF
16193 /* confdefs.h. */
16194 _ACEOF
16195 cat confdefs.h >>conftest.$ac_ext
16196 cat >>conftest.$ac_ext <<_ACEOF
16197 /* end confdefs.h. */
16198 #ifdef __STDC__
16199 # include <limits.h>
16200 #else
16201 # include <assert.h>
16202 #endif
16203 Syntax error
16204 _ACEOF
16205 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16206 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16207 ac_status=$?
16208 grep -v '^ *+' conftest.er1 >conftest.err
16209 rm -f conftest.er1
16210 cat conftest.err >&5
16211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16212 (exit $ac_status); } >/dev/null; then
16213 if test -s conftest.err; then
16214 ac_cpp_err=$ac_cxx_preproc_warn_flag
16215 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16216 else
16217 ac_cpp_err=
16218 fi
16219 else
16220 ac_cpp_err=yes
16221 fi
16222 if test -z "$ac_cpp_err"; then
16223 :
16224 else
16225 echo "$as_me: failed program was:" >&5
16226 sed 's/^/| /' conftest.$ac_ext >&5
16227
16228 # Broken: fails on valid input.
16229 continue
16230 fi
16231 rm -f conftest.err conftest.$ac_ext
16232
16233 # OK, works on sane cases. Now check whether non-existent headers
16234 # can be detected and how.
16235 cat >conftest.$ac_ext <<_ACEOF
16236 /* confdefs.h. */
16237 _ACEOF
16238 cat confdefs.h >>conftest.$ac_ext
16239 cat >>conftest.$ac_ext <<_ACEOF
16240 /* end confdefs.h. */
16241 #include <ac_nonexistent.h>
16242 _ACEOF
16243 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16244 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16245 ac_status=$?
16246 grep -v '^ *+' conftest.er1 >conftest.err
16247 rm -f conftest.er1
16248 cat conftest.err >&5
16249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16250 (exit $ac_status); } >/dev/null; then
16251 if test -s conftest.err; then
16252 ac_cpp_err=$ac_cxx_preproc_warn_flag
16253 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16254 else
16255 ac_cpp_err=
16256 fi
16257 else
16258 ac_cpp_err=yes
16259 fi
16260 if test -z "$ac_cpp_err"; then
16261 # Broken: success on invalid input.
16262 continue
16263 else
16264 echo "$as_me: failed program was:" >&5
16265 sed 's/^/| /' conftest.$ac_ext >&5
16266
16267 # Passes both tests.
16268 ac_preproc_ok=:
16269 break
16270 fi
16271 rm -f conftest.err conftest.$ac_ext
16272
16273 done
16274 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16275 rm -f conftest.err conftest.$ac_ext
16276 if $ac_preproc_ok; then
16277 :
16278 else
16279 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16280 See \`config.log' for more details." >&5
16281 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
16282 See \`config.log' for more details." >&2;}
16283 { (exit 1); exit 1; }; }
16284 fi
16285
16286 ac_ext=cc
16287 ac_cpp='$CXXCPP $CPPFLAGS'
16288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16291
16292
16293 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
16294 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
16295 if test "${ac_cv_header_stdc+set}" = set; then
16296 echo $ECHO_N "(cached) $ECHO_C" >&6
16297 else
16298 cat >conftest.$ac_ext <<_ACEOF
16299 /* confdefs.h. */
16300 _ACEOF
16301 cat confdefs.h >>conftest.$ac_ext
16302 cat >>conftest.$ac_ext <<_ACEOF
16303 /* end confdefs.h. */
16304 #include <stdlib.h>
16305 #include <stdarg.h>
16306 #include <string.h>
16307 #include <float.h>
16308
16309 int
16310 main ()
16311 {
16312
16313 ;
16314 return 0;
16315 }
16316 _ACEOF
16317 rm -f conftest.$ac_objext
16318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16319 (eval $ac_compile) 2>conftest.er1
16320 ac_status=$?
16321 grep -v '^ *+' conftest.er1 >conftest.err
16322 rm -f conftest.er1
16323 cat conftest.err >&5
16324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16325 (exit $ac_status); } &&
16326 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16328 (eval $ac_try) 2>&5
16329 ac_status=$?
16330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16331 (exit $ac_status); }; } &&
16332 { ac_try='test -s conftest.$ac_objext'
16333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16334 (eval $ac_try) 2>&5
16335 ac_status=$?
16336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16337 (exit $ac_status); }; }; then
16338 ac_cv_header_stdc=yes
16339 else
16340 echo "$as_me: failed program was:" >&5
16341 sed 's/^/| /' conftest.$ac_ext >&5
16342
16343 ac_cv_header_stdc=no
16344 fi
16345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16346
16347 if test $ac_cv_header_stdc = yes; then
16348 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
16349 cat >conftest.$ac_ext <<_ACEOF
16350 /* confdefs.h. */
16351 _ACEOF
16352 cat confdefs.h >>conftest.$ac_ext
16353 cat >>conftest.$ac_ext <<_ACEOF
16354 /* end confdefs.h. */
16355 #include <string.h>
16356
16357 _ACEOF
16358 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16359 $EGREP "memchr" >/dev/null 2>&1; then
16360 :
16361 else
16362 ac_cv_header_stdc=no
16363 fi
16364 rm -f conftest*
16365
16366 fi
16367
16368 if test $ac_cv_header_stdc = yes; then
16369 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
16370 cat >conftest.$ac_ext <<_ACEOF
16371 /* confdefs.h. */
16372 _ACEOF
16373 cat confdefs.h >>conftest.$ac_ext
16374 cat >>conftest.$ac_ext <<_ACEOF
16375 /* end confdefs.h. */
16376 #include <stdlib.h>
16377
16378 _ACEOF
16379 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16380 $EGREP "free" >/dev/null 2>&1; then
16381 :
16382 else
16383 ac_cv_header_stdc=no
16384 fi
16385 rm -f conftest*
16386
16387 fi
16388
16389 if test $ac_cv_header_stdc = yes; then
16390 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
16391 if test "$cross_compiling" = yes; then
16392 :
16393 else
16394 cat >conftest.$ac_ext <<_ACEOF
16395 /* confdefs.h. */
16396 _ACEOF
16397 cat confdefs.h >>conftest.$ac_ext
16398 cat >>conftest.$ac_ext <<_ACEOF
16399 /* end confdefs.h. */
16400 #include <ctype.h>
16401 #if ((' ' & 0x0FF) == 0x020)
16402 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
16403 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
16404 #else
16405 # define ISLOWER(c) \
16406 (('a' <= (c) && (c) <= 'i') \
16407 || ('j' <= (c) && (c) <= 'r') \
16408 || ('s' <= (c) && (c) <= 'z'))
16409 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
16410 #endif
16411
16412 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
16413 int
16414 main ()
16415 {
16416 int i;
16417 for (i = 0; i < 256; i++)
16418 if (XOR (islower (i), ISLOWER (i))
16419 || toupper (i) != TOUPPER (i))
16420 exit(2);
16421 exit (0);
16422 }
16423 _ACEOF
16424 rm -f conftest$ac_exeext
16425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16426 (eval $ac_link) 2>&5
16427 ac_status=$?
16428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16429 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16431 (eval $ac_try) 2>&5
16432 ac_status=$?
16433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16434 (exit $ac_status); }; }; then
16435 :
16436 else
16437 echo "$as_me: program exited with status $ac_status" >&5
16438 echo "$as_me: failed program was:" >&5
16439 sed 's/^/| /' conftest.$ac_ext >&5
16440
16441 ( exit $ac_status )
16442 ac_cv_header_stdc=no
16443 fi
16444 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16445 fi
16446 fi
16447 fi
16448 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
16449 echo "${ECHO_T}$ac_cv_header_stdc" >&6
16450 if test $ac_cv_header_stdc = yes; then
16451
16452 cat >>confdefs.h <<\_ACEOF
16453 #define STDC_HEADERS 1
16454 _ACEOF
16455
16456 fi
16457
16458 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
16459
16460
16461
16462
16463
16464
16465
16466
16467
16468 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
16469 inttypes.h stdint.h unistd.h
16470 do
16471 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16472 echo "$as_me:$LINENO: checking for $ac_header" >&5
16473 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16474 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16475 echo $ECHO_N "(cached) $ECHO_C" >&6
16476 else
16477 cat >conftest.$ac_ext <<_ACEOF
16478 /* confdefs.h. */
16479 _ACEOF
16480 cat confdefs.h >>conftest.$ac_ext
16481 cat >>conftest.$ac_ext <<_ACEOF
16482 /* end confdefs.h. */
16483 $ac_includes_default
16484
16485 #include <$ac_header>
16486 _ACEOF
16487 rm -f conftest.$ac_objext
16488 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16489 (eval $ac_compile) 2>conftest.er1
16490 ac_status=$?
16491 grep -v '^ *+' conftest.er1 >conftest.err
16492 rm -f conftest.er1
16493 cat conftest.err >&5
16494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16495 (exit $ac_status); } &&
16496 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16498 (eval $ac_try) 2>&5
16499 ac_status=$?
16500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16501 (exit $ac_status); }; } &&
16502 { ac_try='test -s conftest.$ac_objext'
16503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16504 (eval $ac_try) 2>&5
16505 ac_status=$?
16506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507 (exit $ac_status); }; }; then
16508 eval "$as_ac_Header=yes"
16509 else
16510 echo "$as_me: failed program was:" >&5
16511 sed 's/^/| /' conftest.$ac_ext >&5
16512
16513 eval "$as_ac_Header=no"
16514 fi
16515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16516 fi
16517 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16518 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16519 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16520 cat >>confdefs.h <<_ACEOF
16521 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16522 _ACEOF
16523
16524 fi
16525
16526 done
16527
16528
16529
16530 for ac_header in stdlib.h
16531 do
16532 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16533 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16534 echo "$as_me:$LINENO: checking for $ac_header" >&5
16535 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16536 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16537 echo $ECHO_N "(cached) $ECHO_C" >&6
16538 fi
16539 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16540 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16541 else
16542 # Is the header compilable?
16543 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16544 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16545 cat >conftest.$ac_ext <<_ACEOF
16546 /* confdefs.h. */
16547 _ACEOF
16548 cat confdefs.h >>conftest.$ac_ext
16549 cat >>conftest.$ac_ext <<_ACEOF
16550 /* end confdefs.h. */
16551 $ac_includes_default
16552 #include <$ac_header>
16553 _ACEOF
16554 rm -f conftest.$ac_objext
16555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16556 (eval $ac_compile) 2>conftest.er1
16557 ac_status=$?
16558 grep -v '^ *+' conftest.er1 >conftest.err
16559 rm -f conftest.er1
16560 cat conftest.err >&5
16561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16562 (exit $ac_status); } &&
16563 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16565 (eval $ac_try) 2>&5
16566 ac_status=$?
16567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16568 (exit $ac_status); }; } &&
16569 { ac_try='test -s conftest.$ac_objext'
16570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16571 (eval $ac_try) 2>&5
16572 ac_status=$?
16573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16574 (exit $ac_status); }; }; then
16575 ac_header_compiler=yes
16576 else
16577 echo "$as_me: failed program was:" >&5
16578 sed 's/^/| /' conftest.$ac_ext >&5
16579
16580 ac_header_compiler=no
16581 fi
16582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16583 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16584 echo "${ECHO_T}$ac_header_compiler" >&6
16585
16586 # Is the header present?
16587 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16588 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16589 cat >conftest.$ac_ext <<_ACEOF
16590 /* confdefs.h. */
16591 _ACEOF
16592 cat confdefs.h >>conftest.$ac_ext
16593 cat >>conftest.$ac_ext <<_ACEOF
16594 /* end confdefs.h. */
16595 #include <$ac_header>
16596 _ACEOF
16597 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16598 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16599 ac_status=$?
16600 grep -v '^ *+' conftest.er1 >conftest.err
16601 rm -f conftest.er1
16602 cat conftest.err >&5
16603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16604 (exit $ac_status); } >/dev/null; then
16605 if test -s conftest.err; then
16606 ac_cpp_err=$ac_cxx_preproc_warn_flag
16607 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16608 else
16609 ac_cpp_err=
16610 fi
16611 else
16612 ac_cpp_err=yes
16613 fi
16614 if test -z "$ac_cpp_err"; then
16615 ac_header_preproc=yes
16616 else
16617 echo "$as_me: failed program was:" >&5
16618 sed 's/^/| /' conftest.$ac_ext >&5
16619
16620 ac_header_preproc=no
16621 fi
16622 rm -f conftest.err conftest.$ac_ext
16623 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16624 echo "${ECHO_T}$ac_header_preproc" >&6
16625
16626 # So? What about this header?
16627 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16628 yes:no: )
16629 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16630 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16631 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16632 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16633 ac_header_preproc=yes
16634 ;;
16635 no:yes:* )
16636 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16637 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16638 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16639 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16640 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16641 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16642 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16643 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16644 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16645 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16646 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16647 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16648 (
16649 cat <<\_ASBOX
16650 ## ----------------------------------------- ##
16651 ## Report this to wx-dev@lists.wxwidgets.org ##
16652 ## ----------------------------------------- ##
16653 _ASBOX
16654 ) |
16655 sed "s/^/$as_me: WARNING: /" >&2
16656 ;;
16657 esac
16658 echo "$as_me:$LINENO: checking for $ac_header" >&5
16659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16660 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16661 echo $ECHO_N "(cached) $ECHO_C" >&6
16662 else
16663 eval "$as_ac_Header=\$ac_header_preproc"
16664 fi
16665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16666 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16667
16668 fi
16669 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16670 cat >>confdefs.h <<_ACEOF
16671 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16672 _ACEOF
16673
16674 fi
16675
16676 done
16677
16678
16679 for ac_header in malloc.h
16680 do
16681 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16682 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16683 echo "$as_me:$LINENO: checking for $ac_header" >&5
16684 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16685 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16686 echo $ECHO_N "(cached) $ECHO_C" >&6
16687 fi
16688 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16689 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16690 else
16691 # Is the header compilable?
16692 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16693 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
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 $ac_includes_default
16701 #include <$ac_header>
16702 _ACEOF
16703 rm -f conftest.$ac_objext
16704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16705 (eval $ac_compile) 2>conftest.er1
16706 ac_status=$?
16707 grep -v '^ *+' conftest.er1 >conftest.err
16708 rm -f conftest.er1
16709 cat conftest.err >&5
16710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16711 (exit $ac_status); } &&
16712 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16714 (eval $ac_try) 2>&5
16715 ac_status=$?
16716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16717 (exit $ac_status); }; } &&
16718 { ac_try='test -s conftest.$ac_objext'
16719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16720 (eval $ac_try) 2>&5
16721 ac_status=$?
16722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16723 (exit $ac_status); }; }; then
16724 ac_header_compiler=yes
16725 else
16726 echo "$as_me: failed program was:" >&5
16727 sed 's/^/| /' conftest.$ac_ext >&5
16728
16729 ac_header_compiler=no
16730 fi
16731 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16732 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16733 echo "${ECHO_T}$ac_header_compiler" >&6
16734
16735 # Is the header present?
16736 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16737 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16738 cat >conftest.$ac_ext <<_ACEOF
16739 /* confdefs.h. */
16740 _ACEOF
16741 cat confdefs.h >>conftest.$ac_ext
16742 cat >>conftest.$ac_ext <<_ACEOF
16743 /* end confdefs.h. */
16744 #include <$ac_header>
16745 _ACEOF
16746 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16747 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16748 ac_status=$?
16749 grep -v '^ *+' conftest.er1 >conftest.err
16750 rm -f conftest.er1
16751 cat conftest.err >&5
16752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16753 (exit $ac_status); } >/dev/null; then
16754 if test -s conftest.err; then
16755 ac_cpp_err=$ac_cxx_preproc_warn_flag
16756 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16757 else
16758 ac_cpp_err=
16759 fi
16760 else
16761 ac_cpp_err=yes
16762 fi
16763 if test -z "$ac_cpp_err"; then
16764 ac_header_preproc=yes
16765 else
16766 echo "$as_me: failed program was:" >&5
16767 sed 's/^/| /' conftest.$ac_ext >&5
16768
16769 ac_header_preproc=no
16770 fi
16771 rm -f conftest.err conftest.$ac_ext
16772 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16773 echo "${ECHO_T}$ac_header_preproc" >&6
16774
16775 # So? What about this header?
16776 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16777 yes:no: )
16778 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16779 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16780 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16781 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16782 ac_header_preproc=yes
16783 ;;
16784 no:yes:* )
16785 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16786 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16787 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16788 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16789 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16790 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16791 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16792 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16793 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16794 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16795 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16796 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16797 (
16798 cat <<\_ASBOX
16799 ## ----------------------------------------- ##
16800 ## Report this to wx-dev@lists.wxwidgets.org ##
16801 ## ----------------------------------------- ##
16802 _ASBOX
16803 ) |
16804 sed "s/^/$as_me: WARNING: /" >&2
16805 ;;
16806 esac
16807 echo "$as_me:$LINENO: checking for $ac_header" >&5
16808 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16809 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16810 echo $ECHO_N "(cached) $ECHO_C" >&6
16811 else
16812 eval "$as_ac_Header=\$ac_header_preproc"
16813 fi
16814 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16815 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16816
16817 fi
16818 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16819 cat >>confdefs.h <<_ACEOF
16820 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16821 _ACEOF
16822
16823 fi
16824
16825 done
16826
16827
16828 for ac_header in unistd.h
16829 do
16830 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16831 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16832 echo "$as_me:$LINENO: checking for $ac_header" >&5
16833 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16834 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16835 echo $ECHO_N "(cached) $ECHO_C" >&6
16836 fi
16837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16838 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16839 else
16840 # Is the header compilable?
16841 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16842 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16843 cat >conftest.$ac_ext <<_ACEOF
16844 /* confdefs.h. */
16845 _ACEOF
16846 cat confdefs.h >>conftest.$ac_ext
16847 cat >>conftest.$ac_ext <<_ACEOF
16848 /* end confdefs.h. */
16849 $ac_includes_default
16850 #include <$ac_header>
16851 _ACEOF
16852 rm -f conftest.$ac_objext
16853 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16854 (eval $ac_compile) 2>conftest.er1
16855 ac_status=$?
16856 grep -v '^ *+' conftest.er1 >conftest.err
16857 rm -f conftest.er1
16858 cat conftest.err >&5
16859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16860 (exit $ac_status); } &&
16861 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
16862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16863 (eval $ac_try) 2>&5
16864 ac_status=$?
16865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16866 (exit $ac_status); }; } &&
16867 { ac_try='test -s conftest.$ac_objext'
16868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16869 (eval $ac_try) 2>&5
16870 ac_status=$?
16871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16872 (exit $ac_status); }; }; then
16873 ac_header_compiler=yes
16874 else
16875 echo "$as_me: failed program was:" >&5
16876 sed 's/^/| /' conftest.$ac_ext >&5
16877
16878 ac_header_compiler=no
16879 fi
16880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16881 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16882 echo "${ECHO_T}$ac_header_compiler" >&6
16883
16884 # Is the header present?
16885 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16886 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16887 cat >conftest.$ac_ext <<_ACEOF
16888 /* confdefs.h. */
16889 _ACEOF
16890 cat confdefs.h >>conftest.$ac_ext
16891 cat >>conftest.$ac_ext <<_ACEOF
16892 /* end confdefs.h. */
16893 #include <$ac_header>
16894 _ACEOF
16895 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16896 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16897 ac_status=$?
16898 grep -v '^ *+' conftest.er1 >conftest.err
16899 rm -f conftest.er1
16900 cat conftest.err >&5
16901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16902 (exit $ac_status); } >/dev/null; then
16903 if test -s conftest.err; then
16904 ac_cpp_err=$ac_cxx_preproc_warn_flag
16905 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16906 else
16907 ac_cpp_err=
16908 fi
16909 else
16910 ac_cpp_err=yes
16911 fi
16912 if test -z "$ac_cpp_err"; then
16913 ac_header_preproc=yes
16914 else
16915 echo "$as_me: failed program was:" >&5
16916 sed 's/^/| /' conftest.$ac_ext >&5
16917
16918 ac_header_preproc=no
16919 fi
16920 rm -f conftest.err conftest.$ac_ext
16921 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16922 echo "${ECHO_T}$ac_header_preproc" >&6
16923
16924 # So? What about this header?
16925 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16926 yes:no: )
16927 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16928 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16929 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16930 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16931 ac_header_preproc=yes
16932 ;;
16933 no:yes:* )
16934 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16935 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16936 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16937 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16938 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16939 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16940 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16941 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16942 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16943 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16944 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16945 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16946 (
16947 cat <<\_ASBOX
16948 ## ----------------------------------------- ##
16949 ## Report this to wx-dev@lists.wxwidgets.org ##
16950 ## ----------------------------------------- ##
16951 _ASBOX
16952 ) |
16953 sed "s/^/$as_me: WARNING: /" >&2
16954 ;;
16955 esac
16956 echo "$as_me:$LINENO: checking for $ac_header" >&5
16957 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16958 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16959 echo $ECHO_N "(cached) $ECHO_C" >&6
16960 else
16961 eval "$as_ac_Header=\$ac_header_preproc"
16962 fi
16963 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16964 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16965
16966 fi
16967 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16968 cat >>confdefs.h <<_ACEOF
16969 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16970 _ACEOF
16971
16972 fi
16973
16974 done
16975
16976
16977 for ac_header in wchar.h
16978 do
16979 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16980 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16981 echo "$as_me:$LINENO: checking for $ac_header" >&5
16982 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16983 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16984 echo $ECHO_N "(cached) $ECHO_C" >&6
16985 fi
16986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16987 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16988 else
16989 # Is the header compilable?
16990 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16991 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16992 cat >conftest.$ac_ext <<_ACEOF
16993 /* confdefs.h. */
16994 _ACEOF
16995 cat confdefs.h >>conftest.$ac_ext
16996 cat >>conftest.$ac_ext <<_ACEOF
16997 /* end confdefs.h. */
16998 $ac_includes_default
16999 #include <$ac_header>
17000 _ACEOF
17001 rm -f conftest.$ac_objext
17002 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17003 (eval $ac_compile) 2>conftest.er1
17004 ac_status=$?
17005 grep -v '^ *+' conftest.er1 >conftest.err
17006 rm -f conftest.er1
17007 cat conftest.err >&5
17008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17009 (exit $ac_status); } &&
17010 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17012 (eval $ac_try) 2>&5
17013 ac_status=$?
17014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17015 (exit $ac_status); }; } &&
17016 { ac_try='test -s conftest.$ac_objext'
17017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17018 (eval $ac_try) 2>&5
17019 ac_status=$?
17020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17021 (exit $ac_status); }; }; then
17022 ac_header_compiler=yes
17023 else
17024 echo "$as_me: failed program was:" >&5
17025 sed 's/^/| /' conftest.$ac_ext >&5
17026
17027 ac_header_compiler=no
17028 fi
17029 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17030 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17031 echo "${ECHO_T}$ac_header_compiler" >&6
17032
17033 # Is the header present?
17034 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17035 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17036 cat >conftest.$ac_ext <<_ACEOF
17037 /* confdefs.h. */
17038 _ACEOF
17039 cat confdefs.h >>conftest.$ac_ext
17040 cat >>conftest.$ac_ext <<_ACEOF
17041 /* end confdefs.h. */
17042 #include <$ac_header>
17043 _ACEOF
17044 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17045 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17046 ac_status=$?
17047 grep -v '^ *+' conftest.er1 >conftest.err
17048 rm -f conftest.er1
17049 cat conftest.err >&5
17050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17051 (exit $ac_status); } >/dev/null; then
17052 if test -s conftest.err; then
17053 ac_cpp_err=$ac_cxx_preproc_warn_flag
17054 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17055 else
17056 ac_cpp_err=
17057 fi
17058 else
17059 ac_cpp_err=yes
17060 fi
17061 if test -z "$ac_cpp_err"; then
17062 ac_header_preproc=yes
17063 else
17064 echo "$as_me: failed program was:" >&5
17065 sed 's/^/| /' conftest.$ac_ext >&5
17066
17067 ac_header_preproc=no
17068 fi
17069 rm -f conftest.err conftest.$ac_ext
17070 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17071 echo "${ECHO_T}$ac_header_preproc" >&6
17072
17073 # So? What about this header?
17074 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17075 yes:no: )
17076 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17077 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17078 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17079 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17080 ac_header_preproc=yes
17081 ;;
17082 no:yes:* )
17083 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17084 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17085 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17086 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17087 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17088 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17089 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17090 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17091 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17092 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17093 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17094 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17095 (
17096 cat <<\_ASBOX
17097 ## ----------------------------------------- ##
17098 ## Report this to wx-dev@lists.wxwidgets.org ##
17099 ## ----------------------------------------- ##
17100 _ASBOX
17101 ) |
17102 sed "s/^/$as_me: WARNING: /" >&2
17103 ;;
17104 esac
17105 echo "$as_me:$LINENO: checking for $ac_header" >&5
17106 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17107 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17108 echo $ECHO_N "(cached) $ECHO_C" >&6
17109 else
17110 eval "$as_ac_Header=\$ac_header_preproc"
17111 fi
17112 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17113 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17114
17115 fi
17116 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17117 cat >>confdefs.h <<_ACEOF
17118 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17119 _ACEOF
17120
17121 fi
17122
17123 done
17124
17125
17126 if test "$ac_cv_header_wchar_h" != "yes"; then
17127
17128 for ac_header in wcstr.h
17129 do
17130 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17131 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17132 echo "$as_me:$LINENO: checking for $ac_header" >&5
17133 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17134 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17135 echo $ECHO_N "(cached) $ECHO_C" >&6
17136 fi
17137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17138 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17139 else
17140 # Is the header compilable?
17141 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17142 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17143 cat >conftest.$ac_ext <<_ACEOF
17144 /* confdefs.h. */
17145 _ACEOF
17146 cat confdefs.h >>conftest.$ac_ext
17147 cat >>conftest.$ac_ext <<_ACEOF
17148 /* end confdefs.h. */
17149 $ac_includes_default
17150 #include <$ac_header>
17151 _ACEOF
17152 rm -f conftest.$ac_objext
17153 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17154 (eval $ac_compile) 2>conftest.er1
17155 ac_status=$?
17156 grep -v '^ *+' conftest.er1 >conftest.err
17157 rm -f conftest.er1
17158 cat conftest.err >&5
17159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17160 (exit $ac_status); } &&
17161 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17163 (eval $ac_try) 2>&5
17164 ac_status=$?
17165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166 (exit $ac_status); }; } &&
17167 { ac_try='test -s conftest.$ac_objext'
17168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17169 (eval $ac_try) 2>&5
17170 ac_status=$?
17171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17172 (exit $ac_status); }; }; then
17173 ac_header_compiler=yes
17174 else
17175 echo "$as_me: failed program was:" >&5
17176 sed 's/^/| /' conftest.$ac_ext >&5
17177
17178 ac_header_compiler=no
17179 fi
17180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17181 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17182 echo "${ECHO_T}$ac_header_compiler" >&6
17183
17184 # Is the header present?
17185 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17186 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17187 cat >conftest.$ac_ext <<_ACEOF
17188 /* confdefs.h. */
17189 _ACEOF
17190 cat confdefs.h >>conftest.$ac_ext
17191 cat >>conftest.$ac_ext <<_ACEOF
17192 /* end confdefs.h. */
17193 #include <$ac_header>
17194 _ACEOF
17195 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17196 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17197 ac_status=$?
17198 grep -v '^ *+' conftest.er1 >conftest.err
17199 rm -f conftest.er1
17200 cat conftest.err >&5
17201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17202 (exit $ac_status); } >/dev/null; then
17203 if test -s conftest.err; then
17204 ac_cpp_err=$ac_cxx_preproc_warn_flag
17205 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17206 else
17207 ac_cpp_err=
17208 fi
17209 else
17210 ac_cpp_err=yes
17211 fi
17212 if test -z "$ac_cpp_err"; then
17213 ac_header_preproc=yes
17214 else
17215 echo "$as_me: failed program was:" >&5
17216 sed 's/^/| /' conftest.$ac_ext >&5
17217
17218 ac_header_preproc=no
17219 fi
17220 rm -f conftest.err conftest.$ac_ext
17221 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17222 echo "${ECHO_T}$ac_header_preproc" >&6
17223
17224 # So? What about this header?
17225 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17226 yes:no: )
17227 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17228 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17229 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17230 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17231 ac_header_preproc=yes
17232 ;;
17233 no:yes:* )
17234 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17235 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17236 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17237 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17238 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17239 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17240 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17241 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17242 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17243 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17244 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17245 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17246 (
17247 cat <<\_ASBOX
17248 ## ----------------------------------------- ##
17249 ## Report this to wx-dev@lists.wxwidgets.org ##
17250 ## ----------------------------------------- ##
17251 _ASBOX
17252 ) |
17253 sed "s/^/$as_me: WARNING: /" >&2
17254 ;;
17255 esac
17256 echo "$as_me:$LINENO: checking for $ac_header" >&5
17257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17258 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17259 echo $ECHO_N "(cached) $ECHO_C" >&6
17260 else
17261 eval "$as_ac_Header=\$ac_header_preproc"
17262 fi
17263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17264 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17265
17266 fi
17267 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17268 cat >>confdefs.h <<_ACEOF
17269 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17270 _ACEOF
17271
17272 fi
17273
17274 done
17275
17276 fi
17277
17278
17279 for ac_header in fnmatch.h
17280 do
17281 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17283 echo "$as_me:$LINENO: checking for $ac_header" >&5
17284 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17285 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17286 echo $ECHO_N "(cached) $ECHO_C" >&6
17287 fi
17288 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17289 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17290 else
17291 # Is the header compilable?
17292 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17293 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17294 cat >conftest.$ac_ext <<_ACEOF
17295 /* confdefs.h. */
17296 _ACEOF
17297 cat confdefs.h >>conftest.$ac_ext
17298 cat >>conftest.$ac_ext <<_ACEOF
17299 /* end confdefs.h. */
17300 $ac_includes_default
17301 #include <$ac_header>
17302 _ACEOF
17303 rm -f conftest.$ac_objext
17304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17305 (eval $ac_compile) 2>conftest.er1
17306 ac_status=$?
17307 grep -v '^ *+' conftest.er1 >conftest.err
17308 rm -f conftest.er1
17309 cat conftest.err >&5
17310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17311 (exit $ac_status); } &&
17312 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17314 (eval $ac_try) 2>&5
17315 ac_status=$?
17316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17317 (exit $ac_status); }; } &&
17318 { ac_try='test -s conftest.$ac_objext'
17319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17320 (eval $ac_try) 2>&5
17321 ac_status=$?
17322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17323 (exit $ac_status); }; }; then
17324 ac_header_compiler=yes
17325 else
17326 echo "$as_me: failed program was:" >&5
17327 sed 's/^/| /' conftest.$ac_ext >&5
17328
17329 ac_header_compiler=no
17330 fi
17331 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17332 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17333 echo "${ECHO_T}$ac_header_compiler" >&6
17334
17335 # Is the header present?
17336 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17337 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17338 cat >conftest.$ac_ext <<_ACEOF
17339 /* confdefs.h. */
17340 _ACEOF
17341 cat confdefs.h >>conftest.$ac_ext
17342 cat >>conftest.$ac_ext <<_ACEOF
17343 /* end confdefs.h. */
17344 #include <$ac_header>
17345 _ACEOF
17346 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17347 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17348 ac_status=$?
17349 grep -v '^ *+' conftest.er1 >conftest.err
17350 rm -f conftest.er1
17351 cat conftest.err >&5
17352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17353 (exit $ac_status); } >/dev/null; then
17354 if test -s conftest.err; then
17355 ac_cpp_err=$ac_cxx_preproc_warn_flag
17356 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17357 else
17358 ac_cpp_err=
17359 fi
17360 else
17361 ac_cpp_err=yes
17362 fi
17363 if test -z "$ac_cpp_err"; then
17364 ac_header_preproc=yes
17365 else
17366 echo "$as_me: failed program was:" >&5
17367 sed 's/^/| /' conftest.$ac_ext >&5
17368
17369 ac_header_preproc=no
17370 fi
17371 rm -f conftest.err conftest.$ac_ext
17372 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17373 echo "${ECHO_T}$ac_header_preproc" >&6
17374
17375 # So? What about this header?
17376 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17377 yes:no: )
17378 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17379 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17380 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17381 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17382 ac_header_preproc=yes
17383 ;;
17384 no:yes:* )
17385 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17386 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17387 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17388 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17389 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17390 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17391 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17392 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17393 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17394 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17395 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17396 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17397 (
17398 cat <<\_ASBOX
17399 ## ----------------------------------------- ##
17400 ## Report this to wx-dev@lists.wxwidgets.org ##
17401 ## ----------------------------------------- ##
17402 _ASBOX
17403 ) |
17404 sed "s/^/$as_me: WARNING: /" >&2
17405 ;;
17406 esac
17407 echo "$as_me:$LINENO: checking for $ac_header" >&5
17408 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17409 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17410 echo $ECHO_N "(cached) $ECHO_C" >&6
17411 else
17412 eval "$as_ac_Header=\$ac_header_preproc"
17413 fi
17414 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17415 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17416
17417 fi
17418 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17419 cat >>confdefs.h <<_ACEOF
17420 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17421 _ACEOF
17422
17423 fi
17424
17425 done
17426
17427
17428
17429 for ac_header in langinfo.h
17430 do
17431 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17432 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17433 echo "$as_me:$LINENO: checking for $ac_header" >&5
17434 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17435 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17436 echo $ECHO_N "(cached) $ECHO_C" >&6
17437 fi
17438 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17439 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17440 else
17441 # Is the header compilable?
17442 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17443 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17444 cat >conftest.$ac_ext <<_ACEOF
17445 /* confdefs.h. */
17446 _ACEOF
17447 cat confdefs.h >>conftest.$ac_ext
17448 cat >>conftest.$ac_ext <<_ACEOF
17449 /* end confdefs.h. */
17450 $ac_includes_default
17451 #include <$ac_header>
17452 _ACEOF
17453 rm -f conftest.$ac_objext
17454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17455 (eval $ac_compile) 2>conftest.er1
17456 ac_status=$?
17457 grep -v '^ *+' conftest.er1 >conftest.err
17458 rm -f conftest.er1
17459 cat conftest.err >&5
17460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17461 (exit $ac_status); } &&
17462 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17464 (eval $ac_try) 2>&5
17465 ac_status=$?
17466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17467 (exit $ac_status); }; } &&
17468 { ac_try='test -s conftest.$ac_objext'
17469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17470 (eval $ac_try) 2>&5
17471 ac_status=$?
17472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17473 (exit $ac_status); }; }; then
17474 ac_header_compiler=yes
17475 else
17476 echo "$as_me: failed program was:" >&5
17477 sed 's/^/| /' conftest.$ac_ext >&5
17478
17479 ac_header_compiler=no
17480 fi
17481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17482 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17483 echo "${ECHO_T}$ac_header_compiler" >&6
17484
17485 # Is the header present?
17486 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17487 echo $ECHO_N "checking $ac_header presence... $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 #include <$ac_header>
17495 _ACEOF
17496 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17497 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17498 ac_status=$?
17499 grep -v '^ *+' conftest.er1 >conftest.err
17500 rm -f conftest.er1
17501 cat conftest.err >&5
17502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17503 (exit $ac_status); } >/dev/null; then
17504 if test -s conftest.err; then
17505 ac_cpp_err=$ac_cxx_preproc_warn_flag
17506 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17507 else
17508 ac_cpp_err=
17509 fi
17510 else
17511 ac_cpp_err=yes
17512 fi
17513 if test -z "$ac_cpp_err"; then
17514 ac_header_preproc=yes
17515 else
17516 echo "$as_me: failed program was:" >&5
17517 sed 's/^/| /' conftest.$ac_ext >&5
17518
17519 ac_header_preproc=no
17520 fi
17521 rm -f conftest.err conftest.$ac_ext
17522 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17523 echo "${ECHO_T}$ac_header_preproc" >&6
17524
17525 # So? What about this header?
17526 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17527 yes:no: )
17528 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17529 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17530 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17531 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17532 ac_header_preproc=yes
17533 ;;
17534 no:yes:* )
17535 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17536 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17537 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17538 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17539 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17540 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17541 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17542 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17543 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17544 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17545 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17546 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17547 (
17548 cat <<\_ASBOX
17549 ## ----------------------------------------- ##
17550 ## Report this to wx-dev@lists.wxwidgets.org ##
17551 ## ----------------------------------------- ##
17552 _ASBOX
17553 ) |
17554 sed "s/^/$as_me: WARNING: /" >&2
17555 ;;
17556 esac
17557 echo "$as_me:$LINENO: checking for $ac_header" >&5
17558 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17559 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17560 echo $ECHO_N "(cached) $ECHO_C" >&6
17561 else
17562 eval "$as_ac_Header=\$ac_header_preproc"
17563 fi
17564 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17565 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17566
17567 fi
17568 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17569 cat >>confdefs.h <<_ACEOF
17570 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17571 _ACEOF
17572
17573 fi
17574
17575 done
17576
17577
17578 case "${host}" in
17579 *-pc-os2_emx | *-pc-os2-emx )
17580 if test $ac_cv_header_langinfo_h = "yes" \
17581 -a \( "$wx_cv_gccversion" = "EMX2" \
17582 -o "$wx_cv_gccversion" = "EMX3" \
17583 -o "$wx_cv_gccversion" = "Innotek5" \); then
17584 LIBS="$LIBS -lintl"
17585 fi
17586 ;;
17587 esac
17588
17589 if test "$USE_UNIX" = 1 ; then
17590
17591 for ac_header in sys/select.h
17592 do
17593 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17594 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17595 echo "$as_me:$LINENO: checking for $ac_header" >&5
17596 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17597 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17598 echo $ECHO_N "(cached) $ECHO_C" >&6
17599 fi
17600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17601 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17602 else
17603 # Is the header compilable?
17604 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17605 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17606 cat >conftest.$ac_ext <<_ACEOF
17607 /* confdefs.h. */
17608 _ACEOF
17609 cat confdefs.h >>conftest.$ac_ext
17610 cat >>conftest.$ac_ext <<_ACEOF
17611 /* end confdefs.h. */
17612 $ac_includes_default
17613 #include <$ac_header>
17614 _ACEOF
17615 rm -f conftest.$ac_objext
17616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17617 (eval $ac_compile) 2>conftest.er1
17618 ac_status=$?
17619 grep -v '^ *+' conftest.er1 >conftest.err
17620 rm -f conftest.er1
17621 cat conftest.err >&5
17622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17623 (exit $ac_status); } &&
17624 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17626 (eval $ac_try) 2>&5
17627 ac_status=$?
17628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17629 (exit $ac_status); }; } &&
17630 { ac_try='test -s conftest.$ac_objext'
17631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17632 (eval $ac_try) 2>&5
17633 ac_status=$?
17634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17635 (exit $ac_status); }; }; then
17636 ac_header_compiler=yes
17637 else
17638 echo "$as_me: failed program was:" >&5
17639 sed 's/^/| /' conftest.$ac_ext >&5
17640
17641 ac_header_compiler=no
17642 fi
17643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17644 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17645 echo "${ECHO_T}$ac_header_compiler" >&6
17646
17647 # Is the header present?
17648 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17649 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17650 cat >conftest.$ac_ext <<_ACEOF
17651 /* confdefs.h. */
17652 _ACEOF
17653 cat confdefs.h >>conftest.$ac_ext
17654 cat >>conftest.$ac_ext <<_ACEOF
17655 /* end confdefs.h. */
17656 #include <$ac_header>
17657 _ACEOF
17658 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17659 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17660 ac_status=$?
17661 grep -v '^ *+' conftest.er1 >conftest.err
17662 rm -f conftest.er1
17663 cat conftest.err >&5
17664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17665 (exit $ac_status); } >/dev/null; then
17666 if test -s conftest.err; then
17667 ac_cpp_err=$ac_cxx_preproc_warn_flag
17668 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17669 else
17670 ac_cpp_err=
17671 fi
17672 else
17673 ac_cpp_err=yes
17674 fi
17675 if test -z "$ac_cpp_err"; then
17676 ac_header_preproc=yes
17677 else
17678 echo "$as_me: failed program was:" >&5
17679 sed 's/^/| /' conftest.$ac_ext >&5
17680
17681 ac_header_preproc=no
17682 fi
17683 rm -f conftest.err conftest.$ac_ext
17684 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17685 echo "${ECHO_T}$ac_header_preproc" >&6
17686
17687 # So? What about this header?
17688 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17689 yes:no: )
17690 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17691 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17692 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17693 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17694 ac_header_preproc=yes
17695 ;;
17696 no:yes:* )
17697 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17698 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17699 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17700 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17701 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17702 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17703 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17704 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17705 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17706 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17707 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17708 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17709 (
17710 cat <<\_ASBOX
17711 ## ----------------------------------------- ##
17712 ## Report this to wx-dev@lists.wxwidgets.org ##
17713 ## ----------------------------------------- ##
17714 _ASBOX
17715 ) |
17716 sed "s/^/$as_me: WARNING: /" >&2
17717 ;;
17718 esac
17719 echo "$as_me:$LINENO: checking for $ac_header" >&5
17720 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17721 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17722 echo $ECHO_N "(cached) $ECHO_C" >&6
17723 else
17724 eval "$as_ac_Header=\$ac_header_preproc"
17725 fi
17726 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17727 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17728
17729 fi
17730 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17731 cat >>confdefs.h <<_ACEOF
17732 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17733 _ACEOF
17734
17735 fi
17736
17737 done
17738
17739 fi
17740
17741
17742 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17743 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
17744 if test "${ac_cv_c_const+set}" = set; then
17745 echo $ECHO_N "(cached) $ECHO_C" >&6
17746 else
17747 cat >conftest.$ac_ext <<_ACEOF
17748 /* confdefs.h. */
17749 _ACEOF
17750 cat confdefs.h >>conftest.$ac_ext
17751 cat >>conftest.$ac_ext <<_ACEOF
17752 /* end confdefs.h. */
17753
17754 int
17755 main ()
17756 {
17757 /* FIXME: Include the comments suggested by Paul. */
17758 #ifndef __cplusplus
17759 /* Ultrix mips cc rejects this. */
17760 typedef int charset[2];
17761 const charset x;
17762 /* SunOS 4.1.1 cc rejects this. */
17763 char const *const *ccp;
17764 char **p;
17765 /* NEC SVR4.0.2 mips cc rejects this. */
17766 struct point {int x, y;};
17767 static struct point const zero = {0,0};
17768 /* AIX XL C 1.02.0.0 rejects this.
17769 It does not let you subtract one const X* pointer from another in
17770 an arm of an if-expression whose if-part is not a constant
17771 expression */
17772 const char *g = "string";
17773 ccp = &g + (g ? g-g : 0);
17774 /* HPUX 7.0 cc rejects these. */
17775 ++ccp;
17776 p = (char**) ccp;
17777 ccp = (char const *const *) p;
17778 { /* SCO 3.2v4 cc rejects this. */
17779 char *t;
17780 char const *s = 0 ? (char *) 0 : (char const *) 0;
17781
17782 *t++ = 0;
17783 }
17784 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17785 int x[] = {25, 17};
17786 const int *foo = &x[0];
17787 ++foo;
17788 }
17789 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
17790 typedef const int *iptr;
17791 iptr p = 0;
17792 ++p;
17793 }
17794 { /* AIX XL C 1.02.0.0 rejects this saying
17795 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
17796 struct s { int j; const int *ap[3]; };
17797 struct s *b; b->j = 5;
17798 }
17799 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
17800 const int foo = 10;
17801 }
17802 #endif
17803
17804 ;
17805 return 0;
17806 }
17807 _ACEOF
17808 rm -f conftest.$ac_objext
17809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17810 (eval $ac_compile) 2>conftest.er1
17811 ac_status=$?
17812 grep -v '^ *+' conftest.er1 >conftest.err
17813 rm -f conftest.er1
17814 cat conftest.err >&5
17815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17816 (exit $ac_status); } &&
17817 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17819 (eval $ac_try) 2>&5
17820 ac_status=$?
17821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17822 (exit $ac_status); }; } &&
17823 { ac_try='test -s conftest.$ac_objext'
17824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17825 (eval $ac_try) 2>&5
17826 ac_status=$?
17827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17828 (exit $ac_status); }; }; then
17829 ac_cv_c_const=yes
17830 else
17831 echo "$as_me: failed program was:" >&5
17832 sed 's/^/| /' conftest.$ac_ext >&5
17833
17834 ac_cv_c_const=no
17835 fi
17836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17837 fi
17838 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
17839 echo "${ECHO_T}$ac_cv_c_const" >&6
17840 if test $ac_cv_c_const = no; then
17841
17842 cat >>confdefs.h <<\_ACEOF
17843 #define const
17844 _ACEOF
17845
17846 fi
17847
17848 echo "$as_me:$LINENO: checking for inline" >&5
17849 echo $ECHO_N "checking for inline... $ECHO_C" >&6
17850 if test "${ac_cv_c_inline+set}" = set; then
17851 echo $ECHO_N "(cached) $ECHO_C" >&6
17852 else
17853 ac_cv_c_inline=no
17854 for ac_kw in inline __inline__ __inline; do
17855 cat >conftest.$ac_ext <<_ACEOF
17856 /* confdefs.h. */
17857 _ACEOF
17858 cat confdefs.h >>conftest.$ac_ext
17859 cat >>conftest.$ac_ext <<_ACEOF
17860 /* end confdefs.h. */
17861 #ifndef __cplusplus
17862 typedef int foo_t;
17863 static $ac_kw foo_t static_foo () {return 0; }
17864 $ac_kw foo_t foo () {return 0; }
17865 #endif
17866
17867 _ACEOF
17868 rm -f conftest.$ac_objext
17869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17870 (eval $ac_compile) 2>conftest.er1
17871 ac_status=$?
17872 grep -v '^ *+' conftest.er1 >conftest.err
17873 rm -f conftest.er1
17874 cat conftest.err >&5
17875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17876 (exit $ac_status); } &&
17877 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17879 (eval $ac_try) 2>&5
17880 ac_status=$?
17881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17882 (exit $ac_status); }; } &&
17883 { ac_try='test -s conftest.$ac_objext'
17884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17885 (eval $ac_try) 2>&5
17886 ac_status=$?
17887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17888 (exit $ac_status); }; }; then
17889 ac_cv_c_inline=$ac_kw; break
17890 else
17891 echo "$as_me: failed program was:" >&5
17892 sed 's/^/| /' conftest.$ac_ext >&5
17893
17894 fi
17895 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17896 done
17897
17898 fi
17899 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
17900 echo "${ECHO_T}$ac_cv_c_inline" >&6
17901
17902
17903 case $ac_cv_c_inline in
17904 inline | yes) ;;
17905 *)
17906 case $ac_cv_c_inline in
17907 no) ac_val=;;
17908 *) ac_val=$ac_cv_c_inline;;
17909 esac
17910 cat >>confdefs.h <<_ACEOF
17911 #ifndef __cplusplus
17912 #define inline $ac_val
17913 #endif
17914 _ACEOF
17915 ;;
17916 esac
17917
17918
17919 echo "$as_me:$LINENO: checking for char" >&5
17920 echo $ECHO_N "checking for char... $ECHO_C" >&6
17921 if test "${ac_cv_type_char+set}" = set; then
17922 echo $ECHO_N "(cached) $ECHO_C" >&6
17923 else
17924 cat >conftest.$ac_ext <<_ACEOF
17925 /* confdefs.h. */
17926 _ACEOF
17927 cat confdefs.h >>conftest.$ac_ext
17928 cat >>conftest.$ac_ext <<_ACEOF
17929 /* end confdefs.h. */
17930 $ac_includes_default
17931 int
17932 main ()
17933 {
17934 if ((char *) 0)
17935 return 0;
17936 if (sizeof (char))
17937 return 0;
17938 ;
17939 return 0;
17940 }
17941 _ACEOF
17942 rm -f conftest.$ac_objext
17943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17944 (eval $ac_compile) 2>conftest.er1
17945 ac_status=$?
17946 grep -v '^ *+' conftest.er1 >conftest.err
17947 rm -f conftest.er1
17948 cat conftest.err >&5
17949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17950 (exit $ac_status); } &&
17951 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
17952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17953 (eval $ac_try) 2>&5
17954 ac_status=$?
17955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17956 (exit $ac_status); }; } &&
17957 { ac_try='test -s conftest.$ac_objext'
17958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17959 (eval $ac_try) 2>&5
17960 ac_status=$?
17961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17962 (exit $ac_status); }; }; then
17963 ac_cv_type_char=yes
17964 else
17965 echo "$as_me: failed program was:" >&5
17966 sed 's/^/| /' conftest.$ac_ext >&5
17967
17968 ac_cv_type_char=no
17969 fi
17970 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17971 fi
17972 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
17973 echo "${ECHO_T}$ac_cv_type_char" >&6
17974
17975 echo "$as_me:$LINENO: checking size of char" >&5
17976 echo $ECHO_N "checking size of char... $ECHO_C" >&6
17977 if test "${ac_cv_sizeof_char+set}" = set; then
17978 echo $ECHO_N "(cached) $ECHO_C" >&6
17979 else
17980 if test "$ac_cv_type_char" = yes; then
17981 # The cast to unsigned long works around a bug in the HP C Compiler
17982 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
17983 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
17984 # This bug is HP SR number 8606223364.
17985 if test "$cross_compiling" = yes; then
17986 # Depending upon the size, compute the lo and hi bounds.
17987 cat >conftest.$ac_ext <<_ACEOF
17988 /* confdefs.h. */
17989 _ACEOF
17990 cat confdefs.h >>conftest.$ac_ext
17991 cat >>conftest.$ac_ext <<_ACEOF
17992 /* end confdefs.h. */
17993 $ac_includes_default
17994 int
17995 main ()
17996 {
17997 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
17998 test_array [0] = 0
17999
18000 ;
18001 return 0;
18002 }
18003 _ACEOF
18004 rm -f conftest.$ac_objext
18005 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18006 (eval $ac_compile) 2>conftest.er1
18007 ac_status=$?
18008 grep -v '^ *+' conftest.er1 >conftest.err
18009 rm -f conftest.er1
18010 cat conftest.err >&5
18011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18012 (exit $ac_status); } &&
18013 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18015 (eval $ac_try) 2>&5
18016 ac_status=$?
18017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18018 (exit $ac_status); }; } &&
18019 { ac_try='test -s conftest.$ac_objext'
18020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18021 (eval $ac_try) 2>&5
18022 ac_status=$?
18023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18024 (exit $ac_status); }; }; then
18025 ac_lo=0 ac_mid=0
18026 while :; do
18027 cat >conftest.$ac_ext <<_ACEOF
18028 /* confdefs.h. */
18029 _ACEOF
18030 cat confdefs.h >>conftest.$ac_ext
18031 cat >>conftest.$ac_ext <<_ACEOF
18032 /* end confdefs.h. */
18033 $ac_includes_default
18034 int
18035 main ()
18036 {
18037 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18038 test_array [0] = 0
18039
18040 ;
18041 return 0;
18042 }
18043 _ACEOF
18044 rm -f conftest.$ac_objext
18045 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18046 (eval $ac_compile) 2>conftest.er1
18047 ac_status=$?
18048 grep -v '^ *+' conftest.er1 >conftest.err
18049 rm -f conftest.er1
18050 cat conftest.err >&5
18051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18052 (exit $ac_status); } &&
18053 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18055 (eval $ac_try) 2>&5
18056 ac_status=$?
18057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18058 (exit $ac_status); }; } &&
18059 { ac_try='test -s conftest.$ac_objext'
18060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18061 (eval $ac_try) 2>&5
18062 ac_status=$?
18063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18064 (exit $ac_status); }; }; then
18065 ac_hi=$ac_mid; break
18066 else
18067 echo "$as_me: failed program was:" >&5
18068 sed 's/^/| /' conftest.$ac_ext >&5
18069
18070 ac_lo=`expr $ac_mid + 1`
18071 if test $ac_lo -le $ac_mid; then
18072 ac_lo= ac_hi=
18073 break
18074 fi
18075 ac_mid=`expr 2 '*' $ac_mid + 1`
18076 fi
18077 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18078 done
18079 else
18080 echo "$as_me: failed program was:" >&5
18081 sed 's/^/| /' conftest.$ac_ext >&5
18082
18083 cat >conftest.$ac_ext <<_ACEOF
18084 /* confdefs.h. */
18085 _ACEOF
18086 cat confdefs.h >>conftest.$ac_ext
18087 cat >>conftest.$ac_ext <<_ACEOF
18088 /* end confdefs.h. */
18089 $ac_includes_default
18090 int
18091 main ()
18092 {
18093 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
18094 test_array [0] = 0
18095
18096 ;
18097 return 0;
18098 }
18099 _ACEOF
18100 rm -f conftest.$ac_objext
18101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18102 (eval $ac_compile) 2>conftest.er1
18103 ac_status=$?
18104 grep -v '^ *+' conftest.er1 >conftest.err
18105 rm -f conftest.er1
18106 cat conftest.err >&5
18107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18108 (exit $ac_status); } &&
18109 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18111 (eval $ac_try) 2>&5
18112 ac_status=$?
18113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18114 (exit $ac_status); }; } &&
18115 { ac_try='test -s conftest.$ac_objext'
18116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18117 (eval $ac_try) 2>&5
18118 ac_status=$?
18119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18120 (exit $ac_status); }; }; then
18121 ac_hi=-1 ac_mid=-1
18122 while :; do
18123 cat >conftest.$ac_ext <<_ACEOF
18124 /* confdefs.h. */
18125 _ACEOF
18126 cat confdefs.h >>conftest.$ac_ext
18127 cat >>conftest.$ac_ext <<_ACEOF
18128 /* end confdefs.h. */
18129 $ac_includes_default
18130 int
18131 main ()
18132 {
18133 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
18134 test_array [0] = 0
18135
18136 ;
18137 return 0;
18138 }
18139 _ACEOF
18140 rm -f conftest.$ac_objext
18141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18142 (eval $ac_compile) 2>conftest.er1
18143 ac_status=$?
18144 grep -v '^ *+' conftest.er1 >conftest.err
18145 rm -f conftest.er1
18146 cat conftest.err >&5
18147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18148 (exit $ac_status); } &&
18149 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18151 (eval $ac_try) 2>&5
18152 ac_status=$?
18153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18154 (exit $ac_status); }; } &&
18155 { ac_try='test -s conftest.$ac_objext'
18156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18157 (eval $ac_try) 2>&5
18158 ac_status=$?
18159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18160 (exit $ac_status); }; }; then
18161 ac_lo=$ac_mid; break
18162 else
18163 echo "$as_me: failed program was:" >&5
18164 sed 's/^/| /' conftest.$ac_ext >&5
18165
18166 ac_hi=`expr '(' $ac_mid ')' - 1`
18167 if test $ac_mid -le $ac_hi; then
18168 ac_lo= ac_hi=
18169 break
18170 fi
18171 ac_mid=`expr 2 '*' $ac_mid`
18172 fi
18173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18174 done
18175 else
18176 echo "$as_me: failed program was:" >&5
18177 sed 's/^/| /' conftest.$ac_ext >&5
18178
18179 ac_lo= ac_hi=
18180 fi
18181 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18182 fi
18183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18184 # Binary search between lo and hi bounds.
18185 while test "x$ac_lo" != "x$ac_hi"; do
18186 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18187 cat >conftest.$ac_ext <<_ACEOF
18188 /* confdefs.h. */
18189 _ACEOF
18190 cat confdefs.h >>conftest.$ac_ext
18191 cat >>conftest.$ac_ext <<_ACEOF
18192 /* end confdefs.h. */
18193 $ac_includes_default
18194 int
18195 main ()
18196 {
18197 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
18198 test_array [0] = 0
18199
18200 ;
18201 return 0;
18202 }
18203 _ACEOF
18204 rm -f conftest.$ac_objext
18205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18206 (eval $ac_compile) 2>conftest.er1
18207 ac_status=$?
18208 grep -v '^ *+' conftest.er1 >conftest.err
18209 rm -f conftest.er1
18210 cat conftest.err >&5
18211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18212 (exit $ac_status); } &&
18213 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18215 (eval $ac_try) 2>&5
18216 ac_status=$?
18217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18218 (exit $ac_status); }; } &&
18219 { ac_try='test -s conftest.$ac_objext'
18220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18221 (eval $ac_try) 2>&5
18222 ac_status=$?
18223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18224 (exit $ac_status); }; }; then
18225 ac_hi=$ac_mid
18226 else
18227 echo "$as_me: failed program was:" >&5
18228 sed 's/^/| /' conftest.$ac_ext >&5
18229
18230 ac_lo=`expr '(' $ac_mid ')' + 1`
18231 fi
18232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18233 done
18234 case $ac_lo in
18235 ?*) ac_cv_sizeof_char=$ac_lo;;
18236 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18237 See \`config.log' for more details." >&5
18238 echo "$as_me: error: cannot compute sizeof (char), 77
18239 See \`config.log' for more details." >&2;}
18240 { (exit 1); exit 1; }; } ;;
18241 esac
18242 else
18243 if test "$cross_compiling" = yes; then
18244 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18245 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18246 { (exit 1); exit 1; }; }
18247 else
18248 cat >conftest.$ac_ext <<_ACEOF
18249 /* confdefs.h. */
18250 _ACEOF
18251 cat confdefs.h >>conftest.$ac_ext
18252 cat >>conftest.$ac_ext <<_ACEOF
18253 /* end confdefs.h. */
18254 $ac_includes_default
18255 long longval () { return (long) (sizeof (char)); }
18256 unsigned long ulongval () { return (long) (sizeof (char)); }
18257 #include <stdio.h>
18258 #include <stdlib.h>
18259 int
18260 main ()
18261 {
18262
18263 FILE *f = fopen ("conftest.val", "w");
18264 if (! f)
18265 exit (1);
18266 if (((long) (sizeof (char))) < 0)
18267 {
18268 long i = longval ();
18269 if (i != ((long) (sizeof (char))))
18270 exit (1);
18271 fprintf (f, "%ld\n", i);
18272 }
18273 else
18274 {
18275 unsigned long i = ulongval ();
18276 if (i != ((long) (sizeof (char))))
18277 exit (1);
18278 fprintf (f, "%lu\n", i);
18279 }
18280 exit (ferror (f) || fclose (f) != 0);
18281
18282 ;
18283 return 0;
18284 }
18285 _ACEOF
18286 rm -f conftest$ac_exeext
18287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18288 (eval $ac_link) 2>&5
18289 ac_status=$?
18290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18291 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18293 (eval $ac_try) 2>&5
18294 ac_status=$?
18295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18296 (exit $ac_status); }; }; then
18297 ac_cv_sizeof_char=`cat conftest.val`
18298 else
18299 echo "$as_me: program exited with status $ac_status" >&5
18300 echo "$as_me: failed program was:" >&5
18301 sed 's/^/| /' conftest.$ac_ext >&5
18302
18303 ( exit $ac_status )
18304 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
18305 See \`config.log' for more details." >&5
18306 echo "$as_me: error: cannot compute sizeof (char), 77
18307 See \`config.log' for more details." >&2;}
18308 { (exit 1); exit 1; }; }
18309 fi
18310 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18311 fi
18312 fi
18313 rm -f conftest.val
18314 else
18315 ac_cv_sizeof_char=0
18316 fi
18317 fi
18318 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
18319 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
18320 cat >>confdefs.h <<_ACEOF
18321 #define SIZEOF_CHAR $ac_cv_sizeof_char
18322 _ACEOF
18323
18324
18325 echo "$as_me:$LINENO: checking for short" >&5
18326 echo $ECHO_N "checking for short... $ECHO_C" >&6
18327 if test "${ac_cv_type_short+set}" = set; then
18328 echo $ECHO_N "(cached) $ECHO_C" >&6
18329 else
18330 cat >conftest.$ac_ext <<_ACEOF
18331 /* confdefs.h. */
18332 _ACEOF
18333 cat confdefs.h >>conftest.$ac_ext
18334 cat >>conftest.$ac_ext <<_ACEOF
18335 /* end confdefs.h. */
18336 $ac_includes_default
18337 int
18338 main ()
18339 {
18340 if ((short *) 0)
18341 return 0;
18342 if (sizeof (short))
18343 return 0;
18344 ;
18345 return 0;
18346 }
18347 _ACEOF
18348 rm -f conftest.$ac_objext
18349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18350 (eval $ac_compile) 2>conftest.er1
18351 ac_status=$?
18352 grep -v '^ *+' conftest.er1 >conftest.err
18353 rm -f conftest.er1
18354 cat conftest.err >&5
18355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18356 (exit $ac_status); } &&
18357 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18359 (eval $ac_try) 2>&5
18360 ac_status=$?
18361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18362 (exit $ac_status); }; } &&
18363 { ac_try='test -s conftest.$ac_objext'
18364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18365 (eval $ac_try) 2>&5
18366 ac_status=$?
18367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18368 (exit $ac_status); }; }; then
18369 ac_cv_type_short=yes
18370 else
18371 echo "$as_me: failed program was:" >&5
18372 sed 's/^/| /' conftest.$ac_ext >&5
18373
18374 ac_cv_type_short=no
18375 fi
18376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18377 fi
18378 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18379 echo "${ECHO_T}$ac_cv_type_short" >&6
18380
18381 echo "$as_me:$LINENO: checking size of short" >&5
18382 echo $ECHO_N "checking size of short... $ECHO_C" >&6
18383 if test "${ac_cv_sizeof_short+set}" = set; then
18384 echo $ECHO_N "(cached) $ECHO_C" >&6
18385 else
18386 if test "$ac_cv_type_short" = yes; then
18387 # The cast to unsigned long works around a bug in the HP C Compiler
18388 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18389 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18390 # This bug is HP SR number 8606223364.
18391 if test "$cross_compiling" = yes; then
18392 # Depending upon the size, compute the lo and hi bounds.
18393 cat >conftest.$ac_ext <<_ACEOF
18394 /* confdefs.h. */
18395 _ACEOF
18396 cat confdefs.h >>conftest.$ac_ext
18397 cat >>conftest.$ac_ext <<_ACEOF
18398 /* end confdefs.h. */
18399 $ac_includes_default
18400 int
18401 main ()
18402 {
18403 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
18404 test_array [0] = 0
18405
18406 ;
18407 return 0;
18408 }
18409 _ACEOF
18410 rm -f conftest.$ac_objext
18411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18412 (eval $ac_compile) 2>conftest.er1
18413 ac_status=$?
18414 grep -v '^ *+' conftest.er1 >conftest.err
18415 rm -f conftest.er1
18416 cat conftest.err >&5
18417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18418 (exit $ac_status); } &&
18419 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18421 (eval $ac_try) 2>&5
18422 ac_status=$?
18423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18424 (exit $ac_status); }; } &&
18425 { ac_try='test -s conftest.$ac_objext'
18426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18427 (eval $ac_try) 2>&5
18428 ac_status=$?
18429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18430 (exit $ac_status); }; }; then
18431 ac_lo=0 ac_mid=0
18432 while :; do
18433 cat >conftest.$ac_ext <<_ACEOF
18434 /* confdefs.h. */
18435 _ACEOF
18436 cat confdefs.h >>conftest.$ac_ext
18437 cat >>conftest.$ac_ext <<_ACEOF
18438 /* end confdefs.h. */
18439 $ac_includes_default
18440 int
18441 main ()
18442 {
18443 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18444 test_array [0] = 0
18445
18446 ;
18447 return 0;
18448 }
18449 _ACEOF
18450 rm -f conftest.$ac_objext
18451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18452 (eval $ac_compile) 2>conftest.er1
18453 ac_status=$?
18454 grep -v '^ *+' conftest.er1 >conftest.err
18455 rm -f conftest.er1
18456 cat conftest.err >&5
18457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18458 (exit $ac_status); } &&
18459 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18461 (eval $ac_try) 2>&5
18462 ac_status=$?
18463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18464 (exit $ac_status); }; } &&
18465 { ac_try='test -s conftest.$ac_objext'
18466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18467 (eval $ac_try) 2>&5
18468 ac_status=$?
18469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18470 (exit $ac_status); }; }; then
18471 ac_hi=$ac_mid; break
18472 else
18473 echo "$as_me: failed program was:" >&5
18474 sed 's/^/| /' conftest.$ac_ext >&5
18475
18476 ac_lo=`expr $ac_mid + 1`
18477 if test $ac_lo -le $ac_mid; then
18478 ac_lo= ac_hi=
18479 break
18480 fi
18481 ac_mid=`expr 2 '*' $ac_mid + 1`
18482 fi
18483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18484 done
18485 else
18486 echo "$as_me: failed program was:" >&5
18487 sed 's/^/| /' conftest.$ac_ext >&5
18488
18489 cat >conftest.$ac_ext <<_ACEOF
18490 /* confdefs.h. */
18491 _ACEOF
18492 cat confdefs.h >>conftest.$ac_ext
18493 cat >>conftest.$ac_ext <<_ACEOF
18494 /* end confdefs.h. */
18495 $ac_includes_default
18496 int
18497 main ()
18498 {
18499 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
18500 test_array [0] = 0
18501
18502 ;
18503 return 0;
18504 }
18505 _ACEOF
18506 rm -f conftest.$ac_objext
18507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18508 (eval $ac_compile) 2>conftest.er1
18509 ac_status=$?
18510 grep -v '^ *+' conftest.er1 >conftest.err
18511 rm -f conftest.er1
18512 cat conftest.err >&5
18513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18514 (exit $ac_status); } &&
18515 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18517 (eval $ac_try) 2>&5
18518 ac_status=$?
18519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18520 (exit $ac_status); }; } &&
18521 { ac_try='test -s conftest.$ac_objext'
18522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18523 (eval $ac_try) 2>&5
18524 ac_status=$?
18525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18526 (exit $ac_status); }; }; then
18527 ac_hi=-1 ac_mid=-1
18528 while :; do
18529 cat >conftest.$ac_ext <<_ACEOF
18530 /* confdefs.h. */
18531 _ACEOF
18532 cat confdefs.h >>conftest.$ac_ext
18533 cat >>conftest.$ac_ext <<_ACEOF
18534 /* end confdefs.h. */
18535 $ac_includes_default
18536 int
18537 main ()
18538 {
18539 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
18540 test_array [0] = 0
18541
18542 ;
18543 return 0;
18544 }
18545 _ACEOF
18546 rm -f conftest.$ac_objext
18547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18548 (eval $ac_compile) 2>conftest.er1
18549 ac_status=$?
18550 grep -v '^ *+' conftest.er1 >conftest.err
18551 rm -f conftest.er1
18552 cat conftest.err >&5
18553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18554 (exit $ac_status); } &&
18555 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18557 (eval $ac_try) 2>&5
18558 ac_status=$?
18559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18560 (exit $ac_status); }; } &&
18561 { ac_try='test -s conftest.$ac_objext'
18562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18563 (eval $ac_try) 2>&5
18564 ac_status=$?
18565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18566 (exit $ac_status); }; }; then
18567 ac_lo=$ac_mid; break
18568 else
18569 echo "$as_me: failed program was:" >&5
18570 sed 's/^/| /' conftest.$ac_ext >&5
18571
18572 ac_hi=`expr '(' $ac_mid ')' - 1`
18573 if test $ac_mid -le $ac_hi; then
18574 ac_lo= ac_hi=
18575 break
18576 fi
18577 ac_mid=`expr 2 '*' $ac_mid`
18578 fi
18579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18580 done
18581 else
18582 echo "$as_me: failed program was:" >&5
18583 sed 's/^/| /' conftest.$ac_ext >&5
18584
18585 ac_lo= ac_hi=
18586 fi
18587 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18588 fi
18589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18590 # Binary search between lo and hi bounds.
18591 while test "x$ac_lo" != "x$ac_hi"; do
18592 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
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 int
18601 main ()
18602 {
18603 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
18604 test_array [0] = 0
18605
18606 ;
18607 return 0;
18608 }
18609 _ACEOF
18610 rm -f conftest.$ac_objext
18611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18612 (eval $ac_compile) 2>conftest.er1
18613 ac_status=$?
18614 grep -v '^ *+' conftest.er1 >conftest.err
18615 rm -f conftest.er1
18616 cat conftest.err >&5
18617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18618 (exit $ac_status); } &&
18619 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18621 (eval $ac_try) 2>&5
18622 ac_status=$?
18623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18624 (exit $ac_status); }; } &&
18625 { ac_try='test -s conftest.$ac_objext'
18626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18627 (eval $ac_try) 2>&5
18628 ac_status=$?
18629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18630 (exit $ac_status); }; }; then
18631 ac_hi=$ac_mid
18632 else
18633 echo "$as_me: failed program was:" >&5
18634 sed 's/^/| /' conftest.$ac_ext >&5
18635
18636 ac_lo=`expr '(' $ac_mid ')' + 1`
18637 fi
18638 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18639 done
18640 case $ac_lo in
18641 ?*) ac_cv_sizeof_short=$ac_lo;;
18642 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18643 See \`config.log' for more details." >&5
18644 echo "$as_me: error: cannot compute sizeof (short), 77
18645 See \`config.log' for more details." >&2;}
18646 { (exit 1); exit 1; }; } ;;
18647 esac
18648 else
18649 if test "$cross_compiling" = yes; then
18650 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
18651 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
18652 { (exit 1); exit 1; }; }
18653 else
18654 cat >conftest.$ac_ext <<_ACEOF
18655 /* confdefs.h. */
18656 _ACEOF
18657 cat confdefs.h >>conftest.$ac_ext
18658 cat >>conftest.$ac_ext <<_ACEOF
18659 /* end confdefs.h. */
18660 $ac_includes_default
18661 long longval () { return (long) (sizeof (short)); }
18662 unsigned long ulongval () { return (long) (sizeof (short)); }
18663 #include <stdio.h>
18664 #include <stdlib.h>
18665 int
18666 main ()
18667 {
18668
18669 FILE *f = fopen ("conftest.val", "w");
18670 if (! f)
18671 exit (1);
18672 if (((long) (sizeof (short))) < 0)
18673 {
18674 long i = longval ();
18675 if (i != ((long) (sizeof (short))))
18676 exit (1);
18677 fprintf (f, "%ld\n", i);
18678 }
18679 else
18680 {
18681 unsigned long i = ulongval ();
18682 if (i != ((long) (sizeof (short))))
18683 exit (1);
18684 fprintf (f, "%lu\n", i);
18685 }
18686 exit (ferror (f) || fclose (f) != 0);
18687
18688 ;
18689 return 0;
18690 }
18691 _ACEOF
18692 rm -f conftest$ac_exeext
18693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18694 (eval $ac_link) 2>&5
18695 ac_status=$?
18696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18697 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18699 (eval $ac_try) 2>&5
18700 ac_status=$?
18701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18702 (exit $ac_status); }; }; then
18703 ac_cv_sizeof_short=`cat conftest.val`
18704 else
18705 echo "$as_me: program exited with status $ac_status" >&5
18706 echo "$as_me: failed program was:" >&5
18707 sed 's/^/| /' conftest.$ac_ext >&5
18708
18709 ( exit $ac_status )
18710 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
18711 See \`config.log' for more details." >&5
18712 echo "$as_me: error: cannot compute sizeof (short), 77
18713 See \`config.log' for more details." >&2;}
18714 { (exit 1); exit 1; }; }
18715 fi
18716 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18717 fi
18718 fi
18719 rm -f conftest.val
18720 else
18721 ac_cv_sizeof_short=0
18722 fi
18723 fi
18724 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18725 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
18726 cat >>confdefs.h <<_ACEOF
18727 #define SIZEOF_SHORT $ac_cv_sizeof_short
18728 _ACEOF
18729
18730
18731 echo "$as_me:$LINENO: checking for void *" >&5
18732 echo $ECHO_N "checking for void *... $ECHO_C" >&6
18733 if test "${ac_cv_type_void_p+set}" = set; then
18734 echo $ECHO_N "(cached) $ECHO_C" >&6
18735 else
18736 cat >conftest.$ac_ext <<_ACEOF
18737 /* confdefs.h. */
18738 _ACEOF
18739 cat confdefs.h >>conftest.$ac_ext
18740 cat >>conftest.$ac_ext <<_ACEOF
18741 /* end confdefs.h. */
18742 $ac_includes_default
18743 int
18744 main ()
18745 {
18746 if ((void * *) 0)
18747 return 0;
18748 if (sizeof (void *))
18749 return 0;
18750 ;
18751 return 0;
18752 }
18753 _ACEOF
18754 rm -f conftest.$ac_objext
18755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18756 (eval $ac_compile) 2>conftest.er1
18757 ac_status=$?
18758 grep -v '^ *+' conftest.er1 >conftest.err
18759 rm -f conftest.er1
18760 cat conftest.err >&5
18761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18762 (exit $ac_status); } &&
18763 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18765 (eval $ac_try) 2>&5
18766 ac_status=$?
18767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18768 (exit $ac_status); }; } &&
18769 { ac_try='test -s conftest.$ac_objext'
18770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18771 (eval $ac_try) 2>&5
18772 ac_status=$?
18773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18774 (exit $ac_status); }; }; then
18775 ac_cv_type_void_p=yes
18776 else
18777 echo "$as_me: failed program was:" >&5
18778 sed 's/^/| /' conftest.$ac_ext >&5
18779
18780 ac_cv_type_void_p=no
18781 fi
18782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18783 fi
18784 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18785 echo "${ECHO_T}$ac_cv_type_void_p" >&6
18786
18787 echo "$as_me:$LINENO: checking size of void *" >&5
18788 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
18789 if test "${ac_cv_sizeof_void_p+set}" = set; then
18790 echo $ECHO_N "(cached) $ECHO_C" >&6
18791 else
18792 if test "$ac_cv_type_void_p" = yes; then
18793 # The cast to unsigned long works around a bug in the HP C Compiler
18794 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18795 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18796 # This bug is HP SR number 8606223364.
18797 if test "$cross_compiling" = yes; then
18798 # Depending upon the size, compute the lo and hi bounds.
18799 cat >conftest.$ac_ext <<_ACEOF
18800 /* confdefs.h. */
18801 _ACEOF
18802 cat confdefs.h >>conftest.$ac_ext
18803 cat >>conftest.$ac_ext <<_ACEOF
18804 /* end confdefs.h. */
18805 $ac_includes_default
18806 int
18807 main ()
18808 {
18809 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
18810 test_array [0] = 0
18811
18812 ;
18813 return 0;
18814 }
18815 _ACEOF
18816 rm -f conftest.$ac_objext
18817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18818 (eval $ac_compile) 2>conftest.er1
18819 ac_status=$?
18820 grep -v '^ *+' conftest.er1 >conftest.err
18821 rm -f conftest.er1
18822 cat conftest.err >&5
18823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18824 (exit $ac_status); } &&
18825 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18827 (eval $ac_try) 2>&5
18828 ac_status=$?
18829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18830 (exit $ac_status); }; } &&
18831 { ac_try='test -s conftest.$ac_objext'
18832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18833 (eval $ac_try) 2>&5
18834 ac_status=$?
18835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18836 (exit $ac_status); }; }; then
18837 ac_lo=0 ac_mid=0
18838 while :; do
18839 cat >conftest.$ac_ext <<_ACEOF
18840 /* confdefs.h. */
18841 _ACEOF
18842 cat confdefs.h >>conftest.$ac_ext
18843 cat >>conftest.$ac_ext <<_ACEOF
18844 /* end confdefs.h. */
18845 $ac_includes_default
18846 int
18847 main ()
18848 {
18849 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
18850 test_array [0] = 0
18851
18852 ;
18853 return 0;
18854 }
18855 _ACEOF
18856 rm -f conftest.$ac_objext
18857 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18858 (eval $ac_compile) 2>conftest.er1
18859 ac_status=$?
18860 grep -v '^ *+' conftest.er1 >conftest.err
18861 rm -f conftest.er1
18862 cat conftest.err >&5
18863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18864 (exit $ac_status); } &&
18865 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18867 (eval $ac_try) 2>&5
18868 ac_status=$?
18869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18870 (exit $ac_status); }; } &&
18871 { ac_try='test -s conftest.$ac_objext'
18872 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18873 (eval $ac_try) 2>&5
18874 ac_status=$?
18875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18876 (exit $ac_status); }; }; then
18877 ac_hi=$ac_mid; break
18878 else
18879 echo "$as_me: failed program was:" >&5
18880 sed 's/^/| /' conftest.$ac_ext >&5
18881
18882 ac_lo=`expr $ac_mid + 1`
18883 if test $ac_lo -le $ac_mid; then
18884 ac_lo= ac_hi=
18885 break
18886 fi
18887 ac_mid=`expr 2 '*' $ac_mid + 1`
18888 fi
18889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18890 done
18891 else
18892 echo "$as_me: failed program was:" >&5
18893 sed 's/^/| /' conftest.$ac_ext >&5
18894
18895 cat >conftest.$ac_ext <<_ACEOF
18896 /* confdefs.h. */
18897 _ACEOF
18898 cat confdefs.h >>conftest.$ac_ext
18899 cat >>conftest.$ac_ext <<_ACEOF
18900 /* end confdefs.h. */
18901 $ac_includes_default
18902 int
18903 main ()
18904 {
18905 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
18906 test_array [0] = 0
18907
18908 ;
18909 return 0;
18910 }
18911 _ACEOF
18912 rm -f conftest.$ac_objext
18913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18914 (eval $ac_compile) 2>conftest.er1
18915 ac_status=$?
18916 grep -v '^ *+' conftest.er1 >conftest.err
18917 rm -f conftest.er1
18918 cat conftest.err >&5
18919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18920 (exit $ac_status); } &&
18921 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18923 (eval $ac_try) 2>&5
18924 ac_status=$?
18925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18926 (exit $ac_status); }; } &&
18927 { ac_try='test -s conftest.$ac_objext'
18928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18929 (eval $ac_try) 2>&5
18930 ac_status=$?
18931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18932 (exit $ac_status); }; }; then
18933 ac_hi=-1 ac_mid=-1
18934 while :; do
18935 cat >conftest.$ac_ext <<_ACEOF
18936 /* confdefs.h. */
18937 _ACEOF
18938 cat confdefs.h >>conftest.$ac_ext
18939 cat >>conftest.$ac_ext <<_ACEOF
18940 /* end confdefs.h. */
18941 $ac_includes_default
18942 int
18943 main ()
18944 {
18945 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
18946 test_array [0] = 0
18947
18948 ;
18949 return 0;
18950 }
18951 _ACEOF
18952 rm -f conftest.$ac_objext
18953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18954 (eval $ac_compile) 2>conftest.er1
18955 ac_status=$?
18956 grep -v '^ *+' conftest.er1 >conftest.err
18957 rm -f conftest.er1
18958 cat conftest.err >&5
18959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18960 (exit $ac_status); } &&
18961 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
18962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18963 (eval $ac_try) 2>&5
18964 ac_status=$?
18965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18966 (exit $ac_status); }; } &&
18967 { ac_try='test -s conftest.$ac_objext'
18968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18969 (eval $ac_try) 2>&5
18970 ac_status=$?
18971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18972 (exit $ac_status); }; }; then
18973 ac_lo=$ac_mid; break
18974 else
18975 echo "$as_me: failed program was:" >&5
18976 sed 's/^/| /' conftest.$ac_ext >&5
18977
18978 ac_hi=`expr '(' $ac_mid ')' - 1`
18979 if test $ac_mid -le $ac_hi; then
18980 ac_lo= ac_hi=
18981 break
18982 fi
18983 ac_mid=`expr 2 '*' $ac_mid`
18984 fi
18985 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18986 done
18987 else
18988 echo "$as_me: failed program was:" >&5
18989 sed 's/^/| /' conftest.$ac_ext >&5
18990
18991 ac_lo= ac_hi=
18992 fi
18993 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18994 fi
18995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18996 # Binary search between lo and hi bounds.
18997 while test "x$ac_lo" != "x$ac_hi"; do
18998 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
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 int
19007 main ()
19008 {
19009 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
19010 test_array [0] = 0
19011
19012 ;
19013 return 0;
19014 }
19015 _ACEOF
19016 rm -f conftest.$ac_objext
19017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19018 (eval $ac_compile) 2>conftest.er1
19019 ac_status=$?
19020 grep -v '^ *+' conftest.er1 >conftest.err
19021 rm -f conftest.er1
19022 cat conftest.err >&5
19023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19024 (exit $ac_status); } &&
19025 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19027 (eval $ac_try) 2>&5
19028 ac_status=$?
19029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19030 (exit $ac_status); }; } &&
19031 { ac_try='test -s conftest.$ac_objext'
19032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19033 (eval $ac_try) 2>&5
19034 ac_status=$?
19035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19036 (exit $ac_status); }; }; then
19037 ac_hi=$ac_mid
19038 else
19039 echo "$as_me: failed program was:" >&5
19040 sed 's/^/| /' conftest.$ac_ext >&5
19041
19042 ac_lo=`expr '(' $ac_mid ')' + 1`
19043 fi
19044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19045 done
19046 case $ac_lo in
19047 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19048 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19049 See \`config.log' for more details." >&5
19050 echo "$as_me: error: cannot compute sizeof (void *), 77
19051 See \`config.log' for more details." >&2;}
19052 { (exit 1); exit 1; }; } ;;
19053 esac
19054 else
19055 if test "$cross_compiling" = yes; then
19056 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19057 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19058 { (exit 1); exit 1; }; }
19059 else
19060 cat >conftest.$ac_ext <<_ACEOF
19061 /* confdefs.h. */
19062 _ACEOF
19063 cat confdefs.h >>conftest.$ac_ext
19064 cat >>conftest.$ac_ext <<_ACEOF
19065 /* end confdefs.h. */
19066 $ac_includes_default
19067 long longval () { return (long) (sizeof (void *)); }
19068 unsigned long ulongval () { return (long) (sizeof (void *)); }
19069 #include <stdio.h>
19070 #include <stdlib.h>
19071 int
19072 main ()
19073 {
19074
19075 FILE *f = fopen ("conftest.val", "w");
19076 if (! f)
19077 exit (1);
19078 if (((long) (sizeof (void *))) < 0)
19079 {
19080 long i = longval ();
19081 if (i != ((long) (sizeof (void *))))
19082 exit (1);
19083 fprintf (f, "%ld\n", i);
19084 }
19085 else
19086 {
19087 unsigned long i = ulongval ();
19088 if (i != ((long) (sizeof (void *))))
19089 exit (1);
19090 fprintf (f, "%lu\n", i);
19091 }
19092 exit (ferror (f) || fclose (f) != 0);
19093
19094 ;
19095 return 0;
19096 }
19097 _ACEOF
19098 rm -f conftest$ac_exeext
19099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19100 (eval $ac_link) 2>&5
19101 ac_status=$?
19102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19103 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19105 (eval $ac_try) 2>&5
19106 ac_status=$?
19107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19108 (exit $ac_status); }; }; then
19109 ac_cv_sizeof_void_p=`cat conftest.val`
19110 else
19111 echo "$as_me: program exited with status $ac_status" >&5
19112 echo "$as_me: failed program was:" >&5
19113 sed 's/^/| /' conftest.$ac_ext >&5
19114
19115 ( exit $ac_status )
19116 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
19117 See \`config.log' for more details." >&5
19118 echo "$as_me: error: cannot compute sizeof (void *), 77
19119 See \`config.log' for more details." >&2;}
19120 { (exit 1); exit 1; }; }
19121 fi
19122 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19123 fi
19124 fi
19125 rm -f conftest.val
19126 else
19127 ac_cv_sizeof_void_p=0
19128 fi
19129 fi
19130 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19131 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
19132 cat >>confdefs.h <<_ACEOF
19133 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19134 _ACEOF
19135
19136
19137 echo "$as_me:$LINENO: checking for int" >&5
19138 echo $ECHO_N "checking for int... $ECHO_C" >&6
19139 if test "${ac_cv_type_int+set}" = set; then
19140 echo $ECHO_N "(cached) $ECHO_C" >&6
19141 else
19142 cat >conftest.$ac_ext <<_ACEOF
19143 /* confdefs.h. */
19144 _ACEOF
19145 cat confdefs.h >>conftest.$ac_ext
19146 cat >>conftest.$ac_ext <<_ACEOF
19147 /* end confdefs.h. */
19148 $ac_includes_default
19149 int
19150 main ()
19151 {
19152 if ((int *) 0)
19153 return 0;
19154 if (sizeof (int))
19155 return 0;
19156 ;
19157 return 0;
19158 }
19159 _ACEOF
19160 rm -f conftest.$ac_objext
19161 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19162 (eval $ac_compile) 2>conftest.er1
19163 ac_status=$?
19164 grep -v '^ *+' conftest.er1 >conftest.err
19165 rm -f conftest.er1
19166 cat conftest.err >&5
19167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19168 (exit $ac_status); } &&
19169 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19171 (eval $ac_try) 2>&5
19172 ac_status=$?
19173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19174 (exit $ac_status); }; } &&
19175 { ac_try='test -s conftest.$ac_objext'
19176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19177 (eval $ac_try) 2>&5
19178 ac_status=$?
19179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19180 (exit $ac_status); }; }; then
19181 ac_cv_type_int=yes
19182 else
19183 echo "$as_me: failed program was:" >&5
19184 sed 's/^/| /' conftest.$ac_ext >&5
19185
19186 ac_cv_type_int=no
19187 fi
19188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19189 fi
19190 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19191 echo "${ECHO_T}$ac_cv_type_int" >&6
19192
19193 echo "$as_me:$LINENO: checking size of int" >&5
19194 echo $ECHO_N "checking size of int... $ECHO_C" >&6
19195 if test "${ac_cv_sizeof_int+set}" = set; then
19196 echo $ECHO_N "(cached) $ECHO_C" >&6
19197 else
19198 if test "$ac_cv_type_int" = yes; then
19199 # The cast to unsigned long works around a bug in the HP C Compiler
19200 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19201 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19202 # This bug is HP SR number 8606223364.
19203 if test "$cross_compiling" = yes; then
19204 # Depending upon the size, compute the lo and hi bounds.
19205 cat >conftest.$ac_ext <<_ACEOF
19206 /* confdefs.h. */
19207 _ACEOF
19208 cat confdefs.h >>conftest.$ac_ext
19209 cat >>conftest.$ac_ext <<_ACEOF
19210 /* end confdefs.h. */
19211 $ac_includes_default
19212 int
19213 main ()
19214 {
19215 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
19216 test_array [0] = 0
19217
19218 ;
19219 return 0;
19220 }
19221 _ACEOF
19222 rm -f conftest.$ac_objext
19223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19224 (eval $ac_compile) 2>conftest.er1
19225 ac_status=$?
19226 grep -v '^ *+' conftest.er1 >conftest.err
19227 rm -f conftest.er1
19228 cat conftest.err >&5
19229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19230 (exit $ac_status); } &&
19231 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19233 (eval $ac_try) 2>&5
19234 ac_status=$?
19235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19236 (exit $ac_status); }; } &&
19237 { ac_try='test -s conftest.$ac_objext'
19238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19239 (eval $ac_try) 2>&5
19240 ac_status=$?
19241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19242 (exit $ac_status); }; }; then
19243 ac_lo=0 ac_mid=0
19244 while :; do
19245 cat >conftest.$ac_ext <<_ACEOF
19246 /* confdefs.h. */
19247 _ACEOF
19248 cat confdefs.h >>conftest.$ac_ext
19249 cat >>conftest.$ac_ext <<_ACEOF
19250 /* end confdefs.h. */
19251 $ac_includes_default
19252 int
19253 main ()
19254 {
19255 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19256 test_array [0] = 0
19257
19258 ;
19259 return 0;
19260 }
19261 _ACEOF
19262 rm -f conftest.$ac_objext
19263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19264 (eval $ac_compile) 2>conftest.er1
19265 ac_status=$?
19266 grep -v '^ *+' conftest.er1 >conftest.err
19267 rm -f conftest.er1
19268 cat conftest.err >&5
19269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19270 (exit $ac_status); } &&
19271 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19273 (eval $ac_try) 2>&5
19274 ac_status=$?
19275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19276 (exit $ac_status); }; } &&
19277 { ac_try='test -s conftest.$ac_objext'
19278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19279 (eval $ac_try) 2>&5
19280 ac_status=$?
19281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19282 (exit $ac_status); }; }; then
19283 ac_hi=$ac_mid; break
19284 else
19285 echo "$as_me: failed program was:" >&5
19286 sed 's/^/| /' conftest.$ac_ext >&5
19287
19288 ac_lo=`expr $ac_mid + 1`
19289 if test $ac_lo -le $ac_mid; then
19290 ac_lo= ac_hi=
19291 break
19292 fi
19293 ac_mid=`expr 2 '*' $ac_mid + 1`
19294 fi
19295 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19296 done
19297 else
19298 echo "$as_me: failed program was:" >&5
19299 sed 's/^/| /' conftest.$ac_ext >&5
19300
19301 cat >conftest.$ac_ext <<_ACEOF
19302 /* confdefs.h. */
19303 _ACEOF
19304 cat confdefs.h >>conftest.$ac_ext
19305 cat >>conftest.$ac_ext <<_ACEOF
19306 /* end confdefs.h. */
19307 $ac_includes_default
19308 int
19309 main ()
19310 {
19311 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
19312 test_array [0] = 0
19313
19314 ;
19315 return 0;
19316 }
19317 _ACEOF
19318 rm -f conftest.$ac_objext
19319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19320 (eval $ac_compile) 2>conftest.er1
19321 ac_status=$?
19322 grep -v '^ *+' conftest.er1 >conftest.err
19323 rm -f conftest.er1
19324 cat conftest.err >&5
19325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19326 (exit $ac_status); } &&
19327 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19329 (eval $ac_try) 2>&5
19330 ac_status=$?
19331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19332 (exit $ac_status); }; } &&
19333 { ac_try='test -s conftest.$ac_objext'
19334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19335 (eval $ac_try) 2>&5
19336 ac_status=$?
19337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19338 (exit $ac_status); }; }; then
19339 ac_hi=-1 ac_mid=-1
19340 while :; do
19341 cat >conftest.$ac_ext <<_ACEOF
19342 /* confdefs.h. */
19343 _ACEOF
19344 cat confdefs.h >>conftest.$ac_ext
19345 cat >>conftest.$ac_ext <<_ACEOF
19346 /* end confdefs.h. */
19347 $ac_includes_default
19348 int
19349 main ()
19350 {
19351 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
19352 test_array [0] = 0
19353
19354 ;
19355 return 0;
19356 }
19357 _ACEOF
19358 rm -f conftest.$ac_objext
19359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19360 (eval $ac_compile) 2>conftest.er1
19361 ac_status=$?
19362 grep -v '^ *+' conftest.er1 >conftest.err
19363 rm -f conftest.er1
19364 cat conftest.err >&5
19365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19366 (exit $ac_status); } &&
19367 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19369 (eval $ac_try) 2>&5
19370 ac_status=$?
19371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19372 (exit $ac_status); }; } &&
19373 { ac_try='test -s conftest.$ac_objext'
19374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19375 (eval $ac_try) 2>&5
19376 ac_status=$?
19377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19378 (exit $ac_status); }; }; then
19379 ac_lo=$ac_mid; break
19380 else
19381 echo "$as_me: failed program was:" >&5
19382 sed 's/^/| /' conftest.$ac_ext >&5
19383
19384 ac_hi=`expr '(' $ac_mid ')' - 1`
19385 if test $ac_mid -le $ac_hi; then
19386 ac_lo= ac_hi=
19387 break
19388 fi
19389 ac_mid=`expr 2 '*' $ac_mid`
19390 fi
19391 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19392 done
19393 else
19394 echo "$as_me: failed program was:" >&5
19395 sed 's/^/| /' conftest.$ac_ext >&5
19396
19397 ac_lo= ac_hi=
19398 fi
19399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19400 fi
19401 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19402 # Binary search between lo and hi bounds.
19403 while test "x$ac_lo" != "x$ac_hi"; do
19404 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
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 int
19413 main ()
19414 {
19415 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
19416 test_array [0] = 0
19417
19418 ;
19419 return 0;
19420 }
19421 _ACEOF
19422 rm -f conftest.$ac_objext
19423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19424 (eval $ac_compile) 2>conftest.er1
19425 ac_status=$?
19426 grep -v '^ *+' conftest.er1 >conftest.err
19427 rm -f conftest.er1
19428 cat conftest.err >&5
19429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19430 (exit $ac_status); } &&
19431 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19433 (eval $ac_try) 2>&5
19434 ac_status=$?
19435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19436 (exit $ac_status); }; } &&
19437 { ac_try='test -s conftest.$ac_objext'
19438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19439 (eval $ac_try) 2>&5
19440 ac_status=$?
19441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19442 (exit $ac_status); }; }; then
19443 ac_hi=$ac_mid
19444 else
19445 echo "$as_me: failed program was:" >&5
19446 sed 's/^/| /' conftest.$ac_ext >&5
19447
19448 ac_lo=`expr '(' $ac_mid ')' + 1`
19449 fi
19450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19451 done
19452 case $ac_lo in
19453 ?*) ac_cv_sizeof_int=$ac_lo;;
19454 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19455 See \`config.log' for more details." >&5
19456 echo "$as_me: error: cannot compute sizeof (int), 77
19457 See \`config.log' for more details." >&2;}
19458 { (exit 1); exit 1; }; } ;;
19459 esac
19460 else
19461 if test "$cross_compiling" = yes; then
19462 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19463 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19464 { (exit 1); exit 1; }; }
19465 else
19466 cat >conftest.$ac_ext <<_ACEOF
19467 /* confdefs.h. */
19468 _ACEOF
19469 cat confdefs.h >>conftest.$ac_ext
19470 cat >>conftest.$ac_ext <<_ACEOF
19471 /* end confdefs.h. */
19472 $ac_includes_default
19473 long longval () { return (long) (sizeof (int)); }
19474 unsigned long ulongval () { return (long) (sizeof (int)); }
19475 #include <stdio.h>
19476 #include <stdlib.h>
19477 int
19478 main ()
19479 {
19480
19481 FILE *f = fopen ("conftest.val", "w");
19482 if (! f)
19483 exit (1);
19484 if (((long) (sizeof (int))) < 0)
19485 {
19486 long i = longval ();
19487 if (i != ((long) (sizeof (int))))
19488 exit (1);
19489 fprintf (f, "%ld\n", i);
19490 }
19491 else
19492 {
19493 unsigned long i = ulongval ();
19494 if (i != ((long) (sizeof (int))))
19495 exit (1);
19496 fprintf (f, "%lu\n", i);
19497 }
19498 exit (ferror (f) || fclose (f) != 0);
19499
19500 ;
19501 return 0;
19502 }
19503 _ACEOF
19504 rm -f conftest$ac_exeext
19505 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19506 (eval $ac_link) 2>&5
19507 ac_status=$?
19508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19509 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19511 (eval $ac_try) 2>&5
19512 ac_status=$?
19513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19514 (exit $ac_status); }; }; then
19515 ac_cv_sizeof_int=`cat conftest.val`
19516 else
19517 echo "$as_me: program exited with status $ac_status" >&5
19518 echo "$as_me: failed program was:" >&5
19519 sed 's/^/| /' conftest.$ac_ext >&5
19520
19521 ( exit $ac_status )
19522 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
19523 See \`config.log' for more details." >&5
19524 echo "$as_me: error: cannot compute sizeof (int), 77
19525 See \`config.log' for more details." >&2;}
19526 { (exit 1); exit 1; }; }
19527 fi
19528 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19529 fi
19530 fi
19531 rm -f conftest.val
19532 else
19533 ac_cv_sizeof_int=0
19534 fi
19535 fi
19536 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19537 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
19538 cat >>confdefs.h <<_ACEOF
19539 #define SIZEOF_INT $ac_cv_sizeof_int
19540 _ACEOF
19541
19542
19543 echo "$as_me:$LINENO: checking for long" >&5
19544 echo $ECHO_N "checking for long... $ECHO_C" >&6
19545 if test "${ac_cv_type_long+set}" = set; then
19546 echo $ECHO_N "(cached) $ECHO_C" >&6
19547 else
19548 cat >conftest.$ac_ext <<_ACEOF
19549 /* confdefs.h. */
19550 _ACEOF
19551 cat confdefs.h >>conftest.$ac_ext
19552 cat >>conftest.$ac_ext <<_ACEOF
19553 /* end confdefs.h. */
19554 $ac_includes_default
19555 int
19556 main ()
19557 {
19558 if ((long *) 0)
19559 return 0;
19560 if (sizeof (long))
19561 return 0;
19562 ;
19563 return 0;
19564 }
19565 _ACEOF
19566 rm -f conftest.$ac_objext
19567 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19568 (eval $ac_compile) 2>conftest.er1
19569 ac_status=$?
19570 grep -v '^ *+' conftest.er1 >conftest.err
19571 rm -f conftest.er1
19572 cat conftest.err >&5
19573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19574 (exit $ac_status); } &&
19575 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19577 (eval $ac_try) 2>&5
19578 ac_status=$?
19579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19580 (exit $ac_status); }; } &&
19581 { ac_try='test -s conftest.$ac_objext'
19582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19583 (eval $ac_try) 2>&5
19584 ac_status=$?
19585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19586 (exit $ac_status); }; }; then
19587 ac_cv_type_long=yes
19588 else
19589 echo "$as_me: failed program was:" >&5
19590 sed 's/^/| /' conftest.$ac_ext >&5
19591
19592 ac_cv_type_long=no
19593 fi
19594 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19595 fi
19596 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19597 echo "${ECHO_T}$ac_cv_type_long" >&6
19598
19599 echo "$as_me:$LINENO: checking size of long" >&5
19600 echo $ECHO_N "checking size of long... $ECHO_C" >&6
19601 if test "${ac_cv_sizeof_long+set}" = set; then
19602 echo $ECHO_N "(cached) $ECHO_C" >&6
19603 else
19604 if test "$ac_cv_type_long" = yes; then
19605 # The cast to unsigned long works around a bug in the HP C Compiler
19606 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19607 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19608 # This bug is HP SR number 8606223364.
19609 if test "$cross_compiling" = yes; then
19610 # Depending upon the size, compute the lo and hi bounds.
19611 cat >conftest.$ac_ext <<_ACEOF
19612 /* confdefs.h. */
19613 _ACEOF
19614 cat confdefs.h >>conftest.$ac_ext
19615 cat >>conftest.$ac_ext <<_ACEOF
19616 /* end confdefs.h. */
19617 $ac_includes_default
19618 int
19619 main ()
19620 {
19621 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
19622 test_array [0] = 0
19623
19624 ;
19625 return 0;
19626 }
19627 _ACEOF
19628 rm -f conftest.$ac_objext
19629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19630 (eval $ac_compile) 2>conftest.er1
19631 ac_status=$?
19632 grep -v '^ *+' conftest.er1 >conftest.err
19633 rm -f conftest.er1
19634 cat conftest.err >&5
19635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19636 (exit $ac_status); } &&
19637 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19639 (eval $ac_try) 2>&5
19640 ac_status=$?
19641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19642 (exit $ac_status); }; } &&
19643 { ac_try='test -s conftest.$ac_objext'
19644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19645 (eval $ac_try) 2>&5
19646 ac_status=$?
19647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19648 (exit $ac_status); }; }; then
19649 ac_lo=0 ac_mid=0
19650 while :; do
19651 cat >conftest.$ac_ext <<_ACEOF
19652 /* confdefs.h. */
19653 _ACEOF
19654 cat confdefs.h >>conftest.$ac_ext
19655 cat >>conftest.$ac_ext <<_ACEOF
19656 /* end confdefs.h. */
19657 $ac_includes_default
19658 int
19659 main ()
19660 {
19661 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19662 test_array [0] = 0
19663
19664 ;
19665 return 0;
19666 }
19667 _ACEOF
19668 rm -f conftest.$ac_objext
19669 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19670 (eval $ac_compile) 2>conftest.er1
19671 ac_status=$?
19672 grep -v '^ *+' conftest.er1 >conftest.err
19673 rm -f conftest.er1
19674 cat conftest.err >&5
19675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19676 (exit $ac_status); } &&
19677 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19679 (eval $ac_try) 2>&5
19680 ac_status=$?
19681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19682 (exit $ac_status); }; } &&
19683 { ac_try='test -s conftest.$ac_objext'
19684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19685 (eval $ac_try) 2>&5
19686 ac_status=$?
19687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19688 (exit $ac_status); }; }; then
19689 ac_hi=$ac_mid; break
19690 else
19691 echo "$as_me: failed program was:" >&5
19692 sed 's/^/| /' conftest.$ac_ext >&5
19693
19694 ac_lo=`expr $ac_mid + 1`
19695 if test $ac_lo -le $ac_mid; then
19696 ac_lo= ac_hi=
19697 break
19698 fi
19699 ac_mid=`expr 2 '*' $ac_mid + 1`
19700 fi
19701 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19702 done
19703 else
19704 echo "$as_me: failed program was:" >&5
19705 sed 's/^/| /' conftest.$ac_ext >&5
19706
19707 cat >conftest.$ac_ext <<_ACEOF
19708 /* confdefs.h. */
19709 _ACEOF
19710 cat confdefs.h >>conftest.$ac_ext
19711 cat >>conftest.$ac_ext <<_ACEOF
19712 /* end confdefs.h. */
19713 $ac_includes_default
19714 int
19715 main ()
19716 {
19717 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
19718 test_array [0] = 0
19719
19720 ;
19721 return 0;
19722 }
19723 _ACEOF
19724 rm -f conftest.$ac_objext
19725 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19726 (eval $ac_compile) 2>conftest.er1
19727 ac_status=$?
19728 grep -v '^ *+' conftest.er1 >conftest.err
19729 rm -f conftest.er1
19730 cat conftest.err >&5
19731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19732 (exit $ac_status); } &&
19733 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19735 (eval $ac_try) 2>&5
19736 ac_status=$?
19737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19738 (exit $ac_status); }; } &&
19739 { ac_try='test -s conftest.$ac_objext'
19740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19741 (eval $ac_try) 2>&5
19742 ac_status=$?
19743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19744 (exit $ac_status); }; }; then
19745 ac_hi=-1 ac_mid=-1
19746 while :; do
19747 cat >conftest.$ac_ext <<_ACEOF
19748 /* confdefs.h. */
19749 _ACEOF
19750 cat confdefs.h >>conftest.$ac_ext
19751 cat >>conftest.$ac_ext <<_ACEOF
19752 /* end confdefs.h. */
19753 $ac_includes_default
19754 int
19755 main ()
19756 {
19757 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
19758 test_array [0] = 0
19759
19760 ;
19761 return 0;
19762 }
19763 _ACEOF
19764 rm -f conftest.$ac_objext
19765 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19766 (eval $ac_compile) 2>conftest.er1
19767 ac_status=$?
19768 grep -v '^ *+' conftest.er1 >conftest.err
19769 rm -f conftest.er1
19770 cat conftest.err >&5
19771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19772 (exit $ac_status); } &&
19773 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19775 (eval $ac_try) 2>&5
19776 ac_status=$?
19777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19778 (exit $ac_status); }; } &&
19779 { ac_try='test -s conftest.$ac_objext'
19780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19781 (eval $ac_try) 2>&5
19782 ac_status=$?
19783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19784 (exit $ac_status); }; }; then
19785 ac_lo=$ac_mid; break
19786 else
19787 echo "$as_me: failed program was:" >&5
19788 sed 's/^/| /' conftest.$ac_ext >&5
19789
19790 ac_hi=`expr '(' $ac_mid ')' - 1`
19791 if test $ac_mid -le $ac_hi; then
19792 ac_lo= ac_hi=
19793 break
19794 fi
19795 ac_mid=`expr 2 '*' $ac_mid`
19796 fi
19797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19798 done
19799 else
19800 echo "$as_me: failed program was:" >&5
19801 sed 's/^/| /' conftest.$ac_ext >&5
19802
19803 ac_lo= ac_hi=
19804 fi
19805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19806 fi
19807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19808 # Binary search between lo and hi bounds.
19809 while test "x$ac_lo" != "x$ac_hi"; do
19810 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
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 int
19819 main ()
19820 {
19821 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
19822 test_array [0] = 0
19823
19824 ;
19825 return 0;
19826 }
19827 _ACEOF
19828 rm -f conftest.$ac_objext
19829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19830 (eval $ac_compile) 2>conftest.er1
19831 ac_status=$?
19832 grep -v '^ *+' conftest.er1 >conftest.err
19833 rm -f conftest.er1
19834 cat conftest.err >&5
19835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19836 (exit $ac_status); } &&
19837 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19839 (eval $ac_try) 2>&5
19840 ac_status=$?
19841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19842 (exit $ac_status); }; } &&
19843 { ac_try='test -s conftest.$ac_objext'
19844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19845 (eval $ac_try) 2>&5
19846 ac_status=$?
19847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19848 (exit $ac_status); }; }; then
19849 ac_hi=$ac_mid
19850 else
19851 echo "$as_me: failed program was:" >&5
19852 sed 's/^/| /' conftest.$ac_ext >&5
19853
19854 ac_lo=`expr '(' $ac_mid ')' + 1`
19855 fi
19856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19857 done
19858 case $ac_lo in
19859 ?*) ac_cv_sizeof_long=$ac_lo;;
19860 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19861 See \`config.log' for more details." >&5
19862 echo "$as_me: error: cannot compute sizeof (long), 77
19863 See \`config.log' for more details." >&2;}
19864 { (exit 1); exit 1; }; } ;;
19865 esac
19866 else
19867 if test "$cross_compiling" = yes; then
19868 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
19869 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
19870 { (exit 1); exit 1; }; }
19871 else
19872 cat >conftest.$ac_ext <<_ACEOF
19873 /* confdefs.h. */
19874 _ACEOF
19875 cat confdefs.h >>conftest.$ac_ext
19876 cat >>conftest.$ac_ext <<_ACEOF
19877 /* end confdefs.h. */
19878 $ac_includes_default
19879 long longval () { return (long) (sizeof (long)); }
19880 unsigned long ulongval () { return (long) (sizeof (long)); }
19881 #include <stdio.h>
19882 #include <stdlib.h>
19883 int
19884 main ()
19885 {
19886
19887 FILE *f = fopen ("conftest.val", "w");
19888 if (! f)
19889 exit (1);
19890 if (((long) (sizeof (long))) < 0)
19891 {
19892 long i = longval ();
19893 if (i != ((long) (sizeof (long))))
19894 exit (1);
19895 fprintf (f, "%ld\n", i);
19896 }
19897 else
19898 {
19899 unsigned long i = ulongval ();
19900 if (i != ((long) (sizeof (long))))
19901 exit (1);
19902 fprintf (f, "%lu\n", i);
19903 }
19904 exit (ferror (f) || fclose (f) != 0);
19905
19906 ;
19907 return 0;
19908 }
19909 _ACEOF
19910 rm -f conftest$ac_exeext
19911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19912 (eval $ac_link) 2>&5
19913 ac_status=$?
19914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19915 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19917 (eval $ac_try) 2>&5
19918 ac_status=$?
19919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19920 (exit $ac_status); }; }; then
19921 ac_cv_sizeof_long=`cat conftest.val`
19922 else
19923 echo "$as_me: program exited with status $ac_status" >&5
19924 echo "$as_me: failed program was:" >&5
19925 sed 's/^/| /' conftest.$ac_ext >&5
19926
19927 ( exit $ac_status )
19928 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
19929 See \`config.log' for more details." >&5
19930 echo "$as_me: error: cannot compute sizeof (long), 77
19931 See \`config.log' for more details." >&2;}
19932 { (exit 1); exit 1; }; }
19933 fi
19934 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19935 fi
19936 fi
19937 rm -f conftest.val
19938 else
19939 ac_cv_sizeof_long=0
19940 fi
19941 fi
19942 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19943 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
19944 cat >>confdefs.h <<_ACEOF
19945 #define SIZEOF_LONG $ac_cv_sizeof_long
19946 _ACEOF
19947
19948
19949 echo "$as_me:$LINENO: checking for size_t" >&5
19950 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
19951 if test "${ac_cv_type_size_t+set}" = set; then
19952 echo $ECHO_N "(cached) $ECHO_C" >&6
19953 else
19954 cat >conftest.$ac_ext <<_ACEOF
19955 /* confdefs.h. */
19956 _ACEOF
19957 cat confdefs.h >>conftest.$ac_ext
19958 cat >>conftest.$ac_ext <<_ACEOF
19959 /* end confdefs.h. */
19960 $ac_includes_default
19961 int
19962 main ()
19963 {
19964 if ((size_t *) 0)
19965 return 0;
19966 if (sizeof (size_t))
19967 return 0;
19968 ;
19969 return 0;
19970 }
19971 _ACEOF
19972 rm -f conftest.$ac_objext
19973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19974 (eval $ac_compile) 2>conftest.er1
19975 ac_status=$?
19976 grep -v '^ *+' conftest.er1 >conftest.err
19977 rm -f conftest.er1
19978 cat conftest.err >&5
19979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19980 (exit $ac_status); } &&
19981 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
19982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19983 (eval $ac_try) 2>&5
19984 ac_status=$?
19985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19986 (exit $ac_status); }; } &&
19987 { ac_try='test -s conftest.$ac_objext'
19988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19989 (eval $ac_try) 2>&5
19990 ac_status=$?
19991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19992 (exit $ac_status); }; }; then
19993 ac_cv_type_size_t=yes
19994 else
19995 echo "$as_me: failed program was:" >&5
19996 sed 's/^/| /' conftest.$ac_ext >&5
19997
19998 ac_cv_type_size_t=no
19999 fi
20000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20001 fi
20002 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20003 echo "${ECHO_T}$ac_cv_type_size_t" >&6
20004
20005 echo "$as_me:$LINENO: checking size of size_t" >&5
20006 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6
20007 if test "${ac_cv_sizeof_size_t+set}" = set; then
20008 echo $ECHO_N "(cached) $ECHO_C" >&6
20009 else
20010 if test "$ac_cv_type_size_t" = yes; then
20011 # The cast to unsigned long works around a bug in the HP C Compiler
20012 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20013 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20014 # This bug is HP SR number 8606223364.
20015 if test "$cross_compiling" = yes; then
20016 # Depending upon the size, compute the lo and hi bounds.
20017 cat >conftest.$ac_ext <<_ACEOF
20018 /* confdefs.h. */
20019 _ACEOF
20020 cat confdefs.h >>conftest.$ac_ext
20021 cat >>conftest.$ac_ext <<_ACEOF
20022 /* end confdefs.h. */
20023 $ac_includes_default
20024 int
20025 main ()
20026 {
20027 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= 0)];
20028 test_array [0] = 0
20029
20030 ;
20031 return 0;
20032 }
20033 _ACEOF
20034 rm -f conftest.$ac_objext
20035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20036 (eval $ac_compile) 2>conftest.er1
20037 ac_status=$?
20038 grep -v '^ *+' conftest.er1 >conftest.err
20039 rm -f conftest.er1
20040 cat conftest.err >&5
20041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20042 (exit $ac_status); } &&
20043 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20045 (eval $ac_try) 2>&5
20046 ac_status=$?
20047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20048 (exit $ac_status); }; } &&
20049 { ac_try='test -s conftest.$ac_objext'
20050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20051 (eval $ac_try) 2>&5
20052 ac_status=$?
20053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20054 (exit $ac_status); }; }; then
20055 ac_lo=0 ac_mid=0
20056 while :; do
20057 cat >conftest.$ac_ext <<_ACEOF
20058 /* confdefs.h. */
20059 _ACEOF
20060 cat confdefs.h >>conftest.$ac_ext
20061 cat >>conftest.$ac_ext <<_ACEOF
20062 /* end confdefs.h. */
20063 $ac_includes_default
20064 int
20065 main ()
20066 {
20067 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20068 test_array [0] = 0
20069
20070 ;
20071 return 0;
20072 }
20073 _ACEOF
20074 rm -f conftest.$ac_objext
20075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20076 (eval $ac_compile) 2>conftest.er1
20077 ac_status=$?
20078 grep -v '^ *+' conftest.er1 >conftest.err
20079 rm -f conftest.er1
20080 cat conftest.err >&5
20081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20082 (exit $ac_status); } &&
20083 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20085 (eval $ac_try) 2>&5
20086 ac_status=$?
20087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20088 (exit $ac_status); }; } &&
20089 { ac_try='test -s conftest.$ac_objext'
20090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20091 (eval $ac_try) 2>&5
20092 ac_status=$?
20093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20094 (exit $ac_status); }; }; then
20095 ac_hi=$ac_mid; break
20096 else
20097 echo "$as_me: failed program was:" >&5
20098 sed 's/^/| /' conftest.$ac_ext >&5
20099
20100 ac_lo=`expr $ac_mid + 1`
20101 if test $ac_lo -le $ac_mid; then
20102 ac_lo= ac_hi=
20103 break
20104 fi
20105 ac_mid=`expr 2 '*' $ac_mid + 1`
20106 fi
20107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20108 done
20109 else
20110 echo "$as_me: failed program was:" >&5
20111 sed 's/^/| /' conftest.$ac_ext >&5
20112
20113 cat >conftest.$ac_ext <<_ACEOF
20114 /* confdefs.h. */
20115 _ACEOF
20116 cat confdefs.h >>conftest.$ac_ext
20117 cat >>conftest.$ac_ext <<_ACEOF
20118 /* end confdefs.h. */
20119 $ac_includes_default
20120 int
20121 main ()
20122 {
20123 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) < 0)];
20124 test_array [0] = 0
20125
20126 ;
20127 return 0;
20128 }
20129 _ACEOF
20130 rm -f conftest.$ac_objext
20131 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20132 (eval $ac_compile) 2>conftest.er1
20133 ac_status=$?
20134 grep -v '^ *+' conftest.er1 >conftest.err
20135 rm -f conftest.er1
20136 cat conftest.err >&5
20137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20138 (exit $ac_status); } &&
20139 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20141 (eval $ac_try) 2>&5
20142 ac_status=$?
20143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20144 (exit $ac_status); }; } &&
20145 { ac_try='test -s conftest.$ac_objext'
20146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20147 (eval $ac_try) 2>&5
20148 ac_status=$?
20149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20150 (exit $ac_status); }; }; then
20151 ac_hi=-1 ac_mid=-1
20152 while :; do
20153 cat >conftest.$ac_ext <<_ACEOF
20154 /* confdefs.h. */
20155 _ACEOF
20156 cat confdefs.h >>conftest.$ac_ext
20157 cat >>conftest.$ac_ext <<_ACEOF
20158 /* end confdefs.h. */
20159 $ac_includes_default
20160 int
20161 main ()
20162 {
20163 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) >= $ac_mid)];
20164 test_array [0] = 0
20165
20166 ;
20167 return 0;
20168 }
20169 _ACEOF
20170 rm -f conftest.$ac_objext
20171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20172 (eval $ac_compile) 2>conftest.er1
20173 ac_status=$?
20174 grep -v '^ *+' conftest.er1 >conftest.err
20175 rm -f conftest.er1
20176 cat conftest.err >&5
20177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20178 (exit $ac_status); } &&
20179 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20181 (eval $ac_try) 2>&5
20182 ac_status=$?
20183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20184 (exit $ac_status); }; } &&
20185 { ac_try='test -s conftest.$ac_objext'
20186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20187 (eval $ac_try) 2>&5
20188 ac_status=$?
20189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20190 (exit $ac_status); }; }; then
20191 ac_lo=$ac_mid; break
20192 else
20193 echo "$as_me: failed program was:" >&5
20194 sed 's/^/| /' conftest.$ac_ext >&5
20195
20196 ac_hi=`expr '(' $ac_mid ')' - 1`
20197 if test $ac_mid -le $ac_hi; then
20198 ac_lo= ac_hi=
20199 break
20200 fi
20201 ac_mid=`expr 2 '*' $ac_mid`
20202 fi
20203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20204 done
20205 else
20206 echo "$as_me: failed program was:" >&5
20207 sed 's/^/| /' conftest.$ac_ext >&5
20208
20209 ac_lo= ac_hi=
20210 fi
20211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20212 fi
20213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20214 # Binary search between lo and hi bounds.
20215 while test "x$ac_lo" != "x$ac_hi"; do
20216 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
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 int
20225 main ()
20226 {
20227 static int test_array [1 - 2 * !(((long) (sizeof (size_t))) <= $ac_mid)];
20228 test_array [0] = 0
20229
20230 ;
20231 return 0;
20232 }
20233 _ACEOF
20234 rm -f conftest.$ac_objext
20235 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20236 (eval $ac_compile) 2>conftest.er1
20237 ac_status=$?
20238 grep -v '^ *+' conftest.er1 >conftest.err
20239 rm -f conftest.er1
20240 cat conftest.err >&5
20241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20242 (exit $ac_status); } &&
20243 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20245 (eval $ac_try) 2>&5
20246 ac_status=$?
20247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20248 (exit $ac_status); }; } &&
20249 { ac_try='test -s conftest.$ac_objext'
20250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20251 (eval $ac_try) 2>&5
20252 ac_status=$?
20253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20254 (exit $ac_status); }; }; then
20255 ac_hi=$ac_mid
20256 else
20257 echo "$as_me: failed program was:" >&5
20258 sed 's/^/| /' conftest.$ac_ext >&5
20259
20260 ac_lo=`expr '(' $ac_mid ')' + 1`
20261 fi
20262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20263 done
20264 case $ac_lo in
20265 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20266 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20267 See \`config.log' for more details." >&5
20268 echo "$as_me: error: cannot compute sizeof (size_t), 77
20269 See \`config.log' for more details." >&2;}
20270 { (exit 1); exit 1; }; } ;;
20271 esac
20272 else
20273 if test "$cross_compiling" = yes; then
20274 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20275 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20276 { (exit 1); exit 1; }; }
20277 else
20278 cat >conftest.$ac_ext <<_ACEOF
20279 /* confdefs.h. */
20280 _ACEOF
20281 cat confdefs.h >>conftest.$ac_ext
20282 cat >>conftest.$ac_ext <<_ACEOF
20283 /* end confdefs.h. */
20284 $ac_includes_default
20285 long longval () { return (long) (sizeof (size_t)); }
20286 unsigned long ulongval () { return (long) (sizeof (size_t)); }
20287 #include <stdio.h>
20288 #include <stdlib.h>
20289 int
20290 main ()
20291 {
20292
20293 FILE *f = fopen ("conftest.val", "w");
20294 if (! f)
20295 exit (1);
20296 if (((long) (sizeof (size_t))) < 0)
20297 {
20298 long i = longval ();
20299 if (i != ((long) (sizeof (size_t))))
20300 exit (1);
20301 fprintf (f, "%ld\n", i);
20302 }
20303 else
20304 {
20305 unsigned long i = ulongval ();
20306 if (i != ((long) (sizeof (size_t))))
20307 exit (1);
20308 fprintf (f, "%lu\n", i);
20309 }
20310 exit (ferror (f) || fclose (f) != 0);
20311
20312 ;
20313 return 0;
20314 }
20315 _ACEOF
20316 rm -f conftest$ac_exeext
20317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20318 (eval $ac_link) 2>&5
20319 ac_status=$?
20320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20321 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20323 (eval $ac_try) 2>&5
20324 ac_status=$?
20325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20326 (exit $ac_status); }; }; then
20327 ac_cv_sizeof_size_t=`cat conftest.val`
20328 else
20329 echo "$as_me: program exited with status $ac_status" >&5
20330 echo "$as_me: failed program was:" >&5
20331 sed 's/^/| /' conftest.$ac_ext >&5
20332
20333 ( exit $ac_status )
20334 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t), 77
20335 See \`config.log' for more details." >&5
20336 echo "$as_me: error: cannot compute sizeof (size_t), 77
20337 See \`config.log' for more details." >&2;}
20338 { (exit 1); exit 1; }; }
20339 fi
20340 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20341 fi
20342 fi
20343 rm -f conftest.val
20344 else
20345 ac_cv_sizeof_size_t=0
20346 fi
20347 fi
20348 echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20349 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6
20350 cat >>confdefs.h <<_ACEOF
20351 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20352 _ACEOF
20353
20354
20355
20356 case "${host}" in
20357 arm-*-linux* )
20358 echo "$as_me:$LINENO: checking for long long" >&5
20359 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20360 if test "${ac_cv_type_long_long+set}" = set; then
20361 echo $ECHO_N "(cached) $ECHO_C" >&6
20362 else
20363 cat >conftest.$ac_ext <<_ACEOF
20364 /* confdefs.h. */
20365 _ACEOF
20366 cat confdefs.h >>conftest.$ac_ext
20367 cat >>conftest.$ac_ext <<_ACEOF
20368 /* end confdefs.h. */
20369 $ac_includes_default
20370 int
20371 main ()
20372 {
20373 if ((long long *) 0)
20374 return 0;
20375 if (sizeof (long long))
20376 return 0;
20377 ;
20378 return 0;
20379 }
20380 _ACEOF
20381 rm -f conftest.$ac_objext
20382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20383 (eval $ac_compile) 2>conftest.er1
20384 ac_status=$?
20385 grep -v '^ *+' conftest.er1 >conftest.err
20386 rm -f conftest.er1
20387 cat conftest.err >&5
20388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20389 (exit $ac_status); } &&
20390 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20392 (eval $ac_try) 2>&5
20393 ac_status=$?
20394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20395 (exit $ac_status); }; } &&
20396 { ac_try='test -s conftest.$ac_objext'
20397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20398 (eval $ac_try) 2>&5
20399 ac_status=$?
20400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20401 (exit $ac_status); }; }; then
20402 ac_cv_type_long_long=yes
20403 else
20404 echo "$as_me: failed program was:" >&5
20405 sed 's/^/| /' conftest.$ac_ext >&5
20406
20407 ac_cv_type_long_long=no
20408 fi
20409 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20410 fi
20411 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20412 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20413
20414 echo "$as_me:$LINENO: checking size of long long" >&5
20415 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20416 if test "${ac_cv_sizeof_long_long+set}" = set; then
20417 echo $ECHO_N "(cached) $ECHO_C" >&6
20418 else
20419 if test "$ac_cv_type_long_long" = yes; then
20420 # The cast to unsigned long works around a bug in the HP C Compiler
20421 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20422 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20423 # This bug is HP SR number 8606223364.
20424 if test "$cross_compiling" = yes; then
20425 # Depending upon the size, compute the lo and hi bounds.
20426 cat >conftest.$ac_ext <<_ACEOF
20427 /* confdefs.h. */
20428 _ACEOF
20429 cat confdefs.h >>conftest.$ac_ext
20430 cat >>conftest.$ac_ext <<_ACEOF
20431 /* end confdefs.h. */
20432 $ac_includes_default
20433 int
20434 main ()
20435 {
20436 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20437 test_array [0] = 0
20438
20439 ;
20440 return 0;
20441 }
20442 _ACEOF
20443 rm -f conftest.$ac_objext
20444 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20445 (eval $ac_compile) 2>conftest.er1
20446 ac_status=$?
20447 grep -v '^ *+' conftest.er1 >conftest.err
20448 rm -f conftest.er1
20449 cat conftest.err >&5
20450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20451 (exit $ac_status); } &&
20452 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20454 (eval $ac_try) 2>&5
20455 ac_status=$?
20456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20457 (exit $ac_status); }; } &&
20458 { ac_try='test -s conftest.$ac_objext'
20459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20460 (eval $ac_try) 2>&5
20461 ac_status=$?
20462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20463 (exit $ac_status); }; }; then
20464 ac_lo=0 ac_mid=0
20465 while :; do
20466 cat >conftest.$ac_ext <<_ACEOF
20467 /* confdefs.h. */
20468 _ACEOF
20469 cat confdefs.h >>conftest.$ac_ext
20470 cat >>conftest.$ac_ext <<_ACEOF
20471 /* end confdefs.h. */
20472 $ac_includes_default
20473 int
20474 main ()
20475 {
20476 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20477 test_array [0] = 0
20478
20479 ;
20480 return 0;
20481 }
20482 _ACEOF
20483 rm -f conftest.$ac_objext
20484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20485 (eval $ac_compile) 2>conftest.er1
20486 ac_status=$?
20487 grep -v '^ *+' conftest.er1 >conftest.err
20488 rm -f conftest.er1
20489 cat conftest.err >&5
20490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20491 (exit $ac_status); } &&
20492 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20494 (eval $ac_try) 2>&5
20495 ac_status=$?
20496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20497 (exit $ac_status); }; } &&
20498 { ac_try='test -s conftest.$ac_objext'
20499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20500 (eval $ac_try) 2>&5
20501 ac_status=$?
20502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20503 (exit $ac_status); }; }; then
20504 ac_hi=$ac_mid; break
20505 else
20506 echo "$as_me: failed program was:" >&5
20507 sed 's/^/| /' conftest.$ac_ext >&5
20508
20509 ac_lo=`expr $ac_mid + 1`
20510 if test $ac_lo -le $ac_mid; then
20511 ac_lo= ac_hi=
20512 break
20513 fi
20514 ac_mid=`expr 2 '*' $ac_mid + 1`
20515 fi
20516 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20517 done
20518 else
20519 echo "$as_me: failed program was:" >&5
20520 sed 's/^/| /' conftest.$ac_ext >&5
20521
20522 cat >conftest.$ac_ext <<_ACEOF
20523 /* confdefs.h. */
20524 _ACEOF
20525 cat confdefs.h >>conftest.$ac_ext
20526 cat >>conftest.$ac_ext <<_ACEOF
20527 /* end confdefs.h. */
20528 $ac_includes_default
20529 int
20530 main ()
20531 {
20532 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20533 test_array [0] = 0
20534
20535 ;
20536 return 0;
20537 }
20538 _ACEOF
20539 rm -f conftest.$ac_objext
20540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20541 (eval $ac_compile) 2>conftest.er1
20542 ac_status=$?
20543 grep -v '^ *+' conftest.er1 >conftest.err
20544 rm -f conftest.er1
20545 cat conftest.err >&5
20546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20547 (exit $ac_status); } &&
20548 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20550 (eval $ac_try) 2>&5
20551 ac_status=$?
20552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20553 (exit $ac_status); }; } &&
20554 { ac_try='test -s conftest.$ac_objext'
20555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20556 (eval $ac_try) 2>&5
20557 ac_status=$?
20558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20559 (exit $ac_status); }; }; then
20560 ac_hi=-1 ac_mid=-1
20561 while :; do
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 (long long))) >= $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_lo=$ac_mid; break
20601 else
20602 echo "$as_me: failed program was:" >&5
20603 sed 's/^/| /' conftest.$ac_ext >&5
20604
20605 ac_hi=`expr '(' $ac_mid ')' - 1`
20606 if test $ac_mid -le $ac_hi; then
20607 ac_lo= ac_hi=
20608 break
20609 fi
20610 ac_mid=`expr 2 '*' $ac_mid`
20611 fi
20612 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20613 done
20614 else
20615 echo "$as_me: failed program was:" >&5
20616 sed 's/^/| /' conftest.$ac_ext >&5
20617
20618 ac_lo= ac_hi=
20619 fi
20620 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20621 fi
20622 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20623 # Binary search between lo and hi bounds.
20624 while test "x$ac_lo" != "x$ac_hi"; do
20625 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20626 cat >conftest.$ac_ext <<_ACEOF
20627 /* confdefs.h. */
20628 _ACEOF
20629 cat confdefs.h >>conftest.$ac_ext
20630 cat >>conftest.$ac_ext <<_ACEOF
20631 /* end confdefs.h. */
20632 $ac_includes_default
20633 int
20634 main ()
20635 {
20636 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20637 test_array [0] = 0
20638
20639 ;
20640 return 0;
20641 }
20642 _ACEOF
20643 rm -f conftest.$ac_objext
20644 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20645 (eval $ac_compile) 2>conftest.er1
20646 ac_status=$?
20647 grep -v '^ *+' conftest.er1 >conftest.err
20648 rm -f conftest.er1
20649 cat conftest.err >&5
20650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20651 (exit $ac_status); } &&
20652 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20654 (eval $ac_try) 2>&5
20655 ac_status=$?
20656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20657 (exit $ac_status); }; } &&
20658 { ac_try='test -s conftest.$ac_objext'
20659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20660 (eval $ac_try) 2>&5
20661 ac_status=$?
20662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20663 (exit $ac_status); }; }; then
20664 ac_hi=$ac_mid
20665 else
20666 echo "$as_me: failed program was:" >&5
20667 sed 's/^/| /' conftest.$ac_ext >&5
20668
20669 ac_lo=`expr '(' $ac_mid ')' + 1`
20670 fi
20671 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20672 done
20673 case $ac_lo in
20674 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20675 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20676 See \`config.log' for more details." >&5
20677 echo "$as_me: error: cannot compute sizeof (long long), 77
20678 See \`config.log' for more details." >&2;}
20679 { (exit 1); exit 1; }; } ;;
20680 esac
20681 else
20682 if test "$cross_compiling" = yes; then
20683 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
20684 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
20685 { (exit 1); exit 1; }; }
20686 else
20687 cat >conftest.$ac_ext <<_ACEOF
20688 /* confdefs.h. */
20689 _ACEOF
20690 cat confdefs.h >>conftest.$ac_ext
20691 cat >>conftest.$ac_ext <<_ACEOF
20692 /* end confdefs.h. */
20693 $ac_includes_default
20694 long longval () { return (long) (sizeof (long long)); }
20695 unsigned long ulongval () { return (long) (sizeof (long long)); }
20696 #include <stdio.h>
20697 #include <stdlib.h>
20698 int
20699 main ()
20700 {
20701
20702 FILE *f = fopen ("conftest.val", "w");
20703 if (! f)
20704 exit (1);
20705 if (((long) (sizeof (long long))) < 0)
20706 {
20707 long i = longval ();
20708 if (i != ((long) (sizeof (long long))))
20709 exit (1);
20710 fprintf (f, "%ld\n", i);
20711 }
20712 else
20713 {
20714 unsigned long i = ulongval ();
20715 if (i != ((long) (sizeof (long long))))
20716 exit (1);
20717 fprintf (f, "%lu\n", i);
20718 }
20719 exit (ferror (f) || fclose (f) != 0);
20720
20721 ;
20722 return 0;
20723 }
20724 _ACEOF
20725 rm -f conftest$ac_exeext
20726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20727 (eval $ac_link) 2>&5
20728 ac_status=$?
20729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20730 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20732 (eval $ac_try) 2>&5
20733 ac_status=$?
20734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20735 (exit $ac_status); }; }; then
20736 ac_cv_sizeof_long_long=`cat conftest.val`
20737 else
20738 echo "$as_me: program exited with status $ac_status" >&5
20739 echo "$as_me: failed program was:" >&5
20740 sed 's/^/| /' conftest.$ac_ext >&5
20741
20742 ( exit $ac_status )
20743 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
20744 See \`config.log' for more details." >&5
20745 echo "$as_me: error: cannot compute sizeof (long long), 77
20746 See \`config.log' for more details." >&2;}
20747 { (exit 1); exit 1; }; }
20748 fi
20749 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20750 fi
20751 fi
20752 rm -f conftest.val
20753 else
20754 ac_cv_sizeof_long_long=0
20755 fi
20756 fi
20757 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20758 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
20759 cat >>confdefs.h <<_ACEOF
20760 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20761 _ACEOF
20762
20763
20764 ;;
20765 *-hp-hpux* )
20766 echo "$as_me:$LINENO: checking for long long" >&5
20767 echo $ECHO_N "checking for long long... $ECHO_C" >&6
20768 if test "${ac_cv_type_long_long+set}" = set; then
20769 echo $ECHO_N "(cached) $ECHO_C" >&6
20770 else
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 if ((long long *) 0)
20782 return 0;
20783 if (sizeof (long long))
20784 return 0;
20785 ;
20786 return 0;
20787 }
20788 _ACEOF
20789 rm -f conftest.$ac_objext
20790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20791 (eval $ac_compile) 2>conftest.er1
20792 ac_status=$?
20793 grep -v '^ *+' conftest.er1 >conftest.err
20794 rm -f conftest.er1
20795 cat conftest.err >&5
20796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20797 (exit $ac_status); } &&
20798 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20800 (eval $ac_try) 2>&5
20801 ac_status=$?
20802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20803 (exit $ac_status); }; } &&
20804 { ac_try='test -s conftest.$ac_objext'
20805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20806 (eval $ac_try) 2>&5
20807 ac_status=$?
20808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20809 (exit $ac_status); }; }; then
20810 ac_cv_type_long_long=yes
20811 else
20812 echo "$as_me: failed program was:" >&5
20813 sed 's/^/| /' conftest.$ac_ext >&5
20814
20815 ac_cv_type_long_long=no
20816 fi
20817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20818 fi
20819 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20820 echo "${ECHO_T}$ac_cv_type_long_long" >&6
20821
20822 echo "$as_me:$LINENO: checking size of long long" >&5
20823 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
20824 if test "${ac_cv_sizeof_long_long+set}" = set; then
20825 echo $ECHO_N "(cached) $ECHO_C" >&6
20826 else
20827 if test "$ac_cv_type_long_long" = yes; then
20828 # The cast to unsigned long works around a bug in the HP C Compiler
20829 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20830 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20831 # This bug is HP SR number 8606223364.
20832 if test "$cross_compiling" = yes; then
20833 # Depending upon the size, compute the lo and hi bounds.
20834 cat >conftest.$ac_ext <<_ACEOF
20835 /* confdefs.h. */
20836 _ACEOF
20837 cat confdefs.h >>conftest.$ac_ext
20838 cat >>conftest.$ac_ext <<_ACEOF
20839 /* end confdefs.h. */
20840 $ac_includes_default
20841 int
20842 main ()
20843 {
20844 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
20845 test_array [0] = 0
20846
20847 ;
20848 return 0;
20849 }
20850 _ACEOF
20851 rm -f conftest.$ac_objext
20852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20853 (eval $ac_compile) 2>conftest.er1
20854 ac_status=$?
20855 grep -v '^ *+' conftest.er1 >conftest.err
20856 rm -f conftest.er1
20857 cat conftest.err >&5
20858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20859 (exit $ac_status); } &&
20860 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20862 (eval $ac_try) 2>&5
20863 ac_status=$?
20864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20865 (exit $ac_status); }; } &&
20866 { ac_try='test -s conftest.$ac_objext'
20867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20868 (eval $ac_try) 2>&5
20869 ac_status=$?
20870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20871 (exit $ac_status); }; }; then
20872 ac_lo=0 ac_mid=0
20873 while :; do
20874 cat >conftest.$ac_ext <<_ACEOF
20875 /* confdefs.h. */
20876 _ACEOF
20877 cat confdefs.h >>conftest.$ac_ext
20878 cat >>conftest.$ac_ext <<_ACEOF
20879 /* end confdefs.h. */
20880 $ac_includes_default
20881 int
20882 main ()
20883 {
20884 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
20885 test_array [0] = 0
20886
20887 ;
20888 return 0;
20889 }
20890 _ACEOF
20891 rm -f conftest.$ac_objext
20892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20893 (eval $ac_compile) 2>conftest.er1
20894 ac_status=$?
20895 grep -v '^ *+' conftest.er1 >conftest.err
20896 rm -f conftest.er1
20897 cat conftest.err >&5
20898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20899 (exit $ac_status); } &&
20900 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20902 (eval $ac_try) 2>&5
20903 ac_status=$?
20904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20905 (exit $ac_status); }; } &&
20906 { ac_try='test -s conftest.$ac_objext'
20907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20908 (eval $ac_try) 2>&5
20909 ac_status=$?
20910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20911 (exit $ac_status); }; }; then
20912 ac_hi=$ac_mid; break
20913 else
20914 echo "$as_me: failed program was:" >&5
20915 sed 's/^/| /' conftest.$ac_ext >&5
20916
20917 ac_lo=`expr $ac_mid + 1`
20918 if test $ac_lo -le $ac_mid; then
20919 ac_lo= ac_hi=
20920 break
20921 fi
20922 ac_mid=`expr 2 '*' $ac_mid + 1`
20923 fi
20924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20925 done
20926 else
20927 echo "$as_me: failed program was:" >&5
20928 sed 's/^/| /' conftest.$ac_ext >&5
20929
20930 cat >conftest.$ac_ext <<_ACEOF
20931 /* confdefs.h. */
20932 _ACEOF
20933 cat confdefs.h >>conftest.$ac_ext
20934 cat >>conftest.$ac_ext <<_ACEOF
20935 /* end confdefs.h. */
20936 $ac_includes_default
20937 int
20938 main ()
20939 {
20940 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
20941 test_array [0] = 0
20942
20943 ;
20944 return 0;
20945 }
20946 _ACEOF
20947 rm -f conftest.$ac_objext
20948 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20949 (eval $ac_compile) 2>conftest.er1
20950 ac_status=$?
20951 grep -v '^ *+' conftest.er1 >conftest.err
20952 rm -f conftest.er1
20953 cat conftest.err >&5
20954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20955 (exit $ac_status); } &&
20956 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20958 (eval $ac_try) 2>&5
20959 ac_status=$?
20960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20961 (exit $ac_status); }; } &&
20962 { ac_try='test -s conftest.$ac_objext'
20963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20964 (eval $ac_try) 2>&5
20965 ac_status=$?
20966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20967 (exit $ac_status); }; }; then
20968 ac_hi=-1 ac_mid=-1
20969 while :; do
20970 cat >conftest.$ac_ext <<_ACEOF
20971 /* confdefs.h. */
20972 _ACEOF
20973 cat confdefs.h >>conftest.$ac_ext
20974 cat >>conftest.$ac_ext <<_ACEOF
20975 /* end confdefs.h. */
20976 $ac_includes_default
20977 int
20978 main ()
20979 {
20980 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
20981 test_array [0] = 0
20982
20983 ;
20984 return 0;
20985 }
20986 _ACEOF
20987 rm -f conftest.$ac_objext
20988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20989 (eval $ac_compile) 2>conftest.er1
20990 ac_status=$?
20991 grep -v '^ *+' conftest.er1 >conftest.err
20992 rm -f conftest.er1
20993 cat conftest.err >&5
20994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20995 (exit $ac_status); } &&
20996 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
20997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20998 (eval $ac_try) 2>&5
20999 ac_status=$?
21000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21001 (exit $ac_status); }; } &&
21002 { ac_try='test -s conftest.$ac_objext'
21003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21004 (eval $ac_try) 2>&5
21005 ac_status=$?
21006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21007 (exit $ac_status); }; }; then
21008 ac_lo=$ac_mid; break
21009 else
21010 echo "$as_me: failed program was:" >&5
21011 sed 's/^/| /' conftest.$ac_ext >&5
21012
21013 ac_hi=`expr '(' $ac_mid ')' - 1`
21014 if test $ac_mid -le $ac_hi; then
21015 ac_lo= ac_hi=
21016 break
21017 fi
21018 ac_mid=`expr 2 '*' $ac_mid`
21019 fi
21020 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21021 done
21022 else
21023 echo "$as_me: failed program was:" >&5
21024 sed 's/^/| /' conftest.$ac_ext >&5
21025
21026 ac_lo= ac_hi=
21027 fi
21028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21029 fi
21030 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21031 # Binary search between lo and hi bounds.
21032 while test "x$ac_lo" != "x$ac_hi"; do
21033 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21034 cat >conftest.$ac_ext <<_ACEOF
21035 /* confdefs.h. */
21036 _ACEOF
21037 cat confdefs.h >>conftest.$ac_ext
21038 cat >>conftest.$ac_ext <<_ACEOF
21039 /* end confdefs.h. */
21040 $ac_includes_default
21041 int
21042 main ()
21043 {
21044 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21045 test_array [0] = 0
21046
21047 ;
21048 return 0;
21049 }
21050 _ACEOF
21051 rm -f conftest.$ac_objext
21052 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21053 (eval $ac_compile) 2>conftest.er1
21054 ac_status=$?
21055 grep -v '^ *+' conftest.er1 >conftest.err
21056 rm -f conftest.er1
21057 cat conftest.err >&5
21058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21059 (exit $ac_status); } &&
21060 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21062 (eval $ac_try) 2>&5
21063 ac_status=$?
21064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21065 (exit $ac_status); }; } &&
21066 { ac_try='test -s conftest.$ac_objext'
21067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21068 (eval $ac_try) 2>&5
21069 ac_status=$?
21070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21071 (exit $ac_status); }; }; then
21072 ac_hi=$ac_mid
21073 else
21074 echo "$as_me: failed program was:" >&5
21075 sed 's/^/| /' conftest.$ac_ext >&5
21076
21077 ac_lo=`expr '(' $ac_mid ')' + 1`
21078 fi
21079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21080 done
21081 case $ac_lo in
21082 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21083 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21084 See \`config.log' for more details." >&5
21085 echo "$as_me: error: cannot compute sizeof (long long), 77
21086 See \`config.log' for more details." >&2;}
21087 { (exit 1); exit 1; }; } ;;
21088 esac
21089 else
21090 if test "$cross_compiling" = yes; then
21091 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21092 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21093 { (exit 1); exit 1; }; }
21094 else
21095 cat >conftest.$ac_ext <<_ACEOF
21096 /* confdefs.h. */
21097 _ACEOF
21098 cat confdefs.h >>conftest.$ac_ext
21099 cat >>conftest.$ac_ext <<_ACEOF
21100 /* end confdefs.h. */
21101 $ac_includes_default
21102 long longval () { return (long) (sizeof (long long)); }
21103 unsigned long ulongval () { return (long) (sizeof (long long)); }
21104 #include <stdio.h>
21105 #include <stdlib.h>
21106 int
21107 main ()
21108 {
21109
21110 FILE *f = fopen ("conftest.val", "w");
21111 if (! f)
21112 exit (1);
21113 if (((long) (sizeof (long long))) < 0)
21114 {
21115 long i = longval ();
21116 if (i != ((long) (sizeof (long long))))
21117 exit (1);
21118 fprintf (f, "%ld\n", i);
21119 }
21120 else
21121 {
21122 unsigned long i = ulongval ();
21123 if (i != ((long) (sizeof (long long))))
21124 exit (1);
21125 fprintf (f, "%lu\n", i);
21126 }
21127 exit (ferror (f) || fclose (f) != 0);
21128
21129 ;
21130 return 0;
21131 }
21132 _ACEOF
21133 rm -f conftest$ac_exeext
21134 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21135 (eval $ac_link) 2>&5
21136 ac_status=$?
21137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21138 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21140 (eval $ac_try) 2>&5
21141 ac_status=$?
21142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21143 (exit $ac_status); }; }; then
21144 ac_cv_sizeof_long_long=`cat conftest.val`
21145 else
21146 echo "$as_me: program exited with status $ac_status" >&5
21147 echo "$as_me: failed program was:" >&5
21148 sed 's/^/| /' conftest.$ac_ext >&5
21149
21150 ( exit $ac_status )
21151 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21152 See \`config.log' for more details." >&5
21153 echo "$as_me: error: cannot compute sizeof (long long), 77
21154 See \`config.log' for more details." >&2;}
21155 { (exit 1); exit 1; }; }
21156 fi
21157 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21158 fi
21159 fi
21160 rm -f conftest.val
21161 else
21162 ac_cv_sizeof_long_long=0
21163 fi
21164 fi
21165 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21166 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21167 cat >>confdefs.h <<_ACEOF
21168 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21169 _ACEOF
21170
21171
21172 if test "$ac_cv_sizeof_long_long" != "0"; then
21173 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21174 fi
21175 ;;
21176 * )
21177 echo "$as_me:$LINENO: checking for long long" >&5
21178 echo $ECHO_N "checking for long long... $ECHO_C" >&6
21179 if test "${ac_cv_type_long_long+set}" = set; then
21180 echo $ECHO_N "(cached) $ECHO_C" >&6
21181 else
21182 cat >conftest.$ac_ext <<_ACEOF
21183 /* confdefs.h. */
21184 _ACEOF
21185 cat confdefs.h >>conftest.$ac_ext
21186 cat >>conftest.$ac_ext <<_ACEOF
21187 /* end confdefs.h. */
21188 $ac_includes_default
21189 int
21190 main ()
21191 {
21192 if ((long long *) 0)
21193 return 0;
21194 if (sizeof (long long))
21195 return 0;
21196 ;
21197 return 0;
21198 }
21199 _ACEOF
21200 rm -f conftest.$ac_objext
21201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21202 (eval $ac_compile) 2>conftest.er1
21203 ac_status=$?
21204 grep -v '^ *+' conftest.er1 >conftest.err
21205 rm -f conftest.er1
21206 cat conftest.err >&5
21207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21208 (exit $ac_status); } &&
21209 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21211 (eval $ac_try) 2>&5
21212 ac_status=$?
21213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21214 (exit $ac_status); }; } &&
21215 { ac_try='test -s conftest.$ac_objext'
21216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21217 (eval $ac_try) 2>&5
21218 ac_status=$?
21219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21220 (exit $ac_status); }; }; then
21221 ac_cv_type_long_long=yes
21222 else
21223 echo "$as_me: failed program was:" >&5
21224 sed 's/^/| /' conftest.$ac_ext >&5
21225
21226 ac_cv_type_long_long=no
21227 fi
21228 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21229 fi
21230 echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21231 echo "${ECHO_T}$ac_cv_type_long_long" >&6
21232
21233 echo "$as_me:$LINENO: checking size of long long" >&5
21234 echo $ECHO_N "checking size of long long... $ECHO_C" >&6
21235 if test "${ac_cv_sizeof_long_long+set}" = set; then
21236 echo $ECHO_N "(cached) $ECHO_C" >&6
21237 else
21238 if test "$ac_cv_type_long_long" = yes; then
21239 # The cast to unsigned long works around a bug in the HP C Compiler
21240 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21241 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21242 # This bug is HP SR number 8606223364.
21243 if test "$cross_compiling" = yes; then
21244 # Depending upon the size, compute the lo and hi bounds.
21245 cat >conftest.$ac_ext <<_ACEOF
21246 /* confdefs.h. */
21247 _ACEOF
21248 cat confdefs.h >>conftest.$ac_ext
21249 cat >>conftest.$ac_ext <<_ACEOF
21250 /* end confdefs.h. */
21251 $ac_includes_default
21252 int
21253 main ()
21254 {
21255 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= 0)];
21256 test_array [0] = 0
21257
21258 ;
21259 return 0;
21260 }
21261 _ACEOF
21262 rm -f conftest.$ac_objext
21263 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21264 (eval $ac_compile) 2>conftest.er1
21265 ac_status=$?
21266 grep -v '^ *+' conftest.er1 >conftest.err
21267 rm -f conftest.er1
21268 cat conftest.err >&5
21269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21270 (exit $ac_status); } &&
21271 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21273 (eval $ac_try) 2>&5
21274 ac_status=$?
21275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21276 (exit $ac_status); }; } &&
21277 { ac_try='test -s conftest.$ac_objext'
21278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21279 (eval $ac_try) 2>&5
21280 ac_status=$?
21281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21282 (exit $ac_status); }; }; then
21283 ac_lo=0 ac_mid=0
21284 while :; do
21285 cat >conftest.$ac_ext <<_ACEOF
21286 /* confdefs.h. */
21287 _ACEOF
21288 cat confdefs.h >>conftest.$ac_ext
21289 cat >>conftest.$ac_ext <<_ACEOF
21290 /* end confdefs.h. */
21291 $ac_includes_default
21292 int
21293 main ()
21294 {
21295 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21296 test_array [0] = 0
21297
21298 ;
21299 return 0;
21300 }
21301 _ACEOF
21302 rm -f conftest.$ac_objext
21303 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21304 (eval $ac_compile) 2>conftest.er1
21305 ac_status=$?
21306 grep -v '^ *+' conftest.er1 >conftest.err
21307 rm -f conftest.er1
21308 cat conftest.err >&5
21309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21310 (exit $ac_status); } &&
21311 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21313 (eval $ac_try) 2>&5
21314 ac_status=$?
21315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21316 (exit $ac_status); }; } &&
21317 { ac_try='test -s conftest.$ac_objext'
21318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21319 (eval $ac_try) 2>&5
21320 ac_status=$?
21321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21322 (exit $ac_status); }; }; then
21323 ac_hi=$ac_mid; break
21324 else
21325 echo "$as_me: failed program was:" >&5
21326 sed 's/^/| /' conftest.$ac_ext >&5
21327
21328 ac_lo=`expr $ac_mid + 1`
21329 if test $ac_lo -le $ac_mid; then
21330 ac_lo= ac_hi=
21331 break
21332 fi
21333 ac_mid=`expr 2 '*' $ac_mid + 1`
21334 fi
21335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21336 done
21337 else
21338 echo "$as_me: failed program was:" >&5
21339 sed 's/^/| /' conftest.$ac_ext >&5
21340
21341 cat >conftest.$ac_ext <<_ACEOF
21342 /* confdefs.h. */
21343 _ACEOF
21344 cat confdefs.h >>conftest.$ac_ext
21345 cat >>conftest.$ac_ext <<_ACEOF
21346 /* end confdefs.h. */
21347 $ac_includes_default
21348 int
21349 main ()
21350 {
21351 static int test_array [1 - 2 * !(((long) (sizeof (long long))) < 0)];
21352 test_array [0] = 0
21353
21354 ;
21355 return 0;
21356 }
21357 _ACEOF
21358 rm -f conftest.$ac_objext
21359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21360 (eval $ac_compile) 2>conftest.er1
21361 ac_status=$?
21362 grep -v '^ *+' conftest.er1 >conftest.err
21363 rm -f conftest.er1
21364 cat conftest.err >&5
21365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21366 (exit $ac_status); } &&
21367 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21369 (eval $ac_try) 2>&5
21370 ac_status=$?
21371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21372 (exit $ac_status); }; } &&
21373 { ac_try='test -s conftest.$ac_objext'
21374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21375 (eval $ac_try) 2>&5
21376 ac_status=$?
21377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21378 (exit $ac_status); }; }; then
21379 ac_hi=-1 ac_mid=-1
21380 while :; do
21381 cat >conftest.$ac_ext <<_ACEOF
21382 /* confdefs.h. */
21383 _ACEOF
21384 cat confdefs.h >>conftest.$ac_ext
21385 cat >>conftest.$ac_ext <<_ACEOF
21386 /* end confdefs.h. */
21387 $ac_includes_default
21388 int
21389 main ()
21390 {
21391 static int test_array [1 - 2 * !(((long) (sizeof (long long))) >= $ac_mid)];
21392 test_array [0] = 0
21393
21394 ;
21395 return 0;
21396 }
21397 _ACEOF
21398 rm -f conftest.$ac_objext
21399 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21400 (eval $ac_compile) 2>conftest.er1
21401 ac_status=$?
21402 grep -v '^ *+' conftest.er1 >conftest.err
21403 rm -f conftest.er1
21404 cat conftest.err >&5
21405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21406 (exit $ac_status); } &&
21407 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21409 (eval $ac_try) 2>&5
21410 ac_status=$?
21411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21412 (exit $ac_status); }; } &&
21413 { ac_try='test -s conftest.$ac_objext'
21414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21415 (eval $ac_try) 2>&5
21416 ac_status=$?
21417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21418 (exit $ac_status); }; }; then
21419 ac_lo=$ac_mid; break
21420 else
21421 echo "$as_me: failed program was:" >&5
21422 sed 's/^/| /' conftest.$ac_ext >&5
21423
21424 ac_hi=`expr '(' $ac_mid ')' - 1`
21425 if test $ac_mid -le $ac_hi; then
21426 ac_lo= ac_hi=
21427 break
21428 fi
21429 ac_mid=`expr 2 '*' $ac_mid`
21430 fi
21431 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21432 done
21433 else
21434 echo "$as_me: failed program was:" >&5
21435 sed 's/^/| /' conftest.$ac_ext >&5
21436
21437 ac_lo= ac_hi=
21438 fi
21439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21440 fi
21441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21442 # Binary search between lo and hi bounds.
21443 while test "x$ac_lo" != "x$ac_hi"; do
21444 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21445 cat >conftest.$ac_ext <<_ACEOF
21446 /* confdefs.h. */
21447 _ACEOF
21448 cat confdefs.h >>conftest.$ac_ext
21449 cat >>conftest.$ac_ext <<_ACEOF
21450 /* end confdefs.h. */
21451 $ac_includes_default
21452 int
21453 main ()
21454 {
21455 static int test_array [1 - 2 * !(((long) (sizeof (long long))) <= $ac_mid)];
21456 test_array [0] = 0
21457
21458 ;
21459 return 0;
21460 }
21461 _ACEOF
21462 rm -f conftest.$ac_objext
21463 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21464 (eval $ac_compile) 2>conftest.er1
21465 ac_status=$?
21466 grep -v '^ *+' conftest.er1 >conftest.err
21467 rm -f conftest.er1
21468 cat conftest.err >&5
21469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21470 (exit $ac_status); } &&
21471 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21473 (eval $ac_try) 2>&5
21474 ac_status=$?
21475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21476 (exit $ac_status); }; } &&
21477 { ac_try='test -s conftest.$ac_objext'
21478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21479 (eval $ac_try) 2>&5
21480 ac_status=$?
21481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21482 (exit $ac_status); }; }; then
21483 ac_hi=$ac_mid
21484 else
21485 echo "$as_me: failed program was:" >&5
21486 sed 's/^/| /' conftest.$ac_ext >&5
21487
21488 ac_lo=`expr '(' $ac_mid ')' + 1`
21489 fi
21490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21491 done
21492 case $ac_lo in
21493 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21494 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21495 See \`config.log' for more details." >&5
21496 echo "$as_me: error: cannot compute sizeof (long long), 77
21497 See \`config.log' for more details." >&2;}
21498 { (exit 1); exit 1; }; } ;;
21499 esac
21500 else
21501 if test "$cross_compiling" = yes; then
21502 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
21503 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
21504 { (exit 1); exit 1; }; }
21505 else
21506 cat >conftest.$ac_ext <<_ACEOF
21507 /* confdefs.h. */
21508 _ACEOF
21509 cat confdefs.h >>conftest.$ac_ext
21510 cat >>conftest.$ac_ext <<_ACEOF
21511 /* end confdefs.h. */
21512 $ac_includes_default
21513 long longval () { return (long) (sizeof (long long)); }
21514 unsigned long ulongval () { return (long) (sizeof (long long)); }
21515 #include <stdio.h>
21516 #include <stdlib.h>
21517 int
21518 main ()
21519 {
21520
21521 FILE *f = fopen ("conftest.val", "w");
21522 if (! f)
21523 exit (1);
21524 if (((long) (sizeof (long long))) < 0)
21525 {
21526 long i = longval ();
21527 if (i != ((long) (sizeof (long long))))
21528 exit (1);
21529 fprintf (f, "%ld\n", i);
21530 }
21531 else
21532 {
21533 unsigned long i = ulongval ();
21534 if (i != ((long) (sizeof (long long))))
21535 exit (1);
21536 fprintf (f, "%lu\n", i);
21537 }
21538 exit (ferror (f) || fclose (f) != 0);
21539
21540 ;
21541 return 0;
21542 }
21543 _ACEOF
21544 rm -f conftest$ac_exeext
21545 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21546 (eval $ac_link) 2>&5
21547 ac_status=$?
21548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21549 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21551 (eval $ac_try) 2>&5
21552 ac_status=$?
21553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21554 (exit $ac_status); }; }; then
21555 ac_cv_sizeof_long_long=`cat conftest.val`
21556 else
21557 echo "$as_me: program exited with status $ac_status" >&5
21558 echo "$as_me: failed program was:" >&5
21559 sed 's/^/| /' conftest.$ac_ext >&5
21560
21561 ( exit $ac_status )
21562 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long), 77
21563 See \`config.log' for more details." >&5
21564 echo "$as_me: error: cannot compute sizeof (long long), 77
21565 See \`config.log' for more details." >&2;}
21566 { (exit 1); exit 1; }; }
21567 fi
21568 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21569 fi
21570 fi
21571 rm -f conftest.val
21572 else
21573 ac_cv_sizeof_long_long=0
21574 fi
21575 fi
21576 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21577 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6
21578 cat >>confdefs.h <<_ACEOF
21579 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21580 _ACEOF
21581
21582
21583 esac
21584
21585 echo "$as_me:$LINENO: checking for wchar_t" >&5
21586 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6
21587 if test "${ac_cv_type_wchar_t+set}" = set; then
21588 echo $ECHO_N "(cached) $ECHO_C" >&6
21589 else
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
21597 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21598 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21599 # error "fake wchar_t"
21600 #endif
21601 #ifdef HAVE_WCHAR_H
21602 # ifdef __CYGWIN__
21603 # include <stddef.h>
21604 # endif
21605 # include <wchar.h>
21606 #endif
21607 #ifdef HAVE_STDLIB_H
21608 # include <stdlib.h>
21609 #endif
21610 #include <stdio.h>
21611
21612
21613
21614 int
21615 main ()
21616 {
21617 if ((wchar_t *) 0)
21618 return 0;
21619 if (sizeof (wchar_t))
21620 return 0;
21621 ;
21622 return 0;
21623 }
21624 _ACEOF
21625 rm -f conftest.$ac_objext
21626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21627 (eval $ac_compile) 2>conftest.er1
21628 ac_status=$?
21629 grep -v '^ *+' conftest.er1 >conftest.err
21630 rm -f conftest.er1
21631 cat conftest.err >&5
21632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21633 (exit $ac_status); } &&
21634 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21636 (eval $ac_try) 2>&5
21637 ac_status=$?
21638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21639 (exit $ac_status); }; } &&
21640 { ac_try='test -s conftest.$ac_objext'
21641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21642 (eval $ac_try) 2>&5
21643 ac_status=$?
21644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21645 (exit $ac_status); }; }; then
21646 ac_cv_type_wchar_t=yes
21647 else
21648 echo "$as_me: failed program was:" >&5
21649 sed 's/^/| /' conftest.$ac_ext >&5
21650
21651 ac_cv_type_wchar_t=no
21652 fi
21653 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21654 fi
21655 echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21656 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6
21657
21658 echo "$as_me:$LINENO: checking size of wchar_t" >&5
21659 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6
21660 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21661 echo $ECHO_N "(cached) $ECHO_C" >&6
21662 else
21663 if test "$ac_cv_type_wchar_t" = yes; then
21664 # The cast to unsigned long works around a bug in the HP C Compiler
21665 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21666 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21667 # This bug is HP SR number 8606223364.
21668 if test "$cross_compiling" = yes; then
21669 # Depending upon the size, compute the lo and hi bounds.
21670 cat >conftest.$ac_ext <<_ACEOF
21671 /* confdefs.h. */
21672 _ACEOF
21673 cat confdefs.h >>conftest.$ac_ext
21674 cat >>conftest.$ac_ext <<_ACEOF
21675 /* end confdefs.h. */
21676
21677 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21678 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21679 # error "fake wchar_t"
21680 #endif
21681 #ifdef HAVE_WCHAR_H
21682 # ifdef __CYGWIN__
21683 # include <stddef.h>
21684 # endif
21685 # include <wchar.h>
21686 #endif
21687 #ifdef HAVE_STDLIB_H
21688 # include <stdlib.h>
21689 #endif
21690 #include <stdio.h>
21691
21692
21693
21694 int
21695 main ()
21696 {
21697 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= 0)];
21698 test_array [0] = 0
21699
21700 ;
21701 return 0;
21702 }
21703 _ACEOF
21704 rm -f conftest.$ac_objext
21705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21706 (eval $ac_compile) 2>conftest.er1
21707 ac_status=$?
21708 grep -v '^ *+' conftest.er1 >conftest.err
21709 rm -f conftest.er1
21710 cat conftest.err >&5
21711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21712 (exit $ac_status); } &&
21713 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21715 (eval $ac_try) 2>&5
21716 ac_status=$?
21717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21718 (exit $ac_status); }; } &&
21719 { ac_try='test -s conftest.$ac_objext'
21720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21721 (eval $ac_try) 2>&5
21722 ac_status=$?
21723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21724 (exit $ac_status); }; }; then
21725 ac_lo=0 ac_mid=0
21726 while :; do
21727 cat >conftest.$ac_ext <<_ACEOF
21728 /* confdefs.h. */
21729 _ACEOF
21730 cat confdefs.h >>conftest.$ac_ext
21731 cat >>conftest.$ac_ext <<_ACEOF
21732 /* end confdefs.h. */
21733
21734 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21735 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21736 # error "fake wchar_t"
21737 #endif
21738 #ifdef HAVE_WCHAR_H
21739 # ifdef __CYGWIN__
21740 # include <stddef.h>
21741 # endif
21742 # include <wchar.h>
21743 #endif
21744 #ifdef HAVE_STDLIB_H
21745 # include <stdlib.h>
21746 #endif
21747 #include <stdio.h>
21748
21749
21750
21751 int
21752 main ()
21753 {
21754 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21755 test_array [0] = 0
21756
21757 ;
21758 return 0;
21759 }
21760 _ACEOF
21761 rm -f conftest.$ac_objext
21762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21763 (eval $ac_compile) 2>conftest.er1
21764 ac_status=$?
21765 grep -v '^ *+' conftest.er1 >conftest.err
21766 rm -f conftest.er1
21767 cat conftest.err >&5
21768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21769 (exit $ac_status); } &&
21770 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21772 (eval $ac_try) 2>&5
21773 ac_status=$?
21774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21775 (exit $ac_status); }; } &&
21776 { ac_try='test -s conftest.$ac_objext'
21777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21778 (eval $ac_try) 2>&5
21779 ac_status=$?
21780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21781 (exit $ac_status); }; }; then
21782 ac_hi=$ac_mid; break
21783 else
21784 echo "$as_me: failed program was:" >&5
21785 sed 's/^/| /' conftest.$ac_ext >&5
21786
21787 ac_lo=`expr $ac_mid + 1`
21788 if test $ac_lo -le $ac_mid; then
21789 ac_lo= ac_hi=
21790 break
21791 fi
21792 ac_mid=`expr 2 '*' $ac_mid + 1`
21793 fi
21794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21795 done
21796 else
21797 echo "$as_me: failed program was:" >&5
21798 sed 's/^/| /' conftest.$ac_ext >&5
21799
21800 cat >conftest.$ac_ext <<_ACEOF
21801 /* confdefs.h. */
21802 _ACEOF
21803 cat confdefs.h >>conftest.$ac_ext
21804 cat >>conftest.$ac_ext <<_ACEOF
21805 /* end confdefs.h. */
21806
21807 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21808 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21809 # error "fake wchar_t"
21810 #endif
21811 #ifdef HAVE_WCHAR_H
21812 # ifdef __CYGWIN__
21813 # include <stddef.h>
21814 # endif
21815 # include <wchar.h>
21816 #endif
21817 #ifdef HAVE_STDLIB_H
21818 # include <stdlib.h>
21819 #endif
21820 #include <stdio.h>
21821
21822
21823
21824 int
21825 main ()
21826 {
21827 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) < 0)];
21828 test_array [0] = 0
21829
21830 ;
21831 return 0;
21832 }
21833 _ACEOF
21834 rm -f conftest.$ac_objext
21835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21836 (eval $ac_compile) 2>conftest.er1
21837 ac_status=$?
21838 grep -v '^ *+' conftest.er1 >conftest.err
21839 rm -f conftest.er1
21840 cat conftest.err >&5
21841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21842 (exit $ac_status); } &&
21843 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21845 (eval $ac_try) 2>&5
21846 ac_status=$?
21847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21848 (exit $ac_status); }; } &&
21849 { ac_try='test -s conftest.$ac_objext'
21850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21851 (eval $ac_try) 2>&5
21852 ac_status=$?
21853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21854 (exit $ac_status); }; }; then
21855 ac_hi=-1 ac_mid=-1
21856 while :; do
21857 cat >conftest.$ac_ext <<_ACEOF
21858 /* confdefs.h. */
21859 _ACEOF
21860 cat confdefs.h >>conftest.$ac_ext
21861 cat >>conftest.$ac_ext <<_ACEOF
21862 /* end confdefs.h. */
21863
21864 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21865 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21866 # error "fake wchar_t"
21867 #endif
21868 #ifdef HAVE_WCHAR_H
21869 # ifdef __CYGWIN__
21870 # include <stddef.h>
21871 # endif
21872 # include <wchar.h>
21873 #endif
21874 #ifdef HAVE_STDLIB_H
21875 # include <stdlib.h>
21876 #endif
21877 #include <stdio.h>
21878
21879
21880
21881 int
21882 main ()
21883 {
21884 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) >= $ac_mid)];
21885 test_array [0] = 0
21886
21887 ;
21888 return 0;
21889 }
21890 _ACEOF
21891 rm -f conftest.$ac_objext
21892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21893 (eval $ac_compile) 2>conftest.er1
21894 ac_status=$?
21895 grep -v '^ *+' conftest.er1 >conftest.err
21896 rm -f conftest.er1
21897 cat conftest.err >&5
21898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21899 (exit $ac_status); } &&
21900 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21902 (eval $ac_try) 2>&5
21903 ac_status=$?
21904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21905 (exit $ac_status); }; } &&
21906 { ac_try='test -s conftest.$ac_objext'
21907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21908 (eval $ac_try) 2>&5
21909 ac_status=$?
21910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21911 (exit $ac_status); }; }; then
21912 ac_lo=$ac_mid; break
21913 else
21914 echo "$as_me: failed program was:" >&5
21915 sed 's/^/| /' conftest.$ac_ext >&5
21916
21917 ac_hi=`expr '(' $ac_mid ')' - 1`
21918 if test $ac_mid -le $ac_hi; then
21919 ac_lo= ac_hi=
21920 break
21921 fi
21922 ac_mid=`expr 2 '*' $ac_mid`
21923 fi
21924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21925 done
21926 else
21927 echo "$as_me: failed program was:" >&5
21928 sed 's/^/| /' conftest.$ac_ext >&5
21929
21930 ac_lo= ac_hi=
21931 fi
21932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21933 fi
21934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21935 # Binary search between lo and hi bounds.
21936 while test "x$ac_lo" != "x$ac_hi"; do
21937 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21938 cat >conftest.$ac_ext <<_ACEOF
21939 /* confdefs.h. */
21940 _ACEOF
21941 cat confdefs.h >>conftest.$ac_ext
21942 cat >>conftest.$ac_ext <<_ACEOF
21943 /* end confdefs.h. */
21944
21945 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21946 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21947 # error "fake wchar_t"
21948 #endif
21949 #ifdef HAVE_WCHAR_H
21950 # ifdef __CYGWIN__
21951 # include <stddef.h>
21952 # endif
21953 # include <wchar.h>
21954 #endif
21955 #ifdef HAVE_STDLIB_H
21956 # include <stdlib.h>
21957 #endif
21958 #include <stdio.h>
21959
21960
21961
21962 int
21963 main ()
21964 {
21965 static int test_array [1 - 2 * !(((long) (sizeof (wchar_t))) <= $ac_mid)];
21966 test_array [0] = 0
21967
21968 ;
21969 return 0;
21970 }
21971 _ACEOF
21972 rm -f conftest.$ac_objext
21973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21974 (eval $ac_compile) 2>conftest.er1
21975 ac_status=$?
21976 grep -v '^ *+' conftest.er1 >conftest.err
21977 rm -f conftest.er1
21978 cat conftest.err >&5
21979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21980 (exit $ac_status); } &&
21981 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
21982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21983 (eval $ac_try) 2>&5
21984 ac_status=$?
21985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21986 (exit $ac_status); }; } &&
21987 { ac_try='test -s conftest.$ac_objext'
21988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21989 (eval $ac_try) 2>&5
21990 ac_status=$?
21991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21992 (exit $ac_status); }; }; then
21993 ac_hi=$ac_mid
21994 else
21995 echo "$as_me: failed program was:" >&5
21996 sed 's/^/| /' conftest.$ac_ext >&5
21997
21998 ac_lo=`expr '(' $ac_mid ')' + 1`
21999 fi
22000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22001 done
22002 case $ac_lo in
22003 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22004 '') { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22005 See \`config.log' for more details." >&5
22006 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22007 See \`config.log' for more details." >&2;}
22008 { (exit 1); exit 1; }; } ;;
22009 esac
22010 else
22011 if test "$cross_compiling" = yes; then
22012 { { echo "$as_me:$LINENO: error: internal error: not reached in cross-compile" >&5
22013 echo "$as_me: error: internal error: not reached in cross-compile" >&2;}
22014 { (exit 1); exit 1; }; }
22015 else
22016 cat >conftest.$ac_ext <<_ACEOF
22017 /* confdefs.h. */
22018 _ACEOF
22019 cat confdefs.h >>conftest.$ac_ext
22020 cat >>conftest.$ac_ext <<_ACEOF
22021 /* end confdefs.h. */
22022
22023 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22024 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22025 # error "fake wchar_t"
22026 #endif
22027 #ifdef HAVE_WCHAR_H
22028 # ifdef __CYGWIN__
22029 # include <stddef.h>
22030 # endif
22031 # include <wchar.h>
22032 #endif
22033 #ifdef HAVE_STDLIB_H
22034 # include <stdlib.h>
22035 #endif
22036 #include <stdio.h>
22037
22038
22039
22040 long longval () { return (long) (sizeof (wchar_t)); }
22041 unsigned long ulongval () { return (long) (sizeof (wchar_t)); }
22042 #include <stdio.h>
22043 #include <stdlib.h>
22044 int
22045 main ()
22046 {
22047
22048 FILE *f = fopen ("conftest.val", "w");
22049 if (! f)
22050 exit (1);
22051 if (((long) (sizeof (wchar_t))) < 0)
22052 {
22053 long i = longval ();
22054 if (i != ((long) (sizeof (wchar_t))))
22055 exit (1);
22056 fprintf (f, "%ld\n", i);
22057 }
22058 else
22059 {
22060 unsigned long i = ulongval ();
22061 if (i != ((long) (sizeof (wchar_t))))
22062 exit (1);
22063 fprintf (f, "%lu\n", i);
22064 }
22065 exit (ferror (f) || fclose (f) != 0);
22066
22067 ;
22068 return 0;
22069 }
22070 _ACEOF
22071 rm -f conftest$ac_exeext
22072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22073 (eval $ac_link) 2>&5
22074 ac_status=$?
22075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22076 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22078 (eval $ac_try) 2>&5
22079 ac_status=$?
22080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22081 (exit $ac_status); }; }; then
22082 ac_cv_sizeof_wchar_t=`cat conftest.val`
22083 else
22084 echo "$as_me: program exited with status $ac_status" >&5
22085 echo "$as_me: failed program was:" >&5
22086 sed 's/^/| /' conftest.$ac_ext >&5
22087
22088 ( exit $ac_status )
22089 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t), 77
22090 See \`config.log' for more details." >&5
22091 echo "$as_me: error: cannot compute sizeof (wchar_t), 77
22092 See \`config.log' for more details." >&2;}
22093 { (exit 1); exit 1; }; }
22094 fi
22095 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22096 fi
22097 fi
22098 rm -f conftest.val
22099 else
22100 ac_cv_sizeof_wchar_t=0
22101 fi
22102 fi
22103 echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22104 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6
22105 cat >>confdefs.h <<_ACEOF
22106 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22107 _ACEOF
22108
22109
22110 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22111 wxUSE_WCHAR_T=yes
22112 else
22113 wxUSE_WCHAR_T=no
22114 fi
22115
22116 echo "$as_me:$LINENO: checking for va_copy" >&5
22117 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6
22118 if test "${wx_cv_func_va_copy+set}" = set; then
22119 echo $ECHO_N "(cached) $ECHO_C" >&6
22120 else
22121
22122 cat >conftest.$ac_ext <<_ACEOF
22123
22124 #include <stdarg.h>
22125 void foo(char *f, ...)
22126 {
22127 va_list ap1, ap2;
22128 va_start(ap1, f);
22129 va_copy(ap2, ap1);
22130 va_end(ap2);
22131 va_end(ap1);
22132 }
22133 int main()
22134 {
22135 foo("hi", 17);
22136 return 0;
22137 }
22138 _ACEOF
22139 rm -f conftest.$ac_objext conftest$ac_exeext
22140 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22141 (eval $ac_link) 2>conftest.er1
22142 ac_status=$?
22143 grep -v '^ *+' conftest.er1 >conftest.err
22144 rm -f conftest.er1
22145 cat conftest.err >&5
22146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22147 (exit $ac_status); } &&
22148 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22150 (eval $ac_try) 2>&5
22151 ac_status=$?
22152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22153 (exit $ac_status); }; } &&
22154 { ac_try='test -s conftest$ac_exeext'
22155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22156 (eval $ac_try) 2>&5
22157 ac_status=$?
22158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22159 (exit $ac_status); }; }; then
22160 wx_cv_func_va_copy=yes
22161 else
22162 echo "$as_me: failed program was:" >&5
22163 sed 's/^/| /' conftest.$ac_ext >&5
22164
22165 wx_cv_func_va_copy=no
22166
22167 fi
22168 rm -f conftest.err conftest.$ac_objext \
22169 conftest$ac_exeext conftest.$ac_ext
22170
22171
22172 fi
22173 echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22174 echo "${ECHO_T}$wx_cv_func_va_copy" >&6
22175
22176 if test $wx_cv_func_va_copy = "yes"; then
22177 cat >>confdefs.h <<\_ACEOF
22178 #define HAVE_VA_COPY 1
22179 _ACEOF
22180
22181 else
22182 echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22183 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6
22184 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22185 echo $ECHO_N "(cached) $ECHO_C" >&6
22186 else
22187
22188 if test "$cross_compiling" = yes; then
22189 wx_cv_type_va_list_lvalue=yes
22190
22191 else
22192 cat >conftest.$ac_ext <<_ACEOF
22193
22194 #include <stdarg.h>
22195 int foo(char *f, ...)
22196 {
22197 va_list ap1, ap2;
22198 va_start(ap1, f);
22199 ap2 = ap1;
22200 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22201 return 1;
22202 va_end(ap2);
22203 va_end(ap1);
22204 return 0;
22205 }
22206 int main()
22207 {
22208 return foo("hi", 17);
22209 }
22210 _ACEOF
22211 rm -f conftest$ac_exeext
22212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22213 (eval $ac_link) 2>&5
22214 ac_status=$?
22215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22216 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22218 (eval $ac_try) 2>&5
22219 ac_status=$?
22220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22221 (exit $ac_status); }; }; then
22222 wx_cv_type_va_list_lvalue=yes
22223 else
22224 echo "$as_me: program exited with status $ac_status" >&5
22225 echo "$as_me: failed program was:" >&5
22226 sed 's/^/| /' conftest.$ac_ext >&5
22227
22228 ( exit $ac_status )
22229 wx_cv_type_va_list_lvalue=no
22230 fi
22231 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22232 fi
22233
22234
22235 fi
22236 echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22237 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6
22238
22239 if test $wx_cv_type_va_list_lvalue != "yes"; then
22240 cat >>confdefs.h <<\_ACEOF
22241 #define VA_LIST_IS_ARRAY 1
22242 _ACEOF
22243
22244 fi
22245 fi
22246
22247 echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22248 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6
22249 if test "${wx_cv_have_variadic_macros+set}" = set; then
22250 echo $ECHO_N "(cached) $ECHO_C" >&6
22251 else
22252
22253 cat >conftest.$ac_ext <<_ACEOF
22254 /* confdefs.h. */
22255 _ACEOF
22256 cat confdefs.h >>conftest.$ac_ext
22257 cat >>conftest.$ac_ext <<_ACEOF
22258 /* end confdefs.h. */
22259
22260 #include <stdio.h>
22261 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22262
22263 int
22264 main ()
22265 {
22266
22267 test("%s %d %p", "test", 1, 0);
22268
22269
22270 ;
22271 return 0;
22272 }
22273 _ACEOF
22274 rm -f conftest.$ac_objext
22275 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22276 (eval $ac_compile) 2>conftest.er1
22277 ac_status=$?
22278 grep -v '^ *+' conftest.er1 >conftest.err
22279 rm -f conftest.er1
22280 cat conftest.err >&5
22281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22282 (exit $ac_status); } &&
22283 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22285 (eval $ac_try) 2>&5
22286 ac_status=$?
22287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22288 (exit $ac_status); }; } &&
22289 { ac_try='test -s conftest.$ac_objext'
22290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22291 (eval $ac_try) 2>&5
22292 ac_status=$?
22293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22294 (exit $ac_status); }; }; then
22295 wx_cv_have_variadic_macros=yes
22296 else
22297 echo "$as_me: failed program was:" >&5
22298 sed 's/^/| /' conftest.$ac_ext >&5
22299
22300 wx_cv_have_variadic_macros=no
22301
22302 fi
22303 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22304
22305
22306 fi
22307 echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22308 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6
22309
22310 if test $wx_cv_have_variadic_macros = "yes"; then
22311 cat >>confdefs.h <<\_ACEOF
22312 #define HAVE_VARIADIC_MACROS 1
22313 _ACEOF
22314
22315 fi
22316
22317 # Check whether --enable-largefile or --disable-largefile was given.
22318 if test "${enable_largefile+set}" = set; then
22319 enableval="$enable_largefile"
22320
22321 fi;
22322 if test "$enable_largefile" != no; then
22323 wx_largefile=no
22324
22325 echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22326 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6
22327 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22328 echo $ECHO_N "(cached) $ECHO_C" >&6
22329 else
22330
22331 cat >conftest.$ac_ext <<_ACEOF
22332 /* confdefs.h. */
22333 _ACEOF
22334 cat confdefs.h >>conftest.$ac_ext
22335 cat >>conftest.$ac_ext <<_ACEOF
22336 /* end confdefs.h. */
22337 #define _FILE_OFFSET_BITS 64
22338 #include <sys/types.h>
22339 int
22340 main ()
22341 {
22342 typedef struct {
22343 unsigned int field: sizeof(off_t) == 8;
22344 } wxlf;
22345
22346 ;
22347 return 0;
22348 }
22349 _ACEOF
22350 rm -f conftest.$ac_objext
22351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22352 (eval $ac_compile) 2>conftest.er1
22353 ac_status=$?
22354 grep -v '^ *+' conftest.er1 >conftest.err
22355 rm -f conftest.er1
22356 cat conftest.err >&5
22357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22358 (exit $ac_status); } &&
22359 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22361 (eval $ac_try) 2>&5
22362 ac_status=$?
22363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22364 (exit $ac_status); }; } &&
22365 { ac_try='test -s conftest.$ac_objext'
22366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22367 (eval $ac_try) 2>&5
22368 ac_status=$?
22369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22370 (exit $ac_status); }; }; then
22371 ac_cv_sys_file_offset_bits=64
22372 else
22373 echo "$as_me: failed program was:" >&5
22374 sed 's/^/| /' conftest.$ac_ext >&5
22375
22376 ac_cv_sys_file_offset_bits=no
22377 fi
22378 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22379
22380
22381 fi
22382 echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22383 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6
22384
22385 if test "$ac_cv_sys_file_offset_bits" != no; then
22386 wx_largefile=yes
22387 cat >>confdefs.h <<_ACEOF
22388 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22389 _ACEOF
22390
22391 fi
22392
22393 if test "x$wx_largefile" != "xyes"; then
22394
22395 echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22396 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6
22397 if test "${ac_cv_sys_large_files+set}" = set; then
22398 echo $ECHO_N "(cached) $ECHO_C" >&6
22399 else
22400
22401 cat >conftest.$ac_ext <<_ACEOF
22402 /* confdefs.h. */
22403 _ACEOF
22404 cat confdefs.h >>conftest.$ac_ext
22405 cat >>conftest.$ac_ext <<_ACEOF
22406 /* end confdefs.h. */
22407 #define _LARGE_FILES 1
22408 #include <sys/types.h>
22409 int
22410 main ()
22411 {
22412 typedef struct {
22413 unsigned int field: sizeof(off_t) == 8;
22414 } wxlf;
22415
22416 ;
22417 return 0;
22418 }
22419 _ACEOF
22420 rm -f conftest.$ac_objext
22421 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22422 (eval $ac_compile) 2>conftest.er1
22423 ac_status=$?
22424 grep -v '^ *+' conftest.er1 >conftest.err
22425 rm -f conftest.er1
22426 cat conftest.err >&5
22427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22428 (exit $ac_status); } &&
22429 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22431 (eval $ac_try) 2>&5
22432 ac_status=$?
22433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22434 (exit $ac_status); }; } &&
22435 { ac_try='test -s conftest.$ac_objext'
22436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22437 (eval $ac_try) 2>&5
22438 ac_status=$?
22439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22440 (exit $ac_status); }; }; then
22441 ac_cv_sys_large_files=1
22442 else
22443 echo "$as_me: failed program was:" >&5
22444 sed 's/^/| /' conftest.$ac_ext >&5
22445
22446 ac_cv_sys_large_files=no
22447 fi
22448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22449
22450
22451 fi
22452 echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22453 echo "${ECHO_T}$ac_cv_sys_large_files" >&6
22454
22455 if test "$ac_cv_sys_large_files" != no; then
22456 wx_largefile=yes
22457 cat >>confdefs.h <<_ACEOF
22458 #define _LARGE_FILES $ac_cv_sys_large_files
22459 _ACEOF
22460
22461 fi
22462
22463 fi
22464
22465 echo "$as_me:$LINENO: checking if large file support is available" >&5
22466 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6
22467 if test "x$wx_largefile" = "xyes"; then
22468 cat >>confdefs.h <<\_ACEOF
22469 #define HAVE_LARGEFILE_SUPPORT 1
22470 _ACEOF
22471
22472 fi
22473 echo "$as_me:$LINENO: result: $wx_largefile" >&5
22474 echo "${ECHO_T}$wx_largefile" >&6
22475 fi
22476
22477
22478 if test "x$wx_largefile" = "xyes"; then
22479 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22480 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22481
22482 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22483 echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22484 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6
22485 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22486 echo $ECHO_N "(cached) $ECHO_C" >&6
22487 else
22488
22489 cat >conftest.$ac_ext <<_ACEOF
22490 /* confdefs.h. */
22491 _ACEOF
22492 cat confdefs.h >>conftest.$ac_ext
22493 cat >>conftest.$ac_ext <<_ACEOF
22494 /* end confdefs.h. */
22495
22496 int
22497 main ()
22498 {
22499
22500 #ifndef __STDC_EXT__
22501 choke me
22502 #endif
22503
22504 ;
22505 return 0;
22506 }
22507 _ACEOF
22508 rm -f conftest.$ac_objext
22509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22510 (eval $ac_compile) 2>conftest.er1
22511 ac_status=$?
22512 grep -v '^ *+' conftest.er1 >conftest.err
22513 rm -f conftest.er1
22514 cat conftest.err >&5
22515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22516 (exit $ac_status); } &&
22517 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22518 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22519 (eval $ac_try) 2>&5
22520 ac_status=$?
22521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22522 (exit $ac_status); }; } &&
22523 { ac_try='test -s conftest.$ac_objext'
22524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22525 (eval $ac_try) 2>&5
22526 ac_status=$?
22527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22528 (exit $ac_status); }; }; then
22529 wx_cv_STDC_EXT_required=no
22530 else
22531 echo "$as_me: failed program was:" >&5
22532 sed 's/^/| /' conftest.$ac_ext >&5
22533
22534 wx_cv_STDC_EXT_required=yes
22535
22536 fi
22537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22538
22539
22540 fi
22541 echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22542 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6
22543 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22544 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22545 fi
22546 fi
22547 else
22548 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22549 fi
22550 echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22551 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6
22552 if test "${ac_cv_sys_largefile_source+set}" = set; then
22553 echo $ECHO_N "(cached) $ECHO_C" >&6
22554 else
22555 while :; do
22556 ac_cv_sys_largefile_source=no
22557 cat >conftest.$ac_ext <<_ACEOF
22558 /* confdefs.h. */
22559 _ACEOF
22560 cat confdefs.h >>conftest.$ac_ext
22561 cat >>conftest.$ac_ext <<_ACEOF
22562 /* end confdefs.h. */
22563 #include <stdio.h>
22564 int
22565 main ()
22566 {
22567 return !fseeko;
22568 ;
22569 return 0;
22570 }
22571 _ACEOF
22572 rm -f conftest.$ac_objext
22573 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22574 (eval $ac_compile) 2>conftest.er1
22575 ac_status=$?
22576 grep -v '^ *+' conftest.er1 >conftest.err
22577 rm -f conftest.er1
22578 cat conftest.err >&5
22579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22580 (exit $ac_status); } &&
22581 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22583 (eval $ac_try) 2>&5
22584 ac_status=$?
22585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22586 (exit $ac_status); }; } &&
22587 { ac_try='test -s conftest.$ac_objext'
22588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22589 (eval $ac_try) 2>&5
22590 ac_status=$?
22591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22592 (exit $ac_status); }; }; then
22593 break
22594 else
22595 echo "$as_me: failed program was:" >&5
22596 sed 's/^/| /' conftest.$ac_ext >&5
22597
22598 fi
22599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22600 cat >conftest.$ac_ext <<_ACEOF
22601 /* confdefs.h. */
22602 _ACEOF
22603 cat confdefs.h >>conftest.$ac_ext
22604 cat >>conftest.$ac_ext <<_ACEOF
22605 /* end confdefs.h. */
22606 #define _LARGEFILE_SOURCE 1
22607 #include <stdio.h>
22608 int
22609 main ()
22610 {
22611 return !fseeko;
22612 ;
22613 return 0;
22614 }
22615 _ACEOF
22616 rm -f conftest.$ac_objext
22617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22618 (eval $ac_compile) 2>conftest.er1
22619 ac_status=$?
22620 grep -v '^ *+' conftest.er1 >conftest.err
22621 rm -f conftest.er1
22622 cat conftest.err >&5
22623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22624 (exit $ac_status); } &&
22625 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22627 (eval $ac_try) 2>&5
22628 ac_status=$?
22629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22630 (exit $ac_status); }; } &&
22631 { ac_try='test -s conftest.$ac_objext'
22632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22633 (eval $ac_try) 2>&5
22634 ac_status=$?
22635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22636 (exit $ac_status); }; }; then
22637 ac_cv_sys_largefile_source=1; break
22638 else
22639 echo "$as_me: failed program was:" >&5
22640 sed 's/^/| /' conftest.$ac_ext >&5
22641
22642 fi
22643 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22644 break
22645 done
22646 fi
22647 echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22648 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6
22649 if test "$ac_cv_sys_largefile_source" != no; then
22650
22651 cat >>confdefs.h <<_ACEOF
22652 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22653 _ACEOF
22654
22655 fi
22656 rm -f conftest*
22657
22658 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22659 # in glibc 2.1.3, but that breaks too many other things.
22660 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22661 echo "$as_me:$LINENO: checking for fseeko" >&5
22662 echo $ECHO_N "checking for fseeko... $ECHO_C" >&6
22663 if test "${ac_cv_func_fseeko+set}" = set; then
22664 echo $ECHO_N "(cached) $ECHO_C" >&6
22665 else
22666 cat >conftest.$ac_ext <<_ACEOF
22667 /* confdefs.h. */
22668 _ACEOF
22669 cat confdefs.h >>conftest.$ac_ext
22670 cat >>conftest.$ac_ext <<_ACEOF
22671 /* end confdefs.h. */
22672 #include <stdio.h>
22673 int
22674 main ()
22675 {
22676 return fseeko && fseeko (stdin, 0, 0);
22677 ;
22678 return 0;
22679 }
22680 _ACEOF
22681 rm -f conftest.$ac_objext conftest$ac_exeext
22682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22683 (eval $ac_link) 2>conftest.er1
22684 ac_status=$?
22685 grep -v '^ *+' conftest.er1 >conftest.err
22686 rm -f conftest.er1
22687 cat conftest.err >&5
22688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22689 (exit $ac_status); } &&
22690 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22692 (eval $ac_try) 2>&5
22693 ac_status=$?
22694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22695 (exit $ac_status); }; } &&
22696 { ac_try='test -s conftest$ac_exeext'
22697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22698 (eval $ac_try) 2>&5
22699 ac_status=$?
22700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22701 (exit $ac_status); }; }; then
22702 ac_cv_func_fseeko=yes
22703 else
22704 echo "$as_me: failed program was:" >&5
22705 sed 's/^/| /' conftest.$ac_ext >&5
22706
22707 ac_cv_func_fseeko=no
22708 fi
22709 rm -f conftest.err conftest.$ac_objext \
22710 conftest$ac_exeext conftest.$ac_ext
22711 fi
22712 echo "$as_me:$LINENO: result: $ac_cv_func_fseeko" >&5
22713 echo "${ECHO_T}$ac_cv_func_fseeko" >&6
22714 if test $ac_cv_func_fseeko = yes; then
22715
22716 cat >>confdefs.h <<\_ACEOF
22717 #define HAVE_FSEEKO 1
22718 _ACEOF
22719
22720 fi
22721
22722 if test "$ac_cv_sys_largefile_source" != no; then
22723 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22724 fi
22725 fi
22726
22727 echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22728 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6
22729 if test "${ac_cv_c_bigendian+set}" = set; then
22730 echo $ECHO_N "(cached) $ECHO_C" >&6
22731 else
22732 ac_cv_c_bigendian=unknown
22733 # See if sys/param.h defines the BYTE_ORDER macro.
22734 cat >conftest.$ac_ext <<_ACEOF
22735 /* confdefs.h. */
22736 _ACEOF
22737 cat confdefs.h >>conftest.$ac_ext
22738 cat >>conftest.$ac_ext <<_ACEOF
22739 /* end confdefs.h. */
22740 #include <sys/types.h>
22741 #include <sys/param.h>
22742 int
22743 main ()
22744 {
22745
22746 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22747 bogus endian macros
22748 #endif
22749 ;
22750 return 0;
22751 }
22752 _ACEOF
22753 rm -f conftest.$ac_objext
22754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22755 (eval $ac_compile) 2>conftest.er1
22756 ac_status=$?
22757 grep -v '^ *+' conftest.er1 >conftest.err
22758 rm -f conftest.er1
22759 cat conftest.err >&5
22760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22761 (exit $ac_status); } &&
22762 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22764 (eval $ac_try) 2>&5
22765 ac_status=$?
22766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22767 (exit $ac_status); }; } &&
22768 { ac_try='test -s conftest.$ac_objext'
22769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22770 (eval $ac_try) 2>&5
22771 ac_status=$?
22772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22773 (exit $ac_status); }; }; then
22774 # It does; now see whether it defined to BIG_ENDIAN or not.
22775 cat >conftest.$ac_ext <<_ACEOF
22776 /* confdefs.h. */
22777 _ACEOF
22778 cat confdefs.h >>conftest.$ac_ext
22779 cat >>conftest.$ac_ext <<_ACEOF
22780 /* end confdefs.h. */
22781 #include <sys/types.h>
22782 #include <sys/param.h>
22783 int
22784 main ()
22785 {
22786
22787 #if BYTE_ORDER != BIG_ENDIAN
22788 not big endian
22789 #endif
22790 ;
22791 return 0;
22792 }
22793 _ACEOF
22794 rm -f conftest.$ac_objext
22795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22796 (eval $ac_compile) 2>conftest.er1
22797 ac_status=$?
22798 grep -v '^ *+' conftest.er1 >conftest.err
22799 rm -f conftest.er1
22800 cat conftest.err >&5
22801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22802 (exit $ac_status); } &&
22803 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
22804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22805 (eval $ac_try) 2>&5
22806 ac_status=$?
22807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22808 (exit $ac_status); }; } &&
22809 { ac_try='test -s conftest.$ac_objext'
22810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22811 (eval $ac_try) 2>&5
22812 ac_status=$?
22813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22814 (exit $ac_status); }; }; then
22815 ac_cv_c_bigendian=yes
22816 else
22817 echo "$as_me: failed program was:" >&5
22818 sed 's/^/| /' conftest.$ac_ext >&5
22819
22820 ac_cv_c_bigendian=no
22821 fi
22822 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22823 else
22824 echo "$as_me: failed program was:" >&5
22825 sed 's/^/| /' conftest.$ac_ext >&5
22826
22827 fi
22828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22829 if test $ac_cv_c_bigendian = unknown; then
22830 if test "$cross_compiling" = yes; then
22831 ac_cv_c_bigendian=unknown
22832 else
22833 cat >conftest.$ac_ext <<_ACEOF
22834 /* confdefs.h. */
22835 _ACEOF
22836 cat confdefs.h >>conftest.$ac_ext
22837 cat >>conftest.$ac_ext <<_ACEOF
22838 /* end confdefs.h. */
22839 main () {
22840 /* Are we little or big endian? From Harbison&Steele. */
22841 union
22842 {
22843 long l;
22844 char c[sizeof (long)];
22845 } u;
22846 u.l = 1;
22847 exit (u.c[sizeof (long) - 1] == 1);
22848 }
22849 _ACEOF
22850 rm -f conftest$ac_exeext
22851 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22852 (eval $ac_link) 2>&5
22853 ac_status=$?
22854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22855 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22857 (eval $ac_try) 2>&5
22858 ac_status=$?
22859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22860 (exit $ac_status); }; }; then
22861 ac_cv_c_bigendian=no
22862 else
22863 echo "$as_me: program exited with status $ac_status" >&5
22864 echo "$as_me: failed program was:" >&5
22865 sed 's/^/| /' conftest.$ac_ext >&5
22866
22867 ( exit $ac_status )
22868 ac_cv_c_bigendian=yes
22869 fi
22870 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22871 fi
22872 fi
22873 fi
22874 echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22875 echo "${ECHO_T}$ac_cv_c_bigendian" >&6
22876 if test $ac_cv_c_bigendian = unknown; then
22877 { 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
22878 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;}
22879 fi
22880 if test $ac_cv_c_bigendian = yes; then
22881 cat >>confdefs.h <<\_ACEOF
22882 #define WORDS_BIGENDIAN 1
22883 _ACEOF
22884
22885 fi
22886
22887
22888
22889
22890
22891 ac_ext=cc
22892 ac_cpp='$CXXCPP $CPPFLAGS'
22893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22896
22897
22898
22899 for ac_header in iostream
22900 do
22901 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22902 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22903 echo "$as_me:$LINENO: checking for $ac_header" >&5
22904 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22906 echo $ECHO_N "(cached) $ECHO_C" >&6
22907 fi
22908 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22909 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22910 else
22911 # Is the header compilable?
22912 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22913 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22914 cat >conftest.$ac_ext <<_ACEOF
22915 /* confdefs.h. */
22916 _ACEOF
22917 cat confdefs.h >>conftest.$ac_ext
22918 cat >>conftest.$ac_ext <<_ACEOF
22919 /* end confdefs.h. */
22920 $ac_includes_default
22921 #include <$ac_header>
22922 _ACEOF
22923 rm -f conftest.$ac_objext
22924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22925 (eval $ac_compile) 2>conftest.er1
22926 ac_status=$?
22927 grep -v '^ *+' conftest.er1 >conftest.err
22928 rm -f conftest.er1
22929 cat conftest.err >&5
22930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22931 (exit $ac_status); } &&
22932 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
22938 { ac_try='test -s conftest.$ac_objext'
22939 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22940 (eval $ac_try) 2>&5
22941 ac_status=$?
22942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22943 (exit $ac_status); }; }; then
22944 ac_header_compiler=yes
22945 else
22946 echo "$as_me: failed program was:" >&5
22947 sed 's/^/| /' conftest.$ac_ext >&5
22948
22949 ac_header_compiler=no
22950 fi
22951 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22952 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22953 echo "${ECHO_T}$ac_header_compiler" >&6
22954
22955 # Is the header present?
22956 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22957 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22958 cat >conftest.$ac_ext <<_ACEOF
22959 /* confdefs.h. */
22960 _ACEOF
22961 cat confdefs.h >>conftest.$ac_ext
22962 cat >>conftest.$ac_ext <<_ACEOF
22963 /* end confdefs.h. */
22964 #include <$ac_header>
22965 _ACEOF
22966 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22967 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22968 ac_status=$?
22969 grep -v '^ *+' conftest.er1 >conftest.err
22970 rm -f conftest.er1
22971 cat conftest.err >&5
22972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22973 (exit $ac_status); } >/dev/null; then
22974 if test -s conftest.err; then
22975 ac_cpp_err=$ac_cxx_preproc_warn_flag
22976 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22977 else
22978 ac_cpp_err=
22979 fi
22980 else
22981 ac_cpp_err=yes
22982 fi
22983 if test -z "$ac_cpp_err"; then
22984 ac_header_preproc=yes
22985 else
22986 echo "$as_me: failed program was:" >&5
22987 sed 's/^/| /' conftest.$ac_ext >&5
22988
22989 ac_header_preproc=no
22990 fi
22991 rm -f conftest.err conftest.$ac_ext
22992 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22993 echo "${ECHO_T}$ac_header_preproc" >&6
22994
22995 # So? What about this header?
22996 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22997 yes:no: )
22998 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22999 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23000 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23001 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23002 ac_header_preproc=yes
23003 ;;
23004 no:yes:* )
23005 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23006 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23007 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23008 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23009 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23010 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23011 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23012 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23013 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23014 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23015 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23016 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23017 (
23018 cat <<\_ASBOX
23019 ## ----------------------------------------- ##
23020 ## Report this to wx-dev@lists.wxwidgets.org ##
23021 ## ----------------------------------------- ##
23022 _ASBOX
23023 ) |
23024 sed "s/^/$as_me: WARNING: /" >&2
23025 ;;
23026 esac
23027 echo "$as_me:$LINENO: checking for $ac_header" >&5
23028 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23029 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23030 echo $ECHO_N "(cached) $ECHO_C" >&6
23031 else
23032 eval "$as_ac_Header=\$ac_header_preproc"
23033 fi
23034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23035 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23036
23037 fi
23038 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23039 cat >>confdefs.h <<_ACEOF
23040 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23041 _ACEOF
23042
23043 fi
23044
23045 done
23046
23047
23048 if test "$ac_cv_header_iostream" = "yes" ; then
23049 :
23050 else
23051 cat >>confdefs.h <<\_ACEOF
23052 #define wxUSE_IOSTREAMH 1
23053 _ACEOF
23054
23055 fi
23056
23057 ac_ext=cc
23058 ac_cpp='$CXXCPP $CPPFLAGS'
23059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23062
23063
23064
23065
23066 echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23067 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6
23068 if test "${wx_cv_cpp_bool+set}" = set; then
23069 echo $ECHO_N "(cached) $ECHO_C" >&6
23070 else
23071
23072
23073
23074 ac_ext=cc
23075 ac_cpp='$CXXCPP $CPPFLAGS'
23076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23079
23080
23081 cat >conftest.$ac_ext <<_ACEOF
23082 /* confdefs.h. */
23083 _ACEOF
23084 cat confdefs.h >>conftest.$ac_ext
23085 cat >>conftest.$ac_ext <<_ACEOF
23086 /* end confdefs.h. */
23087
23088
23089 int
23090 main ()
23091 {
23092
23093 bool b = true;
23094
23095 return 0;
23096
23097 ;
23098 return 0;
23099 }
23100 _ACEOF
23101 rm -f conftest.$ac_objext
23102 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23103 (eval $ac_compile) 2>conftest.er1
23104 ac_status=$?
23105 grep -v '^ *+' conftest.er1 >conftest.err
23106 rm -f conftest.er1
23107 cat conftest.err >&5
23108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23109 (exit $ac_status); } &&
23110 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23112 (eval $ac_try) 2>&5
23113 ac_status=$?
23114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23115 (exit $ac_status); }; } &&
23116 { ac_try='test -s conftest.$ac_objext'
23117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23118 (eval $ac_try) 2>&5
23119 ac_status=$?
23120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23121 (exit $ac_status); }; }; then
23122
23123 wx_cv_cpp_bool=yes
23124
23125 else
23126 echo "$as_me: failed program was:" >&5
23127 sed 's/^/| /' conftest.$ac_ext >&5
23128
23129
23130 wx_cv_cpp_bool=no
23131
23132
23133 fi
23134 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23135
23136 ac_ext=cc
23137 ac_cpp='$CXXCPP $CPPFLAGS'
23138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23141
23142
23143 fi
23144 echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23145 echo "${ECHO_T}$wx_cv_cpp_bool" >&6
23146
23147 if test "$wx_cv_cpp_bool" = "yes"; then
23148 cat >>confdefs.h <<\_ACEOF
23149 #define HAVE_BOOL 1
23150 _ACEOF
23151
23152 fi
23153
23154
23155
23156 echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23157 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6
23158 if test "${wx_cv_explicit+set}" = set; then
23159 echo $ECHO_N "(cached) $ECHO_C" >&6
23160 else
23161
23162
23163
23164 ac_ext=cc
23165 ac_cpp='$CXXCPP $CPPFLAGS'
23166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23169
23170
23171 cat >conftest.$ac_ext <<_ACEOF
23172 /* confdefs.h. */
23173 _ACEOF
23174 cat confdefs.h >>conftest.$ac_ext
23175 cat >>conftest.$ac_ext <<_ACEOF
23176 /* end confdefs.h. */
23177
23178 class Foo { public: explicit Foo(int) {} };
23179
23180 int
23181 main ()
23182 {
23183
23184 return 0;
23185
23186 ;
23187 return 0;
23188 }
23189 _ACEOF
23190 rm -f conftest.$ac_objext
23191 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23192 (eval $ac_compile) 2>conftest.er1
23193 ac_status=$?
23194 grep -v '^ *+' conftest.er1 >conftest.err
23195 rm -f conftest.er1
23196 cat conftest.err >&5
23197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23198 (exit $ac_status); } &&
23199 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23201 (eval $ac_try) 2>&5
23202 ac_status=$?
23203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23204 (exit $ac_status); }; } &&
23205 { ac_try='test -s conftest.$ac_objext'
23206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23207 (eval $ac_try) 2>&5
23208 ac_status=$?
23209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23210 (exit $ac_status); }; }; then
23211
23212 cat >conftest.$ac_ext <<_ACEOF
23213 /* confdefs.h. */
23214 _ACEOF
23215 cat confdefs.h >>conftest.$ac_ext
23216 cat >>conftest.$ac_ext <<_ACEOF
23217 /* end confdefs.h. */
23218
23219 class Foo { public: explicit Foo(int) {} };
23220 static void TakeFoo(const Foo& foo) { }
23221
23222 int
23223 main ()
23224 {
23225
23226 TakeFoo(17);
23227 return 0;
23228
23229 ;
23230 return 0;
23231 }
23232 _ACEOF
23233 rm -f conftest.$ac_objext
23234 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23235 (eval $ac_compile) 2>conftest.er1
23236 ac_status=$?
23237 grep -v '^ *+' conftest.er1 >conftest.err
23238 rm -f conftest.er1
23239 cat conftest.err >&5
23240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23241 (exit $ac_status); } &&
23242 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23244 (eval $ac_try) 2>&5
23245 ac_status=$?
23246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23247 (exit $ac_status); }; } &&
23248 { ac_try='test -s conftest.$ac_objext'
23249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23250 (eval $ac_try) 2>&5
23251 ac_status=$?
23252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23253 (exit $ac_status); }; }; then
23254 wx_cv_explicit=no
23255 else
23256 echo "$as_me: failed program was:" >&5
23257 sed 's/^/| /' conftest.$ac_ext >&5
23258
23259 wx_cv_explicit=yes
23260
23261 fi
23262 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23263
23264 else
23265 echo "$as_me: failed program was:" >&5
23266 sed 's/^/| /' conftest.$ac_ext >&5
23267
23268 wx_cv_explicit=no
23269
23270 fi
23271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23272
23273 ac_ext=cc
23274 ac_cpp='$CXXCPP $CPPFLAGS'
23275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23278
23279
23280 fi
23281 echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23282 echo "${ECHO_T}$wx_cv_explicit" >&6
23283
23284 if test "$wx_cv_explicit" = "yes"; then
23285 cat >>confdefs.h <<\_ACEOF
23286 #define HAVE_EXPLICIT 1
23287 _ACEOF
23288
23289 fi
23290
23291
23292 echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23293 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6
23294 if test "${ac_cv_cxx_const_cast+set}" = set; then
23295 echo $ECHO_N "(cached) $ECHO_C" >&6
23296 else
23297
23298
23299 ac_ext=cc
23300 ac_cpp='$CXXCPP $CPPFLAGS'
23301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23304
23305 cat >conftest.$ac_ext <<_ACEOF
23306 /* confdefs.h. */
23307 _ACEOF
23308 cat confdefs.h >>conftest.$ac_ext
23309 cat >>conftest.$ac_ext <<_ACEOF
23310 /* end confdefs.h. */
23311
23312 int
23313 main ()
23314 {
23315 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23316 ;
23317 return 0;
23318 }
23319 _ACEOF
23320 rm -f conftest.$ac_objext
23321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23322 (eval $ac_compile) 2>conftest.er1
23323 ac_status=$?
23324 grep -v '^ *+' conftest.er1 >conftest.err
23325 rm -f conftest.er1
23326 cat conftest.err >&5
23327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23328 (exit $ac_status); } &&
23329 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23331 (eval $ac_try) 2>&5
23332 ac_status=$?
23333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23334 (exit $ac_status); }; } &&
23335 { ac_try='test -s conftest.$ac_objext'
23336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23337 (eval $ac_try) 2>&5
23338 ac_status=$?
23339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23340 (exit $ac_status); }; }; then
23341 ac_cv_cxx_const_cast=yes
23342 else
23343 echo "$as_me: failed program was:" >&5
23344 sed 's/^/| /' conftest.$ac_ext >&5
23345
23346 ac_cv_cxx_const_cast=no
23347 fi
23348 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23349 ac_ext=cc
23350 ac_cpp='$CXXCPP $CPPFLAGS'
23351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23354
23355
23356 fi
23357 echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23358 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6
23359 if test "$ac_cv_cxx_const_cast" = yes; then
23360
23361 cat >>confdefs.h <<\_ACEOF
23362 #define HAVE_CONST_CAST
23363 _ACEOF
23364
23365 fi
23366
23367 echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23368 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6
23369 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23370 echo $ECHO_N "(cached) $ECHO_C" >&6
23371 else
23372
23373
23374 ac_ext=cc
23375 ac_cpp='$CXXCPP $CPPFLAGS'
23376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23379
23380 cat >conftest.$ac_ext <<_ACEOF
23381 /* confdefs.h. */
23382 _ACEOF
23383 cat confdefs.h >>conftest.$ac_ext
23384 cat >>conftest.$ac_ext <<_ACEOF
23385 /* end confdefs.h. */
23386 #include <typeinfo>
23387 class Base { public : Base () {} virtual void f () = 0;};
23388 class Derived : public Base { public : Derived () {} virtual void f () {} };
23389 class Unrelated { public : Unrelated () {} };
23390 int g (Unrelated&) { return 0; }
23391 int
23392 main ()
23393 {
23394
23395 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23396 ;
23397 return 0;
23398 }
23399 _ACEOF
23400 rm -f conftest.$ac_objext
23401 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23402 (eval $ac_compile) 2>conftest.er1
23403 ac_status=$?
23404 grep -v '^ *+' conftest.er1 >conftest.err
23405 rm -f conftest.er1
23406 cat conftest.err >&5
23407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23408 (exit $ac_status); } &&
23409 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23411 (eval $ac_try) 2>&5
23412 ac_status=$?
23413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23414 (exit $ac_status); }; } &&
23415 { ac_try='test -s conftest.$ac_objext'
23416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23417 (eval $ac_try) 2>&5
23418 ac_status=$?
23419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23420 (exit $ac_status); }; }; then
23421 ac_cv_cxx_reinterpret_cast=yes
23422 else
23423 echo "$as_me: failed program was:" >&5
23424 sed 's/^/| /' conftest.$ac_ext >&5
23425
23426 ac_cv_cxx_reinterpret_cast=no
23427 fi
23428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23429 ac_ext=cc
23430 ac_cpp='$CXXCPP $CPPFLAGS'
23431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23434
23435
23436 fi
23437 echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23438 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6
23439 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23440
23441 cat >>confdefs.h <<\_ACEOF
23442 #define HAVE_REINTERPRET_CAST
23443 _ACEOF
23444
23445 fi
23446
23447 echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23448 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6
23449 if test "${ac_cv_cxx_static_cast+set}" = set; then
23450 echo $ECHO_N "(cached) $ECHO_C" >&6
23451 else
23452
23453
23454 ac_ext=cc
23455 ac_cpp='$CXXCPP $CPPFLAGS'
23456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23459
23460 cat >conftest.$ac_ext <<_ACEOF
23461 /* confdefs.h. */
23462 _ACEOF
23463 cat confdefs.h >>conftest.$ac_ext
23464 cat >>conftest.$ac_ext <<_ACEOF
23465 /* end confdefs.h. */
23466 #include <typeinfo>
23467 class Base { public : Base () {} virtual void f () = 0; };
23468 class Derived : public Base { public : Derived () {} virtual void f () {} };
23469 int g (Derived&) { return 0; }
23470 int
23471 main ()
23472 {
23473
23474 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23475 ;
23476 return 0;
23477 }
23478 _ACEOF
23479 rm -f conftest.$ac_objext
23480 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23481 (eval $ac_compile) 2>conftest.er1
23482 ac_status=$?
23483 grep -v '^ *+' conftest.er1 >conftest.err
23484 rm -f conftest.er1
23485 cat conftest.err >&5
23486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23487 (exit $ac_status); } &&
23488 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23490 (eval $ac_try) 2>&5
23491 ac_status=$?
23492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23493 (exit $ac_status); }; } &&
23494 { ac_try='test -s conftest.$ac_objext'
23495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23496 (eval $ac_try) 2>&5
23497 ac_status=$?
23498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23499 (exit $ac_status); }; }; then
23500 ac_cv_cxx_static_cast=yes
23501 else
23502 echo "$as_me: failed program was:" >&5
23503 sed 's/^/| /' conftest.$ac_ext >&5
23504
23505 ac_cv_cxx_static_cast=no
23506 fi
23507 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23508 ac_ext=cc
23509 ac_cpp='$CXXCPP $CPPFLAGS'
23510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23513
23514
23515 fi
23516 echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23517 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6
23518 if test "$ac_cv_cxx_static_cast" = yes; then
23519
23520 cat >>confdefs.h <<\_ACEOF
23521 #define HAVE_STATIC_CAST
23522 _ACEOF
23523
23524 fi
23525
23526
23527 if test "x$SUNCXX" = xyes; then
23528 CXXFLAGS="-features=tmplife $CXXFLAGS"
23529 fi
23530
23531 if test "x$SUNCC" = xyes; then
23532 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23533 fi
23534
23535 if test "x$SGICC" = "xyes"; then
23536 CFLAGS="-woff 3970 $CFLAGS"
23537 fi
23538 if test "x$SGICXX" = "xyes"; then
23539 CXXFLAGS="-woff 3970 $CXXFLAGS"
23540 fi
23541
23542 if test "x$HPCC" = "xyes"; then
23543 CFLAGS="+W 2011,2450 $CFLAGS"
23544 fi
23545 if test "x$HPCXX" = "xyes"; then
23546 CXXFLAGS="+W 2340 $CXXFLAGS"
23547 fi
23548
23549 if test "x$COMPAQCXX" = "xyes"; then
23550 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23551 fi
23552
23553 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23554 if test "$wxUSE_UNICODE" = "yes"; then
23555 std_string="std::wstring"
23556 char_type="wchar_t"
23557 else
23558 std_string="std::string"
23559 char_type="char"
23560 fi
23561
23562 echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23563 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6
23564 cat >conftest.$ac_ext <<_ACEOF
23565 /* confdefs.h. */
23566 _ACEOF
23567 cat confdefs.h >>conftest.$ac_ext
23568 cat >>conftest.$ac_ext <<_ACEOF
23569 /* end confdefs.h. */
23570 #include <string>
23571 int
23572 main ()
23573 {
23574 $std_string foo;
23575 ;
23576 return 0;
23577 }
23578 _ACEOF
23579 rm -f conftest.$ac_objext
23580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23581 (eval $ac_compile) 2>conftest.er1
23582 ac_status=$?
23583 grep -v '^ *+' conftest.er1 >conftest.err
23584 rm -f conftest.er1
23585 cat conftest.err >&5
23586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23587 (exit $ac_status); } &&
23588 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23590 (eval $ac_try) 2>&5
23591 ac_status=$?
23592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23593 (exit $ac_status); }; } &&
23594 { ac_try='test -s conftest.$ac_objext'
23595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23596 (eval $ac_try) 2>&5
23597 ac_status=$?
23598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23599 (exit $ac_status); }; }; then
23600 echo "$as_me:$LINENO: result: yes" >&5
23601 echo "${ECHO_T}yes" >&6
23602 cat >>confdefs.h <<\_ACEOF
23603 #define HAVE_STD_WSTRING 1
23604 _ACEOF
23605
23606 else
23607 echo "$as_me: failed program was:" >&5
23608 sed 's/^/| /' conftest.$ac_ext >&5
23609
23610 echo "$as_me:$LINENO: result: no" >&5
23611 echo "${ECHO_T}no" >&6
23612 echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23613 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6
23614 cat >conftest.$ac_ext <<_ACEOF
23615 /* confdefs.h. */
23616 _ACEOF
23617 cat confdefs.h >>conftest.$ac_ext
23618 cat >>conftest.$ac_ext <<_ACEOF
23619 /* end confdefs.h. */
23620
23621 #ifdef HAVE_WCHAR_H
23622 # ifdef __CYGWIN__
23623 # include <stddef.h>
23624 # endif
23625 # include <wchar.h>
23626 #endif
23627 #ifdef HAVE_STDLIB_H
23628 # include <stdlib.h>
23629 #endif
23630 #include <stdio.h>
23631 #include <string>
23632
23633 int
23634 main ()
23635 {
23636 std::basic_string<$char_type> foo;
23637 const $char_type* dummy = foo.c_str();
23638 ;
23639 return 0;
23640 }
23641 _ACEOF
23642 rm -f conftest.$ac_objext
23643 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23644 (eval $ac_compile) 2>conftest.er1
23645 ac_status=$?
23646 grep -v '^ *+' conftest.er1 >conftest.err
23647 rm -f conftest.er1
23648 cat conftest.err >&5
23649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23650 (exit $ac_status); } &&
23651 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23653 (eval $ac_try) 2>&5
23654 ac_status=$?
23655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23656 (exit $ac_status); }; } &&
23657 { ac_try='test -s conftest.$ac_objext'
23658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23659 (eval $ac_try) 2>&5
23660 ac_status=$?
23661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23662 (exit $ac_status); }; }; then
23663 echo "$as_me:$LINENO: result: yes" >&5
23664 echo "${ECHO_T}yes" >&6
23665 else
23666 echo "$as_me: failed program was:" >&5
23667 sed 's/^/| /' conftest.$ac_ext >&5
23668
23669 echo "$as_me:$LINENO: result: no" >&5
23670 echo "${ECHO_T}no" >&6
23671 if test "$wxUSE_STL" = "yes"; then
23672 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23673 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23674 { (exit 1); exit 1; }; }
23675 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23676 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23677 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23678 { (exit 1); exit 1; }; }
23679 else
23680 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23681 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23682 wxUSE_STD_STRING=no
23683 fi
23684
23685
23686 fi
23687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23688
23689 fi
23690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23691 fi
23692
23693 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23694 echo "$as_me:$LINENO: checking for std::istream" >&5
23695 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6
23696 if test "${ac_cv_type_std__istream+set}" = set; then
23697 echo $ECHO_N "(cached) $ECHO_C" >&6
23698 else
23699 cat >conftest.$ac_ext <<_ACEOF
23700 /* confdefs.h. */
23701 _ACEOF
23702 cat confdefs.h >>conftest.$ac_ext
23703 cat >>conftest.$ac_ext <<_ACEOF
23704 /* end confdefs.h. */
23705 #include <iostream>
23706
23707 int
23708 main ()
23709 {
23710 if ((std::istream *) 0)
23711 return 0;
23712 if (sizeof (std::istream))
23713 return 0;
23714 ;
23715 return 0;
23716 }
23717 _ACEOF
23718 rm -f conftest.$ac_objext
23719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23720 (eval $ac_compile) 2>conftest.er1
23721 ac_status=$?
23722 grep -v '^ *+' conftest.er1 >conftest.err
23723 rm -f conftest.er1
23724 cat conftest.err >&5
23725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23726 (exit $ac_status); } &&
23727 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23729 (eval $ac_try) 2>&5
23730 ac_status=$?
23731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23732 (exit $ac_status); }; } &&
23733 { ac_try='test -s conftest.$ac_objext'
23734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23735 (eval $ac_try) 2>&5
23736 ac_status=$?
23737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23738 (exit $ac_status); }; }; then
23739 ac_cv_type_std__istream=yes
23740 else
23741 echo "$as_me: failed program was:" >&5
23742 sed 's/^/| /' conftest.$ac_ext >&5
23743
23744 ac_cv_type_std__istream=no
23745 fi
23746 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23747 fi
23748 echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23749 echo "${ECHO_T}$ac_cv_type_std__istream" >&6
23750 if test $ac_cv_type_std__istream = yes; then
23751
23752 cat >>confdefs.h <<_ACEOF
23753 #define HAVE_STD__ISTREAM 1
23754 _ACEOF
23755
23756
23757 else
23758 wxUSE_STD_IOSTREAM=no
23759 fi
23760 echo "$as_me:$LINENO: checking for std::ostream" >&5
23761 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6
23762 if test "${ac_cv_type_std__ostream+set}" = set; then
23763 echo $ECHO_N "(cached) $ECHO_C" >&6
23764 else
23765 cat >conftest.$ac_ext <<_ACEOF
23766 /* confdefs.h. */
23767 _ACEOF
23768 cat confdefs.h >>conftest.$ac_ext
23769 cat >>conftest.$ac_ext <<_ACEOF
23770 /* end confdefs.h. */
23771 #include <iostream>
23772
23773 int
23774 main ()
23775 {
23776 if ((std::ostream *) 0)
23777 return 0;
23778 if (sizeof (std::ostream))
23779 return 0;
23780 ;
23781 return 0;
23782 }
23783 _ACEOF
23784 rm -f conftest.$ac_objext
23785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23786 (eval $ac_compile) 2>conftest.er1
23787 ac_status=$?
23788 grep -v '^ *+' conftest.er1 >conftest.err
23789 rm -f conftest.er1
23790 cat conftest.err >&5
23791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23792 (exit $ac_status); } &&
23793 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23795 (eval $ac_try) 2>&5
23796 ac_status=$?
23797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23798 (exit $ac_status); }; } &&
23799 { ac_try='test -s conftest.$ac_objext'
23800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23801 (eval $ac_try) 2>&5
23802 ac_status=$?
23803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23804 (exit $ac_status); }; }; then
23805 ac_cv_type_std__ostream=yes
23806 else
23807 echo "$as_me: failed program was:" >&5
23808 sed 's/^/| /' conftest.$ac_ext >&5
23809
23810 ac_cv_type_std__ostream=no
23811 fi
23812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23813 fi
23814 echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23815 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6
23816 if test $ac_cv_type_std__ostream = yes; then
23817
23818 cat >>confdefs.h <<_ACEOF
23819 #define HAVE_STD__OSTREAM 1
23820 _ACEOF
23821
23822
23823 else
23824 wxUSE_STD_IOSTREAM=no
23825 fi
23826
23827
23828 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23829 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23830 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23831 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23832 { (exit 1); exit 1; }; }
23833 else
23834 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23835 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23836 fi
23837 fi
23838 fi
23839
23840 if test "$wxUSE_STL" = "yes"; then
23841 echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23842 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6
23843 cat >conftest.$ac_ext <<_ACEOF
23844 /* confdefs.h. */
23845 _ACEOF
23846 cat confdefs.h >>conftest.$ac_ext
23847 cat >>conftest.$ac_ext <<_ACEOF
23848 /* end confdefs.h. */
23849 #include <string>
23850 #include <functional>
23851 #include <algorithm>
23852 #include <vector>
23853 #include <list>
23854 int
23855 main ()
23856 {
23857 std::vector<int> moo;
23858 std::list<int> foo;
23859 std::vector<int>::iterator it =
23860 std::find_if(moo.begin(), moo.end(),
23861 std::bind2nd(std::less<int>(), 3));
23862 ;
23863 return 0;
23864 }
23865 _ACEOF
23866 rm -f conftest.$ac_objext
23867 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23868 (eval $ac_compile) 2>conftest.er1
23869 ac_status=$?
23870 grep -v '^ *+' conftest.er1 >conftest.err
23871 rm -f conftest.er1
23872 cat conftest.err >&5
23873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23874 (exit $ac_status); } &&
23875 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23877 (eval $ac_try) 2>&5
23878 ac_status=$?
23879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23880 (exit $ac_status); }; } &&
23881 { ac_try='test -s conftest.$ac_objext'
23882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23883 (eval $ac_try) 2>&5
23884 ac_status=$?
23885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23886 (exit $ac_status); }; }; then
23887 echo "$as_me:$LINENO: result: yes" >&5
23888 echo "${ECHO_T}yes" >&6
23889 else
23890 echo "$as_me: failed program was:" >&5
23891 sed 's/^/| /' conftest.$ac_ext >&5
23892
23893 echo "$as_me:$LINENO: result: no" >&5
23894 echo "${ECHO_T}no" >&6
23895 { { echo "$as_me:$LINENO: error: Basic STL functionality missing" >&5
23896 echo "$as_me: error: Basic STL functionality missing" >&2;}
23897 { (exit 1); exit 1; }; }
23898 fi
23899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23900
23901 echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23902 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6
23903 cat >conftest.$ac_ext <<_ACEOF
23904 /* confdefs.h. */
23905 _ACEOF
23906 cat confdefs.h >>conftest.$ac_ext
23907 cat >>conftest.$ac_ext <<_ACEOF
23908 /* end confdefs.h. */
23909 #include <string>
23910 int
23911 main ()
23912 {
23913 std::string foo, bar;
23914 foo.compare(bar);
23915 foo.compare(1, 1, bar);
23916 foo.compare(1, 1, bar, 1, 1);
23917 foo.compare("");
23918 foo.compare(1, 1, "");
23919 foo.compare(1, 1, "", 2);
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_STRING_COMPARE 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 fi
23958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23959
23960 if test "${ac_cv_header_hash_map+set}" = set; then
23961 echo "$as_me:$LINENO: checking for hash_map" >&5
23962 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
23963 if test "${ac_cv_header_hash_map+set}" = set; then
23964 echo $ECHO_N "(cached) $ECHO_C" >&6
23965 fi
23966 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23967 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
23968 else
23969 # Is the header compilable?
23970 echo "$as_me:$LINENO: checking hash_map usability" >&5
23971 echo $ECHO_N "checking hash_map usability... $ECHO_C" >&6
23972 cat >conftest.$ac_ext <<_ACEOF
23973 /* confdefs.h. */
23974 _ACEOF
23975 cat confdefs.h >>conftest.$ac_ext
23976 cat >>conftest.$ac_ext <<_ACEOF
23977 /* end confdefs.h. */
23978 $ac_includes_default
23979 #include <hash_map>
23980 _ACEOF
23981 rm -f conftest.$ac_objext
23982 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23983 (eval $ac_compile) 2>conftest.er1
23984 ac_status=$?
23985 grep -v '^ *+' conftest.er1 >conftest.err
23986 rm -f conftest.er1
23987 cat conftest.err >&5
23988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23989 (exit $ac_status); } &&
23990 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
23991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23992 (eval $ac_try) 2>&5
23993 ac_status=$?
23994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23995 (exit $ac_status); }; } &&
23996 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
24002 ac_header_compiler=yes
24003 else
24004 echo "$as_me: failed program was:" >&5
24005 sed 's/^/| /' conftest.$ac_ext >&5
24006
24007 ac_header_compiler=no
24008 fi
24009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24010 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24011 echo "${ECHO_T}$ac_header_compiler" >&6
24012
24013 # Is the header present?
24014 echo "$as_me:$LINENO: checking hash_map presence" >&5
24015 echo $ECHO_N "checking hash_map presence... $ECHO_C" >&6
24016 cat >conftest.$ac_ext <<_ACEOF
24017 /* confdefs.h. */
24018 _ACEOF
24019 cat confdefs.h >>conftest.$ac_ext
24020 cat >>conftest.$ac_ext <<_ACEOF
24021 /* end confdefs.h. */
24022 #include <hash_map>
24023 _ACEOF
24024 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24025 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24026 ac_status=$?
24027 grep -v '^ *+' conftest.er1 >conftest.err
24028 rm -f conftest.er1
24029 cat conftest.err >&5
24030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24031 (exit $ac_status); } >/dev/null; then
24032 if test -s conftest.err; then
24033 ac_cpp_err=$ac_cxx_preproc_warn_flag
24034 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24035 else
24036 ac_cpp_err=
24037 fi
24038 else
24039 ac_cpp_err=yes
24040 fi
24041 if test -z "$ac_cpp_err"; then
24042 ac_header_preproc=yes
24043 else
24044 echo "$as_me: failed program was:" >&5
24045 sed 's/^/| /' conftest.$ac_ext >&5
24046
24047 ac_header_preproc=no
24048 fi
24049 rm -f conftest.err conftest.$ac_ext
24050 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24051 echo "${ECHO_T}$ac_header_preproc" >&6
24052
24053 # So? What about this header?
24054 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24055 yes:no: )
24056 { echo "$as_me:$LINENO: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24057 echo "$as_me: WARNING: hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24058 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the compiler's result" >&5
24059 echo "$as_me: WARNING: hash_map: proceeding with the compiler's result" >&2;}
24060 ac_header_preproc=yes
24061 ;;
24062 no:yes:* )
24063 { echo "$as_me:$LINENO: WARNING: hash_map: present but cannot be compiled" >&5
24064 echo "$as_me: WARNING: hash_map: present but cannot be compiled" >&2;}
24065 { echo "$as_me:$LINENO: WARNING: hash_map: check for missing prerequisite headers?" >&5
24066 echo "$as_me: WARNING: hash_map: check for missing prerequisite headers?" >&2;}
24067 { echo "$as_me:$LINENO: WARNING: hash_map: see the Autoconf documentation" >&5
24068 echo "$as_me: WARNING: hash_map: see the Autoconf documentation" >&2;}
24069 { echo "$as_me:$LINENO: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&5
24070 echo "$as_me: WARNING: hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24071 { echo "$as_me:$LINENO: WARNING: hash_map: proceeding with the preprocessor's result" >&5
24072 echo "$as_me: WARNING: hash_map: proceeding with the preprocessor's result" >&2;}
24073 { echo "$as_me:$LINENO: WARNING: hash_map: in the future, the compiler will take precedence" >&5
24074 echo "$as_me: WARNING: hash_map: in the future, the compiler will take precedence" >&2;}
24075 (
24076 cat <<\_ASBOX
24077 ## ----------------------------------------- ##
24078 ## Report this to wx-dev@lists.wxwidgets.org ##
24079 ## ----------------------------------------- ##
24080 _ASBOX
24081 ) |
24082 sed "s/^/$as_me: WARNING: /" >&2
24083 ;;
24084 esac
24085 echo "$as_me:$LINENO: checking for hash_map" >&5
24086 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6
24087 if test "${ac_cv_header_hash_map+set}" = set; then
24088 echo $ECHO_N "(cached) $ECHO_C" >&6
24089 else
24090 ac_cv_header_hash_map=$ac_header_preproc
24091 fi
24092 echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24093 echo "${ECHO_T}$ac_cv_header_hash_map" >&6
24094
24095 fi
24096 if test $ac_cv_header_hash_map = yes; then
24097 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24098 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24099 cat >conftest.$ac_ext <<_ACEOF
24100 /* confdefs.h. */
24101 _ACEOF
24102 cat confdefs.h >>conftest.$ac_ext
24103 cat >>conftest.$ac_ext <<_ACEOF
24104 /* end confdefs.h. */
24105 #include <hash_map>
24106 #include <hash_set>
24107 int
24108 main ()
24109 {
24110 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24111 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24112 ;
24113 return 0;
24114 }
24115 _ACEOF
24116 rm -f conftest.$ac_objext
24117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24118 (eval $ac_compile) 2>conftest.er1
24119 ac_status=$?
24120 grep -v '^ *+' conftest.er1 >conftest.err
24121 rm -f conftest.er1
24122 cat conftest.err >&5
24123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24124 (exit $ac_status); } &&
24125 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24127 (eval $ac_try) 2>&5
24128 ac_status=$?
24129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24130 (exit $ac_status); }; } &&
24131 { ac_try='test -s conftest.$ac_objext'
24132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24133 (eval $ac_try) 2>&5
24134 ac_status=$?
24135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24136 (exit $ac_status); }; }; then
24137 echo "$as_me:$LINENO: result: yes" >&5
24138 echo "${ECHO_T}yes" >&6
24139 cat >>confdefs.h <<\_ACEOF
24140 #define HAVE_HASH_MAP 1
24141 _ACEOF
24142
24143 cat >>confdefs.h <<\_ACEOF
24144 #define HAVE_STD_HASH_MAP 1
24145 _ACEOF
24146
24147 else
24148 echo "$as_me: failed program was:" >&5
24149 sed 's/^/| /' conftest.$ac_ext >&5
24150
24151 echo "$as_me:$LINENO: result: no" >&5
24152 echo "${ECHO_T}no" >&6
24153 fi
24154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24155
24156 fi
24157
24158
24159
24160 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24161 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24162 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24163 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24164 echo $ECHO_N "(cached) $ECHO_C" >&6
24165 fi
24166 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24167 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24168 else
24169 # Is the header compilable?
24170 echo "$as_me:$LINENO: checking ext/hash_map usability" >&5
24171 echo $ECHO_N "checking ext/hash_map usability... $ECHO_C" >&6
24172 cat >conftest.$ac_ext <<_ACEOF
24173 /* confdefs.h. */
24174 _ACEOF
24175 cat confdefs.h >>conftest.$ac_ext
24176 cat >>conftest.$ac_ext <<_ACEOF
24177 /* end confdefs.h. */
24178 $ac_includes_default
24179 #include <ext/hash_map>
24180 _ACEOF
24181 rm -f conftest.$ac_objext
24182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24183 (eval $ac_compile) 2>conftest.er1
24184 ac_status=$?
24185 grep -v '^ *+' conftest.er1 >conftest.err
24186 rm -f conftest.er1
24187 cat conftest.err >&5
24188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24189 (exit $ac_status); } &&
24190 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24192 (eval $ac_try) 2>&5
24193 ac_status=$?
24194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24195 (exit $ac_status); }; } &&
24196 { ac_try='test -s conftest.$ac_objext'
24197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24198 (eval $ac_try) 2>&5
24199 ac_status=$?
24200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24201 (exit $ac_status); }; }; then
24202 ac_header_compiler=yes
24203 else
24204 echo "$as_me: failed program was:" >&5
24205 sed 's/^/| /' conftest.$ac_ext >&5
24206
24207 ac_header_compiler=no
24208 fi
24209 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24210 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
24211 echo "${ECHO_T}$ac_header_compiler" >&6
24212
24213 # Is the header present?
24214 echo "$as_me:$LINENO: checking ext/hash_map presence" >&5
24215 echo $ECHO_N "checking ext/hash_map presence... $ECHO_C" >&6
24216 cat >conftest.$ac_ext <<_ACEOF
24217 /* confdefs.h. */
24218 _ACEOF
24219 cat confdefs.h >>conftest.$ac_ext
24220 cat >>conftest.$ac_ext <<_ACEOF
24221 /* end confdefs.h. */
24222 #include <ext/hash_map>
24223 _ACEOF
24224 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
24225 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
24226 ac_status=$?
24227 grep -v '^ *+' conftest.er1 >conftest.err
24228 rm -f conftest.er1
24229 cat conftest.err >&5
24230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24231 (exit $ac_status); } >/dev/null; then
24232 if test -s conftest.err; then
24233 ac_cpp_err=$ac_cxx_preproc_warn_flag
24234 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
24235 else
24236 ac_cpp_err=
24237 fi
24238 else
24239 ac_cpp_err=yes
24240 fi
24241 if test -z "$ac_cpp_err"; then
24242 ac_header_preproc=yes
24243 else
24244 echo "$as_me: failed program was:" >&5
24245 sed 's/^/| /' conftest.$ac_ext >&5
24246
24247 ac_header_preproc=no
24248 fi
24249 rm -f conftest.err conftest.$ac_ext
24250 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
24251 echo "${ECHO_T}$ac_header_preproc" >&6
24252
24253 # So? What about this header?
24254 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
24255 yes:no: )
24256 { echo "$as_me:$LINENO: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&5
24257 echo "$as_me: WARNING: ext/hash_map: accepted by the compiler, rejected by the preprocessor!" >&2;}
24258 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the compiler's result" >&5
24259 echo "$as_me: WARNING: ext/hash_map: proceeding with the compiler's result" >&2;}
24260 ac_header_preproc=yes
24261 ;;
24262 no:yes:* )
24263 { echo "$as_me:$LINENO: WARNING: ext/hash_map: present but cannot be compiled" >&5
24264 echo "$as_me: WARNING: ext/hash_map: present but cannot be compiled" >&2;}
24265 { echo "$as_me:$LINENO: WARNING: ext/hash_map: check for missing prerequisite headers?" >&5
24266 echo "$as_me: WARNING: ext/hash_map: check for missing prerequisite headers?" >&2;}
24267 { echo "$as_me:$LINENO: WARNING: ext/hash_map: see the Autoconf documentation" >&5
24268 echo "$as_me: WARNING: ext/hash_map: see the Autoconf documentation" >&2;}
24269 { echo "$as_me:$LINENO: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&5
24270 echo "$as_me: WARNING: ext/hash_map: section \"Present But Cannot Be Compiled\"" >&2;}
24271 { echo "$as_me:$LINENO: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&5
24272 echo "$as_me: WARNING: ext/hash_map: proceeding with the preprocessor's result" >&2;}
24273 { echo "$as_me:$LINENO: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&5
24274 echo "$as_me: WARNING: ext/hash_map: in the future, the compiler will take precedence" >&2;}
24275 (
24276 cat <<\_ASBOX
24277 ## ----------------------------------------- ##
24278 ## Report this to wx-dev@lists.wxwidgets.org ##
24279 ## ----------------------------------------- ##
24280 _ASBOX
24281 ) |
24282 sed "s/^/$as_me: WARNING: /" >&2
24283 ;;
24284 esac
24285 echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24286 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6
24287 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24288 echo $ECHO_N "(cached) $ECHO_C" >&6
24289 else
24290 ac_cv_header_ext_hash_map=$ac_header_preproc
24291 fi
24292 echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24293 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6
24294
24295 fi
24296 if test $ac_cv_header_ext_hash_map = yes; then
24297 echo "$as_me:$LINENO: checking for hash_map and hash_set" >&5
24298 echo $ECHO_N "checking for hash_map and hash_set... $ECHO_C" >&6
24299 cat >conftest.$ac_ext <<_ACEOF
24300 /* confdefs.h. */
24301 _ACEOF
24302 cat confdefs.h >>conftest.$ac_ext
24303 cat >>conftest.$ac_ext <<_ACEOF
24304 /* end confdefs.h. */
24305 #include <ext/hash_map>
24306 #include <ext/hash_set>
24307 int
24308 main ()
24309 {
24310 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24311 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24312 ;
24313 return 0;
24314 }
24315 _ACEOF
24316 rm -f conftest.$ac_objext
24317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24318 (eval $ac_compile) 2>conftest.er1
24319 ac_status=$?
24320 grep -v '^ *+' conftest.er1 >conftest.err
24321 rm -f conftest.er1
24322 cat conftest.err >&5
24323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24324 (exit $ac_status); } &&
24325 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24327 (eval $ac_try) 2>&5
24328 ac_status=$?
24329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24330 (exit $ac_status); }; } &&
24331 { ac_try='test -s conftest.$ac_objext'
24332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24333 (eval $ac_try) 2>&5
24334 ac_status=$?
24335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24336 (exit $ac_status); }; }; then
24337 echo "$as_me:$LINENO: result: yes" >&5
24338 echo "${ECHO_T}yes" >&6
24339 cat >>confdefs.h <<\_ACEOF
24340 #define HAVE_EXT_HASH_MAP 1
24341 _ACEOF
24342
24343 cat >>confdefs.h <<\_ACEOF
24344 #define HAVE_GNU_CXX_HASH_MAP 1
24345 _ACEOF
24346
24347 else
24348 echo "$as_me: failed program was:" >&5
24349 sed 's/^/| /' conftest.$ac_ext >&5
24350
24351 echo "$as_me:$LINENO: result: no" >&5
24352 echo "${ECHO_T}no" >&6
24353 fi
24354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24355
24356 fi
24357
24358
24359 fi
24360
24361
24362 SEARCH_INCLUDE="\
24363 /usr/local/include \
24364 \
24365 /usr/Motif-2.1/include \
24366 /usr/Motif-1.2/include \
24367 /usr/include/Motif1.2 \
24368 \
24369 /usr/dt/include \
24370 /usr/openwin/include \
24371 \
24372 /usr/include/Xm \
24373 \
24374 /usr/X11R6/include \
24375 /usr/X11R6.4/include \
24376 /usr/X11R5/include \
24377 /usr/X11R4/include \
24378 \
24379 /usr/include/X11R6 \
24380 /usr/include/X11R5 \
24381 /usr/include/X11R4 \
24382 \
24383 /usr/local/X11R6/include \
24384 /usr/local/X11R5/include \
24385 /usr/local/X11R4/include \
24386 \
24387 /usr/local/include/X11R6 \
24388 /usr/local/include/X11R5 \
24389 /usr/local/include/X11R4 \
24390 \
24391 /usr/X11/include \
24392 /usr/include/X11 \
24393 /usr/local/X11/include \
24394 /usr/local/include/X11 \
24395 \
24396 /usr/XFree86/include/X11 \
24397 /usr/pkg/include \
24398 \
24399 /usr/openwin/share/include"
24400
24401 echo "$as_me:$LINENO: checking for libraries directory" >&5
24402 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6
24403
24404 case "${host}" in
24405 *-*-irix6* )
24406 if test "${wx_cv_std_libpath+set}" = set; then
24407 echo $ECHO_N "(cached) $ECHO_C" >&6
24408 else
24409
24410 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24411 for e in a so sl dylib dll.a; do
24412 libc="$d/libc.$e"
24413 if test -f $libc; then
24414 save_LIBS="$LIBS"
24415 LIBS="$libc"
24416 cat >conftest.$ac_ext <<_ACEOF
24417 int main() { return 0; }
24418 _ACEOF
24419 rm -f conftest.$ac_objext conftest$ac_exeext
24420 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24421 (eval $ac_link) 2>conftest.er1
24422 ac_status=$?
24423 grep -v '^ *+' conftest.er1 >conftest.err
24424 rm -f conftest.er1
24425 cat conftest.err >&5
24426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24427 (exit $ac_status); } &&
24428 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24430 (eval $ac_try) 2>&5
24431 ac_status=$?
24432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24433 (exit $ac_status); }; } &&
24434 { ac_try='test -s conftest$ac_exeext'
24435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24436 (eval $ac_try) 2>&5
24437 ac_status=$?
24438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24439 (exit $ac_status); }; }; then
24440 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24441 else
24442 echo "$as_me: failed program was:" >&5
24443 sed 's/^/| /' conftest.$ac_ext >&5
24444
24445 fi
24446 rm -f conftest.err conftest.$ac_objext \
24447 conftest$ac_exeext conftest.$ac_ext
24448 LIBS="$save_LIBS"
24449 if test "x$wx_cv_std_libpath" != "x"; then
24450 break 2
24451 fi
24452 fi
24453 done
24454 done
24455 if test "x$wx_cv_std_libpath" = "x"; then
24456 wx_cv_std_libpath="lib"
24457 fi
24458
24459
24460 fi
24461
24462 ;;
24463
24464 *-*-solaris2* )
24465 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24466 wx_cv_std_libpath="lib/64"
24467 else
24468 wx_cv_std_libpath="lib"
24469 fi
24470 ;;
24471
24472 *-*-linux* )
24473 if test "$ac_cv_sizeof_void_p" = 8 -a \
24474 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24475 wx_cv_std_libpath="lib64"
24476 else
24477 wx_cv_std_libpath="lib"
24478 fi
24479 ;;
24480
24481 *)
24482 wx_cv_std_libpath="lib";
24483 ;;
24484 esac
24485
24486 echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24487 echo "${ECHO_T}$wx_cv_std_libpath" >&6
24488
24489 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24490
24491 if test "$build" != "$host" -a "$GCC" = yes; then
24492 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24493 cross_root=`dirname $cross_root`
24494 cross_root=`dirname $cross_root`
24495
24496 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24497 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24498 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24499
24500 if test -z "$PKG_CONFIG_PATH"; then
24501 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24502 export PKG_CONFIG_PATH
24503 fi
24504
24505 if test -z "$x_includes" -o "$x_includes" = NONE; then
24506
24507 ac_find_includes=
24508 for ac_dir in $SEARCH_INCLUDE /usr/include;
24509 do
24510 if test -f "$ac_dir/X11/Intrinsic.h"; then
24511 ac_find_includes=$ac_dir
24512 break
24513 fi
24514 done
24515
24516 x_includes=$ac_find_includes
24517 fi
24518 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24519
24520 ac_find_libraries=
24521 for ac_dir in $SEARCH_LIB;
24522 do
24523 for ac_extension in a so sl dylib dll.a; do
24524 if test -f "$ac_dir/libXt.$ac_extension"; then
24525 ac_find_libraries=$ac_dir
24526 break 2
24527 fi
24528 done
24529 done
24530
24531 x_libraries=$ac_find_libraries
24532 fi
24533 fi
24534 fi
24535
24536
24537 cat >confcache <<\_ACEOF
24538 # This file is a shell script that caches the results of configure
24539 # tests run on this system so they can be shared between configure
24540 # scripts and configure runs, see configure's option --config-cache.
24541 # It is not useful on other systems. If it contains results you don't
24542 # want to keep, you may remove or edit it.
24543 #
24544 # config.status only pays attention to the cache file if you give it
24545 # the --recheck option to rerun configure.
24546 #
24547 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24548 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24549 # following values.
24550
24551 _ACEOF
24552
24553 # The following way of writing the cache mishandles newlines in values,
24554 # but we know of no workaround that is simple, portable, and efficient.
24555 # So, don't put newlines in cache variables' values.
24556 # Ultrix sh set writes to stderr and can't be redirected directly,
24557 # and sets the high bit in the cache file unless we assign to the vars.
24558 {
24559 (set) 2>&1 |
24560 case `(ac_space=' '; set | grep ac_space) 2>&1` in
24561 *ac_space=\ *)
24562 # `set' does not quote correctly, so add quotes (double-quote
24563 # substitution turns \\\\ into \\, and sed turns \\ into \).
24564 sed -n \
24565 "s/'/'\\\\''/g;
24566 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24567 ;;
24568 *)
24569 # `set' quotes correctly as required by POSIX, so do not add quotes.
24570 sed -n \
24571 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
24572 ;;
24573 esac;
24574 } |
24575 sed '
24576 t clear
24577 : clear
24578 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24579 t end
24580 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24581 : end' >>confcache
24582 if diff $cache_file confcache >/dev/null 2>&1; then :; else
24583 if test -w $cache_file; then
24584 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
24585 cat confcache >$cache_file
24586 else
24587 echo "not updating unwritable cache $cache_file"
24588 fi
24589 fi
24590 rm -f confcache
24591
24592 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24593 echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24594 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6
24595 if test "${wx_cv_lib_glibc21+set}" = set; then
24596 echo $ECHO_N "(cached) $ECHO_C" >&6
24597 else
24598
24599 cat >conftest.$ac_ext <<_ACEOF
24600 /* confdefs.h. */
24601 _ACEOF
24602 cat confdefs.h >>conftest.$ac_ext
24603 cat >>conftest.$ac_ext <<_ACEOF
24604 /* end confdefs.h. */
24605 #include <features.h>
24606 int
24607 main ()
24608 {
24609
24610 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24611 not glibc 2.1
24612 #endif
24613
24614 ;
24615 return 0;
24616 }
24617 _ACEOF
24618 rm -f conftest.$ac_objext
24619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24620 (eval $ac_compile) 2>conftest.er1
24621 ac_status=$?
24622 grep -v '^ *+' conftest.er1 >conftest.err
24623 rm -f conftest.er1
24624 cat conftest.err >&5
24625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24626 (exit $ac_status); } &&
24627 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24629 (eval $ac_try) 2>&5
24630 ac_status=$?
24631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24632 (exit $ac_status); }; } &&
24633 { ac_try='test -s conftest.$ac_objext'
24634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24635 (eval $ac_try) 2>&5
24636 ac_status=$?
24637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24638 (exit $ac_status); }; }; then
24639
24640 wx_cv_lib_glibc21=yes
24641
24642 else
24643 echo "$as_me: failed program was:" >&5
24644 sed 's/^/| /' conftest.$ac_ext >&5
24645
24646
24647 wx_cv_lib_glibc21=no
24648
24649
24650 fi
24651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24652
24653 fi
24654 echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24655 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6
24656 if test "$wx_cv_lib_glibc21" = "yes"; then
24657 cat >>confdefs.h <<\_ACEOF
24658 #define wxHAVE_GLIBC2 1
24659 _ACEOF
24660
24661 fi
24662 fi
24663
24664 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24665 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24666 cat >>confdefs.h <<\_ACEOF
24667 #define _GNU_SOURCE 1
24668 _ACEOF
24669
24670 fi
24671 fi
24672
24673 have_cos=0
24674 have_floor=0
24675
24676 for ac_func in cos
24677 do
24678 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24679 echo "$as_me:$LINENO: checking for $ac_func" >&5
24680 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24681 if eval "test \"\${$as_ac_var+set}\" = set"; then
24682 echo $ECHO_N "(cached) $ECHO_C" >&6
24683 else
24684 cat >conftest.$ac_ext <<_ACEOF
24685 /* confdefs.h. */
24686 _ACEOF
24687 cat confdefs.h >>conftest.$ac_ext
24688 cat >>conftest.$ac_ext <<_ACEOF
24689 /* end confdefs.h. */
24690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24692 #define $ac_func innocuous_$ac_func
24693
24694 /* System header to define __stub macros and hopefully few prototypes,
24695 which can conflict with char $ac_func (); below.
24696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24697 <limits.h> exists even on freestanding compilers. */
24698
24699 #ifdef __STDC__
24700 # include <limits.h>
24701 #else
24702 # include <assert.h>
24703 #endif
24704
24705 #undef $ac_func
24706
24707 /* Override any gcc2 internal prototype to avoid an error. */
24708 #ifdef __cplusplus
24709 extern "C"
24710 {
24711 #endif
24712 /* We use char because int might match the return type of a gcc2
24713 builtin and then its argument prototype would still apply. */
24714 char $ac_func ();
24715 /* The GNU C library defines this for functions which it implements
24716 to always fail with ENOSYS. Some functions are actually named
24717 something starting with __ and the normal name is an alias. */
24718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24719 choke me
24720 #else
24721 char (*f) () = $ac_func;
24722 #endif
24723 #ifdef __cplusplus
24724 }
24725 #endif
24726
24727 int
24728 main ()
24729 {
24730 return f != $ac_func;
24731 ;
24732 return 0;
24733 }
24734 _ACEOF
24735 rm -f conftest.$ac_objext conftest$ac_exeext
24736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24737 (eval $ac_link) 2>conftest.er1
24738 ac_status=$?
24739 grep -v '^ *+' conftest.er1 >conftest.err
24740 rm -f conftest.er1
24741 cat conftest.err >&5
24742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24743 (exit $ac_status); } &&
24744 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24746 (eval $ac_try) 2>&5
24747 ac_status=$?
24748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24749 (exit $ac_status); }; } &&
24750 { ac_try='test -s conftest$ac_exeext'
24751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24752 (eval $ac_try) 2>&5
24753 ac_status=$?
24754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24755 (exit $ac_status); }; }; then
24756 eval "$as_ac_var=yes"
24757 else
24758 echo "$as_me: failed program was:" >&5
24759 sed 's/^/| /' conftest.$ac_ext >&5
24760
24761 eval "$as_ac_var=no"
24762 fi
24763 rm -f conftest.err conftest.$ac_objext \
24764 conftest$ac_exeext conftest.$ac_ext
24765 fi
24766 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24767 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24768 if test `eval echo '${'$as_ac_var'}'` = yes; then
24769 cat >>confdefs.h <<_ACEOF
24770 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24771 _ACEOF
24772 have_cos=1
24773 fi
24774 done
24775
24776
24777 for ac_func in floor
24778 do
24779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24780 echo "$as_me:$LINENO: checking for $ac_func" >&5
24781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24782 if eval "test \"\${$as_ac_var+set}\" = set"; then
24783 echo $ECHO_N "(cached) $ECHO_C" >&6
24784 else
24785 cat >conftest.$ac_ext <<_ACEOF
24786 /* confdefs.h. */
24787 _ACEOF
24788 cat confdefs.h >>conftest.$ac_ext
24789 cat >>conftest.$ac_ext <<_ACEOF
24790 /* end confdefs.h. */
24791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24793 #define $ac_func innocuous_$ac_func
24794
24795 /* System header to define __stub macros and hopefully few prototypes,
24796 which can conflict with char $ac_func (); below.
24797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24798 <limits.h> exists even on freestanding compilers. */
24799
24800 #ifdef __STDC__
24801 # include <limits.h>
24802 #else
24803 # include <assert.h>
24804 #endif
24805
24806 #undef $ac_func
24807
24808 /* Override any gcc2 internal prototype to avoid an error. */
24809 #ifdef __cplusplus
24810 extern "C"
24811 {
24812 #endif
24813 /* We use char because int might match the return type of a gcc2
24814 builtin and then its argument prototype would still apply. */
24815 char $ac_func ();
24816 /* The GNU C library defines this for functions which it implements
24817 to always fail with ENOSYS. Some functions are actually named
24818 something starting with __ and the normal name is an alias. */
24819 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24820 choke me
24821 #else
24822 char (*f) () = $ac_func;
24823 #endif
24824 #ifdef __cplusplus
24825 }
24826 #endif
24827
24828 int
24829 main ()
24830 {
24831 return f != $ac_func;
24832 ;
24833 return 0;
24834 }
24835 _ACEOF
24836 rm -f conftest.$ac_objext conftest$ac_exeext
24837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24838 (eval $ac_link) 2>conftest.er1
24839 ac_status=$?
24840 grep -v '^ *+' conftest.er1 >conftest.err
24841 rm -f conftest.er1
24842 cat conftest.err >&5
24843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24844 (exit $ac_status); } &&
24845 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24847 (eval $ac_try) 2>&5
24848 ac_status=$?
24849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24850 (exit $ac_status); }; } &&
24851 { ac_try='test -s conftest$ac_exeext'
24852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24853 (eval $ac_try) 2>&5
24854 ac_status=$?
24855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24856 (exit $ac_status); }; }; then
24857 eval "$as_ac_var=yes"
24858 else
24859 echo "$as_me: failed program was:" >&5
24860 sed 's/^/| /' conftest.$ac_ext >&5
24861
24862 eval "$as_ac_var=no"
24863 fi
24864 rm -f conftest.err conftest.$ac_objext \
24865 conftest$ac_exeext conftest.$ac_ext
24866 fi
24867 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24868 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24869 if test `eval echo '${'$as_ac_var'}'` = yes; then
24870 cat >>confdefs.h <<_ACEOF
24871 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24872 _ACEOF
24873 have_floor=1
24874 fi
24875 done
24876
24877 echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24878 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6
24879 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24880 echo "$as_me:$LINENO: result: yes" >&5
24881 echo "${ECHO_T}yes" >&6
24882 else
24883 echo "$as_me:$LINENO: result: no" >&5
24884 echo "${ECHO_T}no" >&6
24885 LIBS="$LIBS -lm"
24886 # use different functions to avoid configure caching
24887 have_sin=0
24888 have_ceil=0
24889
24890 for ac_func in sin
24891 do
24892 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24893 echo "$as_me:$LINENO: checking for $ac_func" >&5
24894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24895 if eval "test \"\${$as_ac_var+set}\" = set"; then
24896 echo $ECHO_N "(cached) $ECHO_C" >&6
24897 else
24898 cat >conftest.$ac_ext <<_ACEOF
24899 /* confdefs.h. */
24900 _ACEOF
24901 cat confdefs.h >>conftest.$ac_ext
24902 cat >>conftest.$ac_ext <<_ACEOF
24903 /* end confdefs.h. */
24904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24906 #define $ac_func innocuous_$ac_func
24907
24908 /* System header to define __stub macros and hopefully few prototypes,
24909 which can conflict with char $ac_func (); below.
24910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24911 <limits.h> exists even on freestanding compilers. */
24912
24913 #ifdef __STDC__
24914 # include <limits.h>
24915 #else
24916 # include <assert.h>
24917 #endif
24918
24919 #undef $ac_func
24920
24921 /* Override any gcc2 internal prototype to avoid an error. */
24922 #ifdef __cplusplus
24923 extern "C"
24924 {
24925 #endif
24926 /* We use char because int might match the return type of a gcc2
24927 builtin and then its argument prototype would still apply. */
24928 char $ac_func ();
24929 /* The GNU C library defines this for functions which it implements
24930 to always fail with ENOSYS. Some functions are actually named
24931 something starting with __ and the normal name is an alias. */
24932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24933 choke me
24934 #else
24935 char (*f) () = $ac_func;
24936 #endif
24937 #ifdef __cplusplus
24938 }
24939 #endif
24940
24941 int
24942 main ()
24943 {
24944 return f != $ac_func;
24945 ;
24946 return 0;
24947 }
24948 _ACEOF
24949 rm -f conftest.$ac_objext conftest$ac_exeext
24950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24951 (eval $ac_link) 2>conftest.er1
24952 ac_status=$?
24953 grep -v '^ *+' conftest.er1 >conftest.err
24954 rm -f conftest.er1
24955 cat conftest.err >&5
24956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24957 (exit $ac_status); } &&
24958 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
24959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24960 (eval $ac_try) 2>&5
24961 ac_status=$?
24962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24963 (exit $ac_status); }; } &&
24964 { ac_try='test -s conftest$ac_exeext'
24965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24966 (eval $ac_try) 2>&5
24967 ac_status=$?
24968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24969 (exit $ac_status); }; }; then
24970 eval "$as_ac_var=yes"
24971 else
24972 echo "$as_me: failed program was:" >&5
24973 sed 's/^/| /' conftest.$ac_ext >&5
24974
24975 eval "$as_ac_var=no"
24976 fi
24977 rm -f conftest.err conftest.$ac_objext \
24978 conftest$ac_exeext conftest.$ac_ext
24979 fi
24980 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24981 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24982 if test `eval echo '${'$as_ac_var'}'` = yes; then
24983 cat >>confdefs.h <<_ACEOF
24984 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24985 _ACEOF
24986 have_sin=1
24987 fi
24988 done
24989
24990
24991 for ac_func in ceil
24992 do
24993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24994 echo "$as_me:$LINENO: checking for $ac_func" >&5
24995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24996 if eval "test \"\${$as_ac_var+set}\" = set"; then
24997 echo $ECHO_N "(cached) $ECHO_C" >&6
24998 else
24999 cat >conftest.$ac_ext <<_ACEOF
25000 /* confdefs.h. */
25001 _ACEOF
25002 cat confdefs.h >>conftest.$ac_ext
25003 cat >>conftest.$ac_ext <<_ACEOF
25004 /* end confdefs.h. */
25005 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25007 #define $ac_func innocuous_$ac_func
25008
25009 /* System header to define __stub macros and hopefully few prototypes,
25010 which can conflict with char $ac_func (); below.
25011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25012 <limits.h> exists even on freestanding compilers. */
25013
25014 #ifdef __STDC__
25015 # include <limits.h>
25016 #else
25017 # include <assert.h>
25018 #endif
25019
25020 #undef $ac_func
25021
25022 /* Override any gcc2 internal prototype to avoid an error. */
25023 #ifdef __cplusplus
25024 extern "C"
25025 {
25026 #endif
25027 /* We use char because int might match the return type of a gcc2
25028 builtin and then its argument prototype would still apply. */
25029 char $ac_func ();
25030 /* The GNU C library defines this for functions which it implements
25031 to always fail with ENOSYS. Some functions are actually named
25032 something starting with __ and the normal name is an alias. */
25033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25034 choke me
25035 #else
25036 char (*f) () = $ac_func;
25037 #endif
25038 #ifdef __cplusplus
25039 }
25040 #endif
25041
25042 int
25043 main ()
25044 {
25045 return f != $ac_func;
25046 ;
25047 return 0;
25048 }
25049 _ACEOF
25050 rm -f conftest.$ac_objext conftest$ac_exeext
25051 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25052 (eval $ac_link) 2>conftest.er1
25053 ac_status=$?
25054 grep -v '^ *+' conftest.er1 >conftest.err
25055 rm -f conftest.er1
25056 cat conftest.err >&5
25057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25058 (exit $ac_status); } &&
25059 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25061 (eval $ac_try) 2>&5
25062 ac_status=$?
25063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25064 (exit $ac_status); }; } &&
25065 { ac_try='test -s conftest$ac_exeext'
25066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25067 (eval $ac_try) 2>&5
25068 ac_status=$?
25069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25070 (exit $ac_status); }; }; then
25071 eval "$as_ac_var=yes"
25072 else
25073 echo "$as_me: failed program was:" >&5
25074 sed 's/^/| /' conftest.$ac_ext >&5
25075
25076 eval "$as_ac_var=no"
25077 fi
25078 rm -f conftest.err conftest.$ac_objext \
25079 conftest$ac_exeext conftest.$ac_ext
25080 fi
25081 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25082 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25083 if test `eval echo '${'$as_ac_var'}'` = yes; then
25084 cat >>confdefs.h <<_ACEOF
25085 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25086 _ACEOF
25087 have_ceil=1
25088 fi
25089 done
25090
25091 echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25092 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6
25093 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25094 echo "$as_me:$LINENO: result: yes" >&5
25095 echo "${ECHO_T}yes" >&6
25096 else
25097 echo "$as_me:$LINENO: result: no" >&5
25098 echo "${ECHO_T}no" >&6
25099 # not sure we should warn the user, crash, etc.
25100 fi
25101 fi
25102
25103
25104
25105 if test "$wxUSE_REGEX" != "no"; then
25106 cat >>confdefs.h <<\_ACEOF
25107 #define wxUSE_REGEX 1
25108 _ACEOF
25109
25110
25111 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25112 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25113 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25114 wxUSE_REGEX=builtin
25115 fi
25116
25117 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25118 if test "${ac_cv_header_regex_h+set}" = set; then
25119 echo "$as_me:$LINENO: checking for regex.h" >&5
25120 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25121 if test "${ac_cv_header_regex_h+set}" = set; then
25122 echo $ECHO_N "(cached) $ECHO_C" >&6
25123 fi
25124 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25125 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25126 else
25127 # Is the header compilable?
25128 echo "$as_me:$LINENO: checking regex.h usability" >&5
25129 echo $ECHO_N "checking regex.h usability... $ECHO_C" >&6
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 $ac_includes_default
25137 #include <regex.h>
25138 _ACEOF
25139 rm -f conftest.$ac_objext
25140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25141 (eval $ac_compile) 2>conftest.er1
25142 ac_status=$?
25143 grep -v '^ *+' conftest.er1 >conftest.err
25144 rm -f conftest.er1
25145 cat conftest.err >&5
25146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25147 (exit $ac_status); } &&
25148 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25150 (eval $ac_try) 2>&5
25151 ac_status=$?
25152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25153 (exit $ac_status); }; } &&
25154 { ac_try='test -s conftest.$ac_objext'
25155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25156 (eval $ac_try) 2>&5
25157 ac_status=$?
25158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25159 (exit $ac_status); }; }; then
25160 ac_header_compiler=yes
25161 else
25162 echo "$as_me: failed program was:" >&5
25163 sed 's/^/| /' conftest.$ac_ext >&5
25164
25165 ac_header_compiler=no
25166 fi
25167 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25168 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25169 echo "${ECHO_T}$ac_header_compiler" >&6
25170
25171 # Is the header present?
25172 echo "$as_me:$LINENO: checking regex.h presence" >&5
25173 echo $ECHO_N "checking regex.h presence... $ECHO_C" >&6
25174 cat >conftest.$ac_ext <<_ACEOF
25175 /* confdefs.h. */
25176 _ACEOF
25177 cat confdefs.h >>conftest.$ac_ext
25178 cat >>conftest.$ac_ext <<_ACEOF
25179 /* end confdefs.h. */
25180 #include <regex.h>
25181 _ACEOF
25182 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25183 (eval $ac_cpp conftest.$ac_ext) 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); } >/dev/null; then
25190 if test -s conftest.err; then
25191 ac_cpp_err=$ac_cxx_preproc_warn_flag
25192 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25193 else
25194 ac_cpp_err=
25195 fi
25196 else
25197 ac_cpp_err=yes
25198 fi
25199 if test -z "$ac_cpp_err"; then
25200 ac_header_preproc=yes
25201 else
25202 echo "$as_me: failed program was:" >&5
25203 sed 's/^/| /' conftest.$ac_ext >&5
25204
25205 ac_header_preproc=no
25206 fi
25207 rm -f conftest.err conftest.$ac_ext
25208 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25209 echo "${ECHO_T}$ac_header_preproc" >&6
25210
25211 # So? What about this header?
25212 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25213 yes:no: )
25214 { echo "$as_me:$LINENO: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&5
25215 echo "$as_me: WARNING: regex.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25216 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the compiler's result" >&5
25217 echo "$as_me: WARNING: regex.h: proceeding with the compiler's result" >&2;}
25218 ac_header_preproc=yes
25219 ;;
25220 no:yes:* )
25221 { echo "$as_me:$LINENO: WARNING: regex.h: present but cannot be compiled" >&5
25222 echo "$as_me: WARNING: regex.h: present but cannot be compiled" >&2;}
25223 { echo "$as_me:$LINENO: WARNING: regex.h: check for missing prerequisite headers?" >&5
25224 echo "$as_me: WARNING: regex.h: check for missing prerequisite headers?" >&2;}
25225 { echo "$as_me:$LINENO: WARNING: regex.h: see the Autoconf documentation" >&5
25226 echo "$as_me: WARNING: regex.h: see the Autoconf documentation" >&2;}
25227 { echo "$as_me:$LINENO: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&5
25228 echo "$as_me: WARNING: regex.h: section \"Present But Cannot Be Compiled\"" >&2;}
25229 { echo "$as_me:$LINENO: WARNING: regex.h: proceeding with the preprocessor's result" >&5
25230 echo "$as_me: WARNING: regex.h: proceeding with the preprocessor's result" >&2;}
25231 { echo "$as_me:$LINENO: WARNING: regex.h: in the future, the compiler will take precedence" >&5
25232 echo "$as_me: WARNING: regex.h: in the future, the compiler will take precedence" >&2;}
25233 (
25234 cat <<\_ASBOX
25235 ## ----------------------------------------- ##
25236 ## Report this to wx-dev@lists.wxwidgets.org ##
25237 ## ----------------------------------------- ##
25238 _ASBOX
25239 ) |
25240 sed "s/^/$as_me: WARNING: /" >&2
25241 ;;
25242 esac
25243 echo "$as_me:$LINENO: checking for regex.h" >&5
25244 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6
25245 if test "${ac_cv_header_regex_h+set}" = set; then
25246 echo $ECHO_N "(cached) $ECHO_C" >&6
25247 else
25248 ac_cv_header_regex_h=$ac_header_preproc
25249 fi
25250 echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25251 echo "${ECHO_T}$ac_cv_header_regex_h" >&6
25252
25253 fi
25254 if test $ac_cv_header_regex_h = yes; then
25255
25256
25257 for ac_func in regcomp re_search
25258 do
25259 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25260 echo "$as_me:$LINENO: checking for $ac_func" >&5
25261 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25262 if eval "test \"\${$as_ac_var+set}\" = set"; then
25263 echo $ECHO_N "(cached) $ECHO_C" >&6
25264 else
25265 cat >conftest.$ac_ext <<_ACEOF
25266 /* confdefs.h. */
25267 _ACEOF
25268 cat confdefs.h >>conftest.$ac_ext
25269 cat >>conftest.$ac_ext <<_ACEOF
25270 /* end confdefs.h. */
25271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25273 #define $ac_func innocuous_$ac_func
25274
25275 /* System header to define __stub macros and hopefully few prototypes,
25276 which can conflict with char $ac_func (); below.
25277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25278 <limits.h> exists even on freestanding compilers. */
25279
25280 #ifdef __STDC__
25281 # include <limits.h>
25282 #else
25283 # include <assert.h>
25284 #endif
25285
25286 #undef $ac_func
25287
25288 /* Override any gcc2 internal prototype to avoid an error. */
25289 #ifdef __cplusplus
25290 extern "C"
25291 {
25292 #endif
25293 /* We use char because int might match the return type of a gcc2
25294 builtin and then its argument prototype would still apply. */
25295 char $ac_func ();
25296 /* The GNU C library defines this for functions which it implements
25297 to always fail with ENOSYS. Some functions are actually named
25298 something starting with __ and the normal name is an alias. */
25299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25300 choke me
25301 #else
25302 char (*f) () = $ac_func;
25303 #endif
25304 #ifdef __cplusplus
25305 }
25306 #endif
25307
25308 int
25309 main ()
25310 {
25311 return f != $ac_func;
25312 ;
25313 return 0;
25314 }
25315 _ACEOF
25316 rm -f conftest.$ac_objext conftest$ac_exeext
25317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25318 (eval $ac_link) 2>conftest.er1
25319 ac_status=$?
25320 grep -v '^ *+' conftest.er1 >conftest.err
25321 rm -f conftest.er1
25322 cat conftest.err >&5
25323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25324 (exit $ac_status); } &&
25325 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25327 (eval $ac_try) 2>&5
25328 ac_status=$?
25329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25330 (exit $ac_status); }; } &&
25331 { ac_try='test -s conftest$ac_exeext'
25332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25333 (eval $ac_try) 2>&5
25334 ac_status=$?
25335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25336 (exit $ac_status); }; }; then
25337 eval "$as_ac_var=yes"
25338 else
25339 echo "$as_me: failed program was:" >&5
25340 sed 's/^/| /' conftest.$ac_ext >&5
25341
25342 eval "$as_ac_var=no"
25343 fi
25344 rm -f conftest.err conftest.$ac_objext \
25345 conftest$ac_exeext conftest.$ac_ext
25346 fi
25347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25349 if test `eval echo '${'$as_ac_var'}'` = yes; then
25350 cat >>confdefs.h <<_ACEOF
25351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25352 _ACEOF
25353
25354 fi
25355 done
25356
25357 fi
25358
25359
25360
25361 if test "x$ac_cv_func_regcomp" != "xyes"; then
25362 if test "$wxUSE_REGEX" = "sys" ; then
25363 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25364 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25365 { (exit 1); exit 1; }; }
25366 else
25367 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25368 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25369 wxUSE_REGEX=builtin
25370 fi
25371 else
25372 wxUSE_REGEX=sys
25373 cat >>confdefs.h <<\_ACEOF
25374 #define WX_NO_REGEX_ADVANCED 1
25375 _ACEOF
25376
25377 fi
25378 fi
25379 fi
25380
25381
25382 ZLIB_LINK=
25383 if test "$wxUSE_ZLIB" != "no" ; then
25384 cat >>confdefs.h <<\_ACEOF
25385 #define wxUSE_ZLIB 1
25386 _ACEOF
25387
25388
25389 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25390 if test "$USE_DARWIN" = 1; then
25391 system_zlib_h_ok="yes"
25392 else
25393 echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25394 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6
25395 if test "${ac_cv_header_zlib_h+set}" = set; then
25396 echo $ECHO_N "(cached) $ECHO_C" >&6
25397 else
25398 if test "$cross_compiling" = yes; then
25399 unset ac_cv_header_zlib_h
25400
25401 else
25402 cat >conftest.$ac_ext <<_ACEOF
25403 /* confdefs.h. */
25404 _ACEOF
25405 cat confdefs.h >>conftest.$ac_ext
25406 cat >>conftest.$ac_ext <<_ACEOF
25407 /* end confdefs.h. */
25408
25409 #include <zlib.h>
25410 #include <stdio.h>
25411
25412 int main()
25413 {
25414 FILE *f=fopen("conftestval", "w");
25415 if (!f) exit(1);
25416 fprintf(f, "%s",
25417 ZLIB_VERSION[0] == '1' &&
25418 (ZLIB_VERSION[2] > '1' ||
25419 (ZLIB_VERSION[2] == '1' &&
25420 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25421 exit(0);
25422 }
25423
25424 _ACEOF
25425 rm -f conftest$ac_exeext
25426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25427 (eval $ac_link) 2>&5
25428 ac_status=$?
25429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25430 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25432 (eval $ac_try) 2>&5
25433 ac_status=$?
25434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25435 (exit $ac_status); }; }; then
25436 ac_cv_header_zlib_h=`cat conftestval`
25437 else
25438 echo "$as_me: program exited with status $ac_status" >&5
25439 echo "$as_me: failed program was:" >&5
25440 sed 's/^/| /' conftest.$ac_ext >&5
25441
25442 ( exit $ac_status )
25443 ac_cv_header_zlib_h=no
25444 fi
25445 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25446 fi
25447
25448 fi
25449 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25450 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25451 if test "${ac_cv_header_zlib_h+set}" = set; then
25452 echo "$as_me:$LINENO: checking for zlib.h" >&5
25453 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25454 if test "${ac_cv_header_zlib_h+set}" = set; then
25455 echo $ECHO_N "(cached) $ECHO_C" >&6
25456 fi
25457 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25458 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25459 else
25460 # Is the header compilable?
25461 echo "$as_me:$LINENO: checking zlib.h usability" >&5
25462 echo $ECHO_N "checking zlib.h usability... $ECHO_C" >&6
25463 cat >conftest.$ac_ext <<_ACEOF
25464 /* confdefs.h. */
25465 _ACEOF
25466 cat confdefs.h >>conftest.$ac_ext
25467 cat >>conftest.$ac_ext <<_ACEOF
25468 /* end confdefs.h. */
25469 $ac_includes_default
25470 #include <zlib.h>
25471 _ACEOF
25472 rm -f conftest.$ac_objext
25473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25474 (eval $ac_compile) 2>conftest.er1
25475 ac_status=$?
25476 grep -v '^ *+' conftest.er1 >conftest.err
25477 rm -f conftest.er1
25478 cat conftest.err >&5
25479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25480 (exit $ac_status); } &&
25481 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25483 (eval $ac_try) 2>&5
25484 ac_status=$?
25485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25486 (exit $ac_status); }; } &&
25487 { ac_try='test -s conftest.$ac_objext'
25488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25489 (eval $ac_try) 2>&5
25490 ac_status=$?
25491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25492 (exit $ac_status); }; }; then
25493 ac_header_compiler=yes
25494 else
25495 echo "$as_me: failed program was:" >&5
25496 sed 's/^/| /' conftest.$ac_ext >&5
25497
25498 ac_header_compiler=no
25499 fi
25500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25501 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25502 echo "${ECHO_T}$ac_header_compiler" >&6
25503
25504 # Is the header present?
25505 echo "$as_me:$LINENO: checking zlib.h presence" >&5
25506 echo $ECHO_N "checking zlib.h presence... $ECHO_C" >&6
25507 cat >conftest.$ac_ext <<_ACEOF
25508 /* confdefs.h. */
25509 _ACEOF
25510 cat confdefs.h >>conftest.$ac_ext
25511 cat >>conftest.$ac_ext <<_ACEOF
25512 /* end confdefs.h. */
25513 #include <zlib.h>
25514 _ACEOF
25515 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25516 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25517 ac_status=$?
25518 grep -v '^ *+' conftest.er1 >conftest.err
25519 rm -f conftest.er1
25520 cat conftest.err >&5
25521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25522 (exit $ac_status); } >/dev/null; then
25523 if test -s conftest.err; then
25524 ac_cpp_err=$ac_cxx_preproc_warn_flag
25525 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25526 else
25527 ac_cpp_err=
25528 fi
25529 else
25530 ac_cpp_err=yes
25531 fi
25532 if test -z "$ac_cpp_err"; then
25533 ac_header_preproc=yes
25534 else
25535 echo "$as_me: failed program was:" >&5
25536 sed 's/^/| /' conftest.$ac_ext >&5
25537
25538 ac_header_preproc=no
25539 fi
25540 rm -f conftest.err conftest.$ac_ext
25541 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25542 echo "${ECHO_T}$ac_header_preproc" >&6
25543
25544 # So? What about this header?
25545 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25546 yes:no: )
25547 { echo "$as_me:$LINENO: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&5
25548 echo "$as_me: WARNING: zlib.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25549 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the compiler's result" >&5
25550 echo "$as_me: WARNING: zlib.h: proceeding with the compiler's result" >&2;}
25551 ac_header_preproc=yes
25552 ;;
25553 no:yes:* )
25554 { echo "$as_me:$LINENO: WARNING: zlib.h: present but cannot be compiled" >&5
25555 echo "$as_me: WARNING: zlib.h: present but cannot be compiled" >&2;}
25556 { echo "$as_me:$LINENO: WARNING: zlib.h: check for missing prerequisite headers?" >&5
25557 echo "$as_me: WARNING: zlib.h: check for missing prerequisite headers?" >&2;}
25558 { echo "$as_me:$LINENO: WARNING: zlib.h: see the Autoconf documentation" >&5
25559 echo "$as_me: WARNING: zlib.h: see the Autoconf documentation" >&2;}
25560 { echo "$as_me:$LINENO: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&5
25561 echo "$as_me: WARNING: zlib.h: section \"Present But Cannot Be Compiled\"" >&2;}
25562 { echo "$as_me:$LINENO: WARNING: zlib.h: proceeding with the preprocessor's result" >&5
25563 echo "$as_me: WARNING: zlib.h: proceeding with the preprocessor's result" >&2;}
25564 { echo "$as_me:$LINENO: WARNING: zlib.h: in the future, the compiler will take precedence" >&5
25565 echo "$as_me: WARNING: zlib.h: in the future, the compiler will take precedence" >&2;}
25566 (
25567 cat <<\_ASBOX
25568 ## ----------------------------------------- ##
25569 ## Report this to wx-dev@lists.wxwidgets.org ##
25570 ## ----------------------------------------- ##
25571 _ASBOX
25572 ) |
25573 sed "s/^/$as_me: WARNING: /" >&2
25574 ;;
25575 esac
25576 echo "$as_me:$LINENO: checking for zlib.h" >&5
25577 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6
25578 if test "${ac_cv_header_zlib_h+set}" = set; then
25579 echo $ECHO_N "(cached) $ECHO_C" >&6
25580 else
25581 ac_cv_header_zlib_h=$ac_header_preproc
25582 fi
25583 echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25584 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6
25585
25586 fi
25587
25588
25589
25590 system_zlib_h_ok=$ac_cv_header_zlib_h
25591 fi
25592
25593 if test "$system_zlib_h_ok" = "yes"; then
25594 echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25595 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6
25596 if test "${ac_cv_lib_z_deflate+set}" = set; then
25597 echo $ECHO_N "(cached) $ECHO_C" >&6
25598 else
25599 ac_check_lib_save_LIBS=$LIBS
25600 LIBS="-lz $LIBS"
25601 cat >conftest.$ac_ext <<_ACEOF
25602 /* confdefs.h. */
25603 _ACEOF
25604 cat confdefs.h >>conftest.$ac_ext
25605 cat >>conftest.$ac_ext <<_ACEOF
25606 /* end confdefs.h. */
25607
25608 /* Override any gcc2 internal prototype to avoid an error. */
25609 #ifdef __cplusplus
25610 extern "C"
25611 #endif
25612 /* We use char because int might match the return type of a gcc2
25613 builtin and then its argument prototype would still apply. */
25614 char deflate ();
25615 int
25616 main ()
25617 {
25618 deflate ();
25619 ;
25620 return 0;
25621 }
25622 _ACEOF
25623 rm -f conftest.$ac_objext conftest$ac_exeext
25624 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25625 (eval $ac_link) 2>conftest.er1
25626 ac_status=$?
25627 grep -v '^ *+' conftest.er1 >conftest.err
25628 rm -f conftest.er1
25629 cat conftest.err >&5
25630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25631 (exit $ac_status); } &&
25632 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25634 (eval $ac_try) 2>&5
25635 ac_status=$?
25636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25637 (exit $ac_status); }; } &&
25638 { ac_try='test -s conftest$ac_exeext'
25639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25640 (eval $ac_try) 2>&5
25641 ac_status=$?
25642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25643 (exit $ac_status); }; }; then
25644 ac_cv_lib_z_deflate=yes
25645 else
25646 echo "$as_me: failed program was:" >&5
25647 sed 's/^/| /' conftest.$ac_ext >&5
25648
25649 ac_cv_lib_z_deflate=no
25650 fi
25651 rm -f conftest.err conftest.$ac_objext \
25652 conftest$ac_exeext conftest.$ac_ext
25653 LIBS=$ac_check_lib_save_LIBS
25654 fi
25655 echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25656 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6
25657 if test $ac_cv_lib_z_deflate = yes; then
25658 ZLIB_LINK=" -lz"
25659 fi
25660
25661 fi
25662
25663 if test "x$ZLIB_LINK" = "x" ; then
25664 if test "$wxUSE_ZLIB" = "sys" ; then
25665 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25666 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25667 { (exit 1); exit 1; }; }
25668 else
25669 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25670 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25671 wxUSE_ZLIB=builtin
25672 fi
25673 else
25674 wxUSE_ZLIB=sys
25675 fi
25676 fi
25677 fi
25678
25679
25680 PNG_LINK=
25681 if test "$wxUSE_LIBPNG" != "no" ; then
25682 cat >>confdefs.h <<\_ACEOF
25683 #define wxUSE_LIBPNG 1
25684 _ACEOF
25685
25686
25687 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25688 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25689 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25690 wxUSE_LIBPNG=sys
25691 fi
25692
25693 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25694 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25695 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25696 wxUSE_LIBPNG=builtin
25697 fi
25698
25699 if test "$wxUSE_MGL" != 1 ; then
25700 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25701 echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25702 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6
25703 if test "${ac_cv_header_png_h+set}" = set; then
25704 echo $ECHO_N "(cached) $ECHO_C" >&6
25705 else
25706 if test "$cross_compiling" = yes; then
25707 unset ac_cv_header_png_h
25708
25709 else
25710 cat >conftest.$ac_ext <<_ACEOF
25711 /* confdefs.h. */
25712 _ACEOF
25713 cat confdefs.h >>conftest.$ac_ext
25714 cat >>conftest.$ac_ext <<_ACEOF
25715 /* end confdefs.h. */
25716
25717 #include <png.h>
25718 #include <stdio.h>
25719
25720 int main()
25721 {
25722 FILE *f=fopen("conftestval", "w");
25723 if (!f) exit(1);
25724 fprintf(f, "%s",
25725 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25726 exit(0);
25727 }
25728
25729 _ACEOF
25730 rm -f conftest$ac_exeext
25731 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25732 (eval $ac_link) 2>&5
25733 ac_status=$?
25734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25735 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25737 (eval $ac_try) 2>&5
25738 ac_status=$?
25739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25740 (exit $ac_status); }; }; then
25741 ac_cv_header_png_h=`cat conftestval`
25742 else
25743 echo "$as_me: program exited with status $ac_status" >&5
25744 echo "$as_me: failed program was:" >&5
25745 sed 's/^/| /' conftest.$ac_ext >&5
25746
25747 ( exit $ac_status )
25748 ac_cv_header_png_h=no
25749 fi
25750 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25751 fi
25752
25753 fi
25754 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25755 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25756 if test "${ac_cv_header_png_h+set}" = set; then
25757 echo "$as_me:$LINENO: checking for png.h" >&5
25758 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25759 if test "${ac_cv_header_png_h+set}" = set; then
25760 echo $ECHO_N "(cached) $ECHO_C" >&6
25761 fi
25762 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25763 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25764 else
25765 # Is the header compilable?
25766 echo "$as_me:$LINENO: checking png.h usability" >&5
25767 echo $ECHO_N "checking png.h usability... $ECHO_C" >&6
25768 cat >conftest.$ac_ext <<_ACEOF
25769 /* confdefs.h. */
25770 _ACEOF
25771 cat confdefs.h >>conftest.$ac_ext
25772 cat >>conftest.$ac_ext <<_ACEOF
25773 /* end confdefs.h. */
25774 $ac_includes_default
25775 #include <png.h>
25776 _ACEOF
25777 rm -f conftest.$ac_objext
25778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25779 (eval $ac_compile) 2>conftest.er1
25780 ac_status=$?
25781 grep -v '^ *+' conftest.er1 >conftest.err
25782 rm -f conftest.er1
25783 cat conftest.err >&5
25784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25785 (exit $ac_status); } &&
25786 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25788 (eval $ac_try) 2>&5
25789 ac_status=$?
25790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25791 (exit $ac_status); }; } &&
25792 { ac_try='test -s conftest.$ac_objext'
25793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25794 (eval $ac_try) 2>&5
25795 ac_status=$?
25796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25797 (exit $ac_status); }; }; then
25798 ac_header_compiler=yes
25799 else
25800 echo "$as_me: failed program was:" >&5
25801 sed 's/^/| /' conftest.$ac_ext >&5
25802
25803 ac_header_compiler=no
25804 fi
25805 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25806 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
25807 echo "${ECHO_T}$ac_header_compiler" >&6
25808
25809 # Is the header present?
25810 echo "$as_me:$LINENO: checking png.h presence" >&5
25811 echo $ECHO_N "checking png.h presence... $ECHO_C" >&6
25812 cat >conftest.$ac_ext <<_ACEOF
25813 /* confdefs.h. */
25814 _ACEOF
25815 cat confdefs.h >>conftest.$ac_ext
25816 cat >>conftest.$ac_ext <<_ACEOF
25817 /* end confdefs.h. */
25818 #include <png.h>
25819 _ACEOF
25820 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
25821 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
25822 ac_status=$?
25823 grep -v '^ *+' conftest.er1 >conftest.err
25824 rm -f conftest.er1
25825 cat conftest.err >&5
25826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25827 (exit $ac_status); } >/dev/null; then
25828 if test -s conftest.err; then
25829 ac_cpp_err=$ac_cxx_preproc_warn_flag
25830 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
25831 else
25832 ac_cpp_err=
25833 fi
25834 else
25835 ac_cpp_err=yes
25836 fi
25837 if test -z "$ac_cpp_err"; then
25838 ac_header_preproc=yes
25839 else
25840 echo "$as_me: failed program was:" >&5
25841 sed 's/^/| /' conftest.$ac_ext >&5
25842
25843 ac_header_preproc=no
25844 fi
25845 rm -f conftest.err conftest.$ac_ext
25846 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
25847 echo "${ECHO_T}$ac_header_preproc" >&6
25848
25849 # So? What about this header?
25850 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
25851 yes:no: )
25852 { echo "$as_me:$LINENO: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&5
25853 echo "$as_me: WARNING: png.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
25854 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the compiler's result" >&5
25855 echo "$as_me: WARNING: png.h: proceeding with the compiler's result" >&2;}
25856 ac_header_preproc=yes
25857 ;;
25858 no:yes:* )
25859 { echo "$as_me:$LINENO: WARNING: png.h: present but cannot be compiled" >&5
25860 echo "$as_me: WARNING: png.h: present but cannot be compiled" >&2;}
25861 { echo "$as_me:$LINENO: WARNING: png.h: check for missing prerequisite headers?" >&5
25862 echo "$as_me: WARNING: png.h: check for missing prerequisite headers?" >&2;}
25863 { echo "$as_me:$LINENO: WARNING: png.h: see the Autoconf documentation" >&5
25864 echo "$as_me: WARNING: png.h: see the Autoconf documentation" >&2;}
25865 { echo "$as_me:$LINENO: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&5
25866 echo "$as_me: WARNING: png.h: section \"Present But Cannot Be Compiled\"" >&2;}
25867 { echo "$as_me:$LINENO: WARNING: png.h: proceeding with the preprocessor's result" >&5
25868 echo "$as_me: WARNING: png.h: proceeding with the preprocessor's result" >&2;}
25869 { echo "$as_me:$LINENO: WARNING: png.h: in the future, the compiler will take precedence" >&5
25870 echo "$as_me: WARNING: png.h: in the future, the compiler will take precedence" >&2;}
25871 (
25872 cat <<\_ASBOX
25873 ## ----------------------------------------- ##
25874 ## Report this to wx-dev@lists.wxwidgets.org ##
25875 ## ----------------------------------------- ##
25876 _ASBOX
25877 ) |
25878 sed "s/^/$as_me: WARNING: /" >&2
25879 ;;
25880 esac
25881 echo "$as_me:$LINENO: checking for png.h" >&5
25882 echo $ECHO_N "checking for png.h... $ECHO_C" >&6
25883 if test "${ac_cv_header_png_h+set}" = set; then
25884 echo $ECHO_N "(cached) $ECHO_C" >&6
25885 else
25886 ac_cv_header_png_h=$ac_header_preproc
25887 fi
25888 echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25889 echo "${ECHO_T}$ac_cv_header_png_h" >&6
25890
25891 fi
25892
25893
25894
25895 if test "$ac_cv_header_png_h" = "yes"; then
25896 echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25897 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6
25898 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25899 echo $ECHO_N "(cached) $ECHO_C" >&6
25900 else
25901 ac_check_lib_save_LIBS=$LIBS
25902 LIBS="-lpng -lz -lm $LIBS"
25903 cat >conftest.$ac_ext <<_ACEOF
25904 /* confdefs.h. */
25905 _ACEOF
25906 cat confdefs.h >>conftest.$ac_ext
25907 cat >>conftest.$ac_ext <<_ACEOF
25908 /* end confdefs.h. */
25909
25910 /* Override any gcc2 internal prototype to avoid an error. */
25911 #ifdef __cplusplus
25912 extern "C"
25913 #endif
25914 /* We use char because int might match the return type of a gcc2
25915 builtin and then its argument prototype would still apply. */
25916 char png_check_sig ();
25917 int
25918 main ()
25919 {
25920 png_check_sig ();
25921 ;
25922 return 0;
25923 }
25924 _ACEOF
25925 rm -f conftest.$ac_objext conftest$ac_exeext
25926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25927 (eval $ac_link) 2>conftest.er1
25928 ac_status=$?
25929 grep -v '^ *+' conftest.er1 >conftest.err
25930 rm -f conftest.er1
25931 cat conftest.err >&5
25932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25933 (exit $ac_status); } &&
25934 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
25935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25936 (eval $ac_try) 2>&5
25937 ac_status=$?
25938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25939 (exit $ac_status); }; } &&
25940 { ac_try='test -s conftest$ac_exeext'
25941 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25942 (eval $ac_try) 2>&5
25943 ac_status=$?
25944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25945 (exit $ac_status); }; }; then
25946 ac_cv_lib_png_png_check_sig=yes
25947 else
25948 echo "$as_me: failed program was:" >&5
25949 sed 's/^/| /' conftest.$ac_ext >&5
25950
25951 ac_cv_lib_png_png_check_sig=no
25952 fi
25953 rm -f conftest.err conftest.$ac_objext \
25954 conftest$ac_exeext conftest.$ac_ext
25955 LIBS=$ac_check_lib_save_LIBS
25956 fi
25957 echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25958 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6
25959 if test $ac_cv_lib_png_png_check_sig = yes; then
25960 PNG_LINK=" -lpng -lz"
25961 fi
25962
25963 fi
25964
25965 if test "x$PNG_LINK" = "x" ; then
25966 if test "$wxUSE_LIBPNG" = "sys" ; then
25967 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25968 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25969 { (exit 1); exit 1; }; }
25970 else
25971 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25972 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25973 wxUSE_LIBPNG=builtin
25974 fi
25975 else
25976 wxUSE_LIBPNG=sys
25977 fi
25978 fi
25979 fi
25980
25981 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25982 fi
25983
25984
25985 JPEG_LINK=
25986 if test "$wxUSE_LIBJPEG" != "no" ; then
25987 cat >>confdefs.h <<\_ACEOF
25988 #define wxUSE_LIBJPEG 1
25989 _ACEOF
25990
25991
25992 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25993 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25994 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25995 wxUSE_LIBJPEG=sys
25996 fi
25997
25998 if test "$wxUSE_MGL" != 1 ; then
25999 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26000 echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26001 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6
26002 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26003 echo $ECHO_N "(cached) $ECHO_C" >&6
26004 else
26005 cat >conftest.$ac_ext <<_ACEOF
26006 /* confdefs.h. */
26007 _ACEOF
26008 cat confdefs.h >>conftest.$ac_ext
26009 cat >>conftest.$ac_ext <<_ACEOF
26010 /* end confdefs.h. */
26011
26012 #undef HAVE_STDLIB_H
26013 #include <stdio.h>
26014 #include <jpeglib.h>
26015
26016 int
26017 main ()
26018 {
26019
26020
26021 ;
26022 return 0;
26023 }
26024 _ACEOF
26025 rm -f conftest.$ac_objext
26026 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26027 (eval $ac_compile) 2>conftest.er1
26028 ac_status=$?
26029 grep -v '^ *+' conftest.er1 >conftest.err
26030 rm -f conftest.er1
26031 cat conftest.err >&5
26032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26033 (exit $ac_status); } &&
26034 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26036 (eval $ac_try) 2>&5
26037 ac_status=$?
26038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26039 (exit $ac_status); }; } &&
26040 { ac_try='test -s conftest.$ac_objext'
26041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26042 (eval $ac_try) 2>&5
26043 ac_status=$?
26044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26045 (exit $ac_status); }; }; then
26046 ac_cv_header_jpeglib_h=yes
26047 else
26048 echo "$as_me: failed program was:" >&5
26049 sed 's/^/| /' conftest.$ac_ext >&5
26050
26051 ac_cv_header_jpeglib_h=no
26052
26053 fi
26054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26055
26056 fi
26057
26058 echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26059 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6
26060
26061 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26062 echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26063 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6
26064 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26065 echo $ECHO_N "(cached) $ECHO_C" >&6
26066 else
26067 ac_check_lib_save_LIBS=$LIBS
26068 LIBS="-ljpeg $LIBS"
26069 cat >conftest.$ac_ext <<_ACEOF
26070 /* confdefs.h. */
26071 _ACEOF
26072 cat confdefs.h >>conftest.$ac_ext
26073 cat >>conftest.$ac_ext <<_ACEOF
26074 /* end confdefs.h. */
26075
26076 /* Override any gcc2 internal prototype to avoid an error. */
26077 #ifdef __cplusplus
26078 extern "C"
26079 #endif
26080 /* We use char because int might match the return type of a gcc2
26081 builtin and then its argument prototype would still apply. */
26082 char jpeg_read_header ();
26083 int
26084 main ()
26085 {
26086 jpeg_read_header ();
26087 ;
26088 return 0;
26089 }
26090 _ACEOF
26091 rm -f conftest.$ac_objext conftest$ac_exeext
26092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26093 (eval $ac_link) 2>conftest.er1
26094 ac_status=$?
26095 grep -v '^ *+' conftest.er1 >conftest.err
26096 rm -f conftest.er1
26097 cat conftest.err >&5
26098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26099 (exit $ac_status); } &&
26100 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26102 (eval $ac_try) 2>&5
26103 ac_status=$?
26104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26105 (exit $ac_status); }; } &&
26106 { ac_try='test -s conftest$ac_exeext'
26107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26108 (eval $ac_try) 2>&5
26109 ac_status=$?
26110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26111 (exit $ac_status); }; }; then
26112 ac_cv_lib_jpeg_jpeg_read_header=yes
26113 else
26114 echo "$as_me: failed program was:" >&5
26115 sed 's/^/| /' conftest.$ac_ext >&5
26116
26117 ac_cv_lib_jpeg_jpeg_read_header=no
26118 fi
26119 rm -f conftest.err conftest.$ac_objext \
26120 conftest$ac_exeext conftest.$ac_ext
26121 LIBS=$ac_check_lib_save_LIBS
26122 fi
26123 echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26124 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6
26125 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26126 JPEG_LINK=" -ljpeg"
26127 fi
26128
26129 fi
26130
26131 if test "x$JPEG_LINK" = "x" ; then
26132 if test "$wxUSE_LIBJPEG" = "sys" ; then
26133 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26134 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26135 { (exit 1); exit 1; }; }
26136 else
26137 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26138 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26139 wxUSE_LIBJPEG=builtin
26140 fi
26141 else
26142 wxUSE_LIBJPEG=sys
26143 fi
26144 fi
26145 fi
26146 fi
26147
26148
26149 TIFF_LINK=
26150 TIFF_PREREQ_LINKS=-lm
26151 if test "$wxUSE_LIBTIFF" != "no" ; then
26152 cat >>confdefs.h <<\_ACEOF
26153 #define wxUSE_LIBTIFF 1
26154 _ACEOF
26155
26156
26157 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26158 if test "$wxUSE_LIBJPEG" = "sys"; then
26159 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26160 fi
26161 if test "$wxUSE_ZLIB" = "sys"; then
26162 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26163 fi
26164 if test "${ac_cv_header_tiffio_h+set}" = set; then
26165 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26166 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26167 if test "${ac_cv_header_tiffio_h+set}" = set; then
26168 echo $ECHO_N "(cached) $ECHO_C" >&6
26169 fi
26170 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26171 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26172 else
26173 # Is the header compilable?
26174 echo "$as_me:$LINENO: checking tiffio.h usability" >&5
26175 echo $ECHO_N "checking tiffio.h usability... $ECHO_C" >&6
26176 cat >conftest.$ac_ext <<_ACEOF
26177 /* confdefs.h. */
26178 _ACEOF
26179 cat confdefs.h >>conftest.$ac_ext
26180 cat >>conftest.$ac_ext <<_ACEOF
26181 /* end confdefs.h. */
26182 $ac_includes_default
26183 #include <tiffio.h>
26184 _ACEOF
26185 rm -f conftest.$ac_objext
26186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26187 (eval $ac_compile) 2>conftest.er1
26188 ac_status=$?
26189 grep -v '^ *+' conftest.er1 >conftest.err
26190 rm -f conftest.er1
26191 cat conftest.err >&5
26192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26193 (exit $ac_status); } &&
26194 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26196 (eval $ac_try) 2>&5
26197 ac_status=$?
26198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26199 (exit $ac_status); }; } &&
26200 { ac_try='test -s conftest.$ac_objext'
26201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26202 (eval $ac_try) 2>&5
26203 ac_status=$?
26204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26205 (exit $ac_status); }; }; then
26206 ac_header_compiler=yes
26207 else
26208 echo "$as_me: failed program was:" >&5
26209 sed 's/^/| /' conftest.$ac_ext >&5
26210
26211 ac_header_compiler=no
26212 fi
26213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26214 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26215 echo "${ECHO_T}$ac_header_compiler" >&6
26216
26217 # Is the header present?
26218 echo "$as_me:$LINENO: checking tiffio.h presence" >&5
26219 echo $ECHO_N "checking tiffio.h presence... $ECHO_C" >&6
26220 cat >conftest.$ac_ext <<_ACEOF
26221 /* confdefs.h. */
26222 _ACEOF
26223 cat confdefs.h >>conftest.$ac_ext
26224 cat >>conftest.$ac_ext <<_ACEOF
26225 /* end confdefs.h. */
26226 #include <tiffio.h>
26227 _ACEOF
26228 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26229 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26230 ac_status=$?
26231 grep -v '^ *+' conftest.er1 >conftest.err
26232 rm -f conftest.er1
26233 cat conftest.err >&5
26234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26235 (exit $ac_status); } >/dev/null; then
26236 if test -s conftest.err; then
26237 ac_cpp_err=$ac_cxx_preproc_warn_flag
26238 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26239 else
26240 ac_cpp_err=
26241 fi
26242 else
26243 ac_cpp_err=yes
26244 fi
26245 if test -z "$ac_cpp_err"; then
26246 ac_header_preproc=yes
26247 else
26248 echo "$as_me: failed program was:" >&5
26249 sed 's/^/| /' conftest.$ac_ext >&5
26250
26251 ac_header_preproc=no
26252 fi
26253 rm -f conftest.err conftest.$ac_ext
26254 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26255 echo "${ECHO_T}$ac_header_preproc" >&6
26256
26257 # So? What about this header?
26258 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26259 yes:no: )
26260 { echo "$as_me:$LINENO: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&5
26261 echo "$as_me: WARNING: tiffio.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26262 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the compiler's result" >&5
26263 echo "$as_me: WARNING: tiffio.h: proceeding with the compiler's result" >&2;}
26264 ac_header_preproc=yes
26265 ;;
26266 no:yes:* )
26267 { echo "$as_me:$LINENO: WARNING: tiffio.h: present but cannot be compiled" >&5
26268 echo "$as_me: WARNING: tiffio.h: present but cannot be compiled" >&2;}
26269 { echo "$as_me:$LINENO: WARNING: tiffio.h: check for missing prerequisite headers?" >&5
26270 echo "$as_me: WARNING: tiffio.h: check for missing prerequisite headers?" >&2;}
26271 { echo "$as_me:$LINENO: WARNING: tiffio.h: see the Autoconf documentation" >&5
26272 echo "$as_me: WARNING: tiffio.h: see the Autoconf documentation" >&2;}
26273 { echo "$as_me:$LINENO: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&5
26274 echo "$as_me: WARNING: tiffio.h: section \"Present But Cannot Be Compiled\"" >&2;}
26275 { echo "$as_me:$LINENO: WARNING: tiffio.h: proceeding with the preprocessor's result" >&5
26276 echo "$as_me: WARNING: tiffio.h: proceeding with the preprocessor's result" >&2;}
26277 { echo "$as_me:$LINENO: WARNING: tiffio.h: in the future, the compiler will take precedence" >&5
26278 echo "$as_me: WARNING: tiffio.h: in the future, the compiler will take precedence" >&2;}
26279 (
26280 cat <<\_ASBOX
26281 ## ----------------------------------------- ##
26282 ## Report this to wx-dev@lists.wxwidgets.org ##
26283 ## ----------------------------------------- ##
26284 _ASBOX
26285 ) |
26286 sed "s/^/$as_me: WARNING: /" >&2
26287 ;;
26288 esac
26289 echo "$as_me:$LINENO: checking for tiffio.h" >&5
26290 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6
26291 if test "${ac_cv_header_tiffio_h+set}" = set; then
26292 echo $ECHO_N "(cached) $ECHO_C" >&6
26293 else
26294 ac_cv_header_tiffio_h=$ac_header_preproc
26295 fi
26296 echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26297 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6
26298
26299 fi
26300 if test $ac_cv_header_tiffio_h = yes; then
26301
26302 echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26303 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6
26304 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26305 echo $ECHO_N "(cached) $ECHO_C" >&6
26306 else
26307 ac_check_lib_save_LIBS=$LIBS
26308 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26309 cat >conftest.$ac_ext <<_ACEOF
26310 /* confdefs.h. */
26311 _ACEOF
26312 cat confdefs.h >>conftest.$ac_ext
26313 cat >>conftest.$ac_ext <<_ACEOF
26314 /* end confdefs.h. */
26315
26316 /* Override any gcc2 internal prototype to avoid an error. */
26317 #ifdef __cplusplus
26318 extern "C"
26319 #endif
26320 /* We use char because int might match the return type of a gcc2
26321 builtin and then its argument prototype would still apply. */
26322 char TIFFError ();
26323 int
26324 main ()
26325 {
26326 TIFFError ();
26327 ;
26328 return 0;
26329 }
26330 _ACEOF
26331 rm -f conftest.$ac_objext conftest$ac_exeext
26332 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26333 (eval $ac_link) 2>conftest.er1
26334 ac_status=$?
26335 grep -v '^ *+' conftest.er1 >conftest.err
26336 rm -f conftest.er1
26337 cat conftest.err >&5
26338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26339 (exit $ac_status); } &&
26340 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26342 (eval $ac_try) 2>&5
26343 ac_status=$?
26344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26345 (exit $ac_status); }; } &&
26346 { ac_try='test -s conftest$ac_exeext'
26347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26348 (eval $ac_try) 2>&5
26349 ac_status=$?
26350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26351 (exit $ac_status); }; }; then
26352 ac_cv_lib_tiff_TIFFError=yes
26353 else
26354 echo "$as_me: failed program was:" >&5
26355 sed 's/^/| /' conftest.$ac_ext >&5
26356
26357 ac_cv_lib_tiff_TIFFError=no
26358 fi
26359 rm -f conftest.err conftest.$ac_objext \
26360 conftest$ac_exeext conftest.$ac_ext
26361 LIBS=$ac_check_lib_save_LIBS
26362 fi
26363 echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26364 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6
26365 if test $ac_cv_lib_tiff_TIFFError = yes; then
26366 TIFF_LINK=" -ltiff"
26367 fi
26368
26369
26370
26371 fi
26372
26373
26374
26375 if test "x$TIFF_LINK" = "x" ; then
26376 if test "$wxUSE_LIBTIFF" = "sys" ; then
26377 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26378 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26379 { (exit 1); exit 1; }; }
26380 else
26381 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26382 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26383 wxUSE_LIBTIFF=builtin
26384 fi
26385 else
26386 wxUSE_LIBTIFF=sys
26387 fi
26388 fi
26389 fi
26390
26391
26392 if test "$wxUSE_WCHAR_T" != "yes"; then
26393 if test "$wxUSE_EXPAT" != "no"; then
26394 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26395 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26396 wxUSE_EXPAT=no
26397 fi
26398 if test "$wxUSE_XML" != "no"; then
26399 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26400 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26401 wxUSE_XML=no
26402 fi
26403 fi
26404
26405 if test "$wxUSE_EXPAT" != "no"; then
26406 wxUSE_XML=yes
26407 cat >>confdefs.h <<\_ACEOF
26408 #define wxUSE_EXPAT 1
26409 _ACEOF
26410
26411 cat >>confdefs.h <<\_ACEOF
26412 #define wxUSE_XML 1
26413 _ACEOF
26414
26415
26416 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26417 if test "${ac_cv_header_expat_h+set}" = set; then
26418 echo "$as_me:$LINENO: checking for expat.h" >&5
26419 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26420 if test "${ac_cv_header_expat_h+set}" = set; then
26421 echo $ECHO_N "(cached) $ECHO_C" >&6
26422 fi
26423 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26424 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26425 else
26426 # Is the header compilable?
26427 echo "$as_me:$LINENO: checking expat.h usability" >&5
26428 echo $ECHO_N "checking expat.h usability... $ECHO_C" >&6
26429 cat >conftest.$ac_ext <<_ACEOF
26430 /* confdefs.h. */
26431 _ACEOF
26432 cat confdefs.h >>conftest.$ac_ext
26433 cat >>conftest.$ac_ext <<_ACEOF
26434 /* end confdefs.h. */
26435 $ac_includes_default
26436 #include <expat.h>
26437 _ACEOF
26438 rm -f conftest.$ac_objext
26439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26440 (eval $ac_compile) 2>conftest.er1
26441 ac_status=$?
26442 grep -v '^ *+' conftest.er1 >conftest.err
26443 rm -f conftest.er1
26444 cat conftest.err >&5
26445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26446 (exit $ac_status); } &&
26447 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26449 (eval $ac_try) 2>&5
26450 ac_status=$?
26451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26452 (exit $ac_status); }; } &&
26453 { ac_try='test -s conftest.$ac_objext'
26454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26455 (eval $ac_try) 2>&5
26456 ac_status=$?
26457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26458 (exit $ac_status); }; }; then
26459 ac_header_compiler=yes
26460 else
26461 echo "$as_me: failed program was:" >&5
26462 sed 's/^/| /' conftest.$ac_ext >&5
26463
26464 ac_header_compiler=no
26465 fi
26466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26467 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26468 echo "${ECHO_T}$ac_header_compiler" >&6
26469
26470 # Is the header present?
26471 echo "$as_me:$LINENO: checking expat.h presence" >&5
26472 echo $ECHO_N "checking expat.h presence... $ECHO_C" >&6
26473 cat >conftest.$ac_ext <<_ACEOF
26474 /* confdefs.h. */
26475 _ACEOF
26476 cat confdefs.h >>conftest.$ac_ext
26477 cat >>conftest.$ac_ext <<_ACEOF
26478 /* end confdefs.h. */
26479 #include <expat.h>
26480 _ACEOF
26481 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26482 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26483 ac_status=$?
26484 grep -v '^ *+' conftest.er1 >conftest.err
26485 rm -f conftest.er1
26486 cat conftest.err >&5
26487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26488 (exit $ac_status); } >/dev/null; then
26489 if test -s conftest.err; then
26490 ac_cpp_err=$ac_cxx_preproc_warn_flag
26491 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26492 else
26493 ac_cpp_err=
26494 fi
26495 else
26496 ac_cpp_err=yes
26497 fi
26498 if test -z "$ac_cpp_err"; then
26499 ac_header_preproc=yes
26500 else
26501 echo "$as_me: failed program was:" >&5
26502 sed 's/^/| /' conftest.$ac_ext >&5
26503
26504 ac_header_preproc=no
26505 fi
26506 rm -f conftest.err conftest.$ac_ext
26507 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26508 echo "${ECHO_T}$ac_header_preproc" >&6
26509
26510 # So? What about this header?
26511 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26512 yes:no: )
26513 { echo "$as_me:$LINENO: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&5
26514 echo "$as_me: WARNING: expat.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26515 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the compiler's result" >&5
26516 echo "$as_me: WARNING: expat.h: proceeding with the compiler's result" >&2;}
26517 ac_header_preproc=yes
26518 ;;
26519 no:yes:* )
26520 { echo "$as_me:$LINENO: WARNING: expat.h: present but cannot be compiled" >&5
26521 echo "$as_me: WARNING: expat.h: present but cannot be compiled" >&2;}
26522 { echo "$as_me:$LINENO: WARNING: expat.h: check for missing prerequisite headers?" >&5
26523 echo "$as_me: WARNING: expat.h: check for missing prerequisite headers?" >&2;}
26524 { echo "$as_me:$LINENO: WARNING: expat.h: see the Autoconf documentation" >&5
26525 echo "$as_me: WARNING: expat.h: see the Autoconf documentation" >&2;}
26526 { echo "$as_me:$LINENO: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&5
26527 echo "$as_me: WARNING: expat.h: section \"Present But Cannot Be Compiled\"" >&2;}
26528 { echo "$as_me:$LINENO: WARNING: expat.h: proceeding with the preprocessor's result" >&5
26529 echo "$as_me: WARNING: expat.h: proceeding with the preprocessor's result" >&2;}
26530 { echo "$as_me:$LINENO: WARNING: expat.h: in the future, the compiler will take precedence" >&5
26531 echo "$as_me: WARNING: expat.h: in the future, the compiler will take precedence" >&2;}
26532 (
26533 cat <<\_ASBOX
26534 ## ----------------------------------------- ##
26535 ## Report this to wx-dev@lists.wxwidgets.org ##
26536 ## ----------------------------------------- ##
26537 _ASBOX
26538 ) |
26539 sed "s/^/$as_me: WARNING: /" >&2
26540 ;;
26541 esac
26542 echo "$as_me:$LINENO: checking for expat.h" >&5
26543 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6
26544 if test "${ac_cv_header_expat_h+set}" = set; then
26545 echo $ECHO_N "(cached) $ECHO_C" >&6
26546 else
26547 ac_cv_header_expat_h=$ac_header_preproc
26548 fi
26549 echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26550 echo "${ECHO_T}$ac_cv_header_expat_h" >&6
26551
26552 fi
26553 if test $ac_cv_header_expat_h = yes; then
26554 found_expat_h=1
26555 fi
26556
26557
26558 if test "x$found_expat_h" = "x1"; then
26559 echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26560 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6
26561 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26562 echo $ECHO_N "(cached) $ECHO_C" >&6
26563 else
26564
26565 cat >conftest.$ac_ext <<_ACEOF
26566 /* confdefs.h. */
26567 _ACEOF
26568 cat confdefs.h >>conftest.$ac_ext
26569 cat >>conftest.$ac_ext <<_ACEOF
26570 /* end confdefs.h. */
26571 #include <expat.h>
26572 int
26573 main ()
26574 {
26575
26576 ;
26577 return 0;
26578 }
26579 _ACEOF
26580 rm -f conftest.$ac_objext
26581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26582 (eval $ac_compile) 2>conftest.er1
26583 ac_status=$?
26584 grep -v '^ *+' conftest.er1 >conftest.err
26585 rm -f conftest.er1
26586 cat conftest.err >&5
26587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26588 (exit $ac_status); } &&
26589 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26591 (eval $ac_try) 2>&5
26592 ac_status=$?
26593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26594 (exit $ac_status); }; } &&
26595 { ac_try='test -s conftest.$ac_objext'
26596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26597 (eval $ac_try) 2>&5
26598 ac_status=$?
26599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26600 (exit $ac_status); }; }; then
26601 wx_cv_expat_is_not_broken=yes
26602 else
26603 echo "$as_me: failed program was:" >&5
26604 sed 's/^/| /' conftest.$ac_ext >&5
26605
26606 wx_cv_expat_is_not_broken=no
26607
26608 fi
26609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26610
26611
26612 fi
26613 echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26614 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6
26615 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26616 echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26617 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6
26618 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26619 echo $ECHO_N "(cached) $ECHO_C" >&6
26620 else
26621 ac_check_lib_save_LIBS=$LIBS
26622 LIBS="-lexpat $LIBS"
26623 cat >conftest.$ac_ext <<_ACEOF
26624 /* confdefs.h. */
26625 _ACEOF
26626 cat confdefs.h >>conftest.$ac_ext
26627 cat >>conftest.$ac_ext <<_ACEOF
26628 /* end confdefs.h. */
26629
26630 /* Override any gcc2 internal prototype to avoid an error. */
26631 #ifdef __cplusplus
26632 extern "C"
26633 #endif
26634 /* We use char because int might match the return type of a gcc2
26635 builtin and then its argument prototype would still apply. */
26636 char XML_ParserCreate ();
26637 int
26638 main ()
26639 {
26640 XML_ParserCreate ();
26641 ;
26642 return 0;
26643 }
26644 _ACEOF
26645 rm -f conftest.$ac_objext conftest$ac_exeext
26646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26647 (eval $ac_link) 2>conftest.er1
26648 ac_status=$?
26649 grep -v '^ *+' conftest.er1 >conftest.err
26650 rm -f conftest.er1
26651 cat conftest.err >&5
26652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26653 (exit $ac_status); } &&
26654 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26656 (eval $ac_try) 2>&5
26657 ac_status=$?
26658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26659 (exit $ac_status); }; } &&
26660 { ac_try='test -s conftest$ac_exeext'
26661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26662 (eval $ac_try) 2>&5
26663 ac_status=$?
26664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26665 (exit $ac_status); }; }; then
26666 ac_cv_lib_expat_XML_ParserCreate=yes
26667 else
26668 echo "$as_me: failed program was:" >&5
26669 sed 's/^/| /' conftest.$ac_ext >&5
26670
26671 ac_cv_lib_expat_XML_ParserCreate=no
26672 fi
26673 rm -f conftest.err conftest.$ac_objext \
26674 conftest$ac_exeext conftest.$ac_ext
26675 LIBS=$ac_check_lib_save_LIBS
26676 fi
26677 echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26678 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6
26679 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26680 EXPAT_LINK=" -lexpat"
26681 fi
26682
26683 fi
26684 fi
26685 if test "x$EXPAT_LINK" = "x" ; then
26686 if test "$wxUSE_EXPAT" = "sys" ; then
26687 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26688 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26689 { (exit 1); exit 1; }; }
26690 else
26691 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26692 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26693 wxUSE_EXPAT=builtin
26694 fi
26695 else
26696 wxUSE_EXPAT=sys
26697 fi
26698 fi
26699 if test "$wxUSE_EXPAT" = "builtin" ; then
26700
26701
26702 subdirs="$subdirs src/expat"
26703
26704 fi
26705 fi
26706
26707
26708
26709 if test "$wxUSE_LIBMSPACK" != "no"; then
26710 if test "${ac_cv_header_mspack_h+set}" = set; then
26711 echo "$as_me:$LINENO: checking for mspack.h" >&5
26712 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26713 if test "${ac_cv_header_mspack_h+set}" = set; then
26714 echo $ECHO_N "(cached) $ECHO_C" >&6
26715 fi
26716 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26717 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26718 else
26719 # Is the header compilable?
26720 echo "$as_me:$LINENO: checking mspack.h usability" >&5
26721 echo $ECHO_N "checking mspack.h usability... $ECHO_C" >&6
26722 cat >conftest.$ac_ext <<_ACEOF
26723 /* confdefs.h. */
26724 _ACEOF
26725 cat confdefs.h >>conftest.$ac_ext
26726 cat >>conftest.$ac_ext <<_ACEOF
26727 /* end confdefs.h. */
26728 $ac_includes_default
26729 #include <mspack.h>
26730 _ACEOF
26731 rm -f conftest.$ac_objext
26732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26733 (eval $ac_compile) 2>conftest.er1
26734 ac_status=$?
26735 grep -v '^ *+' conftest.er1 >conftest.err
26736 rm -f conftest.er1
26737 cat conftest.err >&5
26738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26739 (exit $ac_status); } &&
26740 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26742 (eval $ac_try) 2>&5
26743 ac_status=$?
26744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26745 (exit $ac_status); }; } &&
26746 { ac_try='test -s conftest.$ac_objext'
26747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26748 (eval $ac_try) 2>&5
26749 ac_status=$?
26750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26751 (exit $ac_status); }; }; then
26752 ac_header_compiler=yes
26753 else
26754 echo "$as_me: failed program was:" >&5
26755 sed 's/^/| /' conftest.$ac_ext >&5
26756
26757 ac_header_compiler=no
26758 fi
26759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26760 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26761 echo "${ECHO_T}$ac_header_compiler" >&6
26762
26763 # Is the header present?
26764 echo "$as_me:$LINENO: checking mspack.h presence" >&5
26765 echo $ECHO_N "checking mspack.h presence... $ECHO_C" >&6
26766 cat >conftest.$ac_ext <<_ACEOF
26767 /* confdefs.h. */
26768 _ACEOF
26769 cat confdefs.h >>conftest.$ac_ext
26770 cat >>conftest.$ac_ext <<_ACEOF
26771 /* end confdefs.h. */
26772 #include <mspack.h>
26773 _ACEOF
26774 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
26775 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
26776 ac_status=$?
26777 grep -v '^ *+' conftest.er1 >conftest.err
26778 rm -f conftest.er1
26779 cat conftest.err >&5
26780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26781 (exit $ac_status); } >/dev/null; then
26782 if test -s conftest.err; then
26783 ac_cpp_err=$ac_cxx_preproc_warn_flag
26784 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
26785 else
26786 ac_cpp_err=
26787 fi
26788 else
26789 ac_cpp_err=yes
26790 fi
26791 if test -z "$ac_cpp_err"; then
26792 ac_header_preproc=yes
26793 else
26794 echo "$as_me: failed program was:" >&5
26795 sed 's/^/| /' conftest.$ac_ext >&5
26796
26797 ac_header_preproc=no
26798 fi
26799 rm -f conftest.err conftest.$ac_ext
26800 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
26801 echo "${ECHO_T}$ac_header_preproc" >&6
26802
26803 # So? What about this header?
26804 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
26805 yes:no: )
26806 { echo "$as_me:$LINENO: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&5
26807 echo "$as_me: WARNING: mspack.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
26808 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the compiler's result" >&5
26809 echo "$as_me: WARNING: mspack.h: proceeding with the compiler's result" >&2;}
26810 ac_header_preproc=yes
26811 ;;
26812 no:yes:* )
26813 { echo "$as_me:$LINENO: WARNING: mspack.h: present but cannot be compiled" >&5
26814 echo "$as_me: WARNING: mspack.h: present but cannot be compiled" >&2;}
26815 { echo "$as_me:$LINENO: WARNING: mspack.h: check for missing prerequisite headers?" >&5
26816 echo "$as_me: WARNING: mspack.h: check for missing prerequisite headers?" >&2;}
26817 { echo "$as_me:$LINENO: WARNING: mspack.h: see the Autoconf documentation" >&5
26818 echo "$as_me: WARNING: mspack.h: see the Autoconf documentation" >&2;}
26819 { echo "$as_me:$LINENO: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&5
26820 echo "$as_me: WARNING: mspack.h: section \"Present But Cannot Be Compiled\"" >&2;}
26821 { echo "$as_me:$LINENO: WARNING: mspack.h: proceeding with the preprocessor's result" >&5
26822 echo "$as_me: WARNING: mspack.h: proceeding with the preprocessor's result" >&2;}
26823 { echo "$as_me:$LINENO: WARNING: mspack.h: in the future, the compiler will take precedence" >&5
26824 echo "$as_me: WARNING: mspack.h: in the future, the compiler will take precedence" >&2;}
26825 (
26826 cat <<\_ASBOX
26827 ## ----------------------------------------- ##
26828 ## Report this to wx-dev@lists.wxwidgets.org ##
26829 ## ----------------------------------------- ##
26830 _ASBOX
26831 ) |
26832 sed "s/^/$as_me: WARNING: /" >&2
26833 ;;
26834 esac
26835 echo "$as_me:$LINENO: checking for mspack.h" >&5
26836 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6
26837 if test "${ac_cv_header_mspack_h+set}" = set; then
26838 echo $ECHO_N "(cached) $ECHO_C" >&6
26839 else
26840 ac_cv_header_mspack_h=$ac_header_preproc
26841 fi
26842 echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26843 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6
26844
26845 fi
26846 if test $ac_cv_header_mspack_h = yes; then
26847 found_mspack_h=1
26848 fi
26849
26850
26851 if test "x$found_mspack_h" = "x1"; then
26852 echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26853 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6
26854 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26855 echo $ECHO_N "(cached) $ECHO_C" >&6
26856 else
26857 ac_check_lib_save_LIBS=$LIBS
26858 LIBS="-lmspack $LIBS"
26859 cat >conftest.$ac_ext <<_ACEOF
26860 /* confdefs.h. */
26861 _ACEOF
26862 cat confdefs.h >>conftest.$ac_ext
26863 cat >>conftest.$ac_ext <<_ACEOF
26864 /* end confdefs.h. */
26865
26866 /* Override any gcc2 internal prototype to avoid an error. */
26867 #ifdef __cplusplus
26868 extern "C"
26869 #endif
26870 /* We use char because int might match the return type of a gcc2
26871 builtin and then its argument prototype would still apply. */
26872 char mspack_create_chm_decompressor ();
26873 int
26874 main ()
26875 {
26876 mspack_create_chm_decompressor ();
26877 ;
26878 return 0;
26879 }
26880 _ACEOF
26881 rm -f conftest.$ac_objext conftest$ac_exeext
26882 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26883 (eval $ac_link) 2>conftest.er1
26884 ac_status=$?
26885 grep -v '^ *+' conftest.er1 >conftest.err
26886 rm -f conftest.er1
26887 cat conftest.err >&5
26888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26889 (exit $ac_status); } &&
26890 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26892 (eval $ac_try) 2>&5
26893 ac_status=$?
26894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26895 (exit $ac_status); }; } &&
26896 { ac_try='test -s conftest$ac_exeext'
26897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26898 (eval $ac_try) 2>&5
26899 ac_status=$?
26900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26901 (exit $ac_status); }; }; then
26902 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26903 else
26904 echo "$as_me: failed program was:" >&5
26905 sed 's/^/| /' conftest.$ac_ext >&5
26906
26907 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26908 fi
26909 rm -f conftest.err conftest.$ac_objext \
26910 conftest$ac_exeext conftest.$ac_ext
26911 LIBS=$ac_check_lib_save_LIBS
26912 fi
26913 echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26914 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6
26915 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26916 MSPACK_LINK=" -lmspack"
26917 fi
26918
26919 fi
26920 if test "x$MSPACK_LINK" = "x" ; then
26921 wxUSE_LIBMSPACK=no
26922 fi
26923 fi
26924
26925 if test "$wxUSE_LIBMSPACK" != "no"; then
26926 cat >>confdefs.h <<\_ACEOF
26927 #define wxUSE_LIBMSPACK 1
26928 _ACEOF
26929
26930 fi
26931
26932
26933
26934 AFMINSTALL=
26935 WIN32INSTALL=
26936
26937 TOOLKIT=
26938 TOOLKIT_INCLUDE=
26939 WIDGET_SET=
26940
26941 if test "$USE_WIN32" = 1 ; then
26942
26943 for ac_header in w32api.h
26944 do
26945 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
26946 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26947 echo "$as_me:$LINENO: checking for $ac_header" >&5
26948 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
26949 if eval "test \"\${$as_ac_Header+set}\" = set"; then
26950 echo $ECHO_N "(cached) $ECHO_C" >&6
26951 fi
26952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
26953 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
26954 else
26955 # Is the header compilable?
26956 echo "$as_me:$LINENO: checking $ac_header usability" >&5
26957 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
26958 cat >conftest.$ac_ext <<_ACEOF
26959 /* confdefs.h. */
26960 _ACEOF
26961 cat confdefs.h >>conftest.$ac_ext
26962 cat >>conftest.$ac_ext <<_ACEOF
26963 /* end confdefs.h. */
26964 $ac_includes_default
26965 #include <$ac_header>
26966 _ACEOF
26967 rm -f conftest.$ac_objext
26968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26969 (eval $ac_compile) 2>conftest.er1
26970 ac_status=$?
26971 grep -v '^ *+' conftest.er1 >conftest.err
26972 rm -f conftest.er1
26973 cat conftest.err >&5
26974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26975 (exit $ac_status); } &&
26976 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
26977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26978 (eval $ac_try) 2>&5
26979 ac_status=$?
26980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26981 (exit $ac_status); }; } &&
26982 { ac_try='test -s conftest.$ac_objext'
26983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26984 (eval $ac_try) 2>&5
26985 ac_status=$?
26986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26987 (exit $ac_status); }; }; then
26988 ac_header_compiler=yes
26989 else
26990 echo "$as_me: failed program was:" >&5
26991 sed 's/^/| /' conftest.$ac_ext >&5
26992
26993 ac_header_compiler=no
26994 fi
26995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26996 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
26997 echo "${ECHO_T}$ac_header_compiler" >&6
26998
26999 # Is the header present?
27000 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27001 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27002 cat >conftest.$ac_ext <<_ACEOF
27003 /* confdefs.h. */
27004 _ACEOF
27005 cat confdefs.h >>conftest.$ac_ext
27006 cat >>conftest.$ac_ext <<_ACEOF
27007 /* end confdefs.h. */
27008 #include <$ac_header>
27009 _ACEOF
27010 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27011 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27012 ac_status=$?
27013 grep -v '^ *+' conftest.er1 >conftest.err
27014 rm -f conftest.er1
27015 cat conftest.err >&5
27016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27017 (exit $ac_status); } >/dev/null; then
27018 if test -s conftest.err; then
27019 ac_cpp_err=$ac_cxx_preproc_warn_flag
27020 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27021 else
27022 ac_cpp_err=
27023 fi
27024 else
27025 ac_cpp_err=yes
27026 fi
27027 if test -z "$ac_cpp_err"; then
27028 ac_header_preproc=yes
27029 else
27030 echo "$as_me: failed program was:" >&5
27031 sed 's/^/| /' conftest.$ac_ext >&5
27032
27033 ac_header_preproc=no
27034 fi
27035 rm -f conftest.err conftest.$ac_ext
27036 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27037 echo "${ECHO_T}$ac_header_preproc" >&6
27038
27039 # So? What about this header?
27040 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27041 yes:no: )
27042 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27043 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27044 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27045 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27046 ac_header_preproc=yes
27047 ;;
27048 no:yes:* )
27049 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27050 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27051 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27052 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27053 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27054 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27055 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27056 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27057 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27058 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27059 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27060 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27061 (
27062 cat <<\_ASBOX
27063 ## ----------------------------------------- ##
27064 ## Report this to wx-dev@lists.wxwidgets.org ##
27065 ## ----------------------------------------- ##
27066 _ASBOX
27067 ) |
27068 sed "s/^/$as_me: WARNING: /" >&2
27069 ;;
27070 esac
27071 echo "$as_me:$LINENO: checking for $ac_header" >&5
27072 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27073 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27074 echo $ECHO_N "(cached) $ECHO_C" >&6
27075 else
27076 eval "$as_ac_Header=\$ac_header_preproc"
27077 fi
27078 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27079 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27080
27081 fi
27082 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27083 cat >>confdefs.h <<_ACEOF
27084 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27085 _ACEOF
27086
27087 fi
27088
27089 done
27090
27091 if test "${ac_cv_header_windows_h+set}" = set; then
27092 echo "$as_me:$LINENO: checking for windows.h" >&5
27093 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27094 if test "${ac_cv_header_windows_h+set}" = set; then
27095 echo $ECHO_N "(cached) $ECHO_C" >&6
27096 fi
27097 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27098 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27099 else
27100 # Is the header compilable?
27101 echo "$as_me:$LINENO: checking windows.h usability" >&5
27102 echo $ECHO_N "checking windows.h usability... $ECHO_C" >&6
27103 cat >conftest.$ac_ext <<_ACEOF
27104 /* confdefs.h. */
27105 _ACEOF
27106 cat confdefs.h >>conftest.$ac_ext
27107 cat >>conftest.$ac_ext <<_ACEOF
27108 /* end confdefs.h. */
27109 $ac_includes_default
27110 #include <windows.h>
27111 _ACEOF
27112 rm -f conftest.$ac_objext
27113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27114 (eval $ac_compile) 2>conftest.er1
27115 ac_status=$?
27116 grep -v '^ *+' conftest.er1 >conftest.err
27117 rm -f conftest.er1
27118 cat conftest.err >&5
27119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27120 (exit $ac_status); } &&
27121 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27123 (eval $ac_try) 2>&5
27124 ac_status=$?
27125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27126 (exit $ac_status); }; } &&
27127 { ac_try='test -s conftest.$ac_objext'
27128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27129 (eval $ac_try) 2>&5
27130 ac_status=$?
27131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27132 (exit $ac_status); }; }; then
27133 ac_header_compiler=yes
27134 else
27135 echo "$as_me: failed program was:" >&5
27136 sed 's/^/| /' conftest.$ac_ext >&5
27137
27138 ac_header_compiler=no
27139 fi
27140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27141 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27142 echo "${ECHO_T}$ac_header_compiler" >&6
27143
27144 # Is the header present?
27145 echo "$as_me:$LINENO: checking windows.h presence" >&5
27146 echo $ECHO_N "checking windows.h presence... $ECHO_C" >&6
27147 cat >conftest.$ac_ext <<_ACEOF
27148 /* confdefs.h. */
27149 _ACEOF
27150 cat confdefs.h >>conftest.$ac_ext
27151 cat >>conftest.$ac_ext <<_ACEOF
27152 /* end confdefs.h. */
27153 #include <windows.h>
27154 _ACEOF
27155 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27156 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27157 ac_status=$?
27158 grep -v '^ *+' conftest.er1 >conftest.err
27159 rm -f conftest.er1
27160 cat conftest.err >&5
27161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27162 (exit $ac_status); } >/dev/null; then
27163 if test -s conftest.err; then
27164 ac_cpp_err=$ac_cxx_preproc_warn_flag
27165 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27166 else
27167 ac_cpp_err=
27168 fi
27169 else
27170 ac_cpp_err=yes
27171 fi
27172 if test -z "$ac_cpp_err"; then
27173 ac_header_preproc=yes
27174 else
27175 echo "$as_me: failed program was:" >&5
27176 sed 's/^/| /' conftest.$ac_ext >&5
27177
27178 ac_header_preproc=no
27179 fi
27180 rm -f conftest.err conftest.$ac_ext
27181 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27182 echo "${ECHO_T}$ac_header_preproc" >&6
27183
27184 # So? What about this header?
27185 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27186 yes:no: )
27187 { echo "$as_me:$LINENO: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&5
27188 echo "$as_me: WARNING: windows.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
27189 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the compiler's result" >&5
27190 echo "$as_me: WARNING: windows.h: proceeding with the compiler's result" >&2;}
27191 ac_header_preproc=yes
27192 ;;
27193 no:yes:* )
27194 { echo "$as_me:$LINENO: WARNING: windows.h: present but cannot be compiled" >&5
27195 echo "$as_me: WARNING: windows.h: present but cannot be compiled" >&2;}
27196 { echo "$as_me:$LINENO: WARNING: windows.h: check for missing prerequisite headers?" >&5
27197 echo "$as_me: WARNING: windows.h: check for missing prerequisite headers?" >&2;}
27198 { echo "$as_me:$LINENO: WARNING: windows.h: see the Autoconf documentation" >&5
27199 echo "$as_me: WARNING: windows.h: see the Autoconf documentation" >&2;}
27200 { echo "$as_me:$LINENO: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&5
27201 echo "$as_me: WARNING: windows.h: section \"Present But Cannot Be Compiled\"" >&2;}
27202 { echo "$as_me:$LINENO: WARNING: windows.h: proceeding with the preprocessor's result" >&5
27203 echo "$as_me: WARNING: windows.h: proceeding with the preprocessor's result" >&2;}
27204 { echo "$as_me:$LINENO: WARNING: windows.h: in the future, the compiler will take precedence" >&5
27205 echo "$as_me: WARNING: windows.h: in the future, the compiler will take precedence" >&2;}
27206 (
27207 cat <<\_ASBOX
27208 ## ----------------------------------------- ##
27209 ## Report this to wx-dev@lists.wxwidgets.org ##
27210 ## ----------------------------------------- ##
27211 _ASBOX
27212 ) |
27213 sed "s/^/$as_me: WARNING: /" >&2
27214 ;;
27215 esac
27216 echo "$as_me:$LINENO: checking for windows.h" >&5
27217 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6
27218 if test "${ac_cv_header_windows_h+set}" = set; then
27219 echo $ECHO_N "(cached) $ECHO_C" >&6
27220 else
27221 ac_cv_header_windows_h=$ac_header_preproc
27222 fi
27223 echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27224 echo "${ECHO_T}$ac_cv_header_windows_h" >&6
27225
27226 fi
27227 if test $ac_cv_header_windows_h = yes; then
27228 :
27229 else
27230
27231 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27232 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27233 { (exit 1); exit 1; }; }
27234
27235 fi
27236
27237
27238
27239 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27240
27241 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27242 LIBS="$LIBS -loleacc"
27243 fi
27244
27245 case "${host}" in
27246 *-*-cygwin* )
27247 LIBS="$LIBS -lkernel32 -luser32"
27248 esac
27249
27250 if test "$wxUSE_ODBC" = "sys" ; then
27251 wxUSE_ODBC = "yes"
27252 fi
27253 if test "$wxUSE_ODBC" = "yes" ; then
27254 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27255 cat >>confdefs.h <<\_ACEOF
27256 #define wxUSE_ODBC 1
27257 _ACEOF
27258
27259 fi
27260
27261 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27262 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27263
27264 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27265
27266 WIN32INSTALL=win32install
27267
27268 echo "$as_me:$LINENO: checking for boolean" >&5
27269 echo $ECHO_N "checking for boolean... $ECHO_C" >&6
27270 if test "${ac_cv_type_boolean+set}" = set; then
27271 echo $ECHO_N "(cached) $ECHO_C" >&6
27272 else
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 #include <windows.h>
27280
27281 int
27282 main ()
27283 {
27284 if ((boolean *) 0)
27285 return 0;
27286 if (sizeof (boolean))
27287 return 0;
27288 ;
27289 return 0;
27290 }
27291 _ACEOF
27292 rm -f conftest.$ac_objext
27293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27294 (eval $ac_compile) 2>conftest.er1
27295 ac_status=$?
27296 grep -v '^ *+' conftest.er1 >conftest.err
27297 rm -f conftest.er1
27298 cat conftest.err >&5
27299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27300 (exit $ac_status); } &&
27301 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27303 (eval $ac_try) 2>&5
27304 ac_status=$?
27305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27306 (exit $ac_status); }; } &&
27307 { ac_try='test -s conftest.$ac_objext'
27308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27309 (eval $ac_try) 2>&5
27310 ac_status=$?
27311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27312 (exit $ac_status); }; }; then
27313 ac_cv_type_boolean=yes
27314 else
27315 echo "$as_me: failed program was:" >&5
27316 sed 's/^/| /' conftest.$ac_ext >&5
27317
27318 ac_cv_type_boolean=no
27319 fi
27320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27321 fi
27322 echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27323 echo "${ECHO_T}$ac_cv_type_boolean" >&6
27324 if test $ac_cv_type_boolean = yes; then
27325
27326 cat >>confdefs.h <<_ACEOF
27327 #define HAVE_BOOLEAN 1
27328 _ACEOF
27329
27330
27331 fi
27332
27333
27334
27335 for ac_header in pbt.h
27336 do
27337 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27338 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27339 echo "$as_me:$LINENO: checking for $ac_header" >&5
27340 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27341 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27342 echo $ECHO_N "(cached) $ECHO_C" >&6
27343 fi
27344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27345 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27346 else
27347 # Is the header compilable?
27348 echo "$as_me:$LINENO: checking $ac_header usability" >&5
27349 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
27350 cat >conftest.$ac_ext <<_ACEOF
27351 /* confdefs.h. */
27352 _ACEOF
27353 cat confdefs.h >>conftest.$ac_ext
27354 cat >>conftest.$ac_ext <<_ACEOF
27355 /* end confdefs.h. */
27356 $ac_includes_default
27357 #include <$ac_header>
27358 _ACEOF
27359 rm -f conftest.$ac_objext
27360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27361 (eval $ac_compile) 2>conftest.er1
27362 ac_status=$?
27363 grep -v '^ *+' conftest.er1 >conftest.err
27364 rm -f conftest.er1
27365 cat conftest.err >&5
27366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27367 (exit $ac_status); } &&
27368 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
27369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27370 (eval $ac_try) 2>&5
27371 ac_status=$?
27372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27373 (exit $ac_status); }; } &&
27374 { ac_try='test -s conftest.$ac_objext'
27375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27376 (eval $ac_try) 2>&5
27377 ac_status=$?
27378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27379 (exit $ac_status); }; }; then
27380 ac_header_compiler=yes
27381 else
27382 echo "$as_me: failed program was:" >&5
27383 sed 's/^/| /' conftest.$ac_ext >&5
27384
27385 ac_header_compiler=no
27386 fi
27387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27388 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
27389 echo "${ECHO_T}$ac_header_compiler" >&6
27390
27391 # Is the header present?
27392 echo "$as_me:$LINENO: checking $ac_header presence" >&5
27393 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
27394 cat >conftest.$ac_ext <<_ACEOF
27395 /* confdefs.h. */
27396 _ACEOF
27397 cat confdefs.h >>conftest.$ac_ext
27398 cat >>conftest.$ac_ext <<_ACEOF
27399 /* end confdefs.h. */
27400 #include <$ac_header>
27401 _ACEOF
27402 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
27403 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
27404 ac_status=$?
27405 grep -v '^ *+' conftest.er1 >conftest.err
27406 rm -f conftest.er1
27407 cat conftest.err >&5
27408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27409 (exit $ac_status); } >/dev/null; then
27410 if test -s conftest.err; then
27411 ac_cpp_err=$ac_cxx_preproc_warn_flag
27412 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
27413 else
27414 ac_cpp_err=
27415 fi
27416 else
27417 ac_cpp_err=yes
27418 fi
27419 if test -z "$ac_cpp_err"; then
27420 ac_header_preproc=yes
27421 else
27422 echo "$as_me: failed program was:" >&5
27423 sed 's/^/| /' conftest.$ac_ext >&5
27424
27425 ac_header_preproc=no
27426 fi
27427 rm -f conftest.err conftest.$ac_ext
27428 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
27429 echo "${ECHO_T}$ac_header_preproc" >&6
27430
27431 # So? What about this header?
27432 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
27433 yes:no: )
27434 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
27435 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
27436 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
27437 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
27438 ac_header_preproc=yes
27439 ;;
27440 no:yes:* )
27441 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
27442 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
27443 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
27444 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
27445 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
27446 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
27447 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
27448 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
27449 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
27450 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
27451 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
27452 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
27453 (
27454 cat <<\_ASBOX
27455 ## ----------------------------------------- ##
27456 ## Report this to wx-dev@lists.wxwidgets.org ##
27457 ## ----------------------------------------- ##
27458 _ASBOX
27459 ) |
27460 sed "s/^/$as_me: WARNING: /" >&2
27461 ;;
27462 esac
27463 echo "$as_me:$LINENO: checking for $ac_header" >&5
27464 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
27465 if eval "test \"\${$as_ac_Header+set}\" = set"; then
27466 echo $ECHO_N "(cached) $ECHO_C" >&6
27467 else
27468 eval "$as_ac_Header=\$ac_header_preproc"
27469 fi
27470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
27471 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
27472
27473 fi
27474 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27475 cat >>confdefs.h <<_ACEOF
27476 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27477 _ACEOF
27478
27479 else
27480 cat >>confdefs.h <<\_ACEOF
27481 #define NEED_PBT_H 1
27482 _ACEOF
27483
27484 fi
27485
27486 done
27487
27488 fi
27489
27490 if test "$wxUSE_GUI" = "yes"; then
27491 USE_GUI=1
27492
27493 GUI_TK_LIBRARY=
27494
27495 WXGTK12=
27496 WXGTK127=
27497 WXGTK20=
27498 WXGPE=
27499
27500 if test "$wxUSE_COCOA" = 1 ; then
27501 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27502 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27503 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27504 wxUSE_PRINTING_ARCHITECTURE=no
27505 fi
27506 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27507 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27508 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27509 wxUSE_DRAG_AND_DROP=no
27510 fi
27511 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27512 { echo "$as_me:$LINENO: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&5
27513 echo "$as_me: WARNING: Drag Image and DandD not supported under wxCocoa yet, disabled" >&2;}
27514 wxUSE_DRAGIMAGE=no
27515 fi
27516 fi
27517
27518 if test "$wxUSE_MSW" = 1 ; then
27519 TOOLKIT=MSW
27520 GUIDIST=MSW_DIST
27521
27522 case "${host}" in
27523 *-*-mingw32* )
27524 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27525 esac
27526 fi
27527
27528 if test "$wxUSE_GTK" = 1; then
27529 ac_ext=c
27530 ac_cpp='$CPP $CPPFLAGS'
27531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27534
27535
27536 echo "$as_me:$LINENO: checking for GTK+ version" >&5
27537 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6
27538
27539 gtk_version_cached=1
27540 if test "${wx_cv_lib_gtk+set}" = set; then
27541 echo $ECHO_N "(cached) $ECHO_C" >&6
27542 else
27543
27544 gtk_version_cached=0
27545 echo "$as_me:$LINENO: result: " >&5
27546 echo "${ECHO_T}" >&6
27547
27548 GTK_MODULES=
27549 if test "$wxUSE_THREADS" = "yes"; then
27550 GTK_MODULES=gthread
27551 fi
27552
27553 wx_cv_lib_gtk=
27554 if test "x$wxGTK_VERSION" != "x1"
27555 then
27556 case "${host}" in
27557 *-*-solaris2* )
27558 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27559 enable_gtktest=no
27560 fi
27561 esac
27562
27563 # Check whether --enable-gtktest or --disable-gtktest was given.
27564 if test "${enable_gtktest+set}" = set; then
27565 enableval="$enable_gtktest"
27566
27567 else
27568 enable_gtktest=yes
27569 fi;
27570
27571 pkg_config_args=gtk+-2.0
27572 for module in . $GTK_MODULES
27573 do
27574 case "$module" in
27575 gthread)
27576 pkg_config_args="$pkg_config_args gthread-2.0"
27577 ;;
27578 esac
27579 done
27580
27581 no_gtk=""
27582
27583 # Extract the first word of "pkg-config", so it can be a program name with args.
27584 set dummy pkg-config; ac_word=$2
27585 echo "$as_me:$LINENO: checking for $ac_word" >&5
27586 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27587 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27588 echo $ECHO_N "(cached) $ECHO_C" >&6
27589 else
27590 case $PKG_CONFIG in
27591 [\\/]* | ?:[\\/]*)
27592 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27593 ;;
27594 *)
27595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27596 for as_dir in $PATH
27597 do
27598 IFS=$as_save_IFS
27599 test -z "$as_dir" && as_dir=.
27600 for ac_exec_ext in '' $ac_executable_extensions; do
27601 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27602 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27604 break 2
27605 fi
27606 done
27607 done
27608
27609 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27610 ;;
27611 esac
27612 fi
27613 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27614
27615 if test -n "$PKG_CONFIG"; then
27616 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27617 echo "${ECHO_T}$PKG_CONFIG" >&6
27618 else
27619 echo "$as_me:$LINENO: result: no" >&5
27620 echo "${ECHO_T}no" >&6
27621 fi
27622
27623
27624 if test x$PKG_CONFIG != xno ; then
27625 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27626 :
27627 else
27628 echo "*** pkg-config too old; version 0.7 or better required."
27629 no_gtk=yes
27630 PKG_CONFIG=no
27631 fi
27632 else
27633 no_gtk=yes
27634 fi
27635
27636 min_gtk_version=2.0.0
27637 echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27638 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6
27639
27640 if test x$PKG_CONFIG != xno ; then
27641 ## don't try to run the test against uninstalled libtool libs
27642 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27643 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27644 enable_gtktest=no
27645 fi
27646
27647 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27648 :
27649 else
27650 no_gtk=yes
27651 fi
27652 fi
27653
27654 if test x"$no_gtk" = x ; then
27655 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27656 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27657 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27658 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27659 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27660 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27661 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27662 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27663 if test "x$enable_gtktest" = "xyes" ; then
27664 ac_save_CFLAGS="$CFLAGS"
27665 ac_save_LIBS="$LIBS"
27666 CFLAGS="$CFLAGS $GTK_CFLAGS"
27667 LIBS="$GTK_LIBS $LIBS"
27668 rm -f conf.gtktest
27669 if test "$cross_compiling" = yes; then
27670 echo $ac_n "cross compiling; assumed OK... $ac_c"
27671 else
27672 cat >conftest.$ac_ext <<_ACEOF
27673 /* confdefs.h. */
27674 _ACEOF
27675 cat confdefs.h >>conftest.$ac_ext
27676 cat >>conftest.$ac_ext <<_ACEOF
27677 /* end confdefs.h. */
27678
27679 #include <gtk/gtk.h>
27680 #include <stdio.h>
27681 #include <stdlib.h>
27682
27683 int
27684 main ()
27685 {
27686 int major, minor, micro;
27687 char *tmp_version;
27688
27689 system ("touch conf.gtktest");
27690
27691 /* HP/UX 9 (%@#!) writes to sscanf strings */
27692 tmp_version = g_strdup("$min_gtk_version");
27693 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27694 printf("%s, bad version string\n", "$min_gtk_version");
27695 exit(1);
27696 }
27697
27698 if ((gtk_major_version != $gtk_config_major_version) ||
27699 (gtk_minor_version != $gtk_config_minor_version) ||
27700 (gtk_micro_version != $gtk_config_micro_version))
27701 {
27702 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27703 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27704 gtk_major_version, gtk_minor_version, gtk_micro_version);
27705 printf ("*** was found! If pkg-config was correct, then it is best\n");
27706 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27707 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27708 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27709 printf("*** required on your system.\n");
27710 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27711 printf("*** to point to the correct configuration files\n");
27712 }
27713 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27714 (gtk_minor_version != GTK_MINOR_VERSION) ||
27715 (gtk_micro_version != GTK_MICRO_VERSION))
27716 {
27717 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27718 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27719 printf("*** library (version %d.%d.%d)\n",
27720 gtk_major_version, gtk_minor_version, gtk_micro_version);
27721 }
27722 else
27723 {
27724 if ((gtk_major_version > major) ||
27725 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27726 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27727 {
27728 return 0;
27729 }
27730 else
27731 {
27732 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27733 gtk_major_version, gtk_minor_version, gtk_micro_version);
27734 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27735 major, minor, micro);
27736 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27737 printf("***\n");
27738 printf("*** If you have already installed a sufficiently new version, this error\n");
27739 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27740 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27741 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27742 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27743 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27744 printf("*** so that the correct libraries are found at run-time))\n");
27745 }
27746 }
27747 return 1;
27748 }
27749
27750 _ACEOF
27751 rm -f conftest$ac_exeext
27752 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27753 (eval $ac_link) 2>&5
27754 ac_status=$?
27755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27756 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27758 (eval $ac_try) 2>&5
27759 ac_status=$?
27760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27761 (exit $ac_status); }; }; then
27762 :
27763 else
27764 echo "$as_me: program exited with status $ac_status" >&5
27765 echo "$as_me: failed program was:" >&5
27766 sed 's/^/| /' conftest.$ac_ext >&5
27767
27768 ( exit $ac_status )
27769 no_gtk=yes
27770 fi
27771 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27772 fi
27773 CFLAGS="$ac_save_CFLAGS"
27774 LIBS="$ac_save_LIBS"
27775 fi
27776 fi
27777 if test "x$no_gtk" = x ; then
27778 echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27779 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6
27780 wx_cv_lib_gtk=2.0
27781 else
27782 echo "$as_me:$LINENO: result: no" >&5
27783 echo "${ECHO_T}no" >&6
27784 if test "$PKG_CONFIG" = "no" ; then
27785 echo "*** A new enough version of pkg-config was not found."
27786 echo "*** See http://pkgconfig.sourceforge.net"
27787 else
27788 if test -f conf.gtktest ; then
27789 :
27790 else
27791 echo "*** Could not run GTK+ test program, checking why..."
27792 ac_save_CFLAGS="$CFLAGS"
27793 ac_save_LIBS="$LIBS"
27794 CFLAGS="$CFLAGS $GTK_CFLAGS"
27795 LIBS="$LIBS $GTK_LIBS"
27796 cat >conftest.$ac_ext <<_ACEOF
27797 /* confdefs.h. */
27798 _ACEOF
27799 cat confdefs.h >>conftest.$ac_ext
27800 cat >>conftest.$ac_ext <<_ACEOF
27801 /* end confdefs.h. */
27802
27803 #include <gtk/gtk.h>
27804 #include <stdio.h>
27805
27806 int
27807 main ()
27808 {
27809 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27810 ;
27811 return 0;
27812 }
27813 _ACEOF
27814 rm -f conftest.$ac_objext conftest$ac_exeext
27815 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27816 (eval $ac_link) 2>conftest.er1
27817 ac_status=$?
27818 grep -v '^ *+' conftest.er1 >conftest.err
27819 rm -f conftest.er1
27820 cat conftest.err >&5
27821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27822 (exit $ac_status); } &&
27823 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
27824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27825 (eval $ac_try) 2>&5
27826 ac_status=$?
27827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27828 (exit $ac_status); }; } &&
27829 { ac_try='test -s conftest$ac_exeext'
27830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27831 (eval $ac_try) 2>&5
27832 ac_status=$?
27833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27834 (exit $ac_status); }; }; then
27835 echo "*** The test program compiled, but did not run. This usually means"
27836 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27837 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27838 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27839 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27840 echo "*** is required on your system"
27841 echo "***"
27842 echo "*** If you have an old version installed, it is best to remove it, although"
27843 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27844 else
27845 echo "$as_me: failed program was:" >&5
27846 sed 's/^/| /' conftest.$ac_ext >&5
27847
27848 echo "*** The test program failed to compile or link. See the file config.log for the"
27849 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27850 fi
27851 rm -f conftest.err conftest.$ac_objext \
27852 conftest$ac_exeext conftest.$ac_ext
27853 CFLAGS="$ac_save_CFLAGS"
27854 LIBS="$ac_save_LIBS"
27855 fi
27856 fi
27857 GTK_CFLAGS=""
27858 GTK_LIBS=""
27859 :
27860 fi
27861
27862
27863 rm -f conf.gtktest
27864
27865
27866 case "${host}" in
27867 *-*-solaris2* )
27868 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27869 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
27870 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
27871 fi
27872 if test "$wxUSE_SHARED" != "yes"; then
27873 GTK_LIBS="$GTK_LIBS -lX11"
27874 fi
27875 esac
27876 fi
27877
27878 if test -z "$wx_cv_lib_gtk"; then
27879 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27880
27881 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
27882 if test "${with_gtk_prefix+set}" = set; then
27883 withval="$with_gtk_prefix"
27884 gtk_config_prefix="$withval"
27885 else
27886 gtk_config_prefix=""
27887 fi;
27888
27889 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
27890 if test "${with_gtk_exec_prefix+set}" = set; then
27891 withval="$with_gtk_exec_prefix"
27892 gtk_config_exec_prefix="$withval"
27893 else
27894 gtk_config_exec_prefix=""
27895 fi;
27896 # Check whether --enable-gtktest or --disable-gtktest was given.
27897 if test "${enable_gtktest+set}" = set; then
27898 enableval="$enable_gtktest"
27899
27900 else
27901 enable_gtktest=yes
27902 fi;
27903
27904 for module in . $GTK_MODULES
27905 do
27906 case "$module" in
27907 gthread)
27908 gtk_config_args="$gtk_config_args gthread"
27909 ;;
27910 esac
27911 done
27912
27913 if test x$gtk_config_exec_prefix != x ; then
27914 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27915 if test x${GTK_CONFIG+set} != xset ; then
27916 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27917 fi
27918 fi
27919 if test x$gtk_config_prefix != x ; then
27920 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27921 if test x${GTK_CONFIG+set} != xset ; then
27922 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27923 fi
27924 fi
27925
27926 # Extract the first word of "gtk-config", so it can be a program name with args.
27927 set dummy gtk-config; ac_word=$2
27928 echo "$as_me:$LINENO: checking for $ac_word" >&5
27929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
27930 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27931 echo $ECHO_N "(cached) $ECHO_C" >&6
27932 else
27933 case $GTK_CONFIG in
27934 [\\/]* | ?:[\\/]*)
27935 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27936 ;;
27937 *)
27938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27939 for as_dir in $PATH
27940 do
27941 IFS=$as_save_IFS
27942 test -z "$as_dir" && as_dir=.
27943 for ac_exec_ext in '' $ac_executable_extensions; do
27944 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
27945 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27946 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27947 break 2
27948 fi
27949 done
27950 done
27951
27952 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27953 ;;
27954 esac
27955 fi
27956 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27957
27958 if test -n "$GTK_CONFIG"; then
27959 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27960 echo "${ECHO_T}$GTK_CONFIG" >&6
27961 else
27962 echo "$as_me:$LINENO: result: no" >&5
27963 echo "${ECHO_T}no" >&6
27964 fi
27965
27966 min_gtk_version=1.2.7
27967 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27968 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
27969 no_gtk=""
27970 if test "$GTK_CONFIG" = "no" ; then
27971 no_gtk=yes
27972 else
27973 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27974 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27975 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27976 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27977 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27978 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27979 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27980 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27981 if test "x$enable_gtktest" = "xyes" ; then
27982 ac_save_CFLAGS="$CFLAGS"
27983 ac_save_LIBS="$LIBS"
27984 CFLAGS="$CFLAGS $GTK_CFLAGS"
27985 LIBS="$GTK_LIBS $LIBS"
27986 rm -f conf.gtktest
27987 if test "$cross_compiling" = yes; then
27988 echo $ac_n "cross compiling; assumed OK... $ac_c"
27989 else
27990 cat >conftest.$ac_ext <<_ACEOF
27991 /* confdefs.h. */
27992 _ACEOF
27993 cat confdefs.h >>conftest.$ac_ext
27994 cat >>conftest.$ac_ext <<_ACEOF
27995 /* end confdefs.h. */
27996
27997 #include <gtk/gtk.h>
27998 #include <stdio.h>
27999 #include <stdlib.h>
28000
28001 int
28002 main ()
28003 {
28004 int major, minor, micro;
28005 char *tmp_version;
28006
28007 system ("touch conf.gtktest");
28008
28009 /* HP/UX 9 (%@#!) writes to sscanf strings */
28010 tmp_version = g_strdup("$min_gtk_version");
28011 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28012 printf("%s, bad version string\n", "$min_gtk_version");
28013 exit(1);
28014 }
28015
28016 if ((gtk_major_version != $gtk_config_major_version) ||
28017 (gtk_minor_version != $gtk_config_minor_version) ||
28018 (gtk_micro_version != $gtk_config_micro_version))
28019 {
28020 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28021 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28022 gtk_major_version, gtk_minor_version, gtk_micro_version);
28023 printf ("*** was found! If gtk-config was correct, then it is best\n");
28024 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28025 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28026 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28027 printf("*** required on your system.\n");
28028 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28029 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28030 printf("*** before re-running configure\n");
28031 }
28032 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28033 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28034 (gtk_minor_version != GTK_MINOR_VERSION) ||
28035 (gtk_micro_version != GTK_MICRO_VERSION))
28036 {
28037 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28038 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28039 printf("*** library (version %d.%d.%d)\n",
28040 gtk_major_version, gtk_minor_version, gtk_micro_version);
28041 }
28042 #endif /* defined (GTK_MAJOR_VERSION) ... */
28043 else
28044 {
28045 if ((gtk_major_version > major) ||
28046 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28047 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28048 {
28049 return 0;
28050 }
28051 else
28052 {
28053 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28054 gtk_major_version, gtk_minor_version, gtk_micro_version);
28055 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28056 major, minor, micro);
28057 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28058 printf("***\n");
28059 printf("*** If you have already installed a sufficiently new version, this error\n");
28060 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28061 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28062 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28063 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28064 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28065 printf("*** so that the correct libraries are found at run-time))\n");
28066 }
28067 }
28068 return 1;
28069 }
28070
28071 _ACEOF
28072 rm -f conftest$ac_exeext
28073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28074 (eval $ac_link) 2>&5
28075 ac_status=$?
28076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28077 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28079 (eval $ac_try) 2>&5
28080 ac_status=$?
28081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28082 (exit $ac_status); }; }; then
28083 :
28084 else
28085 echo "$as_me: program exited with status $ac_status" >&5
28086 echo "$as_me: failed program was:" >&5
28087 sed 's/^/| /' conftest.$ac_ext >&5
28088
28089 ( exit $ac_status )
28090 no_gtk=yes
28091 fi
28092 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28093 fi
28094 CFLAGS="$ac_save_CFLAGS"
28095 LIBS="$ac_save_LIBS"
28096 fi
28097 fi
28098 if test "x$no_gtk" = x ; then
28099 echo "$as_me:$LINENO: result: yes" >&5
28100 echo "${ECHO_T}yes" >&6
28101 wx_cv_lib_gtk=1.2.7
28102 else
28103 echo "$as_me:$LINENO: result: no" >&5
28104 echo "${ECHO_T}no" >&6
28105 if test "$GTK_CONFIG" = "no" ; then
28106 echo "*** The gtk-config script installed by GTK could not be found"
28107 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28108 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28109 echo "*** full path to gtk-config."
28110 else
28111 if test -f conf.gtktest ; then
28112 :
28113 else
28114 echo "*** Could not run GTK test program, checking why..."
28115 CFLAGS="$CFLAGS $GTK_CFLAGS"
28116 LIBS="$LIBS $GTK_LIBS"
28117 cat >conftest.$ac_ext <<_ACEOF
28118 /* confdefs.h. */
28119 _ACEOF
28120 cat confdefs.h >>conftest.$ac_ext
28121 cat >>conftest.$ac_ext <<_ACEOF
28122 /* end confdefs.h. */
28123
28124 #include <gtk/gtk.h>
28125 #include <stdio.h>
28126
28127 int
28128 main ()
28129 {
28130 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28131 ;
28132 return 0;
28133 }
28134 _ACEOF
28135 rm -f conftest.$ac_objext conftest$ac_exeext
28136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28137 (eval $ac_link) 2>conftest.er1
28138 ac_status=$?
28139 grep -v '^ *+' conftest.er1 >conftest.err
28140 rm -f conftest.er1
28141 cat conftest.err >&5
28142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28143 (exit $ac_status); } &&
28144 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28146 (eval $ac_try) 2>&5
28147 ac_status=$?
28148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28149 (exit $ac_status); }; } &&
28150 { ac_try='test -s conftest$ac_exeext'
28151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28152 (eval $ac_try) 2>&5
28153 ac_status=$?
28154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28155 (exit $ac_status); }; }; then
28156 echo "*** The test program compiled, but did not run. This usually means"
28157 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28158 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28159 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28160 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28161 echo "*** is required on your system"
28162 echo "***"
28163 echo "*** If you have an old version installed, it is best to remove it, although"
28164 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28165 echo "***"
28166 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28167 echo "*** came with the system with the command"
28168 echo "***"
28169 echo "*** rpm --erase --nodeps gtk gtk-devel"
28170 else
28171 echo "$as_me: failed program was:" >&5
28172 sed 's/^/| /' conftest.$ac_ext >&5
28173
28174 echo "*** The test program failed to compile or link. See the file config.log for the"
28175 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28176 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28177 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28178 fi
28179 rm -f conftest.err conftest.$ac_objext \
28180 conftest$ac_exeext conftest.$ac_ext
28181 CFLAGS="$ac_save_CFLAGS"
28182 LIBS="$ac_save_LIBS"
28183 fi
28184 fi
28185 GTK_CFLAGS=""
28186 GTK_LIBS=""
28187 :
28188 fi
28189
28190
28191 rm -f conf.gtktest
28192
28193
28194 if test -z "$wx_cv_lib_gtk"; then
28195
28196 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
28197 if test "${with_gtk_prefix+set}" = set; then
28198 withval="$with_gtk_prefix"
28199 gtk_config_prefix="$withval"
28200 else
28201 gtk_config_prefix=""
28202 fi;
28203
28204 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
28205 if test "${with_gtk_exec_prefix+set}" = set; then
28206 withval="$with_gtk_exec_prefix"
28207 gtk_config_exec_prefix="$withval"
28208 else
28209 gtk_config_exec_prefix=""
28210 fi;
28211 # Check whether --enable-gtktest or --disable-gtktest was given.
28212 if test "${enable_gtktest+set}" = set; then
28213 enableval="$enable_gtktest"
28214
28215 else
28216 enable_gtktest=yes
28217 fi;
28218
28219 for module in . $GTK_MODULES
28220 do
28221 case "$module" in
28222 gthread)
28223 gtk_config_args="$gtk_config_args gthread"
28224 ;;
28225 esac
28226 done
28227
28228 if test x$gtk_config_exec_prefix != x ; then
28229 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28230 if test x${GTK_CONFIG+set} != xset ; then
28231 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28232 fi
28233 fi
28234 if test x$gtk_config_prefix != x ; then
28235 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28236 if test x${GTK_CONFIG+set} != xset ; then
28237 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28238 fi
28239 fi
28240
28241 # Extract the first word of "gtk-config", so it can be a program name with args.
28242 set dummy gtk-config; ac_word=$2
28243 echo "$as_me:$LINENO: checking for $ac_word" >&5
28244 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
28245 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28246 echo $ECHO_N "(cached) $ECHO_C" >&6
28247 else
28248 case $GTK_CONFIG in
28249 [\\/]* | ?:[\\/]*)
28250 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28251 ;;
28252 *)
28253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28254 for as_dir in $PATH
28255 do
28256 IFS=$as_save_IFS
28257 test -z "$as_dir" && as_dir=.
28258 for ac_exec_ext in '' $ac_executable_extensions; do
28259 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
28260 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28261 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28262 break 2
28263 fi
28264 done
28265 done
28266
28267 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28268 ;;
28269 esac
28270 fi
28271 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28272
28273 if test -n "$GTK_CONFIG"; then
28274 echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28275 echo "${ECHO_T}$GTK_CONFIG" >&6
28276 else
28277 echo "$as_me:$LINENO: result: no" >&5
28278 echo "${ECHO_T}no" >&6
28279 fi
28280
28281 min_gtk_version=1.2.3
28282 echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28283 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6
28284 no_gtk=""
28285 if test "$GTK_CONFIG" = "no" ; then
28286 no_gtk=yes
28287 else
28288 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28289 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28290 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28291 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28292 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28293 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28294 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28295 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28296 if test "x$enable_gtktest" = "xyes" ; then
28297 ac_save_CFLAGS="$CFLAGS"
28298 ac_save_LIBS="$LIBS"
28299 CFLAGS="$CFLAGS $GTK_CFLAGS"
28300 LIBS="$GTK_LIBS $LIBS"
28301 rm -f conf.gtktest
28302 if test "$cross_compiling" = yes; then
28303 echo $ac_n "cross compiling; assumed OK... $ac_c"
28304 else
28305 cat >conftest.$ac_ext <<_ACEOF
28306 /* confdefs.h. */
28307 _ACEOF
28308 cat confdefs.h >>conftest.$ac_ext
28309 cat >>conftest.$ac_ext <<_ACEOF
28310 /* end confdefs.h. */
28311
28312 #include <gtk/gtk.h>
28313 #include <stdio.h>
28314 #include <stdlib.h>
28315
28316 int
28317 main ()
28318 {
28319 int major, minor, micro;
28320 char *tmp_version;
28321
28322 system ("touch conf.gtktest");
28323
28324 /* HP/UX 9 (%@#!) writes to sscanf strings */
28325 tmp_version = g_strdup("$min_gtk_version");
28326 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28327 printf("%s, bad version string\n", "$min_gtk_version");
28328 exit(1);
28329 }
28330
28331 if ((gtk_major_version != $gtk_config_major_version) ||
28332 (gtk_minor_version != $gtk_config_minor_version) ||
28333 (gtk_micro_version != $gtk_config_micro_version))
28334 {
28335 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28336 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28337 gtk_major_version, gtk_minor_version, gtk_micro_version);
28338 printf ("*** was found! If gtk-config was correct, then it is best\n");
28339 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28340 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28341 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28342 printf("*** required on your system.\n");
28343 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28344 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28345 printf("*** before re-running configure\n");
28346 }
28347 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28348 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28349 (gtk_minor_version != GTK_MINOR_VERSION) ||
28350 (gtk_micro_version != GTK_MICRO_VERSION))
28351 {
28352 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28353 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28354 printf("*** library (version %d.%d.%d)\n",
28355 gtk_major_version, gtk_minor_version, gtk_micro_version);
28356 }
28357 #endif /* defined (GTK_MAJOR_VERSION) ... */
28358 else
28359 {
28360 if ((gtk_major_version > major) ||
28361 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28362 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28363 {
28364 return 0;
28365 }
28366 else
28367 {
28368 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28369 gtk_major_version, gtk_minor_version, gtk_micro_version);
28370 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28371 major, minor, micro);
28372 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28373 printf("***\n");
28374 printf("*** If you have already installed a sufficiently new version, this error\n");
28375 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28376 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28377 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28378 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28379 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28380 printf("*** so that the correct libraries are found at run-time))\n");
28381 }
28382 }
28383 return 1;
28384 }
28385
28386 _ACEOF
28387 rm -f conftest$ac_exeext
28388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28389 (eval $ac_link) 2>&5
28390 ac_status=$?
28391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28392 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28394 (eval $ac_try) 2>&5
28395 ac_status=$?
28396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28397 (exit $ac_status); }; }; then
28398 :
28399 else
28400 echo "$as_me: program exited with status $ac_status" >&5
28401 echo "$as_me: failed program was:" >&5
28402 sed 's/^/| /' conftest.$ac_ext >&5
28403
28404 ( exit $ac_status )
28405 no_gtk=yes
28406 fi
28407 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28408 fi
28409 CFLAGS="$ac_save_CFLAGS"
28410 LIBS="$ac_save_LIBS"
28411 fi
28412 fi
28413 if test "x$no_gtk" = x ; then
28414 echo "$as_me:$LINENO: result: yes" >&5
28415 echo "${ECHO_T}yes" >&6
28416 wx_cv_lib_gtk=1.2.3
28417 else
28418 echo "$as_me:$LINENO: result: no" >&5
28419 echo "${ECHO_T}no" >&6
28420 if test "$GTK_CONFIG" = "no" ; then
28421 echo "*** The gtk-config script installed by GTK could not be found"
28422 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28423 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28424 echo "*** full path to gtk-config."
28425 else
28426 if test -f conf.gtktest ; then
28427 :
28428 else
28429 echo "*** Could not run GTK test program, checking why..."
28430 CFLAGS="$CFLAGS $GTK_CFLAGS"
28431 LIBS="$LIBS $GTK_LIBS"
28432 cat >conftest.$ac_ext <<_ACEOF
28433 /* confdefs.h. */
28434 _ACEOF
28435 cat confdefs.h >>conftest.$ac_ext
28436 cat >>conftest.$ac_ext <<_ACEOF
28437 /* end confdefs.h. */
28438
28439 #include <gtk/gtk.h>
28440 #include <stdio.h>
28441
28442 int
28443 main ()
28444 {
28445 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28446 ;
28447 return 0;
28448 }
28449 _ACEOF
28450 rm -f conftest.$ac_objext conftest$ac_exeext
28451 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28452 (eval $ac_link) 2>conftest.er1
28453 ac_status=$?
28454 grep -v '^ *+' conftest.er1 >conftest.err
28455 rm -f conftest.er1
28456 cat conftest.err >&5
28457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28458 (exit $ac_status); } &&
28459 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28461 (eval $ac_try) 2>&5
28462 ac_status=$?
28463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28464 (exit $ac_status); }; } &&
28465 { ac_try='test -s conftest$ac_exeext'
28466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28467 (eval $ac_try) 2>&5
28468 ac_status=$?
28469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28470 (exit $ac_status); }; }; then
28471 echo "*** The test program compiled, but did not run. This usually means"
28472 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28473 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28474 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28475 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28476 echo "*** is required on your system"
28477 echo "***"
28478 echo "*** If you have an old version installed, it is best to remove it, although"
28479 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28480 echo "***"
28481 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28482 echo "*** came with the system with the command"
28483 echo "***"
28484 echo "*** rpm --erase --nodeps gtk gtk-devel"
28485 else
28486 echo "$as_me: failed program was:" >&5
28487 sed 's/^/| /' conftest.$ac_ext >&5
28488
28489 echo "*** The test program failed to compile or link. See the file config.log for the"
28490 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28491 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28492 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28493 fi
28494 rm -f conftest.err conftest.$ac_objext \
28495 conftest$ac_exeext conftest.$ac_ext
28496 CFLAGS="$ac_save_CFLAGS"
28497 LIBS="$ac_save_LIBS"
28498 fi
28499 fi
28500 GTK_CFLAGS=""
28501 GTK_LIBS=""
28502 :
28503 fi
28504
28505
28506 rm -f conf.gtktest
28507
28508 fi
28509 fi
28510 fi
28511
28512 if test -z "$wx_cv_lib_gtk"; then
28513 wx_cv_lib_gtk=none
28514 else
28515 wx_cv_cflags_gtk=$GTK_CFLAGS
28516 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28517 fi
28518
28519
28520 fi
28521
28522
28523 if test "$gtk_version_cached" = 1; then
28524 echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28525 echo "${ECHO_T}$wx_cv_lib_gtk" >&6
28526 fi
28527
28528 case "$wx_cv_lib_gtk" in
28529 2.0) WXGTK20=1
28530 TOOLKIT_VERSION=2
28531 ;;
28532 1.2.7) WXGTK127=1
28533 WXGTK12=1
28534 ;;
28535 1.2.3) WXGTK12=1
28536 ;;
28537 *) { { echo "$as_me:$LINENO: error:
28538 The development files for GTK+ were not found. For GTK+ 2, please
28539 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28540 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28541 and that the version is 1.2.3 or above. Also check that the
28542 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28543 --libs' are in the LD_LIBRARY_PATH or equivalent.
28544 " >&5
28545 echo "$as_me: error:
28546 The development files for GTK+ were not found. For GTK+ 2, please
28547 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28548 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28549 and that the version is 1.2.3 or above. Also check that the
28550 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28551 --libs' are in the LD_LIBRARY_PATH or equivalent.
28552 " >&2;}
28553 { (exit 1); exit 1; }; }
28554 ;;
28555 esac
28556
28557 if test "$WXGTK20" = 1; then
28558 save_CFLAGS="$CFLAGS"
28559 save_LIBS="$LIBS"
28560 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28561 LIBS="$LIBS $wx_cv_libs_gtk"
28562
28563 echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28564 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6
28565 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28566 echo $ECHO_N "(cached) $ECHO_C" >&6
28567 else
28568 cat >conftest.$ac_ext <<_ACEOF
28569 /* confdefs.h. */
28570 _ACEOF
28571 cat confdefs.h >>conftest.$ac_ext
28572 cat >>conftest.$ac_ext <<_ACEOF
28573 /* end confdefs.h. */
28574 #include <gtk/gtk.h>
28575
28576 int
28577 main ()
28578 {
28579 #ifndef gtk_icon_size_lookup
28580 char *p = (char *) gtk_icon_size_lookup;
28581 #endif
28582
28583 ;
28584 return 0;
28585 }
28586 _ACEOF
28587 rm -f conftest.$ac_objext
28588 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28589 (eval $ac_compile) 2>conftest.er1
28590 ac_status=$?
28591 grep -v '^ *+' conftest.er1 >conftest.err
28592 rm -f conftest.er1
28593 cat conftest.err >&5
28594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28595 (exit $ac_status); } &&
28596 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28598 (eval $ac_try) 2>&5
28599 ac_status=$?
28600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28601 (exit $ac_status); }; } &&
28602 { ac_try='test -s conftest.$ac_objext'
28603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28604 (eval $ac_try) 2>&5
28605 ac_status=$?
28606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28607 (exit $ac_status); }; }; then
28608 ac_cv_have_decl_gtk_icon_size_lookup=yes
28609 else
28610 echo "$as_me: failed program was:" >&5
28611 sed 's/^/| /' conftest.$ac_ext >&5
28612
28613 ac_cv_have_decl_gtk_icon_size_lookup=no
28614 fi
28615 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28616 fi
28617 echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28618 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6
28619 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28620
28621 cat >>confdefs.h <<_ACEOF
28622 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28623 _ACEOF
28624
28625
28626 else
28627 cat >>confdefs.h <<_ACEOF
28628 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28629 _ACEOF
28630
28631 cat >>confdefs.h <<\_ACEOF
28632 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28633 _ACEOF
28634
28635 fi
28636
28637
28638
28639 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28640 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6
28641 cat >conftest.$ac_ext <<_ACEOF
28642 /* confdefs.h. */
28643 _ACEOF
28644 cat confdefs.h >>conftest.$ac_ext
28645 cat >>conftest.$ac_ext <<_ACEOF
28646 /* end confdefs.h. */
28647
28648 #include <gtk/gtk.h>
28649
28650 int
28651 main ()
28652 {
28653
28654 #if !GTK_CHECK_VERSION(2,6,0)
28655 Not GTK+ 2.6
28656 #endif
28657
28658 ;
28659 return 0;
28660 }
28661 _ACEOF
28662 rm -f conftest.$ac_objext
28663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28664 (eval $ac_compile) 2>conftest.er1
28665 ac_status=$?
28666 grep -v '^ *+' conftest.er1 >conftest.err
28667 rm -f conftest.er1
28668 cat conftest.err >&5
28669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28670 (exit $ac_status); } &&
28671 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28673 (eval $ac_try) 2>&5
28674 ac_status=$?
28675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28676 (exit $ac_status); }; } &&
28677 { ac_try='test -s conftest.$ac_objext'
28678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28679 (eval $ac_try) 2>&5
28680 ac_status=$?
28681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28682 (exit $ac_status); }; }; then
28683
28684 cat >>confdefs.h <<\_ACEOF
28685 #define __WXGTK26__ 1
28686 _ACEOF
28687
28688 cat >>confdefs.h <<\_ACEOF
28689 #define __WXGTK24__ 1
28690 _ACEOF
28691
28692 echo "$as_me:$LINENO: result: yes" >&5
28693 echo "${ECHO_T}yes" >&6
28694 ac_wxgtk26=1
28695
28696 else
28697 echo "$as_me: failed program was:" >&5
28698 sed 's/^/| /' conftest.$ac_ext >&5
28699
28700
28701 echo "$as_me:$LINENO: result: no" >&5
28702 echo "${ECHO_T}no" >&6
28703 ac_wxgtk26=0
28704
28705 fi
28706 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28707
28708 if test "$ac_wxgtk26" = 0; then
28709 echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28710 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6
28711 cat >conftest.$ac_ext <<_ACEOF
28712 /* confdefs.h. */
28713 _ACEOF
28714 cat confdefs.h >>conftest.$ac_ext
28715 cat >>conftest.$ac_ext <<_ACEOF
28716 /* end confdefs.h. */
28717
28718 #include <gtk/gtk.h>
28719
28720 int
28721 main ()
28722 {
28723
28724 #if !GTK_CHECK_VERSION(2,4,0)
28725 Not GTK+ 2.4
28726 #endif
28727
28728 ;
28729 return 0;
28730 }
28731 _ACEOF
28732 rm -f conftest.$ac_objext
28733 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28734 (eval $ac_compile) 2>conftest.er1
28735 ac_status=$?
28736 grep -v '^ *+' conftest.er1 >conftest.err
28737 rm -f conftest.er1
28738 cat conftest.err >&5
28739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28740 (exit $ac_status); } &&
28741 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
28742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28743 (eval $ac_try) 2>&5
28744 ac_status=$?
28745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28746 (exit $ac_status); }; } &&
28747 { ac_try='test -s conftest.$ac_objext'
28748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28749 (eval $ac_try) 2>&5
28750 ac_status=$?
28751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28752 (exit $ac_status); }; }; then
28753
28754 cat >>confdefs.h <<\_ACEOF
28755 #define __WXGTK24__ 1
28756 _ACEOF
28757
28758 echo "$as_me:$LINENO: result: yes" >&5
28759 echo "${ECHO_T}yes" >&6
28760
28761 else
28762 echo "$as_me: failed program was:" >&5
28763 sed 's/^/| /' conftest.$ac_ext >&5
28764
28765
28766 echo "$as_me:$LINENO: result: no" >&5
28767 echo "${ECHO_T}no" >&6
28768
28769 fi
28770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28771 fi
28772
28773 CFLAGS="$save_CFLAGS"
28774 LIBS="$save_LIBS"
28775 else
28776 if test "$wxUSE_UNICODE" = "yes"; then
28777 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28778 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28779 wxUSE_UNICODE=no
28780 fi
28781 fi
28782
28783 ac_ext=cc
28784 ac_cpp='$CXXCPP $CPPFLAGS'
28785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28788
28789
28790 if test "$USE_DARWIN" != 1; then
28791
28792 for ac_func in poll
28793 do
28794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28795 echo "$as_me:$LINENO: checking for $ac_func" >&5
28796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28797 if eval "test \"\${$as_ac_var+set}\" = set"; then
28798 echo $ECHO_N "(cached) $ECHO_C" >&6
28799 else
28800 cat >conftest.$ac_ext <<_ACEOF
28801 /* confdefs.h. */
28802 _ACEOF
28803 cat confdefs.h >>conftest.$ac_ext
28804 cat >>conftest.$ac_ext <<_ACEOF
28805 /* end confdefs.h. */
28806 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28808 #define $ac_func innocuous_$ac_func
28809
28810 /* System header to define __stub macros and hopefully few prototypes,
28811 which can conflict with char $ac_func (); below.
28812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28813 <limits.h> exists even on freestanding compilers. */
28814
28815 #ifdef __STDC__
28816 # include <limits.h>
28817 #else
28818 # include <assert.h>
28819 #endif
28820
28821 #undef $ac_func
28822
28823 /* Override any gcc2 internal prototype to avoid an error. */
28824 #ifdef __cplusplus
28825 extern "C"
28826 {
28827 #endif
28828 /* We use char because int might match the return type of a gcc2
28829 builtin and then its argument prototype would still apply. */
28830 char $ac_func ();
28831 /* The GNU C library defines this for functions which it implements
28832 to always fail with ENOSYS. Some functions are actually named
28833 something starting with __ and the normal name is an alias. */
28834 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28835 choke me
28836 #else
28837 char (*f) () = $ac_func;
28838 #endif
28839 #ifdef __cplusplus
28840 }
28841 #endif
28842
28843 int
28844 main ()
28845 {
28846 return f != $ac_func;
28847 ;
28848 return 0;
28849 }
28850 _ACEOF
28851 rm -f conftest.$ac_objext conftest$ac_exeext
28852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28853 (eval $ac_link) 2>conftest.er1
28854 ac_status=$?
28855 grep -v '^ *+' conftest.er1 >conftest.err
28856 rm -f conftest.er1
28857 cat conftest.err >&5
28858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28859 (exit $ac_status); } &&
28860 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28862 (eval $ac_try) 2>&5
28863 ac_status=$?
28864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28865 (exit $ac_status); }; } &&
28866 { ac_try='test -s conftest$ac_exeext'
28867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28868 (eval $ac_try) 2>&5
28869 ac_status=$?
28870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28871 (exit $ac_status); }; }; then
28872 eval "$as_ac_var=yes"
28873 else
28874 echo "$as_me: failed program was:" >&5
28875 sed 's/^/| /' conftest.$ac_ext >&5
28876
28877 eval "$as_ac_var=no"
28878 fi
28879 rm -f conftest.err conftest.$ac_objext \
28880 conftest$ac_exeext conftest.$ac_ext
28881 fi
28882 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28883 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28884 if test `eval echo '${'$as_ac_var'}'` = yes; then
28885 cat >>confdefs.h <<_ACEOF
28886 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28887 _ACEOF
28888
28889 fi
28890 done
28891
28892 fi
28893
28894 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28895 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28896
28897 AFMINSTALL=afminstall
28898 TOOLKIT=GTK
28899 GUIDIST=GTK_DIST
28900
28901 echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28902 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6
28903 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28904 echo $ECHO_N "(cached) $ECHO_C" >&6
28905 else
28906 ac_check_lib_save_LIBS=$LIBS
28907 LIBS="-lgdk $LIBS"
28908 cat >conftest.$ac_ext <<_ACEOF
28909 /* confdefs.h. */
28910 _ACEOF
28911 cat confdefs.h >>conftest.$ac_ext
28912 cat >>conftest.$ac_ext <<_ACEOF
28913 /* end confdefs.h. */
28914
28915 /* Override any gcc2 internal prototype to avoid an error. */
28916 #ifdef __cplusplus
28917 extern "C"
28918 #endif
28919 /* We use char because int might match the return type of a gcc2
28920 builtin and then its argument prototype would still apply. */
28921 char gdk_im_open ();
28922 int
28923 main ()
28924 {
28925 gdk_im_open ();
28926 ;
28927 return 0;
28928 }
28929 _ACEOF
28930 rm -f conftest.$ac_objext conftest$ac_exeext
28931 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28932 (eval $ac_link) 2>conftest.er1
28933 ac_status=$?
28934 grep -v '^ *+' conftest.er1 >conftest.err
28935 rm -f conftest.er1
28936 cat conftest.err >&5
28937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28938 (exit $ac_status); } &&
28939 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
28940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28941 (eval $ac_try) 2>&5
28942 ac_status=$?
28943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28944 (exit $ac_status); }; } &&
28945 { ac_try='test -s conftest$ac_exeext'
28946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28947 (eval $ac_try) 2>&5
28948 ac_status=$?
28949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28950 (exit $ac_status); }; }; then
28951 ac_cv_lib_gdk_gdk_im_open=yes
28952 else
28953 echo "$as_me: failed program was:" >&5
28954 sed 's/^/| /' conftest.$ac_ext >&5
28955
28956 ac_cv_lib_gdk_gdk_im_open=no
28957 fi
28958 rm -f conftest.err conftest.$ac_objext \
28959 conftest$ac_exeext conftest.$ac_ext
28960 LIBS=$ac_check_lib_save_LIBS
28961 fi
28962 echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28963 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6
28964 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28965 cat >>confdefs.h <<\_ACEOF
28966 #define HAVE_XIM 1
28967 _ACEOF
28968
28969 fi
28970
28971
28972
28973 if test "$wxUSE_GPE" = "yes"; then
28974 echo "$as_me:$LINENO: checking for gpewidget library" >&5
28975 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6
28976
28977 ac_find_libraries=
28978 for ac_dir in $SEARCH_LIB;
28979 do
28980 for ac_extension in a so sl dylib dll.a; do
28981 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28982 ac_find_libraries=$ac_dir
28983 break 2
28984 fi
28985 done
28986 done
28987
28988 if test "$ac_find_libraries" != "" ; then
28989
28990 if test "$ac_find_libraries" = "default location"; then
28991 ac_path_to_link=""
28992 else
28993 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28994 result=$?
28995 if test $result = 0; then
28996 ac_path_to_link=""
28997 else
28998 ac_path_to_link=" -L$ac_find_libraries"
28999 fi
29000 fi
29001
29002 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29003 WXGPE=1
29004 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29005 echo "${ECHO_T}found in $ac_find_libraries" >&6
29006 else
29007 echo "$as_me:$LINENO: result: not found" >&5
29008 echo "${ECHO_T}not found" >&6
29009 fi
29010
29011 fi
29012 fi
29013
29014 if test "$wxUSE_MGL" = 1; then
29015 echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29016 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6
29017 if test "x$MGL_ROOT" = x ; then
29018 echo "$as_me:$LINENO: result: not found" >&5
29019 echo "${ECHO_T}not found" >&6
29020 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29021 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29022 { (exit 1); exit 1; }; }
29023 else
29024 echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29025 echo "${ECHO_T}$MGL_ROOT" >&6
29026 fi
29027
29028 echo "$as_me:$LINENO: checking for libmgl location" >&5
29029 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6
29030 case "${host}" in
29031 *-*-linux* )
29032 if test "x$wxUSE_SHARED" = xyes ; then
29033 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29034 else
29035 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29036 fi
29037 ;;
29038 *-pc-msdosdjgpp )
29039 mgl_os_candidates="dos32/dj2"
29040 ;;
29041 *)
29042 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29043 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29044 { (exit 1); exit 1; }; }
29045 esac
29046
29047 mgl_lib_type=""
29048 mgl_os=""
29049
29050 for mgl_os_i in $mgl_os_candidates ; do
29051 if test "x$mgl_os" = x ; then
29052 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29053 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29054 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29055 mgl_lib_type=debug
29056 mgl_os=$mgl_os_i
29057 fi
29058 fi
29059 if test "x$mgl_lib_type" = x ; then
29060 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29061 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29062 mgl_lib_type=release
29063 mgl_os=$mgl_os_i
29064 fi
29065 fi
29066 fi
29067 done
29068
29069 if test "x$mgl_os" = x ; then
29070 echo "$as_me:$LINENO: result: not found" >&5
29071 echo "${ECHO_T}not found" >&6
29072 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29073 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29074 { (exit 1); exit 1; }; }
29075 fi
29076 echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29077 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6
29078
29079 wxUSE_UNIVERSAL="yes"
29080
29081 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29082 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29083
29084 AFMINSTALL=afminstall
29085 TOOLKIT=MGL
29086 GUIDIST=MGL_DIST
29087 fi
29088
29089 if test "$wxUSE_DFB" = 1; then
29090
29091
29092 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29093 if test -n "$ac_tool_prefix"; then
29094 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29095 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29096 echo "$as_me:$LINENO: checking for $ac_word" >&5
29097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29098 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29099 echo $ECHO_N "(cached) $ECHO_C" >&6
29100 else
29101 case $PKG_CONFIG in
29102 [\\/]* | ?:[\\/]*)
29103 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29104 ;;
29105 *)
29106 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29107 for as_dir in $PATH
29108 do
29109 IFS=$as_save_IFS
29110 test -z "$as_dir" && as_dir=.
29111 for ac_exec_ext in '' $ac_executable_extensions; do
29112 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29113 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29114 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29115 break 2
29116 fi
29117 done
29118 done
29119
29120 ;;
29121 esac
29122 fi
29123 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29124
29125 if test -n "$PKG_CONFIG"; then
29126 echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29127 echo "${ECHO_T}$PKG_CONFIG" >&6
29128 else
29129 echo "$as_me:$LINENO: result: no" >&5
29130 echo "${ECHO_T}no" >&6
29131 fi
29132
29133 fi
29134 if test -z "$ac_cv_path_PKG_CONFIG"; then
29135 ac_pt_PKG_CONFIG=$PKG_CONFIG
29136 # Extract the first word of "pkg-config", so it can be a program name with args.
29137 set dummy pkg-config; ac_word=$2
29138 echo "$as_me:$LINENO: checking for $ac_word" >&5
29139 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
29140 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29141 echo $ECHO_N "(cached) $ECHO_C" >&6
29142 else
29143 case $ac_pt_PKG_CONFIG in
29144 [\\/]* | ?:[\\/]*)
29145 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29146 ;;
29147 *)
29148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29149 for as_dir in $PATH
29150 do
29151 IFS=$as_save_IFS
29152 test -z "$as_dir" && as_dir=.
29153 for ac_exec_ext in '' $ac_executable_extensions; do
29154 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
29155 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29157 break 2
29158 fi
29159 done
29160 done
29161
29162 ;;
29163 esac
29164 fi
29165 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29166
29167 if test -n "$ac_pt_PKG_CONFIG"; then
29168 echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29169 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
29170 else
29171 echo "$as_me:$LINENO: result: no" >&5
29172 echo "${ECHO_T}no" >&6
29173 fi
29174
29175 PKG_CONFIG=$ac_pt_PKG_CONFIG
29176 else
29177 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29178 fi
29179
29180 fi
29181 if test -n "$PKG_CONFIG"; then
29182 _pkg_min_version=0.9.0
29183 echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29184 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
29185 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29186 echo "$as_me:$LINENO: result: yes" >&5
29187 echo "${ECHO_T}yes" >&6
29188 else
29189 echo "$as_me:$LINENO: result: no" >&5
29190 echo "${ECHO_T}no" >&6
29191 PKG_CONFIG=""
29192 fi
29193
29194 fi
29195
29196 pkg_failed=no
29197 echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29198 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6
29199
29200 if test -n "$PKG_CONFIG"; then
29201 if test -n "$DIRECTFB_CFLAGS"; then
29202 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29203 else
29204 if test -n "$PKG_CONFIG" && \
29205 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29206 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29207 ac_status=$?
29208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29209 (exit $ac_status); }; then
29210 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.22" 2>/dev/null`
29211 else
29212 pkg_failed=yes
29213 fi
29214 fi
29215 else
29216 pkg_failed=untried
29217 fi
29218 if test -n "$PKG_CONFIG"; then
29219 if test -n "$DIRECTFB_LIBS"; then
29220 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29221 else
29222 if test -n "$PKG_CONFIG" && \
29223 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.22\"") >&5
29224 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.22") 2>&5
29225 ac_status=$?
29226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29227 (exit $ac_status); }; then
29228 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.22" 2>/dev/null`
29229 else
29230 pkg_failed=yes
29231 fi
29232 fi
29233 else
29234 pkg_failed=untried
29235 fi
29236
29237
29238
29239 if test $pkg_failed = yes; then
29240
29241 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29242 _pkg_short_errors_supported=yes
29243 else
29244 _pkg_short_errors_supported=no
29245 fi
29246 if test $_pkg_short_errors_supported = yes; then
29247 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29248 else
29249 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.22"`
29250 fi
29251 # Put the nasty error message in config.log where it belongs
29252 echo "$DIRECTFB_PKG_ERRORS" >&5
29253
29254
29255 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29256 echo "$as_me: error: DirectFB not found." >&2;}
29257 { (exit 1); exit 1; }; }
29258
29259
29260 elif test $pkg_failed = untried; then
29261
29262 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29263 echo "$as_me: error: DirectFB not found." >&2;}
29264 { (exit 1); exit 1; }; }
29265
29266
29267 else
29268 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29269 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29270 echo "$as_me:$LINENO: result: yes" >&5
29271 echo "${ECHO_T}yes" >&6
29272
29273 wxUSE_UNIVERSAL="yes"
29274 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29275 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29276 TOOLKIT=DFB
29277 GUIDIST=DFB_DIST
29278
29279 fi
29280 fi
29281
29282 if test "$wxUSE_MICROWIN" = 1; then
29283 echo "$as_me:$LINENO: checking for MicroWindows" >&5
29284 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6
29285 if test "x$MICROWINDOWS" = x ; then
29286 echo "$as_me:$LINENO: result: not found" >&5
29287 echo "${ECHO_T}not found" >&6
29288 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29289 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29290 { (exit 1); exit 1; }; }
29291 else
29292 echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29293 echo "${ECHO_T}$MICROWINDOWS" >&6
29294 fi
29295
29296 if test -f $MICROWINDOWS/lib/libmwin.a; then
29297 echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29298 echo "${ECHO_T}MicroWindows' libraries found." >&6
29299 else
29300 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29301 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29302 { (exit 1); exit 1; }; }
29303 fi
29304
29305 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29306 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29307
29308 wxUSE_UNIVERSAL="yes"
29309
29310 AFMINSTALL=afminstall
29311 TOOLKIT=MICROWIN
29312 GUIDIST=MICROWIN_DIST
29313
29314 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29315 fi
29316
29317 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29318
29319 if test "x$ac_path_x_has_been_run" != xyes; then
29320 echo "$as_me:$LINENO: checking for X" >&5
29321 echo $ECHO_N "checking for X... $ECHO_C" >&6
29322
29323 ac_path_x_has_been_run=yes
29324
29325 # Check whether --with-x or --without-x was given.
29326 if test "${with_x+set}" = set; then
29327 withval="$with_x"
29328
29329 fi;
29330 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29331 if test "x$with_x" = xno; then
29332 # The user explicitly disabled X.
29333 have_x=disabled
29334 else
29335 if test "x$x_includes" != xNONE && test "x$x_libraries" != xNONE; then
29336 # Both variables are already set.
29337 have_x=yes
29338 else
29339 if test "${ac_cv_have_x+set}" = set; then
29340 echo $ECHO_N "(cached) $ECHO_C" >&6
29341 else
29342 # One or both of the vars are not set, and there is no cached value.
29343 ac_x_includes=no ac_x_libraries=no
29344 rm -fr conftest.dir
29345 if mkdir conftest.dir; then
29346 cd conftest.dir
29347 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
29348 cat >Imakefile <<'_ACEOF'
29349 acfindx:
29350 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
29351 _ACEOF
29352 if (xmkmf) >/dev/null 2>/dev/null && test -f Makefile; then
29353 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29354 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
29355 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29356 for ac_extension in a so sl; do
29357 if test ! -f $ac_im_usrlibdir/libX11.$ac_extension &&
29358 test -f $ac_im_libdir/libX11.$ac_extension; then
29359 ac_im_usrlibdir=$ac_im_libdir; break
29360 fi
29361 done
29362 # Screen out bogus values from the imake configuration. They are
29363 # bogus both because they are the default anyway, and because
29364 # using them would break gcc on systems where it needs fixed includes.
29365 case $ac_im_incroot in
29366 /usr/include) ;;
29367 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29368 esac
29369 case $ac_im_usrlibdir in
29370 /usr/lib | /lib) ;;
29371 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29372 esac
29373 fi
29374 cd ..
29375 rm -fr conftest.dir
29376 fi
29377
29378 # Standard set of common directories for X headers.
29379 # Check X11 before X11Rn because it is often a symlink to the current release.
29380 ac_x_header_dirs='
29381 /usr/X11/include
29382 /usr/X11R6/include
29383 /usr/X11R5/include
29384 /usr/X11R4/include
29385
29386 /usr/include/X11
29387 /usr/include/X11R6
29388 /usr/include/X11R5
29389 /usr/include/X11R4
29390
29391 /usr/local/X11/include
29392 /usr/local/X11R6/include
29393 /usr/local/X11R5/include
29394 /usr/local/X11R4/include
29395
29396 /usr/local/include/X11
29397 /usr/local/include/X11R6
29398 /usr/local/include/X11R5
29399 /usr/local/include/X11R4
29400
29401 /usr/X386/include
29402 /usr/x386/include
29403 /usr/XFree86/include/X11
29404
29405 /usr/include
29406 /usr/local/include
29407 /usr/unsupported/include
29408 /usr/athena/include
29409 /usr/local/x11r5/include
29410 /usr/lpp/Xamples/include
29411
29412 /usr/openwin/include
29413 /usr/openwin/share/include'
29414
29415 if test "$ac_x_includes" = no; then
29416 # Guess where to find include files, by looking for a specified header file.
29417 # First, try using that file with no special directory specified.
29418 cat >conftest.$ac_ext <<_ACEOF
29419 /* confdefs.h. */
29420 _ACEOF
29421 cat confdefs.h >>conftest.$ac_ext
29422 cat >>conftest.$ac_ext <<_ACEOF
29423 /* end confdefs.h. */
29424 #include <X11/Xlib.h>
29425 _ACEOF
29426 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
29427 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
29428 ac_status=$?
29429 grep -v '^ *+' conftest.er1 >conftest.err
29430 rm -f conftest.er1
29431 cat conftest.err >&5
29432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29433 (exit $ac_status); } >/dev/null; then
29434 if test -s conftest.err; then
29435 ac_cpp_err=$ac_cxx_preproc_warn_flag
29436 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
29437 else
29438 ac_cpp_err=
29439 fi
29440 else
29441 ac_cpp_err=yes
29442 fi
29443 if test -z "$ac_cpp_err"; then
29444 # We can compile using X headers with no special include directory.
29445 ac_x_includes=
29446 else
29447 echo "$as_me: failed program was:" >&5
29448 sed 's/^/| /' conftest.$ac_ext >&5
29449
29450 for ac_dir in $ac_x_header_dirs; do
29451 if test -r "$ac_dir/X11/Xlib.h"; then
29452 ac_x_includes=$ac_dir
29453 break
29454 fi
29455 done
29456 fi
29457 rm -f conftest.err conftest.$ac_ext
29458 fi # $ac_x_includes = no
29459
29460 if test "$ac_x_libraries" = no; then
29461 # Check for the libraries.
29462 # See if we find them without any special options.
29463 # Don't add to $LIBS permanently.
29464 ac_save_LIBS=$LIBS
29465 LIBS="-lX11 $LIBS"
29466 cat >conftest.$ac_ext <<_ACEOF
29467 /* confdefs.h. */
29468 _ACEOF
29469 cat confdefs.h >>conftest.$ac_ext
29470 cat >>conftest.$ac_ext <<_ACEOF
29471 /* end confdefs.h. */
29472 #include <X11/Xlib.h>
29473 int
29474 main ()
29475 {
29476 XrmInitialize ()
29477 ;
29478 return 0;
29479 }
29480 _ACEOF
29481 rm -f conftest.$ac_objext conftest$ac_exeext
29482 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29483 (eval $ac_link) 2>conftest.er1
29484 ac_status=$?
29485 grep -v '^ *+' conftest.er1 >conftest.err
29486 rm -f conftest.er1
29487 cat conftest.err >&5
29488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29489 (exit $ac_status); } &&
29490 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29492 (eval $ac_try) 2>&5
29493 ac_status=$?
29494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29495 (exit $ac_status); }; } &&
29496 { ac_try='test -s conftest$ac_exeext'
29497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29498 (eval $ac_try) 2>&5
29499 ac_status=$?
29500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29501 (exit $ac_status); }; }; then
29502 LIBS=$ac_save_LIBS
29503 # We can link X programs with no special library path.
29504 ac_x_libraries=
29505 else
29506 echo "$as_me: failed program was:" >&5
29507 sed 's/^/| /' conftest.$ac_ext >&5
29508
29509 LIBS=$ac_save_LIBS
29510 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29511 do
29512 # Don't even attempt the hair of trying to link an X program!
29513 for ac_extension in a so sl; do
29514 if test -r $ac_dir/libX11.$ac_extension; then
29515 ac_x_libraries=$ac_dir
29516 break 2
29517 fi
29518 done
29519 done
29520 fi
29521 rm -f conftest.err conftest.$ac_objext \
29522 conftest$ac_exeext conftest.$ac_ext
29523 fi # $ac_x_libraries = no
29524
29525 if test "$ac_x_includes" = no || test "$ac_x_libraries" = no; then
29526 # Didn't find X anywhere. Cache the known absence of X.
29527 ac_cv_have_x="have_x=no"
29528 else
29529 # Record where we found X for the cache.
29530 ac_cv_have_x="have_x=yes \
29531 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
29532 fi
29533 fi
29534
29535 fi
29536 eval "$ac_cv_have_x"
29537 fi # $with_x != no
29538
29539 if test "$have_x" != yes; then
29540 echo "$as_me:$LINENO: result: $have_x" >&5
29541 echo "${ECHO_T}$have_x" >&6
29542 no_x=yes
29543 else
29544 # If each of the values was on the command line, it overrides each guess.
29545 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29546 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29547 # Update the cache value to reflect the command line values.
29548 ac_cv_have_x="have_x=yes \
29549 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
29550 # It might be that x_includes is empty (headers are found in the
29551 # standard search path. Then output the corresponding message
29552 ac_out_x_includes=$x_includes
29553 test "x$x_includes" = x && ac_out_x_includes="in standard search path"
29554 echo "$as_me:$LINENO: result: libraries $x_libraries, headers $ac_out_x_includes" >&5
29555 echo "${ECHO_T}libraries $x_libraries, headers $ac_out_x_includes" >&6
29556 fi
29557
29558 fi
29559 if test "$no_x" = yes; then
29560 # Not all programs may use this symbol, but it does not hurt to define it.
29561
29562 cat >>confdefs.h <<\_ACEOF
29563 #define X_DISPLAY_MISSING 1
29564 _ACEOF
29565
29566 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29567 else
29568 if test -n "$x_includes"; then
29569 X_CFLAGS="$X_CFLAGS -I$x_includes"
29570 fi
29571
29572 # It would also be nice to do this for all -L options, not just this one.
29573 if test -n "$x_libraries"; then
29574 X_LIBS="$X_LIBS -L$x_libraries"
29575 # For Solaris; some versions of Sun CC require a space after -R and
29576 # others require no space. Words are not sufficient . . . .
29577 case `(uname -sr) 2>/dev/null` in
29578 "SunOS 5"*)
29579 echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29580 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6
29581 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29582 cat >conftest.$ac_ext <<_ACEOF
29583 /* confdefs.h. */
29584 _ACEOF
29585 cat confdefs.h >>conftest.$ac_ext
29586 cat >>conftest.$ac_ext <<_ACEOF
29587 /* end confdefs.h. */
29588
29589 int
29590 main ()
29591 {
29592
29593 ;
29594 return 0;
29595 }
29596 _ACEOF
29597 rm -f conftest.$ac_objext conftest$ac_exeext
29598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29599 (eval $ac_link) 2>conftest.er1
29600 ac_status=$?
29601 grep -v '^ *+' conftest.er1 >conftest.err
29602 rm -f conftest.er1
29603 cat conftest.err >&5
29604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29605 (exit $ac_status); } &&
29606 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29608 (eval $ac_try) 2>&5
29609 ac_status=$?
29610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29611 (exit $ac_status); }; } &&
29612 { ac_try='test -s conftest$ac_exeext'
29613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29614 (eval $ac_try) 2>&5
29615 ac_status=$?
29616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29617 (exit $ac_status); }; }; then
29618 ac_R_nospace=yes
29619 else
29620 echo "$as_me: failed program was:" >&5
29621 sed 's/^/| /' conftest.$ac_ext >&5
29622
29623 ac_R_nospace=no
29624 fi
29625 rm -f conftest.err conftest.$ac_objext \
29626 conftest$ac_exeext conftest.$ac_ext
29627 if test $ac_R_nospace = yes; then
29628 echo "$as_me:$LINENO: result: no" >&5
29629 echo "${ECHO_T}no" >&6
29630 X_LIBS="$X_LIBS -R$x_libraries"
29631 else
29632 LIBS="$ac_xsave_LIBS -R $x_libraries"
29633 cat >conftest.$ac_ext <<_ACEOF
29634 /* confdefs.h. */
29635 _ACEOF
29636 cat confdefs.h >>conftest.$ac_ext
29637 cat >>conftest.$ac_ext <<_ACEOF
29638 /* end confdefs.h. */
29639
29640 int
29641 main ()
29642 {
29643
29644 ;
29645 return 0;
29646 }
29647 _ACEOF
29648 rm -f conftest.$ac_objext conftest$ac_exeext
29649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29650 (eval $ac_link) 2>conftest.er1
29651 ac_status=$?
29652 grep -v '^ *+' conftest.er1 >conftest.err
29653 rm -f conftest.er1
29654 cat conftest.err >&5
29655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29656 (exit $ac_status); } &&
29657 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29659 (eval $ac_try) 2>&5
29660 ac_status=$?
29661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29662 (exit $ac_status); }; } &&
29663 { ac_try='test -s conftest$ac_exeext'
29664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29665 (eval $ac_try) 2>&5
29666 ac_status=$?
29667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29668 (exit $ac_status); }; }; then
29669 ac_R_space=yes
29670 else
29671 echo "$as_me: failed program was:" >&5
29672 sed 's/^/| /' conftest.$ac_ext >&5
29673
29674 ac_R_space=no
29675 fi
29676 rm -f conftest.err conftest.$ac_objext \
29677 conftest$ac_exeext conftest.$ac_ext
29678 if test $ac_R_space = yes; then
29679 echo "$as_me:$LINENO: result: yes" >&5
29680 echo "${ECHO_T}yes" >&6
29681 X_LIBS="$X_LIBS -R $x_libraries"
29682 else
29683 echo "$as_me:$LINENO: result: neither works" >&5
29684 echo "${ECHO_T}neither works" >&6
29685 fi
29686 fi
29687 LIBS=$ac_xsave_LIBS
29688 esac
29689 fi
29690
29691 # Check for system-dependent libraries X programs must link with.
29692 # Do this before checking for the system-independent R6 libraries
29693 # (-lICE), since we may need -lsocket or whatever for X linking.
29694
29695 if test "$ISC" = yes; then
29696 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29697 else
29698 # Martyn Johnson says this is needed for Ultrix, if the X
29699 # libraries were built with DECnet support. And Karl Berry says
29700 # the Alpha needs dnet_stub (dnet does not exist).
29701 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29702 cat >conftest.$ac_ext <<_ACEOF
29703 /* confdefs.h. */
29704 _ACEOF
29705 cat confdefs.h >>conftest.$ac_ext
29706 cat >>conftest.$ac_ext <<_ACEOF
29707 /* end confdefs.h. */
29708
29709 /* Override any gcc2 internal prototype to avoid an error. */
29710 #ifdef __cplusplus
29711 extern "C"
29712 #endif
29713 /* We use char because int might match the return type of a gcc2
29714 builtin and then its argument prototype would still apply. */
29715 char XOpenDisplay ();
29716 int
29717 main ()
29718 {
29719 XOpenDisplay ();
29720 ;
29721 return 0;
29722 }
29723 _ACEOF
29724 rm -f conftest.$ac_objext conftest$ac_exeext
29725 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29726 (eval $ac_link) 2>conftest.er1
29727 ac_status=$?
29728 grep -v '^ *+' conftest.er1 >conftest.err
29729 rm -f conftest.er1
29730 cat conftest.err >&5
29731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29732 (exit $ac_status); } &&
29733 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29735 (eval $ac_try) 2>&5
29736 ac_status=$?
29737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29738 (exit $ac_status); }; } &&
29739 { ac_try='test -s conftest$ac_exeext'
29740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29741 (eval $ac_try) 2>&5
29742 ac_status=$?
29743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29744 (exit $ac_status); }; }; then
29745 :
29746 else
29747 echo "$as_me: failed program was:" >&5
29748 sed 's/^/| /' conftest.$ac_ext >&5
29749
29750 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29751 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6
29752 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29753 echo $ECHO_N "(cached) $ECHO_C" >&6
29754 else
29755 ac_check_lib_save_LIBS=$LIBS
29756 LIBS="-ldnet $LIBS"
29757 cat >conftest.$ac_ext <<_ACEOF
29758 /* confdefs.h. */
29759 _ACEOF
29760 cat confdefs.h >>conftest.$ac_ext
29761 cat >>conftest.$ac_ext <<_ACEOF
29762 /* end confdefs.h. */
29763
29764 /* Override any gcc2 internal prototype to avoid an error. */
29765 #ifdef __cplusplus
29766 extern "C"
29767 #endif
29768 /* We use char because int might match the return type of a gcc2
29769 builtin and then its argument prototype would still apply. */
29770 char dnet_ntoa ();
29771 int
29772 main ()
29773 {
29774 dnet_ntoa ();
29775 ;
29776 return 0;
29777 }
29778 _ACEOF
29779 rm -f conftest.$ac_objext conftest$ac_exeext
29780 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29781 (eval $ac_link) 2>conftest.er1
29782 ac_status=$?
29783 grep -v '^ *+' conftest.er1 >conftest.err
29784 rm -f conftest.er1
29785 cat conftest.err >&5
29786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29787 (exit $ac_status); } &&
29788 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29790 (eval $ac_try) 2>&5
29791 ac_status=$?
29792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29793 (exit $ac_status); }; } &&
29794 { ac_try='test -s conftest$ac_exeext'
29795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29796 (eval $ac_try) 2>&5
29797 ac_status=$?
29798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29799 (exit $ac_status); }; }; then
29800 ac_cv_lib_dnet_dnet_ntoa=yes
29801 else
29802 echo "$as_me: failed program was:" >&5
29803 sed 's/^/| /' conftest.$ac_ext >&5
29804
29805 ac_cv_lib_dnet_dnet_ntoa=no
29806 fi
29807 rm -f conftest.err conftest.$ac_objext \
29808 conftest$ac_exeext conftest.$ac_ext
29809 LIBS=$ac_check_lib_save_LIBS
29810 fi
29811 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29812 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6
29813 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29814 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29815 fi
29816
29817 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29818 echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29819 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6
29820 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29821 echo $ECHO_N "(cached) $ECHO_C" >&6
29822 else
29823 ac_check_lib_save_LIBS=$LIBS
29824 LIBS="-ldnet_stub $LIBS"
29825 cat >conftest.$ac_ext <<_ACEOF
29826 /* confdefs.h. */
29827 _ACEOF
29828 cat confdefs.h >>conftest.$ac_ext
29829 cat >>conftest.$ac_ext <<_ACEOF
29830 /* end confdefs.h. */
29831
29832 /* Override any gcc2 internal prototype to avoid an error. */
29833 #ifdef __cplusplus
29834 extern "C"
29835 #endif
29836 /* We use char because int might match the return type of a gcc2
29837 builtin and then its argument prototype would still apply. */
29838 char dnet_ntoa ();
29839 int
29840 main ()
29841 {
29842 dnet_ntoa ();
29843 ;
29844 return 0;
29845 }
29846 _ACEOF
29847 rm -f conftest.$ac_objext conftest$ac_exeext
29848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29849 (eval $ac_link) 2>conftest.er1
29850 ac_status=$?
29851 grep -v '^ *+' conftest.er1 >conftest.err
29852 rm -f conftest.er1
29853 cat conftest.err >&5
29854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29855 (exit $ac_status); } &&
29856 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29858 (eval $ac_try) 2>&5
29859 ac_status=$?
29860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29861 (exit $ac_status); }; } &&
29862 { ac_try='test -s conftest$ac_exeext'
29863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29864 (eval $ac_try) 2>&5
29865 ac_status=$?
29866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29867 (exit $ac_status); }; }; then
29868 ac_cv_lib_dnet_stub_dnet_ntoa=yes
29869 else
29870 echo "$as_me: failed program was:" >&5
29871 sed 's/^/| /' conftest.$ac_ext >&5
29872
29873 ac_cv_lib_dnet_stub_dnet_ntoa=no
29874 fi
29875 rm -f conftest.err conftest.$ac_objext \
29876 conftest$ac_exeext conftest.$ac_ext
29877 LIBS=$ac_check_lib_save_LIBS
29878 fi
29879 echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29880 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6
29881 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29882 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
29883 fi
29884
29885 fi
29886 fi
29887 rm -f conftest.err conftest.$ac_objext \
29888 conftest$ac_exeext conftest.$ac_ext
29889 LIBS="$ac_xsave_LIBS"
29890
29891 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29892 # to get the SysV transport functions.
29893 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29894 # needs -lnsl.
29895 # The nsl library prevents programs from opening the X display
29896 # on Irix 5.2, according to T.E. Dickey.
29897 # The functions gethostbyname, getservbyname, and inet_addr are
29898 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29899 echo "$as_me:$LINENO: checking for gethostbyname" >&5
29900 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
29901 if test "${ac_cv_func_gethostbyname+set}" = set; then
29902 echo $ECHO_N "(cached) $ECHO_C" >&6
29903 else
29904 cat >conftest.$ac_ext <<_ACEOF
29905 /* confdefs.h. */
29906 _ACEOF
29907 cat confdefs.h >>conftest.$ac_ext
29908 cat >>conftest.$ac_ext <<_ACEOF
29909 /* end confdefs.h. */
29910 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29912 #define gethostbyname innocuous_gethostbyname
29913
29914 /* System header to define __stub macros and hopefully few prototypes,
29915 which can conflict with char gethostbyname (); below.
29916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29917 <limits.h> exists even on freestanding compilers. */
29918
29919 #ifdef __STDC__
29920 # include <limits.h>
29921 #else
29922 # include <assert.h>
29923 #endif
29924
29925 #undef gethostbyname
29926
29927 /* Override any gcc2 internal prototype to avoid an error. */
29928 #ifdef __cplusplus
29929 extern "C"
29930 {
29931 #endif
29932 /* We use char because int might match the return type of a gcc2
29933 builtin and then its argument prototype would still apply. */
29934 char gethostbyname ();
29935 /* The GNU C library defines this for functions which it implements
29936 to always fail with ENOSYS. Some functions are actually named
29937 something starting with __ and the normal name is an alias. */
29938 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
29939 choke me
29940 #else
29941 char (*f) () = gethostbyname;
29942 #endif
29943 #ifdef __cplusplus
29944 }
29945 #endif
29946
29947 int
29948 main ()
29949 {
29950 return f != gethostbyname;
29951 ;
29952 return 0;
29953 }
29954 _ACEOF
29955 rm -f conftest.$ac_objext conftest$ac_exeext
29956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29957 (eval $ac_link) 2>conftest.er1
29958 ac_status=$?
29959 grep -v '^ *+' conftest.er1 >conftest.err
29960 rm -f conftest.er1
29961 cat conftest.err >&5
29962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29963 (exit $ac_status); } &&
29964 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
29965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29966 (eval $ac_try) 2>&5
29967 ac_status=$?
29968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29969 (exit $ac_status); }; } &&
29970 { ac_try='test -s conftest$ac_exeext'
29971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29972 (eval $ac_try) 2>&5
29973 ac_status=$?
29974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29975 (exit $ac_status); }; }; then
29976 ac_cv_func_gethostbyname=yes
29977 else
29978 echo "$as_me: failed program was:" >&5
29979 sed 's/^/| /' conftest.$ac_ext >&5
29980
29981 ac_cv_func_gethostbyname=no
29982 fi
29983 rm -f conftest.err conftest.$ac_objext \
29984 conftest$ac_exeext conftest.$ac_ext
29985 fi
29986 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29987 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
29988
29989 if test $ac_cv_func_gethostbyname = no; then
29990 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29991 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
29992 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29993 echo $ECHO_N "(cached) $ECHO_C" >&6
29994 else
29995 ac_check_lib_save_LIBS=$LIBS
29996 LIBS="-lnsl $LIBS"
29997 cat >conftest.$ac_ext <<_ACEOF
29998 /* confdefs.h. */
29999 _ACEOF
30000 cat confdefs.h >>conftest.$ac_ext
30001 cat >>conftest.$ac_ext <<_ACEOF
30002 /* end confdefs.h. */
30003
30004 /* Override any gcc2 internal prototype to avoid an error. */
30005 #ifdef __cplusplus
30006 extern "C"
30007 #endif
30008 /* We use char because int might match the return type of a gcc2
30009 builtin and then its argument prototype would still apply. */
30010 char gethostbyname ();
30011 int
30012 main ()
30013 {
30014 gethostbyname ();
30015 ;
30016 return 0;
30017 }
30018 _ACEOF
30019 rm -f conftest.$ac_objext conftest$ac_exeext
30020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30021 (eval $ac_link) 2>conftest.er1
30022 ac_status=$?
30023 grep -v '^ *+' conftest.er1 >conftest.err
30024 rm -f conftest.er1
30025 cat conftest.err >&5
30026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30027 (exit $ac_status); } &&
30028 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30030 (eval $ac_try) 2>&5
30031 ac_status=$?
30032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30033 (exit $ac_status); }; } &&
30034 { ac_try='test -s conftest$ac_exeext'
30035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30036 (eval $ac_try) 2>&5
30037 ac_status=$?
30038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30039 (exit $ac_status); }; }; then
30040 ac_cv_lib_nsl_gethostbyname=yes
30041 else
30042 echo "$as_me: failed program was:" >&5
30043 sed 's/^/| /' conftest.$ac_ext >&5
30044
30045 ac_cv_lib_nsl_gethostbyname=no
30046 fi
30047 rm -f conftest.err conftest.$ac_objext \
30048 conftest$ac_exeext conftest.$ac_ext
30049 LIBS=$ac_check_lib_save_LIBS
30050 fi
30051 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30052 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
30053 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30054 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30055 fi
30056
30057 if test $ac_cv_lib_nsl_gethostbyname = no; then
30058 echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30059 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6
30060 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30061 echo $ECHO_N "(cached) $ECHO_C" >&6
30062 else
30063 ac_check_lib_save_LIBS=$LIBS
30064 LIBS="-lbsd $LIBS"
30065 cat >conftest.$ac_ext <<_ACEOF
30066 /* confdefs.h. */
30067 _ACEOF
30068 cat confdefs.h >>conftest.$ac_ext
30069 cat >>conftest.$ac_ext <<_ACEOF
30070 /* end confdefs.h. */
30071
30072 /* Override any gcc2 internal prototype to avoid an error. */
30073 #ifdef __cplusplus
30074 extern "C"
30075 #endif
30076 /* We use char because int might match the return type of a gcc2
30077 builtin and then its argument prototype would still apply. */
30078 char gethostbyname ();
30079 int
30080 main ()
30081 {
30082 gethostbyname ();
30083 ;
30084 return 0;
30085 }
30086 _ACEOF
30087 rm -f conftest.$ac_objext conftest$ac_exeext
30088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30089 (eval $ac_link) 2>conftest.er1
30090 ac_status=$?
30091 grep -v '^ *+' conftest.er1 >conftest.err
30092 rm -f conftest.er1
30093 cat conftest.err >&5
30094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30095 (exit $ac_status); } &&
30096 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30098 (eval $ac_try) 2>&5
30099 ac_status=$?
30100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30101 (exit $ac_status); }; } &&
30102 { ac_try='test -s conftest$ac_exeext'
30103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30104 (eval $ac_try) 2>&5
30105 ac_status=$?
30106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30107 (exit $ac_status); }; }; then
30108 ac_cv_lib_bsd_gethostbyname=yes
30109 else
30110 echo "$as_me: failed program was:" >&5
30111 sed 's/^/| /' conftest.$ac_ext >&5
30112
30113 ac_cv_lib_bsd_gethostbyname=no
30114 fi
30115 rm -f conftest.err conftest.$ac_objext \
30116 conftest$ac_exeext conftest.$ac_ext
30117 LIBS=$ac_check_lib_save_LIBS
30118 fi
30119 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30120 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6
30121 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30122 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30123 fi
30124
30125 fi
30126 fi
30127
30128 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30129 # socket/setsockopt and other routines are undefined under SCO ODT
30130 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30131 # on later versions), says Simon Leinen: it contains gethostby*
30132 # variants that don't use the name server (or something). -lsocket
30133 # must be given before -lnsl if both are needed. We assume that
30134 # if connect needs -lnsl, so does gethostbyname.
30135 echo "$as_me:$LINENO: checking for connect" >&5
30136 echo $ECHO_N "checking for connect... $ECHO_C" >&6
30137 if test "${ac_cv_func_connect+set}" = set; then
30138 echo $ECHO_N "(cached) $ECHO_C" >&6
30139 else
30140 cat >conftest.$ac_ext <<_ACEOF
30141 /* confdefs.h. */
30142 _ACEOF
30143 cat confdefs.h >>conftest.$ac_ext
30144 cat >>conftest.$ac_ext <<_ACEOF
30145 /* end confdefs.h. */
30146 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30148 #define connect innocuous_connect
30149
30150 /* System header to define __stub macros and hopefully few prototypes,
30151 which can conflict with char connect (); below.
30152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30153 <limits.h> exists even on freestanding compilers. */
30154
30155 #ifdef __STDC__
30156 # include <limits.h>
30157 #else
30158 # include <assert.h>
30159 #endif
30160
30161 #undef connect
30162
30163 /* Override any gcc2 internal prototype to avoid an error. */
30164 #ifdef __cplusplus
30165 extern "C"
30166 {
30167 #endif
30168 /* We use char because int might match the return type of a gcc2
30169 builtin and then its argument prototype would still apply. */
30170 char connect ();
30171 /* The GNU C library defines this for functions which it implements
30172 to always fail with ENOSYS. Some functions are actually named
30173 something starting with __ and the normal name is an alias. */
30174 #if defined (__stub_connect) || defined (__stub___connect)
30175 choke me
30176 #else
30177 char (*f) () = connect;
30178 #endif
30179 #ifdef __cplusplus
30180 }
30181 #endif
30182
30183 int
30184 main ()
30185 {
30186 return f != connect;
30187 ;
30188 return 0;
30189 }
30190 _ACEOF
30191 rm -f conftest.$ac_objext conftest$ac_exeext
30192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30193 (eval $ac_link) 2>conftest.er1
30194 ac_status=$?
30195 grep -v '^ *+' conftest.er1 >conftest.err
30196 rm -f conftest.er1
30197 cat conftest.err >&5
30198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30199 (exit $ac_status); } &&
30200 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30202 (eval $ac_try) 2>&5
30203 ac_status=$?
30204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30205 (exit $ac_status); }; } &&
30206 { ac_try='test -s conftest$ac_exeext'
30207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30208 (eval $ac_try) 2>&5
30209 ac_status=$?
30210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30211 (exit $ac_status); }; }; then
30212 ac_cv_func_connect=yes
30213 else
30214 echo "$as_me: failed program was:" >&5
30215 sed 's/^/| /' conftest.$ac_ext >&5
30216
30217 ac_cv_func_connect=no
30218 fi
30219 rm -f conftest.err conftest.$ac_objext \
30220 conftest$ac_exeext conftest.$ac_ext
30221 fi
30222 echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30223 echo "${ECHO_T}$ac_cv_func_connect" >&6
30224
30225 if test $ac_cv_func_connect = no; then
30226 echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30227 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6
30228 if test "${ac_cv_lib_socket_connect+set}" = set; then
30229 echo $ECHO_N "(cached) $ECHO_C" >&6
30230 else
30231 ac_check_lib_save_LIBS=$LIBS
30232 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30233 cat >conftest.$ac_ext <<_ACEOF
30234 /* confdefs.h. */
30235 _ACEOF
30236 cat confdefs.h >>conftest.$ac_ext
30237 cat >>conftest.$ac_ext <<_ACEOF
30238 /* end confdefs.h. */
30239
30240 /* Override any gcc2 internal prototype to avoid an error. */
30241 #ifdef __cplusplus
30242 extern "C"
30243 #endif
30244 /* We use char because int might match the return type of a gcc2
30245 builtin and then its argument prototype would still apply. */
30246 char connect ();
30247 int
30248 main ()
30249 {
30250 connect ();
30251 ;
30252 return 0;
30253 }
30254 _ACEOF
30255 rm -f conftest.$ac_objext conftest$ac_exeext
30256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30257 (eval $ac_link) 2>conftest.er1
30258 ac_status=$?
30259 grep -v '^ *+' conftest.er1 >conftest.err
30260 rm -f conftest.er1
30261 cat conftest.err >&5
30262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30263 (exit $ac_status); } &&
30264 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30266 (eval $ac_try) 2>&5
30267 ac_status=$?
30268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30269 (exit $ac_status); }; } &&
30270 { ac_try='test -s conftest$ac_exeext'
30271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30272 (eval $ac_try) 2>&5
30273 ac_status=$?
30274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30275 (exit $ac_status); }; }; then
30276 ac_cv_lib_socket_connect=yes
30277 else
30278 echo "$as_me: failed program was:" >&5
30279 sed 's/^/| /' conftest.$ac_ext >&5
30280
30281 ac_cv_lib_socket_connect=no
30282 fi
30283 rm -f conftest.err conftest.$ac_objext \
30284 conftest$ac_exeext conftest.$ac_ext
30285 LIBS=$ac_check_lib_save_LIBS
30286 fi
30287 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30288 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6
30289 if test $ac_cv_lib_socket_connect = yes; then
30290 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30291 fi
30292
30293 fi
30294
30295 # Guillermo Gomez says -lposix is necessary on A/UX.
30296 echo "$as_me:$LINENO: checking for remove" >&5
30297 echo $ECHO_N "checking for remove... $ECHO_C" >&6
30298 if test "${ac_cv_func_remove+set}" = set; then
30299 echo $ECHO_N "(cached) $ECHO_C" >&6
30300 else
30301 cat >conftest.$ac_ext <<_ACEOF
30302 /* confdefs.h. */
30303 _ACEOF
30304 cat confdefs.h >>conftest.$ac_ext
30305 cat >>conftest.$ac_ext <<_ACEOF
30306 /* end confdefs.h. */
30307 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30309 #define remove innocuous_remove
30310
30311 /* System header to define __stub macros and hopefully few prototypes,
30312 which can conflict with char remove (); below.
30313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30314 <limits.h> exists even on freestanding compilers. */
30315
30316 #ifdef __STDC__
30317 # include <limits.h>
30318 #else
30319 # include <assert.h>
30320 #endif
30321
30322 #undef remove
30323
30324 /* Override any gcc2 internal prototype to avoid an error. */
30325 #ifdef __cplusplus
30326 extern "C"
30327 {
30328 #endif
30329 /* We use char because int might match the return type of a gcc2
30330 builtin and then its argument prototype would still apply. */
30331 char remove ();
30332 /* The GNU C library defines this for functions which it implements
30333 to always fail with ENOSYS. Some functions are actually named
30334 something starting with __ and the normal name is an alias. */
30335 #if defined (__stub_remove) || defined (__stub___remove)
30336 choke me
30337 #else
30338 char (*f) () = remove;
30339 #endif
30340 #ifdef __cplusplus
30341 }
30342 #endif
30343
30344 int
30345 main ()
30346 {
30347 return f != remove;
30348 ;
30349 return 0;
30350 }
30351 _ACEOF
30352 rm -f conftest.$ac_objext conftest$ac_exeext
30353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30354 (eval $ac_link) 2>conftest.er1
30355 ac_status=$?
30356 grep -v '^ *+' conftest.er1 >conftest.err
30357 rm -f conftest.er1
30358 cat conftest.err >&5
30359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30360 (exit $ac_status); } &&
30361 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30363 (eval $ac_try) 2>&5
30364 ac_status=$?
30365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30366 (exit $ac_status); }; } &&
30367 { ac_try='test -s conftest$ac_exeext'
30368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30369 (eval $ac_try) 2>&5
30370 ac_status=$?
30371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30372 (exit $ac_status); }; }; then
30373 ac_cv_func_remove=yes
30374 else
30375 echo "$as_me: failed program was:" >&5
30376 sed 's/^/| /' conftest.$ac_ext >&5
30377
30378 ac_cv_func_remove=no
30379 fi
30380 rm -f conftest.err conftest.$ac_objext \
30381 conftest$ac_exeext conftest.$ac_ext
30382 fi
30383 echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30384 echo "${ECHO_T}$ac_cv_func_remove" >&6
30385
30386 if test $ac_cv_func_remove = no; then
30387 echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30388 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6
30389 if test "${ac_cv_lib_posix_remove+set}" = set; then
30390 echo $ECHO_N "(cached) $ECHO_C" >&6
30391 else
30392 ac_check_lib_save_LIBS=$LIBS
30393 LIBS="-lposix $LIBS"
30394 cat >conftest.$ac_ext <<_ACEOF
30395 /* confdefs.h. */
30396 _ACEOF
30397 cat confdefs.h >>conftest.$ac_ext
30398 cat >>conftest.$ac_ext <<_ACEOF
30399 /* end confdefs.h. */
30400
30401 /* Override any gcc2 internal prototype to avoid an error. */
30402 #ifdef __cplusplus
30403 extern "C"
30404 #endif
30405 /* We use char because int might match the return type of a gcc2
30406 builtin and then its argument prototype would still apply. */
30407 char remove ();
30408 int
30409 main ()
30410 {
30411 remove ();
30412 ;
30413 return 0;
30414 }
30415 _ACEOF
30416 rm -f conftest.$ac_objext conftest$ac_exeext
30417 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30418 (eval $ac_link) 2>conftest.er1
30419 ac_status=$?
30420 grep -v '^ *+' conftest.er1 >conftest.err
30421 rm -f conftest.er1
30422 cat conftest.err >&5
30423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30424 (exit $ac_status); } &&
30425 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30427 (eval $ac_try) 2>&5
30428 ac_status=$?
30429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30430 (exit $ac_status); }; } &&
30431 { ac_try='test -s conftest$ac_exeext'
30432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30433 (eval $ac_try) 2>&5
30434 ac_status=$?
30435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30436 (exit $ac_status); }; }; then
30437 ac_cv_lib_posix_remove=yes
30438 else
30439 echo "$as_me: failed program was:" >&5
30440 sed 's/^/| /' conftest.$ac_ext >&5
30441
30442 ac_cv_lib_posix_remove=no
30443 fi
30444 rm -f conftest.err conftest.$ac_objext \
30445 conftest$ac_exeext conftest.$ac_ext
30446 LIBS=$ac_check_lib_save_LIBS
30447 fi
30448 echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30449 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6
30450 if test $ac_cv_lib_posix_remove = yes; then
30451 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30452 fi
30453
30454 fi
30455
30456 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30457 echo "$as_me:$LINENO: checking for shmat" >&5
30458 echo $ECHO_N "checking for shmat... $ECHO_C" >&6
30459 if test "${ac_cv_func_shmat+set}" = set; then
30460 echo $ECHO_N "(cached) $ECHO_C" >&6
30461 else
30462 cat >conftest.$ac_ext <<_ACEOF
30463 /* confdefs.h. */
30464 _ACEOF
30465 cat confdefs.h >>conftest.$ac_ext
30466 cat >>conftest.$ac_ext <<_ACEOF
30467 /* end confdefs.h. */
30468 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30469 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30470 #define shmat innocuous_shmat
30471
30472 /* System header to define __stub macros and hopefully few prototypes,
30473 which can conflict with char shmat (); below.
30474 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30475 <limits.h> exists even on freestanding compilers. */
30476
30477 #ifdef __STDC__
30478 # include <limits.h>
30479 #else
30480 # include <assert.h>
30481 #endif
30482
30483 #undef shmat
30484
30485 /* Override any gcc2 internal prototype to avoid an error. */
30486 #ifdef __cplusplus
30487 extern "C"
30488 {
30489 #endif
30490 /* We use char because int might match the return type of a gcc2
30491 builtin and then its argument prototype would still apply. */
30492 char shmat ();
30493 /* The GNU C library defines this for functions which it implements
30494 to always fail with ENOSYS. Some functions are actually named
30495 something starting with __ and the normal name is an alias. */
30496 #if defined (__stub_shmat) || defined (__stub___shmat)
30497 choke me
30498 #else
30499 char (*f) () = shmat;
30500 #endif
30501 #ifdef __cplusplus
30502 }
30503 #endif
30504
30505 int
30506 main ()
30507 {
30508 return f != shmat;
30509 ;
30510 return 0;
30511 }
30512 _ACEOF
30513 rm -f conftest.$ac_objext conftest$ac_exeext
30514 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30515 (eval $ac_link) 2>conftest.er1
30516 ac_status=$?
30517 grep -v '^ *+' conftest.er1 >conftest.err
30518 rm -f conftest.er1
30519 cat conftest.err >&5
30520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30521 (exit $ac_status); } &&
30522 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30524 (eval $ac_try) 2>&5
30525 ac_status=$?
30526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30527 (exit $ac_status); }; } &&
30528 { ac_try='test -s conftest$ac_exeext'
30529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30530 (eval $ac_try) 2>&5
30531 ac_status=$?
30532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30533 (exit $ac_status); }; }; then
30534 ac_cv_func_shmat=yes
30535 else
30536 echo "$as_me: failed program was:" >&5
30537 sed 's/^/| /' conftest.$ac_ext >&5
30538
30539 ac_cv_func_shmat=no
30540 fi
30541 rm -f conftest.err conftest.$ac_objext \
30542 conftest$ac_exeext conftest.$ac_ext
30543 fi
30544 echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30545 echo "${ECHO_T}$ac_cv_func_shmat" >&6
30546
30547 if test $ac_cv_func_shmat = no; then
30548 echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30549 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6
30550 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30551 echo $ECHO_N "(cached) $ECHO_C" >&6
30552 else
30553 ac_check_lib_save_LIBS=$LIBS
30554 LIBS="-lipc $LIBS"
30555 cat >conftest.$ac_ext <<_ACEOF
30556 /* confdefs.h. */
30557 _ACEOF
30558 cat confdefs.h >>conftest.$ac_ext
30559 cat >>conftest.$ac_ext <<_ACEOF
30560 /* end confdefs.h. */
30561
30562 /* Override any gcc2 internal prototype to avoid an error. */
30563 #ifdef __cplusplus
30564 extern "C"
30565 #endif
30566 /* We use char because int might match the return type of a gcc2
30567 builtin and then its argument prototype would still apply. */
30568 char shmat ();
30569 int
30570 main ()
30571 {
30572 shmat ();
30573 ;
30574 return 0;
30575 }
30576 _ACEOF
30577 rm -f conftest.$ac_objext conftest$ac_exeext
30578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30579 (eval $ac_link) 2>conftest.er1
30580 ac_status=$?
30581 grep -v '^ *+' conftest.er1 >conftest.err
30582 rm -f conftest.er1
30583 cat conftest.err >&5
30584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30585 (exit $ac_status); } &&
30586 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30588 (eval $ac_try) 2>&5
30589 ac_status=$?
30590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30591 (exit $ac_status); }; } &&
30592 { ac_try='test -s conftest$ac_exeext'
30593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30594 (eval $ac_try) 2>&5
30595 ac_status=$?
30596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30597 (exit $ac_status); }; }; then
30598 ac_cv_lib_ipc_shmat=yes
30599 else
30600 echo "$as_me: failed program was:" >&5
30601 sed 's/^/| /' conftest.$ac_ext >&5
30602
30603 ac_cv_lib_ipc_shmat=no
30604 fi
30605 rm -f conftest.err conftest.$ac_objext \
30606 conftest$ac_exeext conftest.$ac_ext
30607 LIBS=$ac_check_lib_save_LIBS
30608 fi
30609 echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30610 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6
30611 if test $ac_cv_lib_ipc_shmat = yes; then
30612 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30613 fi
30614
30615 fi
30616 fi
30617
30618 # Check for libraries that X11R6 Xt/Xaw programs need.
30619 ac_save_LDFLAGS=$LDFLAGS
30620 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30621 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30622 # check for ICE first), but we must link in the order -lSM -lICE or
30623 # we get undefined symbols. So assume we have SM if we have ICE.
30624 # These have to be linked with before -lX11, unlike the other
30625 # libraries we check for below, so use a different variable.
30626 # John Interrante, Karl Berry
30627 echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30628 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6
30629 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30630 echo $ECHO_N "(cached) $ECHO_C" >&6
30631 else
30632 ac_check_lib_save_LIBS=$LIBS
30633 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30634 cat >conftest.$ac_ext <<_ACEOF
30635 /* confdefs.h. */
30636 _ACEOF
30637 cat confdefs.h >>conftest.$ac_ext
30638 cat >>conftest.$ac_ext <<_ACEOF
30639 /* end confdefs.h. */
30640
30641 /* Override any gcc2 internal prototype to avoid an error. */
30642 #ifdef __cplusplus
30643 extern "C"
30644 #endif
30645 /* We use char because int might match the return type of a gcc2
30646 builtin and then its argument prototype would still apply. */
30647 char IceConnectionNumber ();
30648 int
30649 main ()
30650 {
30651 IceConnectionNumber ();
30652 ;
30653 return 0;
30654 }
30655 _ACEOF
30656 rm -f conftest.$ac_objext conftest$ac_exeext
30657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30658 (eval $ac_link) 2>conftest.er1
30659 ac_status=$?
30660 grep -v '^ *+' conftest.er1 >conftest.err
30661 rm -f conftest.er1
30662 cat conftest.err >&5
30663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30664 (exit $ac_status); } &&
30665 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
30666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30667 (eval $ac_try) 2>&5
30668 ac_status=$?
30669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30670 (exit $ac_status); }; } &&
30671 { ac_try='test -s conftest$ac_exeext'
30672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30673 (eval $ac_try) 2>&5
30674 ac_status=$?
30675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30676 (exit $ac_status); }; }; then
30677 ac_cv_lib_ICE_IceConnectionNumber=yes
30678 else
30679 echo "$as_me: failed program was:" >&5
30680 sed 's/^/| /' conftest.$ac_ext >&5
30681
30682 ac_cv_lib_ICE_IceConnectionNumber=no
30683 fi
30684 rm -f conftest.err conftest.$ac_objext \
30685 conftest$ac_exeext conftest.$ac_ext
30686 LIBS=$ac_check_lib_save_LIBS
30687 fi
30688 echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30689 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6
30690 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30691 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30692 fi
30693
30694 LDFLAGS=$ac_save_LDFLAGS
30695
30696 fi
30697
30698
30699 if test "$no_x" = "yes"; then
30700 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30701 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30702 { (exit 1); exit 1; }; }
30703 fi
30704
30705 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30706 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30707 AFMINSTALL=afminstall
30708 COMPILED_X_PROGRAM=0
30709
30710 fi
30711
30712 if test "$wxUSE_X11" = 1; then
30713 if test "$wxUSE_NANOX" = "yes"; then
30714 echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30715 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6
30716 if test "x$MICROWIN" = x ; then
30717 echo "$as_me:$LINENO: result: not found" >&5
30718 echo "${ECHO_T}not found" >&6
30719 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30720 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30721 { (exit 1); exit 1; }; }
30722 else
30723 echo "$as_me:$LINENO: result: $MICROWIN" >&5
30724 echo "${ECHO_T}$MICROWIN" >&6
30725 cat >>confdefs.h <<\_ACEOF
30726 #define wxUSE_NANOX 1
30727 _ACEOF
30728
30729 fi
30730 fi
30731
30732 if test "$wxUSE_UNICODE" = "yes"; then
30733
30734 pkg_failed=no
30735 echo "$as_me:$LINENO: checking for PANGOX" >&5
30736 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6
30737
30738 if test -n "$PKG_CONFIG"; then
30739 if test -n "$PANGOX_CFLAGS"; then
30740 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
30741 else
30742 if test -n "$PKG_CONFIG" && \
30743 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30744 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30745 ac_status=$?
30746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30747 (exit $ac_status); }; then
30748 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30749 else
30750 pkg_failed=yes
30751 fi
30752 fi
30753 else
30754 pkg_failed=untried
30755 fi
30756 if test -n "$PKG_CONFIG"; then
30757 if test -n "$PANGOX_LIBS"; then
30758 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
30759 else
30760 if test -n "$PKG_CONFIG" && \
30761 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30762 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30763 ac_status=$?
30764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30765 (exit $ac_status); }; then
30766 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30767 else
30768 pkg_failed=yes
30769 fi
30770 fi
30771 else
30772 pkg_failed=untried
30773 fi
30774
30775
30776
30777 if test $pkg_failed = yes; then
30778
30779 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30780 _pkg_short_errors_supported=yes
30781 else
30782 _pkg_short_errors_supported=no
30783 fi
30784 if test $_pkg_short_errors_supported = yes; then
30785 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30786 else
30787 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30788 fi
30789 # Put the nasty error message in config.log where it belongs
30790 echo "$PANGOX_PKG_ERRORS" >&5
30791
30792
30793 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30794 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30795 { (exit 1); exit 1; }; }
30796
30797
30798 elif test $pkg_failed = untried; then
30799
30800 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30801 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30802 { (exit 1); exit 1; }; }
30803
30804
30805 else
30806 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
30807 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
30808 echo "$as_me:$LINENO: result: yes" >&5
30809 echo "${ECHO_T}yes" >&6
30810
30811 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30812 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
30813
30814 fi
30815
30816 pkg_failed=no
30817 echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30818 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6
30819
30820 if test -n "$PKG_CONFIG"; then
30821 if test -n "$PANGOFT2_CFLAGS"; then
30822 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
30823 else
30824 if test -n "$PKG_CONFIG" && \
30825 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30826 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30827 ac_status=$?
30828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30829 (exit $ac_status); }; then
30830 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30831 else
30832 pkg_failed=yes
30833 fi
30834 fi
30835 else
30836 pkg_failed=untried
30837 fi
30838 if test -n "$PKG_CONFIG"; then
30839 if test -n "$PANGOFT2_LIBS"; then
30840 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
30841 else
30842 if test -n "$PKG_CONFIG" && \
30843 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30844 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30845 ac_status=$?
30846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30847 (exit $ac_status); }; then
30848 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30849 else
30850 pkg_failed=yes
30851 fi
30852 fi
30853 else
30854 pkg_failed=untried
30855 fi
30856
30857
30858
30859 if test $pkg_failed = yes; then
30860
30861 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30862 _pkg_short_errors_supported=yes
30863 else
30864 _pkg_short_errors_supported=no
30865 fi
30866 if test $_pkg_short_errors_supported = yes; then
30867 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30868 else
30869 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30870 fi
30871 # Put the nasty error message in config.log where it belongs
30872 echo "$PANGOFT2_PKG_ERRORS" >&5
30873
30874
30875 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30876 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30877 wxUSE_PRINTING_ARCHITECTURE="no"
30878
30879
30880 elif test $pkg_failed = untried; then
30881
30882 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30883 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30884 wxUSE_PRINTING_ARCHITECTURE="no"
30885
30886
30887 else
30888 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
30889 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
30890 echo "$as_me:$LINENO: result: yes" >&5
30891 echo "${ECHO_T}yes" >&6
30892
30893 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
30894 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30895
30896 fi
30897
30898 pkg_failed=no
30899 echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30900 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6
30901
30902 if test -n "$PKG_CONFIG"; then
30903 if test -n "$PANGOXFT_CFLAGS"; then
30904 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
30905 else
30906 if test -n "$PKG_CONFIG" && \
30907 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30908 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30909 ac_status=$?
30910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30911 (exit $ac_status); }; then
30912 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30913 else
30914 pkg_failed=yes
30915 fi
30916 fi
30917 else
30918 pkg_failed=untried
30919 fi
30920 if test -n "$PKG_CONFIG"; then
30921 if test -n "$PANGOXFT_LIBS"; then
30922 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
30923 else
30924 if test -n "$PKG_CONFIG" && \
30925 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30926 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30927 ac_status=$?
30928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30929 (exit $ac_status); }; then
30930 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30931 else
30932 pkg_failed=yes
30933 fi
30934 fi
30935 else
30936 pkg_failed=untried
30937 fi
30938
30939
30940
30941 if test $pkg_failed = yes; then
30942
30943 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30944 _pkg_short_errors_supported=yes
30945 else
30946 _pkg_short_errors_supported=no
30947 fi
30948 if test $_pkg_short_errors_supported = yes; then
30949 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30950 else
30951 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30952 fi
30953 # Put the nasty error message in config.log where it belongs
30954 echo "$PANGOXFT_PKG_ERRORS" >&5
30955
30956
30957 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30958 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30959
30960
30961 elif test $pkg_failed = untried; then
30962
30963 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30964 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30965
30966
30967 else
30968 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
30969 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
30970 echo "$as_me:$LINENO: result: yes" >&5
30971 echo "${ECHO_T}yes" >&6
30972
30973 cat >>confdefs.h <<\_ACEOF
30974 #define HAVE_PANGO_XFT 1
30975 _ACEOF
30976
30977 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
30978 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30979
30980 fi
30981 save_CXXFLAGS="$CXXFLAGS"
30982 save_LIBS="$LIBS"
30983 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30984 LIBS="$LIBS $PANGOX_LIBS"
30985
30986 for ac_func in pango_font_family_is_monospace
30987 do
30988 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30989 echo "$as_me:$LINENO: checking for $ac_func" >&5
30990 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30991 if eval "test \"\${$as_ac_var+set}\" = set"; then
30992 echo $ECHO_N "(cached) $ECHO_C" >&6
30993 else
30994 cat >conftest.$ac_ext <<_ACEOF
30995 /* confdefs.h. */
30996 _ACEOF
30997 cat confdefs.h >>conftest.$ac_ext
30998 cat >>conftest.$ac_ext <<_ACEOF
30999 /* end confdefs.h. */
31000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31002 #define $ac_func innocuous_$ac_func
31003
31004 /* System header to define __stub macros and hopefully few prototypes,
31005 which can conflict with char $ac_func (); below.
31006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31007 <limits.h> exists even on freestanding compilers. */
31008
31009 #ifdef __STDC__
31010 # include <limits.h>
31011 #else
31012 # include <assert.h>
31013 #endif
31014
31015 #undef $ac_func
31016
31017 /* Override any gcc2 internal prototype to avoid an error. */
31018 #ifdef __cplusplus
31019 extern "C"
31020 {
31021 #endif
31022 /* We use char because int might match the return type of a gcc2
31023 builtin and then its argument prototype would still apply. */
31024 char $ac_func ();
31025 /* The GNU C library defines this for functions which it implements
31026 to always fail with ENOSYS. Some functions are actually named
31027 something starting with __ and the normal name is an alias. */
31028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31029 choke me
31030 #else
31031 char (*f) () = $ac_func;
31032 #endif
31033 #ifdef __cplusplus
31034 }
31035 #endif
31036
31037 int
31038 main ()
31039 {
31040 return f != $ac_func;
31041 ;
31042 return 0;
31043 }
31044 _ACEOF
31045 rm -f conftest.$ac_objext conftest$ac_exeext
31046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31047 (eval $ac_link) 2>conftest.er1
31048 ac_status=$?
31049 grep -v '^ *+' conftest.er1 >conftest.err
31050 rm -f conftest.er1
31051 cat conftest.err >&5
31052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31053 (exit $ac_status); } &&
31054 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31056 (eval $ac_try) 2>&5
31057 ac_status=$?
31058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31059 (exit $ac_status); }; } &&
31060 { ac_try='test -s conftest$ac_exeext'
31061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31062 (eval $ac_try) 2>&5
31063 ac_status=$?
31064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31065 (exit $ac_status); }; }; then
31066 eval "$as_ac_var=yes"
31067 else
31068 echo "$as_me: failed program was:" >&5
31069 sed 's/^/| /' conftest.$ac_ext >&5
31070
31071 eval "$as_ac_var=no"
31072 fi
31073 rm -f conftest.err conftest.$ac_objext \
31074 conftest$ac_exeext conftest.$ac_ext
31075 fi
31076 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31077 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31078 if test `eval echo '${'$as_ac_var'}'` = yes; then
31079 cat >>confdefs.h <<_ACEOF
31080 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31081 _ACEOF
31082
31083 fi
31084 done
31085
31086 CXXFLAGS="$save_CXXFLAGS"
31087 LIBS="$save_LIBS"
31088 fi
31089
31090 wxUSE_UNIVERSAL="yes"
31091
31092 if test "$wxUSE_NANOX" = "yes"; then
31093 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31094 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"
31095 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31096 else
31097 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31098 fi
31099
31100 TOOLKIT=X11
31101 GUIDIST=X11_DIST
31102 fi
31103
31104 if test "$wxUSE_MOTIF" = 1; then
31105 if test "$wxUSE_UNICODE" = "yes"; then
31106 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
31107 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
31108 { (exit 1); exit 1; }; }
31109 fi
31110
31111 echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31112 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6
31113
31114 ac_find_includes=
31115 for ac_dir in $SEARCH_INCLUDE /usr/include;
31116 do
31117 if test -f "$ac_dir/Xm/Xm.h"; then
31118 ac_find_includes=$ac_dir
31119 break
31120 fi
31121 done
31122
31123 if test "$ac_find_includes" != "" ; then
31124 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31125 echo "${ECHO_T}found in $ac_find_includes" >&6
31126
31127 if test "x$ac_find_includes" = "x/usr/include"; then
31128 ac_path_to_include=""
31129 else
31130 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31131 result=$?
31132 if test $result = 0; then
31133 ac_path_to_include=""
31134 else
31135 ac_path_to_include=" -I$ac_find_includes"
31136 fi
31137 fi
31138
31139 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31140 else
31141 save_CXXFLAGS=$CXXFLAGS
31142 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31143
31144 cat >conftest.$ac_ext <<_ACEOF
31145 /* confdefs.h. */
31146 _ACEOF
31147 cat confdefs.h >>conftest.$ac_ext
31148 cat >>conftest.$ac_ext <<_ACEOF
31149 /* end confdefs.h. */
31150
31151 #include <Xm/Xm.h>
31152
31153 int
31154 main ()
31155 {
31156
31157 int version;
31158 version = xmUseVersion;
31159
31160 ;
31161 return 0;
31162 }
31163 _ACEOF
31164 rm -f conftest.$ac_objext
31165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31166 (eval $ac_compile) 2>conftest.er1
31167 ac_status=$?
31168 grep -v '^ *+' conftest.er1 >conftest.err
31169 rm -f conftest.er1
31170 cat conftest.err >&5
31171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31172 (exit $ac_status); } &&
31173 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31175 (eval $ac_try) 2>&5
31176 ac_status=$?
31177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31178 (exit $ac_status); }; } &&
31179 { ac_try='test -s conftest.$ac_objext'
31180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31181 (eval $ac_try) 2>&5
31182 ac_status=$?
31183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31184 (exit $ac_status); }; }; then
31185
31186 echo "$as_me:$LINENO: result: found in default search path" >&5
31187 echo "${ECHO_T}found in default search path" >&6
31188 COMPILED_X_PROGRAM=1
31189
31190 else
31191 echo "$as_me: failed program was:" >&5
31192 sed 's/^/| /' conftest.$ac_ext >&5
31193
31194
31195 echo "$as_me:$LINENO: result: no" >&5
31196 echo "${ECHO_T}no" >&6
31197 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31198 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31199 { (exit 1); exit 1; }; }
31200
31201
31202 fi
31203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31204
31205 CXXFLAGS=$save_CXXFLAGS
31206 fi
31207
31208
31209 echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31210 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6
31211
31212 ac_find_libraries=
31213 for ac_dir in $SEARCH_LIB;
31214 do
31215 for ac_extension in a so sl dylib dll.a; do
31216 if test -f "$ac_dir/libXm.$ac_extension"; then
31217 ac_find_libraries=$ac_dir
31218 break 2
31219 fi
31220 done
31221 done
31222
31223
31224 if test "x$ac_find_libraries" != "x" ; then
31225 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31226 echo "${ECHO_T}found in $ac_find_libraries" >&6
31227
31228
31229 if test "$ac_find_libraries" = "default location"; then
31230 ac_path_to_link=""
31231 else
31232 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31233 result=$?
31234 if test $result = 0; then
31235 ac_path_to_link=""
31236 else
31237 ac_path_to_link=" -L$ac_find_libraries"
31238 fi
31239 fi
31240
31241 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31242 else
31243 save_CXXFLAGS=$CXXFLAGS
31244 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31245 save_LIBS="$LIBS"
31246 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31247
31248 cat >conftest.$ac_ext <<_ACEOF
31249 /* confdefs.h. */
31250 _ACEOF
31251 cat confdefs.h >>conftest.$ac_ext
31252 cat >>conftest.$ac_ext <<_ACEOF
31253 /* end confdefs.h. */
31254
31255 #include <Xm/Xm.h>
31256
31257 int
31258 main ()
31259 {
31260
31261 int version;
31262 version = xmUseVersion;
31263
31264 ;
31265 return 0;
31266 }
31267 _ACEOF
31268 rm -f conftest.$ac_objext conftest$ac_exeext
31269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31270 (eval $ac_link) 2>conftest.er1
31271 ac_status=$?
31272 grep -v '^ *+' conftest.er1 >conftest.err
31273 rm -f conftest.er1
31274 cat conftest.err >&5
31275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31276 (exit $ac_status); } &&
31277 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31279 (eval $ac_try) 2>&5
31280 ac_status=$?
31281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31282 (exit $ac_status); }; } &&
31283 { ac_try='test -s conftest$ac_exeext'
31284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31285 (eval $ac_try) 2>&5
31286 ac_status=$?
31287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31288 (exit $ac_status); }; }; then
31289
31290 echo "$as_me:$LINENO: result: found in default search path" >&5
31291 echo "${ECHO_T}found in default search path" >&6
31292 COMPILED_X_PROGRAM=1
31293
31294 else
31295 echo "$as_me: failed program was:" >&5
31296 sed 's/^/| /' conftest.$ac_ext >&5
31297
31298
31299 echo "$as_me:$LINENO: result: no" >&5
31300 echo "${ECHO_T}no" >&6
31301 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31302 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31303 { (exit 1); exit 1; }; }
31304
31305
31306 fi
31307 rm -f conftest.err conftest.$ac_objext \
31308 conftest$ac_exeext conftest.$ac_ext
31309
31310 CXXFLAGS=$save_CXXFLAGS
31311 LIBS="$save_LIBS"
31312 fi
31313
31314 echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31315 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6
31316 libp_link=""
31317 libsm_ice_link=""
31318 libs_found=0
31319 for libp in "" " -lXp"; do
31320 if test "$libs_found" = "0"; then
31321 for libsm_ice in "" " -lSM -lICE"; do
31322 if test "$libs_found" = "0"; then
31323 save_LIBS="$LIBS"
31324 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31325 save_CXXFLAGS=$CXXFLAGS
31326 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31327
31328 cat >conftest.$ac_ext <<_ACEOF
31329 /* confdefs.h. */
31330 _ACEOF
31331 cat confdefs.h >>conftest.$ac_ext
31332 cat >>conftest.$ac_ext <<_ACEOF
31333 /* end confdefs.h. */
31334
31335 #include <Xm/Xm.h>
31336 #include <Xm/List.h>
31337
31338 int
31339 main ()
31340 {
31341
31342 XmString string = NULL;
31343 Widget w = NULL;
31344 int position = 0;
31345 XmListAddItem(w, string, position);
31346
31347 ;
31348 return 0;
31349 }
31350 _ACEOF
31351 rm -f conftest.$ac_objext conftest$ac_exeext
31352 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31353 (eval $ac_link) 2>conftest.er1
31354 ac_status=$?
31355 grep -v '^ *+' conftest.er1 >conftest.err
31356 rm -f conftest.er1
31357 cat conftest.err >&5
31358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31359 (exit $ac_status); } &&
31360 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31362 (eval $ac_try) 2>&5
31363 ac_status=$?
31364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31365 (exit $ac_status); }; } &&
31366 { ac_try='test -s conftest$ac_exeext'
31367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31368 (eval $ac_try) 2>&5
31369 ac_status=$?
31370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31371 (exit $ac_status); }; }; then
31372
31373 libp_link="$libp"
31374 libsm_ice_link="$libsm_ice"
31375 echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31376 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6
31377 libs_found=1
31378
31379 else
31380 echo "$as_me: failed program was:" >&5
31381 sed 's/^/| /' conftest.$ac_ext >&5
31382
31383
31384
31385 fi
31386 rm -f conftest.err conftest.$ac_objext \
31387 conftest$ac_exeext conftest.$ac_ext
31388
31389 LIBS="$save_LIBS"
31390 CXXFLAGS=$save_CXXFLAGS
31391 fi
31392 done
31393 fi
31394 done
31395
31396 if test "$libs_found" = "0"; then
31397 echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31398 echo "${ECHO_T}can't find the right libraries" >&6
31399 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31400 echo "$as_me: error: can't link a simple motif program" >&2;}
31401 { (exit 1); exit 1; }; }
31402 fi
31403
31404 echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31405 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6
31406 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31407 echo $ECHO_N "(cached) $ECHO_C" >&6
31408 else
31409 ac_check_lib_save_LIBS=$LIBS
31410 LIBS="-lSgm $LIBS"
31411 cat >conftest.$ac_ext <<_ACEOF
31412 /* confdefs.h. */
31413 _ACEOF
31414 cat confdefs.h >>conftest.$ac_ext
31415 cat >>conftest.$ac_ext <<_ACEOF
31416 /* end confdefs.h. */
31417
31418 /* Override any gcc2 internal prototype to avoid an error. */
31419 #ifdef __cplusplus
31420 extern "C"
31421 #endif
31422 /* We use char because int might match the return type of a gcc2
31423 builtin and then its argument prototype would still apply. */
31424 char SgCreateList ();
31425 int
31426 main ()
31427 {
31428 SgCreateList ();
31429 ;
31430 return 0;
31431 }
31432 _ACEOF
31433 rm -f conftest.$ac_objext conftest$ac_exeext
31434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31435 (eval $ac_link) 2>conftest.er1
31436 ac_status=$?
31437 grep -v '^ *+' conftest.er1 >conftest.err
31438 rm -f conftest.er1
31439 cat conftest.err >&5
31440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31441 (exit $ac_status); } &&
31442 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31444 (eval $ac_try) 2>&5
31445 ac_status=$?
31446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31447 (exit $ac_status); }; } &&
31448 { ac_try='test -s conftest$ac_exeext'
31449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31450 (eval $ac_try) 2>&5
31451 ac_status=$?
31452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31453 (exit $ac_status); }; }; then
31454 ac_cv_lib_Sgm_SgCreateList=yes
31455 else
31456 echo "$as_me: failed program was:" >&5
31457 sed 's/^/| /' conftest.$ac_ext >&5
31458
31459 ac_cv_lib_Sgm_SgCreateList=no
31460 fi
31461 rm -f conftest.err conftest.$ac_objext \
31462 conftest$ac_exeext conftest.$ac_ext
31463 LIBS=$ac_check_lib_save_LIBS
31464 fi
31465 echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31466 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6
31467 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31468 libsgm_link=" -lSgm"
31469 fi
31470
31471
31472 save_CXXFLAGS=$CXXFLAGS
31473 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31474
31475 echo "$as_me:$LINENO: checking for Motif 2" >&5
31476 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6
31477 if test "${wx_cv_lib_motif2+set}" = set; then
31478 echo $ECHO_N "(cached) $ECHO_C" >&6
31479 else
31480 cat >conftest.$ac_ext <<_ACEOF
31481 /* confdefs.h. */
31482 _ACEOF
31483 cat confdefs.h >>conftest.$ac_ext
31484 cat >>conftest.$ac_ext <<_ACEOF
31485 /* end confdefs.h. */
31486
31487 #include <Xm/Xm.h>
31488
31489 int
31490 main ()
31491 {
31492
31493 #if XmVersion < 2000
31494 Not Motif 2
31495 #endif
31496
31497 ;
31498 return 0;
31499 }
31500 _ACEOF
31501 rm -f conftest.$ac_objext
31502 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31503 (eval $ac_compile) 2>conftest.er1
31504 ac_status=$?
31505 grep -v '^ *+' conftest.er1 >conftest.err
31506 rm -f conftest.er1
31507 cat conftest.err >&5
31508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31509 (exit $ac_status); } &&
31510 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31512 (eval $ac_try) 2>&5
31513 ac_status=$?
31514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31515 (exit $ac_status); }; } &&
31516 { ac_try='test -s conftest.$ac_objext'
31517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31518 (eval $ac_try) 2>&5
31519 ac_status=$?
31520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31521 (exit $ac_status); }; }; then
31522 wx_cv_lib_motif2="yes"
31523 else
31524 echo "$as_me: failed program was:" >&5
31525 sed 's/^/| /' conftest.$ac_ext >&5
31526
31527 wx_cv_lib_motif2="no"
31528 fi
31529 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31530 fi
31531 echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31532 echo "${ECHO_T}$wx_cv_lib_motif2" >&6
31533 if test "$wx_cv_lib_motif2" = "yes"; then
31534 cat >>confdefs.h <<\_ACEOF
31535 #define __WXMOTIF20__ 1
31536 _ACEOF
31537
31538 else
31539 cat >>confdefs.h <<\_ACEOF
31540 #define __WXMOTIF20__ 0
31541 _ACEOF
31542
31543 fi
31544
31545 echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31546 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6
31547 if test "${wx_cv_lib_lesstif+set}" = set; then
31548 echo $ECHO_N "(cached) $ECHO_C" >&6
31549 else
31550 cat >conftest.$ac_ext <<_ACEOF
31551 /* confdefs.h. */
31552 _ACEOF
31553 cat confdefs.h >>conftest.$ac_ext
31554 cat >>conftest.$ac_ext <<_ACEOF
31555 /* end confdefs.h. */
31556
31557 #include <Xm/Xm.h>
31558
31559 int
31560 main ()
31561 {
31562
31563 #if !defined(LesstifVersion) || LesstifVersion <= 0
31564 Not Lesstif
31565 #endif
31566
31567 ;
31568 return 0;
31569 }
31570 _ACEOF
31571 rm -f conftest.$ac_objext
31572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31573 (eval $ac_compile) 2>conftest.er1
31574 ac_status=$?
31575 grep -v '^ *+' conftest.er1 >conftest.err
31576 rm -f conftest.er1
31577 cat conftest.err >&5
31578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31579 (exit $ac_status); } &&
31580 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31582 (eval $ac_try) 2>&5
31583 ac_status=$?
31584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31585 (exit $ac_status); }; } &&
31586 { ac_try='test -s conftest.$ac_objext'
31587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31588 (eval $ac_try) 2>&5
31589 ac_status=$?
31590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31591 (exit $ac_status); }; }; then
31592 wx_cv_lib_lesstif="yes"
31593 else
31594 echo "$as_me: failed program was:" >&5
31595 sed 's/^/| /' conftest.$ac_ext >&5
31596
31597 wx_cv_lib_lesstif="no"
31598 fi
31599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31600
31601 fi
31602 echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31603 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6
31604 if test "$wx_cv_lib_lesstif" = "yes"; then
31605 cat >>confdefs.h <<\_ACEOF
31606 #define __WXLESSTIF__ 1
31607 _ACEOF
31608
31609 else
31610 cat >>confdefs.h <<\_ACEOF
31611 #define __WXLESSTIF__ 0
31612 _ACEOF
31613
31614 fi
31615
31616 CXXFLAGS=$save_CXXFLAGS
31617
31618 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31619 TOOLKIT=MOTIF
31620 GUIDIST=MOTIF_DIST
31621 fi
31622
31623 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31624 if test "$wxUSE_LIBXPM" = "sys"; then
31625 echo "$as_me:$LINENO: checking for Xpm library" >&5
31626 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6
31627
31628 ac_find_libraries=
31629 for ac_dir in $SEARCH_LIB;
31630 do
31631 for ac_extension in a so sl dylib dll.a; do
31632 if test -f "$ac_dir/libXpm.$ac_extension"; then
31633 ac_find_libraries=$ac_dir
31634 break 2
31635 fi
31636 done
31637 done
31638
31639 if test "$ac_find_libraries" != "" ; then
31640
31641 if test "$ac_find_libraries" = "default location"; then
31642 ac_path_to_link=""
31643 else
31644 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31645 result=$?
31646 if test $result = 0; then
31647 ac_path_to_link=""
31648 else
31649 ac_path_to_link=" -L$ac_find_libraries"
31650 fi
31651 fi
31652
31653 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31654 echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31655 echo "${ECHO_T}found in $ac_find_libraries" >&6
31656
31657 echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31658 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6
31659 if test "${wx_cv_x11_xpm_h+set}" = set; then
31660 echo $ECHO_N "(cached) $ECHO_C" >&6
31661 else
31662
31663 save_CXXFLAGS=$CXXFLAGS
31664 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31665
31666 cat >conftest.$ac_ext <<_ACEOF
31667 /* confdefs.h. */
31668 _ACEOF
31669 cat confdefs.h >>conftest.$ac_ext
31670 cat >>conftest.$ac_ext <<_ACEOF
31671 /* end confdefs.h. */
31672
31673 #include <X11/xpm.h>
31674
31675 int
31676 main ()
31677 {
31678
31679 int version;
31680 version = XpmLibraryVersion();
31681
31682 ;
31683 return 0;
31684 }
31685 _ACEOF
31686 rm -f conftest.$ac_objext
31687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31688 (eval $ac_compile) 2>conftest.er1
31689 ac_status=$?
31690 grep -v '^ *+' conftest.er1 >conftest.err
31691 rm -f conftest.er1
31692 cat conftest.err >&5
31693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31694 (exit $ac_status); } &&
31695 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31697 (eval $ac_try) 2>&5
31698 ac_status=$?
31699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31700 (exit $ac_status); }; } &&
31701 { ac_try='test -s conftest.$ac_objext'
31702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31703 (eval $ac_try) 2>&5
31704 ac_status=$?
31705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31706 (exit $ac_status); }; }; then
31707 wx_cv_x11_xpm_h=yes
31708 else
31709 echo "$as_me: failed program was:" >&5
31710 sed 's/^/| /' conftest.$ac_ext >&5
31711
31712 wx_cv_x11_xpm_h=no
31713
31714 fi
31715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31716
31717 CXXFLAGS=$save_CXXFLAGS
31718
31719
31720 fi
31721 echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31722 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6
31723
31724 if test $wx_cv_x11_xpm_h = "yes"; then
31725 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31726 cat >>confdefs.h <<\_ACEOF
31727 #define wxHAVE_LIB_XPM 1
31728 _ACEOF
31729
31730 else
31731 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31732 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31733 fi
31734 fi
31735
31736 fi
31737
31738 echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31739 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6
31740 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31741 echo $ECHO_N "(cached) $ECHO_C" >&6
31742 else
31743 ac_check_lib_save_LIBS=$LIBS
31744 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31745 cat >conftest.$ac_ext <<_ACEOF
31746 /* confdefs.h. */
31747 _ACEOF
31748 cat confdefs.h >>conftest.$ac_ext
31749 cat >>conftest.$ac_ext <<_ACEOF
31750 /* end confdefs.h. */
31751
31752 /* Override any gcc2 internal prototype to avoid an error. */
31753 #ifdef __cplusplus
31754 extern "C"
31755 #endif
31756 /* We use char because int might match the return type of a gcc2
31757 builtin and then its argument prototype would still apply. */
31758 char XShapeQueryExtension ();
31759 int
31760 main ()
31761 {
31762 XShapeQueryExtension ();
31763 ;
31764 return 0;
31765 }
31766 _ACEOF
31767 rm -f conftest.$ac_objext conftest$ac_exeext
31768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31769 (eval $ac_link) 2>conftest.er1
31770 ac_status=$?
31771 grep -v '^ *+' conftest.er1 >conftest.err
31772 rm -f conftest.er1
31773 cat conftest.err >&5
31774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31775 (exit $ac_status); } &&
31776 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31778 (eval $ac_try) 2>&5
31779 ac_status=$?
31780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31781 (exit $ac_status); }; } &&
31782 { ac_try='test -s conftest$ac_exeext'
31783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31784 (eval $ac_try) 2>&5
31785 ac_status=$?
31786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31787 (exit $ac_status); }; }; then
31788 ac_cv_lib_Xext_XShapeQueryExtension=yes
31789 else
31790 echo "$as_me: failed program was:" >&5
31791 sed 's/^/| /' conftest.$ac_ext >&5
31792
31793 ac_cv_lib_Xext_XShapeQueryExtension=no
31794 fi
31795 rm -f conftest.err conftest.$ac_objext \
31796 conftest$ac_exeext conftest.$ac_ext
31797 LIBS=$ac_check_lib_save_LIBS
31798 fi
31799 echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31800 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6
31801 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31802
31803 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31804 wxHAVE_XEXT_LIB=1
31805
31806 fi
31807
31808
31809 if test "$wxHAVE_XEXT_LIB" = 1; then
31810 save_CXXFLAGS="$CXXFLAGS"
31811 CXXFLAGS="$TOOLKIT_INCLUDE $CXXFLAGS"
31812
31813 echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31814 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6
31815 cat >conftest.$ac_ext <<_ACEOF
31816 /* confdefs.h. */
31817 _ACEOF
31818 cat confdefs.h >>conftest.$ac_ext
31819 cat >>conftest.$ac_ext <<_ACEOF
31820 /* end confdefs.h. */
31821
31822 #include <X11/Xlib.h>
31823 #include <X11/extensions/shape.h>
31824
31825 int
31826 main ()
31827 {
31828
31829 int dummy1, dummy2;
31830 XShapeQueryExtension((Display*)NULL,
31831 (int*)NULL, (int*)NULL);
31832
31833 ;
31834 return 0;
31835 }
31836 _ACEOF
31837 rm -f conftest.$ac_objext
31838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31839 (eval $ac_compile) 2>conftest.er1
31840 ac_status=$?
31841 grep -v '^ *+' conftest.er1 >conftest.err
31842 rm -f conftest.er1
31843 cat conftest.err >&5
31844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31845 (exit $ac_status); } &&
31846 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31848 (eval $ac_try) 2>&5
31849 ac_status=$?
31850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31851 (exit $ac_status); }; } &&
31852 { ac_try='test -s conftest.$ac_objext'
31853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31854 (eval $ac_try) 2>&5
31855 ac_status=$?
31856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31857 (exit $ac_status); }; }; then
31858
31859 cat >>confdefs.h <<\_ACEOF
31860 #define HAVE_XSHAPE 1
31861 _ACEOF
31862
31863 echo "$as_me:$LINENO: result: found" >&5
31864 echo "${ECHO_T}found" >&6
31865
31866 else
31867 echo "$as_me: failed program was:" >&5
31868 sed 's/^/| /' conftest.$ac_ext >&5
31869
31870
31871 echo "$as_me:$LINENO: result: not found" >&5
31872 echo "${ECHO_T}not found" >&6
31873
31874 fi
31875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31876 CXXFLAGS="$save_CXXFLAGS"
31877
31878 fi
31879 fi
31880
31881 if test "$wxUSE_MAC" = 1; then
31882 echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31883 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6
31884 if test "$GCC" = yes; then
31885 echo "$as_me:$LINENO: result: gcc" >&5
31886 echo "${ECHO_T}gcc" >&6
31887 CPPFLAGS_PASCAL="-fpascal-strings"
31888 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31889 echo "$as_me:$LINENO: result: xlc" >&5
31890 echo "${ECHO_T}xlc" >&6
31891 CPPFLAGS_PASCAL="-qmacpstr"
31892 else
31893 echo "$as_me:$LINENO: result: none" >&5
31894 echo "${ECHO_T}none" >&6
31895 fi
31896
31897 if test "x$wxUSE_UNIX" = "xyes"; then
31898 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31899 else
31900 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31901 fi
31902
31903 TOOLKIT=MAC
31904 GUIDIST=MACX_DIST
31905 WXBASEPORT="_carbon"
31906 fi
31907
31908 if test "$wxUSE_COCOA" = 1; then
31909 TOOLKIT=COCOA
31910 GUIDIST=COCOA_DIST
31911 fi
31912
31913 if test "$wxUSE_PM" = 1; then
31914 TOOLKIT=PM
31915 GUIDIST=PM_DIST
31916 echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31917 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6
31918 if test "${wx_cv_spbcdata+set}" = set; then
31919 echo $ECHO_N "(cached) $ECHO_C" >&6
31920 else
31921
31922 cat >conftest.$ac_ext <<_ACEOF
31923 /* confdefs.h. */
31924 _ACEOF
31925 cat confdefs.h >>conftest.$ac_ext
31926 cat >>conftest.$ac_ext <<_ACEOF
31927 /* end confdefs.h. */
31928
31929 #define INCL_PM
31930 #include <os2.h>
31931
31932 int
31933 main ()
31934 {
31935
31936 SPBCDATA test;
31937
31938 ;
31939 return 0;
31940 }
31941 _ACEOF
31942 rm -f conftest.$ac_objext
31943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31944 (eval $ac_compile) 2>conftest.er1
31945 ac_status=$?
31946 grep -v '^ *+' conftest.er1 >conftest.err
31947 rm -f conftest.er1
31948 cat conftest.err >&5
31949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31950 (exit $ac_status); } &&
31951 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
31952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31953 (eval $ac_try) 2>&5
31954 ac_status=$?
31955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31956 (exit $ac_status); }; } &&
31957 { ac_try='test -s conftest.$ac_objext'
31958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31959 (eval $ac_try) 2>&5
31960 ac_status=$?
31961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31962 (exit $ac_status); }; }; then
31963 wx_cv_spbcdata=yes
31964 else
31965 echo "$as_me: failed program was:" >&5
31966 sed 's/^/| /' conftest.$ac_ext >&5
31967
31968 wx_cv_spbcdata=no
31969
31970 fi
31971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31972
31973
31974 fi
31975 echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31976 echo "${ECHO_T}$wx_cv_spbcdata" >&6
31977
31978 if test $wx_cv_spbcdata = "yes"; then
31979 cat >>confdefs.h <<\_ACEOF
31980 #define HAVE_SPBCDATA 1
31981 _ACEOF
31982
31983 fi
31984 fi
31985
31986 if test "$TOOLKIT" = "PM" ; then
31987 TOOLKIT_DIR="os2"
31988 else
31989 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31990 fi
31991
31992 if test "$wxUSE_UNIVERSAL" = "yes"; then
31993 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31994 WIDGET_SET=univ
31995 fi
31996
31997 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31998 DISTDIR="wx\$(TOOLKIT)"
31999 else
32000 USE_GUI=0
32001
32002 TOOLKIT_DIR="base"
32003
32004 if test "$USE_WIN32" = 1 ; then
32005 TOOLKIT="MSW"
32006 fi
32007
32008 GUIDIST="BASE_DIST"
32009 DISTDIR="wxBase"
32010 fi
32011
32012
32013 if test "$wxUSE_GUI" = "yes"; then
32014 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32015
32016 for ac_header in X11/Xlib.h
32017 do
32018 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32019 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32020 echo "$as_me:$LINENO: checking for $ac_header" >&5
32021 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32022 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32023 echo $ECHO_N "(cached) $ECHO_C" >&6
32024 fi
32025 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32026 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32027 else
32028 # Is the header compilable?
32029 echo "$as_me:$LINENO: checking $ac_header usability" >&5
32030 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
32031 cat >conftest.$ac_ext <<_ACEOF
32032 /* confdefs.h. */
32033 _ACEOF
32034 cat confdefs.h >>conftest.$ac_ext
32035 cat >>conftest.$ac_ext <<_ACEOF
32036 /* end confdefs.h. */
32037 $ac_includes_default
32038 #include <$ac_header>
32039 _ACEOF
32040 rm -f conftest.$ac_objext
32041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32042 (eval $ac_compile) 2>conftest.er1
32043 ac_status=$?
32044 grep -v '^ *+' conftest.er1 >conftest.err
32045 rm -f conftest.er1
32046 cat conftest.err >&5
32047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32048 (exit $ac_status); } &&
32049 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32051 (eval $ac_try) 2>&5
32052 ac_status=$?
32053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32054 (exit $ac_status); }; } &&
32055 { ac_try='test -s conftest.$ac_objext'
32056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32057 (eval $ac_try) 2>&5
32058 ac_status=$?
32059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32060 (exit $ac_status); }; }; then
32061 ac_header_compiler=yes
32062 else
32063 echo "$as_me: failed program was:" >&5
32064 sed 's/^/| /' conftest.$ac_ext >&5
32065
32066 ac_header_compiler=no
32067 fi
32068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32069 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32070 echo "${ECHO_T}$ac_header_compiler" >&6
32071
32072 # Is the header present?
32073 echo "$as_me:$LINENO: checking $ac_header presence" >&5
32074 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
32075 cat >conftest.$ac_ext <<_ACEOF
32076 /* confdefs.h. */
32077 _ACEOF
32078 cat confdefs.h >>conftest.$ac_ext
32079 cat >>conftest.$ac_ext <<_ACEOF
32080 /* end confdefs.h. */
32081 #include <$ac_header>
32082 _ACEOF
32083 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32084 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32085 ac_status=$?
32086 grep -v '^ *+' conftest.er1 >conftest.err
32087 rm -f conftest.er1
32088 cat conftest.err >&5
32089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32090 (exit $ac_status); } >/dev/null; then
32091 if test -s conftest.err; then
32092 ac_cpp_err=$ac_cxx_preproc_warn_flag
32093 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32094 else
32095 ac_cpp_err=
32096 fi
32097 else
32098 ac_cpp_err=yes
32099 fi
32100 if test -z "$ac_cpp_err"; then
32101 ac_header_preproc=yes
32102 else
32103 echo "$as_me: failed program was:" >&5
32104 sed 's/^/| /' conftest.$ac_ext >&5
32105
32106 ac_header_preproc=no
32107 fi
32108 rm -f conftest.err conftest.$ac_ext
32109 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32110 echo "${ECHO_T}$ac_header_preproc" >&6
32111
32112 # So? What about this header?
32113 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32114 yes:no: )
32115 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
32116 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
32117 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
32118 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
32119 ac_header_preproc=yes
32120 ;;
32121 no:yes:* )
32122 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
32123 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
32124 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
32125 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
32126 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
32127 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
32128 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
32129 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
32130 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
32131 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
32132 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
32133 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
32134 (
32135 cat <<\_ASBOX
32136 ## ----------------------------------------- ##
32137 ## Report this to wx-dev@lists.wxwidgets.org ##
32138 ## ----------------------------------------- ##
32139 _ASBOX
32140 ) |
32141 sed "s/^/$as_me: WARNING: /" >&2
32142 ;;
32143 esac
32144 echo "$as_me:$LINENO: checking for $ac_header" >&5
32145 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32146 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32147 echo $ECHO_N "(cached) $ECHO_C" >&6
32148 else
32149 eval "$as_ac_Header=\$ac_header_preproc"
32150 fi
32151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32152 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32153
32154 fi
32155 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32156 cat >>confdefs.h <<_ACEOF
32157 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32158 _ACEOF
32159
32160 fi
32161
32162 done
32163
32164
32165 for ac_header in X11/XKBlib.h
32166 do
32167 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32168 echo "$as_me:$LINENO: checking for $ac_header" >&5
32169 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32170 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32171 echo $ECHO_N "(cached) $ECHO_C" >&6
32172 else
32173 cat >conftest.$ac_ext <<_ACEOF
32174 /* confdefs.h. */
32175 _ACEOF
32176 cat confdefs.h >>conftest.$ac_ext
32177 cat >>conftest.$ac_ext <<_ACEOF
32178 /* end confdefs.h. */
32179
32180 #if HAVE_X11_XLIB_H
32181 #include <X11/Xlib.h>
32182 #endif
32183
32184
32185 #include <$ac_header>
32186 _ACEOF
32187 rm -f conftest.$ac_objext
32188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32189 (eval $ac_compile) 2>conftest.er1
32190 ac_status=$?
32191 grep -v '^ *+' conftest.er1 >conftest.err
32192 rm -f conftest.er1
32193 cat conftest.err >&5
32194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32195 (exit $ac_status); } &&
32196 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32198 (eval $ac_try) 2>&5
32199 ac_status=$?
32200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32201 (exit $ac_status); }; } &&
32202 { ac_try='test -s conftest.$ac_objext'
32203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32204 (eval $ac_try) 2>&5
32205 ac_status=$?
32206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32207 (exit $ac_status); }; }; then
32208 eval "$as_ac_Header=yes"
32209 else
32210 echo "$as_me: failed program was:" >&5
32211 sed 's/^/| /' conftest.$ac_ext >&5
32212
32213 eval "$as_ac_Header=no"
32214 fi
32215 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32216 fi
32217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32218 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32219 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32220 cat >>confdefs.h <<_ACEOF
32221 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32222 _ACEOF
32223
32224 fi
32225
32226 done
32227
32228 fi
32229 fi
32230
32231
32232
32233 IODBC_C_SRC=""
32234
32235
32236 if test "$TOOLKIT" != "MSW" ; then
32237
32238 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
32239
32240 if test "${ac_cv_header_sql_h+set}" = set; then
32241 echo "$as_me:$LINENO: checking for sql.h" >&5
32242 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32243 if test "${ac_cv_header_sql_h+set}" = set; then
32244 echo $ECHO_N "(cached) $ECHO_C" >&6
32245 fi
32246 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32247 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32248 else
32249 # Is the header compilable?
32250 echo "$as_me:$LINENO: checking sql.h usability" >&5
32251 echo $ECHO_N "checking sql.h usability... $ECHO_C" >&6
32252 cat >conftest.$ac_ext <<_ACEOF
32253 /* confdefs.h. */
32254 _ACEOF
32255 cat confdefs.h >>conftest.$ac_ext
32256 cat >>conftest.$ac_ext <<_ACEOF
32257 /* end confdefs.h. */
32258 $ac_includes_default
32259 #include <sql.h>
32260 _ACEOF
32261 rm -f conftest.$ac_objext
32262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32263 (eval $ac_compile) 2>conftest.er1
32264 ac_status=$?
32265 grep -v '^ *+' conftest.er1 >conftest.err
32266 rm -f conftest.er1
32267 cat conftest.err >&5
32268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32269 (exit $ac_status); } &&
32270 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32272 (eval $ac_try) 2>&5
32273 ac_status=$?
32274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32275 (exit $ac_status); }; } &&
32276 { ac_try='test -s conftest.$ac_objext'
32277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32278 (eval $ac_try) 2>&5
32279 ac_status=$?
32280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32281 (exit $ac_status); }; }; then
32282 ac_header_compiler=yes
32283 else
32284 echo "$as_me: failed program was:" >&5
32285 sed 's/^/| /' conftest.$ac_ext >&5
32286
32287 ac_header_compiler=no
32288 fi
32289 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32290 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32291 echo "${ECHO_T}$ac_header_compiler" >&6
32292
32293 # Is the header present?
32294 echo "$as_me:$LINENO: checking sql.h presence" >&5
32295 echo $ECHO_N "checking sql.h presence... $ECHO_C" >&6
32296 cat >conftest.$ac_ext <<_ACEOF
32297 /* confdefs.h. */
32298 _ACEOF
32299 cat confdefs.h >>conftest.$ac_ext
32300 cat >>conftest.$ac_ext <<_ACEOF
32301 /* end confdefs.h. */
32302 #include <sql.h>
32303 _ACEOF
32304 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32305 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32306 ac_status=$?
32307 grep -v '^ *+' conftest.er1 >conftest.err
32308 rm -f conftest.er1
32309 cat conftest.err >&5
32310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32311 (exit $ac_status); } >/dev/null; then
32312 if test -s conftest.err; then
32313 ac_cpp_err=$ac_cxx_preproc_warn_flag
32314 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32315 else
32316 ac_cpp_err=
32317 fi
32318 else
32319 ac_cpp_err=yes
32320 fi
32321 if test -z "$ac_cpp_err"; then
32322 ac_header_preproc=yes
32323 else
32324 echo "$as_me: failed program was:" >&5
32325 sed 's/^/| /' conftest.$ac_ext >&5
32326
32327 ac_header_preproc=no
32328 fi
32329 rm -f conftest.err conftest.$ac_ext
32330 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32331 echo "${ECHO_T}$ac_header_preproc" >&6
32332
32333 # So? What about this header?
32334 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32335 yes:no: )
32336 { echo "$as_me:$LINENO: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&5
32337 echo "$as_me: WARNING: sql.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32338 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the compiler's result" >&5
32339 echo "$as_me: WARNING: sql.h: proceeding with the compiler's result" >&2;}
32340 ac_header_preproc=yes
32341 ;;
32342 no:yes:* )
32343 { echo "$as_me:$LINENO: WARNING: sql.h: present but cannot be compiled" >&5
32344 echo "$as_me: WARNING: sql.h: present but cannot be compiled" >&2;}
32345 { echo "$as_me:$LINENO: WARNING: sql.h: check for missing prerequisite headers?" >&5
32346 echo "$as_me: WARNING: sql.h: check for missing prerequisite headers?" >&2;}
32347 { echo "$as_me:$LINENO: WARNING: sql.h: see the Autoconf documentation" >&5
32348 echo "$as_me: WARNING: sql.h: see the Autoconf documentation" >&2;}
32349 { echo "$as_me:$LINENO: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&5
32350 echo "$as_me: WARNING: sql.h: section \"Present But Cannot Be Compiled\"" >&2;}
32351 { echo "$as_me:$LINENO: WARNING: sql.h: proceeding with the preprocessor's result" >&5
32352 echo "$as_me: WARNING: sql.h: proceeding with the preprocessor's result" >&2;}
32353 { echo "$as_me:$LINENO: WARNING: sql.h: in the future, the compiler will take precedence" >&5
32354 echo "$as_me: WARNING: sql.h: in the future, the compiler will take precedence" >&2;}
32355 (
32356 cat <<\_ASBOX
32357 ## ----------------------------------------- ##
32358 ## Report this to wx-dev@lists.wxwidgets.org ##
32359 ## ----------------------------------------- ##
32360 _ASBOX
32361 ) |
32362 sed "s/^/$as_me: WARNING: /" >&2
32363 ;;
32364 esac
32365 echo "$as_me:$LINENO: checking for sql.h" >&5
32366 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6
32367 if test "${ac_cv_header_sql_h+set}" = set; then
32368 echo $ECHO_N "(cached) $ECHO_C" >&6
32369 else
32370 ac_cv_header_sql_h=$ac_header_preproc
32371 fi
32372 echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
32373 echo "${ECHO_T}$ac_cv_header_sql_h" >&6
32374
32375 fi
32376 if test $ac_cv_header_sql_h = yes; then
32377 found_sql_h=1
32378 fi
32379
32380
32381 if test "x$found_sql_h" = "x1" ; then
32382 echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
32383 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6
32384 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
32385 echo $ECHO_N "(cached) $ECHO_C" >&6
32386 else
32387 ac_check_lib_save_LIBS=$LIBS
32388 LIBS="-liodbc $LIBS"
32389 cat >conftest.$ac_ext <<_ACEOF
32390 /* confdefs.h. */
32391 _ACEOF
32392 cat confdefs.h >>conftest.$ac_ext
32393 cat >>conftest.$ac_ext <<_ACEOF
32394 /* end confdefs.h. */
32395
32396 /* Override any gcc2 internal prototype to avoid an error. */
32397 #ifdef __cplusplus
32398 extern "C"
32399 #endif
32400 /* We use char because int might match the return type of a gcc2
32401 builtin and then its argument prototype would still apply. */
32402 char SQLAllocEnv ();
32403 int
32404 main ()
32405 {
32406 SQLAllocEnv ();
32407 ;
32408 return 0;
32409 }
32410 _ACEOF
32411 rm -f conftest.$ac_objext conftest$ac_exeext
32412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32413 (eval $ac_link) 2>conftest.er1
32414 ac_status=$?
32415 grep -v '^ *+' conftest.er1 >conftest.err
32416 rm -f conftest.er1
32417 cat conftest.err >&5
32418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32419 (exit $ac_status); } &&
32420 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32422 (eval $ac_try) 2>&5
32423 ac_status=$?
32424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32425 (exit $ac_status); }; } &&
32426 { ac_try='test -s conftest$ac_exeext'
32427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32428 (eval $ac_try) 2>&5
32429 ac_status=$?
32430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32431 (exit $ac_status); }; }; then
32432 ac_cv_lib_iodbc_SQLAllocEnv=yes
32433 else
32434 echo "$as_me: failed program was:" >&5
32435 sed 's/^/| /' conftest.$ac_ext >&5
32436
32437 ac_cv_lib_iodbc_SQLAllocEnv=no
32438 fi
32439 rm -f conftest.err conftest.$ac_objext \
32440 conftest$ac_exeext conftest.$ac_ext
32441 LIBS=$ac_check_lib_save_LIBS
32442 fi
32443 echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
32444 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6
32445 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
32446 ODBC_LINK=" -liodbc"
32447 else
32448
32449 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
32450 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6
32451 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
32452 echo $ECHO_N "(cached) $ECHO_C" >&6
32453 else
32454 ac_check_lib_save_LIBS=$LIBS
32455 LIBS="-lunixodbc $LIBS"
32456 cat >conftest.$ac_ext <<_ACEOF
32457 /* confdefs.h. */
32458 _ACEOF
32459 cat confdefs.h >>conftest.$ac_ext
32460 cat >>conftest.$ac_ext <<_ACEOF
32461 /* end confdefs.h. */
32462
32463 /* Override any gcc2 internal prototype to avoid an error. */
32464 #ifdef __cplusplus
32465 extern "C"
32466 #endif
32467 /* We use char because int might match the return type of a gcc2
32468 builtin and then its argument prototype would still apply. */
32469 char SQLAllocEnv ();
32470 int
32471 main ()
32472 {
32473 SQLAllocEnv ();
32474 ;
32475 return 0;
32476 }
32477 _ACEOF
32478 rm -f conftest.$ac_objext conftest$ac_exeext
32479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32480 (eval $ac_link) 2>conftest.er1
32481 ac_status=$?
32482 grep -v '^ *+' conftest.er1 >conftest.err
32483 rm -f conftest.er1
32484 cat conftest.err >&5
32485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32486 (exit $ac_status); } &&
32487 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32489 (eval $ac_try) 2>&5
32490 ac_status=$?
32491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32492 (exit $ac_status); }; } &&
32493 { ac_try='test -s conftest$ac_exeext'
32494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32495 (eval $ac_try) 2>&5
32496 ac_status=$?
32497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32498 (exit $ac_status); }; }; then
32499 ac_cv_lib_unixodbc_SQLAllocEnv=yes
32500 else
32501 echo "$as_me: failed program was:" >&5
32502 sed 's/^/| /' conftest.$ac_ext >&5
32503
32504 ac_cv_lib_unixodbc_SQLAllocEnv=no
32505 fi
32506 rm -f conftest.err conftest.$ac_objext \
32507 conftest$ac_exeext conftest.$ac_ext
32508 LIBS=$ac_check_lib_save_LIBS
32509 fi
32510 echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32511 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6
32512 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32513 ODBC_LINK=" -lunixodbc"
32514 else
32515
32516 echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32517 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6
32518 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32519 echo $ECHO_N "(cached) $ECHO_C" >&6
32520 else
32521 ac_check_lib_save_LIBS=$LIBS
32522 LIBS="-lodbc $LIBS"
32523 cat >conftest.$ac_ext <<_ACEOF
32524 /* confdefs.h. */
32525 _ACEOF
32526 cat confdefs.h >>conftest.$ac_ext
32527 cat >>conftest.$ac_ext <<_ACEOF
32528 /* end confdefs.h. */
32529
32530 /* Override any gcc2 internal prototype to avoid an error. */
32531 #ifdef __cplusplus
32532 extern "C"
32533 #endif
32534 /* We use char because int might match the return type of a gcc2
32535 builtin and then its argument prototype would still apply. */
32536 char SQLAllocEnv ();
32537 int
32538 main ()
32539 {
32540 SQLAllocEnv ();
32541 ;
32542 return 0;
32543 }
32544 _ACEOF
32545 rm -f conftest.$ac_objext conftest$ac_exeext
32546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32547 (eval $ac_link) 2>conftest.er1
32548 ac_status=$?
32549 grep -v '^ *+' conftest.er1 >conftest.err
32550 rm -f conftest.er1
32551 cat conftest.err >&5
32552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32553 (exit $ac_status); } &&
32554 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32556 (eval $ac_try) 2>&5
32557 ac_status=$?
32558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32559 (exit $ac_status); }; } &&
32560 { ac_try='test -s conftest$ac_exeext'
32561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32562 (eval $ac_try) 2>&5
32563 ac_status=$?
32564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32565 (exit $ac_status); }; }; then
32566 ac_cv_lib_odbc_SQLAllocEnv=yes
32567 else
32568 echo "$as_me: failed program was:" >&5
32569 sed 's/^/| /' conftest.$ac_ext >&5
32570
32571 ac_cv_lib_odbc_SQLAllocEnv=no
32572 fi
32573 rm -f conftest.err conftest.$ac_objext \
32574 conftest$ac_exeext conftest.$ac_ext
32575 LIBS=$ac_check_lib_save_LIBS
32576 fi
32577 echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32578 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6
32579 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32580 ODBC_LINK=" -lodbc"
32581 fi
32582
32583
32584 fi
32585
32586
32587 fi
32588
32589 fi
32590 if test "x$ODBC_LINK" = "x" ; then
32591 if test "$wxUSE_ODBC" = "sys" ; then
32592 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32593 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32594 { (exit 1); exit 1; }; }
32595 else
32596 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32597 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32598 wxUSE_ODBC=builtin
32599 fi
32600 else
32601 wxUSE_ODBC=sys
32602 fi
32603 fi
32604
32605 if test "$wxUSE_ODBC" = "builtin" ; then
32606 cat >>confdefs.h <<\_ACEOF
32607 #define wxUSE_BUILTIN_IODBC 1
32608 _ACEOF
32609
32610 fi
32611 fi
32612
32613 if test "$wxUSE_ODBC" != "no" ; then
32614 cat >>confdefs.h <<\_ACEOF
32615 #define wxUSE_ODBC 1
32616 _ACEOF
32617
32618 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
32619
32620 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
32621 fi
32622
32623
32624 if test "$wxUSE_DISPLAY" = "yes"; then
32625 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32626 echo "$as_me:$LINENO: checking for Xinerama" >&5
32627 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6
32628
32629 ac_find_libraries=
32630 for ac_dir in $SEARCH_LIB;
32631 do
32632 for ac_extension in a so sl dylib dll.a; do
32633 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32634 ac_find_libraries=$ac_dir
32635 break 2
32636 fi
32637 done
32638 done
32639
32640 if test "$ac_find_libraries" != "" ; then
32641
32642 if test "$ac_find_libraries" = "default location"; then
32643 ac_path_to_link=""
32644 else
32645 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32646 result=$?
32647 if test $result = 0; then
32648 ac_path_to_link=""
32649 else
32650 ac_path_to_link=" -L$ac_find_libraries"
32651 fi
32652 fi
32653
32654 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32655 LDFLAGS="$LDFLAGS $ac_path_to_link"
32656 fi
32657 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32658 echo "$as_me:$LINENO: result: yes" >&5
32659 echo "${ECHO_T}yes" >&6
32660
32661 echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32662 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6
32663
32664 ac_find_libraries=
32665 for ac_dir in $SEARCH_LIB;
32666 do
32667 for ac_extension in a so sl dylib dll.a; do
32668 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32669 ac_find_libraries=$ac_dir
32670 break 2
32671 fi
32672 done
32673 done
32674
32675 if test "$ac_find_libraries" != "" ; then
32676 echo "$as_me:$LINENO: result: yes" >&5
32677 echo "${ECHO_T}yes" >&6
32678
32679 for ac_header in X11/extensions/xf86vmode.h
32680 do
32681 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32682 echo "$as_me:$LINENO: checking for $ac_header" >&5
32683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32684 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32685 echo $ECHO_N "(cached) $ECHO_C" >&6
32686 else
32687 cat >conftest.$ac_ext <<_ACEOF
32688 /* confdefs.h. */
32689 _ACEOF
32690 cat confdefs.h >>conftest.$ac_ext
32691 cat >>conftest.$ac_ext <<_ACEOF
32692 /* end confdefs.h. */
32693
32694 #if HAVE_X11_XLIB_H
32695 #include <X11/Xlib.h>
32696 #endif
32697
32698
32699 #include <$ac_header>
32700 _ACEOF
32701 rm -f conftest.$ac_objext
32702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32703 (eval $ac_compile) 2>conftest.er1
32704 ac_status=$?
32705 grep -v '^ *+' conftest.er1 >conftest.err
32706 rm -f conftest.er1
32707 cat conftest.err >&5
32708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32709 (exit $ac_status); } &&
32710 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32711 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32712 (eval $ac_try) 2>&5
32713 ac_status=$?
32714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32715 (exit $ac_status); }; } &&
32716 { ac_try='test -s conftest.$ac_objext'
32717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32718 (eval $ac_try) 2>&5
32719 ac_status=$?
32720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32721 (exit $ac_status); }; }; then
32722 eval "$as_ac_Header=yes"
32723 else
32724 echo "$as_me: failed program was:" >&5
32725 sed 's/^/| /' conftest.$ac_ext >&5
32726
32727 eval "$as_ac_Header=no"
32728 fi
32729 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32730 fi
32731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32732 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32733 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32734 cat >>confdefs.h <<_ACEOF
32735 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32736 _ACEOF
32737
32738 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32739
32740 fi
32741
32742 done
32743
32744 else
32745 echo "$as_me:$LINENO: result: no" >&5
32746 echo "${ECHO_T}no" >&6
32747 fi
32748
32749 else
32750 echo "$as_me:$LINENO: result: no" >&5
32751 echo "${ECHO_T}no" >&6
32752 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32753 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32754 wxUSE_DISPLAY="no"
32755 fi
32756 elif test "$wxUSE_MSW" = 1; then
32757
32758 for ac_header in ddraw.h
32759 do
32760 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32761 echo "$as_me:$LINENO: checking for $ac_header" >&5
32762 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
32763 if eval "test \"\${$as_ac_Header+set}\" = set"; then
32764 echo $ECHO_N "(cached) $ECHO_C" >&6
32765 else
32766 cat >conftest.$ac_ext <<_ACEOF
32767 /* confdefs.h. */
32768 _ACEOF
32769 cat confdefs.h >>conftest.$ac_ext
32770 cat >>conftest.$ac_ext <<_ACEOF
32771 /* end confdefs.h. */
32772 #include <windows.h>
32773
32774 #include <$ac_header>
32775 _ACEOF
32776 rm -f conftest.$ac_objext
32777 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32778 (eval $ac_compile) 2>conftest.er1
32779 ac_status=$?
32780 grep -v '^ *+' conftest.er1 >conftest.err
32781 rm -f conftest.er1
32782 cat conftest.err >&5
32783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32784 (exit $ac_status); } &&
32785 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32787 (eval $ac_try) 2>&5
32788 ac_status=$?
32789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32790 (exit $ac_status); }; } &&
32791 { ac_try='test -s conftest.$ac_objext'
32792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32793 (eval $ac_try) 2>&5
32794 ac_status=$?
32795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32796 (exit $ac_status); }; }; then
32797 eval "$as_ac_Header=yes"
32798 else
32799 echo "$as_me: failed program was:" >&5
32800 sed 's/^/| /' conftest.$ac_ext >&5
32801
32802 eval "$as_ac_Header=no"
32803 fi
32804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32805 fi
32806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
32807 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
32808 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32809 cat >>confdefs.h <<_ACEOF
32810 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32811 _ACEOF
32812
32813 fi
32814
32815 done
32816
32817 fi
32818 fi
32819
32820
32821 USE_OPENGL=0
32822 if test "$wxUSE_OPENGL" = "yes"; then
32823 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32824 OPENGL_LIBS="-framework OpenGL -framework AGL"
32825 elif test "$wxUSE_MSW" = 1; then
32826 OPENGL_LIBS="-lopengl32 -lglu32"
32827 else
32828
32829
32830 ac_find_includes=
32831 for ac_dir in $SEARCH_INCLUDE /usr/include;
32832 do
32833 if test -f "$ac_dir/GL/gl.h"; then
32834 ac_find_includes=$ac_dir
32835 break
32836 fi
32837 done
32838
32839 if test "$ac_find_includes" != "" ; then
32840 echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32841 echo "${ECHO_T}found in $ac_find_includes" >&6
32842
32843 if test "x$ac_find_includes" = "x/usr/include"; then
32844 ac_path_to_include=""
32845 else
32846 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32847 result=$?
32848 if test $result = 0; then
32849 ac_path_to_include=""
32850 else
32851 ac_path_to_include=" -I$ac_find_includes"
32852 fi
32853 fi
32854
32855 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32856 fi
32857
32858 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32859 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32860 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32861 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32862 echo $ECHO_N "(cached) $ECHO_C" >&6
32863 fi
32864 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32865 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32866 else
32867 # Is the header compilable?
32868 echo "$as_me:$LINENO: checking GL/gl.h usability" >&5
32869 echo $ECHO_N "checking GL/gl.h usability... $ECHO_C" >&6
32870 cat >conftest.$ac_ext <<_ACEOF
32871 /* confdefs.h. */
32872 _ACEOF
32873 cat confdefs.h >>conftest.$ac_ext
32874 cat >>conftest.$ac_ext <<_ACEOF
32875 /* end confdefs.h. */
32876 $ac_includes_default
32877 #include <GL/gl.h>
32878 _ACEOF
32879 rm -f conftest.$ac_objext
32880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32881 (eval $ac_compile) 2>conftest.er1
32882 ac_status=$?
32883 grep -v '^ *+' conftest.er1 >conftest.err
32884 rm -f conftest.er1
32885 cat conftest.err >&5
32886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32887 (exit $ac_status); } &&
32888 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
32889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32890 (eval $ac_try) 2>&5
32891 ac_status=$?
32892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32893 (exit $ac_status); }; } &&
32894 { ac_try='test -s conftest.$ac_objext'
32895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32896 (eval $ac_try) 2>&5
32897 ac_status=$?
32898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32899 (exit $ac_status); }; }; then
32900 ac_header_compiler=yes
32901 else
32902 echo "$as_me: failed program was:" >&5
32903 sed 's/^/| /' conftest.$ac_ext >&5
32904
32905 ac_header_compiler=no
32906 fi
32907 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32908 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32909 echo "${ECHO_T}$ac_header_compiler" >&6
32910
32911 # Is the header present?
32912 echo "$as_me:$LINENO: checking GL/gl.h presence" >&5
32913 echo $ECHO_N "checking GL/gl.h presence... $ECHO_C" >&6
32914 cat >conftest.$ac_ext <<_ACEOF
32915 /* confdefs.h. */
32916 _ACEOF
32917 cat confdefs.h >>conftest.$ac_ext
32918 cat >>conftest.$ac_ext <<_ACEOF
32919 /* end confdefs.h. */
32920 #include <GL/gl.h>
32921 _ACEOF
32922 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
32923 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
32924 ac_status=$?
32925 grep -v '^ *+' conftest.er1 >conftest.err
32926 rm -f conftest.er1
32927 cat conftest.err >&5
32928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32929 (exit $ac_status); } >/dev/null; then
32930 if test -s conftest.err; then
32931 ac_cpp_err=$ac_cxx_preproc_warn_flag
32932 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
32933 else
32934 ac_cpp_err=
32935 fi
32936 else
32937 ac_cpp_err=yes
32938 fi
32939 if test -z "$ac_cpp_err"; then
32940 ac_header_preproc=yes
32941 else
32942 echo "$as_me: failed program was:" >&5
32943 sed 's/^/| /' conftest.$ac_ext >&5
32944
32945 ac_header_preproc=no
32946 fi
32947 rm -f conftest.err conftest.$ac_ext
32948 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32949 echo "${ECHO_T}$ac_header_preproc" >&6
32950
32951 # So? What about this header?
32952 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
32953 yes:no: )
32954 { echo "$as_me:$LINENO: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&5
32955 echo "$as_me: WARNING: GL/gl.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32956 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the compiler's result" >&5
32957 echo "$as_me: WARNING: GL/gl.h: proceeding with the compiler's result" >&2;}
32958 ac_header_preproc=yes
32959 ;;
32960 no:yes:* )
32961 { echo "$as_me:$LINENO: WARNING: GL/gl.h: present but cannot be compiled" >&5
32962 echo "$as_me: WARNING: GL/gl.h: present but cannot be compiled" >&2;}
32963 { echo "$as_me:$LINENO: WARNING: GL/gl.h: check for missing prerequisite headers?" >&5
32964 echo "$as_me: WARNING: GL/gl.h: check for missing prerequisite headers?" >&2;}
32965 { echo "$as_me:$LINENO: WARNING: GL/gl.h: see the Autoconf documentation" >&5
32966 echo "$as_me: WARNING: GL/gl.h: see the Autoconf documentation" >&2;}
32967 { echo "$as_me:$LINENO: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&5
32968 echo "$as_me: WARNING: GL/gl.h: section \"Present But Cannot Be Compiled\"" >&2;}
32969 { echo "$as_me:$LINENO: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&5
32970 echo "$as_me: WARNING: GL/gl.h: proceeding with the preprocessor's result" >&2;}
32971 { echo "$as_me:$LINENO: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&5
32972 echo "$as_me: WARNING: GL/gl.h: in the future, the compiler will take precedence" >&2;}
32973 (
32974 cat <<\_ASBOX
32975 ## ----------------------------------------- ##
32976 ## Report this to wx-dev@lists.wxwidgets.org ##
32977 ## ----------------------------------------- ##
32978 _ASBOX
32979 ) |
32980 sed "s/^/$as_me: WARNING: /" >&2
32981 ;;
32982 esac
32983 echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32984 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6
32985 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32986 echo $ECHO_N "(cached) $ECHO_C" >&6
32987 else
32988 ac_cv_header_GL_gl_h=$ac_header_preproc
32989 fi
32990 echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32991 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6
32992
32993 fi
32994 if test $ac_cv_header_GL_gl_h = yes; then
32995
32996 found_gl=0
32997
32998 echo "$as_me:$LINENO: checking for -lGL" >&5
32999 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6
33000
33001 ac_find_libraries=
33002 for ac_dir in $SEARCH_LIB;
33003 do
33004 for ac_extension in a so sl dylib dll.a; do
33005 if test -f "$ac_dir/libGL.$ac_extension"; then
33006 ac_find_libraries=$ac_dir
33007 break 2
33008 fi
33009 done
33010 done
33011
33012 if test "$ac_find_libraries" != "" ; then
33013 echo "$as_me:$LINENO: result: yes" >&5
33014 echo "${ECHO_T}yes" >&6
33015
33016
33017 if test "$ac_find_libraries" = "default location"; then
33018 ac_path_to_link=""
33019 else
33020 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33021 result=$?
33022 if test $result = 0; then
33023 ac_path_to_link=""
33024 else
33025 ac_path_to_link=" -L$ac_find_libraries"
33026 fi
33027 fi
33028
33029 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33030 LDFLAGS_GL="$ac_path_to_link"
33031 fi
33032
33033 echo "$as_me:$LINENO: checking for -lGLU" >&5
33034 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6
33035
33036 ac_find_libraries=
33037 for ac_dir in $SEARCH_LIB;
33038 do
33039 for ac_extension in a so sl dylib dll.a; do
33040 if test -f "$ac_dir/libGLU.$ac_extension"; then
33041 ac_find_libraries=$ac_dir
33042 break 2
33043 fi
33044 done
33045 done
33046
33047 if test "$ac_find_libraries" != "" ; then
33048
33049 if test "$ac_find_libraries" = "default location"; then
33050 ac_path_to_link=""
33051 else
33052 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33053 result=$?
33054 if test $result = 0; then
33055 ac_path_to_link=""
33056 else
33057 ac_path_to_link=" -L$ac_find_libraries"
33058 fi
33059 fi
33060
33061 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33062 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33063 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33064 fi
33065
33066 found_gl=1
33067 OPENGL_LIBS="-lGL -lGLU"
33068 echo "$as_me:$LINENO: result: yes" >&5
33069 echo "${ECHO_T}yes" >&6
33070 else
33071 echo "$as_me:$LINENO: result: no" >&5
33072 echo "${ECHO_T}no" >&6
33073 fi
33074 else
33075 echo "$as_me:$LINENO: result: no" >&5
33076 echo "${ECHO_T}no" >&6
33077 fi
33078
33079 if test "$found_gl" != 1; then
33080 echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33081 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6
33082
33083 ac_find_libraries=
33084 for ac_dir in $SEARCH_LIB;
33085 do
33086 for ac_extension in a so sl dylib dll.a; do
33087 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33088 ac_find_libraries=$ac_dir
33089 break 2
33090 fi
33091 done
33092 done
33093
33094 if test "$ac_find_libraries" != "" ; then
33095
33096 if test "$ac_find_libraries" = "default location"; then
33097 ac_path_to_link=""
33098 else
33099 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33100 result=$?
33101 if test $result = 0; then
33102 ac_path_to_link=""
33103 else
33104 ac_path_to_link=" -L$ac_find_libraries"
33105 fi
33106 fi
33107
33108 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33109 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33110 echo "$as_me:$LINENO: result: yes" >&5
33111 echo "${ECHO_T}yes" >&6
33112 else
33113 echo "$as_me:$LINENO: result: no" >&5
33114 echo "${ECHO_T}no" >&6
33115 fi
33116 fi
33117
33118 fi
33119
33120
33121
33122 if test "x$OPENGL_LIBS" = "x"; then
33123 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33124 echo "$as_me: error: OpenGL libraries not available" >&2;}
33125 { (exit 1); exit 1; }; }
33126 fi
33127 fi
33128
33129 if test "$wxUSE_OPENGL" = "yes"; then
33130 USE_OPENGL=1
33131 cat >>confdefs.h <<\_ACEOF
33132 #define wxUSE_OPENGL 1
33133 _ACEOF
33134
33135 cat >>confdefs.h <<\_ACEOF
33136 #define wxUSE_GLCANVAS 1
33137 _ACEOF
33138
33139 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33140 fi
33141 fi
33142
33143
33144 if test -n "$TOOLKIT" ; then
33145 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33146 fi
33147
33148
33149
33150 if test "$wxUSE_SHARED" = "yes"; then
33151 case "${host}" in
33152 *-pc-msdosdjgpp )
33153 wxUSE_SHARED=no
33154 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33155 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33156 ;;
33157 esac
33158 fi
33159
33160 if test "$wxUSE_SHARED" = "yes"; then
33161
33162
33163 found_versioning=no
33164
33165
33166 if test $found_versioning = no ; then
33167 echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33168 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6
33169 if test "${wx_cv_version_script+set}" = set; then
33170 echo $ECHO_N "(cached) $ECHO_C" >&6
33171 else
33172
33173 echo "VER_1 { *; };" >conftest.sym
33174 echo "int main() { return 0; }" >conftest.cpp
33175
33176 if { ac_try='
33177 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33178 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33180 (eval $ac_try) 2>&5
33181 ac_status=$?
33182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33183 (exit $ac_status); }; } ; then
33184 if test -s conftest.stderr ; then
33185 wx_cv_version_script=no
33186 else
33187 wx_cv_version_script=yes
33188 fi
33189 else
33190 wx_cv_version_script=no
33191 fi
33192
33193 if test $wx_cv_version_script = yes
33194 then
33195 echo "struct B { virtual ~B() { } }; \
33196 struct D : public B { }; \
33197 void F() { D d; }" > conftest.cpp
33198
33199 if { ac_try='
33200 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33201 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33203 (eval $ac_try) 2>&5
33204 ac_status=$?
33205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33206 (exit $ac_status); }; } &&
33207 { ac_try='
33208 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33209 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33211 (eval $ac_try) 2>&5
33212 ac_status=$?
33213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33214 (exit $ac_status); }; }
33215 then
33216 if { ac_try='
33217 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33218 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33220 (eval $ac_try) 2>&5
33221 ac_status=$?
33222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33223 (exit $ac_status); }; }
33224 then
33225 wx_cv_version_script=yes
33226 else
33227 wx_cv_version_script=no
33228 fi
33229 fi
33230 fi
33231
33232 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33233 rm -f conftest1.output conftest2.output conftest3.output
33234
33235 fi
33236 echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33237 echo "${ECHO_T}$wx_cv_version_script" >&6
33238 if test $wx_cv_version_script = yes ; then
33239 LDFLAGS_VERSIONING="-Wl,--version-script,\$(top_builddir)version-script"
33240 fi
33241 fi
33242
33243
33244 case "${host}" in
33245 *-*-linux* | *-*-gnu* )
33246 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
33247 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33248 ;;
33249
33250 *-*-solaris2* )
33251 if test "$GCC" = yes ; then
33252 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33253
33254 saveLdflags="$LDFLAGS"
33255 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33256 echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33257 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6
33258 cat >conftest.$ac_ext <<_ACEOF
33259 /* confdefs.h. */
33260 _ACEOF
33261 cat confdefs.h >>conftest.$ac_ext
33262 cat >>conftest.$ac_ext <<_ACEOF
33263 /* end confdefs.h. */
33264
33265 int
33266 main ()
33267 {
33268
33269 ;
33270 return 0;
33271 }
33272 _ACEOF
33273 rm -f conftest.$ac_objext conftest$ac_exeext
33274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33275 (eval $ac_link) 2>conftest.er1
33276 ac_status=$?
33277 grep -v '^ *+' conftest.er1 >conftest.err
33278 rm -f conftest.er1
33279 cat conftest.err >&5
33280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33281 (exit $ac_status); } &&
33282 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33284 (eval $ac_try) 2>&5
33285 ac_status=$?
33286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33287 (exit $ac_status); }; } &&
33288 { ac_try='test -s conftest$ac_exeext'
33289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33290 (eval $ac_try) 2>&5
33291 ac_status=$?
33292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33293 (exit $ac_status); }; }; then
33294
33295 echo "$as_me:$LINENO: result: yes" >&5
33296 echo "${ECHO_T}yes" >&6
33297 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(top_builddir)lib"
33298 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33299
33300 else
33301 echo "$as_me: failed program was:" >&5
33302 sed 's/^/| /' conftest.$ac_ext >&5
33303
33304
33305 echo "$as_me:$LINENO: result: no" >&5
33306 echo "${ECHO_T}no" >&6
33307 echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33308 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6
33309 LDFLAGS="$saveLdflags -Wl,-R,/"
33310 cat >conftest.$ac_ext <<_ACEOF
33311 /* confdefs.h. */
33312 _ACEOF
33313 cat confdefs.h >>conftest.$ac_ext
33314 cat >>conftest.$ac_ext <<_ACEOF
33315 /* end confdefs.h. */
33316
33317 int
33318 main ()
33319 {
33320
33321 ;
33322 return 0;
33323 }
33324 _ACEOF
33325 rm -f conftest.$ac_objext conftest$ac_exeext
33326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33327 (eval $ac_link) 2>conftest.er1
33328 ac_status=$?
33329 grep -v '^ *+' conftest.er1 >conftest.err
33330 rm -f conftest.er1
33331 cat conftest.err >&5
33332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33333 (exit $ac_status); } &&
33334 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33336 (eval $ac_try) 2>&5
33337 ac_status=$?
33338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33339 (exit $ac_status); }; } &&
33340 { ac_try='test -s conftest$ac_exeext'
33341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33342 (eval $ac_try) 2>&5
33343 ac_status=$?
33344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33345 (exit $ac_status); }; }; then
33346
33347 echo "$as_me:$LINENO: result: yes" >&5
33348 echo "${ECHO_T}yes" >&6
33349 SAMPLES_RPATH_FLAG="-Wl,-R,\$(top_builddir)lib"
33350 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33351
33352 else
33353 echo "$as_me: failed program was:" >&5
33354 sed 's/^/| /' conftest.$ac_ext >&5
33355
33356
33357 echo "$as_me:$LINENO: result: no" >&5
33358 echo "${ECHO_T}no" >&6
33359
33360 fi
33361 rm -f conftest.err conftest.$ac_objext \
33362 conftest$ac_exeext conftest.$ac_ext
33363
33364 fi
33365 rm -f conftest.err conftest.$ac_objext \
33366 conftest$ac_exeext conftest.$ac_ext
33367 LDFLAGS="$saveLdflags"
33368 else
33369 SAMPLES_RPATH_FLAG="-R\$(top_builddir)lib"
33370 WXCONFIG_RPATH="-R\$libdir"
33371 fi
33372 ;;
33373
33374 *-*-darwin* )
33375 install_name_tool=`which install_name_tool`
33376 if test "$install_name_tool" -a -x "$install_name_tool"; then
33377 SAMPLES_RPATH_POSTLINK="\$(top_builddir)change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33378 cat <<EOF >change-install-names
33379 #!/bin/sh
33380 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33381 inst_cmd="install_name_tool "
33382 for i in \${libnames} ; do
33383 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33384 done
33385 \${inst_cmd} \${3}
33386 EOF
33387 chmod +x change-install-names
33388 fi
33389 ;;
33390
33391 *-*-cygwin* | *-*-mingw32* )
33392 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33393 ;;
33394
33395 *-*-hpux* )
33396 SAMPLES_RPATH_FLAG="-Wl,+b,\$(top_builddir)lib"
33397 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33398 ;;
33399
33400 esac
33401
33402 if test $wxUSE_RPATH = "no"; then
33403 SAMPLES_RPATH_FLAG=''
33404 SAMPLES_RPATH_POSTLINK=''
33405 WXCONFIG_RPATH=''
33406 fi
33407
33408 SHARED=1
33409
33410 else
33411
33412 config_linkage_component="-static"
33413 SHARED=0
33414
33415 fi
33416
33417
33418 UNICODE=0
33419 lib_unicode_suffix=
33420 WX_CHARTYPE="ansi"
33421 if test "$wxUSE_UNICODE" = "yes"; then
33422 lib_unicode_suffix=u
33423 WX_CHARTYPE="unicode"
33424 UNICODE=1
33425 fi
33426
33427 lib_debug_suffix=
33428 WX_DEBUGTYPE="release"
33429 DEBUG_FLAG=0
33430 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33431 lib_debug_suffix=d
33432 WX_DEBUGTYPE="debug"
33433 DEBUG_FLAG=1
33434 fi
33435
33436 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33437 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33438
33439 DEBUG_INFO=0
33440 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33441 DEBUG_INFO=1
33442 fi
33443
33444 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33445
33446 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33447
33448 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33449
33450 if test "$cross_compiling" = "yes"; then
33451 HOST_SUFFIX="-$host_alias"
33452 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33453 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33454 fi
33455
33456 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33457 if test "${TOOLKIT_DIR}" = "os2"; then
33458 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33459 else
33460 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33461 fi
33462
33463
33464
33465 if test "$wxUSE_COCOA" = 1; then
33466
33467
33468 ac_ext=c
33469 ac_cpp='$CPP $CPPFLAGS'
33470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33473
33474 ac_ext=m
33475
33476 echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33477 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6
33478 cat >conftest.$ac_ext <<_ACEOF
33479 /* confdefs.h. */
33480 _ACEOF
33481 cat confdefs.h >>conftest.$ac_ext
33482 cat >>conftest.$ac_ext <<_ACEOF
33483 /* end confdefs.h. */
33484 #include <AppKit/NSEvent.h>
33485 #include <CoreFoundation/CoreFoundation.h>
33486
33487 int
33488 main ()
33489 {
33490
33491 ;
33492 return 0;
33493 }
33494 _ACEOF
33495 rm -f conftest.$ac_objext
33496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33497 (eval $ac_compile) 2>conftest.er1
33498 ac_status=$?
33499 grep -v '^ *+' conftest.er1 >conftest.err
33500 rm -f conftest.er1
33501 cat conftest.err >&5
33502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33503 (exit $ac_status); } &&
33504 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33506 (eval $ac_try) 2>&5
33507 ac_status=$?
33508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33509 (exit $ac_status); }; } &&
33510 { ac_try='test -s conftest.$ac_objext'
33511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33512 (eval $ac_try) 2>&5
33513 ac_status=$?
33514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33515 (exit $ac_status); }; }; then
33516 echo "$as_me:$LINENO: result: no" >&5
33517 echo "${ECHO_T}no" >&6
33518 else
33519 echo "$as_me: failed program was:" >&5
33520 sed 's/^/| /' conftest.$ac_ext >&5
33521
33522 echo "$as_me:$LINENO: result: yes" >&5
33523 echo "${ECHO_T}yes" >&6
33524 echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33525 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6
33526 cat >conftest.$ac_ext <<_ACEOF
33527 /* confdefs.h. */
33528 _ACEOF
33529 cat confdefs.h >>conftest.$ac_ext
33530 cat >>conftest.$ac_ext <<_ACEOF
33531 /* end confdefs.h. */
33532 #define __Point__ 1
33533 #include <AppKit/NSEvent.h>
33534 #include <CoreFoundation/CoreFoundation.h>
33535
33536 int
33537 main ()
33538 {
33539
33540 ;
33541 return 0;
33542 }
33543 _ACEOF
33544 rm -f conftest.$ac_objext
33545 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33546 (eval $ac_compile) 2>conftest.er1
33547 ac_status=$?
33548 grep -v '^ *+' conftest.er1 >conftest.err
33549 rm -f conftest.er1
33550 cat conftest.err >&5
33551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33552 (exit $ac_status); } &&
33553 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
33554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33555 (eval $ac_try) 2>&5
33556 ac_status=$?
33557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33558 (exit $ac_status); }; } &&
33559 { ac_try='test -s conftest.$ac_objext'
33560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33561 (eval $ac_try) 2>&5
33562 ac_status=$?
33563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33564 (exit $ac_status); }; }; then
33565 echo "$as_me:$LINENO: result: yes" >&5
33566 echo "${ECHO_T}yes" >&6
33567 cat >>confdefs.h <<\_ACEOF
33568 #define __Point__ 1
33569 _ACEOF
33570
33571
33572 else
33573 echo "$as_me: failed program was:" >&5
33574 sed 's/^/| /' conftest.$ac_ext >&5
33575
33576 { { echo "$as_me:$LINENO: error: no
33577 See \`config.log' for more details." >&5
33578 echo "$as_me: error: no
33579 See \`config.log' for more details." >&2;}
33580 { (exit 1); exit 1; }; }
33581
33582 fi
33583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33584
33585 fi
33586 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33587 ac_ext=cc
33588 ac_cpp='$CXXCPP $CPPFLAGS'
33589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33592
33593 fi
33594
33595 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33596 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33597 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33598
33599 LIBWXMACRES="\$(top_builddir)lib/${WX_RESOURCES_MACOSX_ASCII}"
33600
33601 # Extract the first word of "Rez", so it can be a program name with args.
33602 set dummy Rez; ac_word=$2
33603 echo "$as_me:$LINENO: checking for $ac_word" >&5
33604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33605 if test "${ac_cv_prog_REZ+set}" = set; then
33606 echo $ECHO_N "(cached) $ECHO_C" >&6
33607 else
33608 if test -n "$REZ"; then
33609 ac_cv_prog_REZ="$REZ" # Let the user override the test.
33610 else
33611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33612 for as_dir in $PATH
33613 do
33614 IFS=$as_save_IFS
33615 test -z "$as_dir" && as_dir=.
33616 for ac_exec_ext in '' $ac_executable_extensions; do
33617 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33618 ac_cv_prog_REZ="Rez"
33619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33620 break 2
33621 fi
33622 done
33623 done
33624
33625 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
33626 fi
33627 fi
33628 REZ=$ac_cv_prog_REZ
33629 if test -n "$REZ"; then
33630 echo "$as_me:$LINENO: result: $REZ" >&5
33631 echo "${ECHO_T}$REZ" >&6
33632 else
33633 echo "$as_me:$LINENO: result: no" >&5
33634 echo "${ECHO_T}no" >&6
33635 fi
33636
33637 # Extract the first word of "DeRez", so it can be a program name with args.
33638 set dummy DeRez; ac_word=$2
33639 echo "$as_me:$LINENO: checking for $ac_word" >&5
33640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33641 if test "${ac_cv_prog_DEREZ+set}" = set; then
33642 echo $ECHO_N "(cached) $ECHO_C" >&6
33643 else
33644 if test -n "$DEREZ"; then
33645 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
33646 else
33647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33648 for as_dir in $PATH
33649 do
33650 IFS=$as_save_IFS
33651 test -z "$as_dir" && as_dir=.
33652 for ac_exec_ext in '' $ac_executable_extensions; do
33653 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33654 ac_cv_prog_DEREZ="DeRez"
33655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33656 break 2
33657 fi
33658 done
33659 done
33660
33661 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
33662 fi
33663 fi
33664 DEREZ=$ac_cv_prog_DEREZ
33665 if test -n "$DEREZ"; then
33666 echo "$as_me:$LINENO: result: $DEREZ" >&5
33667 echo "${ECHO_T}$DEREZ" >&6
33668 else
33669 echo "$as_me:$LINENO: result: no" >&5
33670 echo "${ECHO_T}no" >&6
33671 fi
33672
33673 # Extract the first word of "SetFile", so it can be a program name with args.
33674 set dummy SetFile; ac_word=$2
33675 echo "$as_me:$LINENO: checking for $ac_word" >&5
33676 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
33677 if test "${ac_cv_prog_SETFILE+set}" = set; then
33678 echo $ECHO_N "(cached) $ECHO_C" >&6
33679 else
33680 if test -n "$SETFILE"; then
33681 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
33682 else
33683 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33684 for as_dir in $PATH
33685 do
33686 IFS=$as_save_IFS
33687 test -z "$as_dir" && as_dir=.
33688 for ac_exec_ext in '' $ac_executable_extensions; do
33689 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
33690 ac_cv_prog_SETFILE="SetFile"
33691 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33692 break 2
33693 fi
33694 done
33695 done
33696
33697 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
33698 fi
33699 fi
33700 SETFILE=$ac_cv_prog_SETFILE
33701 if test -n "$SETFILE"; then
33702 echo "$as_me:$LINENO: result: $SETFILE" >&5
33703 echo "${ECHO_T}$SETFILE" >&6
33704 else
33705 echo "$as_me:$LINENO: result: no" >&5
33706 echo "${ECHO_T}no" >&6
33707 fi
33708
33709
33710 MACSETFILE="\$(SETFILE)"
33711
33712 if test "$wxUSE_MAC" = 1; then
33713 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33714 RESCOMP="$REZ"
33715 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
33716 else
33717 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33718 RESCOMP="echo -n \| $REZ"
33719 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33720 fi
33721
33722 else
33723 MACSETFILE="@true"
33724
33725 if test "$wxUSE_PM" = 1; then
33726 RESCOMP="emxbind"
33727 WXCONFIG_RESFLAGS="-ep"
33728
33729 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
33730 else
33731 POSTLINK_COMMAND="@true"
33732 fi
33733
33734 fi
33735
33736
33737
33738 echo "$as_me:$LINENO: checking for mode_t" >&5
33739 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6
33740 if test "${ac_cv_type_mode_t+set}" = set; then
33741 echo $ECHO_N "(cached) $ECHO_C" >&6
33742 else
33743 cat >conftest.$ac_ext <<_ACEOF
33744 /* confdefs.h. */
33745 _ACEOF
33746 cat confdefs.h >>conftest.$ac_ext
33747 cat >>conftest.$ac_ext <<_ACEOF
33748 /* end confdefs.h. */
33749 $ac_includes_default
33750 int
33751 main ()
33752 {
33753 if ((mode_t *) 0)
33754 return 0;
33755 if (sizeof (mode_t))
33756 return 0;
33757 ;
33758 return 0;
33759 }
33760 _ACEOF
33761 rm -f conftest.$ac_objext
33762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33763 (eval $ac_compile) 2>conftest.er1
33764 ac_status=$?
33765 grep -v '^ *+' conftest.er1 >conftest.err
33766 rm -f conftest.er1
33767 cat conftest.err >&5
33768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33769 (exit $ac_status); } &&
33770 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33772 (eval $ac_try) 2>&5
33773 ac_status=$?
33774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33775 (exit $ac_status); }; } &&
33776 { ac_try='test -s conftest.$ac_objext'
33777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33778 (eval $ac_try) 2>&5
33779 ac_status=$?
33780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33781 (exit $ac_status); }; }; then
33782 ac_cv_type_mode_t=yes
33783 else
33784 echo "$as_me: failed program was:" >&5
33785 sed 's/^/| /' conftest.$ac_ext >&5
33786
33787 ac_cv_type_mode_t=no
33788 fi
33789 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33790 fi
33791 echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33792 echo "${ECHO_T}$ac_cv_type_mode_t" >&6
33793 if test $ac_cv_type_mode_t = yes; then
33794 :
33795 else
33796
33797 cat >>confdefs.h <<_ACEOF
33798 #define mode_t int
33799 _ACEOF
33800
33801 fi
33802
33803 echo "$as_me:$LINENO: checking for off_t" >&5
33804 echo $ECHO_N "checking for off_t... $ECHO_C" >&6
33805 if test "${ac_cv_type_off_t+set}" = set; then
33806 echo $ECHO_N "(cached) $ECHO_C" >&6
33807 else
33808 cat >conftest.$ac_ext <<_ACEOF
33809 /* confdefs.h. */
33810 _ACEOF
33811 cat confdefs.h >>conftest.$ac_ext
33812 cat >>conftest.$ac_ext <<_ACEOF
33813 /* end confdefs.h. */
33814 $ac_includes_default
33815 int
33816 main ()
33817 {
33818 if ((off_t *) 0)
33819 return 0;
33820 if (sizeof (off_t))
33821 return 0;
33822 ;
33823 return 0;
33824 }
33825 _ACEOF
33826 rm -f conftest.$ac_objext
33827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33828 (eval $ac_compile) 2>conftest.er1
33829 ac_status=$?
33830 grep -v '^ *+' conftest.er1 >conftest.err
33831 rm -f conftest.er1
33832 cat conftest.err >&5
33833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33834 (exit $ac_status); } &&
33835 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33837 (eval $ac_try) 2>&5
33838 ac_status=$?
33839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33840 (exit $ac_status); }; } &&
33841 { ac_try='test -s conftest.$ac_objext'
33842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33843 (eval $ac_try) 2>&5
33844 ac_status=$?
33845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33846 (exit $ac_status); }; }; then
33847 ac_cv_type_off_t=yes
33848 else
33849 echo "$as_me: failed program was:" >&5
33850 sed 's/^/| /' conftest.$ac_ext >&5
33851
33852 ac_cv_type_off_t=no
33853 fi
33854 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33855 fi
33856 echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33857 echo "${ECHO_T}$ac_cv_type_off_t" >&6
33858 if test $ac_cv_type_off_t = yes; then
33859 :
33860 else
33861
33862 cat >>confdefs.h <<_ACEOF
33863 #define off_t long
33864 _ACEOF
33865
33866 fi
33867
33868 echo "$as_me:$LINENO: checking for pid_t" >&5
33869 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6
33870 if test "${ac_cv_type_pid_t+set}" = set; then
33871 echo $ECHO_N "(cached) $ECHO_C" >&6
33872 else
33873 cat >conftest.$ac_ext <<_ACEOF
33874 /* confdefs.h. */
33875 _ACEOF
33876 cat confdefs.h >>conftest.$ac_ext
33877 cat >>conftest.$ac_ext <<_ACEOF
33878 /* end confdefs.h. */
33879 $ac_includes_default
33880 int
33881 main ()
33882 {
33883 if ((pid_t *) 0)
33884 return 0;
33885 if (sizeof (pid_t))
33886 return 0;
33887 ;
33888 return 0;
33889 }
33890 _ACEOF
33891 rm -f conftest.$ac_objext
33892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33893 (eval $ac_compile) 2>conftest.er1
33894 ac_status=$?
33895 grep -v '^ *+' conftest.er1 >conftest.err
33896 rm -f conftest.er1
33897 cat conftest.err >&5
33898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33899 (exit $ac_status); } &&
33900 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33902 (eval $ac_try) 2>&5
33903 ac_status=$?
33904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33905 (exit $ac_status); }; } &&
33906 { ac_try='test -s conftest.$ac_objext'
33907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33908 (eval $ac_try) 2>&5
33909 ac_status=$?
33910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33911 (exit $ac_status); }; }; then
33912 ac_cv_type_pid_t=yes
33913 else
33914 echo "$as_me: failed program was:" >&5
33915 sed 's/^/| /' conftest.$ac_ext >&5
33916
33917 ac_cv_type_pid_t=no
33918 fi
33919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33920 fi
33921 echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33922 echo "${ECHO_T}$ac_cv_type_pid_t" >&6
33923 if test $ac_cv_type_pid_t = yes; then
33924 :
33925 else
33926
33927 cat >>confdefs.h <<_ACEOF
33928 #define pid_t int
33929 _ACEOF
33930
33931 fi
33932
33933 echo "$as_me:$LINENO: checking for size_t" >&5
33934 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
33935 if test "${ac_cv_type_size_t+set}" = set; then
33936 echo $ECHO_N "(cached) $ECHO_C" >&6
33937 else
33938 cat >conftest.$ac_ext <<_ACEOF
33939 /* confdefs.h. */
33940 _ACEOF
33941 cat confdefs.h >>conftest.$ac_ext
33942 cat >>conftest.$ac_ext <<_ACEOF
33943 /* end confdefs.h. */
33944 $ac_includes_default
33945 int
33946 main ()
33947 {
33948 if ((size_t *) 0)
33949 return 0;
33950 if (sizeof (size_t))
33951 return 0;
33952 ;
33953 return 0;
33954 }
33955 _ACEOF
33956 rm -f conftest.$ac_objext
33957 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33958 (eval $ac_compile) 2>conftest.er1
33959 ac_status=$?
33960 grep -v '^ *+' conftest.er1 >conftest.err
33961 rm -f conftest.er1
33962 cat conftest.err >&5
33963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33964 (exit $ac_status); } &&
33965 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
33966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33967 (eval $ac_try) 2>&5
33968 ac_status=$?
33969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33970 (exit $ac_status); }; } &&
33971 { ac_try='test -s conftest.$ac_objext'
33972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33973 (eval $ac_try) 2>&5
33974 ac_status=$?
33975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33976 (exit $ac_status); }; }; then
33977 ac_cv_type_size_t=yes
33978 else
33979 echo "$as_me: failed program was:" >&5
33980 sed 's/^/| /' conftest.$ac_ext >&5
33981
33982 ac_cv_type_size_t=no
33983 fi
33984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33985 fi
33986 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33987 echo "${ECHO_T}$ac_cv_type_size_t" >&6
33988 if test $ac_cv_type_size_t = yes; then
33989 :
33990 else
33991
33992 cat >>confdefs.h <<_ACEOF
33993 #define size_t unsigned
33994 _ACEOF
33995
33996 fi
33997
33998 echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33999 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6
34000 if test "${ac_cv_type_uid_t+set}" = set; then
34001 echo $ECHO_N "(cached) $ECHO_C" >&6
34002 else
34003 cat >conftest.$ac_ext <<_ACEOF
34004 /* confdefs.h. */
34005 _ACEOF
34006 cat confdefs.h >>conftest.$ac_ext
34007 cat >>conftest.$ac_ext <<_ACEOF
34008 /* end confdefs.h. */
34009 #include <sys/types.h>
34010
34011 _ACEOF
34012 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
34013 $EGREP "uid_t" >/dev/null 2>&1; then
34014 ac_cv_type_uid_t=yes
34015 else
34016 ac_cv_type_uid_t=no
34017 fi
34018 rm -f conftest*
34019
34020 fi
34021 echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
34022 echo "${ECHO_T}$ac_cv_type_uid_t" >&6
34023 if test $ac_cv_type_uid_t = no; then
34024
34025 cat >>confdefs.h <<\_ACEOF
34026 #define uid_t int
34027 _ACEOF
34028
34029
34030 cat >>confdefs.h <<\_ACEOF
34031 #define gid_t int
34032 _ACEOF
34033
34034 fi
34035
34036
34037 echo "$as_me:$LINENO: checking for ssize_t" >&5
34038 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
34039 if test "${ac_cv_type_ssize_t+set}" = set; then
34040 echo $ECHO_N "(cached) $ECHO_C" >&6
34041 else
34042 cat >conftest.$ac_ext <<_ACEOF
34043 /* confdefs.h. */
34044 _ACEOF
34045 cat confdefs.h >>conftest.$ac_ext
34046 cat >>conftest.$ac_ext <<_ACEOF
34047 /* end confdefs.h. */
34048 $ac_includes_default
34049 int
34050 main ()
34051 {
34052 if ((ssize_t *) 0)
34053 return 0;
34054 if (sizeof (ssize_t))
34055 return 0;
34056 ;
34057 return 0;
34058 }
34059 _ACEOF
34060 rm -f conftest.$ac_objext
34061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34062 (eval $ac_compile) 2>conftest.er1
34063 ac_status=$?
34064 grep -v '^ *+' conftest.er1 >conftest.err
34065 rm -f conftest.er1
34066 cat conftest.err >&5
34067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34068 (exit $ac_status); } &&
34069 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34071 (eval $ac_try) 2>&5
34072 ac_status=$?
34073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34074 (exit $ac_status); }; } &&
34075 { ac_try='test -s conftest.$ac_objext'
34076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34077 (eval $ac_try) 2>&5
34078 ac_status=$?
34079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34080 (exit $ac_status); }; }; then
34081 ac_cv_type_ssize_t=yes
34082 else
34083 echo "$as_me: failed program was:" >&5
34084 sed 's/^/| /' conftest.$ac_ext >&5
34085
34086 ac_cv_type_ssize_t=no
34087 fi
34088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34089 fi
34090 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34091 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
34092 if test $ac_cv_type_ssize_t = yes; then
34093
34094 cat >>confdefs.h <<_ACEOF
34095 #define HAVE_SSIZE_T 1
34096 _ACEOF
34097
34098
34099 fi
34100
34101
34102 echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34103 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6
34104 if test "${wx_cv_size_t_is_uint+set}" = set; then
34105 echo $ECHO_N "(cached) $ECHO_C" >&6
34106 else
34107
34108 cat >conftest.$ac_ext <<_ACEOF
34109 /* confdefs.h. */
34110 _ACEOF
34111 cat confdefs.h >>conftest.$ac_ext
34112 cat >>conftest.$ac_ext <<_ACEOF
34113 /* end confdefs.h. */
34114 #include <stddef.h>
34115 int
34116 main ()
34117 {
34118
34119 return 0; }
34120
34121 struct Foo { void foo(size_t); void foo(unsigned int); };
34122
34123 int bar() {
34124
34125 ;
34126 return 0;
34127 }
34128 _ACEOF
34129 rm -f conftest.$ac_objext
34130 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34131 (eval $ac_compile) 2>conftest.er1
34132 ac_status=$?
34133 grep -v '^ *+' conftest.er1 >conftest.err
34134 rm -f conftest.er1
34135 cat conftest.err >&5
34136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34137 (exit $ac_status); } &&
34138 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34140 (eval $ac_try) 2>&5
34141 ac_status=$?
34142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34143 (exit $ac_status); }; } &&
34144 { ac_try='test -s conftest.$ac_objext'
34145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34146 (eval $ac_try) 2>&5
34147 ac_status=$?
34148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34149 (exit $ac_status); }; }; then
34150 wx_cv_size_t_is_uint=no
34151 else
34152 echo "$as_me: failed program was:" >&5
34153 sed 's/^/| /' conftest.$ac_ext >&5
34154
34155 wx_cv_size_t_is_uint=yes
34156
34157 fi
34158 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34159
34160
34161 fi
34162 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34163 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6
34164
34165 if test "$wx_cv_size_t_is_uint" = "yes"; then
34166 cat >>confdefs.h <<\_ACEOF
34167 #define wxSIZE_T_IS_UINT 1
34168 _ACEOF
34169
34170 else
34171 echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34172 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6
34173 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34174 echo $ECHO_N "(cached) $ECHO_C" >&6
34175 else
34176 cat >conftest.$ac_ext <<_ACEOF
34177 /* confdefs.h. */
34178 _ACEOF
34179 cat confdefs.h >>conftest.$ac_ext
34180 cat >>conftest.$ac_ext <<_ACEOF
34181 /* end confdefs.h. */
34182 #include <stddef.h>
34183 int
34184 main ()
34185 {
34186
34187 return 0; }
34188
34189 struct Foo { void foo(size_t); void foo(unsigned long); };
34190
34191 int bar() {
34192
34193 ;
34194 return 0;
34195 }
34196 _ACEOF
34197 rm -f conftest.$ac_objext
34198 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34199 (eval $ac_compile) 2>conftest.er1
34200 ac_status=$?
34201 grep -v '^ *+' conftest.er1 >conftest.err
34202 rm -f conftest.er1
34203 cat conftest.err >&5
34204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34205 (exit $ac_status); } &&
34206 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34208 (eval $ac_try) 2>&5
34209 ac_status=$?
34210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34211 (exit $ac_status); }; } &&
34212 { ac_try='test -s conftest.$ac_objext'
34213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34214 (eval $ac_try) 2>&5
34215 ac_status=$?
34216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34217 (exit $ac_status); }; }; then
34218 wx_cv_size_t_is_ulong=no
34219 else
34220 echo "$as_me: failed program was:" >&5
34221 sed 's/^/| /' conftest.$ac_ext >&5
34222
34223 wx_cv_size_t_is_ulong=yes
34224
34225 fi
34226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34227
34228 fi
34229 echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34230 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6
34231
34232 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34233 cat >>confdefs.h <<\_ACEOF
34234 #define wxSIZE_T_IS_ULONG 1
34235 _ACEOF
34236
34237 fi
34238 fi
34239
34240
34241 echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34242 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6
34243 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34244 echo $ECHO_N "(cached) $ECHO_C" >&6
34245 else
34246
34247 cat >conftest.$ac_ext <<_ACEOF
34248 /* confdefs.h. */
34249 _ACEOF
34250 cat confdefs.h >>conftest.$ac_ext
34251 cat >>conftest.$ac_ext <<_ACEOF
34252 /* end confdefs.h. */
34253 #include <pwd.h>
34254 int
34255 main ()
34256 {
34257
34258 char *p;
34259 struct passwd *pw;
34260 p = pw->pw_gecos;
34261
34262 ;
34263 return 0;
34264 }
34265 _ACEOF
34266 rm -f conftest.$ac_objext
34267 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34268 (eval $ac_compile) 2>conftest.er1
34269 ac_status=$?
34270 grep -v '^ *+' conftest.er1 >conftest.err
34271 rm -f conftest.er1
34272 cat conftest.err >&5
34273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34274 (exit $ac_status); } &&
34275 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34277 (eval $ac_try) 2>&5
34278 ac_status=$?
34279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34280 (exit $ac_status); }; } &&
34281 { ac_try='test -s conftest.$ac_objext'
34282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34283 (eval $ac_try) 2>&5
34284 ac_status=$?
34285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34286 (exit $ac_status); }; }; then
34287
34288 wx_cv_struct_pw_gecos=yes
34289
34290 else
34291 echo "$as_me: failed program was:" >&5
34292 sed 's/^/| /' conftest.$ac_ext >&5
34293
34294
34295 wx_cv_struct_pw_gecos=no
34296
34297
34298 fi
34299 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34300
34301
34302 fi
34303 echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34304 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6
34305
34306 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34307 cat >>confdefs.h <<\_ACEOF
34308 #define HAVE_PW_GECOS 1
34309 _ACEOF
34310
34311 fi
34312
34313
34314 if test "$wxUSE_WCHAR_T" = "yes"; then
34315 cat >>confdefs.h <<\_ACEOF
34316 #define wxUSE_WCHAR_T 1
34317 _ACEOF
34318
34319
34320 WCSLEN_FOUND=0
34321 WCHAR_LINK=
34322
34323 for ac_func in wcslen
34324 do
34325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34326 echo "$as_me:$LINENO: checking for $ac_func" >&5
34327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34328 if eval "test \"\${$as_ac_var+set}\" = set"; then
34329 echo $ECHO_N "(cached) $ECHO_C" >&6
34330 else
34331 cat >conftest.$ac_ext <<_ACEOF
34332 /* confdefs.h. */
34333 _ACEOF
34334 cat confdefs.h >>conftest.$ac_ext
34335 cat >>conftest.$ac_ext <<_ACEOF
34336 /* end confdefs.h. */
34337 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34338 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34339 #define $ac_func innocuous_$ac_func
34340
34341 /* System header to define __stub macros and hopefully few prototypes,
34342 which can conflict with char $ac_func (); below.
34343 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34344 <limits.h> exists even on freestanding compilers. */
34345
34346 #ifdef __STDC__
34347 # include <limits.h>
34348 #else
34349 # include <assert.h>
34350 #endif
34351
34352 #undef $ac_func
34353
34354 /* Override any gcc2 internal prototype to avoid an error. */
34355 #ifdef __cplusplus
34356 extern "C"
34357 {
34358 #endif
34359 /* We use char because int might match the return type of a gcc2
34360 builtin and then its argument prototype would still apply. */
34361 char $ac_func ();
34362 /* The GNU C library defines this for functions which it implements
34363 to always fail with ENOSYS. Some functions are actually named
34364 something starting with __ and the normal name is an alias. */
34365 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34366 choke me
34367 #else
34368 char (*f) () = $ac_func;
34369 #endif
34370 #ifdef __cplusplus
34371 }
34372 #endif
34373
34374 int
34375 main ()
34376 {
34377 return f != $ac_func;
34378 ;
34379 return 0;
34380 }
34381 _ACEOF
34382 rm -f conftest.$ac_objext conftest$ac_exeext
34383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34384 (eval $ac_link) 2>conftest.er1
34385 ac_status=$?
34386 grep -v '^ *+' conftest.er1 >conftest.err
34387 rm -f conftest.er1
34388 cat conftest.err >&5
34389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34390 (exit $ac_status); } &&
34391 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34393 (eval $ac_try) 2>&5
34394 ac_status=$?
34395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34396 (exit $ac_status); }; } &&
34397 { ac_try='test -s conftest$ac_exeext'
34398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34399 (eval $ac_try) 2>&5
34400 ac_status=$?
34401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34402 (exit $ac_status); }; }; then
34403 eval "$as_ac_var=yes"
34404 else
34405 echo "$as_me: failed program was:" >&5
34406 sed 's/^/| /' conftest.$ac_ext >&5
34407
34408 eval "$as_ac_var=no"
34409 fi
34410 rm -f conftest.err conftest.$ac_objext \
34411 conftest$ac_exeext conftest.$ac_ext
34412 fi
34413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34415 if test `eval echo '${'$as_ac_var'}'` = yes; then
34416 cat >>confdefs.h <<_ACEOF
34417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34418 _ACEOF
34419 WCSLEN_FOUND=1
34420 fi
34421 done
34422
34423
34424 if test "$WCSLEN_FOUND" = 0; then
34425 if test "$TOOLKIT" = "MSW"; then
34426 echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34427 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6
34428 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34429 echo $ECHO_N "(cached) $ECHO_C" >&6
34430 else
34431 ac_check_lib_save_LIBS=$LIBS
34432 LIBS="-lmsvcrt $LIBS"
34433 cat >conftest.$ac_ext <<_ACEOF
34434 /* confdefs.h. */
34435 _ACEOF
34436 cat confdefs.h >>conftest.$ac_ext
34437 cat >>conftest.$ac_ext <<_ACEOF
34438 /* end confdefs.h. */
34439
34440 /* Override any gcc2 internal prototype to avoid an error. */
34441 #ifdef __cplusplus
34442 extern "C"
34443 #endif
34444 /* We use char because int might match the return type of a gcc2
34445 builtin and then its argument prototype would still apply. */
34446 char wcslen ();
34447 int
34448 main ()
34449 {
34450 wcslen ();
34451 ;
34452 return 0;
34453 }
34454 _ACEOF
34455 rm -f conftest.$ac_objext conftest$ac_exeext
34456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34457 (eval $ac_link) 2>conftest.er1
34458 ac_status=$?
34459 grep -v '^ *+' conftest.er1 >conftest.err
34460 rm -f conftest.er1
34461 cat conftest.err >&5
34462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34463 (exit $ac_status); } &&
34464 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34466 (eval $ac_try) 2>&5
34467 ac_status=$?
34468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34469 (exit $ac_status); }; } &&
34470 { ac_try='test -s conftest$ac_exeext'
34471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34472 (eval $ac_try) 2>&5
34473 ac_status=$?
34474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34475 (exit $ac_status); }; }; then
34476 ac_cv_lib_msvcrt_wcslen=yes
34477 else
34478 echo "$as_me: failed program was:" >&5
34479 sed 's/^/| /' conftest.$ac_ext >&5
34480
34481 ac_cv_lib_msvcrt_wcslen=no
34482 fi
34483 rm -f conftest.err conftest.$ac_objext \
34484 conftest$ac_exeext conftest.$ac_ext
34485 LIBS=$ac_check_lib_save_LIBS
34486 fi
34487 echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34488 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6
34489 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34490 WCHAR_OK=1
34491 fi
34492
34493 else
34494 echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34495 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6
34496 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34497 echo $ECHO_N "(cached) $ECHO_C" >&6
34498 else
34499 ac_check_lib_save_LIBS=$LIBS
34500 LIBS="-lw $LIBS"
34501 cat >conftest.$ac_ext <<_ACEOF
34502 /* confdefs.h. */
34503 _ACEOF
34504 cat confdefs.h >>conftest.$ac_ext
34505 cat >>conftest.$ac_ext <<_ACEOF
34506 /* end confdefs.h. */
34507
34508 /* Override any gcc2 internal prototype to avoid an error. */
34509 #ifdef __cplusplus
34510 extern "C"
34511 #endif
34512 /* We use char because int might match the return type of a gcc2
34513 builtin and then its argument prototype would still apply. */
34514 char wcslen ();
34515 int
34516 main ()
34517 {
34518 wcslen ();
34519 ;
34520 return 0;
34521 }
34522 _ACEOF
34523 rm -f conftest.$ac_objext conftest$ac_exeext
34524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34525 (eval $ac_link) 2>conftest.er1
34526 ac_status=$?
34527 grep -v '^ *+' conftest.er1 >conftest.err
34528 rm -f conftest.er1
34529 cat conftest.err >&5
34530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34531 (exit $ac_status); } &&
34532 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34534 (eval $ac_try) 2>&5
34535 ac_status=$?
34536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34537 (exit $ac_status); }; } &&
34538 { ac_try='test -s conftest$ac_exeext'
34539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34540 (eval $ac_try) 2>&5
34541 ac_status=$?
34542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34543 (exit $ac_status); }; }; then
34544 ac_cv_lib_w_wcslen=yes
34545 else
34546 echo "$as_me: failed program was:" >&5
34547 sed 's/^/| /' conftest.$ac_ext >&5
34548
34549 ac_cv_lib_w_wcslen=no
34550 fi
34551 rm -f conftest.err conftest.$ac_objext \
34552 conftest$ac_exeext conftest.$ac_ext
34553 LIBS=$ac_check_lib_save_LIBS
34554 fi
34555 echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34556 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6
34557 if test $ac_cv_lib_w_wcslen = yes; then
34558
34559 WCHAR_LINK=" -lw"
34560 WCSLEN_FOUND=1
34561
34562 fi
34563
34564 fi
34565 fi
34566
34567 if test "$WCSLEN_FOUND" = 1; then
34568 cat >>confdefs.h <<\_ACEOF
34569 #define HAVE_WCSLEN 1
34570 _ACEOF
34571
34572 fi
34573
34574 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34575 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34576 fi
34577
34578 echo "$as_me:$LINENO: checking for mbstate_t" >&5
34579 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
34580 if test "${ac_cv_type_mbstate_t+set}" = set; then
34581 echo $ECHO_N "(cached) $ECHO_C" >&6
34582 else
34583 cat >conftest.$ac_ext <<_ACEOF
34584 /* confdefs.h. */
34585 _ACEOF
34586 cat confdefs.h >>conftest.$ac_ext
34587 cat >>conftest.$ac_ext <<_ACEOF
34588 /* end confdefs.h. */
34589 #include <wchar.h>
34590
34591 int
34592 main ()
34593 {
34594 if ((mbstate_t *) 0)
34595 return 0;
34596 if (sizeof (mbstate_t))
34597 return 0;
34598 ;
34599 return 0;
34600 }
34601 _ACEOF
34602 rm -f conftest.$ac_objext
34603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34604 (eval $ac_compile) 2>conftest.er1
34605 ac_status=$?
34606 grep -v '^ *+' conftest.er1 >conftest.err
34607 rm -f conftest.er1
34608 cat conftest.err >&5
34609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34610 (exit $ac_status); } &&
34611 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34613 (eval $ac_try) 2>&5
34614 ac_status=$?
34615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34616 (exit $ac_status); }; } &&
34617 { ac_try='test -s conftest.$ac_objext'
34618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34619 (eval $ac_try) 2>&5
34620 ac_status=$?
34621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34622 (exit $ac_status); }; }; then
34623 ac_cv_type_mbstate_t=yes
34624 else
34625 echo "$as_me: failed program was:" >&5
34626 sed 's/^/| /' conftest.$ac_ext >&5
34627
34628 ac_cv_type_mbstate_t=no
34629 fi
34630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34631 fi
34632 echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34633 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6
34634 if test $ac_cv_type_mbstate_t = yes; then
34635
34636 cat >>confdefs.h <<_ACEOF
34637 #define HAVE_MBSTATE_T 1
34638 _ACEOF
34639
34640
34641 for ac_func in wcsrtombs
34642 do
34643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34644 echo "$as_me:$LINENO: checking for $ac_func" >&5
34645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34646 if eval "test \"\${$as_ac_var+set}\" = set"; then
34647 echo $ECHO_N "(cached) $ECHO_C" >&6
34648 else
34649 cat >conftest.$ac_ext <<_ACEOF
34650 /* confdefs.h. */
34651 _ACEOF
34652 cat confdefs.h >>conftest.$ac_ext
34653 cat >>conftest.$ac_ext <<_ACEOF
34654 /* end confdefs.h. */
34655 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34657 #define $ac_func innocuous_$ac_func
34658
34659 /* System header to define __stub macros and hopefully few prototypes,
34660 which can conflict with char $ac_func (); below.
34661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34662 <limits.h> exists even on freestanding compilers. */
34663
34664 #ifdef __STDC__
34665 # include <limits.h>
34666 #else
34667 # include <assert.h>
34668 #endif
34669
34670 #undef $ac_func
34671
34672 /* Override any gcc2 internal prototype to avoid an error. */
34673 #ifdef __cplusplus
34674 extern "C"
34675 {
34676 #endif
34677 /* We use char because int might match the return type of a gcc2
34678 builtin and then its argument prototype would still apply. */
34679 char $ac_func ();
34680 /* The GNU C library defines this for functions which it implements
34681 to always fail with ENOSYS. Some functions are actually named
34682 something starting with __ and the normal name is an alias. */
34683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34684 choke me
34685 #else
34686 char (*f) () = $ac_func;
34687 #endif
34688 #ifdef __cplusplus
34689 }
34690 #endif
34691
34692 int
34693 main ()
34694 {
34695 return f != $ac_func;
34696 ;
34697 return 0;
34698 }
34699 _ACEOF
34700 rm -f conftest.$ac_objext conftest$ac_exeext
34701 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34702 (eval $ac_link) 2>conftest.er1
34703 ac_status=$?
34704 grep -v '^ *+' conftest.er1 >conftest.err
34705 rm -f conftest.er1
34706 cat conftest.err >&5
34707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34708 (exit $ac_status); } &&
34709 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34711 (eval $ac_try) 2>&5
34712 ac_status=$?
34713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34714 (exit $ac_status); }; } &&
34715 { ac_try='test -s conftest$ac_exeext'
34716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34717 (eval $ac_try) 2>&5
34718 ac_status=$?
34719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34720 (exit $ac_status); }; }; then
34721 eval "$as_ac_var=yes"
34722 else
34723 echo "$as_me: failed program was:" >&5
34724 sed 's/^/| /' conftest.$ac_ext >&5
34725
34726 eval "$as_ac_var=no"
34727 fi
34728 rm -f conftest.err conftest.$ac_objext \
34729 conftest$ac_exeext conftest.$ac_ext
34730 fi
34731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34733 if test `eval echo '${'$as_ac_var'}'` = yes; then
34734 cat >>confdefs.h <<_ACEOF
34735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34736 _ACEOF
34737
34738 fi
34739 done
34740
34741 fi
34742
34743 else
34744 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34745 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34746 fi
34747
34748
34749
34750 for ac_func in snprintf vsnprintf
34751 do
34752 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34753 echo "$as_me:$LINENO: checking for $ac_func" >&5
34754 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34755 if eval "test \"\${$as_ac_var+set}\" = set"; then
34756 echo $ECHO_N "(cached) $ECHO_C" >&6
34757 else
34758 cat >conftest.$ac_ext <<_ACEOF
34759 /* confdefs.h. */
34760 _ACEOF
34761 cat confdefs.h >>conftest.$ac_ext
34762 cat >>conftest.$ac_ext <<_ACEOF
34763 /* end confdefs.h. */
34764 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34765 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34766 #define $ac_func innocuous_$ac_func
34767
34768 /* System header to define __stub macros and hopefully few prototypes,
34769 which can conflict with char $ac_func (); below.
34770 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34771 <limits.h> exists even on freestanding compilers. */
34772
34773 #ifdef __STDC__
34774 # include <limits.h>
34775 #else
34776 # include <assert.h>
34777 #endif
34778
34779 #undef $ac_func
34780
34781 /* Override any gcc2 internal prototype to avoid an error. */
34782 #ifdef __cplusplus
34783 extern "C"
34784 {
34785 #endif
34786 /* We use char because int might match the return type of a gcc2
34787 builtin and then its argument prototype would still apply. */
34788 char $ac_func ();
34789 /* The GNU C library defines this for functions which it implements
34790 to always fail with ENOSYS. Some functions are actually named
34791 something starting with __ and the normal name is an alias. */
34792 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34793 choke me
34794 #else
34795 char (*f) () = $ac_func;
34796 #endif
34797 #ifdef __cplusplus
34798 }
34799 #endif
34800
34801 int
34802 main ()
34803 {
34804 return f != $ac_func;
34805 ;
34806 return 0;
34807 }
34808 _ACEOF
34809 rm -f conftest.$ac_objext conftest$ac_exeext
34810 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34811 (eval $ac_link) 2>conftest.er1
34812 ac_status=$?
34813 grep -v '^ *+' conftest.er1 >conftest.err
34814 rm -f conftest.er1
34815 cat conftest.err >&5
34816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34817 (exit $ac_status); } &&
34818 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34820 (eval $ac_try) 2>&5
34821 ac_status=$?
34822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34823 (exit $ac_status); }; } &&
34824 { ac_try='test -s conftest$ac_exeext'
34825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34826 (eval $ac_try) 2>&5
34827 ac_status=$?
34828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34829 (exit $ac_status); }; }; then
34830 eval "$as_ac_var=yes"
34831 else
34832 echo "$as_me: failed program was:" >&5
34833 sed 's/^/| /' conftest.$ac_ext >&5
34834
34835 eval "$as_ac_var=no"
34836 fi
34837 rm -f conftest.err conftest.$ac_objext \
34838 conftest$ac_exeext conftest.$ac_ext
34839 fi
34840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34841 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34842 if test `eval echo '${'$as_ac_var'}'` = yes; then
34843 cat >>confdefs.h <<_ACEOF
34844 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34845 _ACEOF
34846
34847 fi
34848 done
34849
34850
34851 if test "$ac_cv_func_vsnprintf" = "yes"; then
34852 echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34853 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6
34854 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34855 echo $ECHO_N "(cached) $ECHO_C" >&6
34856 else
34857
34858 cat >conftest.$ac_ext <<_ACEOF
34859 /* confdefs.h. */
34860 _ACEOF
34861 cat confdefs.h >>conftest.$ac_ext
34862 cat >>conftest.$ac_ext <<_ACEOF
34863 /* end confdefs.h. */
34864
34865 #include <stdio.h>
34866 #include <stdarg.h>
34867 #ifdef __MSL__
34868 #if __MSL__ >= 0x6000
34869 namespace std {}
34870 using namespace std;
34871 #endif
34872 #endif
34873
34874 int
34875 main ()
34876 {
34877
34878 char *buf;
34879 va_list ap;
34880 vsnprintf(buf, 10u, "%s", ap);
34881
34882 ;
34883 return 0;
34884 }
34885 _ACEOF
34886 rm -f conftest.$ac_objext
34887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34888 (eval $ac_compile) 2>conftest.er1
34889 ac_status=$?
34890 grep -v '^ *+' conftest.er1 >conftest.err
34891 rm -f conftest.er1
34892 cat conftest.err >&5
34893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34894 (exit $ac_status); } &&
34895 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34897 (eval $ac_try) 2>&5
34898 ac_status=$?
34899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34900 (exit $ac_status); }; } &&
34901 { ac_try='test -s conftest.$ac_objext'
34902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34903 (eval $ac_try) 2>&5
34904 ac_status=$?
34905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34906 (exit $ac_status); }; }; then
34907 wx_cv_func_vsnprintf_decl=yes
34908 else
34909 echo "$as_me: failed program was:" >&5
34910 sed 's/^/| /' conftest.$ac_ext >&5
34911
34912 wx_cv_func_vsnprintf_decl=no
34913
34914 fi
34915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34916
34917
34918 fi
34919 echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34920 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6
34921
34922 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34923 cat >>confdefs.h <<\_ACEOF
34924 #define HAVE_VSNPRINTF_DECL 1
34925 _ACEOF
34926
34927
34928 echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34929 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6
34930 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34931 echo $ECHO_N "(cached) $ECHO_C" >&6
34932 else
34933
34934 cat >conftest.$ac_ext <<_ACEOF
34935 /* confdefs.h. */
34936 _ACEOF
34937 cat confdefs.h >>conftest.$ac_ext
34938 cat >>conftest.$ac_ext <<_ACEOF
34939 /* end confdefs.h. */
34940
34941 #include <stdio.h>
34942 #include <stdarg.h>
34943 #ifdef __MSL__
34944 #if __MSL__ >= 0x6000
34945 namespace std {}
34946 using namespace std;
34947 #endif
34948 #endif
34949
34950 int
34951 main ()
34952 {
34953
34954 char *buf;
34955 va_list ap;
34956 const char *fmt = "%s";
34957 vsnprintf(buf, 10u, fmt, ap);
34958
34959 ;
34960 return 0;
34961 }
34962 _ACEOF
34963 rm -f conftest.$ac_objext
34964 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34965 (eval $ac_compile) 2>conftest.er1
34966 ac_status=$?
34967 grep -v '^ *+' conftest.er1 >conftest.err
34968 rm -f conftest.er1
34969 cat conftest.err >&5
34970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34971 (exit $ac_status); } &&
34972 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
34973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34974 (eval $ac_try) 2>&5
34975 ac_status=$?
34976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34977 (exit $ac_status); }; } &&
34978 { ac_try='test -s conftest.$ac_objext'
34979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34980 (eval $ac_try) 2>&5
34981 ac_status=$?
34982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34983 (exit $ac_status); }; }; then
34984 wx_cv_func_broken_vsnprintf_decl=no
34985 else
34986 echo "$as_me: failed program was:" >&5
34987 sed 's/^/| /' conftest.$ac_ext >&5
34988
34989 wx_cv_func_broken_vsnprintf_decl=yes
34990
34991 fi
34992 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34993
34994
34995 fi
34996 echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34997 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6
34998
34999 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35000 cat >>confdefs.h <<\_ACEOF
35001 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35002 _ACEOF
35003
35004 fi
35005 fi
35006 fi
35007
35008 if test "$ac_cv_func_snprintf" = "yes"; then
35009 echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35010 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6
35011 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35012 echo $ECHO_N "(cached) $ECHO_C" >&6
35013 else
35014
35015 cat >conftest.$ac_ext <<_ACEOF
35016 /* confdefs.h. */
35017 _ACEOF
35018 cat confdefs.h >>conftest.$ac_ext
35019 cat >>conftest.$ac_ext <<_ACEOF
35020 /* end confdefs.h. */
35021
35022 #include <stdio.h>
35023 #include <stdarg.h>
35024 #ifdef __MSL__
35025 #if __MSL__ >= 0x6000
35026 namespace std {}
35027 using namespace std;
35028 #endif
35029 #endif
35030
35031 int
35032 main ()
35033 {
35034
35035 char *buf;
35036 snprintf(buf, 10u, "%s", "wx");
35037
35038 ;
35039 return 0;
35040 }
35041 _ACEOF
35042 rm -f conftest.$ac_objext
35043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35044 (eval $ac_compile) 2>conftest.er1
35045 ac_status=$?
35046 grep -v '^ *+' conftest.er1 >conftest.err
35047 rm -f conftest.er1
35048 cat conftest.err >&5
35049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35050 (exit $ac_status); } &&
35051 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35053 (eval $ac_try) 2>&5
35054 ac_status=$?
35055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35056 (exit $ac_status); }; } &&
35057 { ac_try='test -s conftest.$ac_objext'
35058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35059 (eval $ac_try) 2>&5
35060 ac_status=$?
35061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35062 (exit $ac_status); }; }; then
35063 wx_cv_func_snprintf_decl=yes
35064 else
35065 echo "$as_me: failed program was:" >&5
35066 sed 's/^/| /' conftest.$ac_ext >&5
35067
35068 wx_cv_func_snprintf_decl=no
35069
35070 fi
35071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35072
35073
35074 fi
35075 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35076 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6
35077
35078 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35079 cat >>confdefs.h <<\_ACEOF
35080 #define HAVE_SNPRINTF_DECL 1
35081 _ACEOF
35082
35083
35084 echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
35085 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6
35086 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
35087 echo $ECHO_N "(cached) $ECHO_C" >&6
35088 else
35089
35090 cat >conftest.$ac_ext <<_ACEOF
35091 /* confdefs.h. */
35092 _ACEOF
35093 cat confdefs.h >>conftest.$ac_ext
35094 cat >>conftest.$ac_ext <<_ACEOF
35095 /* end confdefs.h. */
35096
35097 #include <stdio.h>
35098 #include <stdarg.h>
35099 #ifdef __MSL__
35100 #if __MSL__ >= 0x6000
35101 namespace std {}
35102 using namespace std;
35103 #endif
35104 #endif
35105
35106 int
35107 main ()
35108 {
35109
35110 char *buf;
35111 const char *fmt = "%s";
35112 snprintf(buf, 10u, fmt, "wx");
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 wx_cv_func_broken_snprintf_decl=no
35140 else
35141 echo "$as_me: failed program was:" >&5
35142 sed 's/^/| /' conftest.$ac_ext >&5
35143
35144 wx_cv_func_broken_snprintf_decl=yes
35145
35146 fi
35147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35148
35149
35150 fi
35151 echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
35152 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6
35153
35154 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
35155 cat >>confdefs.h <<\_ACEOF
35156 #define HAVE_BROKEN_SNPRINTF_DECL 1
35157 _ACEOF
35158
35159 fi
35160 fi
35161
35162 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35163
35164 echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35165 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6
35166 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35167 echo $ECHO_N "(cached) $ECHO_C" >&6
35168 else
35169
35170 if test "$cross_compiling" = yes; then
35171
35172 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35173 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35174 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35175 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35176 wx_cv_func_snprintf_pos_params=no
35177
35178
35179 else
35180 cat >conftest.$ac_ext <<_ACEOF
35181 /* confdefs.h. */
35182 _ACEOF
35183 cat confdefs.h >>conftest.$ac_ext
35184 cat >>conftest.$ac_ext <<_ACEOF
35185 /* end confdefs.h. */
35186
35187 #include <stdio.h>
35188
35189 int main (void)
35190 {
35191 char buffer[128];
35192 snprintf (buffer, 128, "%2\$d %3\$d %1\$d", 1, 2, 3);
35193 if (strcmp ("2 3 1", buffer) == 0)
35194 exit (0);
35195 exit (1);
35196 }
35197
35198 _ACEOF
35199 rm -f conftest$ac_exeext
35200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35201 (eval $ac_link) 2>&5
35202 ac_status=$?
35203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35204 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35206 (eval $ac_try) 2>&5
35207 ac_status=$?
35208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35209 (exit $ac_status); }; }; then
35210 wx_cv_func_snprintf_pos_params=no
35211 else
35212 echo "$as_me: program exited with status $ac_status" >&5
35213 echo "$as_me: failed program was:" >&5
35214 sed 's/^/| /' conftest.$ac_ext >&5
35215
35216 ( exit $ac_status )
35217 wx_cv_func_snprintf_pos_params=yes
35218 fi
35219 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35220 fi
35221
35222
35223 fi
35224 echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35225 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6
35226
35227 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35228 cat >>confdefs.h <<\_ACEOF
35229 #define HAVE_UNIX98_PRINTF 1
35230 _ACEOF
35231
35232 fi
35233 fi
35234 fi
35235
35236 if test "$wxUSE_UNICODE" = yes; then
35237
35238
35239 for ac_func in swprintf
35240 do
35241 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35242 echo "$as_me:$LINENO: checking for $ac_func" >&5
35243 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35244 if eval "test \"\${$as_ac_var+set}\" = set"; then
35245 echo $ECHO_N "(cached) $ECHO_C" >&6
35246 else
35247 cat >conftest.$ac_ext <<_ACEOF
35248 /* confdefs.h. */
35249 _ACEOF
35250 cat confdefs.h >>conftest.$ac_ext
35251 cat >>conftest.$ac_ext <<_ACEOF
35252 /* end confdefs.h. */
35253 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35254 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35255 #define $ac_func innocuous_$ac_func
35256
35257 /* System header to define __stub macros and hopefully few prototypes,
35258 which can conflict with char $ac_func (); below.
35259 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35260 <limits.h> exists even on freestanding compilers. */
35261
35262 #ifdef __STDC__
35263 # include <limits.h>
35264 #else
35265 # include <assert.h>
35266 #endif
35267
35268 #undef $ac_func
35269
35270 /* Override any gcc2 internal prototype to avoid an error. */
35271 #ifdef __cplusplus
35272 extern "C"
35273 {
35274 #endif
35275 /* We use char because int might match the return type of a gcc2
35276 builtin and then its argument prototype would still apply. */
35277 char $ac_func ();
35278 /* The GNU C library defines this for functions which it implements
35279 to always fail with ENOSYS. Some functions are actually named
35280 something starting with __ and the normal name is an alias. */
35281 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35282 choke me
35283 #else
35284 char (*f) () = $ac_func;
35285 #endif
35286 #ifdef __cplusplus
35287 }
35288 #endif
35289
35290 int
35291 main ()
35292 {
35293 return f != $ac_func;
35294 ;
35295 return 0;
35296 }
35297 _ACEOF
35298 rm -f conftest.$ac_objext conftest$ac_exeext
35299 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35300 (eval $ac_link) 2>conftest.er1
35301 ac_status=$?
35302 grep -v '^ *+' conftest.er1 >conftest.err
35303 rm -f conftest.er1
35304 cat conftest.err >&5
35305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35306 (exit $ac_status); } &&
35307 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35309 (eval $ac_try) 2>&5
35310 ac_status=$?
35311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35312 (exit $ac_status); }; } &&
35313 { ac_try='test -s conftest$ac_exeext'
35314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35315 (eval $ac_try) 2>&5
35316 ac_status=$?
35317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35318 (exit $ac_status); }; }; then
35319 eval "$as_ac_var=yes"
35320 else
35321 echo "$as_me: failed program was:" >&5
35322 sed 's/^/| /' conftest.$ac_ext >&5
35323
35324 eval "$as_ac_var=no"
35325 fi
35326 rm -f conftest.err conftest.$ac_objext \
35327 conftest$ac_exeext conftest.$ac_ext
35328 fi
35329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35330 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35331 if test `eval echo '${'$as_ac_var'}'` = yes; then
35332 cat >>confdefs.h <<_ACEOF
35333 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35334 _ACEOF
35335
35336 fi
35337 done
35338
35339
35340 if test "$ac_cv_func_swprintf" = "yes"; then
35341 echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
35342 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6
35343 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
35344 echo $ECHO_N "(cached) $ECHO_C" >&6
35345 else
35346
35347 cat >conftest.$ac_ext <<_ACEOF
35348 /* confdefs.h. */
35349 _ACEOF
35350 cat confdefs.h >>conftest.$ac_ext
35351 cat >>conftest.$ac_ext <<_ACEOF
35352 /* end confdefs.h. */
35353
35354 #include <stdio.h>
35355 #include <stdarg.h>
35356 #include <wchar.h>
35357
35358 int
35359 main ()
35360 {
35361
35362 wchar_t *buf;
35363 const wchar_t *fmt = L"test";
35364 swprintf(buf, 10u, fmt);
35365
35366 ;
35367 return 0;
35368 }
35369 _ACEOF
35370 rm -f conftest.$ac_objext
35371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35372 (eval $ac_compile) 2>conftest.er1
35373 ac_status=$?
35374 grep -v '^ *+' conftest.er1 >conftest.err
35375 rm -f conftest.er1
35376 cat conftest.err >&5
35377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35378 (exit $ac_status); } &&
35379 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35381 (eval $ac_try) 2>&5
35382 ac_status=$?
35383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35384 (exit $ac_status); }; } &&
35385 { ac_try='test -s conftest.$ac_objext'
35386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35387 (eval $ac_try) 2>&5
35388 ac_status=$?
35389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35390 (exit $ac_status); }; }; then
35391 wx_cv_func_broken_swprintf_decl=no
35392 else
35393 echo "$as_me: failed program was:" >&5
35394 sed 's/^/| /' conftest.$ac_ext >&5
35395
35396 wx_cv_func_broken_swprintf_decl=yes
35397
35398 fi
35399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35400
35401
35402 fi
35403 echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
35404 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6
35405
35406 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
35407 cat >>confdefs.h <<\_ACEOF
35408 #define HAVE_BROKEN_SWPRINTF_DECL 1
35409 _ACEOF
35410
35411 fi
35412 fi
35413
35414
35415
35416
35417
35418
35419
35420 for ac_func in wputc wputchar putws fputws wprintf vswprintf
35421 do
35422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35423 echo "$as_me:$LINENO: checking for $ac_func" >&5
35424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35425 if eval "test \"\${$as_ac_var+set}\" = set"; then
35426 echo $ECHO_N "(cached) $ECHO_C" >&6
35427 else
35428 cat >conftest.$ac_ext <<_ACEOF
35429 /* confdefs.h. */
35430 _ACEOF
35431 cat confdefs.h >>conftest.$ac_ext
35432 cat >>conftest.$ac_ext <<_ACEOF
35433 /* end confdefs.h. */
35434 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35435 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35436 #define $ac_func innocuous_$ac_func
35437
35438 /* System header to define __stub macros and hopefully few prototypes,
35439 which can conflict with char $ac_func (); below.
35440 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35441 <limits.h> exists even on freestanding compilers. */
35442
35443 #ifdef __STDC__
35444 # include <limits.h>
35445 #else
35446 # include <assert.h>
35447 #endif
35448
35449 #undef $ac_func
35450
35451 /* Override any gcc2 internal prototype to avoid an error. */
35452 #ifdef __cplusplus
35453 extern "C"
35454 {
35455 #endif
35456 /* We use char because int might match the return type of a gcc2
35457 builtin and then its argument prototype would still apply. */
35458 char $ac_func ();
35459 /* The GNU C library defines this for functions which it implements
35460 to always fail with ENOSYS. Some functions are actually named
35461 something starting with __ and the normal name is an alias. */
35462 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35463 choke me
35464 #else
35465 char (*f) () = $ac_func;
35466 #endif
35467 #ifdef __cplusplus
35468 }
35469 #endif
35470
35471 int
35472 main ()
35473 {
35474 return f != $ac_func;
35475 ;
35476 return 0;
35477 }
35478 _ACEOF
35479 rm -f conftest.$ac_objext conftest$ac_exeext
35480 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35481 (eval $ac_link) 2>conftest.er1
35482 ac_status=$?
35483 grep -v '^ *+' conftest.er1 >conftest.err
35484 rm -f conftest.er1
35485 cat conftest.err >&5
35486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35487 (exit $ac_status); } &&
35488 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35490 (eval $ac_try) 2>&5
35491 ac_status=$?
35492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35493 (exit $ac_status); }; } &&
35494 { ac_try='test -s conftest$ac_exeext'
35495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35496 (eval $ac_try) 2>&5
35497 ac_status=$?
35498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35499 (exit $ac_status); }; }; then
35500 eval "$as_ac_var=yes"
35501 else
35502 echo "$as_me: failed program was:" >&5
35503 sed 's/^/| /' conftest.$ac_ext >&5
35504
35505 eval "$as_ac_var=no"
35506 fi
35507 rm -f conftest.err conftest.$ac_objext \
35508 conftest$ac_exeext conftest.$ac_ext
35509 fi
35510 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35511 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35512 if test `eval echo '${'$as_ac_var'}'` = yes; then
35513 cat >>confdefs.h <<_ACEOF
35514 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35515 _ACEOF
35516
35517 fi
35518 done
35519
35520
35521 echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35522 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6
35523 cat >conftest.$ac_ext <<_ACEOF
35524 /* confdefs.h. */
35525 _ACEOF
35526 cat confdefs.h >>conftest.$ac_ext
35527 cat >>conftest.$ac_ext <<_ACEOF
35528 /* end confdefs.h. */
35529 #include <wchar.h>
35530 int
35531 main ()
35532 {
35533 &_vsnwprintf;
35534 ;
35535 return 0;
35536 }
35537 _ACEOF
35538 rm -f conftest.$ac_objext
35539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35540 (eval $ac_compile) 2>conftest.er1
35541 ac_status=$?
35542 grep -v '^ *+' conftest.er1 >conftest.err
35543 rm -f conftest.er1
35544 cat conftest.err >&5
35545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35546 (exit $ac_status); } &&
35547 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35549 (eval $ac_try) 2>&5
35550 ac_status=$?
35551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35552 (exit $ac_status); }; } &&
35553 { ac_try='test -s conftest.$ac_objext'
35554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35555 (eval $ac_try) 2>&5
35556 ac_status=$?
35557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35558 (exit $ac_status); }; }; then
35559 echo "$as_me:$LINENO: result: yes" >&5
35560 echo "${ECHO_T}yes" >&6
35561 cat >>confdefs.h <<\_ACEOF
35562 #define HAVE__VSNWPRINTF 1
35563 _ACEOF
35564
35565 else
35566 echo "$as_me: failed program was:" >&5
35567 sed 's/^/| /' conftest.$ac_ext >&5
35568
35569 echo "$as_me:$LINENO: result: no" >&5
35570 echo "${ECHO_T}no" >&6
35571 fi
35572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext;
35573 fi
35574
35575 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35576
35577 for ac_func in fnmatch
35578 do
35579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35580 echo "$as_me:$LINENO: checking for $ac_func" >&5
35581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35582 if eval "test \"\${$as_ac_var+set}\" = set"; then
35583 echo $ECHO_N "(cached) $ECHO_C" >&6
35584 else
35585 cat >conftest.$ac_ext <<_ACEOF
35586 /* confdefs.h. */
35587 _ACEOF
35588 cat confdefs.h >>conftest.$ac_ext
35589 cat >>conftest.$ac_ext <<_ACEOF
35590 /* end confdefs.h. */
35591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35593 #define $ac_func innocuous_$ac_func
35594
35595 /* System header to define __stub macros and hopefully few prototypes,
35596 which can conflict with char $ac_func (); below.
35597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35598 <limits.h> exists even on freestanding compilers. */
35599
35600 #ifdef __STDC__
35601 # include <limits.h>
35602 #else
35603 # include <assert.h>
35604 #endif
35605
35606 #undef $ac_func
35607
35608 /* Override any gcc2 internal prototype to avoid an error. */
35609 #ifdef __cplusplus
35610 extern "C"
35611 {
35612 #endif
35613 /* We use char because int might match the return type of a gcc2
35614 builtin and then its argument prototype would still apply. */
35615 char $ac_func ();
35616 /* The GNU C library defines this for functions which it implements
35617 to always fail with ENOSYS. Some functions are actually named
35618 something starting with __ and the normal name is an alias. */
35619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35620 choke me
35621 #else
35622 char (*f) () = $ac_func;
35623 #endif
35624 #ifdef __cplusplus
35625 }
35626 #endif
35627
35628 int
35629 main ()
35630 {
35631 return f != $ac_func;
35632 ;
35633 return 0;
35634 }
35635 _ACEOF
35636 rm -f conftest.$ac_objext conftest$ac_exeext
35637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35638 (eval $ac_link) 2>conftest.er1
35639 ac_status=$?
35640 grep -v '^ *+' conftest.er1 >conftest.err
35641 rm -f conftest.er1
35642 cat conftest.err >&5
35643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35644 (exit $ac_status); } &&
35645 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35647 (eval $ac_try) 2>&5
35648 ac_status=$?
35649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35650 (exit $ac_status); }; } &&
35651 { ac_try='test -s conftest$ac_exeext'
35652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35653 (eval $ac_try) 2>&5
35654 ac_status=$?
35655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35656 (exit $ac_status); }; }; then
35657 eval "$as_ac_var=yes"
35658 else
35659 echo "$as_me: failed program was:" >&5
35660 sed 's/^/| /' conftest.$ac_ext >&5
35661
35662 eval "$as_ac_var=no"
35663 fi
35664 rm -f conftest.err conftest.$ac_objext \
35665 conftest$ac_exeext conftest.$ac_ext
35666 fi
35667 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35668 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35669 if test `eval echo '${'$as_ac_var'}'` = yes; then
35670 cat >>confdefs.h <<_ACEOF
35671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35672 _ACEOF
35673
35674 fi
35675 done
35676
35677 fi
35678
35679 if test "$wxUSE_FILE" = "yes"; then
35680
35681 for ac_func in fsync
35682 do
35683 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35684 echo "$as_me:$LINENO: checking for $ac_func" >&5
35685 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35686 if eval "test \"\${$as_ac_var+set}\" = set"; then
35687 echo $ECHO_N "(cached) $ECHO_C" >&6
35688 else
35689 cat >conftest.$ac_ext <<_ACEOF
35690 /* confdefs.h. */
35691 _ACEOF
35692 cat confdefs.h >>conftest.$ac_ext
35693 cat >>conftest.$ac_ext <<_ACEOF
35694 /* end confdefs.h. */
35695 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35696 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35697 #define $ac_func innocuous_$ac_func
35698
35699 /* System header to define __stub macros and hopefully few prototypes,
35700 which can conflict with char $ac_func (); below.
35701 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35702 <limits.h> exists even on freestanding compilers. */
35703
35704 #ifdef __STDC__
35705 # include <limits.h>
35706 #else
35707 # include <assert.h>
35708 #endif
35709
35710 #undef $ac_func
35711
35712 /* Override any gcc2 internal prototype to avoid an error. */
35713 #ifdef __cplusplus
35714 extern "C"
35715 {
35716 #endif
35717 /* We use char because int might match the return type of a gcc2
35718 builtin and then its argument prototype would still apply. */
35719 char $ac_func ();
35720 /* The GNU C library defines this for functions which it implements
35721 to always fail with ENOSYS. Some functions are actually named
35722 something starting with __ and the normal name is an alias. */
35723 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35724 choke me
35725 #else
35726 char (*f) () = $ac_func;
35727 #endif
35728 #ifdef __cplusplus
35729 }
35730 #endif
35731
35732 int
35733 main ()
35734 {
35735 return f != $ac_func;
35736 ;
35737 return 0;
35738 }
35739 _ACEOF
35740 rm -f conftest.$ac_objext conftest$ac_exeext
35741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35742 (eval $ac_link) 2>conftest.er1
35743 ac_status=$?
35744 grep -v '^ *+' conftest.er1 >conftest.err
35745 rm -f conftest.er1
35746 cat conftest.err >&5
35747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35748 (exit $ac_status); } &&
35749 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35751 (eval $ac_try) 2>&5
35752 ac_status=$?
35753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35754 (exit $ac_status); }; } &&
35755 { ac_try='test -s conftest$ac_exeext'
35756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35757 (eval $ac_try) 2>&5
35758 ac_status=$?
35759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35760 (exit $ac_status); }; }; then
35761 eval "$as_ac_var=yes"
35762 else
35763 echo "$as_me: failed program was:" >&5
35764 sed 's/^/| /' conftest.$ac_ext >&5
35765
35766 eval "$as_ac_var=no"
35767 fi
35768 rm -f conftest.err conftest.$ac_objext \
35769 conftest$ac_exeext conftest.$ac_ext
35770 fi
35771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35773 if test `eval echo '${'$as_ac_var'}'` = yes; then
35774 cat >>confdefs.h <<_ACEOF
35775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35776 _ACEOF
35777
35778 fi
35779 done
35780
35781 fi
35782
35783
35784 for ac_func in round
35785 do
35786 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35787 echo "$as_me:$LINENO: checking for $ac_func" >&5
35788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35789 if eval "test \"\${$as_ac_var+set}\" = set"; then
35790 echo $ECHO_N "(cached) $ECHO_C" >&6
35791 else
35792 cat >conftest.$ac_ext <<_ACEOF
35793 /* confdefs.h. */
35794 _ACEOF
35795 cat confdefs.h >>conftest.$ac_ext
35796 cat >>conftest.$ac_ext <<_ACEOF
35797 /* end confdefs.h. */
35798 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35799 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35800 #define $ac_func innocuous_$ac_func
35801
35802 /* System header to define __stub macros and hopefully few prototypes,
35803 which can conflict with char $ac_func (); below.
35804 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35805 <limits.h> exists even on freestanding compilers. */
35806
35807 #ifdef __STDC__
35808 # include <limits.h>
35809 #else
35810 # include <assert.h>
35811 #endif
35812
35813 #undef $ac_func
35814
35815 /* Override any gcc2 internal prototype to avoid an error. */
35816 #ifdef __cplusplus
35817 extern "C"
35818 {
35819 #endif
35820 /* We use char because int might match the return type of a gcc2
35821 builtin and then its argument prototype would still apply. */
35822 char $ac_func ();
35823 /* The GNU C library defines this for functions which it implements
35824 to always fail with ENOSYS. Some functions are actually named
35825 something starting with __ and the normal name is an alias. */
35826 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35827 choke me
35828 #else
35829 char (*f) () = $ac_func;
35830 #endif
35831 #ifdef __cplusplus
35832 }
35833 #endif
35834
35835 int
35836 main ()
35837 {
35838 return f != $ac_func;
35839 ;
35840 return 0;
35841 }
35842 _ACEOF
35843 rm -f conftest.$ac_objext conftest$ac_exeext
35844 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35845 (eval $ac_link) 2>conftest.er1
35846 ac_status=$?
35847 grep -v '^ *+' conftest.er1 >conftest.err
35848 rm -f conftest.er1
35849 cat conftest.err >&5
35850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35851 (exit $ac_status); } &&
35852 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35854 (eval $ac_try) 2>&5
35855 ac_status=$?
35856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35857 (exit $ac_status); }; } &&
35858 { ac_try='test -s conftest$ac_exeext'
35859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35860 (eval $ac_try) 2>&5
35861 ac_status=$?
35862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35863 (exit $ac_status); }; }; then
35864 eval "$as_ac_var=yes"
35865 else
35866 echo "$as_me: failed program was:" >&5
35867 sed 's/^/| /' conftest.$ac_ext >&5
35868
35869 eval "$as_ac_var=no"
35870 fi
35871 rm -f conftest.err conftest.$ac_objext \
35872 conftest$ac_exeext conftest.$ac_ext
35873 fi
35874 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35875 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35876 if test `eval echo '${'$as_ac_var'}'` = yes; then
35877 cat >>confdefs.h <<_ACEOF
35878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35879 _ACEOF
35880
35881 fi
35882 done
35883
35884 if test "$ac_cv_func_round" = yes; then
35885 echo "$as_me:$LINENO: checking whether round is declared" >&5
35886 echo $ECHO_N "checking whether round is declared... $ECHO_C" >&6
35887 if test "${ac_cv_have_decl_round+set}" = set; then
35888 echo $ECHO_N "(cached) $ECHO_C" >&6
35889 else
35890 cat >conftest.$ac_ext <<_ACEOF
35891 /* confdefs.h. */
35892 _ACEOF
35893 cat confdefs.h >>conftest.$ac_ext
35894 cat >>conftest.$ac_ext <<_ACEOF
35895 /* end confdefs.h. */
35896 #include <math.h>
35897
35898 int
35899 main ()
35900 {
35901 #ifndef round
35902 char *p = (char *) round;
35903 #endif
35904
35905 ;
35906 return 0;
35907 }
35908 _ACEOF
35909 rm -f conftest.$ac_objext
35910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35911 (eval $ac_compile) 2>conftest.er1
35912 ac_status=$?
35913 grep -v '^ *+' conftest.er1 >conftest.err
35914 rm -f conftest.er1
35915 cat conftest.err >&5
35916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35917 (exit $ac_status); } &&
35918 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
35919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35920 (eval $ac_try) 2>&5
35921 ac_status=$?
35922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35923 (exit $ac_status); }; } &&
35924 { ac_try='test -s conftest.$ac_objext'
35925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35926 (eval $ac_try) 2>&5
35927 ac_status=$?
35928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35929 (exit $ac_status); }; }; then
35930 ac_cv_have_decl_round=yes
35931 else
35932 echo "$as_me: failed program was:" >&5
35933 sed 's/^/| /' conftest.$ac_ext >&5
35934
35935 ac_cv_have_decl_round=no
35936 fi
35937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35938 fi
35939 echo "$as_me:$LINENO: result: $ac_cv_have_decl_round" >&5
35940 echo "${ECHO_T}$ac_cv_have_decl_round" >&6
35941 if test $ac_cv_have_decl_round = yes; then
35942
35943 cat >>confdefs.h <<_ACEOF
35944 #define HAVE_DECL_ROUND 1
35945 _ACEOF
35946
35947
35948 else
35949 cat >>confdefs.h <<_ACEOF
35950 #define HAVE_DECL_ROUND 0
35951 _ACEOF
35952
35953
35954 fi
35955
35956
35957 fi
35958
35959
35960 if test "$TOOLKIT" != "MSW"; then
35961
35962
35963
35964
35965
35966 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
35967 if test "${with_libiconv_prefix+set}" = set; then
35968 withval="$with_libiconv_prefix"
35969
35970 for dir in `echo "$withval" | tr : ' '`; do
35971 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35972 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35973 done
35974
35975 fi;
35976
35977 echo "$as_me:$LINENO: checking for iconv" >&5
35978 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
35979 if test "${am_cv_func_iconv+set}" = set; then
35980 echo $ECHO_N "(cached) $ECHO_C" >&6
35981 else
35982
35983 am_cv_func_iconv="no, consider installing GNU libiconv"
35984 am_cv_lib_iconv=no
35985 cat >conftest.$ac_ext <<_ACEOF
35986 /* confdefs.h. */
35987 _ACEOF
35988 cat confdefs.h >>conftest.$ac_ext
35989 cat >>conftest.$ac_ext <<_ACEOF
35990 /* end confdefs.h. */
35991 #include <stdlib.h>
35992 #include <iconv.h>
35993 int
35994 main ()
35995 {
35996 iconv_t cd = iconv_open("","");
35997 iconv(cd,NULL,NULL,NULL,NULL);
35998 iconv_close(cd);
35999 ;
36000 return 0;
36001 }
36002 _ACEOF
36003 rm -f conftest.$ac_objext conftest$ac_exeext
36004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36005 (eval $ac_link) 2>conftest.er1
36006 ac_status=$?
36007 grep -v '^ *+' conftest.er1 >conftest.err
36008 rm -f conftest.er1
36009 cat conftest.err >&5
36010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36011 (exit $ac_status); } &&
36012 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36014 (eval $ac_try) 2>&5
36015 ac_status=$?
36016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36017 (exit $ac_status); }; } &&
36018 { ac_try='test -s conftest$ac_exeext'
36019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36020 (eval $ac_try) 2>&5
36021 ac_status=$?
36022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36023 (exit $ac_status); }; }; then
36024 am_cv_func_iconv=yes
36025 else
36026 echo "$as_me: failed program was:" >&5
36027 sed 's/^/| /' conftest.$ac_ext >&5
36028
36029 fi
36030 rm -f conftest.err conftest.$ac_objext \
36031 conftest$ac_exeext conftest.$ac_ext
36032 if test "$am_cv_func_iconv" != yes; then
36033 am_save_LIBS="$LIBS"
36034 LIBS="$LIBS -liconv"
36035 cat >conftest.$ac_ext <<_ACEOF
36036 /* confdefs.h. */
36037 _ACEOF
36038 cat confdefs.h >>conftest.$ac_ext
36039 cat >>conftest.$ac_ext <<_ACEOF
36040 /* end confdefs.h. */
36041 #include <stdlib.h>
36042 #include <iconv.h>
36043 int
36044 main ()
36045 {
36046 iconv_t cd = iconv_open("","");
36047 iconv(cd,NULL,NULL,NULL,NULL);
36048 iconv_close(cd);
36049 ;
36050 return 0;
36051 }
36052 _ACEOF
36053 rm -f conftest.$ac_objext conftest$ac_exeext
36054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36055 (eval $ac_link) 2>conftest.er1
36056 ac_status=$?
36057 grep -v '^ *+' conftest.er1 >conftest.err
36058 rm -f conftest.er1
36059 cat conftest.err >&5
36060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36061 (exit $ac_status); } &&
36062 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36064 (eval $ac_try) 2>&5
36065 ac_status=$?
36066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36067 (exit $ac_status); }; } &&
36068 { ac_try='test -s conftest$ac_exeext'
36069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36070 (eval $ac_try) 2>&5
36071 ac_status=$?
36072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36073 (exit $ac_status); }; }; then
36074 am_cv_lib_iconv=yes
36075 am_cv_func_iconv=yes
36076 else
36077 echo "$as_me: failed program was:" >&5
36078 sed 's/^/| /' conftest.$ac_ext >&5
36079
36080 fi
36081 rm -f conftest.err conftest.$ac_objext \
36082 conftest$ac_exeext conftest.$ac_ext
36083 LIBS="$am_save_LIBS"
36084 fi
36085
36086 fi
36087 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36088 echo "${ECHO_T}$am_cv_func_iconv" >&6
36089 if test "$am_cv_func_iconv" = yes; then
36090
36091 cat >>confdefs.h <<\_ACEOF
36092 #define HAVE_ICONV 1
36093 _ACEOF
36094
36095 echo "$as_me:$LINENO: checking if iconv needs const" >&5
36096 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6
36097 if test "${wx_cv_func_iconv_const+set}" = set; then
36098 echo $ECHO_N "(cached) $ECHO_C" >&6
36099 else
36100 cat >conftest.$ac_ext <<_ACEOF
36101 /* confdefs.h. */
36102 _ACEOF
36103 cat confdefs.h >>conftest.$ac_ext
36104 cat >>conftest.$ac_ext <<_ACEOF
36105 /* end confdefs.h. */
36106
36107 #include <stdlib.h>
36108 #include <iconv.h>
36109 extern
36110 #ifdef __cplusplus
36111 "C"
36112 #endif
36113 #if defined(__STDC__) || defined(__cplusplus)
36114 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36115 #else
36116 size_t iconv();
36117 #endif
36118
36119 int
36120 main ()
36121 {
36122
36123 ;
36124 return 0;
36125 }
36126 _ACEOF
36127 rm -f conftest.$ac_objext
36128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36129 (eval $ac_compile) 2>conftest.er1
36130 ac_status=$?
36131 grep -v '^ *+' conftest.er1 >conftest.err
36132 rm -f conftest.er1
36133 cat conftest.err >&5
36134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36135 (exit $ac_status); } &&
36136 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36138 (eval $ac_try) 2>&5
36139 ac_status=$?
36140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36141 (exit $ac_status); }; } &&
36142 { ac_try='test -s conftest.$ac_objext'
36143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36144 (eval $ac_try) 2>&5
36145 ac_status=$?
36146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36147 (exit $ac_status); }; }; then
36148 wx_cv_func_iconv_const="no"
36149 else
36150 echo "$as_me: failed program was:" >&5
36151 sed 's/^/| /' conftest.$ac_ext >&5
36152
36153 wx_cv_func_iconv_const="yes"
36154
36155 fi
36156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36157
36158 fi
36159 echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36160 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6
36161
36162 iconv_const=
36163 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36164 iconv_const="const"
36165 fi
36166
36167
36168 cat >>confdefs.h <<_ACEOF
36169 #define ICONV_CONST $iconv_const
36170 _ACEOF
36171
36172 fi
36173 LIBICONV=
36174 if test "$am_cv_lib_iconv" = yes; then
36175 LIBICONV="-liconv"
36176 fi
36177
36178
36179 LIBS="$LIBICONV $LIBS"
36180
36181 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36182
36183 for ac_func in sigaction
36184 do
36185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36186 echo "$as_me:$LINENO: checking for $ac_func" >&5
36187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36188 if eval "test \"\${$as_ac_var+set}\" = set"; then
36189 echo $ECHO_N "(cached) $ECHO_C" >&6
36190 else
36191 cat >conftest.$ac_ext <<_ACEOF
36192 /* confdefs.h. */
36193 _ACEOF
36194 cat confdefs.h >>conftest.$ac_ext
36195 cat >>conftest.$ac_ext <<_ACEOF
36196 /* end confdefs.h. */
36197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36199 #define $ac_func innocuous_$ac_func
36200
36201 /* System header to define __stub macros and hopefully few prototypes,
36202 which can conflict with char $ac_func (); below.
36203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36204 <limits.h> exists even on freestanding compilers. */
36205
36206 #ifdef __STDC__
36207 # include <limits.h>
36208 #else
36209 # include <assert.h>
36210 #endif
36211
36212 #undef $ac_func
36213
36214 /* Override any gcc2 internal prototype to avoid an error. */
36215 #ifdef __cplusplus
36216 extern "C"
36217 {
36218 #endif
36219 /* We use char because int might match the return type of a gcc2
36220 builtin and then its argument prototype would still apply. */
36221 char $ac_func ();
36222 /* The GNU C library defines this for functions which it implements
36223 to always fail with ENOSYS. Some functions are actually named
36224 something starting with __ and the normal name is an alias. */
36225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36226 choke me
36227 #else
36228 char (*f) () = $ac_func;
36229 #endif
36230 #ifdef __cplusplus
36231 }
36232 #endif
36233
36234 int
36235 main ()
36236 {
36237 return f != $ac_func;
36238 ;
36239 return 0;
36240 }
36241 _ACEOF
36242 rm -f conftest.$ac_objext conftest$ac_exeext
36243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36244 (eval $ac_link) 2>conftest.er1
36245 ac_status=$?
36246 grep -v '^ *+' conftest.er1 >conftest.err
36247 rm -f conftest.er1
36248 cat conftest.err >&5
36249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36250 (exit $ac_status); } &&
36251 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36253 (eval $ac_try) 2>&5
36254 ac_status=$?
36255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36256 (exit $ac_status); }; } &&
36257 { ac_try='test -s conftest$ac_exeext'
36258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36259 (eval $ac_try) 2>&5
36260 ac_status=$?
36261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36262 (exit $ac_status); }; }; then
36263 eval "$as_ac_var=yes"
36264 else
36265 echo "$as_me: failed program was:" >&5
36266 sed 's/^/| /' conftest.$ac_ext >&5
36267
36268 eval "$as_ac_var=no"
36269 fi
36270 rm -f conftest.err conftest.$ac_objext \
36271 conftest$ac_exeext conftest.$ac_ext
36272 fi
36273 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36274 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36275 if test `eval echo '${'$as_ac_var'}'` = yes; then
36276 cat >>confdefs.h <<_ACEOF
36277 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36278 _ACEOF
36279
36280 fi
36281 done
36282
36283
36284 if test "$ac_cv_func_sigaction" = "no"; then
36285 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36286 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36287 wxUSE_ON_FATAL_EXCEPTION=no
36288 fi
36289
36290 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36291 echo "$as_me:$LINENO: checking for sa_handler type" >&5
36292 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6
36293 if test "${wx_cv_type_sa_handler+set}" = set; then
36294 echo $ECHO_N "(cached) $ECHO_C" >&6
36295 else
36296
36297 cat >conftest.$ac_ext <<_ACEOF
36298 /* confdefs.h. */
36299 _ACEOF
36300 cat confdefs.h >>conftest.$ac_ext
36301 cat >>conftest.$ac_ext <<_ACEOF
36302 /* end confdefs.h. */
36303 #include <signal.h>
36304 int
36305 main ()
36306 {
36307
36308 extern void testSigHandler(int);
36309
36310 struct sigaction sa;
36311 sa.sa_handler = testSigHandler;
36312
36313 ;
36314 return 0;
36315 }
36316 _ACEOF
36317 rm -f conftest.$ac_objext
36318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36319 (eval $ac_compile) 2>conftest.er1
36320 ac_status=$?
36321 grep -v '^ *+' conftest.er1 >conftest.err
36322 rm -f conftest.er1
36323 cat conftest.err >&5
36324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36325 (exit $ac_status); } &&
36326 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36328 (eval $ac_try) 2>&5
36329 ac_status=$?
36330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36331 (exit $ac_status); }; } &&
36332 { ac_try='test -s conftest.$ac_objext'
36333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36334 (eval $ac_try) 2>&5
36335 ac_status=$?
36336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36337 (exit $ac_status); }; }; then
36338
36339 wx_cv_type_sa_handler=int
36340
36341 else
36342 echo "$as_me: failed program was:" >&5
36343 sed 's/^/| /' conftest.$ac_ext >&5
36344
36345
36346 wx_cv_type_sa_handler=void
36347
36348 fi
36349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36350
36351 fi
36352 echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36353 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6
36354
36355 cat >>confdefs.h <<_ACEOF
36356 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36357 _ACEOF
36358
36359 fi
36360 fi
36361
36362 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36363 echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36364 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6
36365 if test "${wx_cv_func_backtrace+set}" = set; then
36366 echo $ECHO_N "(cached) $ECHO_C" >&6
36367 else
36368
36369 cat >conftest.$ac_ext <<_ACEOF
36370 /* confdefs.h. */
36371 _ACEOF
36372 cat confdefs.h >>conftest.$ac_ext
36373 cat >>conftest.$ac_ext <<_ACEOF
36374 /* end confdefs.h. */
36375 #include <execinfo.h>
36376 int
36377 main ()
36378 {
36379
36380 void *trace[1];
36381 char **messages;
36382
36383 backtrace(trace, 1);
36384 messages = backtrace_symbols(trace, 1);
36385
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 wx_cv_func_backtrace=yes
36412 else
36413 echo "$as_me: failed program was:" >&5
36414 sed 's/^/| /' conftest.$ac_ext >&5
36415
36416 wx_cv_func_backtrace=no
36417
36418 fi
36419 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36420
36421
36422 fi
36423 echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36424 echo "${ECHO_T}$wx_cv_func_backtrace" >&6
36425
36426
36427 if test "$wx_cv_func_backtrace" = "no"; then
36428 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36429 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36430 wxUSE_STACKWALKER=no
36431 else
36432 echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36433 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6
36434 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36435 echo $ECHO_N "(cached) $ECHO_C" >&6
36436 else
36437
36438 cat >conftest.$ac_ext <<_ACEOF
36439 /* confdefs.h. */
36440 _ACEOF
36441 cat confdefs.h >>conftest.$ac_ext
36442 cat >>conftest.$ac_ext <<_ACEOF
36443 /* end confdefs.h. */
36444 #include <cxxabi.h>
36445 int
36446 main ()
36447 {
36448
36449 int rc;
36450 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36451
36452 ;
36453 return 0;
36454 }
36455 _ACEOF
36456 rm -f conftest.$ac_objext conftest$ac_exeext
36457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36458 (eval $ac_link) 2>conftest.er1
36459 ac_status=$?
36460 grep -v '^ *+' conftest.er1 >conftest.err
36461 rm -f conftest.er1
36462 cat conftest.err >&5
36463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36464 (exit $ac_status); } &&
36465 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36467 (eval $ac_try) 2>&5
36468 ac_status=$?
36469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36470 (exit $ac_status); }; } &&
36471 { ac_try='test -s conftest$ac_exeext'
36472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36473 (eval $ac_try) 2>&5
36474 ac_status=$?
36475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36476 (exit $ac_status); }; }; then
36477 wx_cv_func_cxa_demangle=yes
36478 else
36479 echo "$as_me: failed program was:" >&5
36480 sed 's/^/| /' conftest.$ac_ext >&5
36481
36482 wx_cv_func_cxa_demangle=no
36483
36484 fi
36485 rm -f conftest.err conftest.$ac_objext \
36486 conftest$ac_exeext conftest.$ac_ext
36487
36488
36489 fi
36490 echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36491 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6
36492
36493 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36494 cat >>confdefs.h <<\_ACEOF
36495 #define HAVE_CXA_DEMANGLE 1
36496 _ACEOF
36497
36498 fi
36499 fi
36500 fi
36501
36502 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
36503 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36504 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36505 wxUSE_STACKWALKER=no
36506 fi
36507
36508
36509
36510
36511 for ac_func in mkstemp mktemp
36512 do
36513 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36514 echo "$as_me:$LINENO: checking for $ac_func" >&5
36515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36516 if eval "test \"\${$as_ac_var+set}\" = set"; then
36517 echo $ECHO_N "(cached) $ECHO_C" >&6
36518 else
36519 cat >conftest.$ac_ext <<_ACEOF
36520 /* confdefs.h. */
36521 _ACEOF
36522 cat confdefs.h >>conftest.$ac_ext
36523 cat >>conftest.$ac_ext <<_ACEOF
36524 /* end confdefs.h. */
36525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36527 #define $ac_func innocuous_$ac_func
36528
36529 /* System header to define __stub macros and hopefully few prototypes,
36530 which can conflict with char $ac_func (); below.
36531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36532 <limits.h> exists even on freestanding compilers. */
36533
36534 #ifdef __STDC__
36535 # include <limits.h>
36536 #else
36537 # include <assert.h>
36538 #endif
36539
36540 #undef $ac_func
36541
36542 /* Override any gcc2 internal prototype to avoid an error. */
36543 #ifdef __cplusplus
36544 extern "C"
36545 {
36546 #endif
36547 /* We use char because int might match the return type of a gcc2
36548 builtin and then its argument prototype would still apply. */
36549 char $ac_func ();
36550 /* The GNU C library defines this for functions which it implements
36551 to always fail with ENOSYS. Some functions are actually named
36552 something starting with __ and the normal name is an alias. */
36553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36554 choke me
36555 #else
36556 char (*f) () = $ac_func;
36557 #endif
36558 #ifdef __cplusplus
36559 }
36560 #endif
36561
36562 int
36563 main ()
36564 {
36565 return f != $ac_func;
36566 ;
36567 return 0;
36568 }
36569 _ACEOF
36570 rm -f conftest.$ac_objext conftest$ac_exeext
36571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36572 (eval $ac_link) 2>conftest.er1
36573 ac_status=$?
36574 grep -v '^ *+' conftest.er1 >conftest.err
36575 rm -f conftest.er1
36576 cat conftest.err >&5
36577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36578 (exit $ac_status); } &&
36579 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36581 (eval $ac_try) 2>&5
36582 ac_status=$?
36583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36584 (exit $ac_status); }; } &&
36585 { ac_try='test -s conftest$ac_exeext'
36586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36587 (eval $ac_try) 2>&5
36588 ac_status=$?
36589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36590 (exit $ac_status); }; }; then
36591 eval "$as_ac_var=yes"
36592 else
36593 echo "$as_me: failed program was:" >&5
36594 sed 's/^/| /' conftest.$ac_ext >&5
36595
36596 eval "$as_ac_var=no"
36597 fi
36598 rm -f conftest.err conftest.$ac_objext \
36599 conftest$ac_exeext conftest.$ac_ext
36600 fi
36601 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36602 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36603 if test `eval echo '${'$as_ac_var'}'` = yes; then
36604 cat >>confdefs.h <<_ACEOF
36605 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36606 _ACEOF
36607 break
36608 fi
36609 done
36610
36611
36612 echo "$as_me:$LINENO: checking for statfs" >&5
36613 echo $ECHO_N "checking for statfs... $ECHO_C" >&6
36614 if test "${wx_cv_func_statfs+set}" = set; then
36615 echo $ECHO_N "(cached) $ECHO_C" >&6
36616 else
36617 cat >conftest.$ac_ext <<_ACEOF
36618 /* confdefs.h. */
36619 _ACEOF
36620 cat confdefs.h >>conftest.$ac_ext
36621 cat >>conftest.$ac_ext <<_ACEOF
36622 /* end confdefs.h. */
36623
36624 #if defined(__BSD__)
36625 #include <sys/param.h>
36626 #include <sys/mount.h>
36627 #else
36628 #include <sys/vfs.h>
36629 #endif
36630
36631 int
36632 main ()
36633 {
36634
36635 long l;
36636 struct statfs fs;
36637 statfs("/", &fs);
36638 l = fs.f_bsize;
36639 l += fs.f_blocks;
36640 l += fs.f_bavail;
36641
36642 ;
36643 return 0;
36644 }
36645 _ACEOF
36646 rm -f conftest.$ac_objext
36647 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36648 (eval $ac_compile) 2>conftest.er1
36649 ac_status=$?
36650 grep -v '^ *+' conftest.er1 >conftest.err
36651 rm -f conftest.er1
36652 cat conftest.err >&5
36653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36654 (exit $ac_status); } &&
36655 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36657 (eval $ac_try) 2>&5
36658 ac_status=$?
36659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36660 (exit $ac_status); }; } &&
36661 { ac_try='test -s conftest.$ac_objext'
36662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36663 (eval $ac_try) 2>&5
36664 ac_status=$?
36665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36666 (exit $ac_status); }; }; then
36667 wx_cv_func_statfs=yes
36668 else
36669 echo "$as_me: failed program was:" >&5
36670 sed 's/^/| /' conftest.$ac_ext >&5
36671
36672 wx_cv_func_statfs=no
36673
36674 fi
36675 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36676
36677 fi
36678 echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36679 echo "${ECHO_T}$wx_cv_func_statfs" >&6
36680
36681 if test "$wx_cv_func_statfs" = "yes"; then
36682 echo "$as_me:$LINENO: checking for statfs declaration" >&5
36683 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6
36684 if test "${wx_cv_func_statfs_decl+set}" = set; then
36685 echo $ECHO_N "(cached) $ECHO_C" >&6
36686 else
36687 cat >conftest.$ac_ext <<_ACEOF
36688 /* confdefs.h. */
36689 _ACEOF
36690 cat confdefs.h >>conftest.$ac_ext
36691 cat >>conftest.$ac_ext <<_ACEOF
36692 /* end confdefs.h. */
36693
36694 #if defined(__BSD__)
36695 #include <sys/param.h>
36696 #include <sys/mount.h>
36697 #else
36698 #include <sys/vfs.h>
36699 #endif
36700
36701 int
36702 main ()
36703 {
36704
36705 struct statfs fs;
36706 statfs("", &fs);
36707
36708 ;
36709 return 0;
36710 }
36711 _ACEOF
36712 rm -f conftest.$ac_objext
36713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36714 (eval $ac_compile) 2>conftest.er1
36715 ac_status=$?
36716 grep -v '^ *+' conftest.er1 >conftest.err
36717 rm -f conftest.er1
36718 cat conftest.err >&5
36719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36720 (exit $ac_status); } &&
36721 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36723 (eval $ac_try) 2>&5
36724 ac_status=$?
36725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36726 (exit $ac_status); }; } &&
36727 { ac_try='test -s conftest.$ac_objext'
36728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36729 (eval $ac_try) 2>&5
36730 ac_status=$?
36731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36732 (exit $ac_status); }; }; then
36733 wx_cv_func_statfs_decl=yes
36734 else
36735 echo "$as_me: failed program was:" >&5
36736 sed 's/^/| /' conftest.$ac_ext >&5
36737
36738 wx_cv_func_statfs_decl=no
36739
36740 fi
36741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36742
36743 fi
36744 echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36745 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6
36746
36747 if test "$wx_cv_func_statfs_decl" = "yes"; then
36748 cat >>confdefs.h <<\_ACEOF
36749 #define HAVE_STATFS_DECL 1
36750 _ACEOF
36751
36752 fi
36753
36754 wx_cv_type_statvfs_t="struct statfs"
36755 cat >>confdefs.h <<\_ACEOF
36756 #define HAVE_STATFS 1
36757 _ACEOF
36758
36759 else
36760 echo "$as_me:$LINENO: checking for statvfs" >&5
36761 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6
36762 if test "${wx_cv_func_statvfs+set}" = set; then
36763 echo $ECHO_N "(cached) $ECHO_C" >&6
36764 else
36765 cat >conftest.$ac_ext <<_ACEOF
36766 /* confdefs.h. */
36767 _ACEOF
36768 cat confdefs.h >>conftest.$ac_ext
36769 cat >>conftest.$ac_ext <<_ACEOF
36770 /* end confdefs.h. */
36771
36772 #include <stddef.h>
36773 #include <sys/statvfs.h>
36774
36775 int
36776 main ()
36777 {
36778
36779 statvfs("/", NULL);
36780
36781 ;
36782 return 0;
36783 }
36784 _ACEOF
36785 rm -f conftest.$ac_objext
36786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36787 (eval $ac_compile) 2>conftest.er1
36788 ac_status=$?
36789 grep -v '^ *+' conftest.er1 >conftest.err
36790 rm -f conftest.er1
36791 cat conftest.err >&5
36792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36793 (exit $ac_status); } &&
36794 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36796 (eval $ac_try) 2>&5
36797 ac_status=$?
36798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36799 (exit $ac_status); }; } &&
36800 { ac_try='test -s conftest.$ac_objext'
36801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36802 (eval $ac_try) 2>&5
36803 ac_status=$?
36804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36805 (exit $ac_status); }; }; then
36806 wx_cv_func_statvfs=yes
36807 else
36808 echo "$as_me: failed program was:" >&5
36809 sed 's/^/| /' conftest.$ac_ext >&5
36810
36811 wx_cv_func_statvfs=no
36812
36813 fi
36814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36815
36816 fi
36817 echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36818 echo "${ECHO_T}$wx_cv_func_statvfs" >&6
36819
36820 if test "$wx_cv_func_statvfs" = "yes"; then
36821 echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36822 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6
36823 if test "${wx_cv_type_statvfs_t+set}" = set; then
36824 echo $ECHO_N "(cached) $ECHO_C" >&6
36825 else
36826 cat >conftest.$ac_ext <<_ACEOF
36827 /* confdefs.h. */
36828 _ACEOF
36829 cat confdefs.h >>conftest.$ac_ext
36830 cat >>conftest.$ac_ext <<_ACEOF
36831 /* end confdefs.h. */
36832
36833 #include <sys/statvfs.h>
36834
36835 int
36836 main ()
36837 {
36838
36839 long l;
36840 statvfs_t fs;
36841 statvfs("/", &fs);
36842 l = fs.f_bsize;
36843 l += fs.f_blocks;
36844 l += fs.f_bavail;
36845
36846 ;
36847 return 0;
36848 }
36849 _ACEOF
36850 rm -f conftest.$ac_objext
36851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36852 (eval $ac_compile) 2>conftest.er1
36853 ac_status=$?
36854 grep -v '^ *+' conftest.er1 >conftest.err
36855 rm -f conftest.er1
36856 cat conftest.err >&5
36857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36858 (exit $ac_status); } &&
36859 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36861 (eval $ac_try) 2>&5
36862 ac_status=$?
36863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36864 (exit $ac_status); }; } &&
36865 { ac_try='test -s conftest.$ac_objext'
36866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36867 (eval $ac_try) 2>&5
36868 ac_status=$?
36869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36870 (exit $ac_status); }; }; then
36871 wx_cv_type_statvfs_t=statvfs_t
36872 else
36873 echo "$as_me: failed program was:" >&5
36874 sed 's/^/| /' conftest.$ac_ext >&5
36875
36876
36877 cat >conftest.$ac_ext <<_ACEOF
36878 /* confdefs.h. */
36879 _ACEOF
36880 cat confdefs.h >>conftest.$ac_ext
36881 cat >>conftest.$ac_ext <<_ACEOF
36882 /* end confdefs.h. */
36883
36884 #include <sys/statvfs.h>
36885
36886 int
36887 main ()
36888 {
36889
36890 long l;
36891 struct statvfs fs;
36892 statvfs("/", &fs);
36893 l = fs.f_bsize;
36894 l += fs.f_blocks;
36895 l += fs.f_bavail;
36896
36897 ;
36898 return 0;
36899 }
36900 _ACEOF
36901 rm -f conftest.$ac_objext
36902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36903 (eval $ac_compile) 2>conftest.er1
36904 ac_status=$?
36905 grep -v '^ *+' conftest.er1 >conftest.err
36906 rm -f conftest.er1
36907 cat conftest.err >&5
36908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36909 (exit $ac_status); } &&
36910 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
36911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36912 (eval $ac_try) 2>&5
36913 ac_status=$?
36914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36915 (exit $ac_status); }; } &&
36916 { ac_try='test -s conftest.$ac_objext'
36917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36918 (eval $ac_try) 2>&5
36919 ac_status=$?
36920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36921 (exit $ac_status); }; }; then
36922 wx_cv_type_statvfs_t="struct statvfs"
36923 else
36924 echo "$as_me: failed program was:" >&5
36925 sed 's/^/| /' conftest.$ac_ext >&5
36926
36927 wx_cv_type_statvfs_t="unknown"
36928
36929 fi
36930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36931
36932
36933 fi
36934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36935
36936 fi
36937 echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36938 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6
36939
36940 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36941 cat >>confdefs.h <<\_ACEOF
36942 #define HAVE_STATVFS 1
36943 _ACEOF
36944
36945 fi
36946 else
36947 wx_cv_type_statvfs_t="unknown"
36948 fi
36949 fi
36950
36951 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36952 cat >>confdefs.h <<_ACEOF
36953 #define WX_STATFS_T $wx_cv_type_statvfs_t
36954 _ACEOF
36955
36956 else
36957 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36958 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36959 fi
36960
36961 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36962
36963
36964 for ac_func in fcntl flock
36965 do
36966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36967 echo "$as_me:$LINENO: checking for $ac_func" >&5
36968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36969 if eval "test \"\${$as_ac_var+set}\" = set"; then
36970 echo $ECHO_N "(cached) $ECHO_C" >&6
36971 else
36972 cat >conftest.$ac_ext <<_ACEOF
36973 /* confdefs.h. */
36974 _ACEOF
36975 cat confdefs.h >>conftest.$ac_ext
36976 cat >>conftest.$ac_ext <<_ACEOF
36977 /* end confdefs.h. */
36978 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36979 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36980 #define $ac_func innocuous_$ac_func
36981
36982 /* System header to define __stub macros and hopefully few prototypes,
36983 which can conflict with char $ac_func (); below.
36984 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36985 <limits.h> exists even on freestanding compilers. */
36986
36987 #ifdef __STDC__
36988 # include <limits.h>
36989 #else
36990 # include <assert.h>
36991 #endif
36992
36993 #undef $ac_func
36994
36995 /* Override any gcc2 internal prototype to avoid an error. */
36996 #ifdef __cplusplus
36997 extern "C"
36998 {
36999 #endif
37000 /* We use char because int might match the return type of a gcc2
37001 builtin and then its argument prototype would still apply. */
37002 char $ac_func ();
37003 /* The GNU C library defines this for functions which it implements
37004 to always fail with ENOSYS. Some functions are actually named
37005 something starting with __ and the normal name is an alias. */
37006 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37007 choke me
37008 #else
37009 char (*f) () = $ac_func;
37010 #endif
37011 #ifdef __cplusplus
37012 }
37013 #endif
37014
37015 int
37016 main ()
37017 {
37018 return f != $ac_func;
37019 ;
37020 return 0;
37021 }
37022 _ACEOF
37023 rm -f conftest.$ac_objext conftest$ac_exeext
37024 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37025 (eval $ac_link) 2>conftest.er1
37026 ac_status=$?
37027 grep -v '^ *+' conftest.er1 >conftest.err
37028 rm -f conftest.er1
37029 cat conftest.err >&5
37030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37031 (exit $ac_status); } &&
37032 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37034 (eval $ac_try) 2>&5
37035 ac_status=$?
37036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37037 (exit $ac_status); }; } &&
37038 { ac_try='test -s conftest$ac_exeext'
37039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37040 (eval $ac_try) 2>&5
37041 ac_status=$?
37042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37043 (exit $ac_status); }; }; then
37044 eval "$as_ac_var=yes"
37045 else
37046 echo "$as_me: failed program was:" >&5
37047 sed 's/^/| /' conftest.$ac_ext >&5
37048
37049 eval "$as_ac_var=no"
37050 fi
37051 rm -f conftest.err conftest.$ac_objext \
37052 conftest$ac_exeext conftest.$ac_ext
37053 fi
37054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37056 if test `eval echo '${'$as_ac_var'}'` = yes; then
37057 cat >>confdefs.h <<_ACEOF
37058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37059 _ACEOF
37060 break
37061 fi
37062 done
37063
37064
37065 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37066 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37067 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37068 wxUSE_SNGLINST_CHECKER=no
37069 fi
37070 fi
37071
37072
37073 for ac_func in timegm
37074 do
37075 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37076 echo "$as_me:$LINENO: checking for $ac_func" >&5
37077 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37078 if eval "test \"\${$as_ac_var+set}\" = set"; then
37079 echo $ECHO_N "(cached) $ECHO_C" >&6
37080 else
37081 cat >conftest.$ac_ext <<_ACEOF
37082 /* confdefs.h. */
37083 _ACEOF
37084 cat confdefs.h >>conftest.$ac_ext
37085 cat >>conftest.$ac_ext <<_ACEOF
37086 /* end confdefs.h. */
37087 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37088 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37089 #define $ac_func innocuous_$ac_func
37090
37091 /* System header to define __stub macros and hopefully few prototypes,
37092 which can conflict with char $ac_func (); below.
37093 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37094 <limits.h> exists even on freestanding compilers. */
37095
37096 #ifdef __STDC__
37097 # include <limits.h>
37098 #else
37099 # include <assert.h>
37100 #endif
37101
37102 #undef $ac_func
37103
37104 /* Override any gcc2 internal prototype to avoid an error. */
37105 #ifdef __cplusplus
37106 extern "C"
37107 {
37108 #endif
37109 /* We use char because int might match the return type of a gcc2
37110 builtin and then its argument prototype would still apply. */
37111 char $ac_func ();
37112 /* The GNU C library defines this for functions which it implements
37113 to always fail with ENOSYS. Some functions are actually named
37114 something starting with __ and the normal name is an alias. */
37115 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37116 choke me
37117 #else
37118 char (*f) () = $ac_func;
37119 #endif
37120 #ifdef __cplusplus
37121 }
37122 #endif
37123
37124 int
37125 main ()
37126 {
37127 return f != $ac_func;
37128 ;
37129 return 0;
37130 }
37131 _ACEOF
37132 rm -f conftest.$ac_objext conftest$ac_exeext
37133 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37134 (eval $ac_link) 2>conftest.er1
37135 ac_status=$?
37136 grep -v '^ *+' conftest.er1 >conftest.err
37137 rm -f conftest.er1
37138 cat conftest.err >&5
37139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37140 (exit $ac_status); } &&
37141 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37143 (eval $ac_try) 2>&5
37144 ac_status=$?
37145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37146 (exit $ac_status); }; } &&
37147 { ac_try='test -s conftest$ac_exeext'
37148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37149 (eval $ac_try) 2>&5
37150 ac_status=$?
37151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37152 (exit $ac_status); }; }; then
37153 eval "$as_ac_var=yes"
37154 else
37155 echo "$as_me: failed program was:" >&5
37156 sed 's/^/| /' conftest.$ac_ext >&5
37157
37158 eval "$as_ac_var=no"
37159 fi
37160 rm -f conftest.err conftest.$ac_objext \
37161 conftest$ac_exeext conftest.$ac_ext
37162 fi
37163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37164 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37165 if test `eval echo '${'$as_ac_var'}'` = yes; then
37166 cat >>confdefs.h <<_ACEOF
37167 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37168 _ACEOF
37169
37170 fi
37171 done
37172
37173
37174
37175
37176 for ac_func in putenv setenv
37177 do
37178 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37179 echo "$as_me:$LINENO: checking for $ac_func" >&5
37180 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37181 if eval "test \"\${$as_ac_var+set}\" = set"; then
37182 echo $ECHO_N "(cached) $ECHO_C" >&6
37183 else
37184 cat >conftest.$ac_ext <<_ACEOF
37185 /* confdefs.h. */
37186 _ACEOF
37187 cat confdefs.h >>conftest.$ac_ext
37188 cat >>conftest.$ac_ext <<_ACEOF
37189 /* end confdefs.h. */
37190 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37191 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37192 #define $ac_func innocuous_$ac_func
37193
37194 /* System header to define __stub macros and hopefully few prototypes,
37195 which can conflict with char $ac_func (); below.
37196 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37197 <limits.h> exists even on freestanding compilers. */
37198
37199 #ifdef __STDC__
37200 # include <limits.h>
37201 #else
37202 # include <assert.h>
37203 #endif
37204
37205 #undef $ac_func
37206
37207 /* Override any gcc2 internal prototype to avoid an error. */
37208 #ifdef __cplusplus
37209 extern "C"
37210 {
37211 #endif
37212 /* We use char because int might match the return type of a gcc2
37213 builtin and then its argument prototype would still apply. */
37214 char $ac_func ();
37215 /* The GNU C library defines this for functions which it implements
37216 to always fail with ENOSYS. Some functions are actually named
37217 something starting with __ and the normal name is an alias. */
37218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37219 choke me
37220 #else
37221 char (*f) () = $ac_func;
37222 #endif
37223 #ifdef __cplusplus
37224 }
37225 #endif
37226
37227 int
37228 main ()
37229 {
37230 return f != $ac_func;
37231 ;
37232 return 0;
37233 }
37234 _ACEOF
37235 rm -f conftest.$ac_objext conftest$ac_exeext
37236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37237 (eval $ac_link) 2>conftest.er1
37238 ac_status=$?
37239 grep -v '^ *+' conftest.er1 >conftest.err
37240 rm -f conftest.er1
37241 cat conftest.err >&5
37242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37243 (exit $ac_status); } &&
37244 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37246 (eval $ac_try) 2>&5
37247 ac_status=$?
37248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37249 (exit $ac_status); }; } &&
37250 { ac_try='test -s conftest$ac_exeext'
37251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37252 (eval $ac_try) 2>&5
37253 ac_status=$?
37254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37255 (exit $ac_status); }; }; then
37256 eval "$as_ac_var=yes"
37257 else
37258 echo "$as_me: failed program was:" >&5
37259 sed 's/^/| /' conftest.$ac_ext >&5
37260
37261 eval "$as_ac_var=no"
37262 fi
37263 rm -f conftest.err conftest.$ac_objext \
37264 conftest$ac_exeext conftest.$ac_ext
37265 fi
37266 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37267 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37268 if test `eval echo '${'$as_ac_var'}'` = yes; then
37269 cat >>confdefs.h <<_ACEOF
37270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37271 _ACEOF
37272 break
37273 fi
37274 done
37275
37276
37277 HAVE_SOME_SLEEP_FUNC=0
37278 if test "$USE_BEOS" = 1; then
37279 cat >>confdefs.h <<\_ACEOF
37280 #define HAVE_SLEEP 1
37281 _ACEOF
37282
37283 HAVE_SOME_SLEEP_FUNC=1
37284 fi
37285
37286 if test "$USE_DARWIN" = 1; then
37287 cat >>confdefs.h <<\_ACEOF
37288 #define HAVE_USLEEP 1
37289 _ACEOF
37290
37291 HAVE_SOME_SLEEP_FUNC=1
37292 fi
37293
37294 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37295 POSIX4_LINK=
37296
37297 for ac_func in nanosleep
37298 do
37299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37300 echo "$as_me:$LINENO: checking for $ac_func" >&5
37301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37302 if eval "test \"\${$as_ac_var+set}\" = set"; then
37303 echo $ECHO_N "(cached) $ECHO_C" >&6
37304 else
37305 cat >conftest.$ac_ext <<_ACEOF
37306 /* confdefs.h. */
37307 _ACEOF
37308 cat confdefs.h >>conftest.$ac_ext
37309 cat >>conftest.$ac_ext <<_ACEOF
37310 /* end confdefs.h. */
37311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37313 #define $ac_func innocuous_$ac_func
37314
37315 /* System header to define __stub macros and hopefully few prototypes,
37316 which can conflict with char $ac_func (); below.
37317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37318 <limits.h> exists even on freestanding compilers. */
37319
37320 #ifdef __STDC__
37321 # include <limits.h>
37322 #else
37323 # include <assert.h>
37324 #endif
37325
37326 #undef $ac_func
37327
37328 /* Override any gcc2 internal prototype to avoid an error. */
37329 #ifdef __cplusplus
37330 extern "C"
37331 {
37332 #endif
37333 /* We use char because int might match the return type of a gcc2
37334 builtin and then its argument prototype would still apply. */
37335 char $ac_func ();
37336 /* The GNU C library defines this for functions which it implements
37337 to always fail with ENOSYS. Some functions are actually named
37338 something starting with __ and the normal name is an alias. */
37339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37340 choke me
37341 #else
37342 char (*f) () = $ac_func;
37343 #endif
37344 #ifdef __cplusplus
37345 }
37346 #endif
37347
37348 int
37349 main ()
37350 {
37351 return f != $ac_func;
37352 ;
37353 return 0;
37354 }
37355 _ACEOF
37356 rm -f conftest.$ac_objext conftest$ac_exeext
37357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37358 (eval $ac_link) 2>conftest.er1
37359 ac_status=$?
37360 grep -v '^ *+' conftest.er1 >conftest.err
37361 rm -f conftest.er1
37362 cat conftest.err >&5
37363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37364 (exit $ac_status); } &&
37365 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37367 (eval $ac_try) 2>&5
37368 ac_status=$?
37369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37370 (exit $ac_status); }; } &&
37371 { ac_try='test -s conftest$ac_exeext'
37372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37373 (eval $ac_try) 2>&5
37374 ac_status=$?
37375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37376 (exit $ac_status); }; }; then
37377 eval "$as_ac_var=yes"
37378 else
37379 echo "$as_me: failed program was:" >&5
37380 sed 's/^/| /' conftest.$ac_ext >&5
37381
37382 eval "$as_ac_var=no"
37383 fi
37384 rm -f conftest.err conftest.$ac_objext \
37385 conftest$ac_exeext conftest.$ac_ext
37386 fi
37387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37389 if test `eval echo '${'$as_ac_var'}'` = yes; then
37390 cat >>confdefs.h <<_ACEOF
37391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37392 _ACEOF
37393 cat >>confdefs.h <<\_ACEOF
37394 #define HAVE_NANOSLEEP 1
37395 _ACEOF
37396
37397 else
37398
37399 echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37400 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6
37401 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37402 echo $ECHO_N "(cached) $ECHO_C" >&6
37403 else
37404 ac_check_lib_save_LIBS=$LIBS
37405 LIBS="-lposix4 $LIBS"
37406 cat >conftest.$ac_ext <<_ACEOF
37407 /* confdefs.h. */
37408 _ACEOF
37409 cat confdefs.h >>conftest.$ac_ext
37410 cat >>conftest.$ac_ext <<_ACEOF
37411 /* end confdefs.h. */
37412
37413 /* Override any gcc2 internal prototype to avoid an error. */
37414 #ifdef __cplusplus
37415 extern "C"
37416 #endif
37417 /* We use char because int might match the return type of a gcc2
37418 builtin and then its argument prototype would still apply. */
37419 char nanosleep ();
37420 int
37421 main ()
37422 {
37423 nanosleep ();
37424 ;
37425 return 0;
37426 }
37427 _ACEOF
37428 rm -f conftest.$ac_objext conftest$ac_exeext
37429 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37430 (eval $ac_link) 2>conftest.er1
37431 ac_status=$?
37432 grep -v '^ *+' conftest.er1 >conftest.err
37433 rm -f conftest.er1
37434 cat conftest.err >&5
37435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37436 (exit $ac_status); } &&
37437 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
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); }; } &&
37443 { ac_try='test -s conftest$ac_exeext'
37444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37445 (eval $ac_try) 2>&5
37446 ac_status=$?
37447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37448 (exit $ac_status); }; }; then
37449 ac_cv_lib_posix4_nanosleep=yes
37450 else
37451 echo "$as_me: failed program was:" >&5
37452 sed 's/^/| /' conftest.$ac_ext >&5
37453
37454 ac_cv_lib_posix4_nanosleep=no
37455 fi
37456 rm -f conftest.err conftest.$ac_objext \
37457 conftest$ac_exeext conftest.$ac_ext
37458 LIBS=$ac_check_lib_save_LIBS
37459 fi
37460 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37461 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6
37462 if test $ac_cv_lib_posix4_nanosleep = yes; then
37463
37464 cat >>confdefs.h <<\_ACEOF
37465 #define HAVE_NANOSLEEP 1
37466 _ACEOF
37467
37468 POSIX4_LINK=" -lposix4"
37469
37470 else
37471
37472
37473 for ac_func in usleep
37474 do
37475 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37476 echo "$as_me:$LINENO: checking for $ac_func" >&5
37477 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37478 if eval "test \"\${$as_ac_var+set}\" = set"; then
37479 echo $ECHO_N "(cached) $ECHO_C" >&6
37480 else
37481 cat >conftest.$ac_ext <<_ACEOF
37482 /* confdefs.h. */
37483 _ACEOF
37484 cat confdefs.h >>conftest.$ac_ext
37485 cat >>conftest.$ac_ext <<_ACEOF
37486 /* end confdefs.h. */
37487 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37488 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37489 #define $ac_func innocuous_$ac_func
37490
37491 /* System header to define __stub macros and hopefully few prototypes,
37492 which can conflict with char $ac_func (); below.
37493 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37494 <limits.h> exists even on freestanding compilers. */
37495
37496 #ifdef __STDC__
37497 # include <limits.h>
37498 #else
37499 # include <assert.h>
37500 #endif
37501
37502 #undef $ac_func
37503
37504 /* Override any gcc2 internal prototype to avoid an error. */
37505 #ifdef __cplusplus
37506 extern "C"
37507 {
37508 #endif
37509 /* We use char because int might match the return type of a gcc2
37510 builtin and then its argument prototype would still apply. */
37511 char $ac_func ();
37512 /* The GNU C library defines this for functions which it implements
37513 to always fail with ENOSYS. Some functions are actually named
37514 something starting with __ and the normal name is an alias. */
37515 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37516 choke me
37517 #else
37518 char (*f) () = $ac_func;
37519 #endif
37520 #ifdef __cplusplus
37521 }
37522 #endif
37523
37524 int
37525 main ()
37526 {
37527 return f != $ac_func;
37528 ;
37529 return 0;
37530 }
37531 _ACEOF
37532 rm -f conftest.$ac_objext conftest$ac_exeext
37533 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37534 (eval $ac_link) 2>conftest.er1
37535 ac_status=$?
37536 grep -v '^ *+' conftest.er1 >conftest.err
37537 rm -f conftest.er1
37538 cat conftest.err >&5
37539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37540 (exit $ac_status); } &&
37541 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37543 (eval $ac_try) 2>&5
37544 ac_status=$?
37545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37546 (exit $ac_status); }; } &&
37547 { ac_try='test -s conftest$ac_exeext'
37548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37549 (eval $ac_try) 2>&5
37550 ac_status=$?
37551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37552 (exit $ac_status); }; }; then
37553 eval "$as_ac_var=yes"
37554 else
37555 echo "$as_me: failed program was:" >&5
37556 sed 's/^/| /' conftest.$ac_ext >&5
37557
37558 eval "$as_ac_var=no"
37559 fi
37560 rm -f conftest.err conftest.$ac_objext \
37561 conftest$ac_exeext conftest.$ac_ext
37562 fi
37563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37564 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37565 if test `eval echo '${'$as_ac_var'}'` = yes; then
37566 cat >>confdefs.h <<_ACEOF
37567 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37568 _ACEOF
37569 cat >>confdefs.h <<\_ACEOF
37570 #define HAVE_USLEEP 1
37571 _ACEOF
37572
37573 else
37574 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37575 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37576
37577 fi
37578 done
37579
37580
37581
37582 fi
37583
37584
37585
37586 fi
37587 done
37588
37589 fi
37590
37591
37592
37593 for ac_func in uname gethostname
37594 do
37595 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37596 echo "$as_me:$LINENO: checking for $ac_func" >&5
37597 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37598 if eval "test \"\${$as_ac_var+set}\" = set"; then
37599 echo $ECHO_N "(cached) $ECHO_C" >&6
37600 else
37601 cat >conftest.$ac_ext <<_ACEOF
37602 /* confdefs.h. */
37603 _ACEOF
37604 cat confdefs.h >>conftest.$ac_ext
37605 cat >>conftest.$ac_ext <<_ACEOF
37606 /* end confdefs.h. */
37607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37609 #define $ac_func innocuous_$ac_func
37610
37611 /* System header to define __stub macros and hopefully few prototypes,
37612 which can conflict with char $ac_func (); below.
37613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37614 <limits.h> exists even on freestanding compilers. */
37615
37616 #ifdef __STDC__
37617 # include <limits.h>
37618 #else
37619 # include <assert.h>
37620 #endif
37621
37622 #undef $ac_func
37623
37624 /* Override any gcc2 internal prototype to avoid an error. */
37625 #ifdef __cplusplus
37626 extern "C"
37627 {
37628 #endif
37629 /* We use char because int might match the return type of a gcc2
37630 builtin and then its argument prototype would still apply. */
37631 char $ac_func ();
37632 /* The GNU C library defines this for functions which it implements
37633 to always fail with ENOSYS. Some functions are actually named
37634 something starting with __ and the normal name is an alias. */
37635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37636 choke me
37637 #else
37638 char (*f) () = $ac_func;
37639 #endif
37640 #ifdef __cplusplus
37641 }
37642 #endif
37643
37644 int
37645 main ()
37646 {
37647 return f != $ac_func;
37648 ;
37649 return 0;
37650 }
37651 _ACEOF
37652 rm -f conftest.$ac_objext conftest$ac_exeext
37653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37654 (eval $ac_link) 2>conftest.er1
37655 ac_status=$?
37656 grep -v '^ *+' conftest.er1 >conftest.err
37657 rm -f conftest.er1
37658 cat conftest.err >&5
37659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37660 (exit $ac_status); } &&
37661 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37663 (eval $ac_try) 2>&5
37664 ac_status=$?
37665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37666 (exit $ac_status); }; } &&
37667 { ac_try='test -s conftest$ac_exeext'
37668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37669 (eval $ac_try) 2>&5
37670 ac_status=$?
37671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37672 (exit $ac_status); }; }; then
37673 eval "$as_ac_var=yes"
37674 else
37675 echo "$as_me: failed program was:" >&5
37676 sed 's/^/| /' conftest.$ac_ext >&5
37677
37678 eval "$as_ac_var=no"
37679 fi
37680 rm -f conftest.err conftest.$ac_objext \
37681 conftest$ac_exeext conftest.$ac_ext
37682 fi
37683 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37684 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37685 if test `eval echo '${'$as_ac_var'}'` = yes; then
37686 cat >>confdefs.h <<_ACEOF
37687 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37688 _ACEOF
37689 break
37690 fi
37691 done
37692
37693
37694
37695 for wx_func in strtok_r
37696 do
37697 echo "$as_me:$LINENO: checking for $wx_func" >&5
37698 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6
37699 if eval "test \"\${wx_cv_func_$wx_func+set}\" = set"; then
37700 echo $ECHO_N "(cached) $ECHO_C" >&6
37701 else
37702
37703 cat >conftest.$ac_ext <<_ACEOF
37704
37705 /* confdefs.h. */
37706 _ACEOF
37707 cat confdefs.h >>conftest.$ac_ext
37708 cat >>conftest.$ac_ext <<_ACEOF
37709 /* end confdefs.h. */
37710
37711 #define _REENTRANT
37712 $ac_includes_default
37713
37714 int
37715 main ()
37716 {
37717
37718 #ifndef $wx_func
37719 &$wx_func;
37720 #endif
37721
37722
37723 ;
37724 return 0;
37725 }
37726
37727 _ACEOF
37728 rm -f conftest.$ac_objext conftest$ac_exeext
37729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37730 (eval $ac_link) 2>conftest.er1
37731 ac_status=$?
37732 grep -v '^ *+' conftest.er1 >conftest.err
37733 rm -f conftest.er1
37734 cat conftest.err >&5
37735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37736 (exit $ac_status); } &&
37737 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37739 (eval $ac_try) 2>&5
37740 ac_status=$?
37741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37742 (exit $ac_status); }; } &&
37743 { ac_try='test -s conftest$ac_exeext'
37744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37745 (eval $ac_try) 2>&5
37746 ac_status=$?
37747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37748 (exit $ac_status); }; }; then
37749 eval wx_cv_func_$wx_func=yes
37750 else
37751 echo "$as_me: failed program was:" >&5
37752 sed 's/^/| /' conftest.$ac_ext >&5
37753
37754 eval wx_cv_func_$wx_func=no
37755 fi
37756 rm -f conftest.err conftest.$ac_objext \
37757 conftest$ac_exeext conftest.$ac_ext
37758
37759 fi
37760 echo "$as_me:$LINENO: result: `eval echo '${'wx_cv_func_$wx_func'}'`" >&5
37761 echo "${ECHO_T}`eval echo '${'wx_cv_func_$wx_func'}'`" >&6
37762
37763 if eval test \$wx_cv_func_$wx_func = yes
37764 then
37765 cat >>confdefs.h <<_ACEOF
37766 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37767 _ACEOF
37768
37769
37770 else
37771 :
37772
37773 fi
37774 done
37775
37776
37777 INET_LINK=
37778
37779 for ac_func in inet_addr
37780 do
37781 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37782 echo "$as_me:$LINENO: checking for $ac_func" >&5
37783 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37784 if eval "test \"\${$as_ac_var+set}\" = set"; then
37785 echo $ECHO_N "(cached) $ECHO_C" >&6
37786 else
37787 cat >conftest.$ac_ext <<_ACEOF
37788 /* confdefs.h. */
37789 _ACEOF
37790 cat confdefs.h >>conftest.$ac_ext
37791 cat >>conftest.$ac_ext <<_ACEOF
37792 /* end confdefs.h. */
37793 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37794 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37795 #define $ac_func innocuous_$ac_func
37796
37797 /* System header to define __stub macros and hopefully few prototypes,
37798 which can conflict with char $ac_func (); below.
37799 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37800 <limits.h> exists even on freestanding compilers. */
37801
37802 #ifdef __STDC__
37803 # include <limits.h>
37804 #else
37805 # include <assert.h>
37806 #endif
37807
37808 #undef $ac_func
37809
37810 /* Override any gcc2 internal prototype to avoid an error. */
37811 #ifdef __cplusplus
37812 extern "C"
37813 {
37814 #endif
37815 /* We use char because int might match the return type of a gcc2
37816 builtin and then its argument prototype would still apply. */
37817 char $ac_func ();
37818 /* The GNU C library defines this for functions which it implements
37819 to always fail with ENOSYS. Some functions are actually named
37820 something starting with __ and the normal name is an alias. */
37821 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37822 choke me
37823 #else
37824 char (*f) () = $ac_func;
37825 #endif
37826 #ifdef __cplusplus
37827 }
37828 #endif
37829
37830 int
37831 main ()
37832 {
37833 return f != $ac_func;
37834 ;
37835 return 0;
37836 }
37837 _ACEOF
37838 rm -f conftest.$ac_objext conftest$ac_exeext
37839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37840 (eval $ac_link) 2>conftest.er1
37841 ac_status=$?
37842 grep -v '^ *+' conftest.er1 >conftest.err
37843 rm -f conftest.er1
37844 cat conftest.err >&5
37845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37846 (exit $ac_status); } &&
37847 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37849 (eval $ac_try) 2>&5
37850 ac_status=$?
37851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37852 (exit $ac_status); }; } &&
37853 { ac_try='test -s conftest$ac_exeext'
37854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37855 (eval $ac_try) 2>&5
37856 ac_status=$?
37857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37858 (exit $ac_status); }; }; then
37859 eval "$as_ac_var=yes"
37860 else
37861 echo "$as_me: failed program was:" >&5
37862 sed 's/^/| /' conftest.$ac_ext >&5
37863
37864 eval "$as_ac_var=no"
37865 fi
37866 rm -f conftest.err conftest.$ac_objext \
37867 conftest$ac_exeext conftest.$ac_ext
37868 fi
37869 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37870 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37871 if test `eval echo '${'$as_ac_var'}'` = yes; then
37872 cat >>confdefs.h <<_ACEOF
37873 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37874 _ACEOF
37875 cat >>confdefs.h <<\_ACEOF
37876 #define HAVE_INET_ADDR 1
37877 _ACEOF
37878
37879 else
37880
37881 echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37882 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6
37883 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37884 echo $ECHO_N "(cached) $ECHO_C" >&6
37885 else
37886 ac_check_lib_save_LIBS=$LIBS
37887 LIBS="-lnsl $LIBS"
37888 cat >conftest.$ac_ext <<_ACEOF
37889 /* confdefs.h. */
37890 _ACEOF
37891 cat confdefs.h >>conftest.$ac_ext
37892 cat >>conftest.$ac_ext <<_ACEOF
37893 /* end confdefs.h. */
37894
37895 /* Override any gcc2 internal prototype to avoid an error. */
37896 #ifdef __cplusplus
37897 extern "C"
37898 #endif
37899 /* We use char because int might match the return type of a gcc2
37900 builtin and then its argument prototype would still apply. */
37901 char inet_addr ();
37902 int
37903 main ()
37904 {
37905 inet_addr ();
37906 ;
37907 return 0;
37908 }
37909 _ACEOF
37910 rm -f conftest.$ac_objext conftest$ac_exeext
37911 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37912 (eval $ac_link) 2>conftest.er1
37913 ac_status=$?
37914 grep -v '^ *+' conftest.er1 >conftest.err
37915 rm -f conftest.er1
37916 cat conftest.err >&5
37917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37918 (exit $ac_status); } &&
37919 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37921 (eval $ac_try) 2>&5
37922 ac_status=$?
37923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37924 (exit $ac_status); }; } &&
37925 { ac_try='test -s conftest$ac_exeext'
37926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37927 (eval $ac_try) 2>&5
37928 ac_status=$?
37929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37930 (exit $ac_status); }; }; then
37931 ac_cv_lib_nsl_inet_addr=yes
37932 else
37933 echo "$as_me: failed program was:" >&5
37934 sed 's/^/| /' conftest.$ac_ext >&5
37935
37936 ac_cv_lib_nsl_inet_addr=no
37937 fi
37938 rm -f conftest.err conftest.$ac_objext \
37939 conftest$ac_exeext conftest.$ac_ext
37940 LIBS=$ac_check_lib_save_LIBS
37941 fi
37942 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37943 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6
37944 if test $ac_cv_lib_nsl_inet_addr = yes; then
37945 INET_LINK="nsl"
37946 else
37947
37948 echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37949 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6
37950 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37951 echo $ECHO_N "(cached) $ECHO_C" >&6
37952 else
37953 ac_check_lib_save_LIBS=$LIBS
37954 LIBS="-lresolv $LIBS"
37955 cat >conftest.$ac_ext <<_ACEOF
37956 /* confdefs.h. */
37957 _ACEOF
37958 cat confdefs.h >>conftest.$ac_ext
37959 cat >>conftest.$ac_ext <<_ACEOF
37960 /* end confdefs.h. */
37961
37962 /* Override any gcc2 internal prototype to avoid an error. */
37963 #ifdef __cplusplus
37964 extern "C"
37965 #endif
37966 /* We use char because int might match the return type of a gcc2
37967 builtin and then its argument prototype would still apply. */
37968 char inet_addr ();
37969 int
37970 main ()
37971 {
37972 inet_addr ();
37973 ;
37974 return 0;
37975 }
37976 _ACEOF
37977 rm -f conftest.$ac_objext conftest$ac_exeext
37978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37979 (eval $ac_link) 2>conftest.er1
37980 ac_status=$?
37981 grep -v '^ *+' conftest.er1 >conftest.err
37982 rm -f conftest.er1
37983 cat conftest.err >&5
37984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37985 (exit $ac_status); } &&
37986 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
37987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37988 (eval $ac_try) 2>&5
37989 ac_status=$?
37990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37991 (exit $ac_status); }; } &&
37992 { ac_try='test -s conftest$ac_exeext'
37993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37994 (eval $ac_try) 2>&5
37995 ac_status=$?
37996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37997 (exit $ac_status); }; }; then
37998 ac_cv_lib_resolv_inet_addr=yes
37999 else
38000 echo "$as_me: failed program was:" >&5
38001 sed 's/^/| /' conftest.$ac_ext >&5
38002
38003 ac_cv_lib_resolv_inet_addr=no
38004 fi
38005 rm -f conftest.err conftest.$ac_objext \
38006 conftest$ac_exeext conftest.$ac_ext
38007 LIBS=$ac_check_lib_save_LIBS
38008 fi
38009 echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38010 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6
38011 if test $ac_cv_lib_resolv_inet_addr = yes; then
38012 INET_LINK="resolv"
38013 else
38014
38015 echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38016 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6
38017 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38018 echo $ECHO_N "(cached) $ECHO_C" >&6
38019 else
38020 ac_check_lib_save_LIBS=$LIBS
38021 LIBS="-lsocket $LIBS"
38022 cat >conftest.$ac_ext <<_ACEOF
38023 /* confdefs.h. */
38024 _ACEOF
38025 cat confdefs.h >>conftest.$ac_ext
38026 cat >>conftest.$ac_ext <<_ACEOF
38027 /* end confdefs.h. */
38028
38029 /* Override any gcc2 internal prototype to avoid an error. */
38030 #ifdef __cplusplus
38031 extern "C"
38032 #endif
38033 /* We use char because int might match the return type of a gcc2
38034 builtin and then its argument prototype would still apply. */
38035 char inet_addr ();
38036 int
38037 main ()
38038 {
38039 inet_addr ();
38040 ;
38041 return 0;
38042 }
38043 _ACEOF
38044 rm -f conftest.$ac_objext conftest$ac_exeext
38045 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38046 (eval $ac_link) 2>conftest.er1
38047 ac_status=$?
38048 grep -v '^ *+' conftest.er1 >conftest.err
38049 rm -f conftest.er1
38050 cat conftest.err >&5
38051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38052 (exit $ac_status); } &&
38053 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38055 (eval $ac_try) 2>&5
38056 ac_status=$?
38057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38058 (exit $ac_status); }; } &&
38059 { ac_try='test -s conftest$ac_exeext'
38060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38061 (eval $ac_try) 2>&5
38062 ac_status=$?
38063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38064 (exit $ac_status); }; }; then
38065 ac_cv_lib_socket_inet_addr=yes
38066 else
38067 echo "$as_me: failed program was:" >&5
38068 sed 's/^/| /' conftest.$ac_ext >&5
38069
38070 ac_cv_lib_socket_inet_addr=no
38071 fi
38072 rm -f conftest.err conftest.$ac_objext \
38073 conftest$ac_exeext conftest.$ac_ext
38074 LIBS=$ac_check_lib_save_LIBS
38075 fi
38076 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38077 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6
38078 if test $ac_cv_lib_socket_inet_addr = yes; then
38079 INET_LINK="socket"
38080
38081 fi
38082
38083
38084
38085 fi
38086
38087
38088
38089 fi
38090
38091
38092
38093 fi
38094 done
38095
38096
38097
38098 for ac_func in inet_aton
38099 do
38100 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38101 echo "$as_me:$LINENO: checking for $ac_func" >&5
38102 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38103 if eval "test \"\${$as_ac_var+set}\" = set"; then
38104 echo $ECHO_N "(cached) $ECHO_C" >&6
38105 else
38106 cat >conftest.$ac_ext <<_ACEOF
38107 /* confdefs.h. */
38108 _ACEOF
38109 cat confdefs.h >>conftest.$ac_ext
38110 cat >>conftest.$ac_ext <<_ACEOF
38111 /* end confdefs.h. */
38112 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38113 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38114 #define $ac_func innocuous_$ac_func
38115
38116 /* System header to define __stub macros and hopefully few prototypes,
38117 which can conflict with char $ac_func (); below.
38118 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38119 <limits.h> exists even on freestanding compilers. */
38120
38121 #ifdef __STDC__
38122 # include <limits.h>
38123 #else
38124 # include <assert.h>
38125 #endif
38126
38127 #undef $ac_func
38128
38129 /* Override any gcc2 internal prototype to avoid an error. */
38130 #ifdef __cplusplus
38131 extern "C"
38132 {
38133 #endif
38134 /* We use char because int might match the return type of a gcc2
38135 builtin and then its argument prototype would still apply. */
38136 char $ac_func ();
38137 /* The GNU C library defines this for functions which it implements
38138 to always fail with ENOSYS. Some functions are actually named
38139 something starting with __ and the normal name is an alias. */
38140 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38141 choke me
38142 #else
38143 char (*f) () = $ac_func;
38144 #endif
38145 #ifdef __cplusplus
38146 }
38147 #endif
38148
38149 int
38150 main ()
38151 {
38152 return f != $ac_func;
38153 ;
38154 return 0;
38155 }
38156 _ACEOF
38157 rm -f conftest.$ac_objext conftest$ac_exeext
38158 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38159 (eval $ac_link) 2>conftest.er1
38160 ac_status=$?
38161 grep -v '^ *+' conftest.er1 >conftest.err
38162 rm -f conftest.er1
38163 cat conftest.err >&5
38164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38165 (exit $ac_status); } &&
38166 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38168 (eval $ac_try) 2>&5
38169 ac_status=$?
38170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38171 (exit $ac_status); }; } &&
38172 { ac_try='test -s conftest$ac_exeext'
38173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38174 (eval $ac_try) 2>&5
38175 ac_status=$?
38176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38177 (exit $ac_status); }; }; then
38178 eval "$as_ac_var=yes"
38179 else
38180 echo "$as_me: failed program was:" >&5
38181 sed 's/^/| /' conftest.$ac_ext >&5
38182
38183 eval "$as_ac_var=no"
38184 fi
38185 rm -f conftest.err conftest.$ac_objext \
38186 conftest$ac_exeext conftest.$ac_ext
38187 fi
38188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38190 if test `eval echo '${'$as_ac_var'}'` = yes; then
38191 cat >>confdefs.h <<_ACEOF
38192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38193 _ACEOF
38194 cat >>confdefs.h <<\_ACEOF
38195 #define HAVE_INET_ATON 1
38196 _ACEOF
38197
38198 else
38199
38200 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38201 echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38202 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6
38203 if eval "test \"\${$as_ac_Lib+set}\" = set"; then
38204 echo $ECHO_N "(cached) $ECHO_C" >&6
38205 else
38206 ac_check_lib_save_LIBS=$LIBS
38207 LIBS="-l$INET_LINK $LIBS"
38208 cat >conftest.$ac_ext <<_ACEOF
38209 /* confdefs.h. */
38210 _ACEOF
38211 cat confdefs.h >>conftest.$ac_ext
38212 cat >>conftest.$ac_ext <<_ACEOF
38213 /* end confdefs.h. */
38214
38215 /* Override any gcc2 internal prototype to avoid an error. */
38216 #ifdef __cplusplus
38217 extern "C"
38218 #endif
38219 /* We use char because int might match the return type of a gcc2
38220 builtin and then its argument prototype would still apply. */
38221 char inet_aton ();
38222 int
38223 main ()
38224 {
38225 inet_aton ();
38226 ;
38227 return 0;
38228 }
38229 _ACEOF
38230 rm -f conftest.$ac_objext conftest$ac_exeext
38231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38232 (eval $ac_link) 2>conftest.er1
38233 ac_status=$?
38234 grep -v '^ *+' conftest.er1 >conftest.err
38235 rm -f conftest.er1
38236 cat conftest.err >&5
38237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38238 (exit $ac_status); } &&
38239 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38241 (eval $ac_try) 2>&5
38242 ac_status=$?
38243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38244 (exit $ac_status); }; } &&
38245 { ac_try='test -s conftest$ac_exeext'
38246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38247 (eval $ac_try) 2>&5
38248 ac_status=$?
38249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38250 (exit $ac_status); }; }; then
38251 eval "$as_ac_Lib=yes"
38252 else
38253 echo "$as_me: failed program was:" >&5
38254 sed 's/^/| /' conftest.$ac_ext >&5
38255
38256 eval "$as_ac_Lib=no"
38257 fi
38258 rm -f conftest.err conftest.$ac_objext \
38259 conftest$ac_exeext conftest.$ac_ext
38260 LIBS=$ac_check_lib_save_LIBS
38261 fi
38262 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Lib'}'`" >&5
38263 echo "${ECHO_T}`eval echo '${'$as_ac_Lib'}'`" >&6
38264 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38265 cat >>confdefs.h <<\_ACEOF
38266 #define HAVE_INET_ATON 1
38267 _ACEOF
38268
38269 fi
38270
38271
38272 fi
38273 done
38274
38275
38276 if test "x$INET_LINK" != "x"; then
38277 cat >>confdefs.h <<\_ACEOF
38278 #define HAVE_INET_ADDR 1
38279 _ACEOF
38280
38281 INET_LINK=" -l$INET_LINK"
38282 fi
38283
38284 fi
38285
38286
38287
38288 EXTRALIBS_ESD=
38289 echo "$as_me:$LINENO: checking for esd_close in -lesd" >&5
38290 echo $ECHO_N "checking for esd_close in -lesd... $ECHO_C" >&6
38291 if test "${ac_cv_lib_esd_esd_close+set}" = set; then
38292 echo $ECHO_N "(cached) $ECHO_C" >&6
38293 else
38294 ac_check_lib_save_LIBS=$LIBS
38295 LIBS="-lesd $LIBS"
38296 cat >conftest.$ac_ext <<_ACEOF
38297 /* confdefs.h. */
38298 _ACEOF
38299 cat confdefs.h >>conftest.$ac_ext
38300 cat >>conftest.$ac_ext <<_ACEOF
38301 /* end confdefs.h. */
38302
38303 /* Override any gcc2 internal prototype to avoid an error. */
38304 #ifdef __cplusplus
38305 extern "C"
38306 #endif
38307 /* We use char because int might match the return type of a gcc2
38308 builtin and then its argument prototype would still apply. */
38309 char esd_close ();
38310 int
38311 main ()
38312 {
38313 esd_close ();
38314 ;
38315 return 0;
38316 }
38317 _ACEOF
38318 rm -f conftest.$ac_objext conftest$ac_exeext
38319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38320 (eval $ac_link) 2>conftest.er1
38321 ac_status=$?
38322 grep -v '^ *+' conftest.er1 >conftest.err
38323 rm -f conftest.er1
38324 cat conftest.err >&5
38325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38326 (exit $ac_status); } &&
38327 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38329 (eval $ac_try) 2>&5
38330 ac_status=$?
38331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38332 (exit $ac_status); }; } &&
38333 { ac_try='test -s conftest$ac_exeext'
38334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38335 (eval $ac_try) 2>&5
38336 ac_status=$?
38337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38338 (exit $ac_status); }; }; then
38339 ac_cv_lib_esd_esd_close=yes
38340 else
38341 echo "$as_me: failed program was:" >&5
38342 sed 's/^/| /' conftest.$ac_ext >&5
38343
38344 ac_cv_lib_esd_esd_close=no
38345 fi
38346 rm -f conftest.err conftest.$ac_objext \
38347 conftest$ac_exeext conftest.$ac_ext
38348 LIBS=$ac_check_lib_save_LIBS
38349 fi
38350 echo "$as_me:$LINENO: result: $ac_cv_lib_esd_esd_close" >&5
38351 echo "${ECHO_T}$ac_cv_lib_esd_esd_close" >&6
38352 if test $ac_cv_lib_esd_esd_close = yes; then
38353
38354
38355 for ac_header in esd.h
38356 do
38357 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38358 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38359 echo "$as_me:$LINENO: checking for $ac_header" >&5
38360 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38361 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38362 echo $ECHO_N "(cached) $ECHO_C" >&6
38363 fi
38364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38365 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38366 else
38367 # Is the header compilable?
38368 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38369 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38370 cat >conftest.$ac_ext <<_ACEOF
38371 /* confdefs.h. */
38372 _ACEOF
38373 cat confdefs.h >>conftest.$ac_ext
38374 cat >>conftest.$ac_ext <<_ACEOF
38375 /* end confdefs.h. */
38376 $ac_includes_default
38377 #include <$ac_header>
38378 _ACEOF
38379 rm -f conftest.$ac_objext
38380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38381 (eval $ac_compile) 2>conftest.er1
38382 ac_status=$?
38383 grep -v '^ *+' conftest.er1 >conftest.err
38384 rm -f conftest.er1
38385 cat conftest.err >&5
38386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38387 (exit $ac_status); } &&
38388 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38390 (eval $ac_try) 2>&5
38391 ac_status=$?
38392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38393 (exit $ac_status); }; } &&
38394 { ac_try='test -s conftest.$ac_objext'
38395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38396 (eval $ac_try) 2>&5
38397 ac_status=$?
38398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38399 (exit $ac_status); }; }; then
38400 ac_header_compiler=yes
38401 else
38402 echo "$as_me: failed program was:" >&5
38403 sed 's/^/| /' conftest.$ac_ext >&5
38404
38405 ac_header_compiler=no
38406 fi
38407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38408 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
38409 echo "${ECHO_T}$ac_header_compiler" >&6
38410
38411 # Is the header present?
38412 echo "$as_me:$LINENO: checking $ac_header presence" >&5
38413 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
38414 cat >conftest.$ac_ext <<_ACEOF
38415 /* confdefs.h. */
38416 _ACEOF
38417 cat confdefs.h >>conftest.$ac_ext
38418 cat >>conftest.$ac_ext <<_ACEOF
38419 /* end confdefs.h. */
38420 #include <$ac_header>
38421 _ACEOF
38422 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
38423 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
38424 ac_status=$?
38425 grep -v '^ *+' conftest.er1 >conftest.err
38426 rm -f conftest.er1
38427 cat conftest.err >&5
38428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38429 (exit $ac_status); } >/dev/null; then
38430 if test -s conftest.err; then
38431 ac_cpp_err=$ac_cxx_preproc_warn_flag
38432 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
38433 else
38434 ac_cpp_err=
38435 fi
38436 else
38437 ac_cpp_err=yes
38438 fi
38439 if test -z "$ac_cpp_err"; then
38440 ac_header_preproc=yes
38441 else
38442 echo "$as_me: failed program was:" >&5
38443 sed 's/^/| /' conftest.$ac_ext >&5
38444
38445 ac_header_preproc=no
38446 fi
38447 rm -f conftest.err conftest.$ac_ext
38448 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
38449 echo "${ECHO_T}$ac_header_preproc" >&6
38450
38451 # So? What about this header?
38452 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
38453 yes:no: )
38454 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
38455 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
38456 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
38457 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
38458 ac_header_preproc=yes
38459 ;;
38460 no:yes:* )
38461 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
38462 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
38463 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
38464 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
38465 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
38466 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
38467 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
38468 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
38469 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
38470 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
38471 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
38472 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
38473 (
38474 cat <<\_ASBOX
38475 ## ----------------------------------------- ##
38476 ## Report this to wx-dev@lists.wxwidgets.org ##
38477 ## ----------------------------------------- ##
38478 _ASBOX
38479 ) |
38480 sed "s/^/$as_me: WARNING: /" >&2
38481 ;;
38482 esac
38483 echo "$as_me:$LINENO: checking for $ac_header" >&5
38484 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38485 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38486 echo $ECHO_N "(cached) $ECHO_C" >&6
38487 else
38488 eval "$as_ac_Header=\$ac_header_preproc"
38489 fi
38490 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38491 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38492
38493 fi
38494 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38495 cat >>confdefs.h <<_ACEOF
38496 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38497 _ACEOF
38498
38499 EXTRALIBS_ESD="-lesd"
38500
38501 fi
38502
38503 done
38504
38505
38506 fi
38507
38508
38509
38510 echo "$as_me:$LINENO: checking for known CD-ROM interface" >&5
38511 echo $ECHO_N "checking for known CD-ROM interface... $ECHO_C" >&6
38512 cat >conftest.$ac_ext <<_ACEOF
38513 /* confdefs.h. */
38514 _ACEOF
38515 cat confdefs.h >>conftest.$ac_ext
38516 cat >>conftest.$ac_ext <<_ACEOF
38517 /* end confdefs.h. */
38518 #ifdef __linux__
38519 #include <linux/cdrom.h>
38520 #else
38521 /* For Solaris */
38522 #include <sys/cdio.h>
38523 #endif
38524
38525 int
38526 main ()
38527 {
38528 struct cdrom_tocentry entry, old_entry;
38529 ;
38530 return 0;
38531 }
38532 _ACEOF
38533 rm -f conftest.$ac_objext
38534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38535 (eval $ac_compile) 2>conftest.er1
38536 ac_status=$?
38537 grep -v '^ *+' conftest.er1 >conftest.err
38538 rm -f conftest.er1
38539 cat conftest.err >&5
38540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38541 (exit $ac_status); } &&
38542 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38544 (eval $ac_try) 2>&5
38545 ac_status=$?
38546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38547 (exit $ac_status); }; } &&
38548 { ac_try='test -s conftest.$ac_objext'
38549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38550 (eval $ac_try) 2>&5
38551 ac_status=$?
38552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38553 (exit $ac_status); }; }; then
38554 echo "$as_me:$LINENO: result: yes" >&5
38555 echo "${ECHO_T}yes" >&6
38556 cat >>confdefs.h <<\_ACEOF
38557 #define HAVE_KNOWN_CDROM_INTERFACE 1
38558 _ACEOF
38559
38560 else
38561 echo "$as_me: failed program was:" >&5
38562 sed 's/^/| /' conftest.$ac_ext >&5
38563
38564 echo "$as_me:$LINENO: result: no" >&5
38565 echo "${ECHO_T}no" >&6
38566 fi
38567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38568
38569
38570 cat >confcache <<\_ACEOF
38571 # This file is a shell script that caches the results of configure
38572 # tests run on this system so they can be shared between configure
38573 # scripts and configure runs, see configure's option --config-cache.
38574 # It is not useful on other systems. If it contains results you don't
38575 # want to keep, you may remove or edit it.
38576 #
38577 # config.status only pays attention to the cache file if you give it
38578 # the --recheck option to rerun configure.
38579 #
38580 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38581 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38582 # following values.
38583
38584 _ACEOF
38585
38586 # The following way of writing the cache mishandles newlines in values,
38587 # but we know of no workaround that is simple, portable, and efficient.
38588 # So, don't put newlines in cache variables' values.
38589 # Ultrix sh set writes to stderr and can't be redirected directly,
38590 # and sets the high bit in the cache file unless we assign to the vars.
38591 {
38592 (set) 2>&1 |
38593 case `(ac_space=' '; set | grep ac_space) 2>&1` in
38594 *ac_space=\ *)
38595 # `set' does not quote correctly, so add quotes (double-quote
38596 # substitution turns \\\\ into \\, and sed turns \\ into \).
38597 sed -n \
38598 "s/'/'\\\\''/g;
38599 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38600 ;;
38601 *)
38602 # `set' quotes correctly as required by POSIX, so do not add quotes.
38603 sed -n \
38604 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
38605 ;;
38606 esac;
38607 } |
38608 sed '
38609 t clear
38610 : clear
38611 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38612 t end
38613 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38614 : end' >>confcache
38615 if diff $cache_file confcache >/dev/null 2>&1; then :; else
38616 if test -w $cache_file; then
38617 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
38618 cat confcache >$cache_file
38619 else
38620 echo "not updating unwritable cache $cache_file"
38621 fi
38622 fi
38623 rm -f confcache
38624
38625
38626 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38627
38628
38629 THREADS_LINK=
38630 THREADS_CXXFLAGS=
38631
38632 if test "$wxUSE_THREADS" = "yes" ; then
38633 if test "$USE_BEOS" = 1; then
38634 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38635 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38636 wxUSE_THREADS="no"
38637 fi
38638 fi
38639
38640 if test "$wxUSE_THREADS" = "yes" ; then
38641
38642
38643 THREAD_OPTS="-pthread"
38644 case "${host}" in
38645 *-*-solaris2* | *-*-sunos4* )
38646 if test "x$GCC" = "xyes"; then
38647 THREAD_OPTS="-pthreads $THREAD_OPTS"
38648 else
38649 THREAD_OPTS="-mt $THREAD_OPTS"
38650 fi
38651 ;;
38652 *-*-freebsd*)
38653 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38654 ;;
38655 *-*-darwin* | *-*-cygwin* )
38656 THREAD_OPTS=""
38657 ;;
38658 *-*-aix*)
38659 THREAD_OPTS="pthreads"
38660 ;;
38661 *-hp-hpux* )
38662 if test "x$GCC" = "xyes"; then
38663 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38664 THREAD_OPTS=""
38665 else
38666 THREAD_OPTS="-mt"
38667 fi
38668 ;;
38669
38670 *-*-irix* )
38671 if test "x$GCC" = "xyes"; then
38672 THREAD_OPTS=""
38673 fi
38674 ;;
38675
38676 *-*-*UnixWare*)
38677 if test "x$GCC" != "xyes"; then
38678 THREAD_OPTS="-Ethread"
38679 fi
38680 ;;
38681 esac
38682
38683 THREAD_OPTS="$THREAD_OPTS pthread none"
38684
38685 THREADS_OK=no
38686 for flag in $THREAD_OPTS; do
38687 case $flag in
38688 none)
38689 echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38690 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6
38691 ;;
38692
38693 -*)
38694 echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38695 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6
38696 THREADS_CXXFLAGS="$flag"
38697 ;;
38698
38699 *)
38700 echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38701 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6
38702 THREADS_LINK="-l$flag"
38703 ;;
38704 esac
38705
38706 save_LIBS="$LIBS"
38707 save_CXXFLAGS="$CXXFLAGS"
38708 LIBS="$THREADS_LINK $LIBS"
38709 CXXFLAGS="$THREADS_CXXFLAGS $CXXFLAGS"
38710
38711 cat >conftest.$ac_ext <<_ACEOF
38712 /* confdefs.h. */
38713 _ACEOF
38714 cat confdefs.h >>conftest.$ac_ext
38715 cat >>conftest.$ac_ext <<_ACEOF
38716 /* end confdefs.h. */
38717 #include <pthread.h>
38718 int
38719 main ()
38720 {
38721 pthread_create(0,0,0,0);
38722 ;
38723 return 0;
38724 }
38725 _ACEOF
38726 rm -f conftest.$ac_objext conftest$ac_exeext
38727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38728 (eval $ac_link) 2>conftest.er1
38729 ac_status=$?
38730 grep -v '^ *+' conftest.er1 >conftest.err
38731 rm -f conftest.er1
38732 cat conftest.err >&5
38733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38734 (exit $ac_status); } &&
38735 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38737 (eval $ac_try) 2>&5
38738 ac_status=$?
38739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38740 (exit $ac_status); }; } &&
38741 { ac_try='test -s conftest$ac_exeext'
38742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38743 (eval $ac_try) 2>&5
38744 ac_status=$?
38745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38746 (exit $ac_status); }; }; then
38747 THREADS_OK=yes
38748 else
38749 echo "$as_me: failed program was:" >&5
38750 sed 's/^/| /' conftest.$ac_ext >&5
38751
38752 fi
38753 rm -f conftest.err conftest.$ac_objext \
38754 conftest$ac_exeext conftest.$ac_ext
38755
38756 LIBS="$save_LIBS"
38757 CXXFLAGS="$save_CXXFLAGS"
38758
38759 echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38760 echo "${ECHO_T}$THREADS_OK" >&6
38761 if test "x$THREADS_OK" = "xyes"; then
38762 break;
38763 fi
38764
38765 THREADS_LINK=""
38766 THREADS_CXXFLAGS=""
38767 done
38768
38769 if test "x$THREADS_OK" != "xyes"; then
38770 wxUSE_THREADS=no
38771 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38772 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38773 else
38774 LDFLAGS="$THREADS_CXXFLAGS $LDFLAGS"
38775 LIBS="$THREADS_LINK $LIBS"
38776
38777 echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38778 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6
38779 flag=no
38780 case "${host}" in
38781 *-aix*)
38782 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38783 flag="-D_THREAD_SAFE"
38784 ;;
38785 *-freebsd*)
38786 flag="-D_THREAD_SAFE"
38787 ;;
38788 *-hp-hpux* )
38789 flag="-D_REENTRANT"
38790 if test "x$GCC" != "xyes"; then
38791 flag="$flag -D_RWSTD_MULTI_THREAD"
38792 fi
38793 ;;
38794 *solaris* | alpha*-osf*)
38795 flag="-D_REENTRANT"
38796 ;;
38797 esac
38798 echo "$as_me:$LINENO: result: ${flag}" >&5
38799 echo "${ECHO_T}${flag}" >&6
38800 if test "x$flag" != xno; then
38801 THREADS_CXXFLAGS="$THREADS_CXXFLAGS $flag"
38802 fi
38803
38804 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS $THREADS_CXXFLAGS"
38805 fi
38806 fi
38807
38808 if test "$wxUSE_THREADS" = "yes" ; then
38809
38810 for ac_func in thr_setconcurrency
38811 do
38812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38813 echo "$as_me:$LINENO: checking for $ac_func" >&5
38814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38815 if eval "test \"\${$as_ac_var+set}\" = set"; then
38816 echo $ECHO_N "(cached) $ECHO_C" >&6
38817 else
38818 cat >conftest.$ac_ext <<_ACEOF
38819 /* confdefs.h. */
38820 _ACEOF
38821 cat confdefs.h >>conftest.$ac_ext
38822 cat >>conftest.$ac_ext <<_ACEOF
38823 /* end confdefs.h. */
38824 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38825 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38826 #define $ac_func innocuous_$ac_func
38827
38828 /* System header to define __stub macros and hopefully few prototypes,
38829 which can conflict with char $ac_func (); below.
38830 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38831 <limits.h> exists even on freestanding compilers. */
38832
38833 #ifdef __STDC__
38834 # include <limits.h>
38835 #else
38836 # include <assert.h>
38837 #endif
38838
38839 #undef $ac_func
38840
38841 /* Override any gcc2 internal prototype to avoid an error. */
38842 #ifdef __cplusplus
38843 extern "C"
38844 {
38845 #endif
38846 /* We use char because int might match the return type of a gcc2
38847 builtin and then its argument prototype would still apply. */
38848 char $ac_func ();
38849 /* The GNU C library defines this for functions which it implements
38850 to always fail with ENOSYS. Some functions are actually named
38851 something starting with __ and the normal name is an alias. */
38852 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38853 choke me
38854 #else
38855 char (*f) () = $ac_func;
38856 #endif
38857 #ifdef __cplusplus
38858 }
38859 #endif
38860
38861 int
38862 main ()
38863 {
38864 return f != $ac_func;
38865 ;
38866 return 0;
38867 }
38868 _ACEOF
38869 rm -f conftest.$ac_objext conftest$ac_exeext
38870 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38871 (eval $ac_link) 2>conftest.er1
38872 ac_status=$?
38873 grep -v '^ *+' conftest.er1 >conftest.err
38874 rm -f conftest.er1
38875 cat conftest.err >&5
38876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38877 (exit $ac_status); } &&
38878 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38880 (eval $ac_try) 2>&5
38881 ac_status=$?
38882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38883 (exit $ac_status); }; } &&
38884 { ac_try='test -s conftest$ac_exeext'
38885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38886 (eval $ac_try) 2>&5
38887 ac_status=$?
38888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38889 (exit $ac_status); }; }; then
38890 eval "$as_ac_var=yes"
38891 else
38892 echo "$as_me: failed program was:" >&5
38893 sed 's/^/| /' conftest.$ac_ext >&5
38894
38895 eval "$as_ac_var=no"
38896 fi
38897 rm -f conftest.err conftest.$ac_objext \
38898 conftest$ac_exeext conftest.$ac_ext
38899 fi
38900 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38901 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38902 if test `eval echo '${'$as_ac_var'}'` = yes; then
38903 cat >>confdefs.h <<_ACEOF
38904 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38905 _ACEOF
38906
38907 fi
38908 done
38909
38910
38911 echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38912 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6
38913 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38914 echo $ECHO_N "(cached) $ECHO_C" >&6
38915 else
38916
38917 cat >conftest.$ac_ext <<_ACEOF
38918 /* confdefs.h. */
38919 _ACEOF
38920 cat confdefs.h >>conftest.$ac_ext
38921 cat >>conftest.$ac_ext <<_ACEOF
38922 /* end confdefs.h. */
38923 #include <pthread.h>
38924 void ThreadCleanupFunc(void *p);
38925
38926 int
38927 main ()
38928 {
38929
38930 void *p;
38931 pthread_cleanup_push(ThreadCleanupFunc, p);
38932 pthread_cleanup_pop(0);
38933
38934 ;
38935 return 0;
38936 }
38937 _ACEOF
38938 rm -f conftest.$ac_objext
38939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38940 (eval $ac_compile) 2>conftest.er1
38941 ac_status=$?
38942 grep -v '^ *+' conftest.er1 >conftest.err
38943 rm -f conftest.er1
38944 cat conftest.err >&5
38945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38946 (exit $ac_status); } &&
38947 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
38948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38949 (eval $ac_try) 2>&5
38950 ac_status=$?
38951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38952 (exit $ac_status); }; } &&
38953 { ac_try='test -s conftest.$ac_objext'
38954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38955 (eval $ac_try) 2>&5
38956 ac_status=$?
38957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38958 (exit $ac_status); }; }; then
38959
38960 wx_cv_func_pthread_cleanup=yes
38961
38962 else
38963 echo "$as_me: failed program was:" >&5
38964 sed 's/^/| /' conftest.$ac_ext >&5
38965
38966
38967 wx_cv_func_pthread_cleanup=no
38968
38969
38970 fi
38971 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38972
38973 fi
38974 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38975 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6
38976 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38977 cat >>confdefs.h <<\_ACEOF
38978 #define wxHAVE_PTHREAD_CLEANUP 1
38979 _ACEOF
38980
38981 fi
38982
38983
38984 for ac_header in sched.h
38985 do
38986 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38987 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38988 echo "$as_me:$LINENO: checking for $ac_header" >&5
38989 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
38990 if eval "test \"\${$as_ac_Header+set}\" = set"; then
38991 echo $ECHO_N "(cached) $ECHO_C" >&6
38992 fi
38993 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
38994 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
38995 else
38996 # Is the header compilable?
38997 echo "$as_me:$LINENO: checking $ac_header usability" >&5
38998 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
38999 cat >conftest.$ac_ext <<_ACEOF
39000 /* confdefs.h. */
39001 _ACEOF
39002 cat confdefs.h >>conftest.$ac_ext
39003 cat >>conftest.$ac_ext <<_ACEOF
39004 /* end confdefs.h. */
39005 $ac_includes_default
39006 #include <$ac_header>
39007 _ACEOF
39008 rm -f conftest.$ac_objext
39009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39010 (eval $ac_compile) 2>conftest.er1
39011 ac_status=$?
39012 grep -v '^ *+' conftest.er1 >conftest.err
39013 rm -f conftest.er1
39014 cat conftest.err >&5
39015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39016 (exit $ac_status); } &&
39017 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39019 (eval $ac_try) 2>&5
39020 ac_status=$?
39021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39022 (exit $ac_status); }; } &&
39023 { ac_try='test -s conftest.$ac_objext'
39024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39025 (eval $ac_try) 2>&5
39026 ac_status=$?
39027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39028 (exit $ac_status); }; }; then
39029 ac_header_compiler=yes
39030 else
39031 echo "$as_me: failed program was:" >&5
39032 sed 's/^/| /' conftest.$ac_ext >&5
39033
39034 ac_header_compiler=no
39035 fi
39036 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39037 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39038 echo "${ECHO_T}$ac_header_compiler" >&6
39039
39040 # Is the header present?
39041 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39042 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39043 cat >conftest.$ac_ext <<_ACEOF
39044 /* confdefs.h. */
39045 _ACEOF
39046 cat confdefs.h >>conftest.$ac_ext
39047 cat >>conftest.$ac_ext <<_ACEOF
39048 /* end confdefs.h. */
39049 #include <$ac_header>
39050 _ACEOF
39051 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39052 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39053 ac_status=$?
39054 grep -v '^ *+' conftest.er1 >conftest.err
39055 rm -f conftest.er1
39056 cat conftest.err >&5
39057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39058 (exit $ac_status); } >/dev/null; then
39059 if test -s conftest.err; then
39060 ac_cpp_err=$ac_cxx_preproc_warn_flag
39061 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
39062 else
39063 ac_cpp_err=
39064 fi
39065 else
39066 ac_cpp_err=yes
39067 fi
39068 if test -z "$ac_cpp_err"; then
39069 ac_header_preproc=yes
39070 else
39071 echo "$as_me: failed program was:" >&5
39072 sed 's/^/| /' conftest.$ac_ext >&5
39073
39074 ac_header_preproc=no
39075 fi
39076 rm -f conftest.err conftest.$ac_ext
39077 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39078 echo "${ECHO_T}$ac_header_preproc" >&6
39079
39080 # So? What about this header?
39081 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
39082 yes:no: )
39083 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39084 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39085 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39086 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39087 ac_header_preproc=yes
39088 ;;
39089 no:yes:* )
39090 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39091 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39092 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39093 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39094 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39095 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39096 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39097 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39098 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39099 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39100 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39101 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39102 (
39103 cat <<\_ASBOX
39104 ## ----------------------------------------- ##
39105 ## Report this to wx-dev@lists.wxwidgets.org ##
39106 ## ----------------------------------------- ##
39107 _ASBOX
39108 ) |
39109 sed "s/^/$as_me: WARNING: /" >&2
39110 ;;
39111 esac
39112 echo "$as_me:$LINENO: checking for $ac_header" >&5
39113 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39114 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39115 echo $ECHO_N "(cached) $ECHO_C" >&6
39116 else
39117 eval "$as_ac_Header=\$ac_header_preproc"
39118 fi
39119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39120 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39121
39122 fi
39123 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39124 cat >>confdefs.h <<_ACEOF
39125 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39126 _ACEOF
39127
39128 fi
39129
39130 done
39131
39132 if test "$ac_cv_header_sched_h" = "yes"; then
39133 echo "$as_me:$LINENO: checking for sched_yield" >&5
39134 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6
39135 if test "${ac_cv_func_sched_yield+set}" = set; then
39136 echo $ECHO_N "(cached) $ECHO_C" >&6
39137 else
39138 cat >conftest.$ac_ext <<_ACEOF
39139 /* confdefs.h. */
39140 _ACEOF
39141 cat confdefs.h >>conftest.$ac_ext
39142 cat >>conftest.$ac_ext <<_ACEOF
39143 /* end confdefs.h. */
39144 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39145 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39146 #define sched_yield innocuous_sched_yield
39147
39148 /* System header to define __stub macros and hopefully few prototypes,
39149 which can conflict with char sched_yield (); below.
39150 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39151 <limits.h> exists even on freestanding compilers. */
39152
39153 #ifdef __STDC__
39154 # include <limits.h>
39155 #else
39156 # include <assert.h>
39157 #endif
39158
39159 #undef sched_yield
39160
39161 /* Override any gcc2 internal prototype to avoid an error. */
39162 #ifdef __cplusplus
39163 extern "C"
39164 {
39165 #endif
39166 /* We use char because int might match the return type of a gcc2
39167 builtin and then its argument prototype would still apply. */
39168 char sched_yield ();
39169 /* The GNU C library defines this for functions which it implements
39170 to always fail with ENOSYS. Some functions are actually named
39171 something starting with __ and the normal name is an alias. */
39172 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
39173 choke me
39174 #else
39175 char (*f) () = sched_yield;
39176 #endif
39177 #ifdef __cplusplus
39178 }
39179 #endif
39180
39181 int
39182 main ()
39183 {
39184 return f != sched_yield;
39185 ;
39186 return 0;
39187 }
39188 _ACEOF
39189 rm -f conftest.$ac_objext conftest$ac_exeext
39190 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39191 (eval $ac_link) 2>conftest.er1
39192 ac_status=$?
39193 grep -v '^ *+' conftest.er1 >conftest.err
39194 rm -f conftest.er1
39195 cat conftest.err >&5
39196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39197 (exit $ac_status); } &&
39198 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39200 (eval $ac_try) 2>&5
39201 ac_status=$?
39202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39203 (exit $ac_status); }; } &&
39204 { ac_try='test -s conftest$ac_exeext'
39205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39206 (eval $ac_try) 2>&5
39207 ac_status=$?
39208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39209 (exit $ac_status); }; }; then
39210 ac_cv_func_sched_yield=yes
39211 else
39212 echo "$as_me: failed program was:" >&5
39213 sed 's/^/| /' conftest.$ac_ext >&5
39214
39215 ac_cv_func_sched_yield=no
39216 fi
39217 rm -f conftest.err conftest.$ac_objext \
39218 conftest$ac_exeext conftest.$ac_ext
39219 fi
39220 echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39221 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6
39222 if test $ac_cv_func_sched_yield = yes; then
39223 cat >>confdefs.h <<\_ACEOF
39224 #define HAVE_SCHED_YIELD 1
39225 _ACEOF
39226
39227 else
39228
39229 echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39230 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6
39231 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39232 echo $ECHO_N "(cached) $ECHO_C" >&6
39233 else
39234 ac_check_lib_save_LIBS=$LIBS
39235 LIBS="-lposix4 $LIBS"
39236 cat >conftest.$ac_ext <<_ACEOF
39237 /* confdefs.h. */
39238 _ACEOF
39239 cat confdefs.h >>conftest.$ac_ext
39240 cat >>conftest.$ac_ext <<_ACEOF
39241 /* end confdefs.h. */
39242
39243 /* Override any gcc2 internal prototype to avoid an error. */
39244 #ifdef __cplusplus
39245 extern "C"
39246 #endif
39247 /* We use char because int might match the return type of a gcc2
39248 builtin and then its argument prototype would still apply. */
39249 char sched_yield ();
39250 int
39251 main ()
39252 {
39253 sched_yield ();
39254 ;
39255 return 0;
39256 }
39257 _ACEOF
39258 rm -f conftest.$ac_objext conftest$ac_exeext
39259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39260 (eval $ac_link) 2>conftest.er1
39261 ac_status=$?
39262 grep -v '^ *+' conftest.er1 >conftest.err
39263 rm -f conftest.er1
39264 cat conftest.err >&5
39265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39266 (exit $ac_status); } &&
39267 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39269 (eval $ac_try) 2>&5
39270 ac_status=$?
39271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39272 (exit $ac_status); }; } &&
39273 { ac_try='test -s conftest$ac_exeext'
39274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39275 (eval $ac_try) 2>&5
39276 ac_status=$?
39277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39278 (exit $ac_status); }; }; then
39279 ac_cv_lib_posix4_sched_yield=yes
39280 else
39281 echo "$as_me: failed program was:" >&5
39282 sed 's/^/| /' conftest.$ac_ext >&5
39283
39284 ac_cv_lib_posix4_sched_yield=no
39285 fi
39286 rm -f conftest.err conftest.$ac_objext \
39287 conftest$ac_exeext conftest.$ac_ext
39288 LIBS=$ac_check_lib_save_LIBS
39289 fi
39290 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39291 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6
39292 if test $ac_cv_lib_posix4_sched_yield = yes; then
39293 cat >>confdefs.h <<\_ACEOF
39294 #define HAVE_SCHED_YIELD 1
39295 _ACEOF
39296 POSIX4_LINK=" -lposix4"
39297 else
39298 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39299 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39300
39301 fi
39302
39303
39304
39305 fi
39306
39307 fi
39308
39309 HAVE_PRIOR_FUNCS=0
39310 echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39311 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6
39312 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39313 echo $ECHO_N "(cached) $ECHO_C" >&6
39314 else
39315 cat >conftest.$ac_ext <<_ACEOF
39316 /* confdefs.h. */
39317 _ACEOF
39318 cat confdefs.h >>conftest.$ac_ext
39319 cat >>conftest.$ac_ext <<_ACEOF
39320 /* end confdefs.h. */
39321 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39322 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39323 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39324
39325 /* System header to define __stub macros and hopefully few prototypes,
39326 which can conflict with char pthread_attr_getschedpolicy (); below.
39327 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39328 <limits.h> exists even on freestanding compilers. */
39329
39330 #ifdef __STDC__
39331 # include <limits.h>
39332 #else
39333 # include <assert.h>
39334 #endif
39335
39336 #undef pthread_attr_getschedpolicy
39337
39338 /* Override any gcc2 internal prototype to avoid an error. */
39339 #ifdef __cplusplus
39340 extern "C"
39341 {
39342 #endif
39343 /* We use char because int might match the return type of a gcc2
39344 builtin and then its argument prototype would still apply. */
39345 char pthread_attr_getschedpolicy ();
39346 /* The GNU C library defines this for functions which it implements
39347 to always fail with ENOSYS. Some functions are actually named
39348 something starting with __ and the normal name is an alias. */
39349 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
39350 choke me
39351 #else
39352 char (*f) () = pthread_attr_getschedpolicy;
39353 #endif
39354 #ifdef __cplusplus
39355 }
39356 #endif
39357
39358 int
39359 main ()
39360 {
39361 return f != pthread_attr_getschedpolicy;
39362 ;
39363 return 0;
39364 }
39365 _ACEOF
39366 rm -f conftest.$ac_objext conftest$ac_exeext
39367 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39368 (eval $ac_link) 2>conftest.er1
39369 ac_status=$?
39370 grep -v '^ *+' conftest.er1 >conftest.err
39371 rm -f conftest.er1
39372 cat conftest.err >&5
39373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39374 (exit $ac_status); } &&
39375 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39376 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39377 (eval $ac_try) 2>&5
39378 ac_status=$?
39379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39380 (exit $ac_status); }; } &&
39381 { ac_try='test -s conftest$ac_exeext'
39382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39383 (eval $ac_try) 2>&5
39384 ac_status=$?
39385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39386 (exit $ac_status); }; }; then
39387 ac_cv_func_pthread_attr_getschedpolicy=yes
39388 else
39389 echo "$as_me: failed program was:" >&5
39390 sed 's/^/| /' conftest.$ac_ext >&5
39391
39392 ac_cv_func_pthread_attr_getschedpolicy=no
39393 fi
39394 rm -f conftest.err conftest.$ac_objext \
39395 conftest$ac_exeext conftest.$ac_ext
39396 fi
39397 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39398 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6
39399 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39400 echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39401 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6
39402 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39403 echo $ECHO_N "(cached) $ECHO_C" >&6
39404 else
39405 cat >conftest.$ac_ext <<_ACEOF
39406 /* confdefs.h. */
39407 _ACEOF
39408 cat confdefs.h >>conftest.$ac_ext
39409 cat >>conftest.$ac_ext <<_ACEOF
39410 /* end confdefs.h. */
39411 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39413 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39414
39415 /* System header to define __stub macros and hopefully few prototypes,
39416 which can conflict with char pthread_attr_setschedparam (); below.
39417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39418 <limits.h> exists even on freestanding compilers. */
39419
39420 #ifdef __STDC__
39421 # include <limits.h>
39422 #else
39423 # include <assert.h>
39424 #endif
39425
39426 #undef pthread_attr_setschedparam
39427
39428 /* Override any gcc2 internal prototype to avoid an error. */
39429 #ifdef __cplusplus
39430 extern "C"
39431 {
39432 #endif
39433 /* We use char because int might match the return type of a gcc2
39434 builtin and then its argument prototype would still apply. */
39435 char pthread_attr_setschedparam ();
39436 /* The GNU C library defines this for functions which it implements
39437 to always fail with ENOSYS. Some functions are actually named
39438 something starting with __ and the normal name is an alias. */
39439 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
39440 choke me
39441 #else
39442 char (*f) () = pthread_attr_setschedparam;
39443 #endif
39444 #ifdef __cplusplus
39445 }
39446 #endif
39447
39448 int
39449 main ()
39450 {
39451 return f != pthread_attr_setschedparam;
39452 ;
39453 return 0;
39454 }
39455 _ACEOF
39456 rm -f conftest.$ac_objext conftest$ac_exeext
39457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39458 (eval $ac_link) 2>conftest.er1
39459 ac_status=$?
39460 grep -v '^ *+' conftest.er1 >conftest.err
39461 rm -f conftest.er1
39462 cat conftest.err >&5
39463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39464 (exit $ac_status); } &&
39465 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39467 (eval $ac_try) 2>&5
39468 ac_status=$?
39469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39470 (exit $ac_status); }; } &&
39471 { ac_try='test -s conftest$ac_exeext'
39472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39473 (eval $ac_try) 2>&5
39474 ac_status=$?
39475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39476 (exit $ac_status); }; }; then
39477 ac_cv_func_pthread_attr_setschedparam=yes
39478 else
39479 echo "$as_me: failed program was:" >&5
39480 sed 's/^/| /' conftest.$ac_ext >&5
39481
39482 ac_cv_func_pthread_attr_setschedparam=no
39483 fi
39484 rm -f conftest.err conftest.$ac_objext \
39485 conftest$ac_exeext conftest.$ac_ext
39486 fi
39487 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39488 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6
39489 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39490 echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39491 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6
39492 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39493 echo $ECHO_N "(cached) $ECHO_C" >&6
39494 else
39495 cat >conftest.$ac_ext <<_ACEOF
39496 /* confdefs.h. */
39497 _ACEOF
39498 cat confdefs.h >>conftest.$ac_ext
39499 cat >>conftest.$ac_ext <<_ACEOF
39500 /* end confdefs.h. */
39501 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39503 #define sched_get_priority_max innocuous_sched_get_priority_max
39504
39505 /* System header to define __stub macros and hopefully few prototypes,
39506 which can conflict with char sched_get_priority_max (); below.
39507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39508 <limits.h> exists even on freestanding compilers. */
39509
39510 #ifdef __STDC__
39511 # include <limits.h>
39512 #else
39513 # include <assert.h>
39514 #endif
39515
39516 #undef sched_get_priority_max
39517
39518 /* Override any gcc2 internal prototype to avoid an error. */
39519 #ifdef __cplusplus
39520 extern "C"
39521 {
39522 #endif
39523 /* We use char because int might match the return type of a gcc2
39524 builtin and then its argument prototype would still apply. */
39525 char sched_get_priority_max ();
39526 /* The GNU C library defines this for functions which it implements
39527 to always fail with ENOSYS. Some functions are actually named
39528 something starting with __ and the normal name is an alias. */
39529 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
39530 choke me
39531 #else
39532 char (*f) () = sched_get_priority_max;
39533 #endif
39534 #ifdef __cplusplus
39535 }
39536 #endif
39537
39538 int
39539 main ()
39540 {
39541 return f != sched_get_priority_max;
39542 ;
39543 return 0;
39544 }
39545 _ACEOF
39546 rm -f conftest.$ac_objext conftest$ac_exeext
39547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39548 (eval $ac_link) 2>conftest.er1
39549 ac_status=$?
39550 grep -v '^ *+' conftest.er1 >conftest.err
39551 rm -f conftest.er1
39552 cat conftest.err >&5
39553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39554 (exit $ac_status); } &&
39555 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39557 (eval $ac_try) 2>&5
39558 ac_status=$?
39559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39560 (exit $ac_status); }; } &&
39561 { ac_try='test -s conftest$ac_exeext'
39562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39563 (eval $ac_try) 2>&5
39564 ac_status=$?
39565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39566 (exit $ac_status); }; }; then
39567 ac_cv_func_sched_get_priority_max=yes
39568 else
39569 echo "$as_me: failed program was:" >&5
39570 sed 's/^/| /' conftest.$ac_ext >&5
39571
39572 ac_cv_func_sched_get_priority_max=no
39573 fi
39574 rm -f conftest.err conftest.$ac_objext \
39575 conftest$ac_exeext conftest.$ac_ext
39576 fi
39577 echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39578 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6
39579 if test $ac_cv_func_sched_get_priority_max = yes; then
39580 HAVE_PRIOR_FUNCS=1
39581 else
39582 echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39583 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6
39584 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39585 echo $ECHO_N "(cached) $ECHO_C" >&6
39586 else
39587 ac_check_lib_save_LIBS=$LIBS
39588 LIBS="-lposix4 $LIBS"
39589 cat >conftest.$ac_ext <<_ACEOF
39590 /* confdefs.h. */
39591 _ACEOF
39592 cat confdefs.h >>conftest.$ac_ext
39593 cat >>conftest.$ac_ext <<_ACEOF
39594 /* end confdefs.h. */
39595
39596 /* Override any gcc2 internal prototype to avoid an error. */
39597 #ifdef __cplusplus
39598 extern "C"
39599 #endif
39600 /* We use char because int might match the return type of a gcc2
39601 builtin and then its argument prototype would still apply. */
39602 char sched_get_priority_max ();
39603 int
39604 main ()
39605 {
39606 sched_get_priority_max ();
39607 ;
39608 return 0;
39609 }
39610 _ACEOF
39611 rm -f conftest.$ac_objext conftest$ac_exeext
39612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39613 (eval $ac_link) 2>conftest.er1
39614 ac_status=$?
39615 grep -v '^ *+' conftest.er1 >conftest.err
39616 rm -f conftest.er1
39617 cat conftest.err >&5
39618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39619 (exit $ac_status); } &&
39620 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39622 (eval $ac_try) 2>&5
39623 ac_status=$?
39624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39625 (exit $ac_status); }; } &&
39626 { ac_try='test -s conftest$ac_exeext'
39627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39628 (eval $ac_try) 2>&5
39629 ac_status=$?
39630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39631 (exit $ac_status); }; }; then
39632 ac_cv_lib_posix4_sched_get_priority_max=yes
39633 else
39634 echo "$as_me: failed program was:" >&5
39635 sed 's/^/| /' conftest.$ac_ext >&5
39636
39637 ac_cv_lib_posix4_sched_get_priority_max=no
39638 fi
39639 rm -f conftest.err conftest.$ac_objext \
39640 conftest$ac_exeext conftest.$ac_ext
39641 LIBS=$ac_check_lib_save_LIBS
39642 fi
39643 echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39644 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6
39645 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39646
39647 HAVE_PRIOR_FUNCS=1
39648 POSIX4_LINK=" -lposix4"
39649
39650 fi
39651
39652
39653 fi
39654
39655
39656 fi
39657
39658
39659 fi
39660
39661
39662 if test "$HAVE_PRIOR_FUNCS" = 1; then
39663 cat >>confdefs.h <<\_ACEOF
39664 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39665 _ACEOF
39666
39667 else
39668 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39669 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39670 fi
39671
39672 echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39673 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6
39674 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39675 echo $ECHO_N "(cached) $ECHO_C" >&6
39676 else
39677 cat >conftest.$ac_ext <<_ACEOF
39678 /* confdefs.h. */
39679 _ACEOF
39680 cat confdefs.h >>conftest.$ac_ext
39681 cat >>conftest.$ac_ext <<_ACEOF
39682 /* end confdefs.h. */
39683 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39684 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39685 #define pthread_cancel innocuous_pthread_cancel
39686
39687 /* System header to define __stub macros and hopefully few prototypes,
39688 which can conflict with char pthread_cancel (); below.
39689 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39690 <limits.h> exists even on freestanding compilers. */
39691
39692 #ifdef __STDC__
39693 # include <limits.h>
39694 #else
39695 # include <assert.h>
39696 #endif
39697
39698 #undef pthread_cancel
39699
39700 /* Override any gcc2 internal prototype to avoid an error. */
39701 #ifdef __cplusplus
39702 extern "C"
39703 {
39704 #endif
39705 /* We use char because int might match the return type of a gcc2
39706 builtin and then its argument prototype would still apply. */
39707 char pthread_cancel ();
39708 /* The GNU C library defines this for functions which it implements
39709 to always fail with ENOSYS. Some functions are actually named
39710 something starting with __ and the normal name is an alias. */
39711 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
39712 choke me
39713 #else
39714 char (*f) () = pthread_cancel;
39715 #endif
39716 #ifdef __cplusplus
39717 }
39718 #endif
39719
39720 int
39721 main ()
39722 {
39723 return f != pthread_cancel;
39724 ;
39725 return 0;
39726 }
39727 _ACEOF
39728 rm -f conftest.$ac_objext conftest$ac_exeext
39729 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39730 (eval $ac_link) 2>conftest.er1
39731 ac_status=$?
39732 grep -v '^ *+' conftest.er1 >conftest.err
39733 rm -f conftest.er1
39734 cat conftest.err >&5
39735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39736 (exit $ac_status); } &&
39737 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39739 (eval $ac_try) 2>&5
39740 ac_status=$?
39741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39742 (exit $ac_status); }; } &&
39743 { ac_try='test -s conftest$ac_exeext'
39744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39745 (eval $ac_try) 2>&5
39746 ac_status=$?
39747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39748 (exit $ac_status); }; }; then
39749 ac_cv_func_pthread_cancel=yes
39750 else
39751 echo "$as_me: failed program was:" >&5
39752 sed 's/^/| /' conftest.$ac_ext >&5
39753
39754 ac_cv_func_pthread_cancel=no
39755 fi
39756 rm -f conftest.err conftest.$ac_objext \
39757 conftest$ac_exeext conftest.$ac_ext
39758 fi
39759 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39760 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6
39761 if test $ac_cv_func_pthread_cancel = yes; then
39762 cat >>confdefs.h <<\_ACEOF
39763 #define HAVE_PTHREAD_CANCEL 1
39764 _ACEOF
39765
39766 else
39767 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39768 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39769 fi
39770
39771
39772 echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39773 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6
39774 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39775 echo $ECHO_N "(cached) $ECHO_C" >&6
39776 else
39777 cat >conftest.$ac_ext <<_ACEOF
39778 /* confdefs.h. */
39779 _ACEOF
39780 cat confdefs.h >>conftest.$ac_ext
39781 cat >>conftest.$ac_ext <<_ACEOF
39782 /* end confdefs.h. */
39783 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39785 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39786
39787 /* System header to define __stub macros and hopefully few prototypes,
39788 which can conflict with char pthread_attr_setstacksize (); below.
39789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39790 <limits.h> exists even on freestanding compilers. */
39791
39792 #ifdef __STDC__
39793 # include <limits.h>
39794 #else
39795 # include <assert.h>
39796 #endif
39797
39798 #undef pthread_attr_setstacksize
39799
39800 /* Override any gcc2 internal prototype to avoid an error. */
39801 #ifdef __cplusplus
39802 extern "C"
39803 {
39804 #endif
39805 /* We use char because int might match the return type of a gcc2
39806 builtin and then its argument prototype would still apply. */
39807 char pthread_attr_setstacksize ();
39808 /* The GNU C library defines this for functions which it implements
39809 to always fail with ENOSYS. Some functions are actually named
39810 something starting with __ and the normal name is an alias. */
39811 #if defined (__stub_pthread_attr_setstacksize) || defined (__stub___pthread_attr_setstacksize)
39812 choke me
39813 #else
39814 char (*f) () = pthread_attr_setstacksize;
39815 #endif
39816 #ifdef __cplusplus
39817 }
39818 #endif
39819
39820 int
39821 main ()
39822 {
39823 return f != pthread_attr_setstacksize;
39824 ;
39825 return 0;
39826 }
39827 _ACEOF
39828 rm -f conftest.$ac_objext conftest$ac_exeext
39829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39830 (eval $ac_link) 2>conftest.er1
39831 ac_status=$?
39832 grep -v '^ *+' conftest.er1 >conftest.err
39833 rm -f conftest.er1
39834 cat conftest.err >&5
39835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39836 (exit $ac_status); } &&
39837 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39839 (eval $ac_try) 2>&5
39840 ac_status=$?
39841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39842 (exit $ac_status); }; } &&
39843 { ac_try='test -s conftest$ac_exeext'
39844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39845 (eval $ac_try) 2>&5
39846 ac_status=$?
39847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39848 (exit $ac_status); }; }; then
39849 ac_cv_func_pthread_attr_setstacksize=yes
39850 else
39851 echo "$as_me: failed program was:" >&5
39852 sed 's/^/| /' conftest.$ac_ext >&5
39853
39854 ac_cv_func_pthread_attr_setstacksize=no
39855 fi
39856 rm -f conftest.err conftest.$ac_objext \
39857 conftest$ac_exeext conftest.$ac_ext
39858 fi
39859 echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39860 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6
39861 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39862 cat >>confdefs.h <<\_ACEOF
39863 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39864 _ACEOF
39865
39866 fi
39867
39868
39869
39870 echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39871 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6
39872 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39873 echo $ECHO_N "(cached) $ECHO_C" >&6
39874 else
39875
39876 cat >conftest.$ac_ext <<_ACEOF
39877 /* confdefs.h. */
39878 _ACEOF
39879 cat confdefs.h >>conftest.$ac_ext
39880 cat >>conftest.$ac_ext <<_ACEOF
39881 /* end confdefs.h. */
39882 #include <pthread.h>
39883 int
39884 main ()
39885 {
39886
39887 pthread_mutexattr_t attr;
39888 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39889
39890 ;
39891 return 0;
39892 }
39893 _ACEOF
39894 rm -f conftest.$ac_objext
39895 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39896 (eval $ac_compile) 2>conftest.er1
39897 ac_status=$?
39898 grep -v '^ *+' conftest.er1 >conftest.err
39899 rm -f conftest.er1
39900 cat conftest.err >&5
39901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39902 (exit $ac_status); } &&
39903 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39905 (eval $ac_try) 2>&5
39906 ac_status=$?
39907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39908 (exit $ac_status); }; } &&
39909 { ac_try='test -s conftest.$ac_objext'
39910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39911 (eval $ac_try) 2>&5
39912 ac_status=$?
39913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39914 (exit $ac_status); }; }; then
39915 wx_cv_type_pthread_mutexattr_t=yes
39916 else
39917 echo "$as_me: failed program was:" >&5
39918 sed 's/^/| /' conftest.$ac_ext >&5
39919
39920 wx_cv_type_pthread_mutexattr_t=no
39921
39922 fi
39923 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39924
39925 fi
39926 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39927 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6
39928
39929 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39930 cat >>confdefs.h <<\_ACEOF
39931 #define HAVE_PTHREAD_MUTEXATTR_T 1
39932 _ACEOF
39933
39934
39935 echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39936 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6
39937 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39938 echo $ECHO_N "(cached) $ECHO_C" >&6
39939 else
39940
39941 cat >conftest.$ac_ext <<_ACEOF
39942 /* confdefs.h. */
39943 _ACEOF
39944 cat confdefs.h >>conftest.$ac_ext
39945 cat >>conftest.$ac_ext <<_ACEOF
39946 /* end confdefs.h. */
39947 #include <pthread.h>
39948 int
39949 main ()
39950 {
39951
39952 pthread_mutexattr_t attr;
39953 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39954
39955 ;
39956 return 0;
39957 }
39958 _ACEOF
39959 rm -f conftest.$ac_objext
39960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39961 (eval $ac_compile) 2>conftest.er1
39962 ac_status=$?
39963 grep -v '^ *+' conftest.er1 >conftest.err
39964 rm -f conftest.er1
39965 cat conftest.err >&5
39966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39967 (exit $ac_status); } &&
39968 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
39969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39970 (eval $ac_try) 2>&5
39971 ac_status=$?
39972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39973 (exit $ac_status); }; } &&
39974 { ac_try='test -s conftest.$ac_objext'
39975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39976 (eval $ac_try) 2>&5
39977 ac_status=$?
39978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39979 (exit $ac_status); }; }; then
39980 wx_cv_func_pthread_mutexattr_settype_decl=yes
39981 else
39982 echo "$as_me: failed program was:" >&5
39983 sed 's/^/| /' conftest.$ac_ext >&5
39984
39985 wx_cv_func_pthread_mutexattr_settype_decl=no
39986
39987 fi
39988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39989
39990 fi
39991 echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39992 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6
39993 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39994 cat >>confdefs.h <<\_ACEOF
39995 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39996 _ACEOF
39997
39998 fi
39999 else
40000 echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40001 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6
40002 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40003 echo $ECHO_N "(cached) $ECHO_C" >&6
40004 else
40005
40006 cat >conftest.$ac_ext <<_ACEOF
40007 /* confdefs.h. */
40008 _ACEOF
40009 cat confdefs.h >>conftest.$ac_ext
40010 cat >>conftest.$ac_ext <<_ACEOF
40011 /* end confdefs.h. */
40012 #include <pthread.h>
40013 int
40014 main ()
40015 {
40016
40017 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40018
40019 ;
40020 return 0;
40021 }
40022 _ACEOF
40023 rm -f conftest.$ac_objext
40024 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40025 (eval $ac_compile) 2>conftest.er1
40026 ac_status=$?
40027 grep -v '^ *+' conftest.er1 >conftest.err
40028 rm -f conftest.er1
40029 cat conftest.err >&5
40030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40031 (exit $ac_status); } &&
40032 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40034 (eval $ac_try) 2>&5
40035 ac_status=$?
40036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40037 (exit $ac_status); }; } &&
40038 { ac_try='test -s conftest.$ac_objext'
40039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40040 (eval $ac_try) 2>&5
40041 ac_status=$?
40042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40043 (exit $ac_status); }; }; then
40044
40045 wx_cv_type_pthread_rec_mutex_init=yes
40046
40047 else
40048 echo "$as_me: failed program was:" >&5
40049 sed 's/^/| /' conftest.$ac_ext >&5
40050
40051
40052 wx_cv_type_pthread_rec_mutex_init=no
40053
40054
40055 fi
40056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40057
40058 fi
40059 echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40060 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6
40061 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40062 cat >>confdefs.h <<\_ACEOF
40063 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40064 _ACEOF
40065
40066 else
40067 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40068 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40069 fi
40070 fi
40071 fi
40072
40073 else
40074 if test "$wxUSE_THREADS" = "yes" ; then
40075 case "${host}" in
40076 *-*-mingw32* )
40077 echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40078 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6
40079 if test "${wx_cv_cflags_mthread+set}" = set; then
40080 echo $ECHO_N "(cached) $ECHO_C" >&6
40081 else
40082
40083 CXXFLAGS_OLD="$CXXFLAGS"
40084 CXXFLAGS="-mthreads $CXXFLAGS"
40085 cat >conftest.$ac_ext <<_ACEOF
40086 /* confdefs.h. */
40087 _ACEOF
40088 cat confdefs.h >>conftest.$ac_ext
40089 cat >>conftest.$ac_ext <<_ACEOF
40090 /* end confdefs.h. */
40091
40092 int
40093 main ()
40094 {
40095
40096 ;
40097 return 0;
40098 }
40099 _ACEOF
40100 rm -f conftest.$ac_objext
40101 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40102 (eval $ac_compile) 2>conftest.er1
40103 ac_status=$?
40104 grep -v '^ *+' conftest.er1 >conftest.err
40105 rm -f conftest.er1
40106 cat conftest.err >&5
40107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40108 (exit $ac_status); } &&
40109 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40111 (eval $ac_try) 2>&5
40112 ac_status=$?
40113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40114 (exit $ac_status); }; } &&
40115 { ac_try='test -s conftest.$ac_objext'
40116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40117 (eval $ac_try) 2>&5
40118 ac_status=$?
40119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40120 (exit $ac_status); }; }; then
40121 wx_cv_cflags_mthread=yes
40122 else
40123 echo "$as_me: failed program was:" >&5
40124 sed 's/^/| /' conftest.$ac_ext >&5
40125
40126 wx_cv_cflags_mthread=no
40127
40128 fi
40129 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40130
40131
40132 fi
40133 echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40134 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6
40135
40136 if test "$wx_cv_cflags_mthread" = "yes"; then
40137 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -mthreads"
40138 LDFLAGS="$LDFLAGS -mthreads"
40139 else
40140 CXXFLAGS="$CXXFLAGS_OLD"
40141 fi
40142 ;;
40143 *-pc-os2*emx )
40144 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40145 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -Zmt -D__ST_MT_ERRNO__"
40146 LDFLAGS="$LDFLAGS -Zmt"
40147 ;;
40148 esac
40149 fi
40150 fi
40151
40152 echo "$as_me:$LINENO: checking for localtime_r" >&5
40153 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6
40154 if test "${ac_cv_func_localtime_r+set}" = set; then
40155 echo $ECHO_N "(cached) $ECHO_C" >&6
40156 else
40157 cat >conftest.$ac_ext <<_ACEOF
40158 /* confdefs.h. */
40159 _ACEOF
40160 cat confdefs.h >>conftest.$ac_ext
40161 cat >>conftest.$ac_ext <<_ACEOF
40162 /* end confdefs.h. */
40163 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40165 #define localtime_r innocuous_localtime_r
40166
40167 /* System header to define __stub macros and hopefully few prototypes,
40168 which can conflict with char localtime_r (); below.
40169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40170 <limits.h> exists even on freestanding compilers. */
40171
40172 #ifdef __STDC__
40173 # include <limits.h>
40174 #else
40175 # include <assert.h>
40176 #endif
40177
40178 #undef localtime_r
40179
40180 /* Override any gcc2 internal prototype to avoid an error. */
40181 #ifdef __cplusplus
40182 extern "C"
40183 {
40184 #endif
40185 /* We use char because int might match the return type of a gcc2
40186 builtin and then its argument prototype would still apply. */
40187 char localtime_r ();
40188 /* The GNU C library defines this for functions which it implements
40189 to always fail with ENOSYS. Some functions are actually named
40190 something starting with __ and the normal name is an alias. */
40191 #if defined (__stub_localtime_r) || defined (__stub___localtime_r)
40192 choke me
40193 #else
40194 char (*f) () = localtime_r;
40195 #endif
40196 #ifdef __cplusplus
40197 }
40198 #endif
40199
40200 int
40201 main ()
40202 {
40203 return f != localtime_r;
40204 ;
40205 return 0;
40206 }
40207 _ACEOF
40208 rm -f conftest.$ac_objext conftest$ac_exeext
40209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40210 (eval $ac_link) 2>conftest.er1
40211 ac_status=$?
40212 grep -v '^ *+' conftest.er1 >conftest.err
40213 rm -f conftest.er1
40214 cat conftest.err >&5
40215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40216 (exit $ac_status); } &&
40217 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40219 (eval $ac_try) 2>&5
40220 ac_status=$?
40221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40222 (exit $ac_status); }; } &&
40223 { ac_try='test -s conftest$ac_exeext'
40224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40225 (eval $ac_try) 2>&5
40226 ac_status=$?
40227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40228 (exit $ac_status); }; }; then
40229 ac_cv_func_localtime_r=yes
40230 else
40231 echo "$as_me: failed program was:" >&5
40232 sed 's/^/| /' conftest.$ac_ext >&5
40233
40234 ac_cv_func_localtime_r=no
40235 fi
40236 rm -f conftest.err conftest.$ac_objext \
40237 conftest$ac_exeext conftest.$ac_ext
40238 fi
40239 echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40240 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6
40241 if test $ac_cv_func_localtime_r = yes; then
40242 cat >>confdefs.h <<\_ACEOF
40243 #define HAVE_LOCALTIME_R 1
40244 _ACEOF
40245
40246 fi
40247
40248 echo "$as_me:$LINENO: checking for gmtime_r" >&5
40249 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6
40250 if test "${ac_cv_func_gmtime_r+set}" = set; then
40251 echo $ECHO_N "(cached) $ECHO_C" >&6
40252 else
40253 cat >conftest.$ac_ext <<_ACEOF
40254 /* confdefs.h. */
40255 _ACEOF
40256 cat confdefs.h >>conftest.$ac_ext
40257 cat >>conftest.$ac_ext <<_ACEOF
40258 /* end confdefs.h. */
40259 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40260 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40261 #define gmtime_r innocuous_gmtime_r
40262
40263 /* System header to define __stub macros and hopefully few prototypes,
40264 which can conflict with char gmtime_r (); below.
40265 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40266 <limits.h> exists even on freestanding compilers. */
40267
40268 #ifdef __STDC__
40269 # include <limits.h>
40270 #else
40271 # include <assert.h>
40272 #endif
40273
40274 #undef gmtime_r
40275
40276 /* Override any gcc2 internal prototype to avoid an error. */
40277 #ifdef __cplusplus
40278 extern "C"
40279 {
40280 #endif
40281 /* We use char because int might match the return type of a gcc2
40282 builtin and then its argument prototype would still apply. */
40283 char gmtime_r ();
40284 /* The GNU C library defines this for functions which it implements
40285 to always fail with ENOSYS. Some functions are actually named
40286 something starting with __ and the normal name is an alias. */
40287 #if defined (__stub_gmtime_r) || defined (__stub___gmtime_r)
40288 choke me
40289 #else
40290 char (*f) () = gmtime_r;
40291 #endif
40292 #ifdef __cplusplus
40293 }
40294 #endif
40295
40296 int
40297 main ()
40298 {
40299 return f != gmtime_r;
40300 ;
40301 return 0;
40302 }
40303 _ACEOF
40304 rm -f conftest.$ac_objext conftest$ac_exeext
40305 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40306 (eval $ac_link) 2>conftest.er1
40307 ac_status=$?
40308 grep -v '^ *+' conftest.er1 >conftest.err
40309 rm -f conftest.er1
40310 cat conftest.err >&5
40311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40312 (exit $ac_status); } &&
40313 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40315 (eval $ac_try) 2>&5
40316 ac_status=$?
40317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40318 (exit $ac_status); }; } &&
40319 { ac_try='test -s conftest$ac_exeext'
40320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40321 (eval $ac_try) 2>&5
40322 ac_status=$?
40323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40324 (exit $ac_status); }; }; then
40325 ac_cv_func_gmtime_r=yes
40326 else
40327 echo "$as_me: failed program was:" >&5
40328 sed 's/^/| /' conftest.$ac_ext >&5
40329
40330 ac_cv_func_gmtime_r=no
40331 fi
40332 rm -f conftest.err conftest.$ac_objext \
40333 conftest$ac_exeext conftest.$ac_ext
40334 fi
40335 echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40336 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6
40337 if test $ac_cv_func_gmtime_r = yes; then
40338 cat >>confdefs.h <<\_ACEOF
40339 #define HAVE_GMTIME_R 1
40340 _ACEOF
40341
40342 fi
40343
40344 echo "$as_me:$LINENO: checking for readdir_r" >&5
40345 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6
40346 if test "${ac_cv_func_readdir_r+set}" = set; then
40347 echo $ECHO_N "(cached) $ECHO_C" >&6
40348 else
40349 cat >conftest.$ac_ext <<_ACEOF
40350 /* confdefs.h. */
40351 _ACEOF
40352 cat confdefs.h >>conftest.$ac_ext
40353 cat >>conftest.$ac_ext <<_ACEOF
40354 /* end confdefs.h. */
40355 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
40356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40357 #define readdir_r innocuous_readdir_r
40358
40359 /* System header to define __stub macros and hopefully few prototypes,
40360 which can conflict with char readdir_r (); below.
40361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40362 <limits.h> exists even on freestanding compilers. */
40363
40364 #ifdef __STDC__
40365 # include <limits.h>
40366 #else
40367 # include <assert.h>
40368 #endif
40369
40370 #undef readdir_r
40371
40372 /* Override any gcc2 internal prototype to avoid an error. */
40373 #ifdef __cplusplus
40374 extern "C"
40375 {
40376 #endif
40377 /* We use char because int might match the return type of a gcc2
40378 builtin and then its argument prototype would still apply. */
40379 char readdir_r ();
40380 /* The GNU C library defines this for functions which it implements
40381 to always fail with ENOSYS. Some functions are actually named
40382 something starting with __ and the normal name is an alias. */
40383 #if defined (__stub_readdir_r) || defined (__stub___readdir_r)
40384 choke me
40385 #else
40386 char (*f) () = readdir_r;
40387 #endif
40388 #ifdef __cplusplus
40389 }
40390 #endif
40391
40392 int
40393 main ()
40394 {
40395 return f != readdir_r;
40396 ;
40397 return 0;
40398 }
40399 _ACEOF
40400 rm -f conftest.$ac_objext conftest$ac_exeext
40401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40402 (eval $ac_link) 2>conftest.er1
40403 ac_status=$?
40404 grep -v '^ *+' conftest.er1 >conftest.err
40405 rm -f conftest.er1
40406 cat conftest.err >&5
40407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40408 (exit $ac_status); } &&
40409 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40411 (eval $ac_try) 2>&5
40412 ac_status=$?
40413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40414 (exit $ac_status); }; } &&
40415 { ac_try='test -s conftest$ac_exeext'
40416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40417 (eval $ac_try) 2>&5
40418 ac_status=$?
40419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40420 (exit $ac_status); }; }; then
40421 ac_cv_func_readdir_r=yes
40422 else
40423 echo "$as_me: failed program was:" >&5
40424 sed 's/^/| /' conftest.$ac_ext >&5
40425
40426 ac_cv_func_readdir_r=no
40427 fi
40428 rm -f conftest.err conftest.$ac_objext \
40429 conftest$ac_exeext conftest.$ac_ext
40430 fi
40431 echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
40432 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6
40433 if test $ac_cv_func_readdir_r = yes; then
40434 cat >>confdefs.h <<\_ACEOF
40435 #define HAVE_READDIR_R 1
40436 _ACEOF
40437
40438 fi
40439
40440
40441
40442
40443 ac_ext=c
40444 ac_cpp='$CPP $CPPFLAGS'
40445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40448
40449 echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40450 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6
40451
40452 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40453 echo $ECHO_N "(cached) $ECHO_C" >&6
40454 else
40455
40456
40457 ################################################################
40458
40459 ac_cv_func_which_gethostbyname_r=unknown
40460
40461 #
40462 # ONE ARGUMENT (sanity check)
40463 #
40464
40465 # This should fail, as there is no variant of gethostbyname_r() that takes
40466 # a single argument. If it actually compiles, then we can assume that
40467 # netdb.h is not declaring the function, and the compiler is thereby
40468 # assuming an implicit prototype. In which case, we're out of luck.
40469 #
40470 cat >conftest.$ac_ext <<_ACEOF
40471 /* confdefs.h. */
40472 _ACEOF
40473 cat confdefs.h >>conftest.$ac_ext
40474 cat >>conftest.$ac_ext <<_ACEOF
40475 /* end confdefs.h. */
40476 #include <netdb.h>
40477 int
40478 main ()
40479 {
40480
40481 char *name = "www.gnu.org";
40482 (void)gethostbyname_r(name) /* ; */
40483
40484 ;
40485 return 0;
40486 }
40487 _ACEOF
40488 rm -f conftest.$ac_objext
40489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40490 (eval $ac_compile) 2>conftest.er1
40491 ac_status=$?
40492 grep -v '^ *+' conftest.er1 >conftest.err
40493 rm -f conftest.er1
40494 cat conftest.err >&5
40495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40496 (exit $ac_status); } &&
40497 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
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); }; } &&
40503 { ac_try='test -s conftest.$ac_objext'
40504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40505 (eval $ac_try) 2>&5
40506 ac_status=$?
40507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40508 (exit $ac_status); }; }; then
40509 ac_cv_func_which_gethostbyname_r=no
40510 else
40511 echo "$as_me: failed program was:" >&5
40512 sed 's/^/| /' conftest.$ac_ext >&5
40513
40514 fi
40515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40516
40517 #
40518 # SIX ARGUMENTS
40519 # (e.g. Linux)
40520 #
40521
40522 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40523
40524 cat >conftest.$ac_ext <<_ACEOF
40525 /* confdefs.h. */
40526 _ACEOF
40527 cat confdefs.h >>conftest.$ac_ext
40528 cat >>conftest.$ac_ext <<_ACEOF
40529 /* end confdefs.h. */
40530 #include <netdb.h>
40531 int
40532 main ()
40533 {
40534
40535 char *name = "www.gnu.org";
40536 struct hostent ret, *retp;
40537 char buf[1024];
40538 int buflen = 1024;
40539 int my_h_errno;
40540 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40541
40542 ;
40543 return 0;
40544 }
40545 _ACEOF
40546 rm -f conftest.$ac_objext
40547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40548 (eval $ac_compile) 2>conftest.er1
40549 ac_status=$?
40550 grep -v '^ *+' conftest.er1 >conftest.err
40551 rm -f conftest.er1
40552 cat conftest.err >&5
40553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40554 (exit $ac_status); } &&
40555 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40557 (eval $ac_try) 2>&5
40558 ac_status=$?
40559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40560 (exit $ac_status); }; } &&
40561 { ac_try='test -s conftest.$ac_objext'
40562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40563 (eval $ac_try) 2>&5
40564 ac_status=$?
40565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40566 (exit $ac_status); }; }; then
40567 ac_cv_func_which_gethostbyname_r=six
40568 else
40569 echo "$as_me: failed program was:" >&5
40570 sed 's/^/| /' conftest.$ac_ext >&5
40571
40572 fi
40573 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40574
40575 fi
40576
40577 #
40578 # FIVE ARGUMENTS
40579 # (e.g. Solaris)
40580 #
40581
40582 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40583
40584 cat >conftest.$ac_ext <<_ACEOF
40585 /* confdefs.h. */
40586 _ACEOF
40587 cat confdefs.h >>conftest.$ac_ext
40588 cat >>conftest.$ac_ext <<_ACEOF
40589 /* end confdefs.h. */
40590 #include <netdb.h>
40591 int
40592 main ()
40593 {
40594
40595 char *name = "www.gnu.org";
40596 struct hostent ret;
40597 char buf[1024];
40598 int buflen = 1024;
40599 int my_h_errno;
40600 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40601
40602 ;
40603 return 0;
40604 }
40605 _ACEOF
40606 rm -f conftest.$ac_objext
40607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40608 (eval $ac_compile) 2>conftest.er1
40609 ac_status=$?
40610 grep -v '^ *+' conftest.er1 >conftest.err
40611 rm -f conftest.er1
40612 cat conftest.err >&5
40613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40614 (exit $ac_status); } &&
40615 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
40616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40617 (eval $ac_try) 2>&5
40618 ac_status=$?
40619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40620 (exit $ac_status); }; } &&
40621 { ac_try='test -s conftest.$ac_objext'
40622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40623 (eval $ac_try) 2>&5
40624 ac_status=$?
40625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40626 (exit $ac_status); }; }; then
40627 ac_cv_func_which_gethostbyname_r=five
40628 else
40629 echo "$as_me: failed program was:" >&5
40630 sed 's/^/| /' conftest.$ac_ext >&5
40631
40632 fi
40633 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40634
40635 fi
40636
40637 #
40638 # THREE ARGUMENTS
40639 # (e.g. AIX, HP-UX, Tru64)
40640 #
40641
40642 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40643
40644 cat >conftest.$ac_ext <<_ACEOF
40645 /* confdefs.h. */
40646 _ACEOF
40647 cat confdefs.h >>conftest.$ac_ext
40648 cat >>conftest.$ac_ext <<_ACEOF
40649 /* end confdefs.h. */
40650 #include <netdb.h>
40651 int
40652 main ()
40653 {
40654
40655 char *name = "www.gnu.org";
40656 struct hostent ret;
40657 struct hostent_data data;
40658 (void)gethostbyname_r(name, &ret, &data) /* ; */
40659
40660 ;
40661 return 0;
40662 }
40663 _ACEOF
40664 rm -f conftest.$ac_objext
40665 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40666 (eval $ac_compile) 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_c_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_objext'
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_which_gethostbyname_r=three
40686 else
40687 echo "$as_me: failed program was:" >&5
40688 sed 's/^/| /' conftest.$ac_ext >&5
40689
40690 fi
40691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40692
40693 fi
40694
40695 ################################################################
40696
40697
40698 fi
40699
40700 case "$ac_cv_func_which_gethostbyname_r" in
40701 three)
40702 echo "$as_me:$LINENO: result: three" >&5
40703 echo "${ECHO_T}three" >&6
40704 cat >>confdefs.h <<\_ACEOF
40705 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40706 _ACEOF
40707
40708 ;;
40709
40710 five)
40711 echo "$as_me:$LINENO: result: five" >&5
40712 echo "${ECHO_T}five" >&6
40713 cat >>confdefs.h <<\_ACEOF
40714 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40715 _ACEOF
40716
40717 ;;
40718
40719 six)
40720 echo "$as_me:$LINENO: result: six" >&5
40721 echo "${ECHO_T}six" >&6
40722 cat >>confdefs.h <<\_ACEOF
40723 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40724 _ACEOF
40725
40726 ;;
40727
40728 no)
40729 echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40730 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6
40731 ;;
40732
40733 unknown)
40734 echo "$as_me:$LINENO: result: can't tell" >&5
40735 echo "${ECHO_T}can't tell" >&6
40736 ;;
40737
40738 *)
40739 { { echo "$as_me:$LINENO: error: internal error" >&5
40740 echo "$as_me: error: internal error" >&2;}
40741 { (exit 1); exit 1; }; }
40742 ;;
40743 esac
40744
40745 ac_ext=cc
40746 ac_cpp='$CXXCPP $CPPFLAGS'
40747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40750
40751
40752
40753 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40754 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40755 echo "$as_me:$LINENO: checking for gethostbyname" >&5
40756 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6
40757 if test "${ac_cv_func_gethostbyname+set}" = set; then
40758 echo $ECHO_N "(cached) $ECHO_C" >&6
40759 else
40760 cat >conftest.$ac_ext <<_ACEOF
40761 /* confdefs.h. */
40762 _ACEOF
40763 cat confdefs.h >>conftest.$ac_ext
40764 cat >>conftest.$ac_ext <<_ACEOF
40765 /* end confdefs.h. */
40766 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40767 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40768 #define gethostbyname innocuous_gethostbyname
40769
40770 /* System header to define __stub macros and hopefully few prototypes,
40771 which can conflict with char gethostbyname (); below.
40772 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40773 <limits.h> exists even on freestanding compilers. */
40774
40775 #ifdef __STDC__
40776 # include <limits.h>
40777 #else
40778 # include <assert.h>
40779 #endif
40780
40781 #undef gethostbyname
40782
40783 /* Override any gcc2 internal prototype to avoid an error. */
40784 #ifdef __cplusplus
40785 extern "C"
40786 {
40787 #endif
40788 /* We use char because int might match the return type of a gcc2
40789 builtin and then its argument prototype would still apply. */
40790 char gethostbyname ();
40791 /* The GNU C library defines this for functions which it implements
40792 to always fail with ENOSYS. Some functions are actually named
40793 something starting with __ and the normal name is an alias. */
40794 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
40795 choke me
40796 #else
40797 char (*f) () = gethostbyname;
40798 #endif
40799 #ifdef __cplusplus
40800 }
40801 #endif
40802
40803 int
40804 main ()
40805 {
40806 return f != gethostbyname;
40807 ;
40808 return 0;
40809 }
40810 _ACEOF
40811 rm -f conftest.$ac_objext conftest$ac_exeext
40812 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40813 (eval $ac_link) 2>conftest.er1
40814 ac_status=$?
40815 grep -v '^ *+' conftest.er1 >conftest.err
40816 rm -f conftest.er1
40817 cat conftest.err >&5
40818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40819 (exit $ac_status); } &&
40820 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40822 (eval $ac_try) 2>&5
40823 ac_status=$?
40824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40825 (exit $ac_status); }; } &&
40826 { ac_try='test -s conftest$ac_exeext'
40827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40828 (eval $ac_try) 2>&5
40829 ac_status=$?
40830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40831 (exit $ac_status); }; }; then
40832 ac_cv_func_gethostbyname=yes
40833 else
40834 echo "$as_me: failed program was:" >&5
40835 sed 's/^/| /' conftest.$ac_ext >&5
40836
40837 ac_cv_func_gethostbyname=no
40838 fi
40839 rm -f conftest.err conftest.$ac_objext \
40840 conftest$ac_exeext conftest.$ac_ext
40841 fi
40842 echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40843 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6
40844 if test $ac_cv_func_gethostbyname = yes; then
40845 cat >>confdefs.h <<\_ACEOF
40846 #define HAVE_GETHOSTBYNAME 1
40847 _ACEOF
40848
40849 fi
40850
40851 fi
40852
40853 echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40854 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6
40855 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40856 echo $ECHO_N "(cached) $ECHO_C" >&6
40857 else
40858
40859 cat >conftest.$ac_ext <<_ACEOF
40860 /* confdefs.h. */
40861 _ACEOF
40862 cat confdefs.h >>conftest.$ac_ext
40863 cat >>conftest.$ac_ext <<_ACEOF
40864 /* end confdefs.h. */
40865 #include <netdb.h>
40866 int
40867 main ()
40868 {
40869
40870 char *name;
40871 char *proto;
40872 struct servent *se, *res;
40873 char buffer[2048];
40874 int buflen = 2048;
40875 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40876
40877 ;
40878 return 0;
40879 }
40880 _ACEOF
40881 rm -f conftest.$ac_objext
40882 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40883 (eval $ac_compile) 2>conftest.er1
40884 ac_status=$?
40885 grep -v '^ *+' conftest.er1 >conftest.err
40886 rm -f conftest.er1
40887 cat conftest.err >&5
40888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40889 (exit $ac_status); } &&
40890 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40892 (eval $ac_try) 2>&5
40893 ac_status=$?
40894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40895 (exit $ac_status); }; } &&
40896 { ac_try='test -s conftest.$ac_objext'
40897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40898 (eval $ac_try) 2>&5
40899 ac_status=$?
40900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40901 (exit $ac_status); }; }; then
40902 ac_cv_func_which_getservbyname_r=six
40903 else
40904 echo "$as_me: failed program was:" >&5
40905 sed 's/^/| /' conftest.$ac_ext >&5
40906
40907
40908 cat >conftest.$ac_ext <<_ACEOF
40909 /* confdefs.h. */
40910 _ACEOF
40911 cat confdefs.h >>conftest.$ac_ext
40912 cat >>conftest.$ac_ext <<_ACEOF
40913 /* end confdefs.h. */
40914 #include <netdb.h>
40915 int
40916 main ()
40917 {
40918
40919 char *name;
40920 char *proto;
40921 struct servent *se;
40922 char buffer[2048];
40923 int buflen = 2048;
40924 (void) getservbyname_r(name, proto, se, buffer, buflen)
40925
40926 ;
40927 return 0;
40928 }
40929 _ACEOF
40930 rm -f conftest.$ac_objext
40931 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40932 (eval $ac_compile) 2>conftest.er1
40933 ac_status=$?
40934 grep -v '^ *+' conftest.er1 >conftest.err
40935 rm -f conftest.er1
40936 cat conftest.err >&5
40937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40938 (exit $ac_status); } &&
40939 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40941 (eval $ac_try) 2>&5
40942 ac_status=$?
40943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40944 (exit $ac_status); }; } &&
40945 { ac_try='test -s conftest.$ac_objext'
40946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40947 (eval $ac_try) 2>&5
40948 ac_status=$?
40949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40950 (exit $ac_status); }; }; then
40951 ac_cv_func_which_getservbyname_r=five
40952 else
40953 echo "$as_me: failed program was:" >&5
40954 sed 's/^/| /' conftest.$ac_ext >&5
40955
40956
40957 cat >conftest.$ac_ext <<_ACEOF
40958 /* confdefs.h. */
40959 _ACEOF
40960 cat confdefs.h >>conftest.$ac_ext
40961 cat >>conftest.$ac_ext <<_ACEOF
40962 /* end confdefs.h. */
40963 #include <netdb.h>
40964 int
40965 main ()
40966 {
40967
40968 char *name;
40969 char *proto;
40970 struct servent *se;
40971 struct servent_data data;
40972 (void) getservbyname_r(name, proto, se, &data);
40973
40974 ;
40975 return 0;
40976 }
40977 _ACEOF
40978 rm -f conftest.$ac_objext
40979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40980 (eval $ac_compile) 2>conftest.er1
40981 ac_status=$?
40982 grep -v '^ *+' conftest.er1 >conftest.err
40983 rm -f conftest.er1
40984 cat conftest.err >&5
40985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40986 (exit $ac_status); } &&
40987 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
40988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40989 (eval $ac_try) 2>&5
40990 ac_status=$?
40991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40992 (exit $ac_status); }; } &&
40993 { ac_try='test -s conftest.$ac_objext'
40994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40995 (eval $ac_try) 2>&5
40996 ac_status=$?
40997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40998 (exit $ac_status); }; }; then
40999 ac_cv_func_which_getservbyname_r=four
41000 else
41001 echo "$as_me: failed program was:" >&5
41002 sed 's/^/| /' conftest.$ac_ext >&5
41003
41004 ac_cv_func_which_getservbyname_r=no
41005
41006 fi
41007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41008
41009
41010 fi
41011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41012
41013
41014 fi
41015 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41016
41017
41018 fi
41019 echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41020 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6
41021
41022 if test $ac_cv_func_which_getservbyname_r = six; then
41023 cat >>confdefs.h <<\_ACEOF
41024 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41025 _ACEOF
41026
41027 elif test $ac_cv_func_which_getservbyname_r = five; then
41028 cat >>confdefs.h <<\_ACEOF
41029 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41030 _ACEOF
41031
41032 elif test $ac_cv_func_which_getservbyname_r = four; then
41033 cat >>confdefs.h <<\_ACEOF
41034 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41035 _ACEOF
41036
41037 fi
41038
41039
41040 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41041 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41042
41043 for ac_func in getservbyname
41044 do
41045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41046 echo "$as_me:$LINENO: checking for $ac_func" >&5
41047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41048 if eval "test \"\${$as_ac_var+set}\" = set"; then
41049 echo $ECHO_N "(cached) $ECHO_C" >&6
41050 else
41051 cat >conftest.$ac_ext <<_ACEOF
41052 /* confdefs.h. */
41053 _ACEOF
41054 cat confdefs.h >>conftest.$ac_ext
41055 cat >>conftest.$ac_ext <<_ACEOF
41056 /* end confdefs.h. */
41057 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41058 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41059 #define $ac_func innocuous_$ac_func
41060
41061 /* System header to define __stub macros and hopefully few prototypes,
41062 which can conflict with char $ac_func (); below.
41063 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41064 <limits.h> exists even on freestanding compilers. */
41065
41066 #ifdef __STDC__
41067 # include <limits.h>
41068 #else
41069 # include <assert.h>
41070 #endif
41071
41072 #undef $ac_func
41073
41074 /* Override any gcc2 internal prototype to avoid an error. */
41075 #ifdef __cplusplus
41076 extern "C"
41077 {
41078 #endif
41079 /* We use char because int might match the return type of a gcc2
41080 builtin and then its argument prototype would still apply. */
41081 char $ac_func ();
41082 /* The GNU C library defines this for functions which it implements
41083 to always fail with ENOSYS. Some functions are actually named
41084 something starting with __ and the normal name is an alias. */
41085 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41086 choke me
41087 #else
41088 char (*f) () = $ac_func;
41089 #endif
41090 #ifdef __cplusplus
41091 }
41092 #endif
41093
41094 int
41095 main ()
41096 {
41097 return f != $ac_func;
41098 ;
41099 return 0;
41100 }
41101 _ACEOF
41102 rm -f conftest.$ac_objext conftest$ac_exeext
41103 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41104 (eval $ac_link) 2>conftest.er1
41105 ac_status=$?
41106 grep -v '^ *+' conftest.er1 >conftest.err
41107 rm -f conftest.er1
41108 cat conftest.err >&5
41109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41110 (exit $ac_status); } &&
41111 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41113 (eval $ac_try) 2>&5
41114 ac_status=$?
41115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41116 (exit $ac_status); }; } &&
41117 { ac_try='test -s conftest$ac_exeext'
41118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41119 (eval $ac_try) 2>&5
41120 ac_status=$?
41121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41122 (exit $ac_status); }; }; then
41123 eval "$as_ac_var=yes"
41124 else
41125 echo "$as_me: failed program was:" >&5
41126 sed 's/^/| /' conftest.$ac_ext >&5
41127
41128 eval "$as_ac_var=no"
41129 fi
41130 rm -f conftest.err conftest.$ac_objext \
41131 conftest$ac_exeext conftest.$ac_ext
41132 fi
41133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41135 if test `eval echo '${'$as_ac_var'}'` = yes; then
41136 cat >>confdefs.h <<_ACEOF
41137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41138 _ACEOF
41139 cat >>confdefs.h <<\_ACEOF
41140 #define HAVE_GETSERVBYNAME 1
41141 _ACEOF
41142
41143 fi
41144 done
41145
41146 fi
41147
41148 if test "$wxUSE_THREADS" = "yes"; then
41149 cat >>confdefs.h <<\_ACEOF
41150 #define wxUSE_THREADS 1
41151 _ACEOF
41152
41153
41154 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41155 else
41156 if test "$wx_cv_func_strtok_r" = "yes"; then
41157 echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41158 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6
41159 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41160 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41161 echo "$as_me:$LINENO: result: yes" >&5
41162 echo "${ECHO_T}yes" >&6
41163 else
41164 echo "$as_me:$LINENO: result: no" >&5
41165 echo "${ECHO_T}no" >&6
41166 fi
41167 fi
41168 fi
41169
41170 if test "$WXGTK20" = 1 ; then
41171 cat >>confdefs.h <<_ACEOF
41172 #define __WXGTK20__ $WXGTK20
41173 _ACEOF
41174
41175 WXGTK12=1
41176 fi
41177
41178 if test "$WXGTK12" = 1 ; then
41179 cat >>confdefs.h <<_ACEOF
41180 #define __WXGTK12__ $WXGTK12
41181 _ACEOF
41182
41183 fi
41184
41185 if test "$WXGTK127" = 1 ; then
41186 cat >>confdefs.h <<_ACEOF
41187 #define __WXGTK127__ $WXGTK127
41188 _ACEOF
41189
41190 fi
41191
41192 if test "$WXGPE" = 1 ; then
41193 cat >>confdefs.h <<_ACEOF
41194 #define __WXGPE__ $WXGPE
41195 _ACEOF
41196
41197 fi
41198
41199 DEBUG_CFLAGS=
41200 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41201 DEBUG_CFLAGS="-g"
41202 wxUSE_OPTIMISE=no
41203 fi
41204
41205 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41206 wxUSE_DEBUG_INFO=yes
41207 if test "$GCC" = yes; then
41208 DEBUG_CFLAGS="-ggdb"
41209 fi
41210 fi
41211
41212 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41213 cat >>confdefs.h <<\_ACEOF
41214 #define WXDEBUG 1
41215 _ACEOF
41216
41217 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41218 else
41219 if test "$wxUSE_GTK" = 1 ; then
41220 if test "x$wxGTK_VERSION" = "x1" ; then
41221 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41222 fi
41223 fi
41224 fi
41225
41226 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41227 cat >>confdefs.h <<\_ACEOF
41228 #define wxUSE_MEMORY_TRACING 1
41229 _ACEOF
41230
41231 cat >>confdefs.h <<\_ACEOF
41232 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41233 _ACEOF
41234
41235 cat >>confdefs.h <<\_ACEOF
41236 #define wxUSE_DEBUG_NEW_ALWAYS 1
41237 _ACEOF
41238
41239 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41240 fi
41241
41242 if test "$wxUSE_DMALLOC" = "yes" ; then
41243 DMALLOC_LIBS="-ldmallocthcxx"
41244 fi
41245
41246 PROFILE_FLAGS=
41247 if test "$wxUSE_PROFILE" = "yes" ; then
41248 PROFILE_FLAGS=" -pg"
41249 fi
41250
41251 if test "$GCC" = "yes" ; then
41252 if test "$wxUSE_NO_RTTI" = "yes" ; then
41253 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41254 fi
41255 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41256 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41257 fi
41258 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41259 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41260 fi
41261
41262 case "${host}" in
41263 powerpc*-*-aix* )
41264 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41265 ;;
41266 *-hppa* )
41267 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41268 ;;
41269 esac
41270 fi
41271
41272 OPTIMISE_CFLAGS=
41273 if test "$wxUSE_OPTIMISE" = "no" ; then
41274 if test "$GCC" = yes ; then
41275 OPTIMISE_CFLAGS="-O0"
41276 fi
41277 else
41278 if test "$GCC" = yes ; then
41279 case "${host}" in
41280 *-pc-os2_emx | *-pc-os2-emx )
41281 OPTIMISE_CFLAGS="-O2"
41282 ;;
41283 *)
41284 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41285 ;;
41286 esac
41287 else
41288 OPTIMISE_CFLAGS="-O"
41289 fi
41290 fi
41291
41292
41293 if test "x$WXWIN_COMPATIBILITY_2_4" = "xyes"; then
41294 cat >>confdefs.h <<\_ACEOF
41295 #define WXWIN_COMPATIBILITY_2_4 1
41296 _ACEOF
41297
41298
41299 WXWIN_COMPATIBILITY_2_6="yes"
41300 fi
41301
41302 if test "x$WXWIN_COMPATIBILITY_2_6" != "xno"; then
41303 cat >>confdefs.h <<\_ACEOF
41304 #define WXWIN_COMPATIBILITY_2_6 1
41305 _ACEOF
41306
41307 fi
41308
41309
41310 if test "$wxUSE_GUI" = "yes"; then
41311 cat >>confdefs.h <<\_ACEOF
41312 #define wxUSE_GUI 1
41313 _ACEOF
41314
41315
41316 fi
41317
41318
41319 if test "$wxUSE_UNIX" = "yes"; then
41320 cat >>confdefs.h <<\_ACEOF
41321 #define wxUSE_UNIX 1
41322 _ACEOF
41323
41324 fi
41325
41326
41327 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41328
41329 HAVE_DL_FUNCS=0
41330 HAVE_SHL_FUNCS=0
41331 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41332 if test "$USE_DARWIN" = 1; then
41333 HAVE_DL_FUNCS=1
41334 elif test "$USE_DOS" = 1; then
41335 HAVE_DL_FUNCS=0
41336 else
41337
41338 for ac_func in dlopen
41339 do
41340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41341 echo "$as_me:$LINENO: checking for $ac_func" >&5
41342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41343 if eval "test \"\${$as_ac_var+set}\" = set"; then
41344 echo $ECHO_N "(cached) $ECHO_C" >&6
41345 else
41346 cat >conftest.$ac_ext <<_ACEOF
41347 /* confdefs.h. */
41348 _ACEOF
41349 cat confdefs.h >>conftest.$ac_ext
41350 cat >>conftest.$ac_ext <<_ACEOF
41351 /* end confdefs.h. */
41352 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41354 #define $ac_func innocuous_$ac_func
41355
41356 /* System header to define __stub macros and hopefully few prototypes,
41357 which can conflict with char $ac_func (); below.
41358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41359 <limits.h> exists even on freestanding compilers. */
41360
41361 #ifdef __STDC__
41362 # include <limits.h>
41363 #else
41364 # include <assert.h>
41365 #endif
41366
41367 #undef $ac_func
41368
41369 /* Override any gcc2 internal prototype to avoid an error. */
41370 #ifdef __cplusplus
41371 extern "C"
41372 {
41373 #endif
41374 /* We use char because int might match the return type of a gcc2
41375 builtin and then its argument prototype would still apply. */
41376 char $ac_func ();
41377 /* The GNU C library defines this for functions which it implements
41378 to always fail with ENOSYS. Some functions are actually named
41379 something starting with __ and the normal name is an alias. */
41380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41381 choke me
41382 #else
41383 char (*f) () = $ac_func;
41384 #endif
41385 #ifdef __cplusplus
41386 }
41387 #endif
41388
41389 int
41390 main ()
41391 {
41392 return f != $ac_func;
41393 ;
41394 return 0;
41395 }
41396 _ACEOF
41397 rm -f conftest.$ac_objext conftest$ac_exeext
41398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41399 (eval $ac_link) 2>conftest.er1
41400 ac_status=$?
41401 grep -v '^ *+' conftest.er1 >conftest.err
41402 rm -f conftest.er1
41403 cat conftest.err >&5
41404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41405 (exit $ac_status); } &&
41406 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41408 (eval $ac_try) 2>&5
41409 ac_status=$?
41410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41411 (exit $ac_status); }; } &&
41412 { ac_try='test -s conftest$ac_exeext'
41413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41414 (eval $ac_try) 2>&5
41415 ac_status=$?
41416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41417 (exit $ac_status); }; }; then
41418 eval "$as_ac_var=yes"
41419 else
41420 echo "$as_me: failed program was:" >&5
41421 sed 's/^/| /' conftest.$ac_ext >&5
41422
41423 eval "$as_ac_var=no"
41424 fi
41425 rm -f conftest.err conftest.$ac_objext \
41426 conftest$ac_exeext conftest.$ac_ext
41427 fi
41428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41430 if test `eval echo '${'$as_ac_var'}'` = yes; then
41431 cat >>confdefs.h <<_ACEOF
41432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41433 _ACEOF
41434
41435 cat >>confdefs.h <<\_ACEOF
41436 #define HAVE_DLOPEN 1
41437 _ACEOF
41438
41439 HAVE_DL_FUNCS=1
41440
41441 else
41442
41443 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41444 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
41445 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41446 echo $ECHO_N "(cached) $ECHO_C" >&6
41447 else
41448 ac_check_lib_save_LIBS=$LIBS
41449 LIBS="-ldl $LIBS"
41450 cat >conftest.$ac_ext <<_ACEOF
41451 /* confdefs.h. */
41452 _ACEOF
41453 cat confdefs.h >>conftest.$ac_ext
41454 cat >>conftest.$ac_ext <<_ACEOF
41455 /* end confdefs.h. */
41456
41457 /* Override any gcc2 internal prototype to avoid an error. */
41458 #ifdef __cplusplus
41459 extern "C"
41460 #endif
41461 /* We use char because int might match the return type of a gcc2
41462 builtin and then its argument prototype would still apply. */
41463 char dlopen ();
41464 int
41465 main ()
41466 {
41467 dlopen ();
41468 ;
41469 return 0;
41470 }
41471 _ACEOF
41472 rm -f conftest.$ac_objext conftest$ac_exeext
41473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41474 (eval $ac_link) 2>conftest.er1
41475 ac_status=$?
41476 grep -v '^ *+' conftest.er1 >conftest.err
41477 rm -f conftest.er1
41478 cat conftest.err >&5
41479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41480 (exit $ac_status); } &&
41481 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41483 (eval $ac_try) 2>&5
41484 ac_status=$?
41485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41486 (exit $ac_status); }; } &&
41487 { ac_try='test -s conftest$ac_exeext'
41488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41489 (eval $ac_try) 2>&5
41490 ac_status=$?
41491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41492 (exit $ac_status); }; }; then
41493 ac_cv_lib_dl_dlopen=yes
41494 else
41495 echo "$as_me: failed program was:" >&5
41496 sed 's/^/| /' conftest.$ac_ext >&5
41497
41498 ac_cv_lib_dl_dlopen=no
41499 fi
41500 rm -f conftest.err conftest.$ac_objext \
41501 conftest$ac_exeext conftest.$ac_ext
41502 LIBS=$ac_check_lib_save_LIBS
41503 fi
41504 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41505 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
41506 if test $ac_cv_lib_dl_dlopen = yes; then
41507
41508 cat >>confdefs.h <<\_ACEOF
41509 #define HAVE_DLOPEN 1
41510 _ACEOF
41511
41512 HAVE_DL_FUNCS=1
41513 DL_LINK=" -ldl$DL_LINK"
41514
41515 else
41516
41517
41518 for ac_func in shl_load
41519 do
41520 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41521 echo "$as_me:$LINENO: checking for $ac_func" >&5
41522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41523 if eval "test \"\${$as_ac_var+set}\" = set"; then
41524 echo $ECHO_N "(cached) $ECHO_C" >&6
41525 else
41526 cat >conftest.$ac_ext <<_ACEOF
41527 /* confdefs.h. */
41528 _ACEOF
41529 cat confdefs.h >>conftest.$ac_ext
41530 cat >>conftest.$ac_ext <<_ACEOF
41531 /* end confdefs.h. */
41532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41534 #define $ac_func innocuous_$ac_func
41535
41536 /* System header to define __stub macros and hopefully few prototypes,
41537 which can conflict with char $ac_func (); below.
41538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41539 <limits.h> exists even on freestanding compilers. */
41540
41541 #ifdef __STDC__
41542 # include <limits.h>
41543 #else
41544 # include <assert.h>
41545 #endif
41546
41547 #undef $ac_func
41548
41549 /* Override any gcc2 internal prototype to avoid an error. */
41550 #ifdef __cplusplus
41551 extern "C"
41552 {
41553 #endif
41554 /* We use char because int might match the return type of a gcc2
41555 builtin and then its argument prototype would still apply. */
41556 char $ac_func ();
41557 /* The GNU C library defines this for functions which it implements
41558 to always fail with ENOSYS. Some functions are actually named
41559 something starting with __ and the normal name is an alias. */
41560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41561 choke me
41562 #else
41563 char (*f) () = $ac_func;
41564 #endif
41565 #ifdef __cplusplus
41566 }
41567 #endif
41568
41569 int
41570 main ()
41571 {
41572 return f != $ac_func;
41573 ;
41574 return 0;
41575 }
41576 _ACEOF
41577 rm -f conftest.$ac_objext conftest$ac_exeext
41578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41579 (eval $ac_link) 2>conftest.er1
41580 ac_status=$?
41581 grep -v '^ *+' conftest.er1 >conftest.err
41582 rm -f conftest.er1
41583 cat conftest.err >&5
41584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41585 (exit $ac_status); } &&
41586 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41588 (eval $ac_try) 2>&5
41589 ac_status=$?
41590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41591 (exit $ac_status); }; } &&
41592 { ac_try='test -s conftest$ac_exeext'
41593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41594 (eval $ac_try) 2>&5
41595 ac_status=$?
41596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41597 (exit $ac_status); }; }; then
41598 eval "$as_ac_var=yes"
41599 else
41600 echo "$as_me: failed program was:" >&5
41601 sed 's/^/| /' conftest.$ac_ext >&5
41602
41603 eval "$as_ac_var=no"
41604 fi
41605 rm -f conftest.err conftest.$ac_objext \
41606 conftest$ac_exeext conftest.$ac_ext
41607 fi
41608 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41609 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41610 if test `eval echo '${'$as_ac_var'}'` = yes; then
41611 cat >>confdefs.h <<_ACEOF
41612 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41613 _ACEOF
41614
41615 cat >>confdefs.h <<\_ACEOF
41616 #define HAVE_SHL_LOAD 1
41617 _ACEOF
41618
41619 HAVE_SHL_FUNCS=1
41620
41621 else
41622
41623 echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41624 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6
41625 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41626 echo $ECHO_N "(cached) $ECHO_C" >&6
41627 else
41628 ac_check_lib_save_LIBS=$LIBS
41629 LIBS="-lshl_load $LIBS"
41630 cat >conftest.$ac_ext <<_ACEOF
41631 /* confdefs.h. */
41632 _ACEOF
41633 cat confdefs.h >>conftest.$ac_ext
41634 cat >>conftest.$ac_ext <<_ACEOF
41635 /* end confdefs.h. */
41636
41637 /* Override any gcc2 internal prototype to avoid an error. */
41638 #ifdef __cplusplus
41639 extern "C"
41640 #endif
41641 /* We use char because int might match the return type of a gcc2
41642 builtin and then its argument prototype would still apply. */
41643 char dld ();
41644 int
41645 main ()
41646 {
41647 dld ();
41648 ;
41649 return 0;
41650 }
41651 _ACEOF
41652 rm -f conftest.$ac_objext conftest$ac_exeext
41653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41654 (eval $ac_link) 2>conftest.er1
41655 ac_status=$?
41656 grep -v '^ *+' conftest.er1 >conftest.err
41657 rm -f conftest.er1
41658 cat conftest.err >&5
41659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41660 (exit $ac_status); } &&
41661 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41663 (eval $ac_try) 2>&5
41664 ac_status=$?
41665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41666 (exit $ac_status); }; } &&
41667 { ac_try='test -s conftest$ac_exeext'
41668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41669 (eval $ac_try) 2>&5
41670 ac_status=$?
41671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41672 (exit $ac_status); }; }; then
41673 ac_cv_lib_shl_load_dld=yes
41674 else
41675 echo "$as_me: failed program was:" >&5
41676 sed 's/^/| /' conftest.$ac_ext >&5
41677
41678 ac_cv_lib_shl_load_dld=no
41679 fi
41680 rm -f conftest.err conftest.$ac_objext \
41681 conftest$ac_exeext conftest.$ac_ext
41682 LIBS=$ac_check_lib_save_LIBS
41683 fi
41684 echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41685 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6
41686 if test $ac_cv_lib_shl_load_dld = yes; then
41687
41688 HAVE_SHL_FUNCS=1
41689 DL_LINK=" -ldld$DL_LINK"
41690
41691 fi
41692
41693
41694 fi
41695 done
41696
41697
41698 fi
41699
41700
41701 fi
41702 done
41703
41704
41705 if test "$HAVE_DL_FUNCS" = 1; then
41706
41707 for ac_func in dlerror
41708 do
41709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41710 echo "$as_me:$LINENO: checking for $ac_func" >&5
41711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
41712 if eval "test \"\${$as_ac_var+set}\" = set"; then
41713 echo $ECHO_N "(cached) $ECHO_C" >&6
41714 else
41715 cat >conftest.$ac_ext <<_ACEOF
41716 /* confdefs.h. */
41717 _ACEOF
41718 cat confdefs.h >>conftest.$ac_ext
41719 cat >>conftest.$ac_ext <<_ACEOF
41720 /* end confdefs.h. */
41721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41723 #define $ac_func innocuous_$ac_func
41724
41725 /* System header to define __stub macros and hopefully few prototypes,
41726 which can conflict with char $ac_func (); below.
41727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41728 <limits.h> exists even on freestanding compilers. */
41729
41730 #ifdef __STDC__
41731 # include <limits.h>
41732 #else
41733 # include <assert.h>
41734 #endif
41735
41736 #undef $ac_func
41737
41738 /* Override any gcc2 internal prototype to avoid an error. */
41739 #ifdef __cplusplus
41740 extern "C"
41741 {
41742 #endif
41743 /* We use char because int might match the return type of a gcc2
41744 builtin and then its argument prototype would still apply. */
41745 char $ac_func ();
41746 /* The GNU C library defines this for functions which it implements
41747 to always fail with ENOSYS. Some functions are actually named
41748 something starting with __ and the normal name is an alias. */
41749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
41750 choke me
41751 #else
41752 char (*f) () = $ac_func;
41753 #endif
41754 #ifdef __cplusplus
41755 }
41756 #endif
41757
41758 int
41759 main ()
41760 {
41761 return f != $ac_func;
41762 ;
41763 return 0;
41764 }
41765 _ACEOF
41766 rm -f conftest.$ac_objext conftest$ac_exeext
41767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41768 (eval $ac_link) 2>conftest.er1
41769 ac_status=$?
41770 grep -v '^ *+' conftest.er1 >conftest.err
41771 rm -f conftest.er1
41772 cat conftest.err >&5
41773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41774 (exit $ac_status); } &&
41775 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41777 (eval $ac_try) 2>&5
41778 ac_status=$?
41779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41780 (exit $ac_status); }; } &&
41781 { ac_try='test -s conftest$ac_exeext'
41782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41783 (eval $ac_try) 2>&5
41784 ac_status=$?
41785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41786 (exit $ac_status); }; }; then
41787 eval "$as_ac_var=yes"
41788 else
41789 echo "$as_me: failed program was:" >&5
41790 sed 's/^/| /' conftest.$ac_ext >&5
41791
41792 eval "$as_ac_var=no"
41793 fi
41794 rm -f conftest.err conftest.$ac_objext \
41795 conftest$ac_exeext conftest.$ac_ext
41796 fi
41797 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
41798 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
41799 if test `eval echo '${'$as_ac_var'}'` = yes; then
41800 cat >>confdefs.h <<_ACEOF
41801 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41802 _ACEOF
41803 cat >>confdefs.h <<\_ACEOF
41804 #define HAVE_DLERROR 1
41805 _ACEOF
41806
41807 else
41808
41809 echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41810 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6
41811 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41812 echo $ECHO_N "(cached) $ECHO_C" >&6
41813 else
41814 ac_check_lib_save_LIBS=$LIBS
41815 LIBS="-ldl $LIBS"
41816 cat >conftest.$ac_ext <<_ACEOF
41817 /* confdefs.h. */
41818 _ACEOF
41819 cat confdefs.h >>conftest.$ac_ext
41820 cat >>conftest.$ac_ext <<_ACEOF
41821 /* end confdefs.h. */
41822
41823 /* Override any gcc2 internal prototype to avoid an error. */
41824 #ifdef __cplusplus
41825 extern "C"
41826 #endif
41827 /* We use char because int might match the return type of a gcc2
41828 builtin and then its argument prototype would still apply. */
41829 char dlerror ();
41830 int
41831 main ()
41832 {
41833 dlerror ();
41834 ;
41835 return 0;
41836 }
41837 _ACEOF
41838 rm -f conftest.$ac_objext conftest$ac_exeext
41839 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41840 (eval $ac_link) 2>conftest.er1
41841 ac_status=$?
41842 grep -v '^ *+' conftest.er1 >conftest.err
41843 rm -f conftest.er1
41844 cat conftest.err >&5
41845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41846 (exit $ac_status); } &&
41847 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
41848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41849 (eval $ac_try) 2>&5
41850 ac_status=$?
41851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41852 (exit $ac_status); }; } &&
41853 { ac_try='test -s conftest$ac_exeext'
41854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41855 (eval $ac_try) 2>&5
41856 ac_status=$?
41857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41858 (exit $ac_status); }; }; then
41859 ac_cv_lib_dl_dlerror=yes
41860 else
41861 echo "$as_me: failed program was:" >&5
41862 sed 's/^/| /' conftest.$ac_ext >&5
41863
41864 ac_cv_lib_dl_dlerror=no
41865 fi
41866 rm -f conftest.err conftest.$ac_objext \
41867 conftest$ac_exeext conftest.$ac_ext
41868 LIBS=$ac_check_lib_save_LIBS
41869 fi
41870 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41871 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6
41872 if test $ac_cv_lib_dl_dlerror = yes; then
41873 cat >>confdefs.h <<\_ACEOF
41874 #define HAVE_DLERROR 1
41875 _ACEOF
41876
41877 fi
41878
41879
41880
41881 fi
41882 done
41883
41884 fi
41885 fi
41886
41887 if test "$HAVE_DL_FUNCS" = 0; then
41888 if test "$HAVE_SHL_FUNCS" = 0; then
41889 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41890 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41891 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41892 wxUSE_DYNAMIC_LOADER=no
41893 wxUSE_DYNLIB_CLASS=no
41894 else
41895 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41896 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41897 fi
41898 fi
41899 fi
41900 fi
41901 fi
41902
41903 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41904 cat >>confdefs.h <<\_ACEOF
41905 #define wxUSE_DYNAMIC_LOADER 1
41906 _ACEOF
41907
41908 fi
41909 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41910 cat >>confdefs.h <<\_ACEOF
41911 #define wxUSE_DYNLIB_CLASS 1
41912 _ACEOF
41913
41914 fi
41915
41916
41917
41918 if test "$wxUSE_PLUGINS" = "yes" ; then
41919 if test "$wxUSE_SHARED" = "no" ; then
41920 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41921 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41922 wxUSE_PLUGINS=no
41923 fi
41924 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41925 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41926 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41927 wxUSE_PLUGINS=no
41928 fi
41929 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41930 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41931 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41932 wxUSE_PLUGINS=no
41933 fi
41934 if test "$wxUSE_PLUGINS" = "yes" ; then
41935 cat >>confdefs.h <<\_ACEOF
41936 #define wxUSE_PLUGINS 1
41937 _ACEOF
41938
41939 fi
41940 fi
41941
41942
41943 if test "$wxUSE_STL" = "yes"; then
41944 cat >>confdefs.h <<\_ACEOF
41945 #define wxUSE_STL 1
41946 _ACEOF
41947
41948 fi
41949
41950 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41951 cat >>confdefs.h <<\_ACEOF
41952 #define wxUSE_APPLE_IEEE 1
41953 _ACEOF
41954
41955 fi
41956
41957 if test "$wxUSE_TIMER" = "yes"; then
41958 cat >>confdefs.h <<\_ACEOF
41959 #define wxUSE_TIMER 1
41960 _ACEOF
41961
41962 fi
41963
41964 if test "$USE_UNIX" = "1" ; then
41965 echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41966 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6
41967 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41968 echo $ECHO_N "(cached) $ECHO_C" >&6
41969 else
41970
41971 cat >conftest.$ac_ext <<_ACEOF
41972 /* confdefs.h. */
41973 _ACEOF
41974 cat confdefs.h >>conftest.$ac_ext
41975 cat >>conftest.$ac_ext <<_ACEOF
41976 /* end confdefs.h. */
41977
41978 #include <sys/ioctl.h>
41979 #include <sys/soundcard.h>
41980
41981 int
41982 main ()
41983 {
41984
41985 ioctl(0, SNDCTL_DSP_SPEED, 0);
41986
41987 ;
41988 return 0;
41989 }
41990 _ACEOF
41991 rm -f conftest.$ac_objext conftest$ac_exeext
41992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41993 (eval $ac_link) 2>conftest.er1
41994 ac_status=$?
41995 grep -v '^ *+' conftest.er1 >conftest.err
41996 rm -f conftest.er1
41997 cat conftest.err >&5
41998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41999 (exit $ac_status); } &&
42000 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42001 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42002 (eval $ac_try) 2>&5
42003 ac_status=$?
42004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42005 (exit $ac_status); }; } &&
42006 { ac_try='test -s conftest$ac_exeext'
42007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42008 (eval $ac_try) 2>&5
42009 ac_status=$?
42010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42011 (exit $ac_status); }; }; then
42012 ac_cv_header_sys_soundcard=yes
42013 else
42014 echo "$as_me: failed program was:" >&5
42015 sed 's/^/| /' conftest.$ac_ext >&5
42016
42017
42018 saveLibs="$LIBS"
42019 LIBS="$saveLibs -lossaudio"
42020 cat >conftest.$ac_ext <<_ACEOF
42021 /* confdefs.h. */
42022 _ACEOF
42023 cat confdefs.h >>conftest.$ac_ext
42024 cat >>conftest.$ac_ext <<_ACEOF
42025 /* end confdefs.h. */
42026
42027 #include <sys/ioctl.h>
42028 #include <sys/soundcard.h>
42029
42030 int
42031 main ()
42032 {
42033
42034 ioctl(0, SNDCTL_DSP_SPEED, 0);
42035
42036 ;
42037 return 0;
42038 }
42039 _ACEOF
42040 rm -f conftest.$ac_objext conftest$ac_exeext
42041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42042 (eval $ac_link) 2>conftest.er1
42043 ac_status=$?
42044 grep -v '^ *+' conftest.er1 >conftest.err
42045 rm -f conftest.er1
42046 cat conftest.err >&5
42047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42048 (exit $ac_status); } &&
42049 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42051 (eval $ac_try) 2>&5
42052 ac_status=$?
42053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42054 (exit $ac_status); }; } &&
42055 { ac_try='test -s conftest$ac_exeext'
42056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42057 (eval $ac_try) 2>&5
42058 ac_status=$?
42059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42060 (exit $ac_status); }; }; then
42061 ac_cv_header_sys_soundcard=yes
42062 else
42063 echo "$as_me: failed program was:" >&5
42064 sed 's/^/| /' conftest.$ac_ext >&5
42065
42066
42067 LIBS="$saveLibs"
42068 ac_cv_header_sys_soundcard=no
42069
42070
42071 fi
42072 rm -f conftest.err conftest.$ac_objext \
42073 conftest$ac_exeext conftest.$ac_ext
42074
42075
42076 fi
42077 rm -f conftest.err conftest.$ac_objext \
42078 conftest$ac_exeext conftest.$ac_ext
42079
42080 fi
42081 echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42082 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6
42083
42084 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42085 cat >>confdefs.h <<\_ACEOF
42086 #define HAVE_SYS_SOUNDCARD_H 1
42087 _ACEOF
42088
42089 else
42090 DISABLED_CONTRIB="$DISABLED_CONTRIB mmedia"
42091 fi
42092 fi
42093 WITH_PLUGIN_SDL=0
42094 if test "$wxUSE_SOUND" = "yes"; then
42095 if test "$USE_UNIX" = "1" ; then
42096 if test "$wxUSE_LIBSDL" != "no"; then
42097
42098 # Check whether --with-sdl-prefix or --without-sdl-prefix was given.
42099 if test "${with_sdl_prefix+set}" = set; then
42100 withval="$with_sdl_prefix"
42101 sdl_prefix="$withval"
42102 else
42103 sdl_prefix=""
42104 fi;
42105
42106 # Check whether --with-sdl-exec-prefix or --without-sdl-exec-prefix was given.
42107 if test "${with_sdl_exec_prefix+set}" = set; then
42108 withval="$with_sdl_exec_prefix"
42109 sdl_exec_prefix="$withval"
42110 else
42111 sdl_exec_prefix=""
42112 fi;
42113 # Check whether --enable-sdltest or --disable-sdltest was given.
42114 if test "${enable_sdltest+set}" = set; then
42115 enableval="$enable_sdltest"
42116
42117 else
42118 enable_sdltest=yes
42119 fi;
42120
42121 if test x$sdl_exec_prefix != x ; then
42122 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42123 if test x${SDL_CONFIG+set} != xset ; then
42124 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42125 fi
42126 fi
42127 if test x$sdl_prefix != x ; then
42128 sdl_args="$sdl_args --prefix=$sdl_prefix"
42129 if test x${SDL_CONFIG+set} != xset ; then
42130 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42131 fi
42132 fi
42133
42134 if test "x$prefix" != xNONE; then
42135 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42136 fi
42137 # Extract the first word of "sdl-config", so it can be a program name with args.
42138 set dummy sdl-config; ac_word=$2
42139 echo "$as_me:$LINENO: checking for $ac_word" >&5
42140 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
42141 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42142 echo $ECHO_N "(cached) $ECHO_C" >&6
42143 else
42144 case $SDL_CONFIG in
42145 [\\/]* | ?:[\\/]*)
42146 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42147 ;;
42148 *)
42149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42150 for as_dir in $PATH
42151 do
42152 IFS=$as_save_IFS
42153 test -z "$as_dir" && as_dir=.
42154 for ac_exec_ext in '' $ac_executable_extensions; do
42155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
42156 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42158 break 2
42159 fi
42160 done
42161 done
42162
42163 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42164 ;;
42165 esac
42166 fi
42167 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42168
42169 if test -n "$SDL_CONFIG"; then
42170 echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42171 echo "${ECHO_T}$SDL_CONFIG" >&6
42172 else
42173 echo "$as_me:$LINENO: result: no" >&5
42174 echo "${ECHO_T}no" >&6
42175 fi
42176
42177 min_sdl_version=1.2.0
42178 echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42179 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6
42180 no_sdl=""
42181 if test "$SDL_CONFIG" = "no" ; then
42182 no_sdl=yes
42183 else
42184 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42185 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42186
42187 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42188 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42189 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42190 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42191 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42192 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42193 if test "x$enable_sdltest" = "xyes" ; then
42194 ac_save_CFLAGS="$CFLAGS"
42195 ac_save_CXXFLAGS="$CXXFLAGS"
42196 ac_save_LIBS="$LIBS"
42197 CFLAGS="$CFLAGS $SDL_CFLAGS"
42198 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42199 LIBS="$LIBS $SDL_LIBS"
42200 rm -f conf.sdltest
42201 if test "$cross_compiling" = yes; then
42202 echo $ac_n "cross compiling; assumed OK... $ac_c"
42203 else
42204 cat >conftest.$ac_ext <<_ACEOF
42205 /* confdefs.h. */
42206 _ACEOF
42207 cat confdefs.h >>conftest.$ac_ext
42208 cat >>conftest.$ac_ext <<_ACEOF
42209 /* end confdefs.h. */
42210
42211 #include <stdio.h>
42212 #include <stdlib.h>
42213 #include <string.h>
42214 #include "SDL.h"
42215
42216 char*
42217 my_strdup (char *str)
42218 {
42219 char *new_str;
42220
42221 if (str)
42222 {
42223 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42224 strcpy (new_str, str);
42225 }
42226 else
42227 new_str = NULL;
42228
42229 return new_str;
42230 }
42231
42232 int main (int argc, char *argv[])
42233 {
42234 int major, minor, micro;
42235 char *tmp_version;
42236
42237 /* This hangs on some systems (?)
42238 system ("touch conf.sdltest");
42239 */
42240 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42241
42242 /* HP/UX 9 (%@#!) writes to sscanf strings */
42243 tmp_version = my_strdup("$min_sdl_version");
42244 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42245 printf("%s, bad version string\n", "$min_sdl_version");
42246 exit(1);
42247 }
42248
42249 if (($sdl_major_version > major) ||
42250 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42251 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42252 {
42253 return 0;
42254 }
42255 else
42256 {
42257 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42258 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42259 printf("*** best to upgrade to the required version.\n");
42260 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42261 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42262 printf("*** config.cache before re-running configure\n");
42263 return 1;
42264 }
42265 }
42266
42267
42268 _ACEOF
42269 rm -f conftest$ac_exeext
42270 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42271 (eval $ac_link) 2>&5
42272 ac_status=$?
42273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42274 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42276 (eval $ac_try) 2>&5
42277 ac_status=$?
42278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42279 (exit $ac_status); }; }; then
42280 :
42281 else
42282 echo "$as_me: program exited with status $ac_status" >&5
42283 echo "$as_me: failed program was:" >&5
42284 sed 's/^/| /' conftest.$ac_ext >&5
42285
42286 ( exit $ac_status )
42287 no_sdl=yes
42288 fi
42289 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42290 fi
42291 CFLAGS="$ac_save_CFLAGS"
42292 CXXFLAGS="$ac_save_CXXFLAGS"
42293 LIBS="$ac_save_LIBS"
42294 fi
42295 fi
42296 if test "x$no_sdl" = x ; then
42297 echo "$as_me:$LINENO: result: yes" >&5
42298 echo "${ECHO_T}yes" >&6
42299
42300 EXTRALIBS_SDL="$SDL_LIBS"
42301 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42302 cat >>confdefs.h <<\_ACEOF
42303 #define wxUSE_LIBSDL 1
42304 _ACEOF
42305
42306
42307 else
42308 echo "$as_me:$LINENO: result: no" >&5
42309 echo "${ECHO_T}no" >&6
42310 if test "$SDL_CONFIG" = "no" ; then
42311 echo "*** The sdl-config script installed by SDL could not be found"
42312 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42313 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42314 echo "*** full path to sdl-config."
42315 else
42316 if test -f conf.sdltest ; then
42317 :
42318 else
42319 echo "*** Could not run SDL test program, checking why..."
42320 CFLAGS="$CFLAGS $SDL_CFLAGS"
42321 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42322 LIBS="$LIBS $SDL_LIBS"
42323 cat >conftest.$ac_ext <<_ACEOF
42324 /* confdefs.h. */
42325 _ACEOF
42326 cat confdefs.h >>conftest.$ac_ext
42327 cat >>conftest.$ac_ext <<_ACEOF
42328 /* end confdefs.h. */
42329
42330 #include <stdio.h>
42331 #include "SDL.h"
42332
42333 int main(int argc, char *argv[])
42334 { return 0; }
42335 #undef main
42336 #define main K_and_R_C_main
42337
42338 int
42339 main ()
42340 {
42341 return 0;
42342 ;
42343 return 0;
42344 }
42345 _ACEOF
42346 rm -f conftest.$ac_objext conftest$ac_exeext
42347 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42348 (eval $ac_link) 2>conftest.er1
42349 ac_status=$?
42350 grep -v '^ *+' conftest.er1 >conftest.err
42351 rm -f conftest.er1
42352 cat conftest.err >&5
42353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42354 (exit $ac_status); } &&
42355 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
42356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42357 (eval $ac_try) 2>&5
42358 ac_status=$?
42359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42360 (exit $ac_status); }; } &&
42361 { ac_try='test -s conftest$ac_exeext'
42362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42363 (eval $ac_try) 2>&5
42364 ac_status=$?
42365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42366 (exit $ac_status); }; }; then
42367 echo "*** The test program compiled, but did not run. This usually means"
42368 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42369 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42370 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42371 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42372 echo "*** is required on your system"
42373 echo "***"
42374 echo "*** If you have an old version installed, it is best to remove it, although"
42375 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42376 else
42377 echo "$as_me: failed program was:" >&5
42378 sed 's/^/| /' conftest.$ac_ext >&5
42379
42380 echo "*** The test program failed to compile or link. See the file config.log for the"
42381 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42382 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42383 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42384 fi
42385 rm -f conftest.err conftest.$ac_objext \
42386 conftest$ac_exeext conftest.$ac_ext
42387 CFLAGS="$ac_save_CFLAGS"
42388 CXXFLAGS="$ac_save_CXXFLAGS"
42389 LIBS="$ac_save_LIBS"
42390 fi
42391 fi
42392 SDL_CFLAGS=""
42393 SDL_LIBS=""
42394 wxUSE_LIBSDL="no"
42395 fi
42396
42397
42398 rm -f conf.sdltest
42399
42400 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42401 WITH_PLUGIN_SDL=1
42402 fi
42403 fi
42404 fi
42405
42406 cat >>confdefs.h <<\_ACEOF
42407 #define wxUSE_SOUND 1
42408 _ACEOF
42409
42410 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42411 fi
42412
42413 if test "$WXGTK20" = 1; then
42414 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42415 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42416
42417
42418 pkg_failed=no
42419 echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42420 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6
42421
42422 if test -n "$PKG_CONFIG"; then
42423 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42424 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42425 else
42426 if test -n "$PKG_CONFIG" && \
42427 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42428 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42429 ac_status=$?
42430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42431 (exit $ac_status); }; then
42432 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42433 else
42434 pkg_failed=yes
42435 fi
42436 fi
42437 else
42438 pkg_failed=untried
42439 fi
42440 if test -n "$PKG_CONFIG"; then
42441 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42442 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42443 else
42444 if test -n "$PKG_CONFIG" && \
42445 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42446 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42447 ac_status=$?
42448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42449 (exit $ac_status); }; then
42450 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42451 else
42452 pkg_failed=yes
42453 fi
42454 fi
42455 else
42456 pkg_failed=untried
42457 fi
42458
42459
42460
42461 if test $pkg_failed = yes; then
42462
42463 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42464 _pkg_short_errors_supported=yes
42465 else
42466 _pkg_short_errors_supported=no
42467 fi
42468 if test $_pkg_short_errors_supported = yes; then
42469 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42470 else
42471 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42472 fi
42473 # Put the nasty error message in config.log where it belongs
42474 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42475
42476
42477 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42478 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42479 wxUSE_LIBGNOMEPRINT="no"
42480
42481
42482 elif test $pkg_failed = untried; then
42483
42484 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42485 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42486 wxUSE_LIBGNOMEPRINT="no"
42487
42488
42489 else
42490 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42491 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42492 echo "$as_me:$LINENO: result: yes" >&5
42493 echo "${ECHO_T}yes" >&6
42494
42495 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42496 cat >>confdefs.h <<\_ACEOF
42497 #define wxUSE_LIBGNOMEPRINT 1
42498 _ACEOF
42499
42500
42501 fi
42502 fi
42503 fi
42504 fi
42505
42506 if test "$WXGTK20" = 1; then
42507 if test "$wxUSE_MIMETYPE" = "yes" ; then
42508 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42509
42510
42511 pkg_failed=no
42512 echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42513 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6
42514
42515 if test -n "$PKG_CONFIG"; then
42516 if test -n "$GNOMEVFS_CFLAGS"; then
42517 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42518 else
42519 if test -n "$PKG_CONFIG" && \
42520 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42521 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42522 ac_status=$?
42523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42524 (exit $ac_status); }; then
42525 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42526 else
42527 pkg_failed=yes
42528 fi
42529 fi
42530 else
42531 pkg_failed=untried
42532 fi
42533 if test -n "$PKG_CONFIG"; then
42534 if test -n "$GNOMEVFS_LIBS"; then
42535 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42536 else
42537 if test -n "$PKG_CONFIG" && \
42538 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42539 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42540 ac_status=$?
42541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42542 (exit $ac_status); }; then
42543 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42544 else
42545 pkg_failed=yes
42546 fi
42547 fi
42548 else
42549 pkg_failed=untried
42550 fi
42551
42552
42553
42554 if test $pkg_failed = yes; then
42555
42556 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42557 _pkg_short_errors_supported=yes
42558 else
42559 _pkg_short_errors_supported=no
42560 fi
42561 if test $_pkg_short_errors_supported = yes; then
42562 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42563 else
42564 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42565 fi
42566 # Put the nasty error message in config.log where it belongs
42567 echo "$GNOMEVFS_PKG_ERRORS" >&5
42568
42569
42570 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42571 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42572 wxUSE_LIBGNOMEVFS="no"
42573
42574
42575 elif test $pkg_failed = untried; then
42576
42577 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42578 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42579 wxUSE_LIBGNOMEVFS="no"
42580
42581
42582 else
42583 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42584 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42585 echo "$as_me:$LINENO: result: yes" >&5
42586 echo "${ECHO_T}yes" >&6
42587
42588 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42589 cat >>confdefs.h <<\_ACEOF
42590 #define wxUSE_LIBGNOMEVFS 1
42591 _ACEOF
42592
42593
42594 fi
42595 fi
42596 fi
42597 fi
42598
42599 if test "$WXGTK20" = 1; then
42600 if test "$wxUSE_LIBHILDON" = "yes" ; then
42601
42602 pkg_failed=no
42603 echo "$as_me:$LINENO: checking for HILDON" >&5
42604 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6
42605
42606 if test -n "$PKG_CONFIG"; then
42607 if test -n "$HILDON_CFLAGS"; then
42608 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42609 else
42610 if test -n "$PKG_CONFIG" && \
42611 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42612 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42613 ac_status=$?
42614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42615 (exit $ac_status); }; then
42616 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42617 else
42618 pkg_failed=yes
42619 fi
42620 fi
42621 else
42622 pkg_failed=untried
42623 fi
42624 if test -n "$PKG_CONFIG"; then
42625 if test -n "$HILDON_LIBS"; then
42626 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42627 else
42628 if test -n "$PKG_CONFIG" && \
42629 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42630 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42631 ac_status=$?
42632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42633 (exit $ac_status); }; then
42634 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42635 else
42636 pkg_failed=yes
42637 fi
42638 fi
42639 else
42640 pkg_failed=untried
42641 fi
42642
42643
42644
42645 if test $pkg_failed = yes; then
42646
42647 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42648 _pkg_short_errors_supported=yes
42649 else
42650 _pkg_short_errors_supported=no
42651 fi
42652 if test $_pkg_short_errors_supported = yes; then
42653 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42654 else
42655 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42656 fi
42657 # Put the nasty error message in config.log where it belongs
42658 echo "$HILDON_PKG_ERRORS" >&5
42659
42660
42661 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42662 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42663 wxUSE_LIBHILDON="no"
42664
42665
42666 elif test $pkg_failed = untried; then
42667
42668 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42669 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42670 wxUSE_LIBHILDON="no"
42671
42672
42673 else
42674 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42675 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42676 echo "$as_me:$LINENO: result: yes" >&5
42677 echo "${ECHO_T}yes" >&6
42678
42679 EXTRALIBS_HILDON="$HILDON_LIBS"
42680 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42681 cat >>confdefs.h <<\_ACEOF
42682 #define wxUSE_LIBHILDON 1
42683 _ACEOF
42684
42685
42686 fi
42687 fi
42688 fi
42689
42690 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42691 cat >>confdefs.h <<\_ACEOF
42692 #define wxUSE_CMDLINE_PARSER 1
42693 _ACEOF
42694
42695 fi
42696
42697 if test "$wxUSE_STOPWATCH" = "yes"; then
42698 cat >>confdefs.h <<\_ACEOF
42699 #define wxUSE_STOPWATCH 1
42700 _ACEOF
42701
42702 fi
42703
42704 if test "$wxUSE_DATETIME" = "yes"; then
42705 cat >>confdefs.h <<\_ACEOF
42706 #define wxUSE_DATETIME 1
42707 _ACEOF
42708
42709 fi
42710
42711 if test "$wxUSE_FILE" = "yes"; then
42712 cat >>confdefs.h <<\_ACEOF
42713 #define wxUSE_FILE 1
42714 _ACEOF
42715
42716 fi
42717
42718 if test "$wxUSE_FFILE" = "yes"; then
42719 cat >>confdefs.h <<\_ACEOF
42720 #define wxUSE_FFILE 1
42721 _ACEOF
42722
42723 fi
42724
42725 if test "$wxUSE_FILESYSTEM" = "yes"; then
42726 cat >>confdefs.h <<\_ACEOF
42727 #define wxUSE_FILESYSTEM 1
42728 _ACEOF
42729
42730 fi
42731
42732 if test "$wxUSE_FS_ZIP" = "yes"; then
42733 cat >>confdefs.h <<\_ACEOF
42734 #define wxUSE_FS_ZIP 1
42735 _ACEOF
42736
42737 fi
42738
42739 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42740 cat >>confdefs.h <<\_ACEOF
42741 #define wxUSE_ARCHIVE_STREAMS 1
42742 _ACEOF
42743
42744 fi
42745
42746 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42747 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42748 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42749 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42750 elif test "$wxUSE_ZLIB" = "no"; then
42751 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42752 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42753 else
42754 cat >>confdefs.h <<\_ACEOF
42755 #define wxUSE_ZIPSTREAM 1
42756 _ACEOF
42757
42758 fi
42759 fi
42760
42761 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42762 if test "$USE_UNIX" != 1; then
42763 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42764 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42765 wxUSE_ON_FATAL_EXCEPTION=no
42766 else
42767 cat >>confdefs.h <<\_ACEOF
42768 #define wxUSE_ON_FATAL_EXCEPTION 1
42769 _ACEOF
42770
42771 fi
42772 fi
42773
42774 if test "$wxUSE_STACKWALKER" = "yes"; then
42775 cat >>confdefs.h <<\_ACEOF
42776 #define wxUSE_STACKWALKER 1
42777 _ACEOF
42778
42779 fi
42780
42781 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42782 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
42783 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42784 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42785 wxUSE_DEBUGREPORT=no
42786 else
42787 cat >>confdefs.h <<\_ACEOF
42788 #define wxUSE_DEBUGREPORT 1
42789 _ACEOF
42790
42791 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42792 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42793 fi
42794 fi
42795 fi
42796
42797 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42798 cat >>confdefs.h <<\_ACEOF
42799 #define wxUSE_SNGLINST_CHECKER 1
42800 _ACEOF
42801
42802 fi
42803
42804 if test "$wxUSE_BUSYINFO" = "yes"; then
42805 cat >>confdefs.h <<\_ACEOF
42806 #define wxUSE_BUSYINFO 1
42807 _ACEOF
42808
42809 fi
42810
42811 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42812 cat >>confdefs.h <<\_ACEOF
42813 #define wxUSE_STD_IOSTREAM 1
42814 _ACEOF
42815
42816 fi
42817
42818 if test "$wxUSE_STD_STRING" = "yes"; then
42819 cat >>confdefs.h <<\_ACEOF
42820 #define wxUSE_STD_STRING 1
42821 _ACEOF
42822
42823 fi
42824
42825 if test "$wxUSE_STDPATHS" = "yes"; then
42826 cat >>confdefs.h <<\_ACEOF
42827 #define wxUSE_STDPATHS 1
42828 _ACEOF
42829
42830 fi
42831
42832 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42833 cat >>confdefs.h <<\_ACEOF
42834 #define wxUSE_TEXTBUFFER 1
42835 _ACEOF
42836
42837 fi
42838
42839 if test "$wxUSE_TEXTFILE" = "yes"; then
42840 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42841 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42842 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42843 else
42844 cat >>confdefs.h <<\_ACEOF
42845 #define wxUSE_TEXTFILE 1
42846 _ACEOF
42847
42848 fi
42849 fi
42850
42851 if test "$wxUSE_CONFIG" = "yes" ; then
42852 if test "$wxUSE_TEXTFILE" != "yes"; then
42853 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42854 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42855 else
42856 cat >>confdefs.h <<\_ACEOF
42857 #define wxUSE_CONFIG 1
42858 _ACEOF
42859
42860 cat >>confdefs.h <<\_ACEOF
42861 #define wxUSE_CONFIG_NATIVE 1
42862 _ACEOF
42863
42864 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42865 fi
42866 fi
42867
42868 if test "$wxUSE_INTL" = "yes" ; then
42869 if test "$wxUSE_FILE" != "yes"; then
42870 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42871 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42872 else
42873 cat >>confdefs.h <<\_ACEOF
42874 #define wxUSE_INTL 1
42875 _ACEOF
42876
42877 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42878 GUIDIST="$GUIDIST INTL_DIST"
42879 fi
42880 fi
42881
42882 if test "$wxUSE_LOG" = "yes"; then
42883 cat >>confdefs.h <<\_ACEOF
42884 #define wxUSE_LOG 1
42885 _ACEOF
42886
42887
42888 if test "$wxUSE_LOGGUI" = "yes"; then
42889 cat >>confdefs.h <<\_ACEOF
42890 #define wxUSE_LOGGUI 1
42891 _ACEOF
42892
42893 fi
42894
42895 if test "$wxUSE_LOGWINDOW" = "yes"; then
42896 cat >>confdefs.h <<\_ACEOF
42897 #define wxUSE_LOGWINDOW 1
42898 _ACEOF
42899
42900 fi
42901
42902 if test "$wxUSE_LOGDIALOG" = "yes"; then
42903 cat >>confdefs.h <<\_ACEOF
42904 #define wxUSE_LOG_DIALOG 1
42905 _ACEOF
42906
42907 fi
42908
42909 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42910 fi
42911
42912 if test "$wxUSE_LONGLONG" = "yes"; then
42913 cat >>confdefs.h <<\_ACEOF
42914 #define wxUSE_LONGLONG 1
42915 _ACEOF
42916
42917 fi
42918
42919 if test "$wxUSE_GEOMETRY" = "yes"; then
42920 cat >>confdefs.h <<\_ACEOF
42921 #define wxUSE_GEOMETRY 1
42922 _ACEOF
42923
42924 fi
42925
42926 if test "$wxUSE_STREAMS" = "yes" ; then
42927 cat >>confdefs.h <<\_ACEOF
42928 #define wxUSE_STREAMS 1
42929 _ACEOF
42930
42931 fi
42932
42933 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42934 cat >>confdefs.h <<\_ACEOF
42935 #define wxUSE_PRINTF_POS_PARAMS 1
42936 _ACEOF
42937
42938 fi
42939
42940
42941
42942 if test "$wxUSE_DATETIME" = "yes"; then
42943
42944 for ac_func in strptime
42945 do
42946 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42947 echo "$as_me:$LINENO: checking for $ac_func" >&5
42948 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42949 if eval "test \"\${$as_ac_var+set}\" = set"; then
42950 echo $ECHO_N "(cached) $ECHO_C" >&6
42951 else
42952 cat >conftest.$ac_ext <<_ACEOF
42953 /* confdefs.h. */
42954 _ACEOF
42955 cat confdefs.h >>conftest.$ac_ext
42956 cat >>conftest.$ac_ext <<_ACEOF
42957 /* end confdefs.h. */
42958 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42959 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42960 #define $ac_func innocuous_$ac_func
42961
42962 /* System header to define __stub macros and hopefully few prototypes,
42963 which can conflict with char $ac_func (); below.
42964 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42965 <limits.h> exists even on freestanding compilers. */
42966
42967 #ifdef __STDC__
42968 # include <limits.h>
42969 #else
42970 # include <assert.h>
42971 #endif
42972
42973 #undef $ac_func
42974
42975 /* Override any gcc2 internal prototype to avoid an error. */
42976 #ifdef __cplusplus
42977 extern "C"
42978 {
42979 #endif
42980 /* We use char because int might match the return type of a gcc2
42981 builtin and then its argument prototype would still apply. */
42982 char $ac_func ();
42983 /* The GNU C library defines this for functions which it implements
42984 to always fail with ENOSYS. Some functions are actually named
42985 something starting with __ and the normal name is an alias. */
42986 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42987 choke me
42988 #else
42989 char (*f) () = $ac_func;
42990 #endif
42991 #ifdef __cplusplus
42992 }
42993 #endif
42994
42995 int
42996 main ()
42997 {
42998 return f != $ac_func;
42999 ;
43000 return 0;
43001 }
43002 _ACEOF
43003 rm -f conftest.$ac_objext conftest$ac_exeext
43004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43005 (eval $ac_link) 2>conftest.er1
43006 ac_status=$?
43007 grep -v '^ *+' conftest.er1 >conftest.err
43008 rm -f conftest.er1
43009 cat conftest.err >&5
43010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43011 (exit $ac_status); } &&
43012 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43014 (eval $ac_try) 2>&5
43015 ac_status=$?
43016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43017 (exit $ac_status); }; } &&
43018 { ac_try='test -s conftest$ac_exeext'
43019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43020 (eval $ac_try) 2>&5
43021 ac_status=$?
43022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43023 (exit $ac_status); }; }; then
43024 eval "$as_ac_var=yes"
43025 else
43026 echo "$as_me: failed program was:" >&5
43027 sed 's/^/| /' conftest.$ac_ext >&5
43028
43029 eval "$as_ac_var=no"
43030 fi
43031 rm -f conftest.err conftest.$ac_objext \
43032 conftest$ac_exeext conftest.$ac_ext
43033 fi
43034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43036 if test `eval echo '${'$as_ac_var'}'` = yes; then
43037 cat >>confdefs.h <<_ACEOF
43038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43039 _ACEOF
43040
43041 fi
43042 done
43043
43044 if test "$ac_cv_func_strptime" = "yes"; then
43045 echo "$as_me:$LINENO: checking for strptime declaration" >&5
43046 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6
43047 if test "${wx_cv_func_strptime_decl+set}" = set; then
43048 echo $ECHO_N "(cached) $ECHO_C" >&6
43049 else
43050
43051 cat >conftest.$ac_ext <<_ACEOF
43052 /* confdefs.h. */
43053 _ACEOF
43054 cat confdefs.h >>conftest.$ac_ext
43055 cat >>conftest.$ac_ext <<_ACEOF
43056 /* end confdefs.h. */
43057
43058 #include <time.h>
43059
43060 int
43061 main ()
43062 {
43063
43064 struct tm t;
43065 strptime("foo", "bar", &t);
43066
43067 ;
43068 return 0;
43069 }
43070 _ACEOF
43071 rm -f conftest.$ac_objext
43072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43073 (eval $ac_compile) 2>conftest.er1
43074 ac_status=$?
43075 grep -v '^ *+' conftest.er1 >conftest.err
43076 rm -f conftest.er1
43077 cat conftest.err >&5
43078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43079 (exit $ac_status); } &&
43080 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43082 (eval $ac_try) 2>&5
43083 ac_status=$?
43084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43085 (exit $ac_status); }; } &&
43086 { ac_try='test -s conftest.$ac_objext'
43087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43088 (eval $ac_try) 2>&5
43089 ac_status=$?
43090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43091 (exit $ac_status); }; }; then
43092 wx_cv_func_strptime_decl=yes
43093 else
43094 echo "$as_me: failed program was:" >&5
43095 sed 's/^/| /' conftest.$ac_ext >&5
43096
43097 wx_cv_func_strptime_decl=no
43098
43099 fi
43100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43101
43102
43103 fi
43104 echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43105 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6
43106 fi
43107 if test "$wx_cv_func_strptime_decl" = "yes"; then
43108 cat >>confdefs.h <<\_ACEOF
43109 #define HAVE_STRPTIME_DECL 1
43110 _ACEOF
43111
43112 fi
43113
43114 echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43115 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6
43116 if test "${wx_cv_var_timezone+set}" = set; then
43117 echo $ECHO_N "(cached) $ECHO_C" >&6
43118 else
43119
43120 cat >conftest.$ac_ext <<_ACEOF
43121 /* confdefs.h. */
43122 _ACEOF
43123 cat confdefs.h >>conftest.$ac_ext
43124 cat >>conftest.$ac_ext <<_ACEOF
43125 /* end confdefs.h. */
43126
43127 #include <time.h>
43128
43129 int
43130 main ()
43131 {
43132
43133 int tz;
43134 tz = timezone;
43135
43136 ;
43137 return 0;
43138 }
43139 _ACEOF
43140 rm -f conftest.$ac_objext
43141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43142 (eval $ac_compile) 2>conftest.er1
43143 ac_status=$?
43144 grep -v '^ *+' conftest.er1 >conftest.err
43145 rm -f conftest.er1
43146 cat conftest.err >&5
43147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43148 (exit $ac_status); } &&
43149 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43151 (eval $ac_try) 2>&5
43152 ac_status=$?
43153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43154 (exit $ac_status); }; } &&
43155 { ac_try='test -s conftest.$ac_objext'
43156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43157 (eval $ac_try) 2>&5
43158 ac_status=$?
43159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43160 (exit $ac_status); }; }; then
43161
43162 wx_cv_var_timezone=timezone
43163
43164 else
43165 echo "$as_me: failed program was:" >&5
43166 sed 's/^/| /' conftest.$ac_ext >&5
43167
43168
43169 cat >conftest.$ac_ext <<_ACEOF
43170 /* confdefs.h. */
43171 _ACEOF
43172 cat confdefs.h >>conftest.$ac_ext
43173 cat >>conftest.$ac_ext <<_ACEOF
43174 /* end confdefs.h. */
43175
43176 #include <time.h>
43177
43178 int
43179 main ()
43180 {
43181
43182 int tz;
43183 tz = _timezone;
43184
43185 ;
43186 return 0;
43187 }
43188 _ACEOF
43189 rm -f conftest.$ac_objext
43190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43191 (eval $ac_compile) 2>conftest.er1
43192 ac_status=$?
43193 grep -v '^ *+' conftest.er1 >conftest.err
43194 rm -f conftest.er1
43195 cat conftest.err >&5
43196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43197 (exit $ac_status); } &&
43198 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43200 (eval $ac_try) 2>&5
43201 ac_status=$?
43202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43203 (exit $ac_status); }; } &&
43204 { ac_try='test -s conftest.$ac_objext'
43205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43206 (eval $ac_try) 2>&5
43207 ac_status=$?
43208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43209 (exit $ac_status); }; }; then
43210
43211 wx_cv_var_timezone=_timezone
43212
43213 else
43214 echo "$as_me: failed program was:" >&5
43215 sed 's/^/| /' conftest.$ac_ext >&5
43216
43217
43218 cat >conftest.$ac_ext <<_ACEOF
43219 /* confdefs.h. */
43220 _ACEOF
43221 cat confdefs.h >>conftest.$ac_ext
43222 cat >>conftest.$ac_ext <<_ACEOF
43223 /* end confdefs.h. */
43224
43225 #include <time.h>
43226
43227 int
43228 main ()
43229 {
43230
43231 int tz;
43232 tz = __timezone;
43233
43234 ;
43235 return 0;
43236 }
43237 _ACEOF
43238 rm -f conftest.$ac_objext
43239 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43240 (eval $ac_compile) 2>conftest.er1
43241 ac_status=$?
43242 grep -v '^ *+' conftest.er1 >conftest.err
43243 rm -f conftest.er1
43244 cat conftest.err >&5
43245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43246 (exit $ac_status); } &&
43247 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43249 (eval $ac_try) 2>&5
43250 ac_status=$?
43251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43252 (exit $ac_status); }; } &&
43253 { ac_try='test -s conftest.$ac_objext'
43254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43255 (eval $ac_try) 2>&5
43256 ac_status=$?
43257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43258 (exit $ac_status); }; }; then
43259
43260 wx_cv_var_timezone=__timezone
43261
43262 else
43263 echo "$as_me: failed program was:" >&5
43264 sed 's/^/| /' conftest.$ac_ext >&5
43265
43266
43267 if test "$USE_DOS" = 0 ; then
43268 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43269 echo "$as_me: WARNING: no timezone variable" >&2;}
43270 fi
43271
43272
43273 fi
43274 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43275
43276
43277 fi
43278 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43279
43280
43281 fi
43282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43283
43284
43285 fi
43286 echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43287 echo "${ECHO_T}$wx_cv_var_timezone" >&6
43288
43289 if test "x$wx_cv_var_timezone" != x ; then
43290 cat >>confdefs.h <<_ACEOF
43291 #define WX_TIMEZONE $wx_cv_var_timezone
43292 _ACEOF
43293
43294 fi
43295
43296
43297 for ac_func in localtime
43298 do
43299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43300 echo "$as_me:$LINENO: checking for $ac_func" >&5
43301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43302 if eval "test \"\${$as_ac_var+set}\" = set"; then
43303 echo $ECHO_N "(cached) $ECHO_C" >&6
43304 else
43305 cat >conftest.$ac_ext <<_ACEOF
43306 /* confdefs.h. */
43307 _ACEOF
43308 cat confdefs.h >>conftest.$ac_ext
43309 cat >>conftest.$ac_ext <<_ACEOF
43310 /* end confdefs.h. */
43311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43313 #define $ac_func innocuous_$ac_func
43314
43315 /* System header to define __stub macros and hopefully few prototypes,
43316 which can conflict with char $ac_func (); below.
43317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43318 <limits.h> exists even on freestanding compilers. */
43319
43320 #ifdef __STDC__
43321 # include <limits.h>
43322 #else
43323 # include <assert.h>
43324 #endif
43325
43326 #undef $ac_func
43327
43328 /* Override any gcc2 internal prototype to avoid an error. */
43329 #ifdef __cplusplus
43330 extern "C"
43331 {
43332 #endif
43333 /* We use char because int might match the return type of a gcc2
43334 builtin and then its argument prototype would still apply. */
43335 char $ac_func ();
43336 /* The GNU C library defines this for functions which it implements
43337 to always fail with ENOSYS. Some functions are actually named
43338 something starting with __ and the normal name is an alias. */
43339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43340 choke me
43341 #else
43342 char (*f) () = $ac_func;
43343 #endif
43344 #ifdef __cplusplus
43345 }
43346 #endif
43347
43348 int
43349 main ()
43350 {
43351 return f != $ac_func;
43352 ;
43353 return 0;
43354 }
43355 _ACEOF
43356 rm -f conftest.$ac_objext conftest$ac_exeext
43357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43358 (eval $ac_link) 2>conftest.er1
43359 ac_status=$?
43360 grep -v '^ *+' conftest.er1 >conftest.err
43361 rm -f conftest.er1
43362 cat conftest.err >&5
43363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43364 (exit $ac_status); } &&
43365 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43367 (eval $ac_try) 2>&5
43368 ac_status=$?
43369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43370 (exit $ac_status); }; } &&
43371 { ac_try='test -s conftest$ac_exeext'
43372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43373 (eval $ac_try) 2>&5
43374 ac_status=$?
43375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43376 (exit $ac_status); }; }; then
43377 eval "$as_ac_var=yes"
43378 else
43379 echo "$as_me: failed program was:" >&5
43380 sed 's/^/| /' conftest.$ac_ext >&5
43381
43382 eval "$as_ac_var=no"
43383 fi
43384 rm -f conftest.err conftest.$ac_objext \
43385 conftest$ac_exeext conftest.$ac_ext
43386 fi
43387 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43388 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43389 if test `eval echo '${'$as_ac_var'}'` = yes; then
43390 cat >>confdefs.h <<_ACEOF
43391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43392 _ACEOF
43393
43394 fi
43395 done
43396
43397
43398 if test "$ac_cv_func_localtime" = "yes"; then
43399 echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43400 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6
43401 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43402 echo $ECHO_N "(cached) $ECHO_C" >&6
43403 else
43404
43405 cat >conftest.$ac_ext <<_ACEOF
43406 /* confdefs.h. */
43407 _ACEOF
43408 cat confdefs.h >>conftest.$ac_ext
43409 cat >>conftest.$ac_ext <<_ACEOF
43410 /* end confdefs.h. */
43411
43412 #include <time.h>
43413
43414 int
43415 main ()
43416 {
43417
43418 struct tm tm;
43419 tm.tm_gmtoff++;
43420
43421 ;
43422 return 0;
43423 }
43424 _ACEOF
43425 rm -f conftest.$ac_objext
43426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43427 (eval $ac_compile) 2>conftest.er1
43428 ac_status=$?
43429 grep -v '^ *+' conftest.er1 >conftest.err
43430 rm -f conftest.er1
43431 cat conftest.err >&5
43432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43433 (exit $ac_status); } &&
43434 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43436 (eval $ac_try) 2>&5
43437 ac_status=$?
43438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43439 (exit $ac_status); }; } &&
43440 { ac_try='test -s conftest.$ac_objext'
43441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43442 (eval $ac_try) 2>&5
43443 ac_status=$?
43444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43445 (exit $ac_status); }; }; then
43446
43447 wx_cv_struct_tm_has_gmtoff=yes
43448
43449 else
43450 echo "$as_me: failed program was:" >&5
43451 sed 's/^/| /' conftest.$ac_ext >&5
43452
43453 wx_cv_struct_tm_has_gmtoff=no
43454
43455 fi
43456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43457
43458 fi
43459 echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43460 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6
43461 fi
43462
43463 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43464 cat >>confdefs.h <<\_ACEOF
43465 #define WX_GMTOFF_IN_TM 1
43466 _ACEOF
43467
43468 fi
43469
43470
43471
43472 for ac_func in gettimeofday ftime
43473 do
43474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43475 echo "$as_me:$LINENO: checking for $ac_func" >&5
43476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43477 if eval "test \"\${$as_ac_var+set}\" = set"; then
43478 echo $ECHO_N "(cached) $ECHO_C" >&6
43479 else
43480 cat >conftest.$ac_ext <<_ACEOF
43481 /* confdefs.h. */
43482 _ACEOF
43483 cat confdefs.h >>conftest.$ac_ext
43484 cat >>conftest.$ac_ext <<_ACEOF
43485 /* end confdefs.h. */
43486 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43488 #define $ac_func innocuous_$ac_func
43489
43490 /* System header to define __stub macros and hopefully few prototypes,
43491 which can conflict with char $ac_func (); below.
43492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43493 <limits.h> exists even on freestanding compilers. */
43494
43495 #ifdef __STDC__
43496 # include <limits.h>
43497 #else
43498 # include <assert.h>
43499 #endif
43500
43501 #undef $ac_func
43502
43503 /* Override any gcc2 internal prototype to avoid an error. */
43504 #ifdef __cplusplus
43505 extern "C"
43506 {
43507 #endif
43508 /* We use char because int might match the return type of a gcc2
43509 builtin and then its argument prototype would still apply. */
43510 char $ac_func ();
43511 /* The GNU C library defines this for functions which it implements
43512 to always fail with ENOSYS. Some functions are actually named
43513 something starting with __ and the normal name is an alias. */
43514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43515 choke me
43516 #else
43517 char (*f) () = $ac_func;
43518 #endif
43519 #ifdef __cplusplus
43520 }
43521 #endif
43522
43523 int
43524 main ()
43525 {
43526 return f != $ac_func;
43527 ;
43528 return 0;
43529 }
43530 _ACEOF
43531 rm -f conftest.$ac_objext conftest$ac_exeext
43532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43533 (eval $ac_link) 2>conftest.er1
43534 ac_status=$?
43535 grep -v '^ *+' conftest.er1 >conftest.err
43536 rm -f conftest.er1
43537 cat conftest.err >&5
43538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43539 (exit $ac_status); } &&
43540 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43542 (eval $ac_try) 2>&5
43543 ac_status=$?
43544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43545 (exit $ac_status); }; } &&
43546 { ac_try='test -s conftest$ac_exeext'
43547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43548 (eval $ac_try) 2>&5
43549 ac_status=$?
43550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43551 (exit $ac_status); }; }; then
43552 eval "$as_ac_var=yes"
43553 else
43554 echo "$as_me: failed program was:" >&5
43555 sed 's/^/| /' conftest.$ac_ext >&5
43556
43557 eval "$as_ac_var=no"
43558 fi
43559 rm -f conftest.err conftest.$ac_objext \
43560 conftest$ac_exeext conftest.$ac_ext
43561 fi
43562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43563 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43564 if test `eval echo '${'$as_ac_var'}'` = yes; then
43565 cat >>confdefs.h <<_ACEOF
43566 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43567 _ACEOF
43568 break
43569 fi
43570 done
43571
43572
43573 if test "$ac_cv_func_gettimeofday" = "yes"; then
43574 echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43575 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6
43576 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43577 echo $ECHO_N "(cached) $ECHO_C" >&6
43578 else
43579
43580 cat >conftest.$ac_ext <<_ACEOF
43581 /* confdefs.h. */
43582 _ACEOF
43583 cat confdefs.h >>conftest.$ac_ext
43584 cat >>conftest.$ac_ext <<_ACEOF
43585 /* end confdefs.h. */
43586
43587 #include <sys/time.h>
43588 #include <unistd.h>
43589
43590 int
43591 main ()
43592 {
43593
43594 struct timeval tv;
43595 gettimeofday(&tv, NULL);
43596
43597 ;
43598 return 0;
43599 }
43600 _ACEOF
43601 rm -f conftest.$ac_objext
43602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43603 (eval $ac_compile) 2>conftest.er1
43604 ac_status=$?
43605 grep -v '^ *+' conftest.er1 >conftest.err
43606 rm -f conftest.er1
43607 cat conftest.err >&5
43608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43609 (exit $ac_status); } &&
43610 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43612 (eval $ac_try) 2>&5
43613 ac_status=$?
43614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43615 (exit $ac_status); }; } &&
43616 { ac_try='test -s conftest.$ac_objext'
43617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43618 (eval $ac_try) 2>&5
43619 ac_status=$?
43620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43621 (exit $ac_status); }; }; then
43622 wx_cv_func_gettimeofday_has_2_args=yes
43623 else
43624 echo "$as_me: failed program was:" >&5
43625 sed 's/^/| /' conftest.$ac_ext >&5
43626
43627 cat >conftest.$ac_ext <<_ACEOF
43628 /* confdefs.h. */
43629 _ACEOF
43630 cat confdefs.h >>conftest.$ac_ext
43631 cat >>conftest.$ac_ext <<_ACEOF
43632 /* end confdefs.h. */
43633
43634 #include <sys/time.h>
43635 #include <unistd.h>
43636
43637 int
43638 main ()
43639 {
43640
43641 struct timeval tv;
43642 gettimeofday(&tv);
43643
43644 ;
43645 return 0;
43646 }
43647 _ACEOF
43648 rm -f conftest.$ac_objext
43649 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43650 (eval $ac_compile) 2>conftest.er1
43651 ac_status=$?
43652 grep -v '^ *+' conftest.er1 >conftest.err
43653 rm -f conftest.er1
43654 cat conftest.err >&5
43655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43656 (exit $ac_status); } &&
43657 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43659 (eval $ac_try) 2>&5
43660 ac_status=$?
43661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43662 (exit $ac_status); }; } &&
43663 { ac_try='test -s conftest.$ac_objext'
43664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43665 (eval $ac_try) 2>&5
43666 ac_status=$?
43667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43668 (exit $ac_status); }; }; then
43669 wx_cv_func_gettimeofday_has_2_args=no
43670 else
43671 echo "$as_me: failed program was:" >&5
43672 sed 's/^/| /' conftest.$ac_ext >&5
43673
43674
43675 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43676 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43677 wx_cv_func_gettimeofday_has_2_args=unknown
43678
43679
43680 fi
43681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43682
43683 fi
43684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43685
43686 fi
43687 echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43688 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6
43689
43690 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43691 cat >>confdefs.h <<\_ACEOF
43692 #define WX_GETTIMEOFDAY_NO_TZ 1
43693 _ACEOF
43694
43695 fi
43696 fi
43697
43698 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
43699 fi
43700
43701
43702 if test "$wxUSE_SOCKETS" = "yes"; then
43703 if test "$wxUSE_MGL" = "1"; then
43704 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43705 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43706 wxUSE_SOCKETS="no"
43707 fi
43708 fi
43709
43710 if test "$wxUSE_SOCKETS" = "yes"; then
43711 if test "$TOOLKIT" != "MSW"; then
43712 echo "$as_me:$LINENO: checking for socket" >&5
43713 echo $ECHO_N "checking for socket... $ECHO_C" >&6
43714 if test "${ac_cv_func_socket+set}" = set; then
43715 echo $ECHO_N "(cached) $ECHO_C" >&6
43716 else
43717 cat >conftest.$ac_ext <<_ACEOF
43718 /* confdefs.h. */
43719 _ACEOF
43720 cat confdefs.h >>conftest.$ac_ext
43721 cat >>conftest.$ac_ext <<_ACEOF
43722 /* end confdefs.h. */
43723 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43725 #define socket innocuous_socket
43726
43727 /* System header to define __stub macros and hopefully few prototypes,
43728 which can conflict with char socket (); below.
43729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43730 <limits.h> exists even on freestanding compilers. */
43731
43732 #ifdef __STDC__
43733 # include <limits.h>
43734 #else
43735 # include <assert.h>
43736 #endif
43737
43738 #undef socket
43739
43740 /* Override any gcc2 internal prototype to avoid an error. */
43741 #ifdef __cplusplus
43742 extern "C"
43743 {
43744 #endif
43745 /* We use char because int might match the return type of a gcc2
43746 builtin and then its argument prototype would still apply. */
43747 char socket ();
43748 /* The GNU C library defines this for functions which it implements
43749 to always fail with ENOSYS. Some functions are actually named
43750 something starting with __ and the normal name is an alias. */
43751 #if defined (__stub_socket) || defined (__stub___socket)
43752 choke me
43753 #else
43754 char (*f) () = socket;
43755 #endif
43756 #ifdef __cplusplus
43757 }
43758 #endif
43759
43760 int
43761 main ()
43762 {
43763 return f != socket;
43764 ;
43765 return 0;
43766 }
43767 _ACEOF
43768 rm -f conftest.$ac_objext conftest$ac_exeext
43769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43770 (eval $ac_link) 2>conftest.er1
43771 ac_status=$?
43772 grep -v '^ *+' conftest.er1 >conftest.err
43773 rm -f conftest.er1
43774 cat conftest.err >&5
43775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43776 (exit $ac_status); } &&
43777 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43779 (eval $ac_try) 2>&5
43780 ac_status=$?
43781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43782 (exit $ac_status); }; } &&
43783 { ac_try='test -s conftest$ac_exeext'
43784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43785 (eval $ac_try) 2>&5
43786 ac_status=$?
43787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43788 (exit $ac_status); }; }; then
43789 ac_cv_func_socket=yes
43790 else
43791 echo "$as_me: failed program was:" >&5
43792 sed 's/^/| /' conftest.$ac_ext >&5
43793
43794 ac_cv_func_socket=no
43795 fi
43796 rm -f conftest.err conftest.$ac_objext \
43797 conftest$ac_exeext conftest.$ac_ext
43798 fi
43799 echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43800 echo "${ECHO_T}$ac_cv_func_socket" >&6
43801 if test $ac_cv_func_socket = yes; then
43802 :
43803 else
43804
43805 echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43806 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6
43807 if test "${ac_cv_lib_socket_socket+set}" = set; then
43808 echo $ECHO_N "(cached) $ECHO_C" >&6
43809 else
43810 ac_check_lib_save_LIBS=$LIBS
43811 LIBS="-lsocket $LIBS"
43812 cat >conftest.$ac_ext <<_ACEOF
43813 /* confdefs.h. */
43814 _ACEOF
43815 cat confdefs.h >>conftest.$ac_ext
43816 cat >>conftest.$ac_ext <<_ACEOF
43817 /* end confdefs.h. */
43818
43819 /* Override any gcc2 internal prototype to avoid an error. */
43820 #ifdef __cplusplus
43821 extern "C"
43822 #endif
43823 /* We use char because int might match the return type of a gcc2
43824 builtin and then its argument prototype would still apply. */
43825 char socket ();
43826 int
43827 main ()
43828 {
43829 socket ();
43830 ;
43831 return 0;
43832 }
43833 _ACEOF
43834 rm -f conftest.$ac_objext conftest$ac_exeext
43835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43836 (eval $ac_link) 2>conftest.er1
43837 ac_status=$?
43838 grep -v '^ *+' conftest.er1 >conftest.err
43839 rm -f conftest.er1
43840 cat conftest.err >&5
43841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43842 (exit $ac_status); } &&
43843 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43845 (eval $ac_try) 2>&5
43846 ac_status=$?
43847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43848 (exit $ac_status); }; } &&
43849 { ac_try='test -s conftest$ac_exeext'
43850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43851 (eval $ac_try) 2>&5
43852 ac_status=$?
43853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43854 (exit $ac_status); }; }; then
43855 ac_cv_lib_socket_socket=yes
43856 else
43857 echo "$as_me: failed program was:" >&5
43858 sed 's/^/| /' conftest.$ac_ext >&5
43859
43860 ac_cv_lib_socket_socket=no
43861 fi
43862 rm -f conftest.err conftest.$ac_objext \
43863 conftest$ac_exeext conftest.$ac_ext
43864 LIBS=$ac_check_lib_save_LIBS
43865 fi
43866 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43867 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6
43868 if test $ac_cv_lib_socket_socket = yes; then
43869 if test "$INET_LINK" != " -lsocket"; then
43870 INET_LINK="$INET_LINK -lsocket"
43871 fi
43872 else
43873
43874 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43875 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43876 wxUSE_SOCKETS=no
43877
43878
43879 fi
43880
43881
43882
43883 fi
43884
43885 fi
43886 fi
43887
43888 if test "$wxUSE_SOCKETS" = "yes" ; then
43889 if test "$TOOLKIT" != "MSW"; then
43890 echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43891 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6
43892 if test "${wx_cv_type_getsockname3+set}" = set; then
43893 echo $ECHO_N "(cached) $ECHO_C" >&6
43894 else
43895
43896 cat >conftest.$ac_ext <<_ACEOF
43897 /* confdefs.h. */
43898 _ACEOF
43899 cat confdefs.h >>conftest.$ac_ext
43900 cat >>conftest.$ac_ext <<_ACEOF
43901 /* end confdefs.h. */
43902
43903 #include <sys/types.h>
43904 #include <sys/socket.h>
43905
43906 int
43907 main ()
43908 {
43909
43910 socklen_t len;
43911 getsockname(0, 0, &len);
43912
43913 ;
43914 return 0;
43915 }
43916 _ACEOF
43917 rm -f conftest.$ac_objext
43918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43919 (eval $ac_compile) 2>conftest.er1
43920 ac_status=$?
43921 grep -v '^ *+' conftest.er1 >conftest.err
43922 rm -f conftest.er1
43923 cat conftest.err >&5
43924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43925 (exit $ac_status); } &&
43926 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43928 (eval $ac_try) 2>&5
43929 ac_status=$?
43930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43931 (exit $ac_status); }; } &&
43932 { ac_try='test -s conftest.$ac_objext'
43933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43934 (eval $ac_try) 2>&5
43935 ac_status=$?
43936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43937 (exit $ac_status); }; }; then
43938 wx_cv_type_getsockname3=socklen_t
43939 else
43940 echo "$as_me: failed program was:" >&5
43941 sed 's/^/| /' conftest.$ac_ext >&5
43942
43943
43944 CXXFLAGS_OLD="$CXXFLAGS"
43945 if test "$GCC" = yes ; then
43946 CXXFLAGS="-Werror $CXXFLAGS"
43947 fi
43948
43949 cat >conftest.$ac_ext <<_ACEOF
43950 /* confdefs.h. */
43951 _ACEOF
43952 cat confdefs.h >>conftest.$ac_ext
43953 cat >>conftest.$ac_ext <<_ACEOF
43954 /* end confdefs.h. */
43955
43956 #include <sys/types.h>
43957 #include <sys/socket.h>
43958
43959 int
43960 main ()
43961 {
43962
43963 size_t len;
43964 getsockname(0, 0, &len);
43965
43966 ;
43967 return 0;
43968 }
43969 _ACEOF
43970 rm -f conftest.$ac_objext
43971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43972 (eval $ac_compile) 2>conftest.er1
43973 ac_status=$?
43974 grep -v '^ *+' conftest.er1 >conftest.err
43975 rm -f conftest.er1
43976 cat conftest.err >&5
43977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43978 (exit $ac_status); } &&
43979 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
43980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43981 (eval $ac_try) 2>&5
43982 ac_status=$?
43983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43984 (exit $ac_status); }; } &&
43985 { ac_try='test -s conftest.$ac_objext'
43986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43987 (eval $ac_try) 2>&5
43988 ac_status=$?
43989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43990 (exit $ac_status); }; }; then
43991 wx_cv_type_getsockname3=size_t
43992 else
43993 echo "$as_me: failed program was:" >&5
43994 sed 's/^/| /' conftest.$ac_ext >&5
43995
43996 cat >conftest.$ac_ext <<_ACEOF
43997 /* confdefs.h. */
43998 _ACEOF
43999 cat confdefs.h >>conftest.$ac_ext
44000 cat >>conftest.$ac_ext <<_ACEOF
44001 /* end confdefs.h. */
44002
44003 #include <sys/types.h>
44004 #include <sys/socket.h>
44005
44006 int
44007 main ()
44008 {
44009
44010 int len;
44011 getsockname(0, 0, &len);
44012
44013 ;
44014 return 0;
44015 }
44016 _ACEOF
44017 rm -f conftest.$ac_objext
44018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44019 (eval $ac_compile) 2>conftest.er1
44020 ac_status=$?
44021 grep -v '^ *+' conftest.er1 >conftest.err
44022 rm -f conftest.er1
44023 cat conftest.err >&5
44024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44025 (exit $ac_status); } &&
44026 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44028 (eval $ac_try) 2>&5
44029 ac_status=$?
44030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44031 (exit $ac_status); }; } &&
44032 { ac_try='test -s conftest.$ac_objext'
44033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44034 (eval $ac_try) 2>&5
44035 ac_status=$?
44036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44037 (exit $ac_status); }; }; then
44038 wx_cv_type_getsockname3=int
44039 else
44040 echo "$as_me: failed program was:" >&5
44041 sed 's/^/| /' conftest.$ac_ext >&5
44042
44043 wx_cv_type_getsockname3=unknown
44044
44045 fi
44046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44047
44048 fi
44049 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44050
44051 CXXFLAGS="$CXXFLAGS_OLD"
44052
44053
44054 fi
44055 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44056
44057 fi
44058 echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44059 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6
44060
44061 if test "$wx_cv_type_getsockname3" = "unknown"; then
44062 wxUSE_SOCKETS=no
44063 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44064 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44065 else
44066 cat >>confdefs.h <<_ACEOF
44067 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44068 _ACEOF
44069
44070 fi
44071 echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44072 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6
44073 if test "${wx_cv_type_getsockopt5+set}" = set; then
44074 echo $ECHO_N "(cached) $ECHO_C" >&6
44075 else
44076
44077 cat >conftest.$ac_ext <<_ACEOF
44078 /* confdefs.h. */
44079 _ACEOF
44080 cat confdefs.h >>conftest.$ac_ext
44081 cat >>conftest.$ac_ext <<_ACEOF
44082 /* end confdefs.h. */
44083
44084 #include <sys/types.h>
44085 #include <sys/socket.h>
44086
44087 int
44088 main ()
44089 {
44090
44091 socklen_t len;
44092 getsockopt(0, 0, 0, 0, &len);
44093
44094 ;
44095 return 0;
44096 }
44097 _ACEOF
44098 rm -f conftest.$ac_objext
44099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44100 (eval $ac_compile) 2>conftest.er1
44101 ac_status=$?
44102 grep -v '^ *+' conftest.er1 >conftest.err
44103 rm -f conftest.er1
44104 cat conftest.err >&5
44105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44106 (exit $ac_status); } &&
44107 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44109 (eval $ac_try) 2>&5
44110 ac_status=$?
44111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44112 (exit $ac_status); }; } &&
44113 { ac_try='test -s conftest.$ac_objext'
44114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44115 (eval $ac_try) 2>&5
44116 ac_status=$?
44117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44118 (exit $ac_status); }; }; then
44119 wx_cv_type_getsockopt5=socklen_t
44120 else
44121 echo "$as_me: failed program was:" >&5
44122 sed 's/^/| /' conftest.$ac_ext >&5
44123
44124
44125 CXXFLAGS_OLD="$CXXFLAGS"
44126 if test "$GCC" = yes ; then
44127 CXXFLAGS="-Werror $CXXFLAGS"
44128 fi
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 <sys/types.h>
44138 #include <sys/socket.h>
44139
44140 int
44141 main ()
44142 {
44143
44144 size_t len;
44145 getsockopt(0, 0, 0, 0, &len);
44146
44147 ;
44148 return 0;
44149 }
44150 _ACEOF
44151 rm -f conftest.$ac_objext
44152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44153 (eval $ac_compile) 2>conftest.er1
44154 ac_status=$?
44155 grep -v '^ *+' conftest.er1 >conftest.err
44156 rm -f conftest.er1
44157 cat conftest.err >&5
44158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44159 (exit $ac_status); } &&
44160 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44162 (eval $ac_try) 2>&5
44163 ac_status=$?
44164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44165 (exit $ac_status); }; } &&
44166 { ac_try='test -s conftest.$ac_objext'
44167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44168 (eval $ac_try) 2>&5
44169 ac_status=$?
44170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44171 (exit $ac_status); }; }; then
44172 wx_cv_type_getsockopt5=size_t
44173 else
44174 echo "$as_me: failed program was:" >&5
44175 sed 's/^/| /' conftest.$ac_ext >&5
44176
44177 cat >conftest.$ac_ext <<_ACEOF
44178 /* confdefs.h. */
44179 _ACEOF
44180 cat confdefs.h >>conftest.$ac_ext
44181 cat >>conftest.$ac_ext <<_ACEOF
44182 /* end confdefs.h. */
44183
44184 #include <sys/types.h>
44185 #include <sys/socket.h>
44186
44187 int
44188 main ()
44189 {
44190
44191 int len;
44192 getsockopt(0, 0, 0, 0, &len);
44193
44194 ;
44195 return 0;
44196 }
44197 _ACEOF
44198 rm -f conftest.$ac_objext
44199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44200 (eval $ac_compile) 2>conftest.er1
44201 ac_status=$?
44202 grep -v '^ *+' conftest.er1 >conftest.err
44203 rm -f conftest.er1
44204 cat conftest.err >&5
44205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44206 (exit $ac_status); } &&
44207 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44209 (eval $ac_try) 2>&5
44210 ac_status=$?
44211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44212 (exit $ac_status); }; } &&
44213 { ac_try='test -s conftest.$ac_objext'
44214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44215 (eval $ac_try) 2>&5
44216 ac_status=$?
44217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44218 (exit $ac_status); }; }; then
44219 wx_cv_type_getsockopt5=int
44220 else
44221 echo "$as_me: failed program was:" >&5
44222 sed 's/^/| /' conftest.$ac_ext >&5
44223
44224 wx_cv_type_getsockopt5=unknown
44225
44226 fi
44227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44228
44229 fi
44230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44231
44232 CXXFLAGS="$CXXFLAGS_OLD"
44233
44234
44235 fi
44236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44237
44238 fi
44239 echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44240 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6
44241
44242 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44243 wxUSE_SOCKETS=no
44244 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44245 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44246 else
44247 cat >>confdefs.h <<_ACEOF
44248 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44249 _ACEOF
44250
44251 fi
44252 fi
44253 fi
44254
44255 if test "$wxUSE_SOCKETS" = "yes" ; then
44256 cat >>confdefs.h <<\_ACEOF
44257 #define wxUSE_SOCKETS 1
44258 _ACEOF
44259
44260 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44261 fi
44262
44263 if test "$wxUSE_PROTOCOL" = "yes"; then
44264 if test "$wxUSE_SOCKETS" != "yes"; then
44265 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44266 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44267 wxUSE_PROTOCOL=no
44268 fi
44269 fi
44270
44271 if test "$wxUSE_PROTOCOL" = "yes"; then
44272 cat >>confdefs.h <<\_ACEOF
44273 #define wxUSE_PROTOCOL 1
44274 _ACEOF
44275
44276
44277 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44278 cat >>confdefs.h <<\_ACEOF
44279 #define wxUSE_PROTOCOL_HTTP 1
44280 _ACEOF
44281
44282 fi
44283 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44284 cat >>confdefs.h <<\_ACEOF
44285 #define wxUSE_PROTOCOL_FTP 1
44286 _ACEOF
44287
44288 fi
44289 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44290 cat >>confdefs.h <<\_ACEOF
44291 #define wxUSE_PROTOCOL_FILE 1
44292 _ACEOF
44293
44294 fi
44295 else
44296 if test "$wxUSE_FS_INET" = "yes"; then
44297 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44298 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44299 wxUSE_FS_INET="no"
44300 fi
44301 fi
44302
44303 if test "$wxUSE_URL" = "yes"; then
44304 if test "$wxUSE_PROTOCOL" != "yes"; then
44305 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44306 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44307 wxUSE_URL=no
44308 fi
44309 if test "$wxUSE_URL" = "yes"; then
44310 cat >>confdefs.h <<\_ACEOF
44311 #define wxUSE_URL 1
44312 _ACEOF
44313
44314 fi
44315 fi
44316
44317 if test "$wxUSE_VARIANT" = "yes"; then
44318 cat >>confdefs.h <<\_ACEOF
44319 #define wxUSE_VARIANT 1
44320 _ACEOF
44321
44322 fi
44323
44324 if test "$wxUSE_FS_INET" = "yes"; then
44325 cat >>confdefs.h <<\_ACEOF
44326 #define wxUSE_FS_INET 1
44327 _ACEOF
44328
44329 fi
44330
44331
44332 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44333 wxUSE_JOYSTICK=no
44334
44335 if test "$TOOLKIT" = "MSW"; then
44336 wxUSE_JOYSTICK=yes
44337
44338 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44339 if test "$USE_DARWIN" = 1; then
44340 echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44341 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6
44342 cat >conftest.$ac_ext <<_ACEOF
44343 /* confdefs.h. */
44344 _ACEOF
44345 cat confdefs.h >>conftest.$ac_ext
44346 cat >>conftest.$ac_ext <<_ACEOF
44347 /* end confdefs.h. */
44348 #include <IOKit/hid/IOHIDLib.h>
44349 int
44350 main ()
44351 {
44352 IOHIDQueueInterface *qi = NULL;
44353 IOHIDCallbackFunction cb = NULL;
44354 qi->setEventCallout(NULL, cb, NULL, NULL);
44355 ;
44356 return 0;
44357 }
44358 _ACEOF
44359 rm -f conftest.$ac_objext
44360 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44361 (eval $ac_compile) 2>conftest.er1
44362 ac_status=$?
44363 grep -v '^ *+' conftest.er1 >conftest.err
44364 rm -f conftest.er1
44365 cat conftest.err >&5
44366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44367 (exit $ac_status); } &&
44368 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44370 (eval $ac_try) 2>&5
44371 ac_status=$?
44372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44373 (exit $ac_status); }; } &&
44374 { ac_try='test -s conftest.$ac_objext'
44375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44376 (eval $ac_try) 2>&5
44377 ac_status=$?
44378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44379 (exit $ac_status); }; }; then
44380 wxUSE_JOYSTICK=yes
44381
44382 else
44383 echo "$as_me: failed program was:" >&5
44384 sed 's/^/| /' conftest.$ac_ext >&5
44385
44386 fi
44387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44388 echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44389 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6
44390 fi
44391
44392 else
44393
44394 for ac_header in linux/joystick.h
44395 do
44396 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44397 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44398 echo "$as_me:$LINENO: checking for $ac_header" >&5
44399 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44400 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44401 echo $ECHO_N "(cached) $ECHO_C" >&6
44402 fi
44403 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44404 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44405 else
44406 # Is the header compilable?
44407 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44408 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44409 cat >conftest.$ac_ext <<_ACEOF
44410 /* confdefs.h. */
44411 _ACEOF
44412 cat confdefs.h >>conftest.$ac_ext
44413 cat >>conftest.$ac_ext <<_ACEOF
44414 /* end confdefs.h. */
44415 $ac_includes_default
44416 #include <$ac_header>
44417 _ACEOF
44418 rm -f conftest.$ac_objext
44419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44420 (eval $ac_compile) 2>conftest.er1
44421 ac_status=$?
44422 grep -v '^ *+' conftest.er1 >conftest.err
44423 rm -f conftest.er1
44424 cat conftest.err >&5
44425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44426 (exit $ac_status); } &&
44427 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44429 (eval $ac_try) 2>&5
44430 ac_status=$?
44431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44432 (exit $ac_status); }; } &&
44433 { ac_try='test -s conftest.$ac_objext'
44434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44435 (eval $ac_try) 2>&5
44436 ac_status=$?
44437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44438 (exit $ac_status); }; }; then
44439 ac_header_compiler=yes
44440 else
44441 echo "$as_me: failed program was:" >&5
44442 sed 's/^/| /' conftest.$ac_ext >&5
44443
44444 ac_header_compiler=no
44445 fi
44446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44447 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44448 echo "${ECHO_T}$ac_header_compiler" >&6
44449
44450 # Is the header present?
44451 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44452 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44453 cat >conftest.$ac_ext <<_ACEOF
44454 /* confdefs.h. */
44455 _ACEOF
44456 cat confdefs.h >>conftest.$ac_ext
44457 cat >>conftest.$ac_ext <<_ACEOF
44458 /* end confdefs.h. */
44459 #include <$ac_header>
44460 _ACEOF
44461 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44462 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44463 ac_status=$?
44464 grep -v '^ *+' conftest.er1 >conftest.err
44465 rm -f conftest.er1
44466 cat conftest.err >&5
44467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44468 (exit $ac_status); } >/dev/null; then
44469 if test -s conftest.err; then
44470 ac_cpp_err=$ac_cxx_preproc_warn_flag
44471 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
44472 else
44473 ac_cpp_err=
44474 fi
44475 else
44476 ac_cpp_err=yes
44477 fi
44478 if test -z "$ac_cpp_err"; then
44479 ac_header_preproc=yes
44480 else
44481 echo "$as_me: failed program was:" >&5
44482 sed 's/^/| /' conftest.$ac_ext >&5
44483
44484 ac_header_preproc=no
44485 fi
44486 rm -f conftest.err conftest.$ac_ext
44487 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44488 echo "${ECHO_T}$ac_header_preproc" >&6
44489
44490 # So? What about this header?
44491 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44492 yes:no: )
44493 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44494 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44495 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44496 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44497 ac_header_preproc=yes
44498 ;;
44499 no:yes:* )
44500 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44501 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44502 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44503 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44504 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44505 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44506 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44507 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44508 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44509 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44510 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44511 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44512 (
44513 cat <<\_ASBOX
44514 ## ----------------------------------------- ##
44515 ## Report this to wx-dev@lists.wxwidgets.org ##
44516 ## ----------------------------------------- ##
44517 _ASBOX
44518 ) |
44519 sed "s/^/$as_me: WARNING: /" >&2
44520 ;;
44521 esac
44522 echo "$as_me:$LINENO: checking for $ac_header" >&5
44523 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44524 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44525 echo $ECHO_N "(cached) $ECHO_C" >&6
44526 else
44527 eval "$as_ac_Header=\$ac_header_preproc"
44528 fi
44529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44530 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44531
44532 fi
44533 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44534 cat >>confdefs.h <<_ACEOF
44535 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44536 _ACEOF
44537 wxUSE_JOYSTICK=yes
44538 fi
44539
44540 done
44541
44542 fi
44543
44544 if test "$wxUSE_JOYSTICK" = "yes"; then
44545 cat >>confdefs.h <<\_ACEOF
44546 #define wxUSE_JOYSTICK 1
44547 _ACEOF
44548
44549 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44550 else
44551 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44552 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44553 fi
44554 fi
44555
44556
44557
44558 if test "$wxUSE_FONTMAP" = "yes" ; then
44559 cat >>confdefs.h <<\_ACEOF
44560 #define wxUSE_FONTMAP 1
44561 _ACEOF
44562
44563 fi
44564
44565 if test "$wxUSE_UNICODE" = "yes" ; then
44566 cat >>confdefs.h <<\_ACEOF
44567 #define wxUSE_UNICODE 1
44568 _ACEOF
44569
44570
44571 if test "$USE_WIN32" != 1; then
44572 wxUSE_UNICODE_MSLU=no
44573 fi
44574
44575 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44576 echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44577 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6
44578 if test "${ac_cv_lib_unicows_main+set}" = set; then
44579 echo $ECHO_N "(cached) $ECHO_C" >&6
44580 else
44581 ac_check_lib_save_LIBS=$LIBS
44582 LIBS="-lunicows $LIBS"
44583 cat >conftest.$ac_ext <<_ACEOF
44584 /* confdefs.h. */
44585 _ACEOF
44586 cat confdefs.h >>conftest.$ac_ext
44587 cat >>conftest.$ac_ext <<_ACEOF
44588 /* end confdefs.h. */
44589
44590
44591 int
44592 main ()
44593 {
44594 main ();
44595 ;
44596 return 0;
44597 }
44598 _ACEOF
44599 rm -f conftest.$ac_objext conftest$ac_exeext
44600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44601 (eval $ac_link) 2>conftest.er1
44602 ac_status=$?
44603 grep -v '^ *+' conftest.er1 >conftest.err
44604 rm -f conftest.er1
44605 cat conftest.err >&5
44606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44607 (exit $ac_status); } &&
44608 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44610 (eval $ac_try) 2>&5
44611 ac_status=$?
44612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44613 (exit $ac_status); }; } &&
44614 { ac_try='test -s conftest$ac_exeext'
44615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44616 (eval $ac_try) 2>&5
44617 ac_status=$?
44618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44619 (exit $ac_status); }; }; then
44620 ac_cv_lib_unicows_main=yes
44621 else
44622 echo "$as_me: failed program was:" >&5
44623 sed 's/^/| /' conftest.$ac_ext >&5
44624
44625 ac_cv_lib_unicows_main=no
44626 fi
44627 rm -f conftest.err conftest.$ac_objext \
44628 conftest$ac_exeext conftest.$ac_ext
44629 LIBS=$ac_check_lib_save_LIBS
44630 fi
44631 echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44632 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6
44633 if test $ac_cv_lib_unicows_main = yes; then
44634
44635 cat >>confdefs.h <<\_ACEOF
44636 #define wxUSE_UNICODE_MSLU 1
44637 _ACEOF
44638
44639
44640 else
44641
44642 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44643 Applications will only run on Windows NT/2000/XP!" >&5
44644 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44645 Applications will only run on Windows NT/2000/XP!" >&2;}
44646 wxUSE_UNICODE_MSLU=no
44647
44648 fi
44649
44650 fi
44651 fi
44652
44653 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
44654 cat >>confdefs.h <<\_ACEOF
44655 #define wxUSE_EXPERIMENTAL_PRINTF 1
44656 _ACEOF
44657
44658 fi
44659
44660
44661 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44662 cat >>confdefs.h <<\_ACEOF
44663 #define wxUSE_POSTSCRIPT 1
44664 _ACEOF
44665
44666 fi
44667
44668 cat >>confdefs.h <<\_ACEOF
44669 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44670 _ACEOF
44671
44672
44673 cat >>confdefs.h <<\_ACEOF
44674 #define wxUSE_NORMALIZED_PS_FONTS 1
44675 _ACEOF
44676
44677
44678
44679 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44680 cat >>confdefs.h <<\_ACEOF
44681 #define wxUSE_CONSTRAINTS 1
44682 _ACEOF
44683
44684 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
44685 fi
44686
44687 if test "$wxUSE_MDI" = "yes"; then
44688 cat >>confdefs.h <<\_ACEOF
44689 #define wxUSE_MDI 1
44690 _ACEOF
44691
44692
44693 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44694 cat >>confdefs.h <<\_ACEOF
44695 #define wxUSE_MDI_ARCHITECTURE 1
44696 _ACEOF
44697
44698 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
44699 fi
44700 fi
44701
44702 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44703 cat >>confdefs.h <<\_ACEOF
44704 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44705 _ACEOF
44706
44707 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
44708 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44709 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
44710 fi
44711 fi
44712
44713 if test "$wxUSE_HELP" = "yes"; then
44714 cat >>confdefs.h <<\_ACEOF
44715 #define wxUSE_HELP 1
44716 _ACEOF
44717
44718 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
44719
44720 if test "$wxUSE_MSW" = 1; then
44721 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44722 cat >>confdefs.h <<\_ACEOF
44723 #define wxUSE_MS_HTML_HELP 1
44724 _ACEOF
44725
44726 fi
44727 fi
44728
44729 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44730 if test "$wxUSE_HTML" = "yes"; then
44731 cat >>confdefs.h <<\_ACEOF
44732 #define wxUSE_WXHTML_HELP 1
44733 _ACEOF
44734
44735 else
44736 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44737 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44738 wxUSE_WXHTML_HELP=no
44739 fi
44740 fi
44741 fi
44742
44743 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44744 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44745 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44746 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44747 else
44748 cat >>confdefs.h <<\_ACEOF
44749 #define wxUSE_PRINTING_ARCHITECTURE 1
44750 _ACEOF
44751
44752 fi
44753 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
44754 fi
44755
44756 if test "$wxUSE_PROLOGIO" = "yes" -o "$wxUSE_RESOURCES" = "yes"; then
44757 { { echo "$as_me:$LINENO: error: wxExpr and old-style resources are now available in contrib only" >&5
44758 echo "$as_me: error: wxExpr and old-style resources are now available in contrib only" >&2;}
44759 { (exit 1); exit 1; }; }
44760 fi
44761
44762
44763 if test "$wxUSE_METAFILE" = "yes"; then
44764 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44765 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44766 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44767 wxUSE_METAFILE=no
44768 fi
44769 fi
44770
44771
44772 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
44773 -o "$wxUSE_CLIPBOARD" = "yes" \
44774 -o "$wxUSE_OLE" = "yes" \
44775 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
44776
44777 for ac_header in ole2.h
44778 do
44779 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44780 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44781 echo "$as_me:$LINENO: checking for $ac_header" >&5
44782 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44783 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44784 echo $ECHO_N "(cached) $ECHO_C" >&6
44785 fi
44786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44787 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44788 else
44789 # Is the header compilable?
44790 echo "$as_me:$LINENO: checking $ac_header usability" >&5
44791 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
44792 cat >conftest.$ac_ext <<_ACEOF
44793 /* confdefs.h. */
44794 _ACEOF
44795 cat confdefs.h >>conftest.$ac_ext
44796 cat >>conftest.$ac_ext <<_ACEOF
44797 /* end confdefs.h. */
44798 $ac_includes_default
44799 #include <$ac_header>
44800 _ACEOF
44801 rm -f conftest.$ac_objext
44802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44803 (eval $ac_compile) 2>conftest.er1
44804 ac_status=$?
44805 grep -v '^ *+' conftest.er1 >conftest.err
44806 rm -f conftest.er1
44807 cat conftest.err >&5
44808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44809 (exit $ac_status); } &&
44810 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44812 (eval $ac_try) 2>&5
44813 ac_status=$?
44814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44815 (exit $ac_status); }; } &&
44816 { ac_try='test -s conftest.$ac_objext'
44817 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44818 (eval $ac_try) 2>&5
44819 ac_status=$?
44820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44821 (exit $ac_status); }; }; then
44822 ac_header_compiler=yes
44823 else
44824 echo "$as_me: failed program was:" >&5
44825 sed 's/^/| /' conftest.$ac_ext >&5
44826
44827 ac_header_compiler=no
44828 fi
44829 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44830 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
44831 echo "${ECHO_T}$ac_header_compiler" >&6
44832
44833 # Is the header present?
44834 echo "$as_me:$LINENO: checking $ac_header presence" >&5
44835 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
44836 cat >conftest.$ac_ext <<_ACEOF
44837 /* confdefs.h. */
44838 _ACEOF
44839 cat confdefs.h >>conftest.$ac_ext
44840 cat >>conftest.$ac_ext <<_ACEOF
44841 /* end confdefs.h. */
44842 #include <$ac_header>
44843 _ACEOF
44844 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
44845 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
44846 ac_status=$?
44847 grep -v '^ *+' conftest.er1 >conftest.err
44848 rm -f conftest.er1
44849 cat conftest.err >&5
44850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44851 (exit $ac_status); } >/dev/null; then
44852 if test -s conftest.err; then
44853 ac_cpp_err=$ac_cxx_preproc_warn_flag
44854 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
44855 else
44856 ac_cpp_err=
44857 fi
44858 else
44859 ac_cpp_err=yes
44860 fi
44861 if test -z "$ac_cpp_err"; then
44862 ac_header_preproc=yes
44863 else
44864 echo "$as_me: failed program was:" >&5
44865 sed 's/^/| /' conftest.$ac_ext >&5
44866
44867 ac_header_preproc=no
44868 fi
44869 rm -f conftest.err conftest.$ac_ext
44870 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
44871 echo "${ECHO_T}$ac_header_preproc" >&6
44872
44873 # So? What about this header?
44874 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
44875 yes:no: )
44876 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44877 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44878 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44879 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44880 ac_header_preproc=yes
44881 ;;
44882 no:yes:* )
44883 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44884 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44885 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44886 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44887 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44888 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44889 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44890 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44891 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44892 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44893 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44894 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44895 (
44896 cat <<\_ASBOX
44897 ## ----------------------------------------- ##
44898 ## Report this to wx-dev@lists.wxwidgets.org ##
44899 ## ----------------------------------------- ##
44900 _ASBOX
44901 ) |
44902 sed "s/^/$as_me: WARNING: /" >&2
44903 ;;
44904 esac
44905 echo "$as_me:$LINENO: checking for $ac_header" >&5
44906 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44907 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44908 echo $ECHO_N "(cached) $ECHO_C" >&6
44909 else
44910 eval "$as_ac_Header=\$ac_header_preproc"
44911 fi
44912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44913 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44914
44915 fi
44916 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44917 cat >>confdefs.h <<_ACEOF
44918 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44919 _ACEOF
44920
44921 fi
44922
44923 done
44924
44925
44926 if test "$ac_cv_header_ole2_h" = "yes" ; then
44927 if test "$GCC" = yes ; then
44928 echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44929 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6
44930 cat >conftest.$ac_ext <<_ACEOF
44931 /* confdefs.h. */
44932 _ACEOF
44933 cat confdefs.h >>conftest.$ac_ext
44934 cat >>conftest.$ac_ext <<_ACEOF
44935 /* end confdefs.h. */
44936 #include <windows.h>
44937 #include <ole2.h>
44938 int
44939 main ()
44940 {
44941
44942 ;
44943 return 0;
44944 }
44945 _ACEOF
44946 rm -f conftest.$ac_objext
44947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44948 (eval $ac_compile) 2>conftest.er1
44949 ac_status=$?
44950 grep -v '^ *+' conftest.er1 >conftest.err
44951 rm -f conftest.er1
44952 cat conftest.err >&5
44953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44954 (exit $ac_status); } &&
44955 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
44956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44957 (eval $ac_try) 2>&5
44958 ac_status=$?
44959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44960 (exit $ac_status); }; } &&
44961 { ac_try='test -s conftest.$ac_objext'
44962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44963 (eval $ac_try) 2>&5
44964 ac_status=$?
44965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44966 (exit $ac_status); }; }; then
44967 echo "$as_me:$LINENO: result: no" >&5
44968 echo "${ECHO_T}no" >&6
44969 else
44970 echo "$as_me: failed program was:" >&5
44971 sed 's/^/| /' conftest.$ac_ext >&5
44972
44973 echo "$as_me:$LINENO: result: yes" >&5
44974 echo "${ECHO_T}yes" >&6
44975 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44976 fi
44977 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44978 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44979 if test "$wxUSE_OLE" = "yes" ; then
44980 cat >>confdefs.h <<\_ACEOF
44981 #define wxUSE_OLE 1
44982 _ACEOF
44983
44984 cat >>confdefs.h <<\_ACEOF
44985 #define wxUSE_OLE_AUTOMATION 1
44986 _ACEOF
44987
44988 cat >>confdefs.h <<\_ACEOF
44989 #define wxUSE_OLE_ACTIVEX 1
44990 _ACEOF
44991
44992 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
44993 fi
44994 fi
44995
44996 if test "$wxUSE_DATAOBJ" = "yes" ; then
44997 cat >>confdefs.h <<\_ACEOF
44998 #define wxUSE_DATAOBJ 1
44999 _ACEOF
45000
45001 fi
45002 else
45003 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45004 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45005
45006 wxUSE_CLIPBOARD=no
45007 wxUSE_DRAG_AND_DROP=no
45008 wxUSE_DATAOBJ=no
45009 wxUSE_OLE=no
45010 fi
45011
45012 if test "$wxUSE_METAFILE" = "yes"; then
45013 cat >>confdefs.h <<\_ACEOF
45014 #define wxUSE_METAFILE 1
45015 _ACEOF
45016
45017
45018 cat >>confdefs.h <<\_ACEOF
45019 #define wxUSE_ENH_METAFILE 1
45020 _ACEOF
45021
45022 fi
45023 fi
45024
45025 if test "$wxUSE_IPC" = "yes"; then
45026 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45027 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45028 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45029 wxUSE_IPC=no
45030 fi
45031
45032 if test "$wxUSE_IPC" = "yes"; then
45033 cat >>confdefs.h <<\_ACEOF
45034 #define wxUSE_IPC 1
45035 _ACEOF
45036
45037 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45038 fi
45039 fi
45040
45041 if test "$wxUSE_DATAOBJ" = "yes"; then
45042 if test "$wxUSE_MGL" = 1; then
45043 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under MGL... disabled" >&5
45044 echo "$as_me: WARNING: wxDataObject not yet supported under MGL... disabled" >&2;}
45045 wxUSE_DATAOBJ=no
45046 else
45047 cat >>confdefs.h <<\_ACEOF
45048 #define wxUSE_DATAOBJ 1
45049 _ACEOF
45050
45051 fi
45052 else
45053 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45054 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45055 wxUSE_CLIPBOARD=no
45056 wxUSE_DRAG_AND_DROP=no
45057 fi
45058
45059 if test "$wxUSE_CLIPBOARD" = "yes"; then
45060 if test "$wxUSE_MGL" = 1; then
45061 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under MGL... disabled" >&5
45062 echo "$as_me: WARNING: Clipboard not yet supported under MGL... disabled" >&2;}
45063 wxUSE_CLIPBOARD=no
45064 fi
45065
45066 if test "$wxUSE_CLIPBOARD" = "yes"; then
45067 cat >>confdefs.h <<\_ACEOF
45068 #define wxUSE_CLIPBOARD 1
45069 _ACEOF
45070
45071 fi
45072 fi
45073
45074 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45075 if test "$wxUSE_GTK" = 1; then
45076 if test "$WXGTK12" != 1; then
45077 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45078 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45079 wxUSE_DRAG_AND_DROP=no
45080 fi
45081 fi
45082
45083 if test "$wxUSE_MOTIF" = 1; then
45084 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under Motif... disabled" >&5
45085 echo "$as_me: WARNING: Drag and drop not yet supported under Motif... disabled" >&2;}
45086 wxUSE_DRAG_AND_DROP=no
45087 fi
45088
45089 if test "$wxUSE_X11" = 1; then
45090 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under X11... disabled" >&5
45091 echo "$as_me: WARNING: Drag and drop not yet supported under X11... disabled" >&2;}
45092 wxUSE_DRAG_AND_DROP=no
45093 fi
45094
45095 if test "$wxUSE_MGL" = 1; then
45096 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under MGL... disabled" >&5
45097 echo "$as_me: WARNING: Drag and drop not yet supported under MGL... disabled" >&2;}
45098 wxUSE_DRAG_AND_DROP=no
45099 fi
45100
45101 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45102 cat >>confdefs.h <<\_ACEOF
45103 #define wxUSE_DRAG_AND_DROP 1
45104 _ACEOF
45105
45106 fi
45107
45108 fi
45109
45110 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45111 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45112 fi
45113
45114 if test "$wxUSE_SPLINES" = "yes" ; then
45115 cat >>confdefs.h <<\_ACEOF
45116 #define wxUSE_SPLINES 1
45117 _ACEOF
45118
45119 fi
45120
45121 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45122 cat >>confdefs.h <<\_ACEOF
45123 #define wxUSE_MOUSEWHEEL 1
45124 _ACEOF
45125
45126 fi
45127
45128
45129 USES_CONTROLS=0
45130 if test "$wxUSE_CONTROLS" = "yes"; then
45131 USES_CONTROLS=1
45132 fi
45133
45134 if test "$wxUSE_ACCEL" = "yes"; then
45135 cat >>confdefs.h <<\_ACEOF
45136 #define wxUSE_ACCEL 1
45137 _ACEOF
45138
45139 USES_CONTROLS=1
45140 fi
45141
45142 if test "$wxUSE_BUTTON" = "yes"; then
45143 cat >>confdefs.h <<\_ACEOF
45144 #define wxUSE_BUTTON 1
45145 _ACEOF
45146
45147 USES_CONTROLS=1
45148 fi
45149
45150 if test "$wxUSE_BMPBUTTON" = "yes"; then
45151 cat >>confdefs.h <<\_ACEOF
45152 #define wxUSE_BMPBUTTON 1
45153 _ACEOF
45154
45155 USES_CONTROLS=1
45156 fi
45157
45158 if test "$wxUSE_CALCTRL" = "yes"; then
45159 cat >>confdefs.h <<\_ACEOF
45160 #define wxUSE_CALENDARCTRL 1
45161 _ACEOF
45162
45163 USES_CONTROLS=1
45164 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45165 fi
45166
45167 if test "$wxUSE_CARET" = "yes"; then
45168 cat >>confdefs.h <<\_ACEOF
45169 #define wxUSE_CARET 1
45170 _ACEOF
45171
45172 USES_CONTROLS=1
45173 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45174 fi
45175
45176 if test "$wxUSE_COMBOBOX" = "yes"; then
45177 cat >>confdefs.h <<\_ACEOF
45178 #define wxUSE_COMBOBOX 1
45179 _ACEOF
45180
45181 USES_CONTROLS=1
45182 fi
45183
45184 if test "$wxUSE_COMBOCTRL" = "yes"; then
45185 cat >>confdefs.h <<\_ACEOF
45186 #define wxUSE_COMBOCTRL 1
45187 _ACEOF
45188
45189 USES_CONTROLS=1
45190 fi
45191
45192 if test "$wxUSE_CHOICE" = "yes"; then
45193 cat >>confdefs.h <<\_ACEOF
45194 #define wxUSE_CHOICE 1
45195 _ACEOF
45196
45197 USES_CONTROLS=1
45198 fi
45199
45200 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45201 cat >>confdefs.h <<\_ACEOF
45202 #define wxUSE_CHOICEBOOK 1
45203 _ACEOF
45204
45205 USES_CONTROLS=1
45206 fi
45207
45208 if test "$wxUSE_CHECKBOX" = "yes"; then
45209 cat >>confdefs.h <<\_ACEOF
45210 #define wxUSE_CHECKBOX 1
45211 _ACEOF
45212
45213 USES_CONTROLS=1
45214 fi
45215
45216 if test "$wxUSE_CHECKLST" = "yes"; then
45217 cat >>confdefs.h <<\_ACEOF
45218 #define wxUSE_CHECKLISTBOX 1
45219 _ACEOF
45220
45221 USES_CONTROLS=1
45222 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
45223 fi
45224
45225 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45226 cat >>confdefs.h <<\_ACEOF
45227 #define wxUSE_COLOURPICKERCTRL 1
45228 _ACEOF
45229
45230 USES_CONTROLS=1
45231 fi
45232
45233 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45234 cat >>confdefs.h <<\_ACEOF
45235 #define wxUSE_DATEPICKCTRL 1
45236 _ACEOF
45237
45238 USES_CONTROLS=1
45239 fi
45240
45241 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45242 cat >>confdefs.h <<\_ACEOF
45243 #define wxUSE_DIRPICKERCTRL 1
45244 _ACEOF
45245
45246 USES_CONTROLS=1
45247 fi
45248
45249 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45250 cat >>confdefs.h <<\_ACEOF
45251 #define wxUSE_FILEPICKERCTRL 1
45252 _ACEOF
45253
45254 USES_CONTROLS=1
45255 fi
45256
45257 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45258 cat >>confdefs.h <<\_ACEOF
45259 #define wxUSE_FONTPICKERCTRL 1
45260 _ACEOF
45261
45262 USES_CONTROLS=1
45263 fi
45264
45265 if test "$wxUSE_DISPLAY" = "yes"; then
45266 cat >>confdefs.h <<\_ACEOF
45267 #define wxUSE_DISPLAY 1
45268 _ACEOF
45269
45270 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
45271 fi
45272
45273 if test "$wxUSE_GAUGE" = "yes"; then
45274 cat >>confdefs.h <<\_ACEOF
45275 #define wxUSE_GAUGE 1
45276 _ACEOF
45277
45278 USES_CONTROLS=1
45279 fi
45280
45281 if test "$wxUSE_GRID" = "yes"; then
45282 cat >>confdefs.h <<\_ACEOF
45283 #define wxUSE_GRID 1
45284 _ACEOF
45285
45286 USES_CONTROLS=1
45287 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45288 fi
45289
45290 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45291 cat >>confdefs.h <<\_ACEOF
45292 #define wxUSE_HYPERLINKCTRL 1
45293 _ACEOF
45294
45295 USES_CONTROLS=1
45296 fi
45297
45298 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45299 cat >>confdefs.h <<\_ACEOF
45300 #define wxUSE_BITMAPCOMBOBOX 1
45301 _ACEOF
45302
45303 USES_CONTROLS=1
45304 fi
45305
45306 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45307 cat >>confdefs.h <<\_ACEOF
45308 #define wxUSE_DATAVIEWCTRL 1
45309 _ACEOF
45310
45311 USES_CONTROLS=1
45312 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45313 fi
45314
45315 if test "$wxUSE_IMAGLIST" = "yes"; then
45316 cat >>confdefs.h <<\_ACEOF
45317 #define wxUSE_IMAGLIST 1
45318 _ACEOF
45319
45320 fi
45321
45322 if test "$wxUSE_LISTBOOK" = "yes"; then
45323 cat >>confdefs.h <<\_ACEOF
45324 #define wxUSE_LISTBOOK 1
45325 _ACEOF
45326
45327 USES_CONTROLS=1
45328 fi
45329
45330 if test "$wxUSE_LISTBOX" = "yes"; then
45331 cat >>confdefs.h <<\_ACEOF
45332 #define wxUSE_LISTBOX 1
45333 _ACEOF
45334
45335 USES_CONTROLS=1
45336 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
45337 fi
45338
45339 if test "$wxUSE_LISTCTRL" = "yes"; then
45340 if test "$wxUSE_IMAGLIST" = "yes"; then
45341 cat >>confdefs.h <<\_ACEOF
45342 #define wxUSE_LISTCTRL 1
45343 _ACEOF
45344
45345 USES_CONTROLS=1
45346 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45347 else
45348 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45349 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45350 fi
45351 fi
45352
45353 if test "$wxUSE_NOTEBOOK" = "yes"; then
45354 cat >>confdefs.h <<\_ACEOF
45355 #define wxUSE_NOTEBOOK 1
45356 _ACEOF
45357
45358 USES_CONTROLS=1
45359 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45360 fi
45361
45362 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45363 cat >>confdefs.h <<\_ACEOF
45364 #define wxUSE_ODCOMBOBOX 1
45365 _ACEOF
45366
45367 USES_CONTROLS=1
45368 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45369 fi
45370
45371
45372 if test "$wxUSE_RADIOBOX" = "yes"; then
45373 cat >>confdefs.h <<\_ACEOF
45374 #define wxUSE_RADIOBOX 1
45375 _ACEOF
45376
45377 USES_CONTROLS=1
45378 fi
45379
45380 if test "$wxUSE_RADIOBTN" = "yes"; then
45381 cat >>confdefs.h <<\_ACEOF
45382 #define wxUSE_RADIOBTN 1
45383 _ACEOF
45384
45385 USES_CONTROLS=1
45386 fi
45387
45388 if test "$wxUSE_SASH" = "yes"; then
45389 cat >>confdefs.h <<\_ACEOF
45390 #define wxUSE_SASH 1
45391 _ACEOF
45392
45393 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45394 fi
45395
45396 if test "$wxUSE_SCROLLBAR" = "yes"; then
45397 cat >>confdefs.h <<\_ACEOF
45398 #define wxUSE_SCROLLBAR 1
45399 _ACEOF
45400
45401 USES_CONTROLS=1
45402 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45403 fi
45404
45405 if test "$wxUSE_SLIDER" = "yes"; then
45406 cat >>confdefs.h <<\_ACEOF
45407 #define wxUSE_SLIDER 1
45408 _ACEOF
45409
45410 USES_CONTROLS=1
45411 fi
45412
45413 if test "$wxUSE_SPINBTN" = "yes"; then
45414 cat >>confdefs.h <<\_ACEOF
45415 #define wxUSE_SPINBTN 1
45416 _ACEOF
45417
45418 USES_CONTROLS=1
45419 fi
45420
45421 if test "$wxUSE_SPINCTRL" = "yes"; then
45422 cat >>confdefs.h <<\_ACEOF
45423 #define wxUSE_SPINCTRL 1
45424 _ACEOF
45425
45426 USES_CONTROLS=1
45427 fi
45428
45429 if test "$wxUSE_SPLITTER" = "yes"; then
45430 cat >>confdefs.h <<\_ACEOF
45431 #define wxUSE_SPLITTER 1
45432 _ACEOF
45433
45434 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45435 fi
45436
45437 if test "$wxUSE_STATBMP" = "yes"; then
45438 cat >>confdefs.h <<\_ACEOF
45439 #define wxUSE_STATBMP 1
45440 _ACEOF
45441
45442 USES_CONTROLS=1
45443 fi
45444
45445 if test "$wxUSE_STATBOX" = "yes"; then
45446 cat >>confdefs.h <<\_ACEOF
45447 #define wxUSE_STATBOX 1
45448 _ACEOF
45449
45450 USES_CONTROLS=1
45451 fi
45452
45453 if test "$wxUSE_STATTEXT" = "yes"; then
45454 cat >>confdefs.h <<\_ACEOF
45455 #define wxUSE_STATTEXT 1
45456 _ACEOF
45457
45458 USES_CONTROLS=1
45459 fi
45460
45461 if test "$wxUSE_STATLINE" = "yes"; then
45462 cat >>confdefs.h <<\_ACEOF
45463 #define wxUSE_STATLINE 1
45464 _ACEOF
45465
45466 USES_CONTROLS=1
45467 fi
45468
45469 if test "$wxUSE_STATUSBAR" = "yes"; then
45470 cat >>confdefs.h <<\_ACEOF
45471 #define wxUSE_NATIVE_STATUSBAR 1
45472 _ACEOF
45473
45474 cat >>confdefs.h <<\_ACEOF
45475 #define wxUSE_STATUSBAR 1
45476 _ACEOF
45477
45478 USES_CONTROLS=1
45479
45480 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45481 fi
45482
45483 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45484 cat >>confdefs.h <<\_ACEOF
45485 #define wxUSE_TAB_DIALOG 1
45486 _ACEOF
45487
45488 fi
45489
45490 if test "$wxUSE_TEXTCTRL" = "yes"; then
45491 cat >>confdefs.h <<\_ACEOF
45492 #define wxUSE_TEXTCTRL 1
45493 _ACEOF
45494
45495 USES_CONTROLS=1
45496 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45497 fi
45498
45499 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45500 if test "$wxUSE_COCOA" = 1 ; then
45501 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45502 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45503 wxUSE_TOGGLEBTN=no
45504 fi
45505
45506 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45507 cat >>confdefs.h <<\_ACEOF
45508 #define wxUSE_TOGGLEBTN 1
45509 _ACEOF
45510
45511 USES_CONTROLS=1
45512 fi
45513 fi
45514
45515 if test "$wxUSE_TOOLBAR" = "yes"; then
45516 cat >>confdefs.h <<\_ACEOF
45517 #define wxUSE_TOOLBAR 1
45518 _ACEOF
45519
45520 USES_CONTROLS=1
45521
45522 if test "$wxUSE_UNIVERSAL" = "yes"; then
45523 wxUSE_TOOLBAR_NATIVE="no"
45524 else
45525 wxUSE_TOOLBAR_NATIVE="yes"
45526 cat >>confdefs.h <<\_ACEOF
45527 #define wxUSE_TOOLBAR_NATIVE 1
45528 _ACEOF
45529
45530 fi
45531
45532 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45533 fi
45534
45535 if test "$wxUSE_TOOLTIPS" = "yes"; then
45536 if test "$wxUSE_MOTIF" = 1; then
45537 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45538 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45539 else
45540 if test "$wxUSE_UNIVERSAL" = "yes"; then
45541 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45542 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45543 else
45544 cat >>confdefs.h <<\_ACEOF
45545 #define wxUSE_TOOLTIPS 1
45546 _ACEOF
45547
45548 fi
45549 fi
45550 fi
45551
45552 if test "$wxUSE_TREEBOOK" = "yes"; then
45553 cat >>confdefs.h <<\_ACEOF
45554 #define wxUSE_TREEBOOK 1
45555 _ACEOF
45556
45557 USES_CONTROLS=1
45558 fi
45559
45560 if test "$wxUSE_TOOLBOOK" = "yes"; then
45561 cat >>confdefs.h <<\_ACEOF
45562 #define wxUSE_TOOLBOOK 1
45563 _ACEOF
45564
45565 USES_CONTROLS=1
45566 fi
45567
45568 if test "$wxUSE_TREECTRL" = "yes"; then
45569 if test "$wxUSE_IMAGLIST" = "yes"; then
45570 cat >>confdefs.h <<\_ACEOF
45571 #define wxUSE_TREECTRL 1
45572 _ACEOF
45573
45574 USES_CONTROLS=1
45575 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45576 else
45577 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45578 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45579 fi
45580 fi
45581
45582 if test "$wxUSE_POPUPWIN" = "yes"; then
45583 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45584 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45585 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45586 else
45587 if test "$wxUSE_PM" = 1; then
45588 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45589 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45590 else
45591 cat >>confdefs.h <<\_ACEOF
45592 #define wxUSE_POPUPWIN 1
45593 _ACEOF
45594
45595 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
45596
45597 USES_CONTROLS=1
45598 fi
45599 fi
45600 fi
45601
45602 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45603 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
45604 { echo "$as_me:$LINENO: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&5
45605 echo "$as_me: WARNING: Dialup manager not yet supported under Mac OS X... disabled" >&2;}
45606 else
45607 cat >>confdefs.h <<\_ACEOF
45608 #define wxUSE_DIALUP_MANAGER 1
45609 _ACEOF
45610
45611 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
45612 fi
45613 fi
45614
45615 if test "$wxUSE_TIPWINDOW" = "yes"; then
45616 if test "$wxUSE_PM" = 1; then
45617 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45618 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45619 else
45620 cat >>confdefs.h <<\_ACEOF
45621 #define wxUSE_TIPWINDOW 1
45622 _ACEOF
45623
45624 fi
45625 fi
45626
45627 if test "$USES_CONTROLS" = 1; then
45628 cat >>confdefs.h <<\_ACEOF
45629 #define wxUSE_CONTROLS 1
45630 _ACEOF
45631
45632 fi
45633
45634
45635 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45636 cat >>confdefs.h <<\_ACEOF
45637 #define wxUSE_ACCESSIBILITY 1
45638 _ACEOF
45639
45640 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
45641 fi
45642
45643 if test "$wxUSE_DC_CACHEING" = "yes"; then
45644 cat >>confdefs.h <<\_ACEOF
45645 #define wxUSE_DC_CACHEING 1
45646 _ACEOF
45647
45648 fi
45649
45650 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45651 cat >>confdefs.h <<\_ACEOF
45652 #define wxUSE_DRAGIMAGE 1
45653 _ACEOF
45654
45655 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
45656 fi
45657
45658 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45659 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45660 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45661 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45662 else
45663 cat >>confdefs.h <<\_ACEOF
45664 #define wxUSE_EXCEPTIONS 1
45665 _ACEOF
45666
45667 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
45668 fi
45669 fi
45670
45671 USE_HTML=0
45672 if test "$wxUSE_HTML" = "yes"; then
45673 cat >>confdefs.h <<\_ACEOF
45674 #define wxUSE_HTML 1
45675 _ACEOF
45676
45677 USE_HTML=1
45678 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45679 if test "$wxUSE_MAC" = 1; then
45680 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
45681 fi
45682 fi
45683 if test "$wxUSE_WEBKIT" = "yes"; then
45684 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45685 old_CPPFLAGS="$CPPFLAGS"
45686 CPPFLAGS="-x objective-c++ $CPPFLAGS"
45687 echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45688 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6
45689 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45690 echo $ECHO_N "(cached) $ECHO_C" >&6
45691 else
45692 cat >conftest.$ac_ext <<_ACEOF
45693 /* confdefs.h. */
45694 _ACEOF
45695 cat confdefs.h >>conftest.$ac_ext
45696 cat >>conftest.$ac_ext <<_ACEOF
45697 /* end confdefs.h. */
45698 #include <Carbon/Carbon.h>
45699
45700 #include <WebKit/HIWebView.h>
45701 _ACEOF
45702 rm -f conftest.$ac_objext
45703 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45704 (eval $ac_compile) 2>conftest.er1
45705 ac_status=$?
45706 grep -v '^ *+' conftest.er1 >conftest.err
45707 rm -f conftest.er1
45708 cat conftest.err >&5
45709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45710 (exit $ac_status); } &&
45711 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
45712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45713 (eval $ac_try) 2>&5
45714 ac_status=$?
45715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45716 (exit $ac_status); }; } &&
45717 { ac_try='test -s conftest.$ac_objext'
45718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45719 (eval $ac_try) 2>&5
45720 ac_status=$?
45721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45722 (exit $ac_status); }; }; then
45723 ac_cv_header_WebKit_HIWebView_h=yes
45724 else
45725 echo "$as_me: failed program was:" >&5
45726 sed 's/^/| /' conftest.$ac_ext >&5
45727
45728 ac_cv_header_WebKit_HIWebView_h=no
45729 fi
45730 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45731 fi
45732 echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45733 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6
45734 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45735
45736 cat >>confdefs.h <<\_ACEOF
45737 #define wxUSE_WEBKIT 1
45738 _ACEOF
45739
45740 WEBKIT_LINK="-framework WebKit"
45741
45742 else
45743
45744 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45745 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45746 wxUSE_WEBKIT=no
45747
45748 fi
45749
45750
45751 CPPFLAGS="$old_CPPFLAGS"
45752 elif test "$wxUSE_COCOA" = 1; then
45753 cat >>confdefs.h <<\_ACEOF
45754 #define wxUSE_WEBKIT 1
45755 _ACEOF
45756
45757 else
45758 wxUSE_WEBKIT=no
45759 fi
45760 fi
45761
45762 USE_XRC=0
45763 if test "$wxUSE_XRC" = "yes"; then
45764 if test "$wxUSE_XML" != "yes"; then
45765 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45766 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45767 wxUSE_XRC=no
45768 else
45769 cat >>confdefs.h <<\_ACEOF
45770 #define wxUSE_XRC 1
45771 _ACEOF
45772
45773 USE_XRC=1
45774 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45775 fi
45776 fi
45777
45778 USE_AUI=0
45779 if test "$wxUSE_AUI" = "yes"; then
45780 cat >>confdefs.h <<\_ACEOF
45781 #define wxUSE_AUI 1
45782 _ACEOF
45783
45784 USE_AUI=1
45785 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45786 fi
45787
45788 if test "$wxUSE_MENUS" = "yes"; then
45789 cat >>confdefs.h <<\_ACEOF
45790 #define wxUSE_MENUS 1
45791 _ACEOF
45792
45793 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45794 fi
45795
45796 if test "$wxUSE_METAFILE" = "yes"; then
45797 cat >>confdefs.h <<\_ACEOF
45798 #define wxUSE_METAFILE 1
45799 _ACEOF
45800
45801 fi
45802
45803 if test "$wxUSE_MIMETYPE" = "yes"; then
45804 cat >>confdefs.h <<\_ACEOF
45805 #define wxUSE_MIMETYPE 1
45806 _ACEOF
45807
45808 fi
45809
45810 if test "$wxUSE_MINIFRAME" = "yes"; then
45811 cat >>confdefs.h <<\_ACEOF
45812 #define wxUSE_MINIFRAME 1
45813 _ACEOF
45814
45815 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
45816 fi
45817
45818 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45819 cat >>confdefs.h <<\_ACEOF
45820 #define wxUSE_SYSTEM_OPTIONS 1
45821 _ACEOF
45822
45823 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
45824 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
45825 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45826 fi
45827 fi
45828
45829
45830 if test "$wxUSE_VALIDATORS" = "yes"; then
45831 cat >>confdefs.h <<\_ACEOF
45832 #define wxUSE_VALIDATORS 1
45833 _ACEOF
45834
45835 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45836 fi
45837
45838 if test "$wxUSE_PALETTE" = "yes" ; then
45839 cat >>confdefs.h <<\_ACEOF
45840 #define wxUSE_PALETTE 1
45841 _ACEOF
45842
45843 fi
45844
45845 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45846 LIBS=" -lunicows $LIBS"
45847 fi
45848
45849 USE_RICHTEXT=0
45850 if test "$wxUSE_RICHTEXT" = "yes"; then
45851 cat >>confdefs.h <<\_ACEOF
45852 #define wxUSE_RICHTEXT 1
45853 _ACEOF
45854
45855 USE_RICHTEXT=1
45856 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45857 fi
45858
45859 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45860 cat >>confdefs.h <<\_ACEOF
45861 #define wxUSE_GRAPHICS_CONTEXT 1
45862 _ACEOF
45863
45864 fi
45865
45866
45867 if test "$wxUSE_IMAGE" = "yes" ; then
45868 cat >>confdefs.h <<\_ACEOF
45869 #define wxUSE_IMAGE 1
45870 _ACEOF
45871
45872
45873 if test "$wxUSE_GIF" = "yes" ; then
45874 cat >>confdefs.h <<\_ACEOF
45875 #define wxUSE_GIF 1
45876 _ACEOF
45877
45878 fi
45879
45880 if test "$wxUSE_PCX" = "yes" ; then
45881 cat >>confdefs.h <<\_ACEOF
45882 #define wxUSE_PCX 1
45883 _ACEOF
45884
45885 fi
45886
45887 if test "$wxUSE_IFF" = "yes" ; then
45888 cat >>confdefs.h <<\_ACEOF
45889 #define wxUSE_IFF 1
45890 _ACEOF
45891
45892 fi
45893
45894 if test "$wxUSE_PNM" = "yes" ; then
45895 cat >>confdefs.h <<\_ACEOF
45896 #define wxUSE_PNM 1
45897 _ACEOF
45898
45899 fi
45900
45901 if test "$wxUSE_XPM" = "yes" ; then
45902 cat >>confdefs.h <<\_ACEOF
45903 #define wxUSE_XPM 1
45904 _ACEOF
45905
45906 fi
45907
45908 if test "$wxUSE_ICO_CUR" = "yes" ; then
45909 cat >>confdefs.h <<\_ACEOF
45910 #define wxUSE_ICO_CUR 1
45911 _ACEOF
45912
45913 fi
45914 fi
45915
45916
45917 if test "$wxUSE_ABOUTDLG" = "yes"; then
45918 cat >>confdefs.h <<\_ACEOF
45919 #define wxUSE_ABOUTDLG 1
45920 _ACEOF
45921
45922 fi
45923
45924 if test "$wxUSE_CHOICEDLG" = "yes"; then
45925 cat >>confdefs.h <<\_ACEOF
45926 #define wxUSE_CHOICEDLG 1
45927 _ACEOF
45928
45929 fi
45930
45931 if test "$wxUSE_COLOURDLG" = "yes"; then
45932 cat >>confdefs.h <<\_ACEOF
45933 #define wxUSE_COLOURDLG 1
45934 _ACEOF
45935
45936 fi
45937
45938 if test "$wxUSE_FILEDLG" = "yes"; then
45939 cat >>confdefs.h <<\_ACEOF
45940 #define wxUSE_FILEDLG 1
45941 _ACEOF
45942
45943 fi
45944
45945 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45946 cat >>confdefs.h <<\_ACEOF
45947 #define wxUSE_FINDREPLDLG 1
45948 _ACEOF
45949
45950 fi
45951
45952 if test "$wxUSE_FONTDLG" = "yes"; then
45953 cat >>confdefs.h <<\_ACEOF
45954 #define wxUSE_FONTDLG 1
45955 _ACEOF
45956
45957 fi
45958
45959 if test "$wxUSE_DIRDLG" = "yes"; then
45960 if test "$wxUSE_TREECTRL" != "yes"; then
45961 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45962 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45963 else
45964 cat >>confdefs.h <<\_ACEOF
45965 #define wxUSE_DIRDLG 1
45966 _ACEOF
45967
45968 fi
45969 fi
45970
45971 if test "$wxUSE_MSGDLG" = "yes"; then
45972 cat >>confdefs.h <<\_ACEOF
45973 #define wxUSE_MSGDLG 1
45974 _ACEOF
45975
45976 fi
45977
45978 if test "$wxUSE_NUMBERDLG" = "yes"; then
45979 cat >>confdefs.h <<\_ACEOF
45980 #define wxUSE_NUMBERDLG 1
45981 _ACEOF
45982
45983 fi
45984
45985 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45986 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45987 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45988 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45989 else
45990 cat >>confdefs.h <<\_ACEOF
45991 #define wxUSE_PROGRESSDLG 1
45992 _ACEOF
45993
45994 fi
45995 fi
45996
45997 if test "$wxUSE_SPLASH" = "yes"; then
45998 cat >>confdefs.h <<\_ACEOF
45999 #define wxUSE_SPLASH 1
46000 _ACEOF
46001
46002 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46003 fi
46004
46005 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46006 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46007 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46008 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46009 else
46010 cat >>confdefs.h <<\_ACEOF
46011 #define wxUSE_STARTUP_TIPS 1
46012 _ACEOF
46013
46014 fi
46015 fi
46016
46017 if test "$wxUSE_TEXTDLG" = "yes"; then
46018 cat >>confdefs.h <<\_ACEOF
46019 #define wxUSE_TEXTDLG 1
46020 _ACEOF
46021
46022 fi
46023
46024 if test "$wxUSE_WIZARDDLG" = "yes"; then
46025 cat >>confdefs.h <<\_ACEOF
46026 #define wxUSE_WIZARDDLG 1
46027 _ACEOF
46028
46029 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46030 fi
46031
46032
46033 USE_MEDIA=0
46034
46035 if test "$wxUSE_MEDIACTRL" = "yes"; then
46036 USE_MEDIA=1
46037
46038 if test "$wxUSE_GTK" = 1; then
46039 wxUSE_GSTREAMER="no"
46040
46041 GST_VERSION_MAJOR=0
46042 GST_VERSION_MINOR=10
46043 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46044
46045 if test "$wxUSE_GSTREAMER8" = "no"; then
46046
46047 pkg_failed=no
46048 echo "$as_me:$LINENO: checking for GST" >&5
46049 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46050
46051 if test -n "$PKG_CONFIG"; then
46052 if test -n "$GST_CFLAGS"; then
46053 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46054 else
46055 if test -n "$PKG_CONFIG" && \
46056 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46057 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46058 ac_status=$?
46059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46060 (exit $ac_status); }; then
46061 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46062 else
46063 pkg_failed=yes
46064 fi
46065 fi
46066 else
46067 pkg_failed=untried
46068 fi
46069 if test -n "$PKG_CONFIG"; then
46070 if test -n "$GST_LIBS"; then
46071 pkg_cv_GST_LIBS="$GST_LIBS"
46072 else
46073 if test -n "$PKG_CONFIG" && \
46074 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46075 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46076 ac_status=$?
46077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46078 (exit $ac_status); }; then
46079 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46080 else
46081 pkg_failed=yes
46082 fi
46083 fi
46084 else
46085 pkg_failed=untried
46086 fi
46087
46088
46089
46090 if test $pkg_failed = yes; then
46091
46092 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46093 _pkg_short_errors_supported=yes
46094 else
46095 _pkg_short_errors_supported=no
46096 fi
46097 if test $_pkg_short_errors_supported = yes; then
46098 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46099 else
46100 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46101 fi
46102 # Put the nasty error message in config.log where it belongs
46103 echo "$GST_PKG_ERRORS" >&5
46104
46105
46106 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46107 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46108 GST_VERSION_MINOR=8
46109
46110
46111 elif test $pkg_failed = untried; then
46112
46113 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46114 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46115 GST_VERSION_MINOR=8
46116
46117
46118 else
46119 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46120 GST_LIBS=$pkg_cv_GST_LIBS
46121 echo "$as_me:$LINENO: result: yes" >&5
46122 echo "${ECHO_T}yes" >&6
46123
46124 wxUSE_GSTREAMER="yes"
46125 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46126
46127 fi
46128 else
46129 GST_VERSION_MINOR=8
46130 fi
46131
46132 if test $GST_VERSION_MINOR = "8"; then
46133 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46134
46135 pkg_failed=no
46136 echo "$as_me:$LINENO: checking for GST" >&5
46137 echo $ECHO_N "checking for GST... $ECHO_C" >&6
46138
46139 if test -n "$PKG_CONFIG"; then
46140 if test -n "$GST_CFLAGS"; then
46141 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46142 else
46143 if test -n "$PKG_CONFIG" && \
46144 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46145 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46146 ac_status=$?
46147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46148 (exit $ac_status); }; then
46149 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46150 else
46151 pkg_failed=yes
46152 fi
46153 fi
46154 else
46155 pkg_failed=untried
46156 fi
46157 if test -n "$PKG_CONFIG"; then
46158 if test -n "$GST_LIBS"; then
46159 pkg_cv_GST_LIBS="$GST_LIBS"
46160 else
46161 if test -n "$PKG_CONFIG" && \
46162 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46163 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46164 ac_status=$?
46165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46166 (exit $ac_status); }; then
46167 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46168 else
46169 pkg_failed=yes
46170 fi
46171 fi
46172 else
46173 pkg_failed=untried
46174 fi
46175
46176
46177
46178 if test $pkg_failed = yes; then
46179
46180 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46181 _pkg_short_errors_supported=yes
46182 else
46183 _pkg_short_errors_supported=no
46184 fi
46185 if test $_pkg_short_errors_supported = yes; then
46186 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46187 else
46188 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46189 fi
46190 # Put the nasty error message in config.log where it belongs
46191 echo "$GST_PKG_ERRORS" >&5
46192
46193
46194 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46195 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46196
46197 elif test $pkg_failed = untried; then
46198
46199 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46200 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46201
46202 else
46203 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46204 GST_LIBS=$pkg_cv_GST_LIBS
46205 echo "$as_me:$LINENO: result: yes" >&5
46206 echo "${ECHO_T}yes" >&6
46207 wxUSE_GSTREAMER="yes"
46208 fi
46209 fi
46210
46211
46212 if test "$wxUSE_GSTREAMER" = "yes"; then
46213 case "${host}" in
46214 *-*-solaris2* )
46215 if "$GCC" = yes; then
46216 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
46217 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
46218 fi
46219 esac
46220
46221 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46222 LIBS="$GST_LIBS $LIBS"
46223
46224 cat >>confdefs.h <<\_ACEOF
46225 #define wxUSE_GSTREAMER 1
46226 _ACEOF
46227
46228 else
46229 USE_MEDIA=0
46230 fi
46231 fi
46232
46233 if test $USE_MEDIA = 1; then
46234 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46235 cat >>confdefs.h <<\_ACEOF
46236 #define wxUSE_MEDIACTRL 1
46237 _ACEOF
46238
46239 fi
46240 fi
46241
46242
46243 if test "$cross_compiling" = "yes"; then
46244 OSINFO="\"$host\""
46245 else
46246 OSINFO=`uname -s -r -m`
46247 OSINFO="\"$OSINFO\""
46248 fi
46249
46250 cat >>confdefs.h <<_ACEOF
46251 #define WXWIN_OS_DESCRIPTION $OSINFO
46252 _ACEOF
46253
46254
46255
46256 if test "x$prefix" != "xNONE"; then
46257 wxPREFIX=$prefix
46258 else
46259 wxPREFIX=$ac_default_prefix
46260 fi
46261
46262 cat >>confdefs.h <<_ACEOF
46263 #define wxINSTALL_PREFIX "$wxPREFIX"
46264 _ACEOF
46265
46266
46267
46268
46269 CORE_BASE_LIBS="net base"
46270 CORE_GUI_LIBS="adv core"
46271
46272 if test "$wxUSE_XML" = "yes" ; then
46273 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
46274 fi
46275 if test "$wxUSE_ODBC" != "no" ; then
46276 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
46277 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
46278 fi
46279 if test "$wxUSE_HTML" = "yes" ; then
46280 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
46281 fi
46282 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46283 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
46284 fi
46285 if test "$wxUSE_XRC" = "yes" ; then
46286 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
46287 fi
46288 if test "$wxUSE_AUI" = "yes" ; then
46289 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
46290 fi
46291
46292 if test "$wxUSE_GUI" != "yes"; then
46293 CORE_GUI_LIBS=""
46294 fi
46295
46296
46297
46298
46299
46300 ac_ext=c
46301 ac_cpp='$CPP $CPPFLAGS'
46302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46305
46306
46307
46308 if test "$wxUSE_MAC" = 1 ; then
46309 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46310 if test "$USE_DARWIN" = 1; then
46311 LDFLAGS="$LDFLAGS -framework QuickTime"
46312 else
46313 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46314 fi
46315 fi
46316 if test "$USE_DARWIN" = 1; then
46317 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46318 else
46319 LDFLAGS="$LDFLAGS -lCarbonLib"
46320 fi
46321 fi
46322 if test "$wxUSE_COCOA" = 1 ; then
46323 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46324 if test "$wxUSE_MEDIACTRL" = "yes"; then
46325 LDFLAGS="$LDFLAGS -framework QuickTime"
46326 fi
46327 fi
46328 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46329 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46330 fi
46331
46332 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46333
46334 if test "$wxUSE_GUI" = "yes"; then
46335
46336
46337 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46338 dynamic erase event exec font image minimal mobile \
46339 mobile/wxedit mobile/styles propsize render \
46340 rotate shaped vscroll widgets"
46341
46342 if test "$wxUSE_MONOLITHIC" != "yes"; then
46343 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46344 fi
46345 if test "$TOOLKIT" = "MSW"; then
46346 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46347 if test "$wxUSE_UNIVERSAL" != "yes"; then
46348 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46349 fi
46350 fi
46351 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46352 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46353 fi
46354 else
46355 SAMPLES_SUBDIRS="console"
46356 fi
46357
46358
46359 if test "x$INTELCC" = "xyes" ; then
46360 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46361 elif test "$GCC" = yes ; then
46362 CWARNINGS="-Wall -Wundef"
46363 fi
46364
46365 if test "x$INTELCXX" = "xyes" ; then
46366 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46367 elif test "$GXX" = yes ; then
46368 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
46369 fi
46370
46371
46372 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46373 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46374
46375
46376 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46377 -I\\${top_builddir}lib/wx/include/${TOOLCHAIN_FULLNAME} \
46378 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46379 $CPPFLAGS `
46380
46381 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46382 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46383 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
46384
46385 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46386
46387
46388 if test "x$MWCC" = "xyes"; then
46389
46390 CC="$CC -cwd source -I-"
46391 CXX="$CXX -cwd source -I-"
46392 fi
46393
46394
46395 LIBS=`echo $LIBS`
46396 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46397 EXTRALIBS_XML="$EXPAT_LINK"
46398 EXTRALIBS_HTML="$MSPACK_LINK"
46399 EXTRALIBS_ODBC="$ODBC_LINK"
46400 if test "$wxUSE_GUI" = "yes"; then
46401 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46402 fi
46403 if test "$wxUSE_OPENGL" = "yes"; then
46404 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46405 fi
46406
46407 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46408
46409 WXCONFIG_LIBS="$LIBS"
46410
46411 if test "$wxUSE_REGEX" = "builtin" ; then
46412 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46413 fi
46414 if test "$wxUSE_EXPAT" = "builtin" ; then
46415 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46416 fi
46417 if test "$wxUSE_ODBC" = "builtin" ; then
46418 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
46419 fi
46420 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46421 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46422 fi
46423 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46424 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46425 fi
46426 if test "$wxUSE_LIBPNG" = "builtin" ; then
46427 wxconfig_3rdparty="png $wxconfig_3rdparty"
46428 fi
46429 if test "$wxUSE_ZLIB" = "builtin" ; then
46430 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46431 fi
46432
46433 for i in $wxconfig_3rdparty ; do
46434 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46435 done
46436
46437
46438 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46439 WXUNIV=1
46440
46441 case "$wxUNIV_THEMES" in
46442 ''|all)
46443 cat >>confdefs.h <<\_ACEOF
46444 #define wxUSE_ALL_THEMES 1
46445 _ACEOF
46446
46447 ;;
46448
46449 *)
46450 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
46451 cat >>confdefs.h <<_ACEOF
46452 #define wxUSE_THEME_$t 1
46453 _ACEOF
46454
46455 done
46456 esac
46457 else
46458 WXUNIV=0
46459 fi
46460
46461
46462
46463
46464
46465
46466
46467
46468
46469 if test $wxUSE_MONOLITHIC = "yes" ; then
46470 MONOLITHIC=1
46471 else
46472 MONOLITHIC=0
46473 fi
46474
46475 if test $wxUSE_PLUGINS = "yes" ; then
46476 USE_PLUGINS=1
46477 else
46478 USE_PLUGINS=0
46479 fi
46480
46481 if test $wxUSE_ODBC != "no" ; then
46482 USE_ODBC=1
46483 else
46484 USE_ODBC=0
46485 fi
46486
46487 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46488 USE_QA=1
46489 else
46490 USE_QA=0
46491 fi
46492
46493 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46494 OFFICIAL_BUILD=1
46495 else
46496 OFFICIAL_BUILD=0
46497 fi
46498
46499
46500
46501
46502
46503
46504
46505
46506
46507
46508
46509
46510
46511
46512
46513
46514
46515
46516
46517
46518
46519
46520
46521
46522
46523 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
46524
46525
46526
46527
46528
46529
46530
46531
46532 case "$TOOLKIT" in
46533 GTK)
46534 TOOLKIT_DESC="GTK+"
46535 if test "$WXGTK20" = 1; then
46536 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46537 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46538 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46539 fi
46540 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46541 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46542 fi
46543 if test "$wxUSE_LIBHILDON" = "yes"; then
46544 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46545 fi
46546
46547 if test "$TOOLKIT_EXTRA" != ""; then
46548 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46549 fi
46550 fi
46551 ;;
46552
46553 ?*)
46554 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46555 ;;
46556
46557 *)
46558 TOOLKIT_DESC="base only"
46559 ;;
46560 esac
46561
46562 if test "$wxUSE_WINE" = "yes"; then
46563 BAKEFILE_FORCE_PLATFORM=win32
46564 fi
46565
46566 if test "$wxUSE_MAC" = 1 ; then
46567 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
46568 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
46569 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
46570 else
46571 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
46572 fi
46573 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
46574 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
46575 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
46576 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
46577 bk_use_pch=no
46578 fi
46579 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
46580 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
46581 fi
46582
46583
46584
46585
46586 if test "x$BAKEFILE_HOST" = "x"; then
46587 if test "x${host}" = "x" ; then
46588 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46589 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46590 { (exit 1); exit 1; }; }
46591 fi
46592
46593 BAKEFILE_HOST="${host}"
46594 fi
46595
46596 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46597
46598 if test -n "$ac_tool_prefix"; then
46599 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46600 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46601 echo "$as_me:$LINENO: checking for $ac_word" >&5
46602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46603 if test "${ac_cv_prog_RANLIB+set}" = set; then
46604 echo $ECHO_N "(cached) $ECHO_C" >&6
46605 else
46606 if test -n "$RANLIB"; then
46607 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46608 else
46609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46610 for as_dir in $PATH
46611 do
46612 IFS=$as_save_IFS
46613 test -z "$as_dir" && as_dir=.
46614 for ac_exec_ext in '' $ac_executable_extensions; do
46615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46616 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46618 break 2
46619 fi
46620 done
46621 done
46622
46623 fi
46624 fi
46625 RANLIB=$ac_cv_prog_RANLIB
46626 if test -n "$RANLIB"; then
46627 echo "$as_me:$LINENO: result: $RANLIB" >&5
46628 echo "${ECHO_T}$RANLIB" >&6
46629 else
46630 echo "$as_me:$LINENO: result: no" >&5
46631 echo "${ECHO_T}no" >&6
46632 fi
46633
46634 fi
46635 if test -z "$ac_cv_prog_RANLIB"; then
46636 ac_ct_RANLIB=$RANLIB
46637 # Extract the first word of "ranlib", so it can be a program name with args.
46638 set dummy ranlib; ac_word=$2
46639 echo "$as_me:$LINENO: checking for $ac_word" >&5
46640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46641 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46642 echo $ECHO_N "(cached) $ECHO_C" >&6
46643 else
46644 if test -n "$ac_ct_RANLIB"; then
46645 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46646 else
46647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46648 for as_dir in $PATH
46649 do
46650 IFS=$as_save_IFS
46651 test -z "$as_dir" && as_dir=.
46652 for ac_exec_ext in '' $ac_executable_extensions; do
46653 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46654 ac_cv_prog_ac_ct_RANLIB="ranlib"
46655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46656 break 2
46657 fi
46658 done
46659 done
46660
46661 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
46662 fi
46663 fi
46664 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
46665 if test -n "$ac_ct_RANLIB"; then
46666 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46667 echo "${ECHO_T}$ac_ct_RANLIB" >&6
46668 else
46669 echo "$as_me:$LINENO: result: no" >&5
46670 echo "${ECHO_T}no" >&6
46671 fi
46672
46673 RANLIB=$ac_ct_RANLIB
46674 else
46675 RANLIB="$ac_cv_prog_RANLIB"
46676 fi
46677
46678 # Find a good install program. We prefer a C program (faster),
46679 # so one script is as good as another. But avoid the broken or
46680 # incompatible versions:
46681 # SysV /etc/install, /usr/sbin/install
46682 # SunOS /usr/etc/install
46683 # IRIX /sbin/install
46684 # AIX /bin/install
46685 # AmigaOS /C/install, which installs bootblocks on floppy discs
46686 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46687 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46688 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46689 # OS/2's system install, which has a completely different semantic
46690 # ./install, which can be erroneously created by make from ./install.sh.
46691 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46692 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
46693 if test -z "$INSTALL"; then
46694 if test "${ac_cv_path_install+set}" = set; then
46695 echo $ECHO_N "(cached) $ECHO_C" >&6
46696 else
46697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46698 for as_dir in $PATH
46699 do
46700 IFS=$as_save_IFS
46701 test -z "$as_dir" && as_dir=.
46702 # Account for people who put trailing slashes in PATH elements.
46703 case $as_dir/ in
46704 ./ | .// | /cC/* | \
46705 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46706 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46707 /usr/ucb/* ) ;;
46708 *)
46709 # OSF1 and SCO ODT 3.0 have their own names for install.
46710 # Don't use installbsd from OSF since it installs stuff as root
46711 # by default.
46712 for ac_prog in ginstall scoinst install; do
46713 for ac_exec_ext in '' $ac_executable_extensions; do
46714 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
46715 if test $ac_prog = install &&
46716 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46717 # AIX install. It has an incompatible calling convention.
46718 :
46719 elif test $ac_prog = install &&
46720 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46721 # program-specific install script used by HP pwplus--don't use.
46722 :
46723 else
46724 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46725 break 3
46726 fi
46727 fi
46728 done
46729 done
46730 ;;
46731 esac
46732 done
46733
46734
46735 fi
46736 if test "${ac_cv_path_install+set}" = set; then
46737 INSTALL=$ac_cv_path_install
46738 else
46739 # As a last resort, use the slow shell script. We don't cache a
46740 # path for INSTALL within a source directory, because that will
46741 # break other packages using the cache if that directory is
46742 # removed, or if the path is relative.
46743 INSTALL=$ac_install_sh
46744 fi
46745 fi
46746 echo "$as_me:$LINENO: result: $INSTALL" >&5
46747 echo "${ECHO_T}$INSTALL" >&6
46748
46749 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46750 # It thinks the first close brace ends the variable substitution.
46751 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46752
46753 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46754
46755 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46756
46757 echo "$as_me:$LINENO: checking whether ln -s works" >&5
46758 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
46759 LN_S=$as_ln_s
46760 if test "$LN_S" = "ln -s"; then
46761 echo "$as_me:$LINENO: result: yes" >&5
46762 echo "${ECHO_T}yes" >&6
46763 else
46764 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46765 echo "${ECHO_T}no, using $LN_S" >&6
46766 fi
46767
46768
46769 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46770 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
46771 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
46772 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
46773 echo $ECHO_N "(cached) $ECHO_C" >&6
46774 else
46775 cat >conftest.make <<\_ACEOF
46776 all:
46777 @echo 'ac_maketemp="$(MAKE)"'
46778 _ACEOF
46779 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46780 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
46781 if test -n "$ac_maketemp"; then
46782 eval ac_cv_prog_make_${ac_make}_set=yes
46783 else
46784 eval ac_cv_prog_make_${ac_make}_set=no
46785 fi
46786 rm -f conftest.make
46787 fi
46788 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
46789 echo "$as_me:$LINENO: result: yes" >&5
46790 echo "${ECHO_T}yes" >&6
46791 SET_MAKE=
46792 else
46793 echo "$as_me:$LINENO: result: no" >&5
46794 echo "${ECHO_T}no" >&6
46795 SET_MAKE="MAKE=${MAKE-make}"
46796 fi
46797
46798
46799
46800 if test -n "$ac_tool_prefix"; then
46801 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46802 set dummy ${ac_tool_prefix}ar; ac_word=$2
46803 echo "$as_me:$LINENO: checking for $ac_word" >&5
46804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46805 if test "${ac_cv_prog_AR+set}" = set; then
46806 echo $ECHO_N "(cached) $ECHO_C" >&6
46807 else
46808 if test -n "$AR"; then
46809 ac_cv_prog_AR="$AR" # Let the user override the test.
46810 else
46811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46812 for as_dir in $PATH
46813 do
46814 IFS=$as_save_IFS
46815 test -z "$as_dir" && as_dir=.
46816 for ac_exec_ext in '' $ac_executable_extensions; do
46817 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46818 ac_cv_prog_AR="${ac_tool_prefix}ar"
46819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46820 break 2
46821 fi
46822 done
46823 done
46824
46825 fi
46826 fi
46827 AR=$ac_cv_prog_AR
46828 if test -n "$AR"; then
46829 echo "$as_me:$LINENO: result: $AR" >&5
46830 echo "${ECHO_T}$AR" >&6
46831 else
46832 echo "$as_me:$LINENO: result: no" >&5
46833 echo "${ECHO_T}no" >&6
46834 fi
46835
46836 fi
46837 if test -z "$ac_cv_prog_AR"; then
46838 ac_ct_AR=$AR
46839 # Extract the first word of "ar", so it can be a program name with args.
46840 set dummy ar; ac_word=$2
46841 echo "$as_me:$LINENO: checking for $ac_word" >&5
46842 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46843 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46844 echo $ECHO_N "(cached) $ECHO_C" >&6
46845 else
46846 if test -n "$ac_ct_AR"; then
46847 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46848 else
46849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46850 for as_dir in $PATH
46851 do
46852 IFS=$as_save_IFS
46853 test -z "$as_dir" && as_dir=.
46854 for ac_exec_ext in '' $ac_executable_extensions; do
46855 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46856 ac_cv_prog_ac_ct_AR="ar"
46857 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46858 break 2
46859 fi
46860 done
46861 done
46862
46863 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="ar"
46864 fi
46865 fi
46866 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46867 if test -n "$ac_ct_AR"; then
46868 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46869 echo "${ECHO_T}$ac_ct_AR" >&6
46870 else
46871 echo "$as_me:$LINENO: result: no" >&5
46872 echo "${ECHO_T}no" >&6
46873 fi
46874
46875 AR=$ac_ct_AR
46876 else
46877 AR="$ac_cv_prog_AR"
46878 fi
46879
46880 if test -n "$ac_tool_prefix"; then
46881 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46882 set dummy ${ac_tool_prefix}strip; ac_word=$2
46883 echo "$as_me:$LINENO: checking for $ac_word" >&5
46884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46885 if test "${ac_cv_prog_STRIP+set}" = set; then
46886 echo $ECHO_N "(cached) $ECHO_C" >&6
46887 else
46888 if test -n "$STRIP"; then
46889 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46890 else
46891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46892 for as_dir in $PATH
46893 do
46894 IFS=$as_save_IFS
46895 test -z "$as_dir" && as_dir=.
46896 for ac_exec_ext in '' $ac_executable_extensions; do
46897 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46898 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46900 break 2
46901 fi
46902 done
46903 done
46904
46905 fi
46906 fi
46907 STRIP=$ac_cv_prog_STRIP
46908 if test -n "$STRIP"; then
46909 echo "$as_me:$LINENO: result: $STRIP" >&5
46910 echo "${ECHO_T}$STRIP" >&6
46911 else
46912 echo "$as_me:$LINENO: result: no" >&5
46913 echo "${ECHO_T}no" >&6
46914 fi
46915
46916 fi
46917 if test -z "$ac_cv_prog_STRIP"; then
46918 ac_ct_STRIP=$STRIP
46919 # Extract the first word of "strip", so it can be a program name with args.
46920 set dummy strip; ac_word=$2
46921 echo "$as_me:$LINENO: checking for $ac_word" >&5
46922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46923 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46924 echo $ECHO_N "(cached) $ECHO_C" >&6
46925 else
46926 if test -n "$ac_ct_STRIP"; then
46927 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
46928 else
46929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46930 for as_dir in $PATH
46931 do
46932 IFS=$as_save_IFS
46933 test -z "$as_dir" && as_dir=.
46934 for ac_exec_ext in '' $ac_executable_extensions; do
46935 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46936 ac_cv_prog_ac_ct_STRIP="strip"
46937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46938 break 2
46939 fi
46940 done
46941 done
46942
46943 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
46944 fi
46945 fi
46946 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
46947 if test -n "$ac_ct_STRIP"; then
46948 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46949 echo "${ECHO_T}$ac_ct_STRIP" >&6
46950 else
46951 echo "$as_me:$LINENO: result: no" >&5
46952 echo "${ECHO_T}no" >&6
46953 fi
46954
46955 STRIP=$ac_ct_STRIP
46956 else
46957 STRIP="$ac_cv_prog_STRIP"
46958 fi
46959
46960 if test -n "$ac_tool_prefix"; then
46961 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46962 set dummy ${ac_tool_prefix}nm; ac_word=$2
46963 echo "$as_me:$LINENO: checking for $ac_word" >&5
46964 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
46965 if test "${ac_cv_prog_NM+set}" = set; then
46966 echo $ECHO_N "(cached) $ECHO_C" >&6
46967 else
46968 if test -n "$NM"; then
46969 ac_cv_prog_NM="$NM" # Let the user override the test.
46970 else
46971 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46972 for as_dir in $PATH
46973 do
46974 IFS=$as_save_IFS
46975 test -z "$as_dir" && as_dir=.
46976 for ac_exec_ext in '' $ac_executable_extensions; do
46977 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
46978 ac_cv_prog_NM="${ac_tool_prefix}nm"
46979 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46980 break 2
46981 fi
46982 done
46983 done
46984
46985 fi
46986 fi
46987 NM=$ac_cv_prog_NM
46988 if test -n "$NM"; then
46989 echo "$as_me:$LINENO: result: $NM" >&5
46990 echo "${ECHO_T}$NM" >&6
46991 else
46992 echo "$as_me:$LINENO: result: no" >&5
46993 echo "${ECHO_T}no" >&6
46994 fi
46995
46996 fi
46997 if test -z "$ac_cv_prog_NM"; then
46998 ac_ct_NM=$NM
46999 # Extract the first word of "nm", so it can be a program name with args.
47000 set dummy nm; ac_word=$2
47001 echo "$as_me:$LINENO: checking for $ac_word" >&5
47002 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47003 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47004 echo $ECHO_N "(cached) $ECHO_C" >&6
47005 else
47006 if test -n "$ac_ct_NM"; then
47007 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47008 else
47009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47010 for as_dir in $PATH
47011 do
47012 IFS=$as_save_IFS
47013 test -z "$as_dir" && as_dir=.
47014 for ac_exec_ext in '' $ac_executable_extensions; do
47015 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47016 ac_cv_prog_ac_ct_NM="nm"
47017 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47018 break 2
47019 fi
47020 done
47021 done
47022
47023 test -z "$ac_cv_prog_ac_ct_NM" && ac_cv_prog_ac_ct_NM=":"
47024 fi
47025 fi
47026 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47027 if test -n "$ac_ct_NM"; then
47028 echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47029 echo "${ECHO_T}$ac_ct_NM" >&6
47030 else
47031 echo "$as_me:$LINENO: result: no" >&5
47032 echo "${ECHO_T}no" >&6
47033 fi
47034
47035 NM=$ac_ct_NM
47036 else
47037 NM="$ac_cv_prog_NM"
47038 fi
47039
47040
47041 case ${BAKEFILE_HOST} in
47042 *-hp-hpux* )
47043 INSTALL_DIR="mkdir -p"
47044 ;;
47045 *) INSTALL_DIR="$INSTALL -d"
47046 ;;
47047 esac
47048
47049
47050 LDFLAGS_GUI=
47051 case ${BAKEFILE_HOST} in
47052 *-*-cygwin* | *-*-mingw32* )
47053 LDFLAGS_GUI="-mwindows"
47054 esac
47055
47056
47057 fi
47058
47059 echo "$as_me:$LINENO: checking if make is GNU make" >&5
47060 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6
47061 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47062 echo $ECHO_N "(cached) $ECHO_C" >&6
47063 else
47064
47065 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47066 egrep -s GNU > /dev/null); then
47067 bakefile_cv_prog_makeisgnu="yes"
47068 else
47069 bakefile_cv_prog_makeisgnu="no"
47070 fi
47071
47072 fi
47073 echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47074 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6
47075
47076 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47077 IF_GNU_MAKE=""
47078 else
47079 IF_GNU_MAKE="#"
47080 fi
47081
47082
47083
47084 PLATFORM_UNIX=0
47085 PLATFORM_WIN32=0
47086 PLATFORM_MSDOS=0
47087 PLATFORM_MAC=0
47088 PLATFORM_MACOS=0
47089 PLATFORM_MACOSX=0
47090 PLATFORM_OS2=0
47091 PLATFORM_BEOS=0
47092
47093 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47094 case "${BAKEFILE_HOST}" in
47095 *-*-mingw32* )
47096 PLATFORM_WIN32=1
47097 ;;
47098 *-pc-msdosdjgpp )
47099 PLATFORM_MSDOS=1
47100 ;;
47101 *-pc-os2_emx | *-pc-os2-emx )
47102 PLATFORM_OS2=1
47103 ;;
47104 *-*-darwin* )
47105 PLATFORM_MAC=1
47106 PLATFORM_MACOSX=1
47107 ;;
47108 *-*-beos* )
47109 PLATFORM_BEOS=1
47110 ;;
47111 powerpc-apple-macos* )
47112 PLATFORM_MAC=1
47113 PLATFORM_MACOS=1
47114 ;;
47115 * )
47116 PLATFORM_UNIX=1
47117 ;;
47118 esac
47119 else
47120 case "$BAKEFILE_FORCE_PLATFORM" in
47121 win32 )
47122 PLATFORM_WIN32=1
47123 ;;
47124 msdos )
47125 PLATFORM_MSDOS=1
47126 ;;
47127 os2 )
47128 PLATFORM_OS2=1
47129 ;;
47130 darwin )
47131 PLATFORM_MAC=1
47132 PLATFORM_MACOSX=1
47133 ;;
47134 unix )
47135 PLATFORM_UNIX=1
47136 ;;
47137 beos )
47138 PLATFORM_BEOS=1
47139 ;;
47140 * )
47141 { { echo "$as_me:$LINENO: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&5
47142 echo "$as_me: error: Unknown platform: $BAKEFILE_FORCE_PLATFORM" >&2;}
47143 { (exit 1); exit 1; }; }
47144 ;;
47145 esac
47146 fi
47147
47148
47149
47150
47151
47152
47153
47154
47155
47156
47157
47158 # Check whether --enable-omf or --disable-omf was given.
47159 if test "${enable_omf+set}" = set; then
47160 enableval="$enable_omf"
47161 bk_os2_use_omf="$enableval"
47162 fi;
47163
47164 case "${BAKEFILE_HOST}" in
47165 *-*-darwin* )
47166 if test "x$GCC" = "xyes"; then
47167 CFLAGS="$CFLAGS -fno-common"
47168 CXXFLAGS="$CXXFLAGS -fno-common"
47169 fi
47170 if test "x$XLCC" = "xyes"; then
47171 CFLAGS="$CFLAGS -qnocommon"
47172 CXXFLAGS="$CXXFLAGS -qnocommon"
47173 fi
47174 ;;
47175
47176 *-pc-os2_emx | *-pc-os2-emx )
47177 if test "x$bk_os2_use_omf" = "xyes" ; then
47178 AR=emxomfar
47179 RANLIB=:
47180 LDFLAGS="-Zomf $LDFLAGS"
47181 CFLAGS="-Zomf $CFLAGS"
47182 CXXFLAGS="-Zomf $CXXFLAGS"
47183 OS2_LIBEXT="lib"
47184 else
47185 OS2_LIBEXT="a"
47186 fi
47187 ;;
47188
47189 i*86-*-beos* )
47190 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47191 ;;
47192 esac
47193
47194
47195 SO_SUFFIX="so"
47196 SO_SUFFIX_MODULE="so"
47197 EXEEXT=""
47198 LIBPREFIX="lib"
47199 LIBEXT=".a"
47200 DLLPREFIX="lib"
47201 DLLPREFIX_MODULE=""
47202 DLLIMP_SUFFIX=""
47203 dlldir="$libdir"
47204
47205 case "${BAKEFILE_HOST}" in
47206 *-hp-hpux* )
47207 SO_SUFFIX="sl"
47208 SO_SUFFIX_MODULE="sl"
47209 ;;
47210 *-*-aix* )
47211 SO_SUFFIX="a"
47212 SO_SUFFIX_MODULE="a"
47213 ;;
47214 *-*-cygwin* )
47215 SO_SUFFIX="dll"
47216 SO_SUFFIX_MODULE="dll"
47217 DLLIMP_SUFFIX="dll.a"
47218 EXEEXT=".exe"
47219 DLLPREFIX="cyg"
47220 dlldir="$bindir"
47221 ;;
47222 *-*-mingw32* )
47223 SO_SUFFIX="dll"
47224 SO_SUFFIX_MODULE="dll"
47225 DLLIMP_SUFFIX="dll.a"
47226 EXEEXT=".exe"
47227 DLLPREFIX=""
47228 dlldir="$bindir"
47229 ;;
47230 *-pc-msdosdjgpp )
47231 EXEEXT=".exe"
47232 DLLPREFIX=""
47233 dlldir="$bindir"
47234 ;;
47235 *-pc-os2_emx | *-pc-os2-emx )
47236 SO_SUFFIX="dll"
47237 SO_SUFFIX_MODULE="dll"
47238 DLLIMP_SUFFIX=$OS2_LIBEXT
47239 EXEEXT=".exe"
47240 DLLPREFIX=""
47241 LIBPREFIX=""
47242 LIBEXT=".$OS2_LIBEXT"
47243 dlldir="$bindir"
47244 ;;
47245 *-*-darwin* )
47246 SO_SUFFIX="dylib"
47247 SO_SUFFIX_MODULE="bundle"
47248 ;;
47249 esac
47250
47251 if test "x$DLLIMP_SUFFIX" = "x" ; then
47252 DLLIMP_SUFFIX="$SO_SUFFIX"
47253 fi
47254
47255
47256
47257
47258
47259
47260
47261
47262
47263
47264
47265
47266 PIC_FLAG=""
47267 if test "x$GCC" = "xyes"; then
47268 PIC_FLAG="-fPIC"
47269 fi
47270
47271 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47272 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47273 WINDOWS_IMPLIB=0
47274
47275 case "${BAKEFILE_HOST}" in
47276 *-hp-hpux* )
47277 if test "x$GCC" != "xyes"; then
47278 LDFLAGS="$LDFLAGS -L/usr/lib"
47279
47280 SHARED_LD_CC="${CC} -b -o"
47281 SHARED_LD_CXX="${CXX} -b -o"
47282 PIC_FLAG="+Z"
47283 fi
47284 ;;
47285
47286 *-*-linux* )
47287 if test "x$GCC" != "xyes"; then
47288 echo "$as_me:$LINENO: checking for Intel compiler" >&5
47289 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6
47290 if test "${bakefile_cv_prog_icc+set}" = set; then
47291 echo $ECHO_N "(cached) $ECHO_C" >&6
47292 else
47293
47294 cat >conftest.$ac_ext <<_ACEOF
47295 /* confdefs.h. */
47296 _ACEOF
47297 cat confdefs.h >>conftest.$ac_ext
47298 cat >>conftest.$ac_ext <<_ACEOF
47299 /* end confdefs.h. */
47300
47301 int
47302 main ()
47303 {
47304
47305 #ifndef __INTEL_COMPILER
47306 This is not ICC
47307 #endif
47308
47309 ;
47310 return 0;
47311 }
47312 _ACEOF
47313 rm -f conftest.$ac_objext
47314 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47315 (eval $ac_compile) 2>conftest.er1
47316 ac_status=$?
47317 grep -v '^ *+' conftest.er1 >conftest.err
47318 rm -f conftest.er1
47319 cat conftest.err >&5
47320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47321 (exit $ac_status); } &&
47322 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47324 (eval $ac_try) 2>&5
47325 ac_status=$?
47326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47327 (exit $ac_status); }; } &&
47328 { ac_try='test -s conftest.$ac_objext'
47329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47330 (eval $ac_try) 2>&5
47331 ac_status=$?
47332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47333 (exit $ac_status); }; }; then
47334 bakefile_cv_prog_icc=yes
47335 else
47336 echo "$as_me: failed program was:" >&5
47337 sed 's/^/| /' conftest.$ac_ext >&5
47338
47339 bakefile_cv_prog_icc=no
47340
47341 fi
47342 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47343
47344 fi
47345 echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
47346 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6
47347 if test "$bakefile_cv_prog_icc" = "yes"; then
47348 PIC_FLAG="-KPIC"
47349 fi
47350 fi
47351 ;;
47352
47353 *-*-solaris2* )
47354 if test "x$GCC" != xyes ; then
47355 SHARED_LD_CC="${CC} -G -o"
47356 SHARED_LD_CXX="${CXX} -G -o"
47357 PIC_FLAG="-KPIC"
47358 fi
47359 ;;
47360
47361 *-*-darwin* )
47362
47363 D='$'
47364 cat <<EOF >shared-ld-sh
47365 #!/bin/sh
47366 #-----------------------------------------------------------------------------
47367 #-- Name: distrib/mac/shared-ld-sh
47368 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47369 #-- Author: Gilles Depeyrot
47370 #-- Copyright: (c) 2002 Gilles Depeyrot
47371 #-- Licence: any use permitted
47372 #-----------------------------------------------------------------------------
47373
47374 verbose=0
47375 args=""
47376 objects=""
47377 linking_flag="-dynamiclib"
47378 ldargs="-r -keep_private_externs -nostdlib"
47379
47380 while test ${D}# -gt 0; do
47381 case ${D}1 in
47382
47383 -v)
47384 verbose=1
47385 ;;
47386
47387 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47388 # collect these options and values
47389 args="${D}{args} ${D}1 ${D}2"
47390 shift
47391 ;;
47392
47393 -s|-Wl,*)
47394 # collect these load args
47395 ldargs="${D}{ldargs} ${D}1"
47396 ;;
47397
47398 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47399 # collect these options
47400 args="${D}{args} ${D}1"
47401 ;;
47402
47403 -dynamiclib|-bundle)
47404 linking_flag="${D}1"
47405 ;;
47406
47407 -*)
47408 echo "shared-ld: unhandled option '${D}1'"
47409 exit 1
47410 ;;
47411
47412 *.o | *.a | *.dylib)
47413 # collect object files
47414 objects="${D}{objects} ${D}1"
47415 ;;
47416
47417 *)
47418 echo "shared-ld: unhandled argument '${D}1'"
47419 exit 1
47420 ;;
47421
47422 esac
47423 shift
47424 done
47425
47426 status=0
47427
47428 #
47429 # Link one module containing all the others
47430 #
47431 if test ${D}{verbose} = 1; then
47432 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47433 fi
47434 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47435 status=${D}?
47436
47437 #
47438 # Link the shared library from the single module created, but only if the
47439 # previous command didn't fail:
47440 #
47441 if test ${D}{status} = 0; then
47442 if test ${D}{verbose} = 1; then
47443 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47444 fi
47445 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47446 status=${D}?
47447 fi
47448
47449 #
47450 # Remove intermediate module
47451 #
47452 rm -f master.${D}${D}.o
47453
47454 exit ${D}status
47455 EOF
47456
47457 chmod +x shared-ld-sh
47458
47459 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47460 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
47461
47462
47463 echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47464 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6
47465 if test "${bakefile_cv_gcc31+set}" = set; then
47466 echo $ECHO_N "(cached) $ECHO_C" >&6
47467 else
47468
47469 cat >conftest.$ac_ext <<_ACEOF
47470 /* confdefs.h. */
47471 _ACEOF
47472 cat confdefs.h >>conftest.$ac_ext
47473 cat >>conftest.$ac_ext <<_ACEOF
47474 /* end confdefs.h. */
47475
47476 int
47477 main ()
47478 {
47479
47480 #if (__GNUC__ < 3) || \
47481 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47482 This is old gcc
47483 #endif
47484
47485 ;
47486 return 0;
47487 }
47488 _ACEOF
47489 rm -f conftest.$ac_objext
47490 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47491 (eval $ac_compile) 2>conftest.er1
47492 ac_status=$?
47493 grep -v '^ *+' conftest.er1 >conftest.err
47494 rm -f conftest.er1
47495 cat conftest.err >&5
47496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47497 (exit $ac_status); } &&
47498 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
47499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47500 (eval $ac_try) 2>&5
47501 ac_status=$?
47502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47503 (exit $ac_status); }; } &&
47504 { ac_try='test -s conftest.$ac_objext'
47505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47506 (eval $ac_try) 2>&5
47507 ac_status=$?
47508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47509 (exit $ac_status); }; }; then
47510
47511 bakefile_cv_gcc31=yes
47512
47513 else
47514 echo "$as_me: failed program was:" >&5
47515 sed 's/^/| /' conftest.$ac_ext >&5
47516
47517
47518 bakefile_cv_gcc31=no
47519
47520
47521 fi
47522 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47523
47524 fi
47525 echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47526 echo "${ECHO_T}$bakefile_cv_gcc31" >&6
47527 if test "$bakefile_cv_gcc31" = "no"; then
47528 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47529 SHARED_LD_CXX="$SHARED_LD_CC"
47530 else
47531 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47532 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47533 fi
47534
47535 if test "x$GCC" == "xyes"; then
47536 PIC_FLAG="-dynamic -fPIC"
47537 fi
47538 if test "x$XLCC" = "xyes"; then
47539 PIC_FLAG="-dynamic -DPIC"
47540 fi
47541 ;;
47542
47543 *-*-aix* )
47544 if test "x$GCC" = "xyes"; then
47545 PIC_FLAG=""
47546
47547 case "${BAKEFILE_HOST}" in
47548 *-*-aix5* )
47549 LD_EXPFULL="-Wl,-bexpfull"
47550 ;;
47551 esac
47552
47553 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
47554 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
47555 else
47556 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47557 set dummy makeC++SharedLib; ac_word=$2
47558 echo "$as_me:$LINENO: checking for $ac_word" >&5
47559 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
47560 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47561 echo $ECHO_N "(cached) $ECHO_C" >&6
47562 else
47563 if test -n "$AIX_CXX_LD"; then
47564 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
47565 else
47566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47567 for as_dir in $PATH
47568 do
47569 IFS=$as_save_IFS
47570 test -z "$as_dir" && as_dir=.
47571 for ac_exec_ext in '' $ac_executable_extensions; do
47572 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
47573 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
47574 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47575 break 2
47576 fi
47577 done
47578 done
47579
47580 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
47581 fi
47582 fi
47583 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
47584 if test -n "$AIX_CXX_LD"; then
47585 echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47586 echo "${ECHO_T}$AIX_CXX_LD" >&6
47587 else
47588 echo "$as_me:$LINENO: result: no" >&5
47589 echo "${ECHO_T}no" >&6
47590 fi
47591
47592 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
47593 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
47594 fi
47595 ;;
47596
47597 *-*-beos* )
47598 SHARED_LD_CC="${LD} -nostart -o"
47599 SHARED_LD_CXX="${LD} -nostart -o"
47600 ;;
47601
47602 *-*-irix* )
47603 if test "x$GCC" != "xyes"; then
47604 PIC_FLAG="-KPIC"
47605 fi
47606 ;;
47607
47608 *-*-cygwin* | *-*-mingw32* )
47609 PIC_FLAG=""
47610 SHARED_LD_CC="\$(CC) -shared -o"
47611 SHARED_LD_CXX="\$(CXX) -shared -o"
47612 WINDOWS_IMPLIB=1
47613 ;;
47614
47615 *-pc-os2_emx | *-pc-os2-emx )
47616 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47617 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47618 PIC_FLAG=""
47619
47620 D='$'
47621 cat <<EOF >dllar.sh
47622 #!/bin/sh
47623 #
47624 # dllar - a tool to build both a .dll and an .a file
47625 # from a set of object (.o) files for EMX/OS2.
47626 #
47627 # Written by Andrew Zabolotny, bit@freya.etu.ru
47628 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47629 #
47630 # This script will accept a set of files on the command line.
47631 # All the public symbols from the .o files will be exported into
47632 # a .DEF file, then linker will be run (through gcc) against them to
47633 # build a shared library consisting of all given .o files. All libraries
47634 # (.a) will be first decompressed into component .o files then act as
47635 # described above. You can optionally give a description (-d "description")
47636 # which will be put into .DLL. To see the list of accepted options (as well
47637 # as command-line format) simply run this program without options. The .DLL
47638 # is built to be imported by name (there is no guarantee that new versions
47639 # of the library you build will have same ordinals for same symbols).
47640 #
47641 # dllar is free software; you can redistribute it and/or modify
47642 # it under the terms of the GNU General Public License as published by
47643 # the Free Software Foundation; either version 2, or (at your option)
47644 # any later version.
47645 #
47646 # dllar is distributed in the hope that it will be useful,
47647 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47648 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47649 # GNU General Public License for more details.
47650 #
47651 # You should have received a copy of the GNU General Public License
47652 # along with dllar; see the file COPYING. If not, write to the Free
47653 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47654 # 02111-1307, USA.
47655
47656 # To successfuly run this program you will need:
47657 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47658 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47659 # - gcc
47660 # (used to build the .dll)
47661 # - emxexp
47662 # (used to create .def file from .o files)
47663 # - emximp
47664 # (used to create .a file from .def file)
47665 # - GNU text utilites (cat, sort, uniq)
47666 # used to process emxexp output
47667 # - GNU file utilities (mv, rm)
47668 # - GNU sed
47669 # - lxlite (optional, see flag below)
47670 # (used for general .dll cleanup)
47671 #
47672
47673 flag_USE_LXLITE=1;
47674
47675 #
47676 # helper functions
47677 # basnam, variant of basename, which does _not_ remove the path, _iff_
47678 # second argument (suffix to remove) is given
47679 basnam(){
47680 case ${D}# in
47681 1)
47682 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47683 ;;
47684 2)
47685 echo ${D}1 | sed 's/'${D}2'${D}//'
47686 ;;
47687 *)
47688 echo "error in basnam ${D}*"
47689 exit 8
47690 ;;
47691 esac
47692 }
47693
47694 # Cleanup temporary files and output
47695 CleanUp() {
47696 cd ${D}curDir
47697 for i in ${D}inputFiles ; do
47698 case ${D}i in
47699 *!)
47700 rm -rf \`basnam ${D}i !\`
47701 ;;
47702 *)
47703 ;;
47704 esac
47705 done
47706
47707 # Kill result in case of failure as there is just to many stupid make/nmake
47708 # things out there which doesn't do this.
47709 if [ ${D}# -eq 0 ]; then
47710 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47711 fi
47712 }
47713
47714 # Print usage and exit script with rc=1.
47715 PrintHelp() {
47716 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47717 echo ' [-name-mangler-script script.sh]'
47718 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47719 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47720 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47721 echo ' [*.o] [*.a]'
47722 echo '*> "output_file" should have no extension.'
47723 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47724 echo ' The import library name is derived from this and is set to "name".a,'
47725 echo ' unless overridden by -import'
47726 echo '*> "importlib_name" should have no extension.'
47727 echo ' If it has the .o, or .a extension, it is automatically removed.'
47728 echo ' This name is used as the import library name and may be longer and'
47729 echo ' more descriptive than the DLL name which has to follow the old '
47730 echo ' 8.3 convention of FAT.'
47731 echo '*> "script.sh may be given to override the output_file name by a'
47732 echo ' different name. It is mainly useful if the regular make process'
47733 echo ' of some package does not take into account OS/2 restriction of'
47734 echo ' DLL name lengths. It takes the importlib name as input and is'
47735 echo ' supposed to procude a shorter name as output. The script should'
47736 echo ' expect to get importlib_name without extension and should produce'
47737 echo ' a (max.) 8 letter name without extension.'
47738 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47739 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47740 echo ' These flags will be put at the start of GCC command line.'
47741 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47742 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47743 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47744 echo ' If the last character of a symbol is "*", all symbols beginning'
47745 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47746 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47747 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47748 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47749 echo ' C runtime DLLs.'
47750 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47751 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47752 echo ' unchanged to GCC at the end of command line.'
47753 echo '*> If you create a DLL from a library and you do not specify -o,'
47754 echo ' the basename for DLL and import library will be set to library name,'
47755 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47756 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47757 echo ' library will be renamed into gcc_s.a.'
47758 echo '--------'
47759 echo 'Example:'
47760 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47761 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47762 CleanUp
47763 exit 1
47764 }
47765
47766 # Execute a command.
47767 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47768 # @Uses Whatever CleanUp() uses.
47769 doCommand() {
47770 echo "${D}*"
47771 eval ${D}*
47772 rcCmd=${D}?
47773
47774 if [ ${D}rcCmd -ne 0 ]; then
47775 echo "command failed, exit code="${D}rcCmd
47776 CleanUp
47777 exit ${D}rcCmd
47778 fi
47779 }
47780
47781 # main routine
47782 # setup globals
47783 cmdLine=${D}*
47784 outFile=""
47785 outimpFile=""
47786 inputFiles=""
47787 renameScript=""
47788 description=""
47789 CC=gcc.exe
47790 CFLAGS="-s -Zcrtdll"
47791 EXTRA_CFLAGS=""
47792 EXPORT_BY_ORDINALS=0
47793 exclude_symbols=""
47794 library_flags=""
47795 curDir=\`pwd\`
47796 curDirS=curDir
47797 case ${D}curDirS in
47798 */)
47799 ;;
47800 *)
47801 curDirS=${D}{curDirS}"/"
47802 ;;
47803 esac
47804 # Parse commandline
47805 libsToLink=0
47806 omfLinking=0
47807 while [ ${D}1 ]; do
47808 case ${D}1 in
47809 -ord*)
47810 EXPORT_BY_ORDINALS=1;
47811 ;;
47812 -o*)
47813 shift
47814 outFile=${D}1
47815 ;;
47816 -i*)
47817 shift
47818 outimpFile=${D}1
47819 ;;
47820 -name-mangler-script)
47821 shift
47822 renameScript=${D}1
47823 ;;
47824 -d*)
47825 shift
47826 description=${D}1
47827 ;;
47828 -f*)
47829 shift
47830 CFLAGS=${D}1
47831 ;;
47832 -c*)
47833 shift
47834 CC=${D}1
47835 ;;
47836 -h*)
47837 PrintHelp
47838 ;;
47839 -ex*)
47840 shift
47841 exclude_symbols=${D}{exclude_symbols}${D}1" "
47842 ;;
47843 -libf*)
47844 shift
47845 library_flags=${D}{library_flags}${D}1" "
47846 ;;
47847 -nocrt*)
47848 CFLAGS="-s"
47849 ;;
47850 -nolxl*)
47851 flag_USE_LXLITE=0
47852 ;;
47853 -* | /*)
47854 case ${D}1 in
47855 -L* | -l*)
47856 libsToLink=1
47857 ;;
47858 -Zomf)
47859 omfLinking=1
47860 ;;
47861 *)
47862 ;;
47863 esac
47864 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47865 ;;
47866 *.dll)
47867 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47868 if [ ${D}omfLinking -eq 1 ]; then
47869 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47870 else
47871 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47872 fi
47873 ;;
47874 *)
47875 found=0;
47876 if [ ${D}libsToLink -ne 0 ]; then
47877 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47878 else
47879 for file in ${D}1 ; do
47880 if [ -f ${D}file ]; then
47881 inputFiles="${D}{inputFiles} ${D}file"
47882 found=1
47883 fi
47884 done
47885 if [ ${D}found -eq 0 ]; then
47886 echo "ERROR: No file(s) found: "${D}1
47887 exit 8
47888 fi
47889 fi
47890 ;;
47891 esac
47892 shift
47893 done # iterate cmdline words
47894
47895 #
47896 if [ -z "${D}inputFiles" ]; then
47897 echo "dllar: no input files"
47898 PrintHelp
47899 fi
47900
47901 # Now extract all .o files from .a files
47902 newInputFiles=""
47903 for file in ${D}inputFiles ; do
47904 case ${D}file in
47905 *.a | *.lib)
47906 case ${D}file in
47907 *.a)
47908 suffix=".a"
47909 AR="ar"
47910 ;;
47911 *.lib)
47912 suffix=".lib"
47913 AR="emxomfar"
47914 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47915 ;;
47916 *)
47917 ;;
47918 esac
47919 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47920 mkdir ${D}dirname
47921 if [ ${D}? -ne 0 ]; then
47922 echo "Failed to create subdirectory ./${D}dirname"
47923 CleanUp
47924 exit 8;
47925 fi
47926 # Append '!' to indicate archive
47927 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47928 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47929 cd ${D}curDir
47930 found=0;
47931 for subfile in ${D}dirname/*.o* ; do
47932 if [ -f ${D}subfile ]; then
47933 found=1
47934 if [ -s ${D}subfile ]; then
47935 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47936 newInputFiles="${D}newInputFiles ${D}subfile"
47937 fi
47938 fi
47939 done
47940 if [ ${D}found -eq 0 ]; then
47941 echo "WARNING: there are no files in archive \\'${D}file\\'"
47942 fi
47943 ;;
47944 *)
47945 newInputFiles="${D}{newInputFiles} ${D}file"
47946 ;;
47947 esac
47948 done
47949 inputFiles="${D}newInputFiles"
47950
47951 # Output filename(s).
47952 do_backup=0;
47953 if [ -z ${D}outFile ]; then
47954 do_backup=1;
47955 set outFile ${D}inputFiles; outFile=${D}2
47956 fi
47957
47958 # If it is an archive, remove the '!' and the '_%' suffixes
47959 case ${D}outFile in
47960 *_%!)
47961 outFile=\`basnam ${D}outFile _%!\`
47962 ;;
47963 *)
47964 ;;
47965 esac
47966 case ${D}outFile in
47967 *.dll)
47968 outFile=\`basnam ${D}outFile .dll\`
47969 ;;
47970 *.DLL)
47971 outFile=\`basnam ${D}outFile .DLL\`
47972 ;;
47973 *.o)
47974 outFile=\`basnam ${D}outFile .o\`
47975 ;;
47976 *.obj)
47977 outFile=\`basnam ${D}outFile .obj\`
47978 ;;
47979 *.a)
47980 outFile=\`basnam ${D}outFile .a\`
47981 ;;
47982 *.lib)
47983 outFile=\`basnam ${D}outFile .lib\`
47984 ;;
47985 *)
47986 ;;
47987 esac
47988 case ${D}outimpFile in
47989 *.a)
47990 outimpFile=\`basnam ${D}outimpFile .a\`
47991 ;;
47992 *.lib)
47993 outimpFile=\`basnam ${D}outimpFile .lib\`
47994 ;;
47995 *)
47996 ;;
47997 esac
47998 if [ -z ${D}outimpFile ]; then
47999 outimpFile=${D}outFile
48000 fi
48001 defFile="${D}{outFile}.def"
48002 arcFile="${D}{outimpFile}.a"
48003 arcFile2="${D}{outimpFile}.lib"
48004
48005 #create ${D}dllFile as something matching 8.3 restrictions,
48006 if [ -z ${D}renameScript ] ; then
48007 dllFile="${D}outFile"
48008 else
48009 dllFile=\`${D}renameScript ${D}outimpFile\`
48010 fi
48011
48012 if [ ${D}do_backup -ne 0 ] ; then
48013 if [ -f ${D}arcFile ] ; then
48014 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48015 fi
48016 if [ -f ${D}arcFile2 ] ; then
48017 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48018 fi
48019 fi
48020
48021 # Extract public symbols from all the object files.
48022 tmpdefFile=${D}{defFile}_%
48023 rm -f ${D}tmpdefFile
48024 for file in ${D}inputFiles ; do
48025 case ${D}file in
48026 *!)
48027 ;;
48028 *)
48029 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48030 ;;
48031 esac
48032 done
48033
48034 # Create the def file.
48035 rm -f ${D}defFile
48036 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48037 dllFile="${D}{dllFile}.dll"
48038 if [ ! -z ${D}description ]; then
48039 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48040 fi
48041 echo "EXPORTS" >> ${D}defFile
48042
48043 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48044 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48045
48046 # Checks if the export is ok or not.
48047 for word in ${D}exclude_symbols; do
48048 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48049 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48050 done
48051
48052
48053 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48054 sed "=" < ${D}tmpdefFile | \\
48055 sed '
48056 N
48057 : loop
48058 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48059 t loop
48060 ' > ${D}{tmpdefFile}%
48061 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48062 else
48063 rm -f ${D}{tmpdefFile}%
48064 fi
48065 cat ${D}tmpdefFile >> ${D}defFile
48066 rm -f ${D}tmpdefFile
48067
48068 # Do linking, create implib, and apply lxlite.
48069 gccCmdl="";
48070 for file in ${D}inputFiles ; do
48071 case ${D}file in
48072 *!)
48073 ;;
48074 *)
48075 gccCmdl="${D}gccCmdl ${D}file"
48076 ;;
48077 esac
48078 done
48079 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48080 touch "${D}{outFile}.dll"
48081
48082 doCommand "emximp -o ${D}arcFile ${D}defFile"
48083 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48084 add_flags="";
48085 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48086 add_flags="-ynd"
48087 fi
48088 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48089 fi
48090 doCommand "emxomf -s -l ${D}arcFile"
48091
48092 # Successful exit.
48093 CleanUp 1
48094 exit 0
48095 EOF
48096
48097 chmod +x dllar.sh
48098 ;;
48099
48100 powerpc-apple-macos* | \
48101 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48102 *-*-sunos4* | \
48103 *-*-osf* | \
48104 *-*-dgux5* | \
48105 *-*-sysv5* | \
48106 *-pc-msdosdjgpp )
48107 ;;
48108
48109 *)
48110 esac
48111
48112 if test "x$PIC_FLAG" != "x" ; then
48113 PIC_FLAG="$PIC_FLAG -DPIC"
48114 fi
48115
48116 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48117 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48118 fi
48119 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48120 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48121 fi
48122
48123
48124
48125
48126
48127
48128
48129
48130
48131 USE_SOVERSION=0
48132 USE_SOVERLINUX=0
48133 USE_SOVERSOLARIS=0
48134 USE_SOVERCYGWIN=0
48135 USE_SOSYMLINKS=0
48136 USE_MACVERSION=0
48137 SONAME_FLAG=
48138
48139 case "${BAKEFILE_HOST}" in
48140 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
48141 SONAME_FLAG="-Wl,-soname,"
48142 USE_SOVERSION=1
48143 USE_SOVERLINUX=1
48144 USE_SOSYMLINKS=1
48145 ;;
48146
48147 *-*-solaris2* )
48148 SONAME_FLAG="-h "
48149 USE_SOVERSION=1
48150 USE_SOVERSOLARIS=1
48151 USE_SOSYMLINKS=1
48152 ;;
48153
48154 *-*-darwin* )
48155 USE_MACVERSION=1
48156 USE_SOVERSION=1
48157 USE_SOSYMLINKS=1
48158 ;;
48159
48160 *-*-cygwin* )
48161 USE_SOVERSION=1
48162 USE_SOVERCYGWIN=1
48163 ;;
48164 esac
48165
48166
48167
48168
48169
48170
48171
48172
48173
48174
48175 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
48176 if test "${enable_dependency_tracking+set}" = set; then
48177 enableval="$enable_dependency_tracking"
48178 bk_use_trackdeps="$enableval"
48179 fi;
48180
48181 echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48182 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6
48183
48184 if test "x$bk_use_trackdeps" = "xno" ; then
48185 DEPS_TRACKING=0
48186 echo "$as_me:$LINENO: result: disabled" >&5
48187 echo "${ECHO_T}disabled" >&6
48188 else
48189 DEPS_TRACKING=1
48190
48191 if test "x$GCC" = "xyes"; then
48192 DEPSMODE=gcc
48193 case "${BAKEFILE_HOST}" in
48194 *-*-darwin* )
48195 DEPSFLAG="-no-cpp-precomp -MMD"
48196 ;;
48197 * )
48198 DEPSFLAG="-MMD"
48199 ;;
48200 esac
48201 echo "$as_me:$LINENO: result: gcc" >&5
48202 echo "${ECHO_T}gcc" >&6
48203 elif test "x$MWCC" = "xyes"; then
48204 DEPSMODE=mwcc
48205 DEPSFLAG="-MM"
48206 echo "$as_me:$LINENO: result: mwcc" >&5
48207 echo "${ECHO_T}mwcc" >&6
48208 elif test "x$SUNCC" = "xyes"; then
48209 DEPSMODE=unixcc
48210 DEPSFLAG="-xM1"
48211 echo "$as_me:$LINENO: result: Sun cc" >&5
48212 echo "${ECHO_T}Sun cc" >&6
48213 elif test "x$SGICC" = "xyes"; then
48214 DEPSMODE=unixcc
48215 DEPSFLAG="-M"
48216 echo "$as_me:$LINENO: result: SGI cc" >&5
48217 echo "${ECHO_T}SGI cc" >&6
48218 elif test "x$HPCC" = "xyes"; then
48219 DEPSMODE=unixcc
48220 DEPSFLAG="+make"
48221 echo "$as_me:$LINENO: result: HP cc" >&5
48222 echo "${ECHO_T}HP cc" >&6
48223 elif test "x$COMPAQCC" = "xyes"; then
48224 DEPSMODE=gcc
48225 DEPSFLAG="-MD"
48226 echo "$as_me:$LINENO: result: Compaq cc" >&5
48227 echo "${ECHO_T}Compaq cc" >&6
48228 else
48229 DEPS_TRACKING=0
48230 echo "$as_me:$LINENO: result: none" >&5
48231 echo "${ECHO_T}none" >&6
48232 fi
48233
48234 if test $DEPS_TRACKING = 1 ; then
48235
48236 D='$'
48237 cat <<EOF >bk-deps
48238 #!/bin/sh
48239
48240 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48241 # script. It is used to track C/C++ files dependencies in portable way.
48242 #
48243 # Permission is given to use this file in any way.
48244
48245 DEPSMODE=${DEPSMODE}
48246 DEPSDIR=.deps
48247 DEPSFLAG="${DEPSFLAG}"
48248
48249 mkdir -p ${D}DEPSDIR
48250
48251 if test ${D}DEPSMODE = gcc ; then
48252 ${D}* ${D}{DEPSFLAG}
48253 status=${D}?
48254 if test ${D}{status} != 0 ; then
48255 exit ${D}{status}
48256 fi
48257 # move created file to the location we want it in:
48258 while test ${D}# -gt 0; do
48259 case "${D}1" in
48260 -o )
48261 shift
48262 objfile=${D}1
48263 ;;
48264 -* )
48265 ;;
48266 * )
48267 srcfile=${D}1
48268 ;;
48269 esac
48270 shift
48271 done
48272 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48273 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48274 if test -f ${D}depfile ; then
48275 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48276 rm -f ${D}depfile
48277 else
48278 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48279 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48280 if test ! -f ${D}depfile ; then
48281 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48282 depfile="${D}objfile.d"
48283 fi
48284 if test -f ${D}depfile ; then
48285 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48286 rm -f ${D}depfile
48287 fi
48288 fi
48289 exit 0
48290 elif test ${D}DEPSMODE = mwcc ; then
48291 ${D}* || exit ${D}?
48292 # Run mwcc again with -MM and redirect into the dep file we want
48293 # NOTE: We can't use shift here because we need ${D}* to be valid
48294 prevarg=
48295 for arg in ${D}* ; do
48296 if test "${D}prevarg" = "-o"; then
48297 objfile=${D}arg
48298 else
48299 case "${D}arg" in
48300 -* )
48301 ;;
48302 * )
48303 srcfile=${D}arg
48304 ;;
48305 esac
48306 fi
48307 prevarg="${D}arg"
48308 done
48309 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48310 exit 0
48311 elif test ${D}DEPSMODE = unixcc; then
48312 ${D}* || exit ${D}?
48313 # Run compiler again with deps flag and redirect into the dep file.
48314 # It doesn't work if the '-o FILE' option is used, but without it the
48315 # dependency file will contain the wrong name for the object. So it is
48316 # removed from the command line, and the dep file is fixed with sed.
48317 cmd=""
48318 while test ${D}# -gt 0; do
48319 case "${D}1" in
48320 -o )
48321 shift
48322 objfile=${D}1
48323 ;;
48324 * )
48325 eval arg${D}#=\\${D}1
48326 cmd="${D}cmd \\${D}arg${D}#"
48327 ;;
48328 esac
48329 shift
48330 done
48331 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48332 exit 0
48333 else
48334 ${D}*
48335 exit ${D}?
48336 fi
48337 EOF
48338
48339 chmod +x bk-deps
48340 fi
48341 fi
48342
48343
48344
48345
48346 case ${BAKEFILE_HOST} in
48347 *-*-cygwin* | *-*-mingw32* )
48348 if test -n "$ac_tool_prefix"; then
48349 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48350 set dummy ${ac_tool_prefix}windres; ac_word=$2
48351 echo "$as_me:$LINENO: checking for $ac_word" >&5
48352 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48353 if test "${ac_cv_prog_WINDRES+set}" = set; then
48354 echo $ECHO_N "(cached) $ECHO_C" >&6
48355 else
48356 if test -n "$WINDRES"; then
48357 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48358 else
48359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48360 for as_dir in $PATH
48361 do
48362 IFS=$as_save_IFS
48363 test -z "$as_dir" && as_dir=.
48364 for ac_exec_ext in '' $ac_executable_extensions; do
48365 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48366 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48367 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48368 break 2
48369 fi
48370 done
48371 done
48372
48373 fi
48374 fi
48375 WINDRES=$ac_cv_prog_WINDRES
48376 if test -n "$WINDRES"; then
48377 echo "$as_me:$LINENO: result: $WINDRES" >&5
48378 echo "${ECHO_T}$WINDRES" >&6
48379 else
48380 echo "$as_me:$LINENO: result: no" >&5
48381 echo "${ECHO_T}no" >&6
48382 fi
48383
48384 fi
48385 if test -z "$ac_cv_prog_WINDRES"; then
48386 ac_ct_WINDRES=$WINDRES
48387 # Extract the first word of "windres", so it can be a program name with args.
48388 set dummy windres; ac_word=$2
48389 echo "$as_me:$LINENO: checking for $ac_word" >&5
48390 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48391 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48392 echo $ECHO_N "(cached) $ECHO_C" >&6
48393 else
48394 if test -n "$ac_ct_WINDRES"; then
48395 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
48396 else
48397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48398 for as_dir in $PATH
48399 do
48400 IFS=$as_save_IFS
48401 test -z "$as_dir" && as_dir=.
48402 for ac_exec_ext in '' $ac_executable_extensions; do
48403 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48404 ac_cv_prog_ac_ct_WINDRES="windres"
48405 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48406 break 2
48407 fi
48408 done
48409 done
48410
48411 fi
48412 fi
48413 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
48414 if test -n "$ac_ct_WINDRES"; then
48415 echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48416 echo "${ECHO_T}$ac_ct_WINDRES" >&6
48417 else
48418 echo "$as_me:$LINENO: result: no" >&5
48419 echo "${ECHO_T}no" >&6
48420 fi
48421
48422 WINDRES=$ac_ct_WINDRES
48423 else
48424 WINDRES="$ac_cv_prog_WINDRES"
48425 fi
48426
48427 ;;
48428
48429 *-*-darwin* | powerpc-apple-macos* )
48430 # Extract the first word of "Rez", so it can be a program name with args.
48431 set dummy Rez; ac_word=$2
48432 echo "$as_me:$LINENO: checking for $ac_word" >&5
48433 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48434 if test "${ac_cv_prog_REZ+set}" = set; then
48435 echo $ECHO_N "(cached) $ECHO_C" >&6
48436 else
48437 if test -n "$REZ"; then
48438 ac_cv_prog_REZ="$REZ" # Let the user override the test.
48439 else
48440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48441 for as_dir in $PATH
48442 do
48443 IFS=$as_save_IFS
48444 test -z "$as_dir" && as_dir=.
48445 for ac_exec_ext in '' $ac_executable_extensions; do
48446 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48447 ac_cv_prog_REZ="Rez"
48448 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48449 break 2
48450 fi
48451 done
48452 done
48453
48454 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
48455 fi
48456 fi
48457 REZ=$ac_cv_prog_REZ
48458 if test -n "$REZ"; then
48459 echo "$as_me:$LINENO: result: $REZ" >&5
48460 echo "${ECHO_T}$REZ" >&6
48461 else
48462 echo "$as_me:$LINENO: result: no" >&5
48463 echo "${ECHO_T}no" >&6
48464 fi
48465
48466 # Extract the first word of "SetFile", so it can be a program name with args.
48467 set dummy SetFile; ac_word=$2
48468 echo "$as_me:$LINENO: checking for $ac_word" >&5
48469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
48470 if test "${ac_cv_prog_SETFILE+set}" = set; then
48471 echo $ECHO_N "(cached) $ECHO_C" >&6
48472 else
48473 if test -n "$SETFILE"; then
48474 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
48475 else
48476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48477 for as_dir in $PATH
48478 do
48479 IFS=$as_save_IFS
48480 test -z "$as_dir" && as_dir=.
48481 for ac_exec_ext in '' $ac_executable_extensions; do
48482 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
48483 ac_cv_prog_SETFILE="SetFile"
48484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48485 break 2
48486 fi
48487 done
48488 done
48489
48490 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
48491 fi
48492 fi
48493 SETFILE=$ac_cv_prog_SETFILE
48494 if test -n "$SETFILE"; then
48495 echo "$as_me:$LINENO: result: $SETFILE" >&5
48496 echo "${ECHO_T}$SETFILE" >&6
48497 else
48498 echo "$as_me:$LINENO: result: no" >&5
48499 echo "${ECHO_T}no" >&6
48500 fi
48501
48502 ;;
48503 esac
48504
48505
48506
48507
48508
48509
48510 BAKEFILE_BAKEFILE_M4_VERSION="0.2.0"
48511
48512
48513 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.0"
48514
48515
48516
48517 # Check whether --enable-precomp-headers or --disable-precomp-headers was given.
48518 if test "${enable_precomp_headers+set}" = set; then
48519 enableval="$enable_precomp_headers"
48520 bk_use_pch="$enableval"
48521 fi;
48522
48523 GCC_PCH=0
48524 ICC_PCH=0
48525 USE_PCH=0
48526
48527 case ${BAKEFILE_HOST} in
48528 *-*-cygwin* )
48529 bk_use_pch="no"
48530 ;;
48531 esac
48532
48533 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48534 if test "x$GCC" = "xyes"; then
48535 echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48536 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6
48537 cat >conftest.$ac_ext <<_ACEOF
48538 /* confdefs.h. */
48539 _ACEOF
48540 cat confdefs.h >>conftest.$ac_ext
48541 cat >>conftest.$ac_ext <<_ACEOF
48542 /* end confdefs.h. */
48543
48544 int
48545 main ()
48546 {
48547
48548 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48549 There is no PCH support
48550 #endif
48551 #if (__GNUC__ < 3)
48552 There is no PCH support
48553 #endif
48554 #if (__GNUC__ == 3) && \
48555 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48556 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48557 ( defined(__INTEL_COMPILER) )
48558 There is no PCH support
48559 #endif
48560
48561 ;
48562 return 0;
48563 }
48564 _ACEOF
48565 rm -f conftest.$ac_objext
48566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48567 (eval $ac_compile) 2>conftest.er1
48568 ac_status=$?
48569 grep -v '^ *+' conftest.er1 >conftest.err
48570 rm -f conftest.er1
48571 cat conftest.err >&5
48572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48573 (exit $ac_status); } &&
48574 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48576 (eval $ac_try) 2>&5
48577 ac_status=$?
48578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48579 (exit $ac_status); }; } &&
48580 { ac_try='test -s conftest.$ac_objext'
48581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48582 (eval $ac_try) 2>&5
48583 ac_status=$?
48584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48585 (exit $ac_status); }; }; then
48586
48587 echo "$as_me:$LINENO: result: yes" >&5
48588 echo "${ECHO_T}yes" >&6
48589 GCC_PCH=1
48590
48591 else
48592 echo "$as_me: failed program was:" >&5
48593 sed 's/^/| /' conftest.$ac_ext >&5
48594
48595
48596 cat >conftest.$ac_ext <<_ACEOF
48597 /* confdefs.h. */
48598 _ACEOF
48599 cat confdefs.h >>conftest.$ac_ext
48600 cat >>conftest.$ac_ext <<_ACEOF
48601 /* end confdefs.h. */
48602
48603 int
48604 main ()
48605 {
48606
48607 #if !defined(__INTEL_COMPILER) || \
48608 (__INTEL_COMPILER < 800)
48609 There is no PCH support
48610 #endif
48611
48612 ;
48613 return 0;
48614 }
48615 _ACEOF
48616 rm -f conftest.$ac_objext
48617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48618 (eval $ac_compile) 2>conftest.er1
48619 ac_status=$?
48620 grep -v '^ *+' conftest.er1 >conftest.err
48621 rm -f conftest.er1
48622 cat conftest.err >&5
48623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48624 (exit $ac_status); } &&
48625 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
48626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48627 (eval $ac_try) 2>&5
48628 ac_status=$?
48629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48630 (exit $ac_status); }; } &&
48631 { ac_try='test -s conftest.$ac_objext'
48632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48633 (eval $ac_try) 2>&5
48634 ac_status=$?
48635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48636 (exit $ac_status); }; }; then
48637
48638 echo "$as_me:$LINENO: result: yes" >&5
48639 echo "${ECHO_T}yes" >&6
48640 ICC_PCH=1
48641
48642 else
48643 echo "$as_me: failed program was:" >&5
48644 sed 's/^/| /' conftest.$ac_ext >&5
48645
48646
48647 echo "$as_me:$LINENO: result: no" >&5
48648 echo "${ECHO_T}no" >&6
48649
48650 fi
48651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48652
48653 fi
48654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48655 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48656 USE_PCH=1
48657
48658 D='$'
48659 cat <<EOF >bk-make-pch
48660 #!/bin/sh
48661
48662 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48663 # script. It is used to generated precompiled headers.
48664 #
48665 # Permission is given to use this file in any way.
48666
48667 outfile="${D}{1}"
48668 header="${D}{2}"
48669 shift
48670 shift
48671
48672 compiler=""
48673 headerfile=""
48674
48675 while test ${D}{#} -gt 0; do
48676 add_to_cmdline=1
48677 case "${D}{1}" in
48678 -I* )
48679 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48680 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48681 headerfile="${D}{incdir}/${D}{header}"
48682 fi
48683 ;;
48684 -use-pch|-use_pch )
48685 shift
48686 add_to_cmdline=0
48687 ;;
48688 esac
48689 if test ${D}add_to_cmdline = 1 ; then
48690 compiler="${D}{compiler} ${D}{1}"
48691 fi
48692 shift
48693 done
48694
48695 if test "x${D}{headerfile}" = "x" ; then
48696 echo "error: can't find header ${D}{header} in include paths" >&2
48697 else
48698 if test -f ${D}{outfile} ; then
48699 rm -f ${D}{outfile}
48700 else
48701 mkdir -p \`dirname ${D}{outfile}\`
48702 fi
48703 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48704 mkdir -p .deps
48705 if test "x${GCC_PCH}" = "x1" ; then
48706 # can do this because gcc is >= 3.4:
48707 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48708 elif test "x${ICC_PCH}" = "x1" ; then
48709 filename=pch_gen-${D}${D}
48710 file=${D}{filename}.c
48711 dfile=${D}{filename}.d
48712 cat > ${D}file <<EOT
48713 #include "${D}header"
48714 EOT
48715 # using -MF icc complains about differing command lines in creation/use
48716 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48717 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48718 rm -f ${D}file ${D}dfile ${D}{filename}.o
48719 fi
48720 exit ${D}{?}
48721 fi
48722 EOF
48723
48724 chmod +x bk-make-pch
48725 fi
48726 fi
48727 fi
48728
48729
48730
48731
48732 COND_BUILD_DEBUG="#"
48733 if test "x$BUILD" = "xdebug" ; then
48734 COND_BUILD_DEBUG=""
48735 fi
48736
48737 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
48738 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48739 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
48740 fi
48741
48742 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
48743 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48744 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
48745 fi
48746
48747 COND_BUILD_DEBUG_UNICODE_0="#"
48748 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48749 COND_BUILD_DEBUG_UNICODE_0=""
48750 fi
48751
48752 COND_BUILD_DEBUG_UNICODE_1="#"
48753 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48754 COND_BUILD_DEBUG_UNICODE_1=""
48755 fi
48756
48757 COND_BUILD_RELEASE="#"
48758 if test "x$BUILD" = "xrelease" ; then
48759 COND_BUILD_RELEASE=""
48760 fi
48761
48762 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
48763 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48764 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
48765 fi
48766
48767 COND_BUILD_RELEASE_UNICODE_0="#"
48768 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48769 COND_BUILD_RELEASE_UNICODE_0=""
48770 fi
48771
48772 COND_BUILD_RELEASE_UNICODE_1="#"
48773 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48774 COND_BUILD_RELEASE_UNICODE_1=""
48775 fi
48776
48777 COND_DEBUG_FLAG_1="#"
48778 if test "x$DEBUG_FLAG" = "x1" ; then
48779 COND_DEBUG_FLAG_1=""
48780 fi
48781
48782 COND_DEBUG_INFO_0="#"
48783 if test "x$DEBUG_INFO" = "x0" ; then
48784 COND_DEBUG_INFO_0=""
48785 fi
48786
48787 COND_DEBUG_INFO_1="#"
48788 if test "x$DEBUG_INFO" = "x1" ; then
48789 COND_DEBUG_INFO_1=""
48790 fi
48791
48792 COND_DEPS_TRACKING_0="#"
48793 if test "x$DEPS_TRACKING" = "x0" ; then
48794 COND_DEPS_TRACKING_0=""
48795 fi
48796
48797 COND_DEPS_TRACKING_1="#"
48798 if test "x$DEPS_TRACKING" = "x1" ; then
48799 COND_DEPS_TRACKING_1=""
48800 fi
48801
48802 COND_GCC_PCH_1="#"
48803 if test "x$GCC_PCH" = "x1" ; then
48804 COND_GCC_PCH_1=""
48805 fi
48806
48807 COND_ICC_PCH_1="#"
48808 if test "x$ICC_PCH" = "x1" ; then
48809 COND_ICC_PCH_1=""
48810 fi
48811
48812 COND_MONOLITHIC_0="#"
48813 if test "x$MONOLITHIC" = "x0" ; then
48814 COND_MONOLITHIC_0=""
48815 fi
48816
48817 COND_MONOLITHIC_0_SHARED_0="#"
48818 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48819 COND_MONOLITHIC_0_SHARED_0=""
48820 fi
48821
48822 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
48823 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48824 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48825 fi
48826
48827 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48828 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48830 fi
48831
48832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48833 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48835 fi
48836
48837 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48838 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48839 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48840 fi
48841
48842 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
48843 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48844 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
48845 fi
48846
48847 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
48848 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48849 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
48850 fi
48851
48852 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
48853 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
48854 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
48855 fi
48856
48857 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
48858 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48859 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
48860 fi
48861
48862 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
48863 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48864 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
48865 fi
48866
48867 COND_MONOLITHIC_0_SHARED_1="#"
48868 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48869 COND_MONOLITHIC_0_SHARED_1=""
48870 fi
48871
48872 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
48873 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48874 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
48875 fi
48876
48877 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
48878 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48879 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
48880 fi
48881
48882 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
48883 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48884 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
48885 fi
48886
48887 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
48888 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48889 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
48890 fi
48891
48892 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
48893 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48894 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
48895 fi
48896
48897 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
48898 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48899 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
48900 fi
48901
48902 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
48903 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
48904 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
48905 fi
48906
48907 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
48908 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48909 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
48910 fi
48911
48912 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48913 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48914 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48915 fi
48916
48917 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48918 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48919 COND_MONOLITHIC_0_USE_MEDIA_1=""
48920 fi
48921
48922 COND_MONOLITHIC_0_USE_ODBC_1="#"
48923 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48924 COND_MONOLITHIC_0_USE_ODBC_1=""
48925 fi
48926
48927 COND_MONOLITHIC_1="#"
48928 if test "x$MONOLITHIC" = "x1" ; then
48929 COND_MONOLITHIC_1=""
48930 fi
48931
48932 COND_MONOLITHIC_1_SHARED_0="#"
48933 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48934 COND_MONOLITHIC_1_SHARED_0=""
48935 fi
48936
48937 COND_MONOLITHIC_1_SHARED_1="#"
48938 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48939 COND_MONOLITHIC_1_SHARED_1=""
48940 fi
48941
48942 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
48943 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48944 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
48945 fi
48946
48947 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
48948 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48949 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
48950 fi
48951
48952 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
48953 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48954 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48955 fi
48956
48957 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48958 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48959 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
48960 fi
48961
48962 COND_PLATFORM_MACOSX_1="#"
48963 if test "x$PLATFORM_MACOSX" = "x1" ; then
48964 COND_PLATFORM_MACOSX_1=""
48965 fi
48966
48967 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
48968 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48969 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
48970 fi
48971
48972 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
48973 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48974 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
48975 fi
48976
48977 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
48978 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48979 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
48980 fi
48981
48982 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
48983 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48984 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
48985 fi
48986
48987 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
48988 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48989 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
48990 fi
48991
48992 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
48993 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48994 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
48995 fi
48996
48997 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
48998 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48999 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49000 fi
49001
49002 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49003 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49004 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49005 fi
49006
49007 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49008 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49009 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49010 fi
49011
49012 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49013 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49014 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49015 fi
49016
49017 COND_PLATFORM_MACOS_1="#"
49018 if test "x$PLATFORM_MACOS" = "x1" ; then
49019 COND_PLATFORM_MACOS_1=""
49020 fi
49021
49022 COND_PLATFORM_MAC_1="#"
49023 if test "x$PLATFORM_MAC" = "x1" ; then
49024 COND_PLATFORM_MAC_1=""
49025 fi
49026
49027 COND_PLATFORM_MSDOS_0="#"
49028 if test "x$PLATFORM_MSDOS" = "x0" ; then
49029 COND_PLATFORM_MSDOS_0=""
49030 fi
49031
49032 COND_PLATFORM_MSDOS_1="#"
49033 if test "x$PLATFORM_MSDOS" = "x1" ; then
49034 COND_PLATFORM_MSDOS_1=""
49035 fi
49036
49037 COND_PLATFORM_OS2_1="#"
49038 if test "x$PLATFORM_OS2" = "x1" ; then
49039 COND_PLATFORM_OS2_1=""
49040 fi
49041
49042 COND_PLATFORM_UNIX_0="#"
49043 if test "x$PLATFORM_UNIX" = "x0" ; then
49044 COND_PLATFORM_UNIX_0=""
49045 fi
49046
49047 COND_PLATFORM_UNIX_1="#"
49048 if test "x$PLATFORM_UNIX" = "x1" ; then
49049 COND_PLATFORM_UNIX_1=""
49050 fi
49051
49052 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49053 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49054 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49055 fi
49056
49057 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49058 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49059 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49060 fi
49061
49062 COND_PLATFORM_WIN32_0="#"
49063 if test "x$PLATFORM_WIN32" = "x0" ; then
49064 COND_PLATFORM_WIN32_0=""
49065 fi
49066
49067 COND_PLATFORM_WIN32_1="#"
49068 if test "x$PLATFORM_WIN32" = "x1" ; then
49069 COND_PLATFORM_WIN32_1=""
49070 fi
49071
49072 COND_SHARED_0="#"
49073 if test "x$SHARED" = "x0" ; then
49074 COND_SHARED_0=""
49075 fi
49076
49077 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49078 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49079 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49080 fi
49081
49082 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49083 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49084 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49085 fi
49086
49087 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49088 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49089 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49090 fi
49091
49092 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49093 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49094 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49095 fi
49096
49097 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49098 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49099 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49100 fi
49101
49102 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49103 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49104 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49105 fi
49106
49107 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49108 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49109 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49110 fi
49111
49112 COND_SHARED_0_USE_XRC_1="#"
49113 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49114 COND_SHARED_0_USE_XRC_1=""
49115 fi
49116
49117 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49118 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49119 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49120 fi
49121
49122 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
49123 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
49124 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
49125 fi
49126
49127 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49128 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49129 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49130 fi
49131
49132 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49133 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49134 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49135 fi
49136
49137 COND_SHARED_1="#"
49138 if test "x$SHARED" = "x1" ; then
49139 COND_SHARED_1=""
49140 fi
49141
49142 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49143 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49144 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49145 fi
49146
49147 COND_SHARED_1_USE_XRC_1="#"
49148 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49149 COND_SHARED_1_USE_XRC_1=""
49150 fi
49151
49152 COND_TOOLKIT_="#"
49153 if test "x$TOOLKIT" = "x" ; then
49154 COND_TOOLKIT_=""
49155 fi
49156
49157 COND_TOOLKIT_COCOA="#"
49158 if test "x$TOOLKIT" = "xCOCOA" ; then
49159 COND_TOOLKIT_COCOA=""
49160 fi
49161
49162 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49163 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49164 COND_TOOLKIT_COCOA_USE_GUI_1=""
49165 fi
49166
49167 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49168 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49169 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49170 fi
49171
49172 COND_TOOLKIT_DFB="#"
49173 if test "x$TOOLKIT" = "xDFB" ; then
49174 COND_TOOLKIT_DFB=""
49175 fi
49176
49177 COND_TOOLKIT_DFB_USE_GUI_1="#"
49178 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49179 COND_TOOLKIT_DFB_USE_GUI_1=""
49180 fi
49181
49182 COND_TOOLKIT_GTK="#"
49183 if test "x$TOOLKIT" = "xGTK" ; then
49184 COND_TOOLKIT_GTK=""
49185 fi
49186
49187 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49188 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49189 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49190 fi
49191
49192 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49193 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49194 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49195 fi
49196
49197 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49198 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49199 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49200 fi
49201
49202 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49203 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49204 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49205 fi
49206
49207 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49208 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49209 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49210 fi
49211
49212 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49213 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49214 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49215 fi
49216
49217 COND_TOOLKIT_GTK_USE_GUI_1="#"
49218 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49219 COND_TOOLKIT_GTK_USE_GUI_1=""
49220 fi
49221
49222 COND_TOOLKIT_MAC="#"
49223 if test "x$TOOLKIT" = "xMAC" ; then
49224 COND_TOOLKIT_MAC=""
49225 fi
49226
49227 COND_TOOLKIT_MAC_USE_GUI_1="#"
49228 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49229 COND_TOOLKIT_MAC_USE_GUI_1=""
49230 fi
49231
49232 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49233 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49234 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49235 fi
49236
49237 COND_TOOLKIT_MGL="#"
49238 if test "x$TOOLKIT" = "xMGL" ; then
49239 COND_TOOLKIT_MGL=""
49240 fi
49241
49242 COND_TOOLKIT_MGL_USE_GUI_1="#"
49243 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49244 COND_TOOLKIT_MGL_USE_GUI_1=""
49245 fi
49246
49247 COND_TOOLKIT_MOTIF="#"
49248 if test "x$TOOLKIT" = "xMOTIF" ; then
49249 COND_TOOLKIT_MOTIF=""
49250 fi
49251
49252 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49253 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49254 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49255 fi
49256
49257 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49258 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49259 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49260 fi
49261
49262 COND_TOOLKIT_MSW="#"
49263 if test "x$TOOLKIT" = "xMSW" ; then
49264 COND_TOOLKIT_MSW=""
49265 fi
49266
49267 COND_TOOLKIT_MSW_USE_GUI_1="#"
49268 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49269 COND_TOOLKIT_MSW_USE_GUI_1=""
49270 fi
49271
49272 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49273 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49274 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49275 fi
49276
49277 COND_TOOLKIT_MSW_WXUNIV_0="#"
49278 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49279 COND_TOOLKIT_MSW_WXUNIV_0=""
49280 fi
49281
49282 COND_TOOLKIT_PM="#"
49283 if test "x$TOOLKIT" = "xPM" ; then
49284 COND_TOOLKIT_PM=""
49285 fi
49286
49287 COND_TOOLKIT_PM_USE_GUI_1="#"
49288 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49289 COND_TOOLKIT_PM_USE_GUI_1=""
49290 fi
49291
49292 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49293 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49294 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49295 fi
49296
49297 COND_TOOLKIT_WINCE="#"
49298 if test "x$TOOLKIT" = "xWINCE" ; then
49299 COND_TOOLKIT_WINCE=""
49300 fi
49301
49302 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49303 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49304 COND_TOOLKIT_WINCE_USE_GUI_1=""
49305 fi
49306
49307 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49308 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49309 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49310 fi
49311
49312 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49313 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49314 COND_TOOLKIT_WINCE_WXUNIV_0=""
49315 fi
49316
49317 COND_TOOLKIT_X11="#"
49318 if test "x$TOOLKIT" = "xX11" ; then
49319 COND_TOOLKIT_X11=""
49320 fi
49321
49322 COND_TOOLKIT_X11_USE_GUI_1="#"
49323 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49324 COND_TOOLKIT_X11_USE_GUI_1=""
49325 fi
49326
49327 COND_UNICODE_1="#"
49328 if test "x$UNICODE" = "x1" ; then
49329 COND_UNICODE_1=""
49330 fi
49331
49332 COND_USE_EXCEPTIONS_0="#"
49333 if test "x$USE_EXCEPTIONS" = "x0" ; then
49334 COND_USE_EXCEPTIONS_0=""
49335 fi
49336
49337 COND_USE_EXCEPTIONS_1="#"
49338 if test "x$USE_EXCEPTIONS" = "x1" ; then
49339 COND_USE_EXCEPTIONS_1=""
49340 fi
49341
49342 COND_USE_GUI_0="#"
49343 if test "x$USE_GUI" = "x0" ; then
49344 COND_USE_GUI_0=""
49345 fi
49346
49347 COND_USE_GUI_1="#"
49348 if test "x$USE_GUI" = "x1" ; then
49349 COND_USE_GUI_1=""
49350 fi
49351
49352 COND_USE_GUI_1_WXUNIV_0="#"
49353 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49354 COND_USE_GUI_1_WXUNIV_0=""
49355 fi
49356
49357 COND_USE_GUI_1_WXUNIV_1="#"
49358 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49359 COND_USE_GUI_1_WXUNIV_1=""
49360 fi
49361
49362 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49363 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49364 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49365 fi
49366
49367 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49368 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49369 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49370 fi
49371
49372 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49373 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49374 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49375 fi
49376
49377 COND_USE_ODBC_1="#"
49378 if test "x$USE_ODBC" = "x1" ; then
49379 COND_USE_ODBC_1=""
49380 fi
49381
49382 COND_USE_OPENGL_1="#"
49383 if test "x$USE_OPENGL" = "x1" ; then
49384 COND_USE_OPENGL_1=""
49385 fi
49386
49387 COND_USE_PCH_1="#"
49388 if test "x$USE_PCH" = "x1" ; then
49389 COND_USE_PCH_1=""
49390 fi
49391
49392 COND_USE_PLUGINS_0="#"
49393 if test "x$USE_PLUGINS" = "x0" ; then
49394 COND_USE_PLUGINS_0=""
49395 fi
49396
49397 COND_USE_RTTI_0="#"
49398 if test "x$USE_RTTI" = "x0" ; then
49399 COND_USE_RTTI_0=""
49400 fi
49401
49402 COND_USE_RTTI_1="#"
49403 if test "x$USE_RTTI" = "x1" ; then
49404 COND_USE_RTTI_1=""
49405 fi
49406
49407 COND_USE_SOSYMLINKS_1="#"
49408 if test "x$USE_SOSYMLINKS" = "x1" ; then
49409 COND_USE_SOSYMLINKS_1=""
49410 fi
49411
49412 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
49413 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49414 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
49415 fi
49416
49417 COND_USE_SOVERLINUX_1="#"
49418 if test "x$USE_SOVERLINUX" = "x1" ; then
49419 COND_USE_SOVERLINUX_1=""
49420 fi
49421
49422 COND_USE_SOVERSION_0="#"
49423 if test "x$USE_SOVERSION" = "x0" ; then
49424 COND_USE_SOVERSION_0=""
49425 fi
49426
49427 COND_USE_SOVERSOLARIS_1="#"
49428 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49429 COND_USE_SOVERSOLARIS_1=""
49430 fi
49431
49432 COND_USE_THREADS_0="#"
49433 if test "x$USE_THREADS" = "x0" ; then
49434 COND_USE_THREADS_0=""
49435 fi
49436
49437 COND_USE_THREADS_1="#"
49438 if test "x$USE_THREADS" = "x1" ; then
49439 COND_USE_THREADS_1=""
49440 fi
49441
49442 COND_USE_XRC_1="#"
49443 if test "x$USE_XRC" = "x1" ; then
49444 COND_USE_XRC_1=""
49445 fi
49446
49447 COND_WINDOWS_IMPLIB_1="#"
49448 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49449 COND_WINDOWS_IMPLIB_1=""
49450 fi
49451
49452 COND_WITH_PLUGIN_SDL_1="#"
49453 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49454 COND_WITH_PLUGIN_SDL_1=""
49455 fi
49456
49457 COND_WXUNIV_0="#"
49458 if test "x$WXUNIV" = "x0" ; then
49459 COND_WXUNIV_0=""
49460 fi
49461
49462 COND_WXUNIV_1="#"
49463 if test "x$WXUNIV" = "x1" ; then
49464 COND_WXUNIV_1=""
49465 fi
49466
49467 COND_WXUSE_EXPAT_BUILTIN="#"
49468 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49469 COND_WXUSE_EXPAT_BUILTIN=""
49470 fi
49471
49472 COND_WXUSE_LIBJPEG_BUILTIN="#"
49473 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49474 COND_WXUSE_LIBJPEG_BUILTIN=""
49475 fi
49476
49477 COND_WXUSE_LIBPNG_BUILTIN="#"
49478 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49479 COND_WXUSE_LIBPNG_BUILTIN=""
49480 fi
49481
49482 COND_WXUSE_LIBTIFF_BUILTIN="#"
49483 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49484 COND_WXUSE_LIBTIFF_BUILTIN=""
49485 fi
49486
49487 COND_WXUSE_ODBC_BUILTIN="#"
49488 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
49489 COND_WXUSE_ODBC_BUILTIN=""
49490 fi
49491
49492 COND_WXUSE_REGEX_BUILTIN="#"
49493 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49494 COND_WXUSE_REGEX_BUILTIN=""
49495 fi
49496
49497 COND_WXUSE_ZLIB_BUILTIN="#"
49498 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49499 COND_WXUSE_ZLIB_BUILTIN=""
49500 fi
49501
49502
49503
49504 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49505 { { 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
49506 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;}
49507 { (exit 1); exit 1; }; }
49508 fi
49509
49510 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49511 { { 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
49512 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;}
49513 { (exit 1); exit 1; }; }
49514 fi
49515
49516
49517
49518 if test "$wxUSE_MAC" = 1 ; then
49519 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49520 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
49521 mv temp bk-deps
49522 chmod +x bk-deps
49523 fi
49524 fi
49525
49526 if test "$wxUSE_SHARED" = "yes"; then
49527
49528 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
49529 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
49530
49531 case "${host}" in
49532 *-pc-os2_emx | *-pc-os2-emx )
49533 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49534 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49535 cp -p ${srcdir}/src/os2/dllnames.sh .
49536 cp -p ${srcdir}/src/os2/dllar.sh .
49537 ;;
49538 esac
49539 else
49540
49541 EXE_LINKER="$CXX -o"
49542
49543 fi
49544 if test "$wxUSE_OMF" = "yes"; then
49545 case "${host}" in
49546 *-pc-os2_emx | *-pc-os2-emx )
49547 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
49548 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49549 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49550 ;;
49551 esac
49552 fi
49553
49554 if test $GCC_PCH = 1 ; then
49555 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
49556 fi
49557
49558 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49559
49560 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49561
49562
49563
49564
49565
49566
49567
49568
49569
49570
49571
49572
49573
49574
49575
49576
49577
49578
49579
49580
49581
49582
49583
49584
49585
49586
49587
49588
49589
49590
49591
49592
49593
49594
49595
49596
49597
49598
49599
49600
49601
49602
49603
49604
49605
49606
49607
49608
49609
49610
49611
49612
49613
49614
49615
49616
49617
49618
49619
49620
49621
49622 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49623 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
49624 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
49625 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
49626 echo $ECHO_N "(cached) $ECHO_C" >&6
49627 else
49628 cat >conftest.make <<\_ACEOF
49629 all:
49630 @echo 'ac_maketemp="$(MAKE)"'
49631 _ACEOF
49632 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49633 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
49634 if test -n "$ac_maketemp"; then
49635 eval ac_cv_prog_make_${ac_make}_set=yes
49636 else
49637 eval ac_cv_prog_make_${ac_make}_set=no
49638 fi
49639 rm -f conftest.make
49640 fi
49641 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
49642 echo "$as_me:$LINENO: result: yes" >&5
49643 echo "${ECHO_T}yes" >&6
49644 SET_MAKE=
49645 else
49646 echo "$as_me:$LINENO: result: no" >&5
49647 echo "${ECHO_T}no" >&6
49648 SET_MAKE="MAKE=${MAKE-make}"
49649 fi
49650
49651
49652
49653 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49654
49655
49656 if test "$USE_WIN32" = 1; then
49657 ac_config_commands="$ac_config_commands
49658 rcdefs.h
49659 "
49660
49661 fi
49662
49663 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49664
49665
49666 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49667
49668
49669 ac_config_files="$ac_config_files version-script Makefile"
49670
49671
49672 ac_config_commands="$ac_config_commands wx-config"
49673
49674
49675
49676 if test "$wxWITH_SUBDIRS" != "no"; then
49677 if test "$wxUSE_GUI" = "yes"; then
49678 SUBDIRS="samples demos utils contrib"
49679 else SUBDIRS="samples utils"
49680 fi
49681
49682
49683
49684 # Check whether --with-cppunit-prefix or --without-cppunit-prefix was given.
49685 if test "${with_cppunit_prefix+set}" = set; then
49686 withval="$with_cppunit_prefix"
49687 cppunit_config_prefix="$withval"
49688 else
49689 cppunit_config_prefix=""
49690 fi;
49691
49692 # Check whether --with-cppunit-exec-prefix or --without-cppunit-exec-prefix was given.
49693 if test "${with_cppunit_exec_prefix+set}" = set; then
49694 withval="$with_cppunit_exec_prefix"
49695 cppunit_config_exec_prefix="$withval"
49696 else
49697 cppunit_config_exec_prefix=""
49698 fi;
49699
49700 if test x$cppunit_config_exec_prefix != x ; then
49701 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49702 if test x${CPPUNIT_CONFIG+set} != xset ; then
49703 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
49704 fi
49705 fi
49706 if test x$cppunit_config_prefix != x ; then
49707 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
49708 if test x${CPPUNIT_CONFIG+set} != xset ; then
49709 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
49710 fi
49711 fi
49712
49713 # Extract the first word of "cppunit-config", so it can be a program name with args.
49714 set dummy cppunit-config; ac_word=$2
49715 echo "$as_me:$LINENO: checking for $ac_word" >&5
49716 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
49717 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49718 echo $ECHO_N "(cached) $ECHO_C" >&6
49719 else
49720 case $CPPUNIT_CONFIG in
49721 [\\/]* | ?:[\\/]*)
49722 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49723 ;;
49724 *)
49725 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49726 for as_dir in $PATH
49727 do
49728 IFS=$as_save_IFS
49729 test -z "$as_dir" && as_dir=.
49730 for ac_exec_ext in '' $ac_executable_extensions; do
49731 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
49732 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
49733 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49734 break 2
49735 fi
49736 done
49737 done
49738
49739 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
49740 ;;
49741 esac
49742 fi
49743 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
49744
49745 if test -n "$CPPUNIT_CONFIG"; then
49746 echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49747 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6
49748 else
49749 echo "$as_me:$LINENO: result: no" >&5
49750 echo "${ECHO_T}no" >&6
49751 fi
49752
49753 cppunit_version_min=1.8.0
49754
49755 echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49756 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6
49757 no_cppunit=""
49758 if test "$CPPUNIT_CONFIG" = "no" ; then
49759 echo "$as_me:$LINENO: result: no" >&5
49760 echo "${ECHO_T}no" >&6
49761 no_cppunit=yes
49762 else
49763 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
49764 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
49765 cppunit_version=`$CPPUNIT_CONFIG --version`
49766
49767 cppunit_major_version=`echo $cppunit_version | \
49768 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49769 cppunit_minor_version=`echo $cppunit_version | \
49770 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49771 cppunit_micro_version=`echo $cppunit_version | \
49772 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49773
49774 cppunit_major_min=`echo $cppunit_version_min | \
49775 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49776 cppunit_minor_min=`echo $cppunit_version_min | \
49777 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49778 cppunit_micro_min=`echo $cppunit_version_min | \
49779 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49780
49781 cppunit_version_proper=`expr \
49782 $cppunit_major_version \> $cppunit_major_min \| \
49783 $cppunit_major_version \= $cppunit_major_min \& \
49784 $cppunit_minor_version \> $cppunit_minor_min \| \
49785 $cppunit_major_version \= $cppunit_major_min \& \
49786 $cppunit_minor_version \= $cppunit_minor_min \& \
49787 $cppunit_micro_version \>= $cppunit_micro_min `
49788
49789 if test "$cppunit_version_proper" = "1" ; then
49790 echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49791 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6
49792 else
49793 echo "$as_me:$LINENO: result: no" >&5
49794 echo "${ECHO_T}no" >&6
49795 no_cppunit=yes
49796 fi
49797 fi
49798
49799 if test "x$no_cppunit" = x ; then
49800 SUBDIRS="$SUBDIRS tests"
49801 else
49802 CPPUNIT_CFLAGS=""
49803 CPPUNIT_LIBS=""
49804 :
49805 fi
49806
49807
49808
49809
49810
49811 for subdir in `echo $SUBDIRS`; do
49812 if test -d ${srcdir}/${subdir} ; then
49813 if test "$wxUSE_GUI" = "yes"; then
49814 if test ${subdir} = "samples"; then
49815 makefiles="samples/Makefile.in $makefiles"
49816 for sample in `echo $SAMPLES_SUBDIRS`; do
49817 if test -d $srcdir/samples/$sample; then
49818 makefiles="samples/$sample/Makefile.in $makefiles"
49819 fi
49820 done
49821 else
49822 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
49823 eval "disabled=\$$disabled_var"
49824 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
49825 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | egrep -v "$disabled"`
49826 fi
49827 else if test ${subdir} = "samples"; then
49828 makefiles="samples/Makefile.in samples/console/Makefile.in"
49829 elif test ${subdir} = "utils"; then
49830 makefiles=""
49831 for util in HelpGen tex2rtf ; do
49832 if test -d $srcdir/utils/$util ; then
49833 makefiles="utils/$util/Makefile.in \
49834 utils/$util/src/Makefile.in \
49835 $makefiles"
49836 fi
49837 done
49838 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
49839 fi
49840 fi
49841
49842 for mkin in $makefiles ; do
49843 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49844 ac_config_files="$ac_config_files $mk"
49845
49846 done
49847 fi
49848 done
49849 fi
49850 cat >confcache <<\_ACEOF
49851 # This file is a shell script that caches the results of configure
49852 # tests run on this system so they can be shared between configure
49853 # scripts and configure runs, see configure's option --config-cache.
49854 # It is not useful on other systems. If it contains results you don't
49855 # want to keep, you may remove or edit it.
49856 #
49857 # config.status only pays attention to the cache file if you give it
49858 # the --recheck option to rerun configure.
49859 #
49860 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49861 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49862 # following values.
49863
49864 _ACEOF
49865
49866 # The following way of writing the cache mishandles newlines in values,
49867 # but we know of no workaround that is simple, portable, and efficient.
49868 # So, don't put newlines in cache variables' values.
49869 # Ultrix sh set writes to stderr and can't be redirected directly,
49870 # and sets the high bit in the cache file unless we assign to the vars.
49871 {
49872 (set) 2>&1 |
49873 case `(ac_space=' '; set | grep ac_space) 2>&1` in
49874 *ac_space=\ *)
49875 # `set' does not quote correctly, so add quotes (double-quote
49876 # substitution turns \\\\ into \\, and sed turns \\ into \).
49877 sed -n \
49878 "s/'/'\\\\''/g;
49879 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49880 ;;
49881 *)
49882 # `set' quotes correctly as required by POSIX, so do not add quotes.
49883 sed -n \
49884 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
49885 ;;
49886 esac;
49887 } |
49888 sed '
49889 t clear
49890 : clear
49891 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49892 t end
49893 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49894 : end' >>confcache
49895 if diff $cache_file confcache >/dev/null 2>&1; then :; else
49896 if test -w $cache_file; then
49897 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
49898 cat confcache >$cache_file
49899 else
49900 echo "not updating unwritable cache $cache_file"
49901 fi
49902 fi
49903 rm -f confcache
49904
49905 test "x$prefix" = xNONE && prefix=$ac_default_prefix
49906 # Let make expand exec_prefix.
49907 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
49908
49909 # VPATH may cause trouble with some makes, so we remove $(srcdir),
49910 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
49911 # trailing colons and then remove the whole line if VPATH becomes empty
49912 # (actually we leave an empty line to preserve line numbers).
49913 if test "x$srcdir" = x.; then
49914 ac_vpsub='/^[ ]*VPATH[ ]*=/{
49915 s/:*\$(srcdir):*/:/;
49916 s/:*\${srcdir}:*/:/;
49917 s/:*@srcdir@:*/:/;
49918 s/^\([^=]*=[ ]*\):*/\1/;
49919 s/:*$//;
49920 s/^[^=]*=[ ]*$//;
49921 }'
49922 fi
49923
49924 DEFS=-DHAVE_CONFIG_H
49925
49926 ac_libobjs=
49927 ac_ltlibobjs=
49928 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
49929 # 1. Remove the extension, and $U if already installed.
49930 ac_i=`echo "$ac_i" |
49931 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
49932 # 2. Add them.
49933 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
49934 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
49935 done
49936 LIBOBJS=$ac_libobjs
49937
49938 LTLIBOBJS=$ac_ltlibobjs
49939
49940
49941
49942 : ${CONFIG_STATUS=./config.status}
49943 ac_clean_files_save=$ac_clean_files
49944 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
49945 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49946 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49947 cat >$CONFIG_STATUS <<_ACEOF
49948 #! $SHELL
49949 # Generated by $as_me.
49950 # Run this file to recreate the current configuration.
49951 # Compiler output produced by configure, useful for debugging
49952 # configure, is in config.log if it exists.
49953
49954 debug=false
49955 ac_cs_recheck=false
49956 ac_cs_silent=false
49957 SHELL=\${CONFIG_SHELL-$SHELL}
49958 _ACEOF
49959
49960 cat >>$CONFIG_STATUS <<\_ACEOF
49961 ## --------------------- ##
49962 ## M4sh Initialization. ##
49963 ## --------------------- ##
49964
49965 # Be Bourne compatible
49966 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
49967 emulate sh
49968 NULLCMD=:
49969 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49970 # is contrary to our usage. Disable this feature.
49971 alias -g '${1+"$@"}'='"$@"'
49972 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
49973 set -o posix
49974 fi
49975 DUALCASE=1; export DUALCASE # for MKS sh
49976
49977 # Support unset when possible.
49978 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
49979 as_unset=unset
49980 else
49981 as_unset=false
49982 fi
49983
49984
49985 # Work around bugs in pre-3.0 UWIN ksh.
49986 $as_unset ENV MAIL MAILPATH
49987 PS1='$ '
49988 PS2='> '
49989 PS4='+ '
49990
49991 # NLS nuisances.
49992 for as_var in \
49993 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49994 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49995 LC_TELEPHONE LC_TIME
49996 do
49997 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49998 eval $as_var=C; export $as_var
49999 else
50000 $as_unset $as_var
50001 fi
50002 done
50003
50004 # Required to use basename.
50005 if expr a : '\(a\)' >/dev/null 2>&1; then
50006 as_expr=expr
50007 else
50008 as_expr=false
50009 fi
50010
50011 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
50012 as_basename=basename
50013 else
50014 as_basename=false
50015 fi
50016
50017
50018 # Name of the executable.
50019 as_me=`$as_basename "$0" ||
50020 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50021 X"$0" : 'X\(//\)$' \| \
50022 X"$0" : 'X\(/\)$' \| \
50023 . : '\(.\)' 2>/dev/null ||
50024 echo X/"$0" |
50025 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
50026 /^X\/\(\/\/\)$/{ s//\1/; q; }
50027 /^X\/\(\/\).*/{ s//\1/; q; }
50028 s/.*/./; q'`
50029
50030
50031 # PATH needs CR, and LINENO needs CR and PATH.
50032 # Avoid depending upon Character Ranges.
50033 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50034 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50035 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50036 as_cr_digits='0123456789'
50037 as_cr_alnum=$as_cr_Letters$as_cr_digits
50038
50039 # The user is always right.
50040 if test "${PATH_SEPARATOR+set}" != set; then
50041 echo "#! /bin/sh" >conf$$.sh
50042 echo "exit 0" >>conf$$.sh
50043 chmod +x conf$$.sh
50044 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50045 PATH_SEPARATOR=';'
50046 else
50047 PATH_SEPARATOR=:
50048 fi
50049 rm -f conf$$.sh
50050 fi
50051
50052
50053 as_lineno_1=$LINENO
50054 as_lineno_2=$LINENO
50055 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50056 test "x$as_lineno_1" != "x$as_lineno_2" &&
50057 test "x$as_lineno_3" = "x$as_lineno_2" || {
50058 # Find who we are. Look in the path if we contain no path at all
50059 # relative or not.
50060 case $0 in
50061 *[\\/]* ) as_myself=$0 ;;
50062 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50063 for as_dir in $PATH
50064 do
50065 IFS=$as_save_IFS
50066 test -z "$as_dir" && as_dir=.
50067 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50068 done
50069
50070 ;;
50071 esac
50072 # We did not find ourselves, most probably we were run as `sh COMMAND'
50073 # in which case we are not to be found in the path.
50074 if test "x$as_myself" = x; then
50075 as_myself=$0
50076 fi
50077 if test ! -f "$as_myself"; then
50078 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
50079 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
50080 { (exit 1); exit 1; }; }
50081 fi
50082 case $CONFIG_SHELL in
50083 '')
50084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50085 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
50086 do
50087 IFS=$as_save_IFS
50088 test -z "$as_dir" && as_dir=.
50089 for as_base in sh bash ksh sh5; do
50090 case $as_dir in
50091 /*)
50092 if ("$as_dir/$as_base" -c '
50093 as_lineno_1=$LINENO
50094 as_lineno_2=$LINENO
50095 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
50096 test "x$as_lineno_1" != "x$as_lineno_2" &&
50097 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
50098 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
50099 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
50100 CONFIG_SHELL=$as_dir/$as_base
50101 export CONFIG_SHELL
50102 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
50103 fi;;
50104 esac
50105 done
50106 done
50107 ;;
50108 esac
50109
50110 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50111 # uniformly replaced by the line number. The first 'sed' inserts a
50112 # line-number line before each line; the second 'sed' does the real
50113 # work. The second script uses 'N' to pair each line-number line
50114 # with the numbered line, and appends trailing '-' during
50115 # substitution so that $LINENO is not a special case at line end.
50116 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50117 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
50118 sed '=' <$as_myself |
50119 sed '
50120 N
50121 s,$,-,
50122 : loop
50123 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
50124 t loop
50125 s,-$,,
50126 s,^['$as_cr_digits']*\n,,
50127 ' >$as_me.lineno &&
50128 chmod +x $as_me.lineno ||
50129 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
50130 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
50131 { (exit 1); exit 1; }; }
50132
50133 # Don't try to exec as it changes $[0], causing all sort of problems
50134 # (the dirname of $[0] is not the place where we might find the
50135 # original and so on. Autoconf is especially sensible to this).
50136 . ./$as_me.lineno
50137 # Exit status is that of the last command.
50138 exit
50139 }
50140
50141
50142 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
50143 *c*,-n*) ECHO_N= ECHO_C='
50144 ' ECHO_T=' ' ;;
50145 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
50146 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
50147 esac
50148
50149 if expr a : '\(a\)' >/dev/null 2>&1; then
50150 as_expr=expr
50151 else
50152 as_expr=false
50153 fi
50154
50155 rm -f conf$$ conf$$.exe conf$$.file
50156 echo >conf$$.file
50157 if ln -s conf$$.file conf$$ 2>/dev/null; then
50158 # We could just check for DJGPP; but this test a) works b) is more generic
50159 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
50160 if test -f conf$$.exe; then
50161 # Don't use ln at all; we don't have any links
50162 as_ln_s='cp -p'
50163 else
50164 as_ln_s='ln -s'
50165 fi
50166 elif ln conf$$.file conf$$ 2>/dev/null; then
50167 as_ln_s=ln
50168 else
50169 as_ln_s='cp -p'
50170 fi
50171 rm -f conf$$ conf$$.exe conf$$.file
50172
50173 if mkdir -p . 2>/dev/null; then
50174 as_mkdir_p=:
50175 else
50176 test -d ./-p && rmdir ./-p
50177 as_mkdir_p=false
50178 fi
50179
50180 as_executable_p="test -f"
50181
50182 # Sed expression to map a string onto a valid CPP name.
50183 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50184
50185 # Sed expression to map a string onto a valid variable name.
50186 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50187
50188
50189 # IFS
50190 # We need space, tab and new line, in precisely that order.
50191 as_nl='
50192 '
50193 IFS=" $as_nl"
50194
50195 # CDPATH.
50196 $as_unset CDPATH
50197
50198 exec 6>&1
50199
50200 # Open the log real soon, to keep \$[0] and so on meaningful, and to
50201 # report actual input values of CONFIG_FILES etc. instead of their
50202 # values after options handling. Logging --version etc. is OK.
50203 exec 5>>config.log
50204 {
50205 echo
50206 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50207 ## Running $as_me. ##
50208 _ASBOX
50209 } >&5
50210 cat >&5 <<_CSEOF
50211
50212 This file was extended by wxWidgets $as_me 2.7.0, which was
50213 generated by GNU Autoconf 2.59. Invocation command line was
50214
50215 CONFIG_FILES = $CONFIG_FILES
50216 CONFIG_HEADERS = $CONFIG_HEADERS
50217 CONFIG_LINKS = $CONFIG_LINKS
50218 CONFIG_COMMANDS = $CONFIG_COMMANDS
50219 $ $0 $@
50220
50221 _CSEOF
50222 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
50223 echo >&5
50224 _ACEOF
50225
50226 # Files that config.status was made for.
50227 if test -n "$ac_config_files"; then
50228 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
50229 fi
50230
50231 if test -n "$ac_config_headers"; then
50232 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
50233 fi
50234
50235 if test -n "$ac_config_links"; then
50236 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
50237 fi
50238
50239 if test -n "$ac_config_commands"; then
50240 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
50241 fi
50242
50243 cat >>$CONFIG_STATUS <<\_ACEOF
50244
50245 ac_cs_usage="\
50246 \`$as_me' instantiates files from templates according to the
50247 current configuration.
50248
50249 Usage: $0 [OPTIONS] [FILE]...
50250
50251 -h, --help print this help, then exit
50252 -V, --version print version number, then exit
50253 -q, --quiet do not print progress messages
50254 -d, --debug don't remove temporary files
50255 --recheck update $as_me by reconfiguring in the same conditions
50256 --file=FILE[:TEMPLATE]
50257 instantiate the configuration file FILE
50258 --header=FILE[:TEMPLATE]
50259 instantiate the configuration header FILE
50260
50261 Configuration files:
50262 $config_files
50263
50264 Configuration headers:
50265 $config_headers
50266
50267 Configuration commands:
50268 $config_commands
50269
50270 Report bugs to <bug-autoconf@gnu.org>."
50271 _ACEOF
50272
50273 cat >>$CONFIG_STATUS <<_ACEOF
50274 ac_cs_version="\\
50275 wxWidgets config.status 2.7.0
50276 configured by $0, generated by GNU Autoconf 2.59,
50277 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
50278
50279 Copyright (C) 2003 Free Software Foundation, Inc.
50280 This config.status script is free software; the Free Software Foundation
50281 gives unlimited permission to copy, distribute and modify it."
50282 srcdir=$srcdir
50283 INSTALL="$INSTALL"
50284 _ACEOF
50285
50286 cat >>$CONFIG_STATUS <<\_ACEOF
50287 # If no file are specified by the user, then we need to provide default
50288 # value. By we need to know if files were specified by the user.
50289 ac_need_defaults=:
50290 while test $# != 0
50291 do
50292 case $1 in
50293 --*=*)
50294 ac_option=`expr "x$1" : 'x\([^=]*\)='`
50295 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
50296 ac_shift=:
50297 ;;
50298 -*)
50299 ac_option=$1
50300 ac_optarg=$2
50301 ac_shift=shift
50302 ;;
50303 *) # This is not an option, so the user has probably given explicit
50304 # arguments.
50305 ac_option=$1
50306 ac_need_defaults=false;;
50307 esac
50308
50309 case $ac_option in
50310 # Handling of the options.
50311 _ACEOF
50312 cat >>$CONFIG_STATUS <<\_ACEOF
50313 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50314 ac_cs_recheck=: ;;
50315 --version | --vers* | -V )
50316 echo "$ac_cs_version"; exit 0 ;;
50317 --he | --h)
50318 # Conflict between --help and --header
50319 { { echo "$as_me:$LINENO: error: ambiguous option: $1
50320 Try \`$0 --help' for more information." >&5
50321 echo "$as_me: error: ambiguous option: $1
50322 Try \`$0 --help' for more information." >&2;}
50323 { (exit 1); exit 1; }; };;
50324 --help | --hel | -h )
50325 echo "$ac_cs_usage"; exit 0 ;;
50326 --debug | --d* | -d )
50327 debug=: ;;
50328 --file | --fil | --fi | --f )
50329 $ac_shift
50330 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
50331 ac_need_defaults=false;;
50332 --header | --heade | --head | --hea )
50333 $ac_shift
50334 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
50335 ac_need_defaults=false;;
50336 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50337 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50338 ac_cs_silent=: ;;
50339
50340 # This is an error.
50341 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
50342 Try \`$0 --help' for more information." >&5
50343 echo "$as_me: error: unrecognized option: $1
50344 Try \`$0 --help' for more information." >&2;}
50345 { (exit 1); exit 1; }; } ;;
50346
50347 *) ac_config_targets="$ac_config_targets $1" ;;
50348
50349 esac
50350 shift
50351 done
50352
50353 ac_configure_extra_args=
50354
50355 if $ac_cs_silent; then
50356 exec 6>/dev/null
50357 ac_configure_extra_args="$ac_configure_extra_args --silent"
50358 fi
50359
50360 _ACEOF
50361 cat >>$CONFIG_STATUS <<_ACEOF
50362 if \$ac_cs_recheck; then
50363 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50364 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50365 fi
50366
50367 _ACEOF
50368
50369 cat >>$CONFIG_STATUS <<_ACEOF
50370 #
50371 # INIT-COMMANDS section.
50372 #
50373
50374
50375 CPP="$CPP"
50376 infile="$srcdir/include/wx/msw/genrcdefs.h"
50377 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50378
50379
50380 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50381 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50382 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50383 LN_S="${LN_S}"
50384
50385
50386 _ACEOF
50387
50388
50389
50390 cat >>$CONFIG_STATUS <<\_ACEOF
50391 for ac_config_target in $ac_config_targets
50392 do
50393 case "$ac_config_target" in
50394 # Handling of arguments.
50395 "lib/wx/config/${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50396 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}" ) CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50397 "version-script" ) CONFIG_FILES="$CONFIG_FILES version-script" ;;
50398 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
50399 "$mk" ) CONFIG_FILES="$CONFIG_FILES $mk" ;;
50400 "rcdefs.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
50401 "wx-config" ) CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
50402 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h" ) CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50403 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50404 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50405 { (exit 1); exit 1; }; };;
50406 esac
50407 done
50408
50409 # If the user did not use the arguments to specify the items to instantiate,
50410 # then the envvar interface is used. Set only those that are not.
50411 # We use the long form for the default assignment because of an extremely
50412 # bizarre bug on SunOS 4.1.3.
50413 if $ac_need_defaults; then
50414 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
50415 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
50416 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
50417 fi
50418
50419 # Have a temporary directory for convenience. Make it in the build tree
50420 # simply because there is no reason to put it here, and in addition,
50421 # creating and moving files from /tmp can sometimes cause problems.
50422 # Create a temporary directory, and hook for its removal unless debugging.
50423 $debug ||
50424 {
50425 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
50426 trap '{ (exit 1); exit 1; }' 1 2 13 15
50427 }
50428
50429 # Create a (secure) tmp directory for tmp files.
50430
50431 {
50432 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
50433 test -n "$tmp" && test -d "$tmp"
50434 } ||
50435 {
50436 tmp=./confstat$$-$RANDOM
50437 (umask 077 && mkdir $tmp)
50438 } ||
50439 {
50440 echo "$me: cannot create a temporary directory in ." >&2
50441 { (exit 1); exit 1; }
50442 }
50443
50444 _ACEOF
50445
50446 cat >>$CONFIG_STATUS <<_ACEOF
50447
50448 #
50449 # CONFIG_FILES section.
50450 #
50451
50452 # No need to generate the scripts if there are no CONFIG_FILES.
50453 # This happens for instance when ./config.status config.h
50454 if test -n "\$CONFIG_FILES"; then
50455 # Protect against being on the right side of a sed subst in config.status.
50456 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
50457 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
50458 s,@SHELL@,$SHELL,;t t
50459 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
50460 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
50461 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
50462 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
50463 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
50464 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
50465 s,@exec_prefix@,$exec_prefix,;t t
50466 s,@prefix@,$prefix,;t t
50467 s,@program_transform_name@,$program_transform_name,;t t
50468 s,@bindir@,$bindir,;t t
50469 s,@sbindir@,$sbindir,;t t
50470 s,@libexecdir@,$libexecdir,;t t
50471 s,@datadir@,$datadir,;t t
50472 s,@sysconfdir@,$sysconfdir,;t t
50473 s,@sharedstatedir@,$sharedstatedir,;t t
50474 s,@localstatedir@,$localstatedir,;t t
50475 s,@libdir@,$libdir,;t t
50476 s,@includedir@,$includedir,;t t
50477 s,@oldincludedir@,$oldincludedir,;t t
50478 s,@infodir@,$infodir,;t t
50479 s,@mandir@,$mandir,;t t
50480 s,@build_alias@,$build_alias,;t t
50481 s,@host_alias@,$host_alias,;t t
50482 s,@target_alias@,$target_alias,;t t
50483 s,@DEFS@,$DEFS,;t t
50484 s,@ECHO_C@,$ECHO_C,;t t
50485 s,@ECHO_N@,$ECHO_N,;t t
50486 s,@ECHO_T@,$ECHO_T,;t t
50487 s,@LIBS@,$LIBS,;t t
50488 s,@build@,$build,;t t
50489 s,@build_cpu@,$build_cpu,;t t
50490 s,@build_vendor@,$build_vendor,;t t
50491 s,@build_os@,$build_os,;t t
50492 s,@host@,$host,;t t
50493 s,@host_cpu@,$host_cpu,;t t
50494 s,@host_vendor@,$host_vendor,;t t
50495 s,@host_os@,$host_os,;t t
50496 s,@target@,$target,;t t
50497 s,@target_cpu@,$target_cpu,;t t
50498 s,@target_vendor@,$target_vendor,;t t
50499 s,@target_os@,$target_os,;t t
50500 s,@CC@,$CC,;t t
50501 s,@CFLAGS@,$CFLAGS,;t t
50502 s,@LDFLAGS@,$LDFLAGS,;t t
50503 s,@CPPFLAGS@,$CPPFLAGS,;t t
50504 s,@ac_ct_CC@,$ac_ct_CC,;t t
50505 s,@EXEEXT@,$EXEEXT,;t t
50506 s,@OBJEXT@,$OBJEXT,;t t
50507 s,@CPP@,$CPP,;t t
50508 s,@EGREP@,$EGREP,;t t
50509 s,@CXX@,$CXX,;t t
50510 s,@CXXFLAGS@,$CXXFLAGS,;t t
50511 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
50512 s,@RANLIB@,$RANLIB,;t t
50513 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
50514 s,@AR@,$AR,;t t
50515 s,@ac_ct_AR@,$ac_ct_AR,;t t
50516 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
50517 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
50518 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
50519 s,@STRIP@,$STRIP,;t t
50520 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
50521 s,@WINDRES@,$WINDRES,;t t
50522 s,@ac_ct_WINDRES@,$ac_ct_WINDRES,;t t
50523 s,@DLLTOOL@,$DLLTOOL,;t t
50524 s,@ac_ct_DLLTOOL@,$ac_ct_DLLTOOL,;t t
50525 s,@IF_GNU_MAKE@,$IF_GNU_MAKE,;t t
50526 s,@LN_S@,$LN_S,;t t
50527 s,@CXXCPP@,$CXXCPP,;t t
50528 s,@subdirs@,$subdirs,;t t
50529 s,@PKG_CONFIG@,$PKG_CONFIG,;t t
50530 s,@GTK_CFLAGS@,$GTK_CFLAGS,;t t
50531 s,@GTK_LIBS@,$GTK_LIBS,;t t
50532 s,@GTK_CONFIG@,$GTK_CONFIG,;t t
50533 s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
50534 s,@DIRECTFB_CFLAGS@,$DIRECTFB_CFLAGS,;t t
50535 s,@DIRECTFB_LIBS@,$DIRECTFB_LIBS,;t t
50536 s,@X_CFLAGS@,$X_CFLAGS,;t t
50537 s,@X_PRE_LIBS@,$X_PRE_LIBS,;t t
50538 s,@X_LIBS@,$X_LIBS,;t t
50539 s,@X_EXTRA_LIBS@,$X_EXTRA_LIBS,;t t
50540 s,@PANGOX_CFLAGS@,$PANGOX_CFLAGS,;t t
50541 s,@PANGOX_LIBS@,$PANGOX_LIBS,;t t
50542 s,@PANGOFT2_CFLAGS@,$PANGOFT2_CFLAGS,;t t
50543 s,@PANGOFT2_LIBS@,$PANGOFT2_LIBS,;t t
50544 s,@PANGOXFT_CFLAGS@,$PANGOXFT_CFLAGS,;t t
50545 s,@PANGOXFT_LIBS@,$PANGOXFT_LIBS,;t t
50546 s,@REZ@,$REZ,;t t
50547 s,@DEREZ@,$DEREZ,;t t
50548 s,@SETFILE@,$SETFILE,;t t
50549 s,@LIBICONV@,$LIBICONV,;t t
50550 s,@EXTRALIBS_ESD@,$EXTRALIBS_ESD,;t t
50551 s,@SDL_CONFIG@,$SDL_CONFIG,;t t
50552 s,@SDL_CFLAGS@,$SDL_CFLAGS,;t t
50553 s,@SDL_LIBS@,$SDL_LIBS,;t t
50554 s,@LIBGNOMEPRINTUI_CFLAGS@,$LIBGNOMEPRINTUI_CFLAGS,;t t
50555 s,@LIBGNOMEPRINTUI_LIBS@,$LIBGNOMEPRINTUI_LIBS,;t t
50556 s,@GNOMEVFS_CFLAGS@,$GNOMEVFS_CFLAGS,;t t
50557 s,@GNOMEVFS_LIBS@,$GNOMEVFS_LIBS,;t t
50558 s,@HILDON_CFLAGS@,$HILDON_CFLAGS,;t t
50559 s,@HILDON_LIBS@,$HILDON_LIBS,;t t
50560 s,@GST_CFLAGS@,$GST_CFLAGS,;t t
50561 s,@GST_LIBS@,$GST_LIBS,;t t
50562 s,@CORE_BASE_LIBS@,$CORE_BASE_LIBS,;t t
50563 s,@CORE_GUI_LIBS@,$CORE_GUI_LIBS,;t t
50564 s,@wxUSE_ZLIB@,$wxUSE_ZLIB,;t t
50565 s,@wxUSE_REGEX@,$wxUSE_REGEX,;t t
50566 s,@wxUSE_EXPAT@,$wxUSE_EXPAT,;t t
50567 s,@wxUSE_ODBC@,$wxUSE_ODBC,;t t
50568 s,@wxUSE_LIBJPEG@,$wxUSE_LIBJPEG,;t t
50569 s,@wxUSE_LIBPNG@,$wxUSE_LIBPNG,;t t
50570 s,@wxUSE_LIBTIFF@,$wxUSE_LIBTIFF,;t t
50571 s,@VENDOR@,$VENDOR,;t t
50572 s,@OFFICIAL_BUILD@,$OFFICIAL_BUILD,;t t
50573 s,@WX_FLAVOUR@,$WX_FLAVOUR,;t t
50574 s,@WX_LIB_FLAVOUR@,$WX_LIB_FLAVOUR,;t t
50575 s,@WXUNIV@,$WXUNIV,;t t
50576 s,@MONOLITHIC@,$MONOLITHIC,;t t
50577 s,@USE_PLUGINS@,$USE_PLUGINS,;t t
50578 s,@EXTRALIBS@,$EXTRALIBS,;t t
50579 s,@EXTRALIBS_XML@,$EXTRALIBS_XML,;t t
50580 s,@EXTRALIBS_HTML@,$EXTRALIBS_HTML,;t t
50581 s,@EXTRALIBS_ODBC@,$EXTRALIBS_ODBC,;t t
50582 s,@EXTRALIBS_GUI@,$EXTRALIBS_GUI,;t t
50583 s,@EXTRALIBS_OPENGL@,$EXTRALIBS_OPENGL,;t t
50584 s,@EXTRALIBS_SDL@,$EXTRALIBS_SDL,;t t
50585 s,@WITH_PLUGIN_SDL@,$WITH_PLUGIN_SDL,;t t
50586 s,@EXTRALIBS_GNOMEPRINT@,$EXTRALIBS_GNOMEPRINT,;t t
50587 s,@EXTRALIBS_GNOMEVFS@,$EXTRALIBS_GNOMEVFS,;t t
50588 s,@EXTRALIBS_HILDON@,$EXTRALIBS_HILDON,;t t
50589 s,@UNICODE@,$UNICODE,;t t
50590 s,@BUILD@,$BUILD,;t t
50591 s,@DEBUG_INFO@,$DEBUG_INFO,;t t
50592 s,@DEBUG_FLAG@,$DEBUG_FLAG,;t t
50593 s,@TOOLKIT_LOWERCASE@,$TOOLKIT_LOWERCASE,;t t
50594 s,@TOOLKIT_VERSION@,$TOOLKIT_VERSION,;t t
50595 s,@SAMPLES_RPATH_FLAG@,$SAMPLES_RPATH_FLAG,;t t
50596 s,@SAMPLES_RPATH_POSTLINK@,$SAMPLES_RPATH_POSTLINK,;t t
50597 s,@HOST_SUFFIX@,$HOST_SUFFIX,;t t
50598 s,@CPPUNIT_CFLAGS@,$CPPUNIT_CFLAGS,;t t
50599 s,@CPPUNIT_LIBS@,$CPPUNIT_LIBS,;t t
50600 s,@SET_MAKE@,$SET_MAKE,;t t
50601 s,@MAKE_SET@,$MAKE_SET,;t t
50602 s,@NM@,$NM,;t t
50603 s,@ac_ct_NM@,$ac_ct_NM,;t t
50604 s,@INSTALL_DIR@,$INSTALL_DIR,;t t
50605 s,@LDFLAGS_GUI@,$LDFLAGS_GUI,;t t
50606 s,@PLATFORM_UNIX@,$PLATFORM_UNIX,;t t
50607 s,@PLATFORM_WIN32@,$PLATFORM_WIN32,;t t
50608 s,@PLATFORM_MSDOS@,$PLATFORM_MSDOS,;t t
50609 s,@PLATFORM_MAC@,$PLATFORM_MAC,;t t
50610 s,@PLATFORM_MACOS@,$PLATFORM_MACOS,;t t
50611 s,@PLATFORM_MACOSX@,$PLATFORM_MACOSX,;t t
50612 s,@PLATFORM_OS2@,$PLATFORM_OS2,;t t
50613 s,@PLATFORM_BEOS@,$PLATFORM_BEOS,;t t
50614 s,@SO_SUFFIX@,$SO_SUFFIX,;t t
50615 s,@SO_SUFFIX_MODULE@,$SO_SUFFIX_MODULE,;t t
50616 s,@DLLIMP_SUFFIX@,$DLLIMP_SUFFIX,;t t
50617 s,@LIBPREFIX@,$LIBPREFIX,;t t
50618 s,@LIBEXT@,$LIBEXT,;t t
50619 s,@DLLPREFIX@,$DLLPREFIX,;t t
50620 s,@DLLPREFIX_MODULE@,$DLLPREFIX_MODULE,;t t
50621 s,@dlldir@,$dlldir,;t t
50622 s,@AIX_CXX_LD@,$AIX_CXX_LD,;t t
50623 s,@SHARED_LD_CC@,$SHARED_LD_CC,;t t
50624 s,@SHARED_LD_CXX@,$SHARED_LD_CXX,;t t
50625 s,@SHARED_LD_MODULE_CC@,$SHARED_LD_MODULE_CC,;t t
50626 s,@SHARED_LD_MODULE_CXX@,$SHARED_LD_MODULE_CXX,;t t
50627 s,@PIC_FLAG@,$PIC_FLAG,;t t
50628 s,@WINDOWS_IMPLIB@,$WINDOWS_IMPLIB,;t t
50629 s,@USE_SOVERSION@,$USE_SOVERSION,;t t
50630 s,@USE_SOVERLINUX@,$USE_SOVERLINUX,;t t
50631 s,@USE_SOVERSOLARIS@,$USE_SOVERSOLARIS,;t t
50632 s,@USE_SOVERCYGWIN@,$USE_SOVERCYGWIN,;t t
50633 s,@USE_MACVERSION@,$USE_MACVERSION,;t t
50634 s,@USE_SOSYMLINKS@,$USE_SOSYMLINKS,;t t
50635 s,@SONAME_FLAG@,$SONAME_FLAG,;t t
50636 s,@DEPS_TRACKING@,$DEPS_TRACKING,;t t
50637 s,@GCC_PCH@,$GCC_PCH,;t t
50638 s,@ICC_PCH@,$ICC_PCH,;t t
50639 s,@COND_BUILD_DEBUG@,$COND_BUILD_DEBUG,;t t
50640 s,@COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT,;t t
50641 s,@COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT@,$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT,;t t
50642 s,@COND_BUILD_DEBUG_UNICODE_0@,$COND_BUILD_DEBUG_UNICODE_0,;t t
50643 s,@COND_BUILD_DEBUG_UNICODE_1@,$COND_BUILD_DEBUG_UNICODE_1,;t t
50644 s,@COND_BUILD_RELEASE@,$COND_BUILD_RELEASE,;t t
50645 s,@COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT@,$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT,;t t
50646 s,@COND_BUILD_RELEASE_UNICODE_0@,$COND_BUILD_RELEASE_UNICODE_0,;t t
50647 s,@COND_BUILD_RELEASE_UNICODE_1@,$COND_BUILD_RELEASE_UNICODE_1,;t t
50648 s,@COND_DEBUG_FLAG_1@,$COND_DEBUG_FLAG_1,;t t
50649 s,@COND_DEBUG_INFO_0@,$COND_DEBUG_INFO_0,;t t
50650 s,@COND_DEBUG_INFO_1@,$COND_DEBUG_INFO_1,;t t
50651 s,@COND_DEPS_TRACKING_0@,$COND_DEPS_TRACKING_0,;t t
50652 s,@COND_DEPS_TRACKING_1@,$COND_DEPS_TRACKING_1,;t t
50653 s,@COND_GCC_PCH_1@,$COND_GCC_PCH_1,;t t
50654 s,@COND_ICC_PCH_1@,$COND_ICC_PCH_1,;t t
50655 s,@COND_MONOLITHIC_0@,$COND_MONOLITHIC_0,;t t
50656 s,@COND_MONOLITHIC_0_SHARED_0@,$COND_MONOLITHIC_0_SHARED_0,;t t
50657 s,@COND_MONOLITHIC_0_SHARED_0_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1,;t t
50658 s,@COND_MONOLITHIC_0_SHARED_0_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1,;t t
50659 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
50660 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
50661 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
50662 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
50663 s,@COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1,;t t
50664 s,@COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1,;t t
50665 s,@COND_MONOLITHIC_0_SHARED_0_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1,;t t
50666 s,@COND_MONOLITHIC_0_SHARED_1@,$COND_MONOLITHIC_0_SHARED_1,;t t
50667 s,@COND_MONOLITHIC_0_SHARED_1_USE_AUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1,;t t
50668 s,@COND_MONOLITHIC_0_SHARED_1_USE_GUI_1@,$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1,;t t
50669 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
50670 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
50671 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
50672 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
50673 s,@COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1,;t t
50674 s,@COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1@,$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1,;t t
50675 s,@COND_MONOLITHIC_0_SHARED_1_USE_XRC_1@,$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1,;t t
50676 s,@COND_MONOLITHIC_0_USE_MEDIA_1@,$COND_MONOLITHIC_0_USE_MEDIA_1,;t t
50677 s,@COND_MONOLITHIC_0_USE_ODBC_1@,$COND_MONOLITHIC_0_USE_ODBC_1,;t t
50678 s,@COND_MONOLITHIC_1@,$COND_MONOLITHIC_1,;t t
50679 s,@COND_MONOLITHIC_1_SHARED_0@,$COND_MONOLITHIC_1_SHARED_0,;t t
50680 s,@COND_MONOLITHIC_1_SHARED_1@,$COND_MONOLITHIC_1_SHARED_1,;t t
50681 s,@COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1,;t t
50682 s,@COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1@,$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1,;t t
50683 s,@COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1,;t t
50684 s,@COND_PLATFORM_MACOSX_0_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1,;t t
50685 s,@COND_PLATFORM_MACOSX_1@,$COND_PLATFORM_MACOSX_1,;t t
50686 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_@,$COND_PLATFORM_MACOSX_1_TOOLKIT_,;t t
50687 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA@,$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA,;t t
50688 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_GTK@,$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK,;t t
50689 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC,;t t
50690 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1,;t t
50691 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
50692 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF@,$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF,;t t
50693 s,@COND_PLATFORM_MACOSX_1_TOOLKIT_X11@,$COND_PLATFORM_MACOSX_1_TOOLKIT_X11,;t t
50694 s,@COND_PLATFORM_MACOSX_1_USE_GUI_1@,$COND_PLATFORM_MACOSX_1_USE_GUI_1,;t t
50695 s,@COND_PLATFORM_MACOSX_1_USE_SOVERSION_1@,$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1,;t t
50696 s,@COND_PLATFORM_MACOS_1@,$COND_PLATFORM_MACOS_1,;t t
50697 s,@COND_PLATFORM_MAC_1@,$COND_PLATFORM_MAC_1,;t t
50698 s,@COND_PLATFORM_MSDOS_0@,$COND_PLATFORM_MSDOS_0,;t t
50699 s,@COND_PLATFORM_MSDOS_1@,$COND_PLATFORM_MSDOS_1,;t t
50700 s,@COND_PLATFORM_OS2_1@,$COND_PLATFORM_OS2_1,;t t
50701 s,@COND_PLATFORM_UNIX_0@,$COND_PLATFORM_UNIX_0,;t t
50702 s,@COND_PLATFORM_UNIX_1@,$COND_PLATFORM_UNIX_1,;t t
50703 s,@COND_PLATFORM_UNIX_1_USE_GUI_1@,$COND_PLATFORM_UNIX_1_USE_GUI_1,;t t
50704 s,@COND_PLATFORM_UNIX_1_USE_PLUGINS_0@,$COND_PLATFORM_UNIX_1_USE_PLUGINS_0,;t t
50705 s,@COND_PLATFORM_WIN32_0@,$COND_PLATFORM_WIN32_0,;t t
50706 s,@COND_PLATFORM_WIN32_1@,$COND_PLATFORM_WIN32_1,;t t
50707 s,@COND_SHARED_0@,$COND_SHARED_0,;t t
50708 s,@COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0,;t t
50709 s,@COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0,;t t
50710 s,@COND_SHARED_0_TOOLKIT_PM_WXUNIV_0@,$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0,;t t
50711 s,@COND_SHARED_0_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1,;t t
50712 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
50713 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
50714 s,@COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
50715 s,@COND_SHARED_0_USE_XRC_1@,$COND_SHARED_0_USE_XRC_1,;t t
50716 s,@COND_SHARED_0_WXUSE_EXPAT_BUILTIN@,$COND_SHARED_0_WXUSE_EXPAT_BUILTIN,;t t
50717 s,@COND_SHARED_0_WXUSE_ODBC_BUILTIN@,$COND_SHARED_0_WXUSE_ODBC_BUILTIN,;t t
50718 s,@COND_SHARED_0_WXUSE_REGEX_BUILTIN@,$COND_SHARED_0_WXUSE_REGEX_BUILTIN,;t t
50719 s,@COND_SHARED_0_WXUSE_ZLIB_BUILTIN@,$COND_SHARED_0_WXUSE_ZLIB_BUILTIN,;t t
50720 s,@COND_SHARED_1@,$COND_SHARED_1,;t t
50721 s,@COND_SHARED_1_USE_GUI_1_USE_OPENGL_1@,$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1,;t t
50722 s,@COND_SHARED_1_USE_XRC_1@,$COND_SHARED_1_USE_XRC_1,;t t
50723 s,@COND_TOOLKIT_@,$COND_TOOLKIT_,;t t
50724 s,@COND_TOOLKIT_COCOA@,$COND_TOOLKIT_COCOA,;t t
50725 s,@COND_TOOLKIT_COCOA_USE_GUI_1@,$COND_TOOLKIT_COCOA_USE_GUI_1,;t t
50726 s,@COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0,;t t
50727 s,@COND_TOOLKIT_DFB@,$COND_TOOLKIT_DFB,;t t
50728 s,@COND_TOOLKIT_DFB_USE_GUI_1@,$COND_TOOLKIT_DFB_USE_GUI_1,;t t
50729 s,@COND_TOOLKIT_GTK@,$COND_TOOLKIT_GTK,;t t
50730 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_,;t t
50731 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2,;t t
50732 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1,;t t
50733 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
50734 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1,;t t
50735 s,@COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0,;t t
50736 s,@COND_TOOLKIT_GTK_USE_GUI_1@,$COND_TOOLKIT_GTK_USE_GUI_1,;t t
50737 s,@COND_TOOLKIT_MAC@,$COND_TOOLKIT_MAC,;t t
50738 s,@COND_TOOLKIT_MAC_USE_GUI_1@,$COND_TOOLKIT_MAC_USE_GUI_1,;t t
50739 s,@COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0,;t t
50740 s,@COND_TOOLKIT_MGL@,$COND_TOOLKIT_MGL,;t t
50741 s,@COND_TOOLKIT_MGL_USE_GUI_1@,$COND_TOOLKIT_MGL_USE_GUI_1,;t t
50742 s,@COND_TOOLKIT_MOTIF@,$COND_TOOLKIT_MOTIF,;t t
50743 s,@COND_TOOLKIT_MOTIF_USE_GUI_1@,$COND_TOOLKIT_MOTIF_USE_GUI_1,;t t
50744 s,@COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0,;t t
50745 s,@COND_TOOLKIT_MSW@,$COND_TOOLKIT_MSW,;t t
50746 s,@COND_TOOLKIT_MSW_USE_GUI_1@,$COND_TOOLKIT_MSW_USE_GUI_1,;t t
50747 s,@COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0,;t t
50748 s,@COND_TOOLKIT_MSW_WXUNIV_0@,$COND_TOOLKIT_MSW_WXUNIV_0,;t t
50749 s,@COND_TOOLKIT_PM@,$COND_TOOLKIT_PM,;t t
50750 s,@COND_TOOLKIT_PM_USE_GUI_1@,$COND_TOOLKIT_PM_USE_GUI_1,;t t
50751 s,@COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0,;t t
50752 s,@COND_TOOLKIT_WINCE@,$COND_TOOLKIT_WINCE,;t t
50753 s,@COND_TOOLKIT_WINCE_USE_GUI_1@,$COND_TOOLKIT_WINCE_USE_GUI_1,;t t
50754 s,@COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0@,$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0,;t t
50755 s,@COND_TOOLKIT_WINCE_WXUNIV_0@,$COND_TOOLKIT_WINCE_WXUNIV_0,;t t
50756 s,@COND_TOOLKIT_X11@,$COND_TOOLKIT_X11,;t t
50757 s,@COND_TOOLKIT_X11_USE_GUI_1@,$COND_TOOLKIT_X11_USE_GUI_1,;t t
50758 s,@COND_UNICODE_1@,$COND_UNICODE_1,;t t
50759 s,@COND_USE_EXCEPTIONS_0@,$COND_USE_EXCEPTIONS_0,;t t
50760 s,@COND_USE_EXCEPTIONS_1@,$COND_USE_EXCEPTIONS_1,;t t
50761 s,@COND_USE_GUI_0@,$COND_USE_GUI_0,;t t
50762 s,@COND_USE_GUI_1@,$COND_USE_GUI_1,;t t
50763 s,@COND_USE_GUI_1_WXUNIV_0@,$COND_USE_GUI_1_WXUNIV_0,;t t
50764 s,@COND_USE_GUI_1_WXUNIV_1@,$COND_USE_GUI_1_WXUNIV_1,;t t
50765 s,@COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN,;t t
50766 s,@COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN,;t t
50767 s,@COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN@,$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN,;t t
50768 s,@COND_USE_ODBC_1@,$COND_USE_ODBC_1,;t t
50769 s,@COND_USE_OPENGL_1@,$COND_USE_OPENGL_1,;t t
50770 s,@COND_USE_PCH_1@,$COND_USE_PCH_1,;t t
50771 s,@COND_USE_PLUGINS_0@,$COND_USE_PLUGINS_0,;t t
50772 s,@COND_USE_RTTI_0@,$COND_USE_RTTI_0,;t t
50773 s,@COND_USE_RTTI_1@,$COND_USE_RTTI_1,;t t
50774 s,@COND_USE_SOSYMLINKS_1@,$COND_USE_SOSYMLINKS_1,;t t
50775 s,@COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1@,$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1,;t t
50776 s,@COND_USE_SOVERLINUX_1@,$COND_USE_SOVERLINUX_1,;t t
50777 s,@COND_USE_SOVERSION_0@,$COND_USE_SOVERSION_0,;t t
50778 s,@COND_USE_SOVERSOLARIS_1@,$COND_USE_SOVERSOLARIS_1,;t t
50779 s,@COND_USE_THREADS_0@,$COND_USE_THREADS_0,;t t
50780 s,@COND_USE_THREADS_1@,$COND_USE_THREADS_1,;t t
50781 s,@COND_USE_XRC_1@,$COND_USE_XRC_1,;t t
50782 s,@COND_WINDOWS_IMPLIB_1@,$COND_WINDOWS_IMPLIB_1,;t t
50783 s,@COND_WITH_PLUGIN_SDL_1@,$COND_WITH_PLUGIN_SDL_1,;t t
50784 s,@COND_WXUNIV_0@,$COND_WXUNIV_0,;t t
50785 s,@COND_WXUNIV_1@,$COND_WXUNIV_1,;t t
50786 s,@COND_WXUSE_EXPAT_BUILTIN@,$COND_WXUSE_EXPAT_BUILTIN,;t t
50787 s,@COND_WXUSE_LIBJPEG_BUILTIN@,$COND_WXUSE_LIBJPEG_BUILTIN,;t t
50788 s,@COND_WXUSE_LIBPNG_BUILTIN@,$COND_WXUSE_LIBPNG_BUILTIN,;t t
50789 s,@COND_WXUSE_LIBTIFF_BUILTIN@,$COND_WXUSE_LIBTIFF_BUILTIN,;t t
50790 s,@COND_WXUSE_ODBC_BUILTIN@,$COND_WXUSE_ODBC_BUILTIN,;t t
50791 s,@COND_WXUSE_REGEX_BUILTIN@,$COND_WXUSE_REGEX_BUILTIN,;t t
50792 s,@COND_WXUSE_ZLIB_BUILTIN@,$COND_WXUSE_ZLIB_BUILTIN,;t t
50793 s,@SHARED@,$SHARED,;t t
50794 s,@WX_LIBRARY_BASENAME_NOGUI@,$WX_LIBRARY_BASENAME_NOGUI,;t t
50795 s,@WX_LIBRARY_BASENAME_GUI@,$WX_LIBRARY_BASENAME_GUI,;t t
50796 s,@USE_GUI@,$USE_GUI,;t t
50797 s,@AFMINSTALL@,$AFMINSTALL,;t t
50798 s,@WIN32INSTALL@,$WIN32INSTALL,;t t
50799 s,@TOOLKIT@,$TOOLKIT,;t t
50800 s,@TOOLKIT_DIR@,$TOOLKIT_DIR,;t t
50801 s,@TOOLCHAIN_NAME@,$TOOLCHAIN_NAME,;t t
50802 s,@TOOLCHAIN_FULLNAME@,$TOOLCHAIN_FULLNAME,;t t
50803 s,@cross_compiling@,$cross_compiling,;t t
50804 s,@WIDGET_SET@,$WIDGET_SET,;t t
50805 s,@WX_RELEASE@,$WX_RELEASE,;t t
50806 s,@WX_VERSION@,$WX_VERSION,;t t
50807 s,@WX_SUBVERSION@,$WX_SUBVERSION,;t t
50808 s,@WX_CHARTYPE@,$WX_CHARTYPE,;t t
50809 s,@WX_DEBUGTYPE@,$WX_DEBUGTYPE,;t t
50810 s,@WXCONFIG_CPPFLAGS@,$WXCONFIG_CPPFLAGS,;t t
50811 s,@WXCONFIG_CFLAGS@,$WXCONFIG_CFLAGS,;t t
50812 s,@WXCONFIG_CXXFLAGS@,$WXCONFIG_CXXFLAGS,;t t
50813 s,@WXCONFIG_LIBS@,$WXCONFIG_LIBS,;t t
50814 s,@WXCONFIG_RPATH@,$WXCONFIG_RPATH,;t t
50815 s,@WXCONFIG_LDFLAGS_GUI@,$WXCONFIG_LDFLAGS_GUI,;t t
50816 s,@WXCONFIG_RESFLAGS@,$WXCONFIG_RESFLAGS,;t t
50817 s,@EXE_LINKER@,$EXE_LINKER,;t t
50818 s,@GUIDIST@,$GUIDIST,;t t
50819 s,@DISTDIR@,$DISTDIR,;t t
50820 s,@SAMPLES_SUBDIRS@,$SAMPLES_SUBDIRS,;t t
50821 s,@LDFLAGS_GL@,$LDFLAGS_GL,;t t
50822 s,@OPENGL_LIBS@,$OPENGL_LIBS,;t t
50823 s,@DMALLOC_LIBS@,$DMALLOC_LIBS,;t t
50824 s,@WX_VERSION_TAG@,$WX_VERSION_TAG,;t t
50825 s,@RESCOMP@,$RESCOMP,;t t
50826 s,@RESFLAGS@,$RESFLAGS,;t t
50827 s,@RESPROGRAMOBJ@,$RESPROGRAMOBJ,;t t
50828 s,@WX_RESOURCES_MACOSX_ASCII@,$WX_RESOURCES_MACOSX_ASCII,;t t
50829 s,@WX_RESOURCES_MACOSX_DATA@,$WX_RESOURCES_MACOSX_DATA,;t t
50830 s,@LIBWXMACRES@,$LIBWXMACRES,;t t
50831 s,@POSTLINK_COMMAND@,$POSTLINK_COMMAND,;t t
50832 s,@MACSETFILE@,$MACSETFILE,;t t
50833 s,@GCC@,$GCC,;t t
50834 s,@CPPUNIT_CONFIG@,$CPPUNIT_CONFIG,;t t
50835 s,@LIBOBJS@,$LIBOBJS,;t t
50836 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
50837 CEOF
50838
50839 _ACEOF
50840
50841 cat >>$CONFIG_STATUS <<\_ACEOF
50842 # Split the substitutions into bite-sized pieces for seds with
50843 # small command number limits, like on Digital OSF/1 and HP-UX.
50844 ac_max_sed_lines=48
50845 ac_sed_frag=1 # Number of current file.
50846 ac_beg=1 # First line for current file.
50847 ac_end=$ac_max_sed_lines # Line after last line for current file.
50848 ac_more_lines=:
50849 ac_sed_cmds=
50850 while $ac_more_lines; do
50851 if test $ac_beg -gt 1; then
50852 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
50853 else
50854 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
50855 fi
50856 if test ! -s $tmp/subs.frag; then
50857 ac_more_lines=false
50858 else
50859 # The purpose of the label and of the branching condition is to
50860 # speed up the sed processing (if there are no `@' at all, there
50861 # is no need to browse any of the substitutions).
50862 # These are the two extra sed commands mentioned above.
50863 (echo ':t
50864 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
50865 if test -z "$ac_sed_cmds"; then
50866 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
50867 else
50868 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
50869 fi
50870 ac_sed_frag=`expr $ac_sed_frag + 1`
50871 ac_beg=$ac_end
50872 ac_end=`expr $ac_end + $ac_max_sed_lines`
50873 fi
50874 done
50875 if test -z "$ac_sed_cmds"; then
50876 ac_sed_cmds=cat
50877 fi
50878 fi # test -n "$CONFIG_FILES"
50879
50880 _ACEOF
50881 cat >>$CONFIG_STATUS <<\_ACEOF
50882 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
50883 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
50884 case $ac_file in
50885 - | *:- | *:-:* ) # input from stdin
50886 cat >$tmp/stdin
50887 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
50888 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
50889 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
50890 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
50891 * ) ac_file_in=$ac_file.in ;;
50892 esac
50893
50894 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
50895 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
50896 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50897 X"$ac_file" : 'X\(//\)[^/]' \| \
50898 X"$ac_file" : 'X\(//\)$' \| \
50899 X"$ac_file" : 'X\(/\)' \| \
50900 . : '\(.\)' 2>/dev/null ||
50901 echo X"$ac_file" |
50902 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50903 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50904 /^X\(\/\/\)$/{ s//\1/; q; }
50905 /^X\(\/\).*/{ s//\1/; q; }
50906 s/.*/./; q'`
50907 { if $as_mkdir_p; then
50908 mkdir -p "$ac_dir"
50909 else
50910 as_dir="$ac_dir"
50911 as_dirs=
50912 while test ! -d "$as_dir"; do
50913 as_dirs="$as_dir $as_dirs"
50914 as_dir=`(dirname "$as_dir") 2>/dev/null ||
50915 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50916 X"$as_dir" : 'X\(//\)[^/]' \| \
50917 X"$as_dir" : 'X\(//\)$' \| \
50918 X"$as_dir" : 'X\(/\)' \| \
50919 . : '\(.\)' 2>/dev/null ||
50920 echo X"$as_dir" |
50921 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
50922 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
50923 /^X\(\/\/\)$/{ s//\1/; q; }
50924 /^X\(\/\).*/{ s//\1/; q; }
50925 s/.*/./; q'`
50926 done
50927 test ! -n "$as_dirs" || mkdir $as_dirs
50928 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
50929 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
50930 { (exit 1); exit 1; }; }; }
50931
50932 ac_builddir=.
50933
50934 if test "$ac_dir" != .; then
50935 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50936 # A "../" for each directory in $ac_dir_suffix.
50937 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
50938 else
50939 ac_dir_suffix= ac_top_builddir=
50940 fi
50941
50942 case $srcdir in
50943 .) # No --srcdir option. We are building in place.
50944 ac_srcdir=.
50945 if test -z "$ac_top_builddir"; then
50946 ac_top_srcdir=.
50947 else
50948 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
50949 fi ;;
50950 [\\/]* | ?:[\\/]* ) # Absolute path.
50951 ac_srcdir=$srcdir$ac_dir_suffix;
50952 ac_top_srcdir=$srcdir ;;
50953 *) # Relative path.
50954 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
50955 ac_top_srcdir=$ac_top_builddir$srcdir ;;
50956 esac
50957
50958 # Do not use `cd foo && pwd` to compute absolute paths, because
50959 # the directories may not exist.
50960 case `pwd` in
50961 .) ac_abs_builddir="$ac_dir";;
50962 *)
50963 case "$ac_dir" in
50964 .) ac_abs_builddir=`pwd`;;
50965 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
50966 *) ac_abs_builddir=`pwd`/"$ac_dir";;
50967 esac;;
50968 esac
50969 case $ac_abs_builddir in
50970 .) ac_abs_top_builddir=${ac_top_builddir}.;;
50971 *)
50972 case ${ac_top_builddir}. in
50973 .) ac_abs_top_builddir=$ac_abs_builddir;;
50974 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
50975 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
50976 esac;;
50977 esac
50978 case $ac_abs_builddir in
50979 .) ac_abs_srcdir=$ac_srcdir;;
50980 *)
50981 case $ac_srcdir in
50982 .) ac_abs_srcdir=$ac_abs_builddir;;
50983 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
50984 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
50985 esac;;
50986 esac
50987 case $ac_abs_builddir in
50988 .) ac_abs_top_srcdir=$ac_top_srcdir;;
50989 *)
50990 case $ac_top_srcdir in
50991 .) ac_abs_top_srcdir=$ac_abs_builddir;;
50992 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
50993 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
50994 esac;;
50995 esac
50996
50997
50998 case $INSTALL in
50999 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
51000 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
51001 esac
51002
51003 # Let's still pretend it is `configure' which instantiates (i.e., don't
51004 # use $as_me), people would be surprised to read:
51005 # /* config.h. Generated by config.status. */
51006 if test x"$ac_file" = x-; then
51007 configure_input=
51008 else
51009 configure_input="$ac_file. "
51010 fi
51011 configure_input=$configure_input"Generated from `echo $ac_file_in |
51012 sed 's,.*/,,'` by configure."
51013
51014 # First look for the input files in the build tree, otherwise in the
51015 # src tree.
51016 ac_file_inputs=`IFS=:
51017 for f in $ac_file_in; do
51018 case $f in
51019 -) echo $tmp/stdin ;;
51020 [\\/$]*)
51021 # Absolute (can't be DOS-style, as IFS=:)
51022 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51023 echo "$as_me: error: cannot find input file: $f" >&2;}
51024 { (exit 1); exit 1; }; }
51025 echo "$f";;
51026 *) # Relative
51027 if test -f "$f"; then
51028 # Build tree
51029 echo "$f"
51030 elif test -f "$srcdir/$f"; then
51031 # Source tree
51032 echo "$srcdir/$f"
51033 else
51034 # /dev/null tree
51035 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51036 echo "$as_me: error: cannot find input file: $f" >&2;}
51037 { (exit 1); exit 1; }; }
51038 fi;;
51039 esac
51040 done` || { (exit 1); exit 1; }
51041
51042 if test x"$ac_file" != x-; then
51043 { echo "$as_me:$LINENO: creating $ac_file" >&5
51044 echo "$as_me: creating $ac_file" >&6;}
51045 rm -f "$ac_file"
51046 fi
51047 _ACEOF
51048 cat >>$CONFIG_STATUS <<_ACEOF
51049 sed "$ac_vpsub
51050 $extrasub
51051 _ACEOF
51052 cat >>$CONFIG_STATUS <<\_ACEOF
51053 :t
51054 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51055 s,@configure_input@,$configure_input,;t t
51056 s,@srcdir@,$ac_srcdir,;t t
51057 s,@abs_srcdir@,$ac_abs_srcdir,;t t
51058 s,@top_srcdir@,$ac_top_srcdir,;t t
51059 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
51060 s,@builddir@,$ac_builddir,;t t
51061 s,@abs_builddir@,$ac_abs_builddir,;t t
51062 s,@top_builddir@,$ac_top_builddir,;t t
51063 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
51064 s,@INSTALL@,$ac_INSTALL,;t t
51065 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
51066 rm -f $tmp/stdin
51067 if test x"$ac_file" != x-; then
51068 mv $tmp/out $ac_file
51069 else
51070 cat $tmp/out
51071 rm -f $tmp/out
51072 fi
51073
51074 # Run the commands associated with the file.
51075 case $ac_file in
51076 lib/wx/config/${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51077 lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51078 esac
51079 done
51080 _ACEOF
51081 cat >>$CONFIG_STATUS <<\_ACEOF
51082
51083 #
51084 # CONFIG_HEADER section.
51085 #
51086
51087 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
51088 # NAME is the cpp macro being defined and VALUE is the value it is being given.
51089 #
51090 # ac_d sets the value in "#define NAME VALUE" lines.
51091 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
51092 ac_dB='[ ].*$,\1#\2'
51093 ac_dC=' '
51094 ac_dD=',;t'
51095 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
51096 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
51097 ac_uB='$,\1#\2define\3'
51098 ac_uC=' '
51099 ac_uD=',;t'
51100
51101 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
51102 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
51103 case $ac_file in
51104 - | *:- | *:-:* ) # input from stdin
51105 cat >$tmp/stdin
51106 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51107 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51108 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
51109 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
51110 * ) ac_file_in=$ac_file.in ;;
51111 esac
51112
51113 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
51114 echo "$as_me: creating $ac_file" >&6;}
51115
51116 # First look for the input files in the build tree, otherwise in the
51117 # src tree.
51118 ac_file_inputs=`IFS=:
51119 for f in $ac_file_in; do
51120 case $f in
51121 -) echo $tmp/stdin ;;
51122 [\\/$]*)
51123 # Absolute (can't be DOS-style, as IFS=:)
51124 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51125 echo "$as_me: error: cannot find input file: $f" >&2;}
51126 { (exit 1); exit 1; }; }
51127 # Do quote $f, to prevent DOS paths from being IFS'd.
51128 echo "$f";;
51129 *) # Relative
51130 if test -f "$f"; then
51131 # Build tree
51132 echo "$f"
51133 elif test -f "$srcdir/$f"; then
51134 # Source tree
51135 echo "$srcdir/$f"
51136 else
51137 # /dev/null tree
51138 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
51139 echo "$as_me: error: cannot find input file: $f" >&2;}
51140 { (exit 1); exit 1; }; }
51141 fi;;
51142 esac
51143 done` || { (exit 1); exit 1; }
51144 # Remove the trailing spaces.
51145 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
51146
51147 _ACEOF
51148
51149 # Transform confdefs.h into two sed scripts, `conftest.defines' and
51150 # `conftest.undefs', that substitutes the proper values into
51151 # config.h.in to produce config.h. The first handles `#define'
51152 # templates, and the second `#undef' templates.
51153 # And first: Protect against being on the right side of a sed subst in
51154 # config.status. Protect against being in an unquoted here document
51155 # in config.status.
51156 rm -f conftest.defines conftest.undefs
51157 # Using a here document instead of a string reduces the quoting nightmare.
51158 # Putting comments in sed scripts is not portable.
51159 #
51160 # `end' is used to avoid that the second main sed command (meant for
51161 # 0-ary CPP macros) applies to n-ary macro definitions.
51162 # See the Autoconf documentation for `clear'.
51163 cat >confdef2sed.sed <<\_ACEOF
51164 s/[\\&,]/\\&/g
51165 s,[\\$`],\\&,g
51166 t clear
51167 : clear
51168 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
51169 t end
51170 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
51171 : end
51172 _ACEOF
51173 # If some macros were called several times there might be several times
51174 # the same #defines, which is useless. Nevertheless, we may not want to
51175 # sort them, since we want the *last* AC-DEFINE to be honored.
51176 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
51177 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
51178 rm -f confdef2sed.sed
51179
51180 # This sed command replaces #undef with comments. This is necessary, for
51181 # example, in the case of _POSIX_SOURCE, which is predefined and required
51182 # on some systems where configure will not decide to define it.
51183 cat >>conftest.undefs <<\_ACEOF
51184 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
51185 _ACEOF
51186
51187 # Break up conftest.defines because some shells have a limit on the size
51188 # of here documents, and old seds have small limits too (100 cmds).
51189 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
51190 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
51191 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
51192 echo ' :' >>$CONFIG_STATUS
51193 rm -f conftest.tail
51194 while grep . conftest.defines >/dev/null
51195 do
51196 # Write a limited-size here document to $tmp/defines.sed.
51197 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
51198 # Speed up: don't consider the non `#define' lines.
51199 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
51200 # Work around the forget-to-reset-the-flag bug.
51201 echo 't clr' >>$CONFIG_STATUS
51202 echo ': clr' >>$CONFIG_STATUS
51203 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
51204 echo 'CEOF
51205 sed -f $tmp/defines.sed $tmp/in >$tmp/out
51206 rm -f $tmp/in
51207 mv $tmp/out $tmp/in
51208 ' >>$CONFIG_STATUS
51209 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
51210 rm -f conftest.defines
51211 mv conftest.tail conftest.defines
51212 done
51213 rm -f conftest.defines
51214 echo ' fi # grep' >>$CONFIG_STATUS
51215 echo >>$CONFIG_STATUS
51216
51217 # Break up conftest.undefs because some shells have a limit on the size
51218 # of here documents, and old seds have small limits too (100 cmds).
51219 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
51220 rm -f conftest.tail
51221 while grep . conftest.undefs >/dev/null
51222 do
51223 # Write a limited-size here document to $tmp/undefs.sed.
51224 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
51225 # Speed up: don't consider the non `#undef'
51226 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
51227 # Work around the forget-to-reset-the-flag bug.
51228 echo 't clr' >>$CONFIG_STATUS
51229 echo ': clr' >>$CONFIG_STATUS
51230 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
51231 echo 'CEOF
51232 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
51233 rm -f $tmp/in
51234 mv $tmp/out $tmp/in
51235 ' >>$CONFIG_STATUS
51236 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
51237 rm -f conftest.undefs
51238 mv conftest.tail conftest.undefs
51239 done
51240 rm -f conftest.undefs
51241
51242 cat >>$CONFIG_STATUS <<\_ACEOF
51243 # Let's still pretend it is `configure' which instantiates (i.e., don't
51244 # use $as_me), people would be surprised to read:
51245 # /* config.h. Generated by config.status. */
51246 if test x"$ac_file" = x-; then
51247 echo "/* Generated by configure. */" >$tmp/config.h
51248 else
51249 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
51250 fi
51251 cat $tmp/in >>$tmp/config.h
51252 rm -f $tmp/in
51253 if test x"$ac_file" != x-; then
51254 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
51255 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51256 echo "$as_me: $ac_file is unchanged" >&6;}
51257 else
51258 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
51259 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51260 X"$ac_file" : 'X\(//\)[^/]' \| \
51261 X"$ac_file" : 'X\(//\)$' \| \
51262 X"$ac_file" : 'X\(/\)' \| \
51263 . : '\(.\)' 2>/dev/null ||
51264 echo X"$ac_file" |
51265 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51266 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51267 /^X\(\/\/\)$/{ s//\1/; q; }
51268 /^X\(\/\).*/{ s//\1/; q; }
51269 s/.*/./; q'`
51270 { if $as_mkdir_p; then
51271 mkdir -p "$ac_dir"
51272 else
51273 as_dir="$ac_dir"
51274 as_dirs=
51275 while test ! -d "$as_dir"; do
51276 as_dirs="$as_dir $as_dirs"
51277 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51278 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51279 X"$as_dir" : 'X\(//\)[^/]' \| \
51280 X"$as_dir" : 'X\(//\)$' \| \
51281 X"$as_dir" : 'X\(/\)' \| \
51282 . : '\(.\)' 2>/dev/null ||
51283 echo X"$as_dir" |
51284 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51285 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51286 /^X\(\/\/\)$/{ s//\1/; q; }
51287 /^X\(\/\).*/{ s//\1/; q; }
51288 s/.*/./; q'`
51289 done
51290 test ! -n "$as_dirs" || mkdir $as_dirs
51291 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51292 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51293 { (exit 1); exit 1; }; }; }
51294
51295 rm -f $ac_file
51296 mv $tmp/config.h $ac_file
51297 fi
51298 else
51299 cat $tmp/config.h
51300 rm -f $tmp/config.h
51301 fi
51302 done
51303 _ACEOF
51304 cat >>$CONFIG_STATUS <<\_ACEOF
51305
51306 #
51307 # CONFIG_COMMANDS section.
51308 #
51309 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
51310 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
51311 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
51312 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
51313 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51314 X"$ac_dest" : 'X\(//\)[^/]' \| \
51315 X"$ac_dest" : 'X\(//\)$' \| \
51316 X"$ac_dest" : 'X\(/\)' \| \
51317 . : '\(.\)' 2>/dev/null ||
51318 echo X"$ac_dest" |
51319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51320 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51321 /^X\(\/\/\)$/{ s//\1/; q; }
51322 /^X\(\/\).*/{ s//\1/; q; }
51323 s/.*/./; q'`
51324 { if $as_mkdir_p; then
51325 mkdir -p "$ac_dir"
51326 else
51327 as_dir="$ac_dir"
51328 as_dirs=
51329 while test ! -d "$as_dir"; do
51330 as_dirs="$as_dir $as_dirs"
51331 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51332 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51333 X"$as_dir" : 'X\(//\)[^/]' \| \
51334 X"$as_dir" : 'X\(//\)$' \| \
51335 X"$as_dir" : 'X\(/\)' \| \
51336 . : '\(.\)' 2>/dev/null ||
51337 echo X"$as_dir" |
51338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51339 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51340 /^X\(\/\/\)$/{ s//\1/; q; }
51341 /^X\(\/\).*/{ s//\1/; q; }
51342 s/.*/./; q'`
51343 done
51344 test ! -n "$as_dirs" || mkdir $as_dirs
51345 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51346 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51347 { (exit 1); exit 1; }; }; }
51348
51349 ac_builddir=.
51350
51351 if test "$ac_dir" != .; then
51352 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51353 # A "../" for each directory in $ac_dir_suffix.
51354 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51355 else
51356 ac_dir_suffix= ac_top_builddir=
51357 fi
51358
51359 case $srcdir in
51360 .) # No --srcdir option. We are building in place.
51361 ac_srcdir=.
51362 if test -z "$ac_top_builddir"; then
51363 ac_top_srcdir=.
51364 else
51365 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51366 fi ;;
51367 [\\/]* | ?:[\\/]* ) # Absolute path.
51368 ac_srcdir=$srcdir$ac_dir_suffix;
51369 ac_top_srcdir=$srcdir ;;
51370 *) # Relative path.
51371 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51372 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51373 esac
51374
51375 # Do not use `cd foo && pwd` to compute absolute paths, because
51376 # the directories may not exist.
51377 case `pwd` in
51378 .) ac_abs_builddir="$ac_dir";;
51379 *)
51380 case "$ac_dir" in
51381 .) ac_abs_builddir=`pwd`;;
51382 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51383 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51384 esac;;
51385 esac
51386 case $ac_abs_builddir in
51387 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51388 *)
51389 case ${ac_top_builddir}. in
51390 .) ac_abs_top_builddir=$ac_abs_builddir;;
51391 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51392 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51393 esac;;
51394 esac
51395 case $ac_abs_builddir in
51396 .) ac_abs_srcdir=$ac_srcdir;;
51397 *)
51398 case $ac_srcdir in
51399 .) ac_abs_srcdir=$ac_abs_builddir;;
51400 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51401 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51402 esac;;
51403 esac
51404 case $ac_abs_builddir in
51405 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51406 *)
51407 case $ac_top_srcdir in
51408 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51409 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51410 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51411 esac;;
51412 esac
51413
51414
51415 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
51416 echo "$as_me: executing $ac_dest commands" >&6;}
51417 case $ac_dest in
51418 rcdefs.h )
51419 mkdir -p $outdir &&
51420 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51421 ;;
51422 wx-config ) rm -f wx-config
51423 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
51424 ;;
51425 esac
51426 done
51427 _ACEOF
51428
51429 cat >>$CONFIG_STATUS <<\_ACEOF
51430
51431 { (exit 0); exit 0; }
51432 _ACEOF
51433 chmod +x $CONFIG_STATUS
51434 ac_clean_files=$ac_clean_files_save
51435
51436
51437 # configure is writing to config.log, and then calls config.status.
51438 # config.status does its own redirection, appending to config.log.
51439 # Unfortunately, on DOS this fails, as config.log is still kept open
51440 # by configure, so config.status won't be able to write to it; its
51441 # output is simply discarded. So we exec the FD to /dev/null,
51442 # effectively closing config.log, so it can be properly (re)opened and
51443 # appended to by config.status. When coming back to configure, we
51444 # need to make the FD available again.
51445 if test "$no_create" != yes; then
51446 ac_cs_success=:
51447 ac_config_status_args=
51448 test "$silent" = yes &&
51449 ac_config_status_args="$ac_config_status_args --quiet"
51450 exec 5>/dev/null
51451 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
51452 exec 5>>config.log
51453 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51454 # would make configure fail if this is the last instruction.
51455 $ac_cs_success || { (exit 1); exit 1; }
51456 fi
51457
51458 #
51459 # CONFIG_SUBDIRS section.
51460 #
51461 if test "$no_recursion" != yes; then
51462
51463 # Remove --cache-file and --srcdir arguments so they do not pile up.
51464 ac_sub_configure_args=
51465 ac_prev=
51466 for ac_arg in $ac_configure_args; do
51467 if test -n "$ac_prev"; then
51468 ac_prev=
51469 continue
51470 fi
51471 case $ac_arg in
51472 -cache-file | --cache-file | --cache-fil | --cache-fi \
51473 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51474 ac_prev=cache_file ;;
51475 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51476 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51477 | --c=*)
51478 ;;
51479 --config-cache | -C)
51480 ;;
51481 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51482 ac_prev=srcdir ;;
51483 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51484 ;;
51485 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51486 ac_prev=prefix ;;
51487 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51488 ;;
51489 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
51490 esac
51491 done
51492
51493 # Always prepend --prefix to ensure using the same prefix
51494 # in subdir configurations.
51495 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args"
51496
51497 ac_popdir=`pwd`
51498 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
51499
51500 # Do not complain, so a configure script can configure whichever
51501 # parts of a large source tree are present.
51502 test -d $srcdir/$ac_dir || continue
51503
51504 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5
51505 echo "$as_me: configuring in $ac_dir" >&6;}
51506 { if $as_mkdir_p; then
51507 mkdir -p "$ac_dir"
51508 else
51509 as_dir="$ac_dir"
51510 as_dirs=
51511 while test ! -d "$as_dir"; do
51512 as_dirs="$as_dir $as_dirs"
51513 as_dir=`(dirname "$as_dir") 2>/dev/null ||
51514 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51515 X"$as_dir" : 'X\(//\)[^/]' \| \
51516 X"$as_dir" : 'X\(//\)$' \| \
51517 X"$as_dir" : 'X\(/\)' \| \
51518 . : '\(.\)' 2>/dev/null ||
51519 echo X"$as_dir" |
51520 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
51521 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
51522 /^X\(\/\/\)$/{ s//\1/; q; }
51523 /^X\(\/\).*/{ s//\1/; q; }
51524 s/.*/./; q'`
51525 done
51526 test ! -n "$as_dirs" || mkdir $as_dirs
51527 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
51528 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
51529 { (exit 1); exit 1; }; }; }
51530
51531 ac_builddir=.
51532
51533 if test "$ac_dir" != .; then
51534 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51535 # A "../" for each directory in $ac_dir_suffix.
51536 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
51537 else
51538 ac_dir_suffix= ac_top_builddir=
51539 fi
51540
51541 case $srcdir in
51542 .) # No --srcdir option. We are building in place.
51543 ac_srcdir=.
51544 if test -z "$ac_top_builddir"; then
51545 ac_top_srcdir=.
51546 else
51547 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
51548 fi ;;
51549 [\\/]* | ?:[\\/]* ) # Absolute path.
51550 ac_srcdir=$srcdir$ac_dir_suffix;
51551 ac_top_srcdir=$srcdir ;;
51552 *) # Relative path.
51553 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
51554 ac_top_srcdir=$ac_top_builddir$srcdir ;;
51555 esac
51556
51557 # Do not use `cd foo && pwd` to compute absolute paths, because
51558 # the directories may not exist.
51559 case `pwd` in
51560 .) ac_abs_builddir="$ac_dir";;
51561 *)
51562 case "$ac_dir" in
51563 .) ac_abs_builddir=`pwd`;;
51564 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
51565 *) ac_abs_builddir=`pwd`/"$ac_dir";;
51566 esac;;
51567 esac
51568 case $ac_abs_builddir in
51569 .) ac_abs_top_builddir=${ac_top_builddir}.;;
51570 *)
51571 case ${ac_top_builddir}. in
51572 .) ac_abs_top_builddir=$ac_abs_builddir;;
51573 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
51574 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
51575 esac;;
51576 esac
51577 case $ac_abs_builddir in
51578 .) ac_abs_srcdir=$ac_srcdir;;
51579 *)
51580 case $ac_srcdir in
51581 .) ac_abs_srcdir=$ac_abs_builddir;;
51582 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
51583 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
51584 esac;;
51585 esac
51586 case $ac_abs_builddir in
51587 .) ac_abs_top_srcdir=$ac_top_srcdir;;
51588 *)
51589 case $ac_top_srcdir in
51590 .) ac_abs_top_srcdir=$ac_abs_builddir;;
51591 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
51592 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
51593 esac;;
51594 esac
51595
51596
51597 cd $ac_dir
51598
51599 # Check for guested configure; otherwise get Cygnus style configure.
51600 if test -f $ac_srcdir/configure.gnu; then
51601 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'"
51602 elif test -f $ac_srcdir/configure; then
51603 ac_sub_configure="$SHELL '$ac_srcdir/configure'"
51604 elif test -f $ac_srcdir/configure.in; then
51605 ac_sub_configure=$ac_configure
51606 else
51607 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51608 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51609 ac_sub_configure=
51610 fi
51611
51612 # The recursion is here.
51613 if test -n "$ac_sub_configure"; then
51614 # Make the cache file name correct relative to the subdirectory.
51615 case $cache_file in
51616 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
51617 *) # Relative path.
51618 ac_sub_cache_file=$ac_top_builddir$cache_file ;;
51619 esac
51620
51621 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51622 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51623 # The eval makes quoting arguments work.
51624 eval $ac_sub_configure $ac_sub_configure_args \
51625 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||
51626 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51627 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51628 { (exit 1); exit 1; }; }
51629 fi
51630
51631 cd "$ac_popdir"
51632 done
51633 fi
51634
51635
51636 echo
51637 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51638 echo ""
51639 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51640 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51641
51642 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51643 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51644 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
51645
51646 echo " What level of wxWidgets compatibility should be enabled?"
51647 echo " wxWidgets 2.4 ${WXWIN_COMPATIBILITY_2_4:-no}"
51648 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-yes}"
51649
51650 echo " Which libraries should wxWidgets use?"
51651 echo " jpeg ${wxUSE_LIBJPEG-none}"
51652 echo " png ${wxUSE_LIBPNG-none}"
51653 echo " regex ${wxUSE_REGEX}"
51654 echo " tiff ${wxUSE_LIBTIFF-none}"
51655 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51656 echo " xpm ${wxUSE_LIBXPM-none}"
51657 fi
51658 echo " zlib ${wxUSE_ZLIB}"
51659 echo " odbc ${wxUSE_ODBC}"
51660 echo " expat ${wxUSE_EXPAT}"
51661 echo " libmspack ${wxUSE_LIBMSPACK}"
51662 echo " sdl ${wxUSE_LIBSDL}"
51663
51664 echo ""
51665